blob: 44d7e4a1badde459db0ee001b7c2897e613bc80a [file] [log] [blame]
Herbie Ong6e67a1d2018-12-26 15:57:16 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
Joe Tsai19058432019-02-27 21:46:29 -08002// source: test.proto
Herbie Ong6e67a1d2018-12-26 15:57:16 -08003
4package testprotos
5
6import (
Herbie Ong6e67a1d2018-12-26 15:57:16 -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"
Herbie Ong6e67a1d2018-12-26 15:57:16 -080010 protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
Joe Tsai5d72cc22019-03-28 01:13:26 -070011 sync "sync"
Herbie Ong6e67a1d2018-12-26 15:57:16 -080012)
13
Joe Tsai5d72cc22019-03-28 01:13:26 -070014const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
15
Herbie Ong6e67a1d2018-12-26 15:57:16 -080016type Enum1 int32
17
18const (
19 Enum1_ONE Enum1 = 1
20)
21
Joe Tsai8e506a82019-03-16 00:05:34 -070022// Deprecated: Use Enum1.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -080023var Enum1_name = map[int32]string{
24 1: "ONE",
25}
26
Joe Tsai8e506a82019-03-16 00:05:34 -070027// Deprecated: Use Enum1.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -080028var Enum1_value = map[string]int32{
29 "ONE": 1,
30}
31
32func (x Enum1) Enum() *Enum1 {
Joe Tsai8e506a82019-03-16 00:05:34 -070033 return &x
Herbie Ong6e67a1d2018-12-26 15:57:16 -080034}
35
36func (x Enum1) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -070037 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Herbie Ong6e67a1d2018-12-26 15:57:16 -080038}
39
Joe Tsai61968ce2019-04-01 12:59:24 -070040func (Enum1) Type() protoreflect.EnumType {
41 return xxx_File_test_proto_enumTypes[0]
42}
43
44func (x Enum1) Number() protoreflect.EnumNumber {
45 return protoreflect.EnumNumber(x)
46}
47
Joe Tsai8e506a82019-03-16 00:05:34 -070048// Deprecated: Do not use.
49func (x *Enum1) UnmarshalJSON(b []byte) error {
50 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Herbie Ong6e67a1d2018-12-26 15:57:16 -080051 if err != nil {
52 return err
53 }
Joe Tsai8e506a82019-03-16 00:05:34 -070054 *x = Enum1(num)
Herbie Ong6e67a1d2018-12-26 15:57:16 -080055 return nil
56}
57
Joe Tsai8e506a82019-03-16 00:05:34 -070058// Deprecated: Use Enum1.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -080059func (Enum1) EnumDescriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -070060 return xxx_File_test_proto_rawDescGZIP(), []int{0}
Herbie Ong6e67a1d2018-12-26 15:57:16 -080061}
62
63type Enum2 int32
64
65const (
66 Enum2_UNO Enum2 = 1
67)
68
Joe Tsai8e506a82019-03-16 00:05:34 -070069// Deprecated: Use Enum2.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -080070var Enum2_name = map[int32]string{
71 1: "UNO",
72}
73
Joe Tsai8e506a82019-03-16 00:05:34 -070074// Deprecated: Use Enum2.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -080075var Enum2_value = map[string]int32{
76 "UNO": 1,
77}
78
79func (x Enum2) Enum() *Enum2 {
Joe Tsai8e506a82019-03-16 00:05:34 -070080 return &x
Herbie Ong6e67a1d2018-12-26 15:57:16 -080081}
82
83func (x Enum2) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -070084 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Herbie Ong6e67a1d2018-12-26 15:57:16 -080085}
86
Joe Tsai61968ce2019-04-01 12:59:24 -070087func (Enum2) Type() protoreflect.EnumType {
88 return xxx_File_test_proto_enumTypes[1]
89}
90
91func (x Enum2) Number() protoreflect.EnumNumber {
92 return protoreflect.EnumNumber(x)
93}
94
Joe Tsai8e506a82019-03-16 00:05:34 -070095// Deprecated: Do not use.
96func (x *Enum2) UnmarshalJSON(b []byte) error {
97 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Herbie Ong6e67a1d2018-12-26 15:57:16 -080098 if err != nil {
99 return err
100 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700101 *x = Enum2(num)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800102 return nil
103}
104
Joe Tsai8e506a82019-03-16 00:05:34 -0700105// Deprecated: Use Enum2.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800106func (Enum2) EnumDescriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700107 return xxx_File_test_proto_rawDescGZIP(), []int{1}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800108}
109
110type Enum3 int32
111
112const (
113 Enum3_YI Enum3 = 1
114)
115
Joe Tsai8e506a82019-03-16 00:05:34 -0700116// Deprecated: Use Enum3.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800117var Enum3_name = map[int32]string{
118 1: "YI",
119}
120
Joe Tsai8e506a82019-03-16 00:05:34 -0700121// Deprecated: Use Enum3.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800122var Enum3_value = map[string]int32{
123 "YI": 1,
124}
125
126func (x Enum3) Enum() *Enum3 {
Joe Tsai8e506a82019-03-16 00:05:34 -0700127 return &x
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800128}
129
130func (x Enum3) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -0700131 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800132}
133
Joe Tsai61968ce2019-04-01 12:59:24 -0700134func (Enum3) Type() protoreflect.EnumType {
135 return xxx_File_test_proto_enumTypes[2]
136}
137
138func (x Enum3) Number() protoreflect.EnumNumber {
139 return protoreflect.EnumNumber(x)
140}
141
Joe Tsai8e506a82019-03-16 00:05:34 -0700142// Deprecated: Do not use.
143func (x *Enum3) UnmarshalJSON(b []byte) error {
144 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800145 if err != nil {
146 return err
147 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700148 *x = Enum3(num)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800149 return nil
150}
151
Joe Tsai8e506a82019-03-16 00:05:34 -0700152// Deprecated: Use Enum3.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800153func (Enum3) EnumDescriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700154 return xxx_File_test_proto_rawDescGZIP(), []int{2}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800155}
156
157type Message1 struct {
Joe Tsai4fddeba2019-03-20 18:29:32 -0700158 XXX_NoUnkeyedLiteral struct{} `json:"-"`
159 XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
160 XXX_unrecognized []byte `json:"-"`
161 XXX_sizecache int32 `json:"-"`
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800162}
163
Joe Tsai61968ce2019-04-01 12:59:24 -0700164func (x *Message1) Reset() {
165 *x = Message1{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800166}
Joe Tsai61968ce2019-04-01 12:59:24 -0700167
168func (x *Message1) String() string {
169 return protoimpl.X.MessageStringOf(x)
170}
171
172func (*Message1) ProtoMessage() {}
173
174func (x *Message1) ProtoReflect() protoreflect.Message {
175 return xxx_File_test_proto_messageTypes[0].MessageOf(x)
176}
Joe Tsai8e506a82019-03-16 00:05:34 -0700177
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700178func (m *Message1) XXX_Methods() *protoiface.Methods {
179 return xxx_File_test_proto_messageTypes[0].Methods()
180}
181
Joe Tsai8e506a82019-03-16 00:05:34 -0700182// Deprecated: Use Message1.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800183func (*Message1) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700184 return xxx_File_test_proto_rawDescGZIP(), []int{0}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800185}
186
Joe Tsai4fddeba2019-03-20 18:29:32 -0700187var extRange_Message1 = []protoiface.ExtensionRangeV1{
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800188 {Start: 10, End: 536870911},
189}
190
Joe Tsai8e506a82019-03-16 00:05:34 -0700191// Deprecated: Use Message1.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700192func (*Message1) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800193 return extRange_Message1
194}
195
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800196type Message2 struct {
197 XXX_NoUnkeyedLiteral struct{} `json:"-"`
198 XXX_unrecognized []byte `json:"-"`
199 XXX_sizecache int32 `json:"-"`
200}
201
Joe Tsai61968ce2019-04-01 12:59:24 -0700202func (x *Message2) Reset() {
203 *x = Message2{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800204}
Joe Tsai61968ce2019-04-01 12:59:24 -0700205
206func (x *Message2) String() string {
207 return protoimpl.X.MessageStringOf(x)
208}
209
210func (*Message2) ProtoMessage() {}
211
212func (x *Message2) ProtoReflect() protoreflect.Message {
213 return xxx_File_test_proto_messageTypes[1].MessageOf(x)
214}
Joe Tsai8e506a82019-03-16 00:05:34 -0700215
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700216func (m *Message2) XXX_Methods() *protoiface.Methods {
217 return xxx_File_test_proto_messageTypes[1].Methods()
218}
219
Joe Tsai8e506a82019-03-16 00:05:34 -0700220// Deprecated: Use Message2.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800221func (*Message2) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700222 return xxx_File_test_proto_rawDescGZIP(), []int{1}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800223}
224
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800225type Message3 struct {
226 XXX_NoUnkeyedLiteral struct{} `json:"-"`
227 XXX_unrecognized []byte `json:"-"`
228 XXX_sizecache int32 `json:"-"`
229}
230
Joe Tsai61968ce2019-04-01 12:59:24 -0700231func (x *Message3) Reset() {
232 *x = Message3{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800233}
Joe Tsai61968ce2019-04-01 12:59:24 -0700234
235func (x *Message3) String() string {
236 return protoimpl.X.MessageStringOf(x)
237}
238
239func (*Message3) ProtoMessage() {}
240
241func (x *Message3) ProtoReflect() protoreflect.Message {
242 return xxx_File_test_proto_messageTypes[2].MessageOf(x)
243}
Joe Tsai8e506a82019-03-16 00:05:34 -0700244
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700245func (m *Message3) XXX_Methods() *protoiface.Methods {
246 return xxx_File_test_proto_messageTypes[2].Methods()
247}
248
Joe Tsai8e506a82019-03-16 00:05:34 -0700249// Deprecated: Use Message3.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800250func (*Message3) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700251 return xxx_File_test_proto_rawDescGZIP(), []int{2}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800252}
253
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800254type Message4 struct {
255 BoolField *bool `protobuf:"varint,30,opt,name=bool_field,json=boolField" json:"bool_field,omitempty"`
256 XXX_NoUnkeyedLiteral struct{} `json:"-"`
257 XXX_unrecognized []byte `json:"-"`
258 XXX_sizecache int32 `json:"-"`
259}
260
Joe Tsai61968ce2019-04-01 12:59:24 -0700261func (x *Message4) Reset() {
262 *x = Message4{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800263}
Joe Tsai61968ce2019-04-01 12:59:24 -0700264
265func (x *Message4) String() string {
266 return protoimpl.X.MessageStringOf(x)
267}
268
269func (*Message4) ProtoMessage() {}
270
271func (x *Message4) ProtoReflect() protoreflect.Message {
272 return xxx_File_test_proto_messageTypes[3].MessageOf(x)
273}
Joe Tsai8e506a82019-03-16 00:05:34 -0700274
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700275func (m *Message4) XXX_Methods() *protoiface.Methods {
276 return xxx_File_test_proto_messageTypes[3].Methods()
277}
278
Joe Tsai8e506a82019-03-16 00:05:34 -0700279// Deprecated: Use Message4.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800280func (*Message4) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700281 return xxx_File_test_proto_rawDescGZIP(), []int{3}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800282}
283
Joe Tsai61968ce2019-04-01 12:59:24 -0700284func (x *Message4) GetBoolField() bool {
285 if x != nil && x.BoolField != nil {
286 return *x.BoolField
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800287 }
288 return false
289}
290
Joe Tsai4fddeba2019-03-20 18:29:32 -0700291var xxx_File_test_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -0700292 {
293 ExtendedType: (*Message1)(nil),
294 ExtensionType: (*string)(nil),
295 Field: 11,
296 Name: "testprotos.string_field",
297 Tag: "bytes,11,opt,name=string_field",
298 Filename: "test.proto",
299 },
300 {
301 ExtendedType: (*Message1)(nil),
302 ExtensionType: (*Enum1)(nil),
303 Field: 12,
304 Name: "testprotos.enum_field",
305 Tag: "varint,12,opt,name=enum_field,enum=testprotos.Enum1",
306 Filename: "test.proto",
307 },
308 {
309 ExtendedType: (*Message1)(nil),
310 ExtensionType: (*Message2)(nil),
311 Field: 13,
312 Name: "testprotos.message_field",
313 Tag: "bytes,13,opt,name=message_field",
314 Filename: "test.proto",
315 },
316 {
317 ExtendedType: (*Message1)(nil),
318 ExtensionType: (*Message2)(nil),
319 Field: 21,
320 Name: "testprotos.Message4.message_field",
321 Tag: "bytes,21,opt,name=message_field",
322 Filename: "test.proto",
323 },
324 {
325 ExtendedType: (*Message1)(nil),
326 ExtensionType: (*Enum1)(nil),
327 Field: 22,
328 Name: "testprotos.Message4.enum_field",
329 Tag: "varint,22,opt,name=enum_field,enum=testprotos.Enum1",
330 Filename: "test.proto",
331 },
332 {
333 ExtendedType: (*Message1)(nil),
334 ExtensionType: (*string)(nil),
335 Field: 23,
336 Name: "testprotos.Message4.string_field",
337 Tag: "bytes,23,opt,name=string_field",
338 Filename: "test.proto",
339 },
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800340}
Joe Tsaiafb455e2019-03-14 16:08:22 -0700341var (
342 // extend testprotos.Message1 { optional string string_field = 11; }
343 E_StringField = &xxx_File_test_proto_extDescs[0]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800344
Joe Tsaiafb455e2019-03-14 16:08:22 -0700345 // extend testprotos.Message1 { optional testprotos.Enum1 enum_field = 12; }
346 E_EnumField = &xxx_File_test_proto_extDescs[1]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800347
Joe Tsaiafb455e2019-03-14 16:08:22 -0700348 // extend testprotos.Message1 { optional testprotos.Message2 message_field = 13; }
349 E_MessageField = &xxx_File_test_proto_extDescs[2]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800350
Joe Tsaiafb455e2019-03-14 16:08:22 -0700351 // extend testprotos.Message1 { optional testprotos.Message2 message_field = 21; }
352 E_Message4_MessageField = &xxx_File_test_proto_extDescs[3]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800353
Joe Tsaiafb455e2019-03-14 16:08:22 -0700354 // extend testprotos.Message1 { optional testprotos.Enum1 enum_field = 22; }
355 E_Message4_EnumField = &xxx_File_test_proto_extDescs[4]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800356
Joe Tsaiafb455e2019-03-14 16:08:22 -0700357 // extend testprotos.Message1 { optional string string_field = 23; }
358 E_Message4_StringField = &xxx_File_test_proto_extDescs[5]
359)
Joe Tsai5d72cc22019-03-28 01:13:26 -0700360var File_test_proto protoreflect.FileDescriptor
361
362var xxx_File_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -0800363 0x0a, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x74, 0x65,
364 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x22, 0x14, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73,
365 0x61, 0x67, 0x65, 0x31, 0x2a, 0x08, 0x08, 0x0a, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x0a,
366 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x22, 0x0a, 0x0a, 0x08, 0x4d, 0x65,
367 0x73, 0x73, 0x61, 0x67, 0x65, 0x33, 0x22, 0xfb, 0x01, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61,
368 0x67, 0x65, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c,
369 0x64, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x46, 0x69, 0x65,
370 0x6c, 0x64, 0x32, 0x4f, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69,
371 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
372 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
373 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73,
374 0x73, 0x61, 0x67, 0x65, 0x32, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69,
375 0x65, 0x6c, 0x64, 0x32, 0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c,
Damien Neil8012b442019-01-18 09:32:24 -0800376 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d,
Joe Tsai19058432019-02-27 21:46:29 -0800377 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e,
Damien Neil8012b442019-01-18 09:32:24 -0800378 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x31,
Joe Tsai19058432019-02-27 21:46:29 -0800379 0x52, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x37, 0x0a, 0x0c, 0x73,
380 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65,
381 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
382 0x31, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46,
383 0x69, 0x65, 0x6c, 0x64, 0x2a, 0x10, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x12, 0x07, 0x0a,
384 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x2a, 0x10, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x12,
385 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x2a, 0x0f, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d,
386 0x33, 0x12, 0x06, 0x0a, 0x02, 0x59, 0x49, 0x10, 0x01, 0x3a, 0x37, 0x0a, 0x0c, 0x73, 0x74, 0x72,
387 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74,
388 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18,
389 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x65,
390 0x6c, 0x64, 0x3a, 0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
391 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65,
392 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x74,
393 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x52,
394 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a, 0x4f, 0x0a, 0x0d, 0x6d, 0x65,
395 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65,
396 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
397 0x31, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72,
398 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x52, 0x0c, 0x6d,
399 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x40, 0x5a, 0x3e, 0x67,
400 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
401 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x66,
402 0x6c, 0x65, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
403 0x72, 0x79, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800404}
405
Joe Tsai5d72cc22019-03-28 01:13:26 -0700406var (
407 xxx_File_test_proto_rawDesc_once sync.Once
408 xxx_File_test_proto_rawDesc_data = xxx_File_test_proto_rawDesc
409)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800410
Joe Tsai5d72cc22019-03-28 01:13:26 -0700411func xxx_File_test_proto_rawDescGZIP() []byte {
412 xxx_File_test_proto_rawDesc_once.Do(func() {
413 xxx_File_test_proto_rawDesc_data = protoimpl.X.CompressGZIP(xxx_File_test_proto_rawDesc_data)
414 })
415 return xxx_File_test_proto_rawDesc_data
416}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800417
Damien Neil6bb8dec2019-03-01 13:22:30 -0800418var xxx_File_test_proto_enumTypes = make([]protoreflect.EnumType, 3)
419var xxx_File_test_proto_messageTypes = make([]protoimpl.MessageType, 4)
Joe Tsai19058432019-02-27 21:46:29 -0800420var xxx_File_test_proto_goTypes = []interface{}{
Damien Neil8012b442019-01-18 09:32:24 -0800421 (Enum1)(0), // 0: testprotos.Enum1
422 (Enum2)(0), // 1: testprotos.Enum2
423 (Enum3)(0), // 2: testprotos.Enum3
424 (*Message1)(nil), // 3: testprotos.Message1
425 (*Message2)(nil), // 4: testprotos.Message2
426 (*Message3)(nil), // 5: testprotos.Message3
427 (*Message4)(nil), // 6: testprotos.Message4
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800428}
Joe Tsai19058432019-02-27 21:46:29 -0800429var xxx_File_test_proto_depIdxs = []int32{
Damien Neil8012b442019-01-18 09:32:24 -0800430 3, // testprotos.string_field:extendee -> testprotos.Message1
431 3, // testprotos.enum_field:extendee -> testprotos.Message1
432 3, // testprotos.message_field:extendee -> testprotos.Message1
433 3, // testprotos.Message4.message_field:extendee -> testprotos.Message1
434 3, // testprotos.Message4.enum_field:extendee -> testprotos.Message1
435 3, // testprotos.Message4.string_field:extendee -> testprotos.Message1
436 0, // testprotos.enum_field:type_name -> testprotos.Enum1
437 4, // testprotos.message_field:type_name -> testprotos.Message2
438 4, // testprotos.Message4.message_field:type_name -> testprotos.Message2
439 0, // testprotos.Message4.enum_field:type_name -> testprotos.Enum1
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800440}
Damien Neil8012b442019-01-18 09:32:24 -0800441
Damien Neil0fc22452019-03-08 17:18:11 -0800442func init() { xxx_File_test_proto_init() }
443func xxx_File_test_proto_init() {
444 if File_test_proto != nil {
445 return
446 }
Damien Neil6bb8dec2019-03-01 13:22:30 -0800447 extensionTypes := make([]protoreflect.ExtensionType, 6)
Joe Tsai19058432019-02-27 21:46:29 -0800448 File_test_proto = protoimpl.FileBuilder{
Joe Tsai5d72cc22019-03-28 01:13:26 -0700449 RawDescriptor: xxx_File_test_proto_rawDesc,
Joe Tsai19058432019-02-27 21:46:29 -0800450 GoTypes: xxx_File_test_proto_goTypes,
451 DependencyIndexes: xxx_File_test_proto_depIdxs,
Joe Tsaiafb455e2019-03-14 16:08:22 -0700452 LegacyExtensions: xxx_File_test_proto_extDescs,
Damien Neil6bb8dec2019-03-01 13:22:30 -0800453 EnumOutputTypes: xxx_File_test_proto_enumTypes,
Joe Tsai35ec98f2019-03-25 14:41:32 -0700454 MessageOutputTypes: xxx_File_test_proto_messageTypes,
Damien Neil6bb8dec2019-03-01 13:22:30 -0800455 ExtensionOutputTypes: extensionTypes,
Joe Tsai35ec98f2019-03-25 14:41:32 -0700456 FilesRegistry: protoregistry.GlobalFiles,
457 TypesRegistry: protoregistry.GlobalTypes,
Damien Neil8012b442019-01-18 09:32:24 -0800458 }.Init()
Joe Tsai5d72cc22019-03-28 01:13:26 -0700459 xxx_File_test_proto_rawDesc = nil
Joe Tsai19058432019-02-27 21:46:29 -0800460 xxx_File_test_proto_goTypes = nil
461 xxx_File_test_proto_depIdxs = nil
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800462}