blob: 7a3363cc17f074e1ef3fc4a871848ed3394cd80e [file] [log] [blame]
Damien Neil0fc22452019-03-08 17:18:11 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: test/ext.proto
3
4package test
5
6import (
Damien Neile89e6242019-05-13 23:55:40 -07007 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
Damien Neile89e6242019-05-13 23:55:40 -07008 protoiface "google.golang.org/protobuf/runtime/protoiface"
9 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
Joe Tsai5d72cc22019-03-28 01:13:26 -070010 sync "sync"
Damien Neil0fc22452019-03-08 17:18:11 -080011)
12
Joe Tsai58b42d82019-05-22 16:27:51 -040013const (
14 // Verify that runtime/protoimpl is sufficiently up-to-date.
15 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0)
16 // Verify that this generated code is sufficiently up-to-date.
17 _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion)
18)
Joe Tsai5d72cc22019-03-28 01:13:26 -070019
Joe Tsai7ca70982019-04-15 13:57:56 -070020var file_test_ext_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -070021 {
22 ExtendedType: (*TestAllExtensions)(nil),
23 ExtensionType: (*int32)(nil),
24 Field: 2000,
25 Name: "goproto.proto.test.foreign_int32_extension",
26 Tag: "varint,2000,opt,name=foreign_int32_extension",
27 Filename: "test/ext.proto",
28 },
Damien Neil0fc22452019-03-08 17:18:11 -080029}
Joe Tsaiafb455e2019-03-14 16:08:22 -070030var (
31 // extend goproto.proto.test.TestAllExtensions { optional int32 foreign_int32_extension = 2000; }
Joe Tsai7ca70982019-04-15 13:57:56 -070032 E_ForeignInt32Extension = &file_test_ext_proto_extDescs[0]
Joe Tsaiafb455e2019-03-14 16:08:22 -070033)
Joe Tsai5d72cc22019-03-28 01:13:26 -070034var File_test_ext_proto protoreflect.FileDescriptor
35
Joe Tsai7ca70982019-04-15 13:57:56 -070036var file_test_ext_proto_rawDesc = []byte{
Damien Neil0fc22452019-03-08 17:18:11 -080037 0x0a, 0x0e, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
38 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
39 0x74, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e,
40 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x5e, 0x0a, 0x17, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e,
41 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
42 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
43 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74,
44 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd0, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15,
45 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x78, 0x74, 0x65,
Damien Neile89e6242019-05-13 23:55:40 -070046 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
47 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
48 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73,
49 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
Damien Neil0fc22452019-03-08 17:18:11 -080050}
51
Joe Tsai5d72cc22019-03-28 01:13:26 -070052var (
Joe Tsai7ca70982019-04-15 13:57:56 -070053 file_test_ext_proto_rawDescOnce sync.Once
54 file_test_ext_proto_rawDescData = file_test_ext_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -070055)
Damien Neil0fc22452019-03-08 17:18:11 -080056
Joe Tsai7ca70982019-04-15 13:57:56 -070057func file_test_ext_proto_rawDescGZIP() []byte {
58 file_test_ext_proto_rawDescOnce.Do(func() {
59 file_test_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_ext_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -070060 })
Joe Tsai7ca70982019-04-15 13:57:56 -070061 return file_test_ext_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -070062}
Damien Neil0fc22452019-03-08 17:18:11 -080063
Joe Tsai7ca70982019-04-15 13:57:56 -070064var file_test_ext_proto_goTypes = []interface{}{
Damien Neil0fc22452019-03-08 17:18:11 -080065 (*TestAllExtensions)(nil), // 0: goproto.proto.test.TestAllExtensions
66}
Joe Tsai7ca70982019-04-15 13:57:56 -070067var file_test_ext_proto_depIdxs = []int32{
Damien Neil0fc22452019-03-08 17:18:11 -080068 0, // goproto.proto.test.foreign_int32_extension:extendee -> goproto.proto.test.TestAllExtensions
Joe Tsaid8881392019-06-06 13:01:53 -070069 1, // starting offset of method output_type sub-list
70 1, // starting offset of method input_type sub-list
71 1, // starting offset of extension type_name sub-list
72 0, // starting offset of extension extendee sub-list
73 0, // starting offset of field type_name sub-list
Damien Neil0fc22452019-03-08 17:18:11 -080074}
75
Joe Tsai7ca70982019-04-15 13:57:56 -070076func init() { file_test_ext_proto_init() }
77func file_test_ext_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -080078 if File_test_ext_proto != nil {
79 return
80 }
Joe Tsai7ca70982019-04-15 13:57:56 -070081 file_test_test_proto_init()
Joe Tsaid8881392019-06-06 13:01:53 -070082 out := protoimpl.TypeBuilder{
83 File: protoimpl.DescBuilder{
84 RawDescriptor: file_test_ext_proto_rawDesc,
85 NumEnums: 0,
86 NumMessages: 0,
87 NumExtensions: 1,
88 NumServices: 0,
89 },
90 GoTypes: file_test_ext_proto_goTypes,
91 DependencyIndexes: file_test_ext_proto_depIdxs,
92 LegacyExtensions: file_test_ext_proto_extDescs,
93 }.Build()
94 File_test_ext_proto = out.File
Joe Tsai7ca70982019-04-15 13:57:56 -070095 file_test_ext_proto_rawDesc = nil
96 file_test_ext_proto_goTypes = nil
97 file_test_ext_proto_depIdxs = nil
Damien Neil0fc22452019-03-08 17:18:11 -080098}