blob: 04f399161adf737a1ac8911d606dd356c8a022a1 [file] [log] [blame]
Herbie Ong8170d692019-02-13 14:13:21 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
Joe Tsai19058432019-02-27 21:46:29 -08002// source: pb3/test.proto
Herbie Ong8170d692019-02-13 14:13:21 -08003
4package pb3
5
6import (
Herbie Ong8170d692019-02-13 14:13:21 -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"
Herbie Ong8170d692019-02-13 14:13:21 -08009 protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
Joe Tsai5d72cc22019-03-28 01:13:26 -070010 sync "sync"
Herbie Ong8170d692019-02-13 14:13:21 -080011)
12
Joe Tsai5d72cc22019-03-28 01:13:26 -070013const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
14
Herbie Ong8170d692019-02-13 14:13:21 -080015type Enum int32
16
17const (
18 Enum_ZERO Enum = 0
19 Enum_ONE Enum = 1
20 Enum_TWO Enum = 2
21 Enum_TEN Enum = 10
22)
23
24func (e Enum) Type() protoreflect.EnumType {
Joe Tsai19058432019-02-27 21:46:29 -080025 return xxx_File_pb3_test_proto_enumTypes[0]
Herbie Ong8170d692019-02-13 14:13:21 -080026}
27func (e Enum) Number() protoreflect.EnumNumber {
28 return protoreflect.EnumNumber(e)
29}
30
Joe Tsai8e506a82019-03-16 00:05:34 -070031// Deprecated: Use Enum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080032var Enum_name = map[int32]string{
33 0: "ZERO",
34 1: "ONE",
35 2: "TWO",
36 10: "TEN",
37}
38
Joe Tsai8e506a82019-03-16 00:05:34 -070039// Deprecated: Use Enum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080040var Enum_value = map[string]int32{
41 "ZERO": 0,
42 "ONE": 1,
43 "TWO": 2,
44 "TEN": 10,
45}
46
47func (x Enum) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -070048 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080049}
50
Joe Tsai8e506a82019-03-16 00:05:34 -070051// Deprecated: Use Enum.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -080052func (Enum) EnumDescriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -070053 return xxx_File_pb3_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -080054}
55
56type Enums_NestedEnum int32
57
58const (
59 Enums_CERO Enums_NestedEnum = 0
60 Enums_UNO Enums_NestedEnum = 1
61 Enums_DOS Enums_NestedEnum = 2
62 Enums_DIEZ Enums_NestedEnum = 10
63)
64
65func (e Enums_NestedEnum) Type() protoreflect.EnumType {
Joe Tsai19058432019-02-27 21:46:29 -080066 return xxx_File_pb3_test_proto_enumTypes[1]
Herbie Ong8170d692019-02-13 14:13:21 -080067}
68func (e Enums_NestedEnum) Number() protoreflect.EnumNumber {
69 return protoreflect.EnumNumber(e)
70}
71
Joe Tsai8e506a82019-03-16 00:05:34 -070072// Deprecated: Use Enums_NestedEnum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080073var Enums_NestedEnum_name = map[int32]string{
74 0: "CERO",
75 1: "UNO",
76 2: "DOS",
77 10: "DIEZ",
78}
79
Joe Tsai8e506a82019-03-16 00:05:34 -070080// Deprecated: Use Enums_NestedEnum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080081var Enums_NestedEnum_value = map[string]int32{
82 "CERO": 0,
83 "UNO": 1,
84 "DOS": 2,
85 "DIEZ": 10,
86}
87
88func (x Enums_NestedEnum) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -070089 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080090}
91
Joe Tsai8e506a82019-03-16 00:05:34 -070092// Deprecated: Use Enums_NestedEnum.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -080093func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -070094 return xxx_File_pb3_test_proto_rawDescGZIP(), []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -080095}
96
97// Scalars contains scalar field types.
98type Scalars struct {
99 SBool bool `protobuf:"varint,1,opt,name=s_bool,json=sBool,proto3" json:"s_bool,omitempty"`
100 SInt32 int32 `protobuf:"varint,2,opt,name=s_int32,json=sInt32,proto3" json:"s_int32,omitempty"`
101 SInt64 int64 `protobuf:"varint,3,opt,name=s_int64,json=sInt64,proto3" json:"s_int64,omitempty"`
102 SUint32 uint32 `protobuf:"varint,4,opt,name=s_uint32,json=sUint32,proto3" json:"s_uint32,omitempty"`
103 SUint64 uint64 `protobuf:"varint,5,opt,name=s_uint64,json=sUint64,proto3" json:"s_uint64,omitempty"`
104 SSint32 int32 `protobuf:"zigzag32,6,opt,name=s_sint32,json=sSint32,proto3" json:"s_sint32,omitempty"`
105 SSint64 int64 `protobuf:"zigzag64,7,opt,name=s_sint64,json=sSint64,proto3" json:"s_sint64,omitempty"`
106 SFixed32 uint32 `protobuf:"fixed32,8,opt,name=s_fixed32,json=sFixed32,proto3" json:"s_fixed32,omitempty"`
107 SFixed64 uint64 `protobuf:"fixed64,9,opt,name=s_fixed64,json=sFixed64,proto3" json:"s_fixed64,omitempty"`
108 SSfixed32 int32 `protobuf:"fixed32,10,opt,name=s_sfixed32,json=sSfixed32,proto3" json:"s_sfixed32,omitempty"`
109 SSfixed64 int64 `protobuf:"fixed64,11,opt,name=s_sfixed64,json=sSfixed64,proto3" json:"s_sfixed64,omitempty"`
110 SFloat float32 `protobuf:"fixed32,20,opt,name=s_float,json=sFloat,proto3" json:"s_float,omitempty"`
111 SDouble float64 `protobuf:"fixed64,21,opt,name=s_double,json=sDouble,proto3" json:"s_double,omitempty"`
112 SBytes []byte `protobuf:"bytes,14,opt,name=s_bytes,json=sBytes,proto3" json:"s_bytes,omitempty"`
113 SString string `protobuf:"bytes,13,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
114 XXX_NoUnkeyedLiteral struct{} `json:"-"`
115 XXX_unrecognized []byte `json:"-"`
116 XXX_sizecache int32 `json:"-"`
117}
118
119func (m *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800120 return xxx_File_pb3_test_proto_messageTypes[0].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800121}
122func (m *Scalars) Reset() { *m = Scalars{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700123func (m *Scalars) String() string { return protoimpl.X.MessageStringOf(m) }
Herbie Ong8170d692019-02-13 14:13:21 -0800124func (*Scalars) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700125
126// Deprecated: Use Scalars.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800127func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700128 return xxx_File_pb3_test_proto_rawDescGZIP(), []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800129}
130
Herbie Ong8170d692019-02-13 14:13:21 -0800131func (m *Scalars) GetSBool() bool {
132 if m != nil {
133 return m.SBool
134 }
135 return false
136}
137
138func (m *Scalars) GetSInt32() int32 {
139 if m != nil {
140 return m.SInt32
141 }
142 return 0
143}
144
145func (m *Scalars) GetSInt64() int64 {
146 if m != nil {
147 return m.SInt64
148 }
149 return 0
150}
151
152func (m *Scalars) GetSUint32() uint32 {
153 if m != nil {
154 return m.SUint32
155 }
156 return 0
157}
158
159func (m *Scalars) GetSUint64() uint64 {
160 if m != nil {
161 return m.SUint64
162 }
163 return 0
164}
165
166func (m *Scalars) GetSSint32() int32 {
167 if m != nil {
168 return m.SSint32
169 }
170 return 0
171}
172
173func (m *Scalars) GetSSint64() int64 {
174 if m != nil {
175 return m.SSint64
176 }
177 return 0
178}
179
180func (m *Scalars) GetSFixed32() uint32 {
181 if m != nil {
182 return m.SFixed32
183 }
184 return 0
185}
186
187func (m *Scalars) GetSFixed64() uint64 {
188 if m != nil {
189 return m.SFixed64
190 }
191 return 0
192}
193
194func (m *Scalars) GetSSfixed32() int32 {
195 if m != nil {
196 return m.SSfixed32
197 }
198 return 0
199}
200
201func (m *Scalars) GetSSfixed64() int64 {
202 if m != nil {
203 return m.SSfixed64
204 }
205 return 0
206}
207
208func (m *Scalars) GetSFloat() float32 {
209 if m != nil {
210 return m.SFloat
211 }
212 return 0
213}
214
215func (m *Scalars) GetSDouble() float64 {
216 if m != nil {
217 return m.SDouble
218 }
219 return 0
220}
221
222func (m *Scalars) GetSBytes() []byte {
223 if m != nil {
224 return m.SBytes
225 }
226 return nil
227}
228
229func (m *Scalars) GetSString() string {
230 if m != nil {
231 return m.SString
232 }
233 return ""
234}
235
236// Message contains enum fields.
237type Enums struct {
238 SEnum Enum `protobuf:"varint,1,opt,name=s_enum,json=sEnum,proto3,enum=pb3.Enum" json:"s_enum,omitempty"`
239 SNestedEnum Enums_NestedEnum `protobuf:"varint,3,opt,name=s_nested_enum,json=sNestedEnum,proto3,enum=pb3.Enums_NestedEnum" json:"s_nested_enum,omitempty"`
240 XXX_NoUnkeyedLiteral struct{} `json:"-"`
241 XXX_unrecognized []byte `json:"-"`
242 XXX_sizecache int32 `json:"-"`
243}
244
245func (m *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800246 return xxx_File_pb3_test_proto_messageTypes[1].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800247}
248func (m *Enums) Reset() { *m = Enums{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700249func (m *Enums) String() string { return protoimpl.X.MessageStringOf(m) }
Herbie Ong8170d692019-02-13 14:13:21 -0800250func (*Enums) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700251
252// Deprecated: Use Enums.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800253func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700254 return xxx_File_pb3_test_proto_rawDescGZIP(), []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800255}
256
Herbie Ong8170d692019-02-13 14:13:21 -0800257func (m *Enums) GetSEnum() Enum {
258 if m != nil {
259 return m.SEnum
260 }
261 return Enum_ZERO
262}
263
264func (m *Enums) GetSNestedEnum() Enums_NestedEnum {
265 if m != nil {
266 return m.SNestedEnum
267 }
268 return Enums_CERO
269}
270
271// Message contains nested message field.
272type Nests struct {
273 SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
274 XXX_NoUnkeyedLiteral struct{} `json:"-"`
275 XXX_unrecognized []byte `json:"-"`
276 XXX_sizecache int32 `json:"-"`
277}
278
279func (m *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800280 return xxx_File_pb3_test_proto_messageTypes[2].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800281}
282func (m *Nests) Reset() { *m = Nests{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700283func (m *Nests) String() string { return protoimpl.X.MessageStringOf(m) }
Herbie Ong8170d692019-02-13 14:13:21 -0800284func (*Nests) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700285
286// Deprecated: Use Nests.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800287func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700288 return xxx_File_pb3_test_proto_rawDescGZIP(), []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800289}
290
Herbie Ong8170d692019-02-13 14:13:21 -0800291func (m *Nests) GetSNested() *Nested {
292 if m != nil {
293 return m.SNested
294 }
295 return nil
296}
297
298// Message type used as submessage.
299type Nested struct {
300 SString string `protobuf:"bytes,1,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
301 SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
302 XXX_NoUnkeyedLiteral struct{} `json:"-"`
303 XXX_unrecognized []byte `json:"-"`
304 XXX_sizecache int32 `json:"-"`
305}
306
307func (m *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800308 return xxx_File_pb3_test_proto_messageTypes[3].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800309}
310func (m *Nested) Reset() { *m = Nested{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700311func (m *Nested) String() string { return protoimpl.X.MessageStringOf(m) }
Herbie Ong8170d692019-02-13 14:13:21 -0800312func (*Nested) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700313
314// Deprecated: Use Nested.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800315func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700316 return xxx_File_pb3_test_proto_rawDescGZIP(), []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800317}
318
Herbie Ong8170d692019-02-13 14:13:21 -0800319func (m *Nested) GetSString() string {
320 if m != nil {
321 return m.SString
322 }
323 return ""
324}
325
326func (m *Nested) GetSNested() *Nested {
327 if m != nil {
328 return m.SNested
329 }
330 return nil
331}
332
333// Message contains oneof field.
334type Oneofs struct {
335 // Types that are valid to be assigned to Union:
336 // *Oneofs_OneofEnum
337 // *Oneofs_OneofString
338 // *Oneofs_OneofNested
339 Union isOneofs_Union `protobuf_oneof:"union"`
340 XXX_NoUnkeyedLiteral struct{} `json:"-"`
341 XXX_unrecognized []byte `json:"-"`
342 XXX_sizecache int32 `json:"-"`
343}
344
345func (m *Oneofs) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800346 return xxx_File_pb3_test_proto_messageTypes[4].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800347}
348func (m *Oneofs) Reset() { *m = Oneofs{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700349func (m *Oneofs) String() string { return protoimpl.X.MessageStringOf(m) }
Herbie Ong8170d692019-02-13 14:13:21 -0800350func (*Oneofs) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700351
352// Deprecated: Use Oneofs.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800353func (*Oneofs) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700354 return xxx_File_pb3_test_proto_rawDescGZIP(), []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800355}
356
Herbie Ong8170d692019-02-13 14:13:21 -0800357type isOneofs_Union interface {
358 isOneofs_Union()
359}
360
361type Oneofs_OneofEnum struct {
362 OneofEnum Enum `protobuf:"varint,1,opt,name=oneof_enum,json=oneofEnum,proto3,enum=pb3.Enum,oneof"`
363}
364
365type Oneofs_OneofString struct {
366 OneofString string `protobuf:"bytes,2,opt,name=oneof_string,json=oneofString,proto3,oneof"`
367}
368
369type Oneofs_OneofNested struct {
370 OneofNested *Nested `protobuf:"bytes,3,opt,name=oneof_nested,json=oneofNested,proto3,oneof"`
371}
372
373func (*Oneofs_OneofEnum) isOneofs_Union() {}
374
375func (*Oneofs_OneofString) isOneofs_Union() {}
376
377func (*Oneofs_OneofNested) isOneofs_Union() {}
378
379func (m *Oneofs) GetUnion() isOneofs_Union {
380 if m != nil {
381 return m.Union
382 }
383 return nil
384}
385
386func (m *Oneofs) GetOneofEnum() Enum {
387 if x, ok := m.GetUnion().(*Oneofs_OneofEnum); ok {
388 return x.OneofEnum
389 }
390 return Enum_ZERO
391}
392
393func (m *Oneofs) GetOneofString() string {
394 if x, ok := m.GetUnion().(*Oneofs_OneofString); ok {
395 return x.OneofString
396 }
397 return ""
398}
399
400func (m *Oneofs) GetOneofNested() *Nested {
401 if x, ok := m.GetUnion().(*Oneofs_OneofNested); ok {
402 return x.OneofNested
403 }
404 return nil
405}
406
407// XXX_OneofWrappers is for the internal use of the proto package.
408func (*Oneofs) XXX_OneofWrappers() []interface{} {
409 return []interface{}{
410 (*Oneofs_OneofEnum)(nil),
411 (*Oneofs_OneofString)(nil),
412 (*Oneofs_OneofNested)(nil),
413 }
414}
415
416// Message contains map fields.
417type Maps struct {
418 Int32ToStr map[int32]string `protobuf:"bytes,1,rep,name=int32_to_str,json=int32ToStr,proto3" json:"int32_to_str,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
419 BoolToUint32 map[bool]uint32 `protobuf:"bytes,2,rep,name=bool_to_uint32,json=boolToUint32,proto3" json:"bool_to_uint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
420 Uint64ToEnum map[uint64]Enum `protobuf:"bytes,3,rep,name=uint64_to_enum,json=uint64ToEnum,proto3" json:"uint64_to_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=pb3.Enum"`
421 StrToNested map[string]*Nested `protobuf:"bytes,4,rep,name=str_to_nested,json=strToNested,proto3" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
422 StrToOneofs map[string]*Oneofs `protobuf:"bytes,5,rep,name=str_to_oneofs,json=strToOneofs,proto3" json:"str_to_oneofs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
423 XXX_NoUnkeyedLiteral struct{} `json:"-"`
424 XXX_unrecognized []byte `json:"-"`
425 XXX_sizecache int32 `json:"-"`
426}
427
428func (m *Maps) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800429 return xxx_File_pb3_test_proto_messageTypes[5].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800430}
431func (m *Maps) Reset() { *m = Maps{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700432func (m *Maps) String() string { return protoimpl.X.MessageStringOf(m) }
Herbie Ong8170d692019-02-13 14:13:21 -0800433func (*Maps) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700434
435// Deprecated: Use Maps.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800436func (*Maps) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700437 return xxx_File_pb3_test_proto_rawDescGZIP(), []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800438}
439
Herbie Ong8170d692019-02-13 14:13:21 -0800440func (m *Maps) GetInt32ToStr() map[int32]string {
441 if m != nil {
442 return m.Int32ToStr
443 }
444 return nil
445}
446
447func (m *Maps) GetBoolToUint32() map[bool]uint32 {
448 if m != nil {
449 return m.BoolToUint32
450 }
451 return nil
452}
453
454func (m *Maps) GetUint64ToEnum() map[uint64]Enum {
455 if m != nil {
456 return m.Uint64ToEnum
457 }
458 return nil
459}
460
461func (m *Maps) GetStrToNested() map[string]*Nested {
462 if m != nil {
463 return m.StrToNested
464 }
465 return nil
466}
467
468func (m *Maps) GetStrToOneofs() map[string]*Oneofs {
469 if m != nil {
470 return m.StrToOneofs
471 }
472 return nil
473}
474
Herbie Ong7b828bc2019-02-08 19:56:24 -0800475// Message for testing json_name option.
476type JSONNames struct {
477 SString string `protobuf:"bytes,1,opt,name=s_string,json=foo_bar,proto3" json:"s_string,omitempty"`
478 XXX_NoUnkeyedLiteral struct{} `json:"-"`
479 XXX_unrecognized []byte `json:"-"`
480 XXX_sizecache int32 `json:"-"`
481}
482
483func (m *JSONNames) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800484 return xxx_File_pb3_test_proto_messageTypes[6].MessageOf(m)
Herbie Ong7b828bc2019-02-08 19:56:24 -0800485}
486func (m *JSONNames) Reset() { *m = JSONNames{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700487func (m *JSONNames) String() string { return protoimpl.X.MessageStringOf(m) }
Herbie Ong7b828bc2019-02-08 19:56:24 -0800488func (*JSONNames) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700489
490// Deprecated: Use JSONNames.ProtoReflect.Type instead.
Herbie Ong7b828bc2019-02-08 19:56:24 -0800491func (*JSONNames) Descriptor() ([]byte, []int) {
Joe Tsai5d72cc22019-03-28 01:13:26 -0700492 return xxx_File_pb3_test_proto_rawDescGZIP(), []int{6}
Herbie Ong7b828bc2019-02-08 19:56:24 -0800493}
494
Herbie Ong7b828bc2019-02-08 19:56:24 -0800495func (m *JSONNames) GetSString() string {
496 if m != nil {
497 return m.SString
498 }
499 return ""
500}
501
Joe Tsai5d72cc22019-03-28 01:13:26 -0700502var File_pb3_test_proto protoreflect.FileDescriptor
503
504var xxx_File_pb3_test_proto_rawDesc = []byte{
Joe Tsai19058432019-02-27 21:46:29 -0800505 0x0a, 0x0e, 0x70, 0x62, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
506 0x12, 0x03, 0x70, 0x62, 0x33, 0x22, 0x9e, 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72,
507 0x73, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
508 0x08, 0x52, 0x05, 0x73, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69, 0x6e,
509 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74, 0x33,
510 0x32, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01,
511 0x28, 0x03, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f,
512 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x55,
513 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36,
514 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x73, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34,
515 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01,
516 0x28, 0x11, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x73,
517 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x73,
518 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78, 0x65,
519 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78, 0x65,
520 0x64, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
521 0x18, 0x09, 0x20, 0x01, 0x28, 0x06, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
522 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a,
523 0x20, 0x01, 0x28, 0x0f, 0x52, 0x09, 0x73, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12,
524 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0b, 0x20,
525 0x01, 0x28, 0x10, 0x52, 0x09, 0x73, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x17,
526 0x0a, 0x07, 0x73, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52,
527 0x06, 0x73, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x64, 0x6f, 0x75,
528 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x73, 0x44, 0x6f, 0x75, 0x62,
529 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20,
530 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73,
531 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73,
532 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x98, 0x01, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x73,
533 0x12, 0x20, 0x0a, 0x06, 0x73, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
534 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x73, 0x45, 0x6e,
535 0x75, 0x6d, 0x12, 0x39, 0x0a, 0x0d, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65,
536 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x33, 0x2e,
537 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
538 0x52, 0x0b, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22, 0x32, 0x0a,
539 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08, 0x0a, 0x04, 0x43,
540 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07,
541 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10,
542 0x0a, 0x22, 0x2f, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x08, 0x73, 0x5f,
543 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70,
544 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73, 0x4e, 0x65, 0x73, 0x74,
545 0x65, 0x64, 0x22, 0x4b, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08,
546 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
547 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x0a, 0x08, 0x73, 0x5f, 0x6e, 0x65, 0x73,
548 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e,
549 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22,
550 0x94, 0x01, 0x0a, 0x06, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x6e,
551 0x65, 0x6f, 0x66, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09,
552 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x00, 0x52, 0x09, 0x6f, 0x6e, 0x65,
553 0x6f, 0x66, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f,
554 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b,
555 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x30, 0x0a, 0x0c, 0x6f,
556 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
557 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x48, 0x00,
558 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x42, 0x07, 0x0a,
559 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0xaf, 0x05, 0x0a, 0x04, 0x4d, 0x61, 0x70, 0x73, 0x12,
560 0x3b, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x72, 0x18,
561 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73,
562 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79,
563 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x12, 0x41, 0x0a, 0x0e,
564 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02,
565 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e,
566 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72,
567 0x79, 0x52, 0x0c, 0x62, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
568 0x41, 0x0a, 0x0e, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x74, 0x6f, 0x5f, 0x65, 0x6e, 0x75,
569 0x6d, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61,
570 0x70, 0x73, 0x2e, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45,
571 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e,
572 0x75, 0x6d, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73,
573 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x33, 0x2e,
574 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
575 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74,
576 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6f, 0x6e, 0x65,
577 0x6f, 0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x33, 0x2e,
578 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73,
579 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f,
580 0x66, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72,
581 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
582 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
583 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
584 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33,
585 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
586 0x01, 0x28, 0x08, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
587 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
588 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x11, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e,
589 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
590 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c,
591 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45,
592 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b,
593 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74,
594 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
595 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
596 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
597 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x10, 0x53,
598 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
599 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
600 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
601 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x52, 0x05, 0x76,
602 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x26, 0x0a, 0x09, 0x4a, 0x53, 0x4f, 0x4e,
603 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
604 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6f, 0x6f, 0x5f, 0x62, 0x61, 0x72,
605 0x2a, 0x2b, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08, 0x0a, 0x04, 0x5a, 0x45, 0x52, 0x4f,
606 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54,
607 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x42, 0x37, 0x5a,
608 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61,
609 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x65,
610 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74,
611 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
Herbie Ong8170d692019-02-13 14:13:21 -0800612}
613
Joe Tsai5d72cc22019-03-28 01:13:26 -0700614var (
615 xxx_File_pb3_test_proto_rawDesc_once sync.Once
616 xxx_File_pb3_test_proto_rawDesc_data = xxx_File_pb3_test_proto_rawDesc
617)
Herbie Ong8170d692019-02-13 14:13:21 -0800618
Joe Tsai5d72cc22019-03-28 01:13:26 -0700619func xxx_File_pb3_test_proto_rawDescGZIP() []byte {
620 xxx_File_pb3_test_proto_rawDesc_once.Do(func() {
621 xxx_File_pb3_test_proto_rawDesc_data = protoimpl.X.CompressGZIP(xxx_File_pb3_test_proto_rawDesc_data)
622 })
623 return xxx_File_pb3_test_proto_rawDesc_data
624}
Herbie Ong8170d692019-02-13 14:13:21 -0800625
Damien Neil6bb8dec2019-03-01 13:22:30 -0800626var xxx_File_pb3_test_proto_enumTypes = make([]protoreflect.EnumType, 2)
627var xxx_File_pb3_test_proto_messageTypes = make([]protoimpl.MessageType, 12)
Joe Tsai19058432019-02-27 21:46:29 -0800628var xxx_File_pb3_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -0800629 (Enum)(0), // 0: pb3.Enum
630 (Enums_NestedEnum)(0), // 1: pb3.Enums.NestedEnum
631 (*Scalars)(nil), // 2: pb3.Scalars
632 (*Enums)(nil), // 3: pb3.Enums
633 (*Nests)(nil), // 4: pb3.Nests
634 (*Nested)(nil), // 5: pb3.Nested
635 (*Oneofs)(nil), // 6: pb3.Oneofs
636 (*Maps)(nil), // 7: pb3.Maps
Herbie Ong7b828bc2019-02-08 19:56:24 -0800637 (*JSONNames)(nil), // 8: pb3.JSONNames
638 nil, // 9: pb3.Maps.Int32ToStrEntry
639 nil, // 10: pb3.Maps.BoolToUint32Entry
640 nil, // 11: pb3.Maps.Uint64ToEnumEntry
641 nil, // 12: pb3.Maps.StrToNestedEntry
642 nil, // 13: pb3.Maps.StrToOneofsEntry
Herbie Ong8170d692019-02-13 14:13:21 -0800643}
Joe Tsai19058432019-02-27 21:46:29 -0800644var xxx_File_pb3_test_proto_depIdxs = []int32{
Herbie Ong8170d692019-02-13 14:13:21 -0800645 0, // pb3.Enums.s_enum:type_name -> pb3.Enum
646 1, // pb3.Enums.s_nested_enum:type_name -> pb3.Enums.NestedEnum
647 5, // pb3.Nests.s_nested:type_name -> pb3.Nested
648 5, // pb3.Nested.s_nested:type_name -> pb3.Nested
649 0, // pb3.Oneofs.oneof_enum:type_name -> pb3.Enum
650 5, // pb3.Oneofs.oneof_nested:type_name -> pb3.Nested
Herbie Ong7b828bc2019-02-08 19:56:24 -0800651 9, // pb3.Maps.int32_to_str:type_name -> pb3.Maps.Int32ToStrEntry
652 10, // pb3.Maps.bool_to_uint32:type_name -> pb3.Maps.BoolToUint32Entry
653 11, // pb3.Maps.uint64_to_enum:type_name -> pb3.Maps.Uint64ToEnumEntry
654 12, // pb3.Maps.str_to_nested:type_name -> pb3.Maps.StrToNestedEntry
655 13, // pb3.Maps.str_to_oneofs:type_name -> pb3.Maps.StrToOneofsEntry
Herbie Ong8170d692019-02-13 14:13:21 -0800656 0, // pb3.Maps.Uint64ToEnumEntry.value:type_name -> pb3.Enum
657 5, // pb3.Maps.StrToNestedEntry.value:type_name -> pb3.Nested
658 6, // pb3.Maps.StrToOneofsEntry.value:type_name -> pb3.Oneofs
659}
660
Damien Neil0fc22452019-03-08 17:18:11 -0800661func init() { xxx_File_pb3_test_proto_init() }
662func xxx_File_pb3_test_proto_init() {
663 if File_pb3_test_proto != nil {
664 return
665 }
Joe Tsai19058432019-02-27 21:46:29 -0800666 File_pb3_test_proto = protoimpl.FileBuilder{
Joe Tsai5d72cc22019-03-28 01:13:26 -0700667 RawDescriptor: xxx_File_pb3_test_proto_rawDesc,
Joe Tsai19058432019-02-27 21:46:29 -0800668 GoTypes: xxx_File_pb3_test_proto_goTypes,
669 DependencyIndexes: xxx_File_pb3_test_proto_depIdxs,
Damien Neil6bb8dec2019-03-01 13:22:30 -0800670 EnumOutputTypes: xxx_File_pb3_test_proto_enumTypes,
Joe Tsai35ec98f2019-03-25 14:41:32 -0700671 MessageOutputTypes: xxx_File_pb3_test_proto_messageTypes,
672 FilesRegistry: protoregistry.GlobalFiles,
673 TypesRegistry: protoregistry.GlobalTypes,
Herbie Ong8170d692019-02-13 14:13:21 -0800674 }.Init()
Joe Tsai5d72cc22019-03-28 01:13:26 -0700675 xxx_File_pb3_test_proto_rawDesc = nil
Joe Tsai19058432019-02-27 21:46:29 -0800676 xxx_File_pb3_test_proto_goTypes = nil
677 xxx_File_pb3_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -0800678}