blob: 79221704f1ee5143704270f02867295283612bf8 [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 Tsaiaf570872019-07-14 23:04:40 -070010 reflect "reflect"
Joe Tsai5d72cc22019-03-28 01:13:26 -070011 sync "sync"
Damien Neil0fc22452019-03-08 17:18:11 -080012)
13
Joe Tsai58b42d82019-05-22 16:27:51 -040014const (
15 // Verify that runtime/protoimpl is sufficiently up-to-date.
16 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 0)
17 // Verify that this generated code is sufficiently up-to-date.
18 _ = protoimpl.EnforceVersion(0 - protoimpl.MinVersion)
19)
Joe Tsai5d72cc22019-03-28 01:13:26 -070020
Joe Tsai7ca70982019-04-15 13:57:56 -070021var file_test_ext_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -070022 {
23 ExtendedType: (*TestAllExtensions)(nil),
24 ExtensionType: (*int32)(nil),
25 Field: 2000,
26 Name: "goproto.proto.test.foreign_int32_extension",
27 Tag: "varint,2000,opt,name=foreign_int32_extension",
28 Filename: "test/ext.proto",
29 },
Damien Neil0fc22452019-03-08 17:18:11 -080030}
Joe Tsai4a7d6332019-08-06 16:45:11 -070031
32// Extension fields to TestAllExtensions.
Joe Tsaiafb455e2019-03-14 16:08:22 -070033var (
Joe Tsai4a7d6332019-08-06 16:45:11 -070034 // optional int32 foreign_int32_extension = 2000;
Joe Tsai7ca70982019-04-15 13:57:56 -070035 E_ForeignInt32Extension = &file_test_ext_proto_extDescs[0]
Joe Tsaiafb455e2019-03-14 16:08:22 -070036)
Joe Tsai4a7d6332019-08-06 16:45:11 -070037
Joe Tsai5d72cc22019-03-28 01:13:26 -070038var File_test_ext_proto protoreflect.FileDescriptor
39
Joe Tsai7ca70982019-04-15 13:57:56 -070040var file_test_ext_proto_rawDesc = []byte{
Damien Neil0fc22452019-03-08 17:18:11 -080041 0x0a, 0x0e, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
42 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
43 0x74, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e,
44 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3a, 0x5e, 0x0a, 0x17, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e,
45 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e,
46 0x12, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
47 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45, 0x78, 0x74,
48 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xd0, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x15,
49 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x78, 0x74, 0x65,
Damien Neile89e6242019-05-13 23:55:40 -070050 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
51 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
52 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73,
53 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
Damien Neil0fc22452019-03-08 17:18:11 -080054}
55
Joe Tsai5d72cc22019-03-28 01:13:26 -070056var (
Joe Tsai7ca70982019-04-15 13:57:56 -070057 file_test_ext_proto_rawDescOnce sync.Once
58 file_test_ext_proto_rawDescData = file_test_ext_proto_rawDesc
Joe Tsai5d72cc22019-03-28 01:13:26 -070059)
Damien Neil0fc22452019-03-08 17:18:11 -080060
Joe Tsai7ca70982019-04-15 13:57:56 -070061func file_test_ext_proto_rawDescGZIP() []byte {
62 file_test_ext_proto_rawDescOnce.Do(func() {
63 file_test_ext_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_ext_proto_rawDescData)
Joe Tsai5d72cc22019-03-28 01:13:26 -070064 })
Joe Tsai7ca70982019-04-15 13:57:56 -070065 return file_test_ext_proto_rawDescData
Joe Tsai5d72cc22019-03-28 01:13:26 -070066}
Damien Neil0fc22452019-03-08 17:18:11 -080067
Joe Tsai7ca70982019-04-15 13:57:56 -070068var file_test_ext_proto_goTypes = []interface{}{
Damien Neil0fc22452019-03-08 17:18:11 -080069 (*TestAllExtensions)(nil), // 0: goproto.proto.test.TestAllExtensions
70}
Joe Tsai7ca70982019-04-15 13:57:56 -070071var file_test_ext_proto_depIdxs = []int32{
Damien Neil0fc22452019-03-08 17:18:11 -080072 0, // goproto.proto.test.foreign_int32_extension:extendee -> goproto.proto.test.TestAllExtensions
Joe Tsaid8881392019-06-06 13:01:53 -070073 1, // starting offset of method output_type sub-list
74 1, // starting offset of method input_type sub-list
75 1, // starting offset of extension type_name sub-list
76 0, // starting offset of extension extendee sub-list
77 0, // starting offset of field type_name sub-list
Damien Neil0fc22452019-03-08 17:18:11 -080078}
79
Joe Tsai7ca70982019-04-15 13:57:56 -070080func init() { file_test_ext_proto_init() }
81func file_test_ext_proto_init() {
Damien Neil0fc22452019-03-08 17:18:11 -080082 if File_test_ext_proto != nil {
83 return
84 }
Joe Tsai7ca70982019-04-15 13:57:56 -070085 file_test_test_proto_init()
Joe Tsaiaf570872019-07-14 23:04:40 -070086 type x struct{}
Joe Tsaid8881392019-06-06 13:01:53 -070087 out := protoimpl.TypeBuilder{
88 File: protoimpl.DescBuilder{
Joe Tsaiaf570872019-07-14 23:04:40 -070089 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
Joe Tsaid8881392019-06-06 13:01:53 -070090 RawDescriptor: file_test_ext_proto_rawDesc,
91 NumEnums: 0,
92 NumMessages: 0,
93 NumExtensions: 1,
94 NumServices: 0,
95 },
96 GoTypes: file_test_ext_proto_goTypes,
97 DependencyIndexes: file_test_ext_proto_depIdxs,
98 LegacyExtensions: file_test_ext_proto_extDescs,
99 }.Build()
100 File_test_ext_proto = out.File
Joe Tsai7ca70982019-04-15 13:57:56 -0700101 file_test_ext_proto_rawDesc = nil
102 file_test_ext_proto_goTypes = nil
103 file_test_ext_proto_depIdxs = nil
Damien Neil0fc22452019-03-08 17:18:11 -0800104}