Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 1 | // Copyright 2018 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 5 | // Code generated by protoc-gen-go. DO NOT EDIT. |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 6 | // source: internal/testprotos/test/ext.proto |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 7 | |
| 8 | package test |
| 9 | |
| 10 | import ( |
Damien Neil | e89e624 | 2019-05-13 23:55:40 -0700 | [diff] [blame] | 11 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
Damien Neil | e89e624 | 2019-05-13 23:55:40 -0700 | [diff] [blame] | 12 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 13 | reflect "reflect" |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 14 | ) |
| 15 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 16 | var file_internal_testprotos_test_ext_proto_extTypes = []protoimpl.ExtensionInfo{ |
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", |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 23 | Filename: "internal/testprotos/test/ext.proto", |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 24 | }, |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 25 | } |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 26 | |
| 27 | // Extension fields to TestAllExtensions. |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 28 | var ( |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 29 | // optional int32 foreign_int32_extension = 2000; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 30 | E_ForeignInt32Extension = &file_internal_testprotos_test_ext_proto_extTypes[0] |
Joe Tsai | afb455e | 2019-03-14 16:08:22 -0700 | [diff] [blame] | 31 | ) |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 32 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 33 | var File_internal_testprotos_test_ext_proto protoreflect.FileDescriptor |
Joe Tsai | 5d72cc2 | 2019-03-28 01:13:26 -0700 | [diff] [blame] | 34 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 35 | var file_internal_testprotos_test_ext_proto_rawDesc = []byte{ |
| 36 | 0x0a, 0x22, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, |
| 37 | 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70, |
| 38 | 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, |
| 39 | 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, |
| 40 | 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, |
| 41 | 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x5e, 0x0a, |
| 42 | 0x17, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x65, |
| 43 | 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, |
| 44 | 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, |
| 45 | 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, |
| 46 | 0xd0, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x49, |
| 47 | 0x6e, 0x74, 0x33, 0x32, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x35, 0x5a, |
| 48 | 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, |
| 49 | 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, |
| 50 | 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, |
| 51 | 0x74, 0x65, 0x73, 0x74, |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 52 | } |
| 53 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 54 | var file_internal_testprotos_test_ext_proto_goTypes = []interface{}{ |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 55 | (*TestAllExtensions)(nil), // 0: goproto.proto.test.TestAllExtensions |
| 56 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 57 | var file_internal_testprotos_test_ext_proto_depIdxs = []int32{ |
Joe Tsai | 7328839 | 2019-08-14 11:55:31 -0700 | [diff] [blame] | 58 | 0, // 0: goproto.proto.test.foreign_int32_extension:extendee -> goproto.proto.test.TestAllExtensions |
| 59 | 1, // [1:1] is the sub-list for method output_type |
| 60 | 1, // [1:1] is the sub-list for method input_type |
| 61 | 1, // [1:1] is the sub-list for extension type_name |
| 62 | 0, // [0:1] is the sub-list for extension extendee |
| 63 | 0, // [0:0] is the sub-list for field type_name |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 64 | } |
| 65 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 66 | func init() { file_internal_testprotos_test_ext_proto_init() } |
| 67 | func file_internal_testprotos_test_ext_proto_init() { |
| 68 | if File_internal_testprotos_test_ext_proto != nil { |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 69 | return |
| 70 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 71 | file_internal_testprotos_test_test_proto_init() |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 72 | type x struct{} |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 73 | out := protoimpl.TypeBuilder{ |
| 74 | File: protoimpl.DescBuilder{ |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 75 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 76 | RawDescriptor: file_internal_testprotos_test_ext_proto_rawDesc, |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 77 | NumEnums: 0, |
| 78 | NumMessages: 0, |
| 79 | NumExtensions: 1, |
| 80 | NumServices: 0, |
| 81 | }, |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 82 | GoTypes: file_internal_testprotos_test_ext_proto_goTypes, |
| 83 | DependencyIndexes: file_internal_testprotos_test_ext_proto_depIdxs, |
| 84 | ExtensionInfos: file_internal_testprotos_test_ext_proto_extTypes, |
Joe Tsai | d888139 | 2019-06-06 13:01:53 -0700 | [diff] [blame] | 85 | }.Build() |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame^] | 86 | File_internal_testprotos_test_ext_proto = out.File |
| 87 | file_internal_testprotos_test_ext_proto_rawDesc = nil |
| 88 | file_internal_testprotos_test_ext_proto_goTypes = nil |
| 89 | file_internal_testprotos_test_ext_proto_depIdxs = nil |
Damien Neil | 0fc2245 | 2019-03-08 17:18:11 -0800 | [diff] [blame] | 90 | } |