blob: 65c60678640183e54eabe0188748b34dcc2dcb36 [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"
Herbie Ong8170d692019-02-13 14:13:21 -080010)
11
Herbie Ong8170d692019-02-13 14:13:21 -080012type Enum int32
13
14const (
15 Enum_ZERO Enum = 0
16 Enum_ONE Enum = 1
17 Enum_TWO Enum = 2
18 Enum_TEN Enum = 10
19)
20
21func (e Enum) Type() protoreflect.EnumType {
Joe Tsai19058432019-02-27 21:46:29 -080022 return xxx_File_pb3_test_proto_enumTypes[0]
Herbie Ong8170d692019-02-13 14:13:21 -080023}
24func (e Enum) Number() protoreflect.EnumNumber {
25 return protoreflect.EnumNumber(e)
26}
27
Joe Tsai8e506a82019-03-16 00:05:34 -070028// Deprecated: Use Enum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080029var Enum_name = map[int32]string{
30 0: "ZERO",
31 1: "ONE",
32 2: "TWO",
33 10: "TEN",
34}
35
Joe Tsai8e506a82019-03-16 00:05:34 -070036// Deprecated: Use Enum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080037var Enum_value = map[string]int32{
38 "ZERO": 0,
39 "ONE": 1,
40 "TWO": 2,
41 "TEN": 10,
42}
43
44func (x Enum) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -070045 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080046}
47
Joe Tsai8e506a82019-03-16 00:05:34 -070048// Deprecated: Use Enum.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -080049func (Enum) EnumDescriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -080050 return xxx_File_pb3_test_proto_rawdesc_gzipped, []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -080051}
52
53type Enums_NestedEnum int32
54
55const (
56 Enums_CERO Enums_NestedEnum = 0
57 Enums_UNO Enums_NestedEnum = 1
58 Enums_DOS Enums_NestedEnum = 2
59 Enums_DIEZ Enums_NestedEnum = 10
60)
61
62func (e Enums_NestedEnum) Type() protoreflect.EnumType {
Joe Tsai19058432019-02-27 21:46:29 -080063 return xxx_File_pb3_test_proto_enumTypes[1]
Herbie Ong8170d692019-02-13 14:13:21 -080064}
65func (e Enums_NestedEnum) Number() protoreflect.EnumNumber {
66 return protoreflect.EnumNumber(e)
67}
68
Joe Tsai8e506a82019-03-16 00:05:34 -070069// Deprecated: Use Enums_NestedEnum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080070var Enums_NestedEnum_name = map[int32]string{
71 0: "CERO",
72 1: "UNO",
73 2: "DOS",
74 10: "DIEZ",
75}
76
Joe Tsai8e506a82019-03-16 00:05:34 -070077// Deprecated: Use Enums_NestedEnum.Type.Values instead.
Herbie Ong8170d692019-02-13 14:13:21 -080078var Enums_NestedEnum_value = map[string]int32{
79 "CERO": 0,
80 "UNO": 1,
81 "DOS": 2,
82 "DIEZ": 10,
83}
84
85func (x Enums_NestedEnum) String() string {
Joe Tsai8e506a82019-03-16 00:05:34 -070086 return protoimpl.X.EnumStringOf(x.Type(), protoreflect.EnumNumber(x))
Herbie Ong8170d692019-02-13 14:13:21 -080087}
88
Joe Tsai8e506a82019-03-16 00:05:34 -070089// Deprecated: Use Enums_NestedEnum.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -080090func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -080091 return xxx_File_pb3_test_proto_rawdesc_gzipped, []int{1, 0}
Herbie Ong8170d692019-02-13 14:13:21 -080092}
93
94// Scalars contains scalar field types.
95type Scalars struct {
96 SBool bool `protobuf:"varint,1,opt,name=s_bool,json=sBool,proto3" json:"s_bool,omitempty"`
97 SInt32 int32 `protobuf:"varint,2,opt,name=s_int32,json=sInt32,proto3" json:"s_int32,omitempty"`
98 SInt64 int64 `protobuf:"varint,3,opt,name=s_int64,json=sInt64,proto3" json:"s_int64,omitempty"`
99 SUint32 uint32 `protobuf:"varint,4,opt,name=s_uint32,json=sUint32,proto3" json:"s_uint32,omitempty"`
100 SUint64 uint64 `protobuf:"varint,5,opt,name=s_uint64,json=sUint64,proto3" json:"s_uint64,omitempty"`
101 SSint32 int32 `protobuf:"zigzag32,6,opt,name=s_sint32,json=sSint32,proto3" json:"s_sint32,omitempty"`
102 SSint64 int64 `protobuf:"zigzag64,7,opt,name=s_sint64,json=sSint64,proto3" json:"s_sint64,omitempty"`
103 SFixed32 uint32 `protobuf:"fixed32,8,opt,name=s_fixed32,json=sFixed32,proto3" json:"s_fixed32,omitempty"`
104 SFixed64 uint64 `protobuf:"fixed64,9,opt,name=s_fixed64,json=sFixed64,proto3" json:"s_fixed64,omitempty"`
105 SSfixed32 int32 `protobuf:"fixed32,10,opt,name=s_sfixed32,json=sSfixed32,proto3" json:"s_sfixed32,omitempty"`
106 SSfixed64 int64 `protobuf:"fixed64,11,opt,name=s_sfixed64,json=sSfixed64,proto3" json:"s_sfixed64,omitempty"`
107 SFloat float32 `protobuf:"fixed32,20,opt,name=s_float,json=sFloat,proto3" json:"s_float,omitempty"`
108 SDouble float64 `protobuf:"fixed64,21,opt,name=s_double,json=sDouble,proto3" json:"s_double,omitempty"`
109 SBytes []byte `protobuf:"bytes,14,opt,name=s_bytes,json=sBytes,proto3" json:"s_bytes,omitempty"`
110 SString string `protobuf:"bytes,13,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
111 XXX_NoUnkeyedLiteral struct{} `json:"-"`
112 XXX_unrecognized []byte `json:"-"`
113 XXX_sizecache int32 `json:"-"`
114}
115
116func (m *Scalars) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800117 return xxx_File_pb3_test_proto_messageTypes[0].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800118}
119func (m *Scalars) Reset() { *m = Scalars{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700120func (m *Scalars) String() string { return protoimpl.X.MessageStringOf(m) }
Herbie Ong8170d692019-02-13 14:13:21 -0800121func (*Scalars) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700122
123// Deprecated: Use Scalars.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800124func (*Scalars) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800125 return xxx_File_pb3_test_proto_rawdesc_gzipped, []int{0}
Herbie Ong8170d692019-02-13 14:13:21 -0800126}
127
Herbie Ong8170d692019-02-13 14:13:21 -0800128func (m *Scalars) GetSBool() bool {
129 if m != nil {
130 return m.SBool
131 }
132 return false
133}
134
135func (m *Scalars) GetSInt32() int32 {
136 if m != nil {
137 return m.SInt32
138 }
139 return 0
140}
141
142func (m *Scalars) GetSInt64() int64 {
143 if m != nil {
144 return m.SInt64
145 }
146 return 0
147}
148
149func (m *Scalars) GetSUint32() uint32 {
150 if m != nil {
151 return m.SUint32
152 }
153 return 0
154}
155
156func (m *Scalars) GetSUint64() uint64 {
157 if m != nil {
158 return m.SUint64
159 }
160 return 0
161}
162
163func (m *Scalars) GetSSint32() int32 {
164 if m != nil {
165 return m.SSint32
166 }
167 return 0
168}
169
170func (m *Scalars) GetSSint64() int64 {
171 if m != nil {
172 return m.SSint64
173 }
174 return 0
175}
176
177func (m *Scalars) GetSFixed32() uint32 {
178 if m != nil {
179 return m.SFixed32
180 }
181 return 0
182}
183
184func (m *Scalars) GetSFixed64() uint64 {
185 if m != nil {
186 return m.SFixed64
187 }
188 return 0
189}
190
191func (m *Scalars) GetSSfixed32() int32 {
192 if m != nil {
193 return m.SSfixed32
194 }
195 return 0
196}
197
198func (m *Scalars) GetSSfixed64() int64 {
199 if m != nil {
200 return m.SSfixed64
201 }
202 return 0
203}
204
205func (m *Scalars) GetSFloat() float32 {
206 if m != nil {
207 return m.SFloat
208 }
209 return 0
210}
211
212func (m *Scalars) GetSDouble() float64 {
213 if m != nil {
214 return m.SDouble
215 }
216 return 0
217}
218
219func (m *Scalars) GetSBytes() []byte {
220 if m != nil {
221 return m.SBytes
222 }
223 return nil
224}
225
226func (m *Scalars) GetSString() string {
227 if m != nil {
228 return m.SString
229 }
230 return ""
231}
232
233// Message contains enum fields.
234type Enums struct {
235 SEnum Enum `protobuf:"varint,1,opt,name=s_enum,json=sEnum,proto3,enum=pb3.Enum" json:"s_enum,omitempty"`
236 SNestedEnum Enums_NestedEnum `protobuf:"varint,3,opt,name=s_nested_enum,json=sNestedEnum,proto3,enum=pb3.Enums_NestedEnum" json:"s_nested_enum,omitempty"`
237 XXX_NoUnkeyedLiteral struct{} `json:"-"`
238 XXX_unrecognized []byte `json:"-"`
239 XXX_sizecache int32 `json:"-"`
240}
241
242func (m *Enums) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800243 return xxx_File_pb3_test_proto_messageTypes[1].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800244}
245func (m *Enums) Reset() { *m = Enums{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700246func (m *Enums) String() string { return protoimpl.X.MessageStringOf(m) }
Herbie Ong8170d692019-02-13 14:13:21 -0800247func (*Enums) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700248
249// Deprecated: Use Enums.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800250func (*Enums) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800251 return xxx_File_pb3_test_proto_rawdesc_gzipped, []int{1}
Herbie Ong8170d692019-02-13 14:13:21 -0800252}
253
Herbie Ong8170d692019-02-13 14:13:21 -0800254func (m *Enums) GetSEnum() Enum {
255 if m != nil {
256 return m.SEnum
257 }
258 return Enum_ZERO
259}
260
261func (m *Enums) GetSNestedEnum() Enums_NestedEnum {
262 if m != nil {
263 return m.SNestedEnum
264 }
265 return Enums_CERO
266}
267
268// Message contains nested message field.
269type Nests struct {
270 SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
271 XXX_NoUnkeyedLiteral struct{} `json:"-"`
272 XXX_unrecognized []byte `json:"-"`
273 XXX_sizecache int32 `json:"-"`
274}
275
276func (m *Nests) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800277 return xxx_File_pb3_test_proto_messageTypes[2].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800278}
279func (m *Nests) Reset() { *m = Nests{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700280func (m *Nests) String() string { return protoimpl.X.MessageStringOf(m) }
Herbie Ong8170d692019-02-13 14:13:21 -0800281func (*Nests) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700282
283// Deprecated: Use Nests.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800284func (*Nests) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800285 return xxx_File_pb3_test_proto_rawdesc_gzipped, []int{2}
Herbie Ong8170d692019-02-13 14:13:21 -0800286}
287
Herbie Ong8170d692019-02-13 14:13:21 -0800288func (m *Nests) GetSNested() *Nested {
289 if m != nil {
290 return m.SNested
291 }
292 return nil
293}
294
295// Message type used as submessage.
296type Nested struct {
297 SString string `protobuf:"bytes,1,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
298 SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
299 XXX_NoUnkeyedLiteral struct{} `json:"-"`
300 XXX_unrecognized []byte `json:"-"`
301 XXX_sizecache int32 `json:"-"`
302}
303
304func (m *Nested) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800305 return xxx_File_pb3_test_proto_messageTypes[3].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800306}
307func (m *Nested) Reset() { *m = Nested{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700308func (m *Nested) String() string { return protoimpl.X.MessageStringOf(m) }
Herbie Ong8170d692019-02-13 14:13:21 -0800309func (*Nested) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700310
311// Deprecated: Use Nested.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800312func (*Nested) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800313 return xxx_File_pb3_test_proto_rawdesc_gzipped, []int{3}
Herbie Ong8170d692019-02-13 14:13:21 -0800314}
315
Herbie Ong8170d692019-02-13 14:13:21 -0800316func (m *Nested) GetSString() string {
317 if m != nil {
318 return m.SString
319 }
320 return ""
321}
322
323func (m *Nested) GetSNested() *Nested {
324 if m != nil {
325 return m.SNested
326 }
327 return nil
328}
329
330// Message contains oneof field.
331type Oneofs struct {
332 // Types that are valid to be assigned to Union:
333 // *Oneofs_OneofEnum
334 // *Oneofs_OneofString
335 // *Oneofs_OneofNested
336 Union isOneofs_Union `protobuf_oneof:"union"`
337 XXX_NoUnkeyedLiteral struct{} `json:"-"`
338 XXX_unrecognized []byte `json:"-"`
339 XXX_sizecache int32 `json:"-"`
340}
341
342func (m *Oneofs) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800343 return xxx_File_pb3_test_proto_messageTypes[4].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800344}
345func (m *Oneofs) Reset() { *m = Oneofs{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700346func (m *Oneofs) String() string { return protoimpl.X.MessageStringOf(m) }
Herbie Ong8170d692019-02-13 14:13:21 -0800347func (*Oneofs) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700348
349// Deprecated: Use Oneofs.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800350func (*Oneofs) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800351 return xxx_File_pb3_test_proto_rawdesc_gzipped, []int{4}
Herbie Ong8170d692019-02-13 14:13:21 -0800352}
353
Herbie Ong8170d692019-02-13 14:13:21 -0800354type isOneofs_Union interface {
355 isOneofs_Union()
356}
357
358type Oneofs_OneofEnum struct {
359 OneofEnum Enum `protobuf:"varint,1,opt,name=oneof_enum,json=oneofEnum,proto3,enum=pb3.Enum,oneof"`
360}
361
362type Oneofs_OneofString struct {
363 OneofString string `protobuf:"bytes,2,opt,name=oneof_string,json=oneofString,proto3,oneof"`
364}
365
366type Oneofs_OneofNested struct {
367 OneofNested *Nested `protobuf:"bytes,3,opt,name=oneof_nested,json=oneofNested,proto3,oneof"`
368}
369
370func (*Oneofs_OneofEnum) isOneofs_Union() {}
371
372func (*Oneofs_OneofString) isOneofs_Union() {}
373
374func (*Oneofs_OneofNested) isOneofs_Union() {}
375
376func (m *Oneofs) GetUnion() isOneofs_Union {
377 if m != nil {
378 return m.Union
379 }
380 return nil
381}
382
383func (m *Oneofs) GetOneofEnum() Enum {
384 if x, ok := m.GetUnion().(*Oneofs_OneofEnum); ok {
385 return x.OneofEnum
386 }
387 return Enum_ZERO
388}
389
390func (m *Oneofs) GetOneofString() string {
391 if x, ok := m.GetUnion().(*Oneofs_OneofString); ok {
392 return x.OneofString
393 }
394 return ""
395}
396
397func (m *Oneofs) GetOneofNested() *Nested {
398 if x, ok := m.GetUnion().(*Oneofs_OneofNested); ok {
399 return x.OneofNested
400 }
401 return nil
402}
403
404// XXX_OneofWrappers is for the internal use of the proto package.
405func (*Oneofs) XXX_OneofWrappers() []interface{} {
406 return []interface{}{
407 (*Oneofs_OneofEnum)(nil),
408 (*Oneofs_OneofString)(nil),
409 (*Oneofs_OneofNested)(nil),
410 }
411}
412
413// Message contains map fields.
414type Maps struct {
415 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"`
416 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"`
417 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"`
418 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"`
419 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"`
420 XXX_NoUnkeyedLiteral struct{} `json:"-"`
421 XXX_unrecognized []byte `json:"-"`
422 XXX_sizecache int32 `json:"-"`
423}
424
425func (m *Maps) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800426 return xxx_File_pb3_test_proto_messageTypes[5].MessageOf(m)
Herbie Ong8170d692019-02-13 14:13:21 -0800427}
428func (m *Maps) Reset() { *m = Maps{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700429func (m *Maps) String() string { return protoimpl.X.MessageStringOf(m) }
Herbie Ong8170d692019-02-13 14:13:21 -0800430func (*Maps) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700431
432// Deprecated: Use Maps.ProtoReflect.Type instead.
Herbie Ong8170d692019-02-13 14:13:21 -0800433func (*Maps) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800434 return xxx_File_pb3_test_proto_rawdesc_gzipped, []int{5}
Herbie Ong8170d692019-02-13 14:13:21 -0800435}
436
Herbie Ong8170d692019-02-13 14:13:21 -0800437func (m *Maps) GetInt32ToStr() map[int32]string {
438 if m != nil {
439 return m.Int32ToStr
440 }
441 return nil
442}
443
444func (m *Maps) GetBoolToUint32() map[bool]uint32 {
445 if m != nil {
446 return m.BoolToUint32
447 }
448 return nil
449}
450
451func (m *Maps) GetUint64ToEnum() map[uint64]Enum {
452 if m != nil {
453 return m.Uint64ToEnum
454 }
455 return nil
456}
457
458func (m *Maps) GetStrToNested() map[string]*Nested {
459 if m != nil {
460 return m.StrToNested
461 }
462 return nil
463}
464
465func (m *Maps) GetStrToOneofs() map[string]*Oneofs {
466 if m != nil {
467 return m.StrToOneofs
468 }
469 return nil
470}
471
Herbie Ong7b828bc2019-02-08 19:56:24 -0800472// Message for testing json_name option.
473type JSONNames struct {
474 SString string `protobuf:"bytes,1,opt,name=s_string,json=foo_bar,proto3" json:"s_string,omitempty"`
475 XXX_NoUnkeyedLiteral struct{} `json:"-"`
476 XXX_unrecognized []byte `json:"-"`
477 XXX_sizecache int32 `json:"-"`
478}
479
480func (m *JSONNames) ProtoReflect() protoreflect.Message {
Joe Tsai19058432019-02-27 21:46:29 -0800481 return xxx_File_pb3_test_proto_messageTypes[6].MessageOf(m)
Herbie Ong7b828bc2019-02-08 19:56:24 -0800482}
483func (m *JSONNames) Reset() { *m = JSONNames{} }
Joe Tsai35ec98f2019-03-25 14:41:32 -0700484func (m *JSONNames) String() string { return protoimpl.X.MessageStringOf(m) }
Herbie Ong7b828bc2019-02-08 19:56:24 -0800485func (*JSONNames) ProtoMessage() {}
Joe Tsai8e506a82019-03-16 00:05:34 -0700486
487// Deprecated: Use JSONNames.ProtoReflect.Type instead.
Herbie Ong7b828bc2019-02-08 19:56:24 -0800488func (*JSONNames) Descriptor() ([]byte, []int) {
Joe Tsai19058432019-02-27 21:46:29 -0800489 return xxx_File_pb3_test_proto_rawdesc_gzipped, []int{6}
Herbie Ong7b828bc2019-02-08 19:56:24 -0800490}
491
Herbie Ong7b828bc2019-02-08 19:56:24 -0800492func (m *JSONNames) GetSString() string {
493 if m != nil {
494 return m.SString
495 }
496 return ""
497}
498
Joe Tsai19058432019-02-27 21:46:29 -0800499var xxx_File_pb3_test_proto_rawdesc = []byte{
500 // 1710 bytes of the wire-encoded FileDescriptorProto
501 0x0a, 0x0e, 0x70, 0x62, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
502 0x12, 0x03, 0x70, 0x62, 0x33, 0x22, 0x9e, 0x03, 0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72,
503 0x73, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
504 0x08, 0x52, 0x05, 0x73, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69, 0x6e,
505 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74, 0x33,
506 0x32, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01,
507 0x28, 0x03, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f,
508 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x55,
509 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36,
510 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x73, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34,
511 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01,
512 0x28, 0x11, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x73,
513 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x73,
514 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78, 0x65,
515 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78, 0x65,
516 0x64, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
517 0x18, 0x09, 0x20, 0x01, 0x28, 0x06, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
518 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a,
519 0x20, 0x01, 0x28, 0x0f, 0x52, 0x09, 0x73, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12,
520 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0b, 0x20,
521 0x01, 0x28, 0x10, 0x52, 0x09, 0x73, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x17,
522 0x0a, 0x07, 0x73, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52,
523 0x06, 0x73, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x64, 0x6f, 0x75,
524 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x73, 0x44, 0x6f, 0x75, 0x62,
525 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20,
526 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73,
527 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73,
528 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x98, 0x01, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x73,
529 0x12, 0x20, 0x0a, 0x06, 0x73, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
530 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x73, 0x45, 0x6e,
531 0x75, 0x6d, 0x12, 0x39, 0x0a, 0x0d, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x65,
532 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x70, 0x62, 0x33, 0x2e,
533 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d,
534 0x52, 0x0b, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x22, 0x32, 0x0a,
535 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08, 0x0a, 0x04, 0x43,
536 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07,
537 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x49, 0x45, 0x5a, 0x10,
538 0x0a, 0x22, 0x2f, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x08, 0x73, 0x5f,
539 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70,
540 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73, 0x4e, 0x65, 0x73, 0x74,
541 0x65, 0x64, 0x22, 0x4b, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08,
542 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
543 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x0a, 0x08, 0x73, 0x5f, 0x6e, 0x65, 0x73,
544 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e,
545 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22,
546 0x94, 0x01, 0x0a, 0x06, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x6e,
547 0x65, 0x6f, 0x66, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09,
548 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x00, 0x52, 0x09, 0x6f, 0x6e, 0x65,
549 0x6f, 0x66, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f,
550 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b,
551 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x30, 0x0a, 0x0c, 0x6f,
552 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
553 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x48, 0x00,
554 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x42, 0x07, 0x0a,
555 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0xaf, 0x05, 0x0a, 0x04, 0x4d, 0x61, 0x70, 0x73, 0x12,
556 0x3b, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x74, 0x6f, 0x5f, 0x73, 0x74, 0x72, 0x18,
557 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73,
558 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79,
559 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x12, 0x41, 0x0a, 0x0e,
560 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02,
561 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e,
562 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72,
563 0x79, 0x52, 0x0c, 0x62, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
564 0x41, 0x0a, 0x0e, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x74, 0x6f, 0x5f, 0x65, 0x6e, 0x75,
565 0x6d, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61,
566 0x70, 0x73, 0x2e, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45,
567 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e,
568 0x75, 0x6d, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73,
569 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x33, 0x2e,
570 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
571 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74,
572 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f, 0x5f, 0x6f, 0x6e, 0x65,
573 0x6f, 0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x62, 0x33, 0x2e,
574 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73,
575 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f,
576 0x66, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72,
577 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
578 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
579 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
580 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33,
581 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
582 0x01, 0x28, 0x08, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
583 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
584 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x11, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e,
585 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
586 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c,
587 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45,
588 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b,
589 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74,
590 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
591 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
592 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
593 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x10, 0x53,
594 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
595 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
596 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
597 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x52, 0x05, 0x76,
598 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x26, 0x0a, 0x09, 0x4a, 0x53, 0x4f, 0x4e,
599 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
600 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6f, 0x6f, 0x5f, 0x62, 0x61, 0x72,
601 0x2a, 0x2b, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08, 0x0a, 0x04, 0x5a, 0x45, 0x52, 0x4f,
602 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x54,
603 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10, 0x0a, 0x42, 0x37, 0x5a,
604 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6c, 0x61,
605 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x76, 0x32, 0x2f, 0x65,
606 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74,
607 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
Herbie Ong8170d692019-02-13 14:13:21 -0800608}
609
Joe Tsai8e506a82019-03-16 00:05:34 -0700610var xxx_File_pb3_test_proto_rawdesc_gzipped = protoimpl.X.CompressGZIP(xxx_File_pb3_test_proto_rawdesc)
Herbie Ong8170d692019-02-13 14:13:21 -0800611
612const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
613
Joe Tsai19058432019-02-27 21:46:29 -0800614var File_pb3_test_proto protoreflect.FileDescriptor
Herbie Ong8170d692019-02-13 14:13:21 -0800615
Damien Neil6bb8dec2019-03-01 13:22:30 -0800616var xxx_File_pb3_test_proto_enumTypes = make([]protoreflect.EnumType, 2)
617var xxx_File_pb3_test_proto_messageTypes = make([]protoimpl.MessageType, 12)
Joe Tsai19058432019-02-27 21:46:29 -0800618var xxx_File_pb3_test_proto_goTypes = []interface{}{
Herbie Ong8170d692019-02-13 14:13:21 -0800619 (Enum)(0), // 0: pb3.Enum
620 (Enums_NestedEnum)(0), // 1: pb3.Enums.NestedEnum
621 (*Scalars)(nil), // 2: pb3.Scalars
622 (*Enums)(nil), // 3: pb3.Enums
623 (*Nests)(nil), // 4: pb3.Nests
624 (*Nested)(nil), // 5: pb3.Nested
625 (*Oneofs)(nil), // 6: pb3.Oneofs
626 (*Maps)(nil), // 7: pb3.Maps
Herbie Ong7b828bc2019-02-08 19:56:24 -0800627 (*JSONNames)(nil), // 8: pb3.JSONNames
628 nil, // 9: pb3.Maps.Int32ToStrEntry
629 nil, // 10: pb3.Maps.BoolToUint32Entry
630 nil, // 11: pb3.Maps.Uint64ToEnumEntry
631 nil, // 12: pb3.Maps.StrToNestedEntry
632 nil, // 13: pb3.Maps.StrToOneofsEntry
Herbie Ong8170d692019-02-13 14:13:21 -0800633}
Joe Tsai19058432019-02-27 21:46:29 -0800634var xxx_File_pb3_test_proto_depIdxs = []int32{
Herbie Ong8170d692019-02-13 14:13:21 -0800635 0, // pb3.Enums.s_enum:type_name -> pb3.Enum
636 1, // pb3.Enums.s_nested_enum:type_name -> pb3.Enums.NestedEnum
637 5, // pb3.Nests.s_nested:type_name -> pb3.Nested
638 5, // pb3.Nested.s_nested:type_name -> pb3.Nested
639 0, // pb3.Oneofs.oneof_enum:type_name -> pb3.Enum
640 5, // pb3.Oneofs.oneof_nested:type_name -> pb3.Nested
Herbie Ong7b828bc2019-02-08 19:56:24 -0800641 9, // pb3.Maps.int32_to_str:type_name -> pb3.Maps.Int32ToStrEntry
642 10, // pb3.Maps.bool_to_uint32:type_name -> pb3.Maps.BoolToUint32Entry
643 11, // pb3.Maps.uint64_to_enum:type_name -> pb3.Maps.Uint64ToEnumEntry
644 12, // pb3.Maps.str_to_nested:type_name -> pb3.Maps.StrToNestedEntry
645 13, // pb3.Maps.str_to_oneofs:type_name -> pb3.Maps.StrToOneofsEntry
Herbie Ong8170d692019-02-13 14:13:21 -0800646 0, // pb3.Maps.Uint64ToEnumEntry.value:type_name -> pb3.Enum
647 5, // pb3.Maps.StrToNestedEntry.value:type_name -> pb3.Nested
648 6, // pb3.Maps.StrToOneofsEntry.value:type_name -> pb3.Oneofs
649}
650
Damien Neil0fc22452019-03-08 17:18:11 -0800651func init() { xxx_File_pb3_test_proto_init() }
652func xxx_File_pb3_test_proto_init() {
653 if File_pb3_test_proto != nil {
654 return
655 }
Joe Tsai19058432019-02-27 21:46:29 -0800656 File_pb3_test_proto = protoimpl.FileBuilder{
657 RawDescriptor: xxx_File_pb3_test_proto_rawdesc,
658 GoTypes: xxx_File_pb3_test_proto_goTypes,
659 DependencyIndexes: xxx_File_pb3_test_proto_depIdxs,
Damien Neil6bb8dec2019-03-01 13:22:30 -0800660 EnumOutputTypes: xxx_File_pb3_test_proto_enumTypes,
Joe Tsai35ec98f2019-03-25 14:41:32 -0700661 MessageOutputTypes: xxx_File_pb3_test_proto_messageTypes,
662 FilesRegistry: protoregistry.GlobalFiles,
663 TypesRegistry: protoregistry.GlobalTypes,
Herbie Ong8170d692019-02-13 14:13:21 -0800664 }.Init()
Joe Tsai19058432019-02-27 21:46:29 -0800665 xxx_File_pb3_test_proto_goTypes = nil
666 xxx_File_pb3_test_proto_depIdxs = nil
Herbie Ong8170d692019-02-13 14:13:21 -0800667}