blob: 69c06a5648d9cd0e0b2baea9de2d7efe429e4d33 [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 Neil0fc22452019-03-08 17:18:11 -08007 protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
Joe Tsai35ec98f2019-03-25 14:41:32 -07008 protoregistry "github.com/golang/protobuf/v2/reflect/protoregistry"
Joe Tsai4fddeba2019-03-20 18:29:32 -07009 protoiface "github.com/golang/protobuf/v2/runtime/protoiface"
Damien Neil0fc22452019-03-08 17:18:11 -080010 protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
Joe Tsai5d72cc22019-03-28 01:13:26 -070011 sync "sync"
Damien Neil0fc22452019-03-08 17:18:11 -080012)
13
Joe Tsai5d72cc22019-03-28 01:13:26 -070014const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
15
Joe Tsai4fddeba2019-03-20 18:29:32 -070016var xxx_File_test_ext_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -070017 {
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 Neil0fc22452019-03-08 17:18:11 -080025}
Joe Tsaiafb455e2019-03-14 16:08:22 -070026var (
27 // extend goproto.proto.test.TestAllExtensions { optional int32 foreign_int32_extension = 2000; }
28 E_ForeignInt32Extension = &xxx_File_test_ext_proto_extDescs[0]
29)
Joe Tsai5d72cc22019-03-28 01:13:26 -070030var File_test_ext_proto protoreflect.FileDescriptor
31
32var xxx_File_test_ext_proto_rawDesc = []byte{
Damien Neil0fc22452019-03-08 17:18:11 -080033 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 Tsai5d72cc22019-03-28 01:13:26 -070048var (
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 Neil0fc22452019-03-08 17:18:11 -080052
Joe Tsai5d72cc22019-03-28 01:13:26 -070053func 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 Neil0fc22452019-03-08 17:18:11 -080059
60var xxx_File_test_ext_proto_goTypes = []interface{}{
61 (*TestAllExtensions)(nil), // 0: goproto.proto.test.TestAllExtensions
62}
63var xxx_File_test_ext_proto_depIdxs = []int32{
64 0, // goproto.proto.test.foreign_int32_extension:extendee -> goproto.proto.test.TestAllExtensions
65}
66
67func init() { xxx_File_test_ext_proto_init() }
68func 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 Tsai5d72cc22019-03-28 01:13:26 -070075 RawDescriptor: xxx_File_test_ext_proto_rawDesc,
Damien Neil0fc22452019-03-08 17:18:11 -080076 GoTypes: xxx_File_test_ext_proto_goTypes,
77 DependencyIndexes: xxx_File_test_ext_proto_depIdxs,
Joe Tsaiafb455e2019-03-14 16:08:22 -070078 LegacyExtensions: xxx_File_test_ext_proto_extDescs,
Damien Neil0fc22452019-03-08 17:18:11 -080079 ExtensionOutputTypes: extensionTypes,
Joe Tsai35ec98f2019-03-25 14:41:32 -070080 FilesRegistry: protoregistry.GlobalFiles,
81 TypesRegistry: protoregistry.GlobalTypes,
Damien Neil0fc22452019-03-08 17:18:11 -080082 }.Init()
Joe Tsai5d72cc22019-03-28 01:13:26 -070083 xxx_File_test_ext_proto_rawDesc = nil
Damien Neil0fc22452019-03-08 17:18:11 -080084 xxx_File_test_ext_proto_goTypes = nil
85 xxx_File_test_ext_proto_depIdxs = nil
86}