blob: 0aabdf1d57fd69b317ce8e7f15976acc15d27326 [file] [log] [blame]
Herbie Ong8170d692019-02-13 14:13:21 -08001// Code generated by protoc-gen-go. DO NOT EDIT.
2// source: encoding/testprotos/pb3/test.proto
3
4package pb3
5
6import (
7 bytes "bytes"
8 gzip "compress/gzip"
9 proto "github.com/golang/protobuf/proto"
10 protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
11 protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
12 reflect "reflect"
13)
14
15// This is a compile-time assertion to ensure that this generated file
16// is compatible with the proto package it is being compiled against.
17// A compilation error at this line likely means your copy of the
18// proto package needs to be updated.
19const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
20
21type Enum int32
22
23const (
24 Enum_ZERO Enum = 0
25 Enum_ONE Enum = 1
26 Enum_TWO Enum = 2
27 Enum_TEN Enum = 10
28)
29
30func (e Enum) Type() protoreflect.EnumType {
31 return xxx_Test_protoFile_enumTypes[0]
32}
33func (e Enum) Number() protoreflect.EnumNumber {
34 return protoreflect.EnumNumber(e)
35}
36
37var Enum_name = map[int32]string{
38 0: "ZERO",
39 1: "ONE",
40 2: "TWO",
41 10: "TEN",
42}
43
44var Enum_value = map[string]int32{
45 "ZERO": 0,
46 "ONE": 1,
47 "TWO": 2,
48 "TEN": 10,
49}
50
51func (x Enum) String() string {
52 return proto.EnumName(Enum_name, int32(x))
53}
54
55func (Enum) EnumDescriptor() ([]byte, []int) {
56 return fileDescriptor_33e0a17922cde063_gzipped, []int{0}
57}
58
59type Enums_NestedEnum int32
60
61const (
62 Enums_CERO Enums_NestedEnum = 0
63 Enums_UNO Enums_NestedEnum = 1
64 Enums_DOS Enums_NestedEnum = 2
65 Enums_DIEZ Enums_NestedEnum = 10
66)
67
68func (e Enums_NestedEnum) Type() protoreflect.EnumType {
69 return xxx_Test_protoFile_enumTypes[1]
70}
71func (e Enums_NestedEnum) Number() protoreflect.EnumNumber {
72 return protoreflect.EnumNumber(e)
73}
74
75var Enums_NestedEnum_name = map[int32]string{
76 0: "CERO",
77 1: "UNO",
78 2: "DOS",
79 10: "DIEZ",
80}
81
82var Enums_NestedEnum_value = map[string]int32{
83 "CERO": 0,
84 "UNO": 1,
85 "DOS": 2,
86 "DIEZ": 10,
87}
88
89func (x Enums_NestedEnum) String() string {
90 return proto.EnumName(Enums_NestedEnum_name, int32(x))
91}
92
93func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
94 return fileDescriptor_33e0a17922cde063_gzipped, []int{1, 0}
95}
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 {
120 return xxx_Test_protoFile_messageTypes[0].MessageOf(m)
121}
122func (m *Scalars) Reset() { *m = Scalars{} }
123func (m *Scalars) String() string { return proto.CompactTextString(m) }
124func (*Scalars) ProtoMessage() {}
125func (*Scalars) Descriptor() ([]byte, []int) {
126 return fileDescriptor_33e0a17922cde063_gzipped, []int{0}
127}
128
129func (m *Scalars) XXX_Unmarshal(b []byte) error {
130 return xxx_messageInfo_Scalars.Unmarshal(m, b)
131}
132func (m *Scalars) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
133 return xxx_messageInfo_Scalars.Marshal(b, m, deterministic)
134}
135func (m *Scalars) XXX_Merge(src proto.Message) {
136 xxx_messageInfo_Scalars.Merge(m, src)
137}
138func (m *Scalars) XXX_Size() int {
139 return xxx_messageInfo_Scalars.Size(m)
140}
141func (m *Scalars) XXX_DiscardUnknown() {
142 xxx_messageInfo_Scalars.DiscardUnknown(m)
143}
144
145var xxx_messageInfo_Scalars proto.InternalMessageInfo
146
147func (m *Scalars) GetSBool() bool {
148 if m != nil {
149 return m.SBool
150 }
151 return false
152}
153
154func (m *Scalars) GetSInt32() int32 {
155 if m != nil {
156 return m.SInt32
157 }
158 return 0
159}
160
161func (m *Scalars) GetSInt64() int64 {
162 if m != nil {
163 return m.SInt64
164 }
165 return 0
166}
167
168func (m *Scalars) GetSUint32() uint32 {
169 if m != nil {
170 return m.SUint32
171 }
172 return 0
173}
174
175func (m *Scalars) GetSUint64() uint64 {
176 if m != nil {
177 return m.SUint64
178 }
179 return 0
180}
181
182func (m *Scalars) GetSSint32() int32 {
183 if m != nil {
184 return m.SSint32
185 }
186 return 0
187}
188
189func (m *Scalars) GetSSint64() int64 {
190 if m != nil {
191 return m.SSint64
192 }
193 return 0
194}
195
196func (m *Scalars) GetSFixed32() uint32 {
197 if m != nil {
198 return m.SFixed32
199 }
200 return 0
201}
202
203func (m *Scalars) GetSFixed64() uint64 {
204 if m != nil {
205 return m.SFixed64
206 }
207 return 0
208}
209
210func (m *Scalars) GetSSfixed32() int32 {
211 if m != nil {
212 return m.SSfixed32
213 }
214 return 0
215}
216
217func (m *Scalars) GetSSfixed64() int64 {
218 if m != nil {
219 return m.SSfixed64
220 }
221 return 0
222}
223
224func (m *Scalars) GetSFloat() float32 {
225 if m != nil {
226 return m.SFloat
227 }
228 return 0
229}
230
231func (m *Scalars) GetSDouble() float64 {
232 if m != nil {
233 return m.SDouble
234 }
235 return 0
236}
237
238func (m *Scalars) GetSBytes() []byte {
239 if m != nil {
240 return m.SBytes
241 }
242 return nil
243}
244
245func (m *Scalars) GetSString() string {
246 if m != nil {
247 return m.SString
248 }
249 return ""
250}
251
252// Message contains enum fields.
253type Enums struct {
254 SEnum Enum `protobuf:"varint,1,opt,name=s_enum,json=sEnum,proto3,enum=pb3.Enum" json:"s_enum,omitempty"`
255 SNestedEnum Enums_NestedEnum `protobuf:"varint,3,opt,name=s_nested_enum,json=sNestedEnum,proto3,enum=pb3.Enums_NestedEnum" json:"s_nested_enum,omitempty"`
256 XXX_NoUnkeyedLiteral struct{} `json:"-"`
257 XXX_unrecognized []byte `json:"-"`
258 XXX_sizecache int32 `json:"-"`
259}
260
261func (m *Enums) ProtoReflect() protoreflect.Message {
262 return xxx_Test_protoFile_messageTypes[1].MessageOf(m)
263}
264func (m *Enums) Reset() { *m = Enums{} }
265func (m *Enums) String() string { return proto.CompactTextString(m) }
266func (*Enums) ProtoMessage() {}
267func (*Enums) Descriptor() ([]byte, []int) {
268 return fileDescriptor_33e0a17922cde063_gzipped, []int{1}
269}
270
271func (m *Enums) XXX_Unmarshal(b []byte) error {
272 return xxx_messageInfo_Enums.Unmarshal(m, b)
273}
274func (m *Enums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
275 return xxx_messageInfo_Enums.Marshal(b, m, deterministic)
276}
277func (m *Enums) XXX_Merge(src proto.Message) {
278 xxx_messageInfo_Enums.Merge(m, src)
279}
280func (m *Enums) XXX_Size() int {
281 return xxx_messageInfo_Enums.Size(m)
282}
283func (m *Enums) XXX_DiscardUnknown() {
284 xxx_messageInfo_Enums.DiscardUnknown(m)
285}
286
287var xxx_messageInfo_Enums proto.InternalMessageInfo
288
289func (m *Enums) GetSEnum() Enum {
290 if m != nil {
291 return m.SEnum
292 }
293 return Enum_ZERO
294}
295
296func (m *Enums) GetSNestedEnum() Enums_NestedEnum {
297 if m != nil {
298 return m.SNestedEnum
299 }
300 return Enums_CERO
301}
302
303// Message contains nested message field.
304type Nests struct {
305 SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
306 XXX_NoUnkeyedLiteral struct{} `json:"-"`
307 XXX_unrecognized []byte `json:"-"`
308 XXX_sizecache int32 `json:"-"`
309}
310
311func (m *Nests) ProtoReflect() protoreflect.Message {
312 return xxx_Test_protoFile_messageTypes[2].MessageOf(m)
313}
314func (m *Nests) Reset() { *m = Nests{} }
315func (m *Nests) String() string { return proto.CompactTextString(m) }
316func (*Nests) ProtoMessage() {}
317func (*Nests) Descriptor() ([]byte, []int) {
318 return fileDescriptor_33e0a17922cde063_gzipped, []int{2}
319}
320
321func (m *Nests) XXX_Unmarshal(b []byte) error {
322 return xxx_messageInfo_Nests.Unmarshal(m, b)
323}
324func (m *Nests) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
325 return xxx_messageInfo_Nests.Marshal(b, m, deterministic)
326}
327func (m *Nests) XXX_Merge(src proto.Message) {
328 xxx_messageInfo_Nests.Merge(m, src)
329}
330func (m *Nests) XXX_Size() int {
331 return xxx_messageInfo_Nests.Size(m)
332}
333func (m *Nests) XXX_DiscardUnknown() {
334 xxx_messageInfo_Nests.DiscardUnknown(m)
335}
336
337var xxx_messageInfo_Nests proto.InternalMessageInfo
338
339func (m *Nests) GetSNested() *Nested {
340 if m != nil {
341 return m.SNested
342 }
343 return nil
344}
345
346// Message type used as submessage.
347type Nested struct {
348 SString string `protobuf:"bytes,1,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
349 SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
350 XXX_NoUnkeyedLiteral struct{} `json:"-"`
351 XXX_unrecognized []byte `json:"-"`
352 XXX_sizecache int32 `json:"-"`
353}
354
355func (m *Nested) ProtoReflect() protoreflect.Message {
356 return xxx_Test_protoFile_messageTypes[3].MessageOf(m)
357}
358func (m *Nested) Reset() { *m = Nested{} }
359func (m *Nested) String() string { return proto.CompactTextString(m) }
360func (*Nested) ProtoMessage() {}
361func (*Nested) Descriptor() ([]byte, []int) {
362 return fileDescriptor_33e0a17922cde063_gzipped, []int{3}
363}
364
365func (m *Nested) XXX_Unmarshal(b []byte) error {
366 return xxx_messageInfo_Nested.Unmarshal(m, b)
367}
368func (m *Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
369 return xxx_messageInfo_Nested.Marshal(b, m, deterministic)
370}
371func (m *Nested) XXX_Merge(src proto.Message) {
372 xxx_messageInfo_Nested.Merge(m, src)
373}
374func (m *Nested) XXX_Size() int {
375 return xxx_messageInfo_Nested.Size(m)
376}
377func (m *Nested) XXX_DiscardUnknown() {
378 xxx_messageInfo_Nested.DiscardUnknown(m)
379}
380
381var xxx_messageInfo_Nested proto.InternalMessageInfo
382
383func (m *Nested) GetSString() string {
384 if m != nil {
385 return m.SString
386 }
387 return ""
388}
389
390func (m *Nested) GetSNested() *Nested {
391 if m != nil {
392 return m.SNested
393 }
394 return nil
395}
396
397// Message contains oneof field.
398type Oneofs struct {
399 // Types that are valid to be assigned to Union:
400 // *Oneofs_OneofEnum
401 // *Oneofs_OneofString
402 // *Oneofs_OneofNested
403 Union isOneofs_Union `protobuf_oneof:"union"`
404 XXX_NoUnkeyedLiteral struct{} `json:"-"`
405 XXX_unrecognized []byte `json:"-"`
406 XXX_sizecache int32 `json:"-"`
407}
408
409func (m *Oneofs) ProtoReflect() protoreflect.Message {
410 return xxx_Test_protoFile_messageTypes[4].MessageOf(m)
411}
412func (m *Oneofs) Reset() { *m = Oneofs{} }
413func (m *Oneofs) String() string { return proto.CompactTextString(m) }
414func (*Oneofs) ProtoMessage() {}
415func (*Oneofs) Descriptor() ([]byte, []int) {
416 return fileDescriptor_33e0a17922cde063_gzipped, []int{4}
417}
418
419func (m *Oneofs) XXX_Unmarshal(b []byte) error {
420 return xxx_messageInfo_Oneofs.Unmarshal(m, b)
421}
422func (m *Oneofs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
423 return xxx_messageInfo_Oneofs.Marshal(b, m, deterministic)
424}
425func (m *Oneofs) XXX_Merge(src proto.Message) {
426 xxx_messageInfo_Oneofs.Merge(m, src)
427}
428func (m *Oneofs) XXX_Size() int {
429 return xxx_messageInfo_Oneofs.Size(m)
430}
431func (m *Oneofs) XXX_DiscardUnknown() {
432 xxx_messageInfo_Oneofs.DiscardUnknown(m)
433}
434
435var xxx_messageInfo_Oneofs proto.InternalMessageInfo
436
437type isOneofs_Union interface {
438 isOneofs_Union()
439}
440
441type Oneofs_OneofEnum struct {
442 OneofEnum Enum `protobuf:"varint,1,opt,name=oneof_enum,json=oneofEnum,proto3,enum=pb3.Enum,oneof"`
443}
444
445type Oneofs_OneofString struct {
446 OneofString string `protobuf:"bytes,2,opt,name=oneof_string,json=oneofString,proto3,oneof"`
447}
448
449type Oneofs_OneofNested struct {
450 OneofNested *Nested `protobuf:"bytes,3,opt,name=oneof_nested,json=oneofNested,proto3,oneof"`
451}
452
453func (*Oneofs_OneofEnum) isOneofs_Union() {}
454
455func (*Oneofs_OneofString) isOneofs_Union() {}
456
457func (*Oneofs_OneofNested) isOneofs_Union() {}
458
459func (m *Oneofs) GetUnion() isOneofs_Union {
460 if m != nil {
461 return m.Union
462 }
463 return nil
464}
465
466func (m *Oneofs) GetOneofEnum() Enum {
467 if x, ok := m.GetUnion().(*Oneofs_OneofEnum); ok {
468 return x.OneofEnum
469 }
470 return Enum_ZERO
471}
472
473func (m *Oneofs) GetOneofString() string {
474 if x, ok := m.GetUnion().(*Oneofs_OneofString); ok {
475 return x.OneofString
476 }
477 return ""
478}
479
480func (m *Oneofs) GetOneofNested() *Nested {
481 if x, ok := m.GetUnion().(*Oneofs_OneofNested); ok {
482 return x.OneofNested
483 }
484 return nil
485}
486
487// XXX_OneofWrappers is for the internal use of the proto package.
488func (*Oneofs) XXX_OneofWrappers() []interface{} {
489 return []interface{}{
490 (*Oneofs_OneofEnum)(nil),
491 (*Oneofs_OneofString)(nil),
492 (*Oneofs_OneofNested)(nil),
493 }
494}
495
496// Message contains map fields.
497type Maps struct {
498 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"`
499 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"`
500 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"`
501 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"`
502 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"`
503 XXX_NoUnkeyedLiteral struct{} `json:"-"`
504 XXX_unrecognized []byte `json:"-"`
505 XXX_sizecache int32 `json:"-"`
506}
507
508func (m *Maps) ProtoReflect() protoreflect.Message {
509 return xxx_Test_protoFile_messageTypes[5].MessageOf(m)
510}
511func (m *Maps) Reset() { *m = Maps{} }
512func (m *Maps) String() string { return proto.CompactTextString(m) }
513func (*Maps) ProtoMessage() {}
514func (*Maps) Descriptor() ([]byte, []int) {
515 return fileDescriptor_33e0a17922cde063_gzipped, []int{5}
516}
517
518func (m *Maps) XXX_Unmarshal(b []byte) error {
519 return xxx_messageInfo_Maps.Unmarshal(m, b)
520}
521func (m *Maps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
522 return xxx_messageInfo_Maps.Marshal(b, m, deterministic)
523}
524func (m *Maps) XXX_Merge(src proto.Message) {
525 xxx_messageInfo_Maps.Merge(m, src)
526}
527func (m *Maps) XXX_Size() int {
528 return xxx_messageInfo_Maps.Size(m)
529}
530func (m *Maps) XXX_DiscardUnknown() {
531 xxx_messageInfo_Maps.DiscardUnknown(m)
532}
533
534var xxx_messageInfo_Maps proto.InternalMessageInfo
535
536func (m *Maps) GetInt32ToStr() map[int32]string {
537 if m != nil {
538 return m.Int32ToStr
539 }
540 return nil
541}
542
543func (m *Maps) GetBoolToUint32() map[bool]uint32 {
544 if m != nil {
545 return m.BoolToUint32
546 }
547 return nil
548}
549
550func (m *Maps) GetUint64ToEnum() map[uint64]Enum {
551 if m != nil {
552 return m.Uint64ToEnum
553 }
554 return nil
555}
556
557func (m *Maps) GetStrToNested() map[string]*Nested {
558 if m != nil {
559 return m.StrToNested
560 }
561 return nil
562}
563
564func (m *Maps) GetStrToOneofs() map[string]*Oneofs {
565 if m != nil {
566 return m.StrToOneofs
567 }
568 return nil
569}
570
Herbie Ong7b828bc2019-02-08 19:56:24 -0800571// Message for testing json_name option.
572type JSONNames struct {
573 SString string `protobuf:"bytes,1,opt,name=s_string,json=foo_bar,proto3" json:"s_string,omitempty"`
574 XXX_NoUnkeyedLiteral struct{} `json:"-"`
575 XXX_unrecognized []byte `json:"-"`
576 XXX_sizecache int32 `json:"-"`
577}
578
579func (m *JSONNames) ProtoReflect() protoreflect.Message {
580 return xxx_Test_protoFile_messageTypes[6].MessageOf(m)
581}
582func (m *JSONNames) Reset() { *m = JSONNames{} }
583func (m *JSONNames) String() string { return proto.CompactTextString(m) }
584func (*JSONNames) ProtoMessage() {}
585func (*JSONNames) Descriptor() ([]byte, []int) {
586 return fileDescriptor_33e0a17922cde063_gzipped, []int{6}
587}
588
589func (m *JSONNames) XXX_Unmarshal(b []byte) error {
590 return xxx_messageInfo_JSONNames.Unmarshal(m, b)
591}
592func (m *JSONNames) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
593 return xxx_messageInfo_JSONNames.Marshal(b, m, deterministic)
594}
595func (m *JSONNames) XXX_Merge(src proto.Message) {
596 xxx_messageInfo_JSONNames.Merge(m, src)
597}
598func (m *JSONNames) XXX_Size() int {
599 return xxx_messageInfo_JSONNames.Size(m)
600}
601func (m *JSONNames) XXX_DiscardUnknown() {
602 xxx_messageInfo_JSONNames.DiscardUnknown(m)
603}
604
605var xxx_messageInfo_JSONNames proto.InternalMessageInfo
606
607func (m *JSONNames) GetSString() string {
608 if m != nil {
609 return m.SString
610 }
611 return ""
612}
613
Herbie Ong8170d692019-02-13 14:13:21 -0800614func init() {
615 proto.RegisterFile("encoding/testprotos/pb3/test.proto", fileDescriptor_33e0a17922cde063_gzipped)
616 proto.RegisterEnum("pb3.Enum", Enum_name, Enum_value)
617 proto.RegisterEnum("pb3.Enums_NestedEnum", Enums_NestedEnum_name, Enums_NestedEnum_value)
618 proto.RegisterType((*Scalars)(nil), "pb3.Scalars")
619 proto.RegisterType((*Enums)(nil), "pb3.Enums")
620 proto.RegisterType((*Nests)(nil), "pb3.Nests")
621 proto.RegisterType((*Nested)(nil), "pb3.Nested")
622 proto.RegisterType((*Oneofs)(nil), "pb3.Oneofs")
623 proto.RegisterType((*Maps)(nil), "pb3.Maps")
624 proto.RegisterMapType((map[bool]uint32)(nil), "pb3.Maps.BoolToUint32Entry")
625 proto.RegisterMapType((map[int32]string)(nil), "pb3.Maps.Int32ToStrEntry")
626 proto.RegisterMapType((map[string]*Nested)(nil), "pb3.Maps.StrToNestedEntry")
627 proto.RegisterMapType((map[string]*Oneofs)(nil), "pb3.Maps.StrToOneofsEntry")
628 proto.RegisterMapType((map[uint64]Enum)(nil), "pb3.Maps.Uint64ToEnumEntry")
Herbie Ong7b828bc2019-02-08 19:56:24 -0800629 proto.RegisterType((*JSONNames)(nil), "pb3.JSONNames")
Herbie Ong8170d692019-02-13 14:13:21 -0800630}
631
632var fileDescriptor_33e0a17922cde063 = []byte{
Herbie Ong7b828bc2019-02-08 19:56:24 -0800633 // 1730 bytes of the wire-encoded FileDescriptorProto
Herbie Ong8170d692019-02-13 14:13:21 -0800634 0x0a, 0x22, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
635 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70,
636 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x70, 0x62, 0x33, 0x22, 0x9e, 0x03, 0x0a, 0x07, 0x53, 0x63,
637 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18,
638 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x07,
639 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73,
640 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34,
641 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x19,
642 0x0a, 0x08, 0x73, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d,
643 0x52, 0x07, 0x73, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x75,
644 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x73, 0x55, 0x69,
645 0x6e, 0x74, 0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32,
646 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
647 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28,
648 0x12, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x5f,
649 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07, 0x52, 0x08, 0x73,
650 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78,
651 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28, 0x06, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78,
652 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64,
653 0x33, 0x32, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x09, 0x73, 0x53, 0x66, 0x69, 0x78, 0x65,
654 0x64, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36,
655 0x34, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x09, 0x73, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64,
656 0x36, 0x34, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x14, 0x20,
657 0x01, 0x28, 0x02, 0x52, 0x06, 0x73, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73,
658 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x73,
659 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65,
660 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12,
661 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28,
662 0x09, 0x52, 0x07, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x98, 0x01, 0x0a, 0x05, 0x45,
663 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x20, 0x0a, 0x06, 0x73, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01,
664 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52,
665 0x05, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x39, 0x0a, 0x0d, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74,
666 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e,
667 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
668 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0b, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
669 0x6d, 0x22, 0x32, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12,
670 0x08, 0x0a, 0x04, 0x43, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f,
671 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44,
672 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x2f, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12, 0x26,
673 0x0a, 0x08, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
674 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73,
675 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4b, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
676 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01,
677 0x28, 0x09, 0x52, 0x07, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x0a, 0x08, 0x73,
678 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
679 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73, 0x4e, 0x65, 0x73,
680 0x74, 0x65, 0x64, 0x22, 0x94, 0x01, 0x0a, 0x06, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x12, 0x2a,
681 0x0a, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01,
682 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x00, 0x52,
683 0x09, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0c, 0x6f, 0x6e,
684 0x65, 0x6f, 0x66, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
685 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12,
686 0x30, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18,
687 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74,
688 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65,
689 0x64, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0xaf, 0x05, 0x0a, 0x04, 0x4d,
690 0x61, 0x70, 0x73, 0x12, 0x3b, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x74, 0x6f, 0x5f,
691 0x73, 0x74, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62, 0x33, 0x2e,
692 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x45,
693 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72,
694 0x12, 0x41, 0x0a, 0x0e, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x69, 0x6e, 0x74,
695 0x33, 0x32, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d,
696 0x61, 0x70, 0x73, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32,
697 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x62, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e,
698 0x74, 0x33, 0x32, 0x12, 0x41, 0x0a, 0x0e, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x74, 0x6f,
699 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62,
700 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54, 0x6f, 0x45,
701 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34,
702 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f,
703 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
704 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65,
705 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f,
706 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f,
707 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
708 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e,
709 0x65, 0x6f, 0x66, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f,
710 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54,
711 0x6f, 0x53, 0x74, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
712 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
713 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
714 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55,
715 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
716 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
717 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c,
718 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x11, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34,
719 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
720 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a,
721 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70,
722 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
723 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65,
724 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
725 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
726 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65,
727 0x73, 0x74, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a,
728 0x4b, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x45, 0x6e,
729 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
730 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
731 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66,
Herbie Ong7b828bc2019-02-08 19:56:24 -0800732 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x26, 0x0a, 0x09,
733 0x4a, 0x53, 0x4f, 0x4e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73,
734 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6f, 0x6f,
735 0x5f, 0x62, 0x61, 0x72, 0x2a, 0x2b, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08, 0x0a, 0x04,
736 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12,
737 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10,
738 0x0a, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
739 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
740 0x76, 0x32, 0x2f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x74, 0x65, 0x73, 0x74,
741 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x70, 0x62, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
742 0x6f, 0x33,
Herbie Ong8170d692019-02-13 14:13:21 -0800743}
744
745var fileDescriptor_33e0a17922cde063_gzipped = func() []byte {
746 bb := new(bytes.Buffer)
747 zw, _ := gzip.NewWriterLevel(bb, gzip.NoCompression)
748 zw.Write(fileDescriptor_33e0a17922cde063)
749 zw.Close()
750 return bb.Bytes()
751}()
752
753const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
754
755var Test_protoFile protoreflect.FileDescriptor
756
757var xxx_Test_protoFile_enumTypes [2]protoreflect.EnumType
Herbie Ong7b828bc2019-02-08 19:56:24 -0800758var xxx_Test_protoFile_messageTypes [12]protoimpl.MessageType
Herbie Ong8170d692019-02-13 14:13:21 -0800759var xxx_Test_protoFile_goTypes = []interface{}{
760 (Enum)(0), // 0: pb3.Enum
761 (Enums_NestedEnum)(0), // 1: pb3.Enums.NestedEnum
762 (*Scalars)(nil), // 2: pb3.Scalars
763 (*Enums)(nil), // 3: pb3.Enums
764 (*Nests)(nil), // 4: pb3.Nests
765 (*Nested)(nil), // 5: pb3.Nested
766 (*Oneofs)(nil), // 6: pb3.Oneofs
767 (*Maps)(nil), // 7: pb3.Maps
Herbie Ong7b828bc2019-02-08 19:56:24 -0800768 (*JSONNames)(nil), // 8: pb3.JSONNames
769 nil, // 9: pb3.Maps.Int32ToStrEntry
770 nil, // 10: pb3.Maps.BoolToUint32Entry
771 nil, // 11: pb3.Maps.Uint64ToEnumEntry
772 nil, // 12: pb3.Maps.StrToNestedEntry
773 nil, // 13: pb3.Maps.StrToOneofsEntry
Herbie Ong8170d692019-02-13 14:13:21 -0800774}
775var xxx_Test_protoFile_depIdxs = []int32{
776 0, // pb3.Enums.s_enum:type_name -> pb3.Enum
777 1, // pb3.Enums.s_nested_enum:type_name -> pb3.Enums.NestedEnum
778 5, // pb3.Nests.s_nested:type_name -> pb3.Nested
779 5, // pb3.Nested.s_nested:type_name -> pb3.Nested
780 0, // pb3.Oneofs.oneof_enum:type_name -> pb3.Enum
781 5, // pb3.Oneofs.oneof_nested:type_name -> pb3.Nested
Herbie Ong7b828bc2019-02-08 19:56:24 -0800782 9, // pb3.Maps.int32_to_str:type_name -> pb3.Maps.Int32ToStrEntry
783 10, // pb3.Maps.bool_to_uint32:type_name -> pb3.Maps.BoolToUint32Entry
784 11, // pb3.Maps.uint64_to_enum:type_name -> pb3.Maps.Uint64ToEnumEntry
785 12, // pb3.Maps.str_to_nested:type_name -> pb3.Maps.StrToNestedEntry
786 13, // pb3.Maps.str_to_oneofs:type_name -> pb3.Maps.StrToOneofsEntry
Herbie Ong8170d692019-02-13 14:13:21 -0800787 0, // pb3.Maps.Uint64ToEnumEntry.value:type_name -> pb3.Enum
788 5, // pb3.Maps.StrToNestedEntry.value:type_name -> pb3.Nested
789 6, // pb3.Maps.StrToOneofsEntry.value:type_name -> pb3.Oneofs
790}
791
792func init() {
Herbie Ong7b828bc2019-02-08 19:56:24 -0800793 var messageTypes [12]protoreflect.MessageType
Herbie Ong8170d692019-02-13 14:13:21 -0800794 Test_protoFile = protoimpl.FileBuilder{
795 RawDescriptor: fileDescriptor_33e0a17922cde063,
796 GoTypes: xxx_Test_protoFile_goTypes,
797 DependencyIndexes: xxx_Test_protoFile_depIdxs,
798 EnumOutputTypes: xxx_Test_protoFile_enumTypes[:],
799 MessageOutputTypes: messageTypes[:],
800 }.Init()
Herbie Ong7b828bc2019-02-08 19:56:24 -0800801 messageGoTypes := xxx_Test_protoFile_goTypes[2:][:12]
Herbie Ong8170d692019-02-13 14:13:21 -0800802 for i, mt := range messageTypes[:] {
803 xxx_Test_protoFile_messageTypes[i].GoType = reflect.TypeOf(messageGoTypes[i])
804 xxx_Test_protoFile_messageTypes[i].PBType = mt
805 }
806 xxx_Test_protoFile_goTypes = nil
807 xxx_Test_protoFile_depIdxs = nil
808}