Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: test/ext.proto |
| 3 | |
| 4 | package test |
| 5 | |
| 6 | import ( |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 7 | protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect" |
Joe Tsai | 35ec98f | 2019-03-25 14:41:32 -0700 | [diff] [blame] | 8 | protoregistry "github.com/golang/protobuf/v2/reflect/protoregistry" |
Joe Tsai | 4fddeba | 2019-03-20 18:29:32 -0700 | [diff] [blame] | 9 | protoiface "github.com/golang/protobuf/v2/runtime/protoiface" |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 10 | protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl" |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 11 | sync "sync" |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 12 | ) |
| 13 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 14 | const _ = protoimpl.EnforceVersion(protoimpl.Version - 0) |
| 15 | |
Joe Tsai | 4fddeba | 2019-03-20 18:29:32 -0700 | [diff] [blame] | 16 | var xxx_File_test_ext_proto_extDescs = []protoiface.ExtensionDescV1{ |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 17 | { |
| 18 | ExtendedType: (*TestAllExtensions)(nil), |
| 19 | ExtensionType: (*int32)(nil), |
| 20 | Field: 2000, |
| 21 | Name: "goproto.proto.test.foreign_int32_extension", |
| 22 | Tag: "varint,2000,opt,name=foreign_int32_extension", |
| 23 | Filename: "test/ext.proto", |
| 24 | }, |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 25 | } |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 26 | var ( |
| 27 | // extend goproto.proto.test.TestAllExtensions { optional int32 foreign_int32_extension = 2000; } |
| 28 | E_ForeignInt32Extension = &xxx_File_test_ext_proto_extDescs[0] |
| 29 | ) |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 30 | var File_test_ext_proto protoreflect.FileDescriptor |
| 31 | |
| 32 | var xxx_File_test_ext_proto_rawDesc = []byte{ |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 33 | 0x0a, 0x0e, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 34 | 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, |
| 35 | 0x74, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, |
| 36 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x5e, 0x0a, 0x17, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, |
| 37 | 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, |
| 38 | 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 39 | 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, |
| 40 | 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd0, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, |
| 41 | 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x78, 0x74, 0x65, |
| 42 | 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, |
| 43 | 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 44 | 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, |
| 45 | 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, |
| 46 | } |
| 47 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 48 | var ( |
| 49 | xxx_File_test_ext_proto_rawDesc_once sync.Once |
| 50 | xxx_File_test_ext_proto_rawDesc_data = xxx_File_test_ext_proto_rawDesc |
| 51 | ) |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 52 | |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 53 | func xxx_File_test_ext_proto_rawDescGZIP() []byte { |
| 54 | xxx_File_test_ext_proto_rawDesc_once.Do(func() { |
| 55 | xxx_File_test_ext_proto_rawDesc_data = protoimpl.X.CompressGZIP(xxx_File_test_ext_proto_rawDesc_data) |
| 56 | }) |
| 57 | return xxx_File_test_ext_proto_rawDesc_data |
| 58 | } |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 59 | |
| 60 | var xxx_File_test_ext_proto_goTypes = []interface{}{ |
| 61 | (*TestAllExtensions)(nil), // 0: goproto.proto.test.TestAllExtensions |
| 62 | } |
| 63 | var xxx_File_test_ext_proto_depIdxs = []int32{ |
| 64 | 0, // goproto.proto.test.foreign_int32_extension:extendee -> goproto.proto.test.TestAllExtensions |
| 65 | } |
| 66 | |
| 67 | func init() { xxx_File_test_ext_proto_init() } |
| 68 | func xxx_File_test_ext_proto_init() { |
| 69 | if File_test_ext_proto != nil { |
| 70 | return |
| 71 | } |
| 72 | xxx_File_test_test_proto_init() |
| 73 | extensionTypes := make([]protoreflect.ExtensionType, 1) |
| 74 | File_test_ext_proto = protoimpl.FileBuilder{ |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 75 | RawDescriptor: xxx_File_test_ext_proto_rawDesc, |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 76 | GoTypes: xxx_File_test_ext_proto_goTypes, |
| 77 | DependencyIndexes: xxx_File_test_ext_proto_depIdxs, |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 78 | LegacyExtensions: xxx_File_test_ext_proto_extDescs, |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 79 | ExtensionOutputTypes: extensionTypes, |
Joe Tsai | 35ec98f | 2019-03-25 14:41:32 -0700 | [diff] [blame] | 80 | FilesRegistry: protoregistry.GlobalFiles, |
| 81 | TypesRegistry: protoregistry.GlobalTypes, |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 82 | }.Init() |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame^] | 83 | xxx_File_test_ext_proto_rawDesc = nil |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 84 | xxx_File_test_ext_proto_goTypes = nil |
| 85 | xxx_File_test_ext_proto_depIdxs = nil |
| 86 | } |