blob: 172237af9d61e39ab5969cec4b4ddf8a8920c697 [file] [log] [blame]
Joe Tsai94e730b2020-01-10 23:31:25 -08001// Copyright 2018 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// Test Protobuf definitions with proto3 syntax.
6
7// Code generated by protoc-gen-go. DO NOT EDIT.
8// source: textpb3/test.proto
9
10package textpb3
11
12import (
13 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15 reflect "reflect"
16 sync "sync"
17)
18
19type Enum int32
20
21const (
22 Enum_ZERO Enum = 0
23 Enum_ONE Enum = 1
24 Enum_TWO Enum = 2
25 Enum_TEN Enum = 10
26)
27
28// Enum value maps for Enum.
29var (
30 Enum_name = map[int32]string{
31 0: "ZERO",
32 1: "ONE",
33 2: "TWO",
34 10: "TEN",
35 }
36 Enum_value = map[string]int32{
37 "ZERO": 0,
38 "ONE": 1,
39 "TWO": 2,
40 "TEN": 10,
41 }
42)
43
44func (x Enum) Enum() *Enum {
45 p := new(Enum)
46 *p = x
47 return p
48}
49
50func (x Enum) String() string {
51 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
52}
53
54func (Enum) Descriptor() protoreflect.EnumDescriptor {
55 return file_textpb3_test_proto_enumTypes[0].Descriptor()
56}
57
58func (Enum) Type() protoreflect.EnumType {
59 return &file_textpb3_test_proto_enumTypes[0]
60}
61
62func (x Enum) Number() protoreflect.EnumNumber {
63 return protoreflect.EnumNumber(x)
64}
65
66// Deprecated: Use Enum.Descriptor instead.
67func (Enum) EnumDescriptor() ([]byte, []int) {
68 return file_textpb3_test_proto_rawDescGZIP(), []int{0}
69}
70
71type Enums_NestedEnum int32
72
73const (
74 Enums_CERO Enums_NestedEnum = 0
75 Enums_UNO Enums_NestedEnum = 1
76 Enums_DOS Enums_NestedEnum = 2
77 Enums_DIEZ Enums_NestedEnum = 10
78)
79
80// Enum value maps for Enums_NestedEnum.
81var (
82 Enums_NestedEnum_name = map[int32]string{
83 0: "CERO",
84 1: "UNO",
85 2: "DOS",
86 10: "DIEZ",
87 }
88 Enums_NestedEnum_value = map[string]int32{
89 "CERO": 0,
90 "UNO": 1,
91 "DOS": 2,
92 "DIEZ": 10,
93 }
94)
95
96func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
97 p := new(Enums_NestedEnum)
98 *p = x
99 return p
100}
101
102func (x Enums_NestedEnum) String() string {
103 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
104}
105
106func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
107 return file_textpb3_test_proto_enumTypes[1].Descriptor()
108}
109
110func (Enums_NestedEnum) Type() protoreflect.EnumType {
111 return &file_textpb3_test_proto_enumTypes[1]
112}
113
114func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
115 return protoreflect.EnumNumber(x)
116}
117
118// Deprecated: Use Enums_NestedEnum.Descriptor instead.
119func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
120 return file_textpb3_test_proto_rawDescGZIP(), []int{1, 0}
121}
122
123// Scalars contains scalar field types.
124type Scalars struct {
125 state protoimpl.MessageState
126 sizeCache protoimpl.SizeCache
127 unknownFields protoimpl.UnknownFields
128
129 SBool bool `protobuf:"varint,1,opt,name=s_bool,json=sBool,proto3" json:"s_bool,omitempty"`
130 SInt32 int32 `protobuf:"varint,2,opt,name=s_int32,json=sInt32,proto3" json:"s_int32,omitempty"`
131 SInt64 int64 `protobuf:"varint,3,opt,name=s_int64,json=sInt64,proto3" json:"s_int64,omitempty"`
132 SUint32 uint32 `protobuf:"varint,4,opt,name=s_uint32,json=sUint32,proto3" json:"s_uint32,omitempty"`
133 SUint64 uint64 `protobuf:"varint,5,opt,name=s_uint64,json=sUint64,proto3" json:"s_uint64,omitempty"`
134 SSint32 int32 `protobuf:"zigzag32,6,opt,name=s_sint32,json=sSint32,proto3" json:"s_sint32,omitempty"`
135 SSint64 int64 `protobuf:"zigzag64,7,opt,name=s_sint64,json=sSint64,proto3" json:"s_sint64,omitempty"`
136 SFixed32 uint32 `protobuf:"fixed32,8,opt,name=s_fixed32,json=sFixed32,proto3" json:"s_fixed32,omitempty"`
137 SFixed64 uint64 `protobuf:"fixed64,9,opt,name=s_fixed64,json=sFixed64,proto3" json:"s_fixed64,omitempty"`
138 SSfixed32 int32 `protobuf:"fixed32,10,opt,name=s_sfixed32,json=sSfixed32,proto3" json:"s_sfixed32,omitempty"`
139 SSfixed64 int64 `protobuf:"fixed64,11,opt,name=s_sfixed64,json=sSfixed64,proto3" json:"s_sfixed64,omitempty"`
140 SFloat float32 `protobuf:"fixed32,20,opt,name=s_float,json=sFloat,proto3" json:"s_float,omitempty"`
141 SDouble float64 `protobuf:"fixed64,21,opt,name=s_double,json=sDouble,proto3" json:"s_double,omitempty"`
142 SBytes []byte `protobuf:"bytes,14,opt,name=s_bytes,json=sBytes,proto3" json:"s_bytes,omitempty"`
143 SString string `protobuf:"bytes,13,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
144}
145
146func (x *Scalars) Reset() {
147 *x = Scalars{}
148 if protoimpl.UnsafeEnabled {
149 mi := &file_textpb3_test_proto_msgTypes[0]
150 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
151 ms.StoreMessageInfo(mi)
152 }
153}
154
155func (x *Scalars) String() string {
156 return protoimpl.X.MessageStringOf(x)
157}
158
159func (*Scalars) ProtoMessage() {}
160
161func (x *Scalars) ProtoReflect() protoreflect.Message {
162 mi := &file_textpb3_test_proto_msgTypes[0]
163 if protoimpl.UnsafeEnabled && x != nil {
164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
165 if ms.LoadMessageInfo() == nil {
166 ms.StoreMessageInfo(mi)
167 }
168 return ms
169 }
170 return mi.MessageOf(x)
171}
172
173// Deprecated: Use Scalars.ProtoReflect.Descriptor instead.
174func (*Scalars) Descriptor() ([]byte, []int) {
175 return file_textpb3_test_proto_rawDescGZIP(), []int{0}
176}
177
178func (x *Scalars) GetSBool() bool {
179 if x != nil {
180 return x.SBool
181 }
182 return false
183}
184
185func (x *Scalars) GetSInt32() int32 {
186 if x != nil {
187 return x.SInt32
188 }
189 return 0
190}
191
192func (x *Scalars) GetSInt64() int64 {
193 if x != nil {
194 return x.SInt64
195 }
196 return 0
197}
198
199func (x *Scalars) GetSUint32() uint32 {
200 if x != nil {
201 return x.SUint32
202 }
203 return 0
204}
205
206func (x *Scalars) GetSUint64() uint64 {
207 if x != nil {
208 return x.SUint64
209 }
210 return 0
211}
212
213func (x *Scalars) GetSSint32() int32 {
214 if x != nil {
215 return x.SSint32
216 }
217 return 0
218}
219
220func (x *Scalars) GetSSint64() int64 {
221 if x != nil {
222 return x.SSint64
223 }
224 return 0
225}
226
227func (x *Scalars) GetSFixed32() uint32 {
228 if x != nil {
229 return x.SFixed32
230 }
231 return 0
232}
233
234func (x *Scalars) GetSFixed64() uint64 {
235 if x != nil {
236 return x.SFixed64
237 }
238 return 0
239}
240
241func (x *Scalars) GetSSfixed32() int32 {
242 if x != nil {
243 return x.SSfixed32
244 }
245 return 0
246}
247
248func (x *Scalars) GetSSfixed64() int64 {
249 if x != nil {
250 return x.SSfixed64
251 }
252 return 0
253}
254
255func (x *Scalars) GetSFloat() float32 {
256 if x != nil {
257 return x.SFloat
258 }
259 return 0
260}
261
262func (x *Scalars) GetSDouble() float64 {
263 if x != nil {
264 return x.SDouble
265 }
266 return 0
267}
268
269func (x *Scalars) GetSBytes() []byte {
270 if x != nil {
271 return x.SBytes
272 }
273 return nil
274}
275
276func (x *Scalars) GetSString() string {
277 if x != nil {
278 return x.SString
279 }
280 return ""
281}
282
283// Message contains enum fields.
284type Enums struct {
285 state protoimpl.MessageState
286 sizeCache protoimpl.SizeCache
287 unknownFields protoimpl.UnknownFields
288
289 SEnum Enum `protobuf:"varint,1,opt,name=s_enum,json=sEnum,proto3,enum=pb3.Enum" json:"s_enum,omitempty"`
290 SNestedEnum Enums_NestedEnum `protobuf:"varint,3,opt,name=s_nested_enum,json=sNestedEnum,proto3,enum=pb3.Enums_NestedEnum" json:"s_nested_enum,omitempty"`
291}
292
293func (x *Enums) Reset() {
294 *x = Enums{}
295 if protoimpl.UnsafeEnabled {
296 mi := &file_textpb3_test_proto_msgTypes[1]
297 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
298 ms.StoreMessageInfo(mi)
299 }
300}
301
302func (x *Enums) String() string {
303 return protoimpl.X.MessageStringOf(x)
304}
305
306func (*Enums) ProtoMessage() {}
307
308func (x *Enums) ProtoReflect() protoreflect.Message {
309 mi := &file_textpb3_test_proto_msgTypes[1]
310 if protoimpl.UnsafeEnabled && x != nil {
311 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
312 if ms.LoadMessageInfo() == nil {
313 ms.StoreMessageInfo(mi)
314 }
315 return ms
316 }
317 return mi.MessageOf(x)
318}
319
320// Deprecated: Use Enums.ProtoReflect.Descriptor instead.
321func (*Enums) Descriptor() ([]byte, []int) {
322 return file_textpb3_test_proto_rawDescGZIP(), []int{1}
323}
324
325func (x *Enums) GetSEnum() Enum {
326 if x != nil {
327 return x.SEnum
328 }
329 return Enum_ZERO
330}
331
332func (x *Enums) GetSNestedEnum() Enums_NestedEnum {
333 if x != nil {
334 return x.SNestedEnum
335 }
336 return Enums_CERO
337}
338
339// Message contains nested message field.
340type Nests struct {
341 state protoimpl.MessageState
342 sizeCache protoimpl.SizeCache
343 unknownFields protoimpl.UnknownFields
344
345 SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
346}
347
348func (x *Nests) Reset() {
349 *x = Nests{}
350 if protoimpl.UnsafeEnabled {
351 mi := &file_textpb3_test_proto_msgTypes[2]
352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
353 ms.StoreMessageInfo(mi)
354 }
355}
356
357func (x *Nests) String() string {
358 return protoimpl.X.MessageStringOf(x)
359}
360
361func (*Nests) ProtoMessage() {}
362
363func (x *Nests) ProtoReflect() protoreflect.Message {
364 mi := &file_textpb3_test_proto_msgTypes[2]
365 if protoimpl.UnsafeEnabled && x != nil {
366 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
367 if ms.LoadMessageInfo() == nil {
368 ms.StoreMessageInfo(mi)
369 }
370 return ms
371 }
372 return mi.MessageOf(x)
373}
374
375// Deprecated: Use Nests.ProtoReflect.Descriptor instead.
376func (*Nests) Descriptor() ([]byte, []int) {
377 return file_textpb3_test_proto_rawDescGZIP(), []int{2}
378}
379
380func (x *Nests) GetSNested() *Nested {
381 if x != nil {
382 return x.SNested
383 }
384 return nil
385}
386
387// Message type used as submessage.
388type Nested struct {
389 state protoimpl.MessageState
390 sizeCache protoimpl.SizeCache
391 unknownFields protoimpl.UnknownFields
392
393 SString string `protobuf:"bytes,1,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
394 SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
395}
396
397func (x *Nested) Reset() {
398 *x = Nested{}
399 if protoimpl.UnsafeEnabled {
400 mi := &file_textpb3_test_proto_msgTypes[3]
401 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
402 ms.StoreMessageInfo(mi)
403 }
404}
405
406func (x *Nested) String() string {
407 return protoimpl.X.MessageStringOf(x)
408}
409
410func (*Nested) ProtoMessage() {}
411
412func (x *Nested) ProtoReflect() protoreflect.Message {
413 mi := &file_textpb3_test_proto_msgTypes[3]
414 if protoimpl.UnsafeEnabled && x != nil {
415 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
416 if ms.LoadMessageInfo() == nil {
417 ms.StoreMessageInfo(mi)
418 }
419 return ms
420 }
421 return mi.MessageOf(x)
422}
423
424// Deprecated: Use Nested.ProtoReflect.Descriptor instead.
425func (*Nested) Descriptor() ([]byte, []int) {
426 return file_textpb3_test_proto_rawDescGZIP(), []int{3}
427}
428
429func (x *Nested) GetSString() string {
430 if x != nil {
431 return x.SString
432 }
433 return ""
434}
435
436func (x *Nested) GetSNested() *Nested {
437 if x != nil {
438 return x.SNested
439 }
440 return nil
441}
442
443// Message contains oneof field.
444type Oneofs struct {
445 state protoimpl.MessageState
446 sizeCache protoimpl.SizeCache
447 unknownFields protoimpl.UnknownFields
448
449 // Types that are assignable to Union:
450 // *Oneofs_OneofEnum
451 // *Oneofs_OneofString
452 // *Oneofs_OneofNested
453 Union isOneofs_Union `protobuf_oneof:"union"`
454}
455
456func (x *Oneofs) Reset() {
457 *x = Oneofs{}
458 if protoimpl.UnsafeEnabled {
459 mi := &file_textpb3_test_proto_msgTypes[4]
460 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
461 ms.StoreMessageInfo(mi)
462 }
463}
464
465func (x *Oneofs) String() string {
466 return protoimpl.X.MessageStringOf(x)
467}
468
469func (*Oneofs) ProtoMessage() {}
470
471func (x *Oneofs) ProtoReflect() protoreflect.Message {
472 mi := &file_textpb3_test_proto_msgTypes[4]
473 if protoimpl.UnsafeEnabled && x != nil {
474 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
475 if ms.LoadMessageInfo() == nil {
476 ms.StoreMessageInfo(mi)
477 }
478 return ms
479 }
480 return mi.MessageOf(x)
481}
482
483// Deprecated: Use Oneofs.ProtoReflect.Descriptor instead.
484func (*Oneofs) Descriptor() ([]byte, []int) {
485 return file_textpb3_test_proto_rawDescGZIP(), []int{4}
486}
487
488func (m *Oneofs) GetUnion() isOneofs_Union {
489 if m != nil {
490 return m.Union
491 }
492 return nil
493}
494
495func (x *Oneofs) GetOneofEnum() Enum {
496 if x, ok := x.GetUnion().(*Oneofs_OneofEnum); ok {
497 return x.OneofEnum
498 }
499 return Enum_ZERO
500}
501
502func (x *Oneofs) GetOneofString() string {
503 if x, ok := x.GetUnion().(*Oneofs_OneofString); ok {
504 return x.OneofString
505 }
506 return ""
507}
508
509func (x *Oneofs) GetOneofNested() *Nested {
510 if x, ok := x.GetUnion().(*Oneofs_OneofNested); ok {
511 return x.OneofNested
512 }
513 return nil
514}
515
516type isOneofs_Union interface {
517 isOneofs_Union()
518}
519
520type Oneofs_OneofEnum struct {
521 OneofEnum Enum `protobuf:"varint,1,opt,name=oneof_enum,json=oneofEnum,proto3,enum=pb3.Enum,oneof"`
522}
523
524type Oneofs_OneofString struct {
525 OneofString string `protobuf:"bytes,2,opt,name=oneof_string,json=oneofString,proto3,oneof"`
526}
527
528type Oneofs_OneofNested struct {
529 OneofNested *Nested `protobuf:"bytes,3,opt,name=oneof_nested,json=oneofNested,proto3,oneof"`
530}
531
532func (*Oneofs_OneofEnum) isOneofs_Union() {}
533
534func (*Oneofs_OneofString) isOneofs_Union() {}
535
536func (*Oneofs_OneofNested) isOneofs_Union() {}
537
538// Message contains map fields.
539type Maps struct {
540 state protoimpl.MessageState
541 sizeCache protoimpl.SizeCache
542 unknownFields protoimpl.UnknownFields
543
544 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"`
545 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"`
546 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"`
547 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"`
548 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"`
549}
550
551func (x *Maps) Reset() {
552 *x = Maps{}
553 if protoimpl.UnsafeEnabled {
554 mi := &file_textpb3_test_proto_msgTypes[5]
555 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
556 ms.StoreMessageInfo(mi)
557 }
558}
559
560func (x *Maps) String() string {
561 return protoimpl.X.MessageStringOf(x)
562}
563
564func (*Maps) ProtoMessage() {}
565
566func (x *Maps) ProtoReflect() protoreflect.Message {
567 mi := &file_textpb3_test_proto_msgTypes[5]
568 if protoimpl.UnsafeEnabled && x != nil {
569 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
570 if ms.LoadMessageInfo() == nil {
571 ms.StoreMessageInfo(mi)
572 }
573 return ms
574 }
575 return mi.MessageOf(x)
576}
577
578// Deprecated: Use Maps.ProtoReflect.Descriptor instead.
579func (*Maps) Descriptor() ([]byte, []int) {
580 return file_textpb3_test_proto_rawDescGZIP(), []int{5}
581}
582
583func (x *Maps) GetInt32ToStr() map[int32]string {
584 if x != nil {
585 return x.Int32ToStr
586 }
587 return nil
588}
589
590func (x *Maps) GetBoolToUint32() map[bool]uint32 {
591 if x != nil {
592 return x.BoolToUint32
593 }
594 return nil
595}
596
597func (x *Maps) GetUint64ToEnum() map[uint64]Enum {
598 if x != nil {
599 return x.Uint64ToEnum
600 }
601 return nil
602}
603
604func (x *Maps) GetStrToNested() map[string]*Nested {
605 if x != nil {
606 return x.StrToNested
607 }
608 return nil
609}
610
611func (x *Maps) GetStrToOneofs() map[string]*Oneofs {
612 if x != nil {
613 return x.StrToOneofs
614 }
615 return nil
616}
617
618// Message for testing json_name option.
619type JSONNames struct {
620 state protoimpl.MessageState
621 sizeCache protoimpl.SizeCache
622 unknownFields protoimpl.UnknownFields
623
624 SString string `protobuf:"bytes,1,opt,name=s_string,json=foo_bar,proto3" json:"s_string,omitempty"`
625}
626
627func (x *JSONNames) Reset() {
628 *x = JSONNames{}
629 if protoimpl.UnsafeEnabled {
630 mi := &file_textpb3_test_proto_msgTypes[6]
631 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
632 ms.StoreMessageInfo(mi)
633 }
634}
635
636func (x *JSONNames) String() string {
637 return protoimpl.X.MessageStringOf(x)
638}
639
640func (*JSONNames) ProtoMessage() {}
641
642func (x *JSONNames) ProtoReflect() protoreflect.Message {
643 mi := &file_textpb3_test_proto_msgTypes[6]
644 if protoimpl.UnsafeEnabled && x != nil {
645 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
646 if ms.LoadMessageInfo() == nil {
647 ms.StoreMessageInfo(mi)
648 }
649 return ms
650 }
651 return mi.MessageOf(x)
652}
653
654// Deprecated: Use JSONNames.ProtoReflect.Descriptor instead.
655func (*JSONNames) Descriptor() ([]byte, []int) {
656 return file_textpb3_test_proto_rawDescGZIP(), []int{6}
657}
658
659func (x *JSONNames) GetSString() string {
660 if x != nil {
661 return x.SString
662 }
663 return ""
664}
665
666var File_textpb3_test_proto protoreflect.FileDescriptor
667
668var file_textpb3_test_proto_rawDesc = []byte{
669 0x0a, 0x12, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70,
670 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x70, 0x62, 0x33, 0x22, 0x9e, 0x03, 0x0a, 0x07, 0x53, 0x63,
671 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18,
672 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x17, 0x0a, 0x07,
673 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73,
674 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34,
675 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x19,
676 0x0a, 0x08, 0x73, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d,
677 0x52, 0x07, 0x73, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x75,
678 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x73, 0x55, 0x69,
679 0x6e, 0x74, 0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32,
680 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12,
681 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28,
682 0x12, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x5f,
683 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28, 0x07, 0x52, 0x08, 0x73,
684 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78,
685 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28, 0x06, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78,
686 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64,
687 0x33, 0x32, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x09, 0x73, 0x53, 0x66, 0x69, 0x78, 0x65,
688 0x64, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36,
689 0x34, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x09, 0x73, 0x53, 0x66, 0x69, 0x78, 0x65, 0x64,
690 0x36, 0x34, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x14, 0x20,
691 0x01, 0x28, 0x02, 0x52, 0x06, 0x73, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73,
692 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x73,
693 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x62, 0x79, 0x74, 0x65,
694 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12,
695 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x0d, 0x20, 0x01, 0x28,
696 0x09, 0x52, 0x07, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x98, 0x01, 0x0a, 0x05, 0x45,
697 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x20, 0x0a, 0x06, 0x73, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01,
698 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52,
699 0x05, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x39, 0x0a, 0x0d, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74,
700 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e,
701 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
702 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0b, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
703 0x6d, 0x22, 0x32, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x12,
704 0x08, 0x0a, 0x04, 0x43, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x4f,
705 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x44,
706 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x2f, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73, 0x12, 0x26,
707 0x0a, 0x08, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
708 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73,
709 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4b, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64,
710 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01,
711 0x28, 0x09, 0x52, 0x07, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x0a, 0x08, 0x73,
712 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
713 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73, 0x4e, 0x65, 0x73,
714 0x74, 0x65, 0x64, 0x22, 0x94, 0x01, 0x0a, 0x06, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x12, 0x2a,
715 0x0a, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01,
716 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x00, 0x52,
717 0x09, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0c, 0x6f, 0x6e,
718 0x65, 0x6f, 0x66, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
719 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12,
720 0x30, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18,
721 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74,
722 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73, 0x74, 0x65,
723 0x64, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0xaf, 0x05, 0x0a, 0x04, 0x4d,
724 0x61, 0x70, 0x73, 0x12, 0x3b, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x74, 0x6f, 0x5f,
725 0x73, 0x74, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62, 0x33, 0x2e,
726 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x45,
727 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74, 0x72,
728 0x12, 0x41, 0x0a, 0x0e, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x69, 0x6e, 0x74,
729 0x33, 0x32, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d,
730 0x61, 0x70, 0x73, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32,
731 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x62, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e,
732 0x74, 0x33, 0x32, 0x12, 0x41, 0x0a, 0x0e, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x74, 0x6f,
733 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62,
734 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54, 0x6f, 0x45,
735 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34,
736 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f,
737 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
738 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65,
739 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f,
740 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f, 0x74, 0x6f,
741 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
742 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e,
743 0x65, 0x6f, 0x66, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x54, 0x6f,
744 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54,
745 0x6f, 0x53, 0x74, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
746 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
747 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
748 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55,
749 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
750 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
751 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76, 0x61, 0x6c,
752 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x11, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34,
753 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
754 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1f, 0x0a,
755 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70,
756 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
757 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65,
758 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
759 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
760 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65,
761 0x73, 0x74, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a,
762 0x4b, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x45, 0x6e,
763 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
764 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
765 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66,
766 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x26, 0x0a, 0x09,
767 0x4a, 0x53, 0x4f, 0x4e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73,
768 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66, 0x6f, 0x6f,
769 0x5f, 0x62, 0x61, 0x72, 0x2a, 0x2b, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08, 0x0a, 0x04,
770 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12,
771 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45, 0x4e, 0x10,
772 0x0a, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
773 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
774 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f,
775 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f,
776 0x74, 0x6f, 0x33,
777}
778
779var (
780 file_textpb3_test_proto_rawDescOnce sync.Once
781 file_textpb3_test_proto_rawDescData = file_textpb3_test_proto_rawDesc
782)
783
784func file_textpb3_test_proto_rawDescGZIP() []byte {
785 file_textpb3_test_proto_rawDescOnce.Do(func() {
786 file_textpb3_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_textpb3_test_proto_rawDescData)
787 })
788 return file_textpb3_test_proto_rawDescData
789}
790
791var file_textpb3_test_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
792var file_textpb3_test_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
793var file_textpb3_test_proto_goTypes = []interface{}{
794 (Enum)(0), // 0: pb3.Enum
795 (Enums_NestedEnum)(0), // 1: pb3.Enums.NestedEnum
796 (*Scalars)(nil), // 2: pb3.Scalars
797 (*Enums)(nil), // 3: pb3.Enums
798 (*Nests)(nil), // 4: pb3.Nests
799 (*Nested)(nil), // 5: pb3.Nested
800 (*Oneofs)(nil), // 6: pb3.Oneofs
801 (*Maps)(nil), // 7: pb3.Maps
802 (*JSONNames)(nil), // 8: pb3.JSONNames
803 nil, // 9: pb3.Maps.Int32ToStrEntry
804 nil, // 10: pb3.Maps.BoolToUint32Entry
805 nil, // 11: pb3.Maps.Uint64ToEnumEntry
806 nil, // 12: pb3.Maps.StrToNestedEntry
807 nil, // 13: pb3.Maps.StrToOneofsEntry
808}
809var file_textpb3_test_proto_depIdxs = []int32{
810 0, // 0: pb3.Enums.s_enum:type_name -> pb3.Enum
811 1, // 1: pb3.Enums.s_nested_enum:type_name -> pb3.Enums.NestedEnum
812 5, // 2: pb3.Nests.s_nested:type_name -> pb3.Nested
813 5, // 3: pb3.Nested.s_nested:type_name -> pb3.Nested
814 0, // 4: pb3.Oneofs.oneof_enum:type_name -> pb3.Enum
815 5, // 5: pb3.Oneofs.oneof_nested:type_name -> pb3.Nested
816 9, // 6: pb3.Maps.int32_to_str:type_name -> pb3.Maps.Int32ToStrEntry
817 10, // 7: pb3.Maps.bool_to_uint32:type_name -> pb3.Maps.BoolToUint32Entry
818 11, // 8: pb3.Maps.uint64_to_enum:type_name -> pb3.Maps.Uint64ToEnumEntry
819 12, // 9: pb3.Maps.str_to_nested:type_name -> pb3.Maps.StrToNestedEntry
820 13, // 10: pb3.Maps.str_to_oneofs:type_name -> pb3.Maps.StrToOneofsEntry
821 0, // 11: pb3.Maps.Uint64ToEnumEntry.value:type_name -> pb3.Enum
822 5, // 12: pb3.Maps.StrToNestedEntry.value:type_name -> pb3.Nested
823 6, // 13: pb3.Maps.StrToOneofsEntry.value:type_name -> pb3.Oneofs
824 14, // [14:14] is the sub-list for method output_type
825 14, // [14:14] is the sub-list for method input_type
826 14, // [14:14] is the sub-list for extension type_name
827 14, // [14:14] is the sub-list for extension extendee
828 0, // [0:14] is the sub-list for field type_name
829}
830
831func init() { file_textpb3_test_proto_init() }
832func file_textpb3_test_proto_init() {
833 if File_textpb3_test_proto != nil {
834 return
835 }
836 if !protoimpl.UnsafeEnabled {
837 file_textpb3_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
838 switch v := v.(*Scalars); i {
839 case 0:
840 return &v.state
841 case 1:
842 return &v.sizeCache
843 case 2:
844 return &v.unknownFields
845 default:
846 return nil
847 }
848 }
849 file_textpb3_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
850 switch v := v.(*Enums); i {
851 case 0:
852 return &v.state
853 case 1:
854 return &v.sizeCache
855 case 2:
856 return &v.unknownFields
857 default:
858 return nil
859 }
860 }
861 file_textpb3_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
862 switch v := v.(*Nests); i {
863 case 0:
864 return &v.state
865 case 1:
866 return &v.sizeCache
867 case 2:
868 return &v.unknownFields
869 default:
870 return nil
871 }
872 }
873 file_textpb3_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
874 switch v := v.(*Nested); i {
875 case 0:
876 return &v.state
877 case 1:
878 return &v.sizeCache
879 case 2:
880 return &v.unknownFields
881 default:
882 return nil
883 }
884 }
885 file_textpb3_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
886 switch v := v.(*Oneofs); i {
887 case 0:
888 return &v.state
889 case 1:
890 return &v.sizeCache
891 case 2:
892 return &v.unknownFields
893 default:
894 return nil
895 }
896 }
897 file_textpb3_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
898 switch v := v.(*Maps); i {
899 case 0:
900 return &v.state
901 case 1:
902 return &v.sizeCache
903 case 2:
904 return &v.unknownFields
905 default:
906 return nil
907 }
908 }
909 file_textpb3_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
910 switch v := v.(*JSONNames); i {
911 case 0:
912 return &v.state
913 case 1:
914 return &v.sizeCache
915 case 2:
916 return &v.unknownFields
917 default:
918 return nil
919 }
920 }
921 }
922 file_textpb3_test_proto_msgTypes[4].OneofWrappers = []interface{}{
923 (*Oneofs_OneofEnum)(nil),
924 (*Oneofs_OneofString)(nil),
925 (*Oneofs_OneofNested)(nil),
926 }
927 type x struct{}
928 out := protoimpl.TypeBuilder{
929 File: protoimpl.DescBuilder{
930 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
931 RawDescriptor: file_textpb3_test_proto_rawDesc,
932 NumEnums: 2,
933 NumMessages: 12,
934 NumExtensions: 0,
935 NumServices: 0,
936 },
937 GoTypes: file_textpb3_test_proto_goTypes,
938 DependencyIndexes: file_textpb3_test_proto_depIdxs,
939 EnumInfos: file_textpb3_test_proto_enumTypes,
940 MessageInfos: file_textpb3_test_proto_msgTypes,
941 }.Build()
942 File_textpb3_test_proto = out.File
943 file_textpb3_test_proto_rawDesc = nil
944 file_textpb3_test_proto_goTypes = nil
945 file_textpb3_test_proto_depIdxs = nil
946}