1
2
3
4
5
6
7
8 package test3
9
10 import (
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 reflect "reflect"
14 sync "sync"
15 )
16
17 type ImportEnum int32
18
19 const (
20 ImportEnum_IMPORT_ZERO ImportEnum = 0
21 )
22
23
24 var (
25 ImportEnum_name = map[int32]string{
26 0: "IMPORT_ZERO",
27 }
28 ImportEnum_value = map[string]int32{
29 "IMPORT_ZERO": 0,
30 }
31 )
32
33 func (x ImportEnum) Enum() *ImportEnum {
34 p := new(ImportEnum)
35 *p = x
36 return p
37 }
38
39 func (x ImportEnum) String() string {
40 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
41 }
42
43 func (ImportEnum) Descriptor() protoreflect.EnumDescriptor {
44 return file_internal_testprotos_test3_test_import_proto_enumTypes[0].Descriptor()
45 }
46
47 func (ImportEnum) Type() protoreflect.EnumType {
48 return &file_internal_testprotos_test3_test_import_proto_enumTypes[0]
49 }
50
51 func (x ImportEnum) Number() protoreflect.EnumNumber {
52 return protoreflect.EnumNumber(x)
53 }
54
55
56 func (ImportEnum) EnumDescriptor() ([]byte, []int) {
57 return file_internal_testprotos_test3_test_import_proto_rawDescGZIP(), []int{0}
58 }
59
60 type ImportMessage struct {
61 state protoimpl.MessageState
62 sizeCache protoimpl.SizeCache
63 unknownFields protoimpl.UnknownFields
64 }
65
66 func (x *ImportMessage) Reset() {
67 *x = ImportMessage{}
68 if protoimpl.UnsafeEnabled {
69 mi := &file_internal_testprotos_test3_test_import_proto_msgTypes[0]
70 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71 ms.StoreMessageInfo(mi)
72 }
73 }
74
75 func (x *ImportMessage) String() string {
76 return protoimpl.X.MessageStringOf(x)
77 }
78
79 func (*ImportMessage) ProtoMessage() {}
80
81 func (x *ImportMessage) ProtoReflect() protoreflect.Message {
82 mi := &file_internal_testprotos_test3_test_import_proto_msgTypes[0]
83 if protoimpl.UnsafeEnabled && x != nil {
84 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
85 if ms.LoadMessageInfo() == nil {
86 ms.StoreMessageInfo(mi)
87 }
88 return ms
89 }
90 return mi.MessageOf(x)
91 }
92
93
94 func (*ImportMessage) Descriptor() ([]byte, []int) {
95 return file_internal_testprotos_test3_test_import_proto_rawDescGZIP(), []int{0}
96 }
97
98 var File_internal_testprotos_test3_test_import_proto protoreflect.FileDescriptor
99
100 var file_internal_testprotos_test3_test_import_proto_rawDesc = []byte{
101 0x0a, 0x2b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
102 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74,
103 0x5f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x67,
104 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73,
105 0x74, 0x33, 0x22, 0x0f, 0x0a, 0x0d, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73,
106 0x61, 0x67, 0x65, 0x2a, 0x1d, 0x0a, 0x0a, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x75,
107 0x6d, 0x12, 0x0f, 0x0a, 0x0b, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f,
108 0x10, 0x00, 0x42, 0x36, 0x5a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
109 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
110 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72,
111 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
112 0x6f, 0x33,
113 }
114
115 var (
116 file_internal_testprotos_test3_test_import_proto_rawDescOnce sync.Once
117 file_internal_testprotos_test3_test_import_proto_rawDescData = file_internal_testprotos_test3_test_import_proto_rawDesc
118 )
119
120 func file_internal_testprotos_test3_test_import_proto_rawDescGZIP() []byte {
121 file_internal_testprotos_test3_test_import_proto_rawDescOnce.Do(func() {
122 file_internal_testprotos_test3_test_import_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_test3_test_import_proto_rawDescData)
123 })
124 return file_internal_testprotos_test3_test_import_proto_rawDescData
125 }
126
127 var file_internal_testprotos_test3_test_import_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
128 var file_internal_testprotos_test3_test_import_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
129 var file_internal_testprotos_test3_test_import_proto_goTypes = []interface{}{
130 (ImportEnum)(0),
131 (*ImportMessage)(nil),
132 }
133 var file_internal_testprotos_test3_test_import_proto_depIdxs = []int32{
134 0,
135 0,
136 0,
137 0,
138 0,
139 }
140
141 func init() { file_internal_testprotos_test3_test_import_proto_init() }
142 func file_internal_testprotos_test3_test_import_proto_init() {
143 if File_internal_testprotos_test3_test_import_proto != nil {
144 return
145 }
146 if !protoimpl.UnsafeEnabled {
147 file_internal_testprotos_test3_test_import_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
148 switch v := v.(*ImportMessage); i {
149 case 0:
150 return &v.state
151 case 1:
152 return &v.sizeCache
153 case 2:
154 return &v.unknownFields
155 default:
156 return nil
157 }
158 }
159 }
160 type x struct{}
161 out := protoimpl.TypeBuilder{
162 File: protoimpl.DescBuilder{
163 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
164 RawDescriptor: file_internal_testprotos_test3_test_import_proto_rawDesc,
165 NumEnums: 1,
166 NumMessages: 1,
167 NumExtensions: 0,
168 NumServices: 0,
169 },
170 GoTypes: file_internal_testprotos_test3_test_import_proto_goTypes,
171 DependencyIndexes: file_internal_testprotos_test3_test_import_proto_depIdxs,
172 EnumInfos: file_internal_testprotos_test3_test_import_proto_enumTypes,
173 MessageInfos: file_internal_testprotos_test3_test_import_proto_msgTypes,
174 }.Build()
175 File_internal_testprotos_test3_test_import_proto = out.File
176 file_internal_testprotos_test3_test_import_proto_rawDesc = nil
177 file_internal_testprotos_test3_test_import_proto_goTypes = nil
178 file_internal_testprotos_test3_test_import_proto_depIdxs = nil
179 }
180
View as plain text