blob: 69aeab102dd98777fbf7a25daaf221681a2d6104 [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
178// Deprecated: Use Message1.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800179func (*Message1) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700180 return xxx_File_test_proto_rawDescGZIP(), []int{0}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800181}
182
Joe Tsai4fddeba2019-03-20 18:29:32 -0700183var extRange_Message1 = []protoiface.ExtensionRangeV1{
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800184 {Start: 10, End: 536870911},
185}
186
Joe Tsai8e506a82019-03-16 00:05:34 -0700187// Deprecated: Use Message1.ProtoReflect.Type.ExtensionRanges instead.
Joe Tsai4fddeba2019-03-20 18:29:32 -0700188func (*Message1) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800189 return extRange_Message1
190}
191
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800192type Message2 struct {
193 XXX_NoUnkeyedLiteral struct{} `json:"-"`
194 XXX_unrecognized []byte `json:"-"`
195 XXX_sizecache int32 `json:"-"`
196}
197
Joe Tsai61968ce2019-04-01 12:59:24 -0700198func (x *Message2) Reset() {
199 *x = Message2{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800200}
Joe Tsai61968ce2019-04-01 12:59:24 -0700201
202func (x *Message2) String() string {
203 return protoimpl.X.MessageStringOf(x)
204}
205
206func (*Message2) ProtoMessage() {}
207
208func (x *Message2) ProtoReflect() protoreflect.Message {
209 return xxx_File_test_proto_messageTypes[1].MessageOf(x)
210}
Joe Tsai8e506a82019-03-16 00:05:34 -0700211
212// Deprecated: Use Message2.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800213func (*Message2) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700214 return xxx_File_test_proto_rawDescGZIP(), []int{1}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800215}
216
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800217type Message3 struct {
218 XXX_NoUnkeyedLiteral struct{} `json:"-"`
219 XXX_unrecognized []byte `json:"-"`
220 XXX_sizecache int32 `json:"-"`
221}
222
Joe Tsai61968ce2019-04-01 12:59:24 -0700223func (x *Message3) Reset() {
224 *x = Message3{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800225}
Joe Tsai61968ce2019-04-01 12:59:24 -0700226
227func (x *Message3) String() string {
228 return protoimpl.X.MessageStringOf(x)
229}
230
231func (*Message3) ProtoMessage() {}
232
233func (x *Message3) ProtoReflect() protoreflect.Message {
234 return xxx_File_test_proto_messageTypes[2].MessageOf(x)
235}
Joe Tsai8e506a82019-03-16 00:05:34 -0700236
237// Deprecated: Use Message3.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800238func (*Message3) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700239 return xxx_File_test_proto_rawDescGZIP(), []int{2}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800240}
241
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800242type Message4 struct {
243 BoolField *bool `protobuf:"varint,30,opt,name=bool_field,json=boolField" json:"bool_field,omitempty"`
244 XXX_NoUnkeyedLiteral struct{} `json:"-"`
245 XXX_unrecognized []byte `json:"-"`
246 XXX_sizecache int32 `json:"-"`
247}
248
Joe Tsai61968ce2019-04-01 12:59:24 -0700249func (x *Message4) Reset() {
250 *x = Message4{}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800251}
Joe Tsai61968ce2019-04-01 12:59:24 -0700252
253func (x *Message4) String() string {
254 return protoimpl.X.MessageStringOf(x)
255}
256
257func (*Message4) ProtoMessage() {}
258
259func (x *Message4) ProtoReflect() protoreflect.Message {
260 return xxx_File_test_proto_messageTypes[3].MessageOf(x)
261}
Joe Tsai8e506a82019-03-16 00:05:34 -0700262
263// Deprecated: Use Message4.ProtoReflect.Type instead.
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800264func (*Message4) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700265 return xxx_File_test_proto_rawDescGZIP(), []int{3}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800266}
267
Joe Tsai61968ce2019-04-01 12:59:24 -0700268func (x *Message4) GetBoolField() bool {
269 if x != nil && x.BoolField != nil {
270 return *x.BoolField
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800271 }
272 return false
273}
274
Joe Tsai4fddeba2019-03-20 18:29:32 -0700275var xxx_File_test_proto_extDescs = []protoiface.ExtensionDescV1{
Joe Tsaiafb455e2019-03-14 16:08:22 -0700276 {
277 ExtendedType: (*Message1)(nil),
278 ExtensionType: (*string)(nil),
279 Field: 11,
280 Name: "testprotos.string_field",
281 Tag: "bytes,11,opt,name=string_field",
282 Filename: "test.proto",
283 },
284 {
285 ExtendedType: (*Message1)(nil),
286 ExtensionType: (*Enum1)(nil),
287 Field: 12,
288 Name: "testprotos.enum_field",
289 Tag: "varint,12,opt,name=enum_field,enum=testprotos.Enum1",
290 Filename: "test.proto",
291 },
292 {
293 ExtendedType: (*Message1)(nil),
294 ExtensionType: (*Message2)(nil),
295 Field: 13,
296 Name: "testprotos.message_field",
297 Tag: "bytes,13,opt,name=message_field",
298 Filename: "test.proto",
299 },
300 {
301 ExtendedType: (*Message1)(nil),
302 ExtensionType: (*Message2)(nil),
303 Field: 21,
304 Name: "testprotos.Message4.message_field",
305 Tag: "bytes,21,opt,name=message_field",
306 Filename: "test.proto",
307 },
308 {
309 ExtendedType: (*Message1)(nil),
310 ExtensionType: (*Enum1)(nil),
311 Field: 22,
312 Name: "testprotos.Message4.enum_field",
313 Tag: "varint,22,opt,name=enum_field,enum=testprotos.Enum1",
314 Filename: "test.proto",
315 },
316 {
317 ExtendedType: (*Message1)(nil),
318 ExtensionType: (*string)(nil),
319 Field: 23,
320 Name: "testprotos.Message4.string_field",
321 Tag: "bytes,23,opt,name=string_field",
322 Filename: "test.proto",
323 },
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800324}
Joe Tsaiafb455e2019-03-14 16:08:22 -0700325var (
326 // extend testprotos.Message1 { optional string string_field = 11; }
327 E_StringField = &xxx_File_test_proto_extDescs[0]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800328
Joe Tsaiafb455e2019-03-14 16:08:22 -0700329 // extend testprotos.Message1 { optional testprotos.Enum1 enum_field = 12; }
330 E_EnumField = &xxx_File_test_proto_extDescs[1]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800331
Joe Tsaiafb455e2019-03-14 16:08:22 -0700332 // extend testprotos.Message1 { optional testprotos.Message2 message_field = 13; }
333 E_MessageField = &xxx_File_test_proto_extDescs[2]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800334
Joe Tsaiafb455e2019-03-14 16:08:22 -0700335 // extend testprotos.Message1 { optional testprotos.Message2 message_field = 21; }
336 E_Message4_MessageField = &xxx_File_test_proto_extDescs[3]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800337
Joe Tsaiafb455e2019-03-14 16:08:22 -0700338 // extend testprotos.Message1 { optional testprotos.Enum1 enum_field = 22; }
339 E_Message4_EnumField = &xxx_File_test_proto_extDescs[4]
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800340
Joe Tsaiafb455e2019-03-14 16:08:22 -0700341 // extend testprotos.Message1 { optional string string_field = 23; }
342 E_Message4_StringField = &xxx_File_test_proto_extDescs[5]
343)
Joe Tsai5d72cc22019-03-28 01:13:26 -0700344var File_test_proto protoreflect.FileDescriptor
345
346var xxx_File_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -0800347 0x0a, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x74, 0x65,
348 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x22, 0x14, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73,
349 0x61, 0x67, 0x65, 0x31, 0x2a, 0x08, 0x08, 0x0a, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x0a,
350 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x22, 0x0a, 0x0a, 0x08, 0x4d, 0x65,
351 0x73, 0x73, 0x61, 0x67, 0x65, 0x33, 0x22, 0xfb, 0x01, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61,
352 0x67, 0x65, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c,
353 0x64, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x46, 0x69, 0x65,
354 0x6c, 0x64, 0x32, 0x4f, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69,
355 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
356 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32,
357 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73,
358 0x73, 0x61, 0x67, 0x65, 0x32, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69,
359 0x65, 0x6c, 0x64, 0x32, 0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c,
Damien Neil8012b442019-01-18 09:32:24 -0800360 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d,
Joe Tsai19058432019-02-27 21:46:29 -0800361 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e,
Damien Neil8012b442019-01-18 09:32:24 -0800362 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x31,
Joe Tsai19058432019-02-27 21:46:29 -0800363 0x52, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x37, 0x0a, 0x0c, 0x73,
364 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65,
365 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
366 0x31, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46,
367 0x69, 0x65, 0x6c, 0x64, 0x2a, 0x10, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x12, 0x07, 0x0a,
368 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x2a, 0x10, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x12,
369 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x2a, 0x0f, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d,
370 0x33, 0x12, 0x06, 0x0a, 0x02, 0x59, 0x49, 0x10, 0x01, 0x3a, 0x37, 0x0a, 0x0c, 0x73, 0x74, 0x72,
371 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74,
372 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18,
373 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x65,
374 0x6c, 0x64, 0x3a, 0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
375 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65,
376 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x74,
377 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x52,
378 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a, 0x4f, 0x0a, 0x0d, 0x6d, 0x65,
379 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65,
380 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
381 0x31, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72,
382 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x52, 0x0c, 0x6d,
383 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x40, 0x5a, 0x3e, 0x67,
384 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
385 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x65, 0x66,
386 0x6c, 0x65, 0x63, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74,
387 0x72, 0x79, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800388}
389
Joe Tsai5d72cc22019-03-28 01:13:26 -0700390var (
391 xxx_File_test_proto_rawDesc_once sync.Once
392 xxx_File_test_proto_rawDesc_data = xxx_File_test_proto_rawDesc
393)
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800394
Joe Tsai5d72cc22019-03-28 01:13:26 -0700395func xxx_File_test_proto_rawDescGZIP() []byte {
396 xxx_File_test_proto_rawDesc_once.Do(func() {
397 xxx_File_test_proto_rawDesc_data = protoimpl.X.CompressGZIP(xxx_File_test_proto_rawDesc_data)
398 })
399 return xxx_File_test_proto_rawDesc_data
400}
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800401
Damien Neil6bb8dec2019-03-01 13:22:30 -0800402var xxx_File_test_proto_enumTypes = make([]protoreflect.EnumType, 3)
403var xxx_File_test_proto_messageTypes = make([]protoimpl.MessageType, 4)
Joe Tsai19058432019-02-27 21:46:29 -0800404var xxx_File_test_proto_goTypes = []interface{}{
Damien Neil8012b442019-01-18 09:32:24 -0800405 (Enum1)(0), // 0: testprotos.Enum1
406 (Enum2)(0), // 1: testprotos.Enum2
407 (Enum3)(0), // 2: testprotos.Enum3
408 (*Message1)(nil), // 3: testprotos.Message1
409 (*Message2)(nil), // 4: testprotos.Message2
410 (*Message3)(nil), // 5: testprotos.Message3
411 (*Message4)(nil), // 6: testprotos.Message4
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800412}
Joe Tsai19058432019-02-27 21:46:29 -0800413var xxx_File_test_proto_depIdxs = []int32{
Damien Neil8012b442019-01-18 09:32:24 -0800414 3, // testprotos.string_field:extendee -> testprotos.Message1
415 3, // testprotos.enum_field:extendee -> testprotos.Message1
416 3, // testprotos.message_field:extendee -> testprotos.Message1
417 3, // testprotos.Message4.message_field:extendee -> testprotos.Message1
418 3, // testprotos.Message4.enum_field:extendee -> testprotos.Message1
419 3, // testprotos.Message4.string_field:extendee -> testprotos.Message1
420 0, // testprotos.enum_field:type_name -> testprotos.Enum1
421 4, // testprotos.message_field:type_name -> testprotos.Message2
422 4, // testprotos.Message4.message_field:type_name -> testprotos.Message2
423 0, // testprotos.Message4.enum_field:type_name -> testprotos.Enum1
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800424}
Damien Neil8012b442019-01-18 09:32:24 -0800425
Damien Neil0fc22452019-03-08 17:18:11 -0800426func init() { xxx_File_test_proto_init() }
427func xxx_File_test_proto_init() {
428 if File_test_proto != nil {
429 return
430 }
Damien Neil6bb8dec2019-03-01 13:22:30 -0800431 extensionTypes := make([]protoreflect.ExtensionType, 6)
Joe Tsai19058432019-02-27 21:46:29 -0800432 File_test_proto = protoimpl.FileBuilder{
Joe Tsai5d72cc22019-03-28 01:13:26 -0700433 RawDescriptor: xxx_File_test_proto_rawDesc,
Joe Tsai19058432019-02-27 21:46:29 -0800434 GoTypes: xxx_File_test_proto_goTypes,
435 DependencyIndexes: xxx_File_test_proto_depIdxs,
Joe Tsaiafb455e2019-03-14 16:08:22 -0700436 LegacyExtensions: xxx_File_test_proto_extDescs,
Damien Neil6bb8dec2019-03-01 13:22:30 -0800437 EnumOutputTypes: xxx_File_test_proto_enumTypes,
Joe Tsai35ec98f2019-03-25 14:41:32 -0700438 MessageOutputTypes: xxx_File_test_proto_messageTypes,
Damien Neil6bb8dec2019-03-01 13:22:30 -0800439 ExtensionOutputTypes: extensionTypes,
Joe Tsai35ec98f2019-03-25 14:41:32 -0700440 FilesRegistry: protoregistry.GlobalFiles,
441 TypesRegistry: protoregistry.GlobalTypes,
Damien Neil8012b442019-01-18 09:32:24 -0800442 }.Init()
Joe Tsai5d72cc22019-03-28 01:13:26 -0700443 xxx_File_test_proto_rawDesc = nil
Joe Tsai19058432019-02-27 21:46:29 -0800444 xxx_File_test_proto_goTypes = nil
445 xxx_File_test_proto_depIdxs = nil
Herbie Ong6e67a1d2018-12-26 15:57:16 -0800446}