blob: 8d082cd56004360d25404bb96214ed7f7d1d4bc5 [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 Tsai09b5b462019-04-10 15:29:01 -070033 p := new(Enum1)
34 *p = x
35 return p
Herbie Ong6e67a1d2018-12-26 15:57:16 -080036}
37
38func (x Enum1) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -070039 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Herbie Ong6e67a1d2018-12-26 15:57:16 -080040}
41
Joe Tsai61968ce2019-04-01 12:59:24 -070042func (Enum1) Type() protoreflect.EnumType {
43 return xxx_File_test_proto_enumTypes[0]
44}
45
46func (x Enum1) Number() protoreflect.EnumNumber {
47 return protoreflect.EnumNumber(x)
48}
49
Joe Tsai8e506a82019-03-16 00:05:34 -070050// Deprecated: Do not use.
51func (x *Enum1) UnmarshalJSON(b []byte) error {
52 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Herbie Ong6e67a1d2018-12-26 15:57:16 -080053 if err != nil {
54 return err
55 }
Joe Tsai8e506a82019-03-16 00:05:34 -070056 *x = Enum1(num)
Herbie Ong6e67a1d2018-12-26 15:57:16 -080057 return nil
58}
59
Joe Tsai8e506a82019-03-16 00:05:34 -070060// Deprecated: Use Enum1.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -080061func (Enum1) EnumDescriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -070062 return xxx_File_test_proto_rawDescGZIP(), []int{0}
Herbie Ong6e67a1d2018-12-26 15:57:16 -080063}
64
65type Enum2 int32
66
67const (
68 Enum2_UNO Enum2 = 1
69)
70
Joe Tsai8e506a82019-03-16 00:05:34 -070071// Deprecated: Use Enum2.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -080072var Enum2_name = map[int32]string{
73 1: "UNO",
74}
75
Joe Tsai8e506a82019-03-16 00:05:34 -070076// Deprecated: Use Enum2.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -080077var Enum2_value = map[string]int32{
78 "UNO": 1,
79}
80
81func (x Enum2) Enum() *Enum2 {
Joe Tsai09b5b462019-04-10 15:29:01 -070082 p := new(Enum2)
83 *p = x
84 return p
Herbie Ong6e67a1d2018-12-26 15:57:16 -080085}
86
87func (x Enum2) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -070088 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Herbie Ong6e67a1d2018-12-26 15:57:16 -080089}
90
Joe Tsai61968ce2019-04-01 12:59:24 -070091func (Enum2) Type() protoreflect.EnumType {
92 return xxx_File_test_proto_enumTypes[1]
93}
94
95func (x Enum2) Number() protoreflect.EnumNumber {
96 return protoreflect.EnumNumber(x)
97}
98
Joe Tsai8e506a82019-03-16 00:05:34 -070099// Deprecated: Do not use.
100func (x *Enum2) UnmarshalJSON(b []byte) error {
101 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800102 if err != nil {
103 return err
104 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700105 *x = Enum2(num)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800106 return nil
107}
108
Joe Tsai8e506a82019-03-16 00:05:34 -0700109// Deprecated: Use Enum2.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800110func (Enum2) EnumDescriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700111 return xxx_File_test_proto_rawDescGZIP(), []int{1}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800112}
113
114type Enum3 int32
115
116const (
117 Enum3_YI Enum3 = 1
118)
119
Joe Tsai8e506a82019-03-16 00:05:34 -0700120// Deprecated: Use Enum3.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800121var Enum3_name = map[int32]string{
122 1: "YI",
123}
124
Joe Tsai8e506a82019-03-16 00:05:34 -0700125// Deprecated: Use Enum3.Type.Values instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800126var Enum3_value = map[string]int32{
127 "YI": 1,
128}
129
130func (x Enum3) Enum() *Enum3 {
Joe Tsai09b5b462019-04-10 15:29:01 -0700131 p := new(Enum3)
132 *p = x
133 return p
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800134}
135
136func (x Enum3) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -0700137 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800138}
139
Joe Tsai61968ce2019-04-01 12:59:24 -0700140func (Enum3) Type() protoreflect.EnumType {
141 return xxx_File_test_proto_enumTypes[2]
142}
143
144func (x Enum3) Number() protoreflect.EnumNumber {
145 return protoreflect.EnumNumber(x)
146}
147
Joe Tsai8e506a82019-03-16 00:05:34 -0700148// Deprecated: Do not use.
149func (x *Enum3) UnmarshalJSON(b []byte) error {
150 num, err := protoimpl.X.UnmarshalJSONEnum(x.Type(), b)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800151 if err != nil {
152 return err
153 }
Joe Tsai8e506a82019-03-16 00:05:34 -0700154 *x = Enum3(num)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800155 return nil
156}
157
Joe Tsai8e506a82019-03-16 00:05:34 -0700158// Deprecated: Use Enum3.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800159func (Enum3) EnumDescriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700160 return xxx_File_test_proto_rawDescGZIP(), []int{2}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800161}
162
163type Message1 struct {
Joe Tsai4fddeba2019-03-20 18:29:32 -0700164 XXX_NoUnkeyedLiteral struct{} `json:"-"`
165 XXX_InternalExtensions protoimpl.ExtensionFieldsV1 `json:"-"`
166 XXX_unrecognized []byte `json:"-"`
167 XXX_sizecache int32 `json:"-"`
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800168}
169
Joe Tsai61968ce2019-04-01 12:59:24 -0700170func (x *Message1) Reset() {
171 *x = Message1{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800172}
Joe Tsai61968ce2019-04-01 12:59:24 -0700173
174func (x *Message1) String() string {
175 return protoimpl.X.MessageStringOf(x)
176}
177
178func (*Message1) ProtoMessage() {}
179
180func (x *Message1) ProtoReflect() protoreflect.Message {
181 return xxx_File_test_proto_messageTypes[0].MessageOf(x)
182}
Joe Tsai8e506a82019-03-16 00:05:34 -0700183
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700184func (m *Message1) XXX_Methods() *protoiface.Methods {
185 return xxx_File_test_proto_messageTypes[0].Methods()
186}
187
Joe Tsai8e506a82019-03-16 00:05:34 -0700188// Deprecated: Use Message1.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800189func (*Message1) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700190 return xxx_File_test_proto_rawDescGZIP(), []int{0}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800191}
192
Joe Tsai4fddeba2019-03-20 18:29:32 -0700193var extRange_Message1 = []protoiface.ExtensionRangeV1{
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800194 {Start: 10, End: 536870911},
195}
196
Joe Tsai8e506a82019-03-16 00:05:34 -0700197// Deprecated: Use Message1.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700198func (*Message1) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800199 return extRange_Message1
200}
201
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800202type Message2 struct {
203 XXX_NoUnkeyedLiteral struct{} `json:"-"`
204 XXX_unrecognized []byte `json:"-"`
205 XXX_sizecache int32 `json:"-"`
206}
207
Joe Tsai61968ce2019-04-01 12:59:24 -0700208func (x *Message2) Reset() {
209 *x = Message2{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800210}
Joe Tsai61968ce2019-04-01 12:59:24 -0700211
212func (x *Message2) String() string {
213 return protoimpl.X.MessageStringOf(x)
214}
215
216func (*Message2) ProtoMessage() {}
217
218func (x *Message2) ProtoReflect() protoreflect.Message {
219 return xxx_File_test_proto_messageTypes[1].MessageOf(x)
220}
Joe Tsai8e506a82019-03-16 00:05:34 -0700221
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700222func (m *Message2) XXX_Methods() *protoiface.Methods {
223 return xxx_File_test_proto_messageTypes[1].Methods()
224}
225
Joe Tsai8e506a82019-03-16 00:05:34 -0700226// Deprecated: Use Message2.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800227func (*Message2) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700228 return xxx_File_test_proto_rawDescGZIP(), []int{1}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800229}
230
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800231type Message3 struct {
232 XXX_NoUnkeyedLiteral struct{} `json:"-"`
233 XXX_unrecognized []byte `json:"-"`
234 XXX_sizecache int32 `json:"-"`
235}
236
Joe Tsai61968ce2019-04-01 12:59:24 -0700237func (x *Message3) Reset() {
238 *x = Message3{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800239}
Joe Tsai61968ce2019-04-01 12:59:24 -0700240
241func (x *Message3) String() string {
242 return protoimpl.X.MessageStringOf(x)
243}
244
245func (*Message3) ProtoMessage() {}
246
247func (x *Message3) ProtoReflect() protoreflect.Message {
248 return xxx_File_test_proto_messageTypes[2].MessageOf(x)
249}
Joe Tsai8e506a82019-03-16 00:05:34 -0700250
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700251func (m *Message3) XXX_Methods() *protoiface.Methods {
252 return xxx_File_test_proto_messageTypes[2].Methods()
253}
254
Joe Tsai8e506a82019-03-16 00:05:34 -0700255// Deprecated: Use Message3.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800256func (*Message3) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700257 return xxx_File_test_proto_rawDescGZIP(), []int{2}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800258}
259
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800260type Message4 struct {
261 BoolField *bool `protobuf:"varint,30,opt,name=bool_field,json=boolField" json:"bool_field,omitempty"`
262 XXX_NoUnkeyedLiteral struct{} `json:"-"`
263 XXX_unrecognized []byte `json:"-"`
264 XXX_sizecache int32 `json:"-"`
265}
266
Joe Tsai61968ce2019-04-01 12:59:24 -0700267func (x *Message4) Reset() {
268 *x = Message4{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800269}
Joe Tsai61968ce2019-04-01 12:59:24 -0700270
271func (x *Message4) String() string {
272 return protoimpl.X.MessageStringOf(x)
273}
274
275func (*Message4) ProtoMessage() {}
276
277func (x *Message4) ProtoReflect() protoreflect.Message {
278 return xxx_File_test_proto_messageTypes[3].MessageOf(x)
279}
Joe Tsai8e506a82019-03-16 00:05:34 -0700280
Damien Neil0d3e8cc2019-04-01 13:31:55 -0700281func (m *Message4) XXX_Methods() *protoiface.Methods {
282 return xxx_File_test_proto_messageTypes[3].Methods()
283}
284
Joe Tsai8e506a82019-03-16 00:05:34 -0700285// Deprecated: Use Message4.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800286func (*Message4) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700287 return xxx_File_test_proto_rawDescGZIP(), []int{3}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800288}
289
Joe Tsai61968ce2019-04-01 12:59:24 -0700290func (x *Message4) GetBoolField() bool {
291 if x != nil && x.BoolField != nil {
292 return *x.BoolField
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800293 }
294 return false
295}
296
Joe Tsai4fddeba2019-03-20 18:29:32 -0700297var xxx_File_test_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -0700298 {
299 ExtendedType: (*Message1)(nil),
300 ExtensionType: (*string)(nil),
301 Field: 11,
302 Name: "testprotos.string_field",
303 Tag: "bytes,11,opt,name=string_field",
304 Filename: "test.proto",
305 },
306 {
307 ExtendedType: (*Message1)(nil),
308 ExtensionType: (*Enum1)(nil),
309 Field: 12,
310 Name: "testprotos.enum_field",
311 Tag: "varint,12,opt,name=enum_field,enum=testprotos.Enum1",
312 Filename: "test.proto",
313 },
314 {
315 ExtendedType: (*Message1)(nil),
316 ExtensionType: (*Message2)(nil),
317 Field: 13,
318 Name: "testprotos.message_field",
319 Tag: "bytes,13,opt,name=message_field",
320 Filename: "test.proto",
321 },
322 {
323 ExtendedType: (*Message1)(nil),
324 ExtensionType: (*Message2)(nil),
325 Field: 21,
326 Name: "testprotos.Message4.message_field",
327 Tag: "bytes,21,opt,name=message_field",
328 Filename: "test.proto",
329 },
330 {
331 ExtendedType: (*Message1)(nil),
332 ExtensionType: (*Enum1)(nil),
333 Field: 22,
334 Name: "testprotos.Message4.enum_field",
335 Tag: "varint,22,opt,name=enum_field,enum=testprotos.Enum1",
336 Filename: "test.proto",
337 },
338 {
339 ExtendedType: (*Message1)(nil),
340 ExtensionType: (*string)(nil),
341 Field: 23,
342 Name: "testprotos.Message4.string_field",
343 Tag: "bytes,23,opt,name=string_field",
344 Filename: "test.proto",
345 },
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800346}
Joe Tsaiafb455e2019-03-14 16:08:22 -0700347var (
348 // extend testprotos.Message1 { optional string string_field = 11; }
349 E_StringField = &xxx_File_test_proto_extDescs[0]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800350
Joe Tsaiafb455e2019-03-14 16:08:22 -0700351 // extend testprotos.Message1 { optional testprotos.Enum1 enum_field = 12; }
352 E_EnumField = &xxx_File_test_proto_extDescs[1]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800353
Joe Tsaiafb455e2019-03-14 16:08:22 -0700354 // extend testprotos.Message1 { optional testprotos.Message2 message_field = 13; }
355 E_MessageField = &xxx_File_test_proto_extDescs[2]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800356
Joe Tsaiafb455e2019-03-14 16:08:22 -0700357 // extend testprotos.Message1 { optional testprotos.Message2 message_field = 21; }
358 E_Message4_MessageField = &xxx_File_test_proto_extDescs[3]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800359
Joe Tsaiafb455e2019-03-14 16:08:22 -0700360 // extend testprotos.Message1 { optional testprotos.Enum1 enum_field = 22; }
361 E_Message4_EnumField = &xxx_File_test_proto_extDescs[4]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800362
Joe Tsaiafb455e2019-03-14 16:08:22 -0700363 // extend testprotos.Message1 { optional string string_field = 23; }
364 E_Message4_StringField = &xxx_File_test_proto_extDescs[5]
365)
Joe Tsai5d72cc22019-03-28 01:13:26 -0700366var File_test_proto protoreflect.FileDescriptor
367
368var xxx_File_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -0800369 0x0a, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x74, 0x65,
370 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x22, 0x14, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73,
371 0x61, 0x67, 0x65, 0x31, 0x2a, 0x08, 0x08, 0x0a, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x0a,
372 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x22, 0x0a, 0x0a, 0x08, 0x4d, 0x65,
373 0x73, 0x73, 0x61, 0x67, 0x65, 0x33, 0x22, 0xfb, 0x01, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61,
374 0x67, 0x65, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c,
375 0x64, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x46, 0x69, 0x65,
376 0x6c, 0x64, 0x32, 0x4f, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69,
377 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
378 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
379 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73,
380 0x73, 0x61, 0x67, 0x65, 0x32, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69,
381 0x65, 0x6c, 0x64, 0x32, 0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c,
Damien Neil8012b442019-01-18 09:32:24 -0800382 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d,
Joe Tsai19058432019-02-27 21:46:29 -0800383 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e,
Damien Neil8012b442019-01-18 09:32:24 -0800384 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x31,
Joe Tsai19058432019-02-27 21:46:29 -0800385 0x52, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x37, 0x0a, 0x0c, 0x73,
386 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65,
387 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
388 0x31, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46,
389 0x69, 0x65, 0x6c, 0x64, 0x2a, 0x10, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x12, 0x07, 0x0a,
390 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x2a, 0x10, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x12,
391 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x2a, 0x0f, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d,
392 0x33, 0x12, 0x06, 0x0a, 0x02, 0x59, 0x49, 0x10, 0x01, 0x3a, 0x37, 0x0a, 0x0c, 0x73, 0x74, 0x72,
393 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74,
394 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18,
395 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x65,
396 0x6c, 0x64, 0x3a, 0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
397 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65,
398 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x74,
399 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x52,
400 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a, 0x4f, 0x0a, 0x0d, 0x6d, 0x65,
401 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65,
402 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
403 0x31, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72,
404 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x52, 0x0c, 0x6d,
405 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x40, 0x5a, 0x3e, 0x67,
406 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
407 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x66,
408 0x6c, 0x65, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
409 0x72, 0x79, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800410}
411
Joe Tsai5d72cc22019-03-28 01:13:26 -0700412var (
413 xxx_File_test_proto_rawDesc_once sync.Once
414 xxx_File_test_proto_rawDesc_data = xxx_File_test_proto_rawDesc
415)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800416
Joe Tsai5d72cc22019-03-28 01:13:26 -0700417func xxx_File_test_proto_rawDescGZIP() []byte {
418 xxx_File_test_proto_rawDesc_once.Do(func() {
419 xxx_File_test_proto_rawDesc_data = protoimpl.X.CompressGZIP(xxx_File_test_proto_rawDesc_data)
420 })
421 return xxx_File_test_proto_rawDesc_data
422}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800423
Damien Neil6bb8dec2019-03-01 13:22:30 -0800424var xxx_File_test_proto_enumTypes = make([]protoreflect.EnumType, 3)
425var xxx_File_test_proto_messageTypes = make([]protoimpl.MessageType, 4)
Joe Tsai19058432019-02-27 21:46:29 -0800426var xxx_File_test_proto_goTypes = []interface{}{
Damien Neil8012b442019-01-18 09:32:24 -0800427 (Enum1)(0), // 0: testprotos.Enum1
428 (Enum2)(0), // 1: testprotos.Enum2
429 (Enum3)(0), // 2: testprotos.Enum3
430 (*Message1)(nil), // 3: testprotos.Message1
431 (*Message2)(nil), // 4: testprotos.Message2
432 (*Message3)(nil), // 5: testprotos.Message3
433 (*Message4)(nil), // 6: testprotos.Message4
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800434}
Joe Tsai19058432019-02-27 21:46:29 -0800435var xxx_File_test_proto_depIdxs = []int32{
Damien Neil8012b442019-01-18 09:32:24 -0800436 3, // testprotos.string_field:extendee -> testprotos.Message1
437 3, // testprotos.enum_field:extendee -> testprotos.Message1
438 3, // testprotos.message_field:extendee -> testprotos.Message1
439 3, // testprotos.Message4.message_field:extendee -> testprotos.Message1
440 3, // testprotos.Message4.enum_field:extendee -> testprotos.Message1
441 3, // testprotos.Message4.string_field:extendee -> testprotos.Message1
442 0, // testprotos.enum_field:type_name -> testprotos.Enum1
443 4, // testprotos.message_field:type_name -> testprotos.Message2
444 4, // testprotos.Message4.message_field:type_name -> testprotos.Message2
445 0, // testprotos.Message4.enum_field:type_name -> testprotos.Enum1
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800446}
Damien Neil8012b442019-01-18 09:32:24 -0800447
Damien Neil0fc22452019-03-08 17:18:11 -0800448func init() { xxx_File_test_proto_init() }
449func xxx_File_test_proto_init() {
450 if File_test_proto != nil {
451 return
452 }
Damien Neil6bb8dec2019-03-01 13:22:30 -0800453 extensionTypes := make([]protoreflect.ExtensionType, 6)
Joe Tsai19058432019-02-27 21:46:29 -0800454 File_test_proto = protoimpl.FileBuilder{
Joe Tsai5d72cc22019-03-28 01:13:26 -0700455 RawDescriptor: xxx_File_test_proto_rawDesc,
Joe Tsai19058432019-02-27 21:46:29 -0800456 GoTypes: xxx_File_test_proto_goTypes,
457 DependencyIndexes: xxx_File_test_proto_depIdxs,
Joe Tsaiafb455e2019-03-14 16:08:22 -0700458 LegacyExtensions: xxx_File_test_proto_extDescs,
Damien Neil6bb8dec2019-03-01 13:22:30 -0800459 EnumOutputTypes: xxx_File_test_proto_enumTypes,
Joe Tsai35ec98f2019-03-25 14:41:32 -0700460 MessageOutputTypes: xxx_File_test_proto_messageTypes,
Damien Neil6bb8dec2019-03-01 13:22:30 -0800461 ExtensionOutputTypes: extensionTypes,
Joe Tsai35ec98f2019-03-25 14:41:32 -0700462 FilesRegistry: protoregistry.GlobalFiles,
463 TypesRegistry: protoregistry.GlobalTypes,
Damien Neil8012b442019-01-18 09:32:24 -0800464 }.Init()
Joe Tsai5d72cc22019-03-28 01:13:26 -0700465 xxx_File_test_proto_rawDesc = nil
Joe Tsai19058432019-02-27 21:46:29 -0800466 xxx_File_test_proto_goTypes = nil
467 xxx_File_test_proto_depIdxs = nil
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800468}