1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package testdata
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
30 )
31
32 const (
33
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 type TestEnum int32
40
41 const (
42 TestEnum_TestEnum0 TestEnum = 0
43 TestEnum_TestEnum1 TestEnum = 1
44 )
45
46
47 var (
48 TestEnum_name = map[int32]string{
49 0: "TestEnum0",
50 1: "TestEnum1",
51 }
52 TestEnum_value = map[string]int32{
53 "TestEnum0": 0,
54 "TestEnum1": 1,
55 }
56 )
57
58 func (x TestEnum) Enum() *TestEnum {
59 p := new(TestEnum)
60 *p = x
61 return p
62 }
63
64 func (x TestEnum) String() string {
65 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
66 }
67
68 func (TestEnum) Descriptor() protoreflect.EnumDescriptor {
69 return file_testing_proto_enumTypes[0].Descriptor()
70 }
71
72 func (TestEnum) Type() protoreflect.EnumType {
73 return &file_testing_proto_enumTypes[0]
74 }
75
76 func (x TestEnum) Number() protoreflect.EnumNumber {
77 return protoreflect.EnumNumber(x)
78 }
79
80
81 func (x *TestEnum) UnmarshalJSON(b []byte) error {
82 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
83 if err != nil {
84 return err
85 }
86 *x = TestEnum(num)
87 return nil
88 }
89
90
91 func (TestEnum) EnumDescriptor() ([]byte, []int) {
92 return file_testing_proto_rawDescGZIP(), []int{0}
93 }
94
95 type AllSupportedTypes struct {
96 state protoimpl.MessageState
97 sizeCache protoimpl.SizeCache
98 unknownFields protoimpl.UnknownFields
99
100 Int32Value *int32 `protobuf:"varint,1,opt,name=int32_value,json=int32Value" json:"int32_value,omitempty"`
101 Int64Value *int64 `protobuf:"varint,2,opt,name=int64_value,json=int64Value" json:"int64_value,omitempty"`
102 Uint32Value *uint32 `protobuf:"varint,3,opt,name=uint32_value,json=uint32Value" json:"uint32_value,omitempty"`
103 Uint64Value *uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value" json:"uint64_value,omitempty"`
104 FloatValue *float32 `protobuf:"fixed32,5,opt,name=float_value,json=floatValue" json:"float_value,omitempty"`
105 DoubleValue *float64 `protobuf:"fixed64,6,opt,name=double_value,json=doubleValue" json:"double_value,omitempty"`
106 BoolValue *bool `protobuf:"varint,7,opt,name=bool_value,json=boolValue" json:"bool_value,omitempty"`
107 EnumValue *TestEnum `protobuf:"varint,8,opt,name=enum_value,json=enumValue,enum=testdata.TestEnum" json:"enum_value,omitempty"`
108 StringValue *string `protobuf:"bytes,9,req,name=string_value,json=stringValue" json:"string_value,omitempty"`
109 Fixed64Value *uint64 `protobuf:"fixed64,10,opt,name=fixed64_value,json=fixed64Value" json:"fixed64_value,omitempty"`
110 }
111
112 func (x *AllSupportedTypes) Reset() {
113 *x = AllSupportedTypes{}
114 if protoimpl.UnsafeEnabled {
115 mi := &file_testing_proto_msgTypes[0]
116 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
117 ms.StoreMessageInfo(mi)
118 }
119 }
120
121 func (x *AllSupportedTypes) String() string {
122 return protoimpl.X.MessageStringOf(x)
123 }
124
125 func (*AllSupportedTypes) ProtoMessage() {}
126
127 func (x *AllSupportedTypes) ProtoReflect() protoreflect.Message {
128 mi := &file_testing_proto_msgTypes[0]
129 if protoimpl.UnsafeEnabled && x != nil {
130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
131 if ms.LoadMessageInfo() == nil {
132 ms.StoreMessageInfo(mi)
133 }
134 return ms
135 }
136 return mi.MessageOf(x)
137 }
138
139
140 func (*AllSupportedTypes) Descriptor() ([]byte, []int) {
141 return file_testing_proto_rawDescGZIP(), []int{0}
142 }
143
144 func (x *AllSupportedTypes) GetInt32Value() int32 {
145 if x != nil && x.Int32Value != nil {
146 return *x.Int32Value
147 }
148 return 0
149 }
150
151 func (x *AllSupportedTypes) GetInt64Value() int64 {
152 if x != nil && x.Int64Value != nil {
153 return *x.Int64Value
154 }
155 return 0
156 }
157
158 func (x *AllSupportedTypes) GetUint32Value() uint32 {
159 if x != nil && x.Uint32Value != nil {
160 return *x.Uint32Value
161 }
162 return 0
163 }
164
165 func (x *AllSupportedTypes) GetUint64Value() uint64 {
166 if x != nil && x.Uint64Value != nil {
167 return *x.Uint64Value
168 }
169 return 0
170 }
171
172 func (x *AllSupportedTypes) GetFloatValue() float32 {
173 if x != nil && x.FloatValue != nil {
174 return *x.FloatValue
175 }
176 return 0
177 }
178
179 func (x *AllSupportedTypes) GetDoubleValue() float64 {
180 if x != nil && x.DoubleValue != nil {
181 return *x.DoubleValue
182 }
183 return 0
184 }
185
186 func (x *AllSupportedTypes) GetBoolValue() bool {
187 if x != nil && x.BoolValue != nil {
188 return *x.BoolValue
189 }
190 return false
191 }
192
193 func (x *AllSupportedTypes) GetEnumValue() TestEnum {
194 if x != nil && x.EnumValue != nil {
195 return *x.EnumValue
196 }
197 return TestEnum_TestEnum0
198 }
199
200 func (x *AllSupportedTypes) GetStringValue() string {
201 if x != nil && x.StringValue != nil {
202 return *x.StringValue
203 }
204 return ""
205 }
206
207 func (x *AllSupportedTypes) GetFixed64Value() uint64 {
208 if x != nil && x.Fixed64Value != nil {
209 return *x.Fixed64Value
210 }
211 return 0
212 }
213
214 type WithWellKnownTypes struct {
215 state protoimpl.MessageState
216 sizeCache protoimpl.SizeCache
217 unknownFields protoimpl.UnknownFields
218
219 Int64Value *int64 `protobuf:"varint,1,opt,name=int64_value,json=int64Value" json:"int64_value,omitempty"`
220 WrappedInt64 *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=wrapped_int64,json=wrappedInt64" json:"wrapped_int64,omitempty"`
221 StringValue []string `protobuf:"bytes,3,rep,name=string_value,json=stringValue" json:"string_value,omitempty"`
222 WrappedString []*wrapperspb.StringValue `protobuf:"bytes,4,rep,name=wrapped_string,json=wrappedString" json:"wrapped_string,omitempty"`
223 }
224
225 func (x *WithWellKnownTypes) Reset() {
226 *x = WithWellKnownTypes{}
227 if protoimpl.UnsafeEnabled {
228 mi := &file_testing_proto_msgTypes[1]
229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
230 ms.StoreMessageInfo(mi)
231 }
232 }
233
234 func (x *WithWellKnownTypes) String() string {
235 return protoimpl.X.MessageStringOf(x)
236 }
237
238 func (*WithWellKnownTypes) ProtoMessage() {}
239
240 func (x *WithWellKnownTypes) ProtoReflect() protoreflect.Message {
241 mi := &file_testing_proto_msgTypes[1]
242 if protoimpl.UnsafeEnabled && x != nil {
243 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
244 if ms.LoadMessageInfo() == nil {
245 ms.StoreMessageInfo(mi)
246 }
247 return ms
248 }
249 return mi.MessageOf(x)
250 }
251
252
253 func (*WithWellKnownTypes) Descriptor() ([]byte, []int) {
254 return file_testing_proto_rawDescGZIP(), []int{1}
255 }
256
257 func (x *WithWellKnownTypes) GetInt64Value() int64 {
258 if x != nil && x.Int64Value != nil {
259 return *x.Int64Value
260 }
261 return 0
262 }
263
264 func (x *WithWellKnownTypes) GetWrappedInt64() *wrapperspb.Int64Value {
265 if x != nil {
266 return x.WrappedInt64
267 }
268 return nil
269 }
270
271 func (x *WithWellKnownTypes) GetStringValue() []string {
272 if x != nil {
273 return x.StringValue
274 }
275 return nil
276 }
277
278 func (x *WithWellKnownTypes) GetWrappedString() []*wrapperspb.StringValue {
279 if x != nil {
280 return x.WrappedString
281 }
282 return nil
283 }
284
285 type InnerType struct {
286 state protoimpl.MessageState
287 sizeCache protoimpl.SizeCache
288 unknownFields protoimpl.UnknownFields
289
290 Value []string `protobuf:"bytes,1,rep,name=value" json:"value,omitempty"`
291 }
292
293 func (x *InnerType) Reset() {
294 *x = InnerType{}
295 if protoimpl.UnsafeEnabled {
296 mi := &file_testing_proto_msgTypes[2]
297 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
298 ms.StoreMessageInfo(mi)
299 }
300 }
301
302 func (x *InnerType) String() string {
303 return protoimpl.X.MessageStringOf(x)
304 }
305
306 func (*InnerType) ProtoMessage() {}
307
308 func (x *InnerType) ProtoReflect() protoreflect.Message {
309 mi := &file_testing_proto_msgTypes[2]
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
321 func (*InnerType) Descriptor() ([]byte, []int) {
322 return file_testing_proto_rawDescGZIP(), []int{2}
323 }
324
325 func (x *InnerType) GetValue() []string {
326 if x != nil {
327 return x.Value
328 }
329 return nil
330 }
331
332 type NestedType struct {
333 state protoimpl.MessageState
334 sizeCache protoimpl.SizeCache
335 unknownFields protoimpl.UnknownFields
336
337 InnerType []*InnerType `protobuf:"bytes,1,rep,name=inner_type,json=innerType" json:"inner_type,omitempty"`
338 }
339
340 func (x *NestedType) Reset() {
341 *x = NestedType{}
342 if protoimpl.UnsafeEnabled {
343 mi := &file_testing_proto_msgTypes[3]
344 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
345 ms.StoreMessageInfo(mi)
346 }
347 }
348
349 func (x *NestedType) String() string {
350 return protoimpl.X.MessageStringOf(x)
351 }
352
353 func (*NestedType) ProtoMessage() {}
354
355 func (x *NestedType) ProtoReflect() protoreflect.Message {
356 mi := &file_testing_proto_msgTypes[3]
357 if protoimpl.UnsafeEnabled && x != nil {
358 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
359 if ms.LoadMessageInfo() == nil {
360 ms.StoreMessageInfo(mi)
361 }
362 return ms
363 }
364 return mi.MessageOf(x)
365 }
366
367
368 func (*NestedType) Descriptor() ([]byte, []int) {
369 return file_testing_proto_rawDescGZIP(), []int{3}
370 }
371
372 func (x *NestedType) GetInnerType() []*InnerType {
373 if x != nil {
374 return x.InnerType
375 }
376 return nil
377 }
378
379
380 type RangeTypeTimestamp struct {
381 state protoimpl.MessageState
382 sizeCache protoimpl.SizeCache
383 unknownFields protoimpl.UnknownFields
384
385 Start *int64 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"`
386 End *int64 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`
387 }
388
389 func (x *RangeTypeTimestamp) Reset() {
390 *x = RangeTypeTimestamp{}
391 if protoimpl.UnsafeEnabled {
392 mi := &file_testing_proto_msgTypes[4]
393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
394 ms.StoreMessageInfo(mi)
395 }
396 }
397
398 func (x *RangeTypeTimestamp) String() string {
399 return protoimpl.X.MessageStringOf(x)
400 }
401
402 func (*RangeTypeTimestamp) ProtoMessage() {}
403
404 func (x *RangeTypeTimestamp) ProtoReflect() protoreflect.Message {
405 mi := &file_testing_proto_msgTypes[4]
406 if protoimpl.UnsafeEnabled && x != nil {
407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
408 if ms.LoadMessageInfo() == nil {
409 ms.StoreMessageInfo(mi)
410 }
411 return ms
412 }
413 return mi.MessageOf(x)
414 }
415
416
417 func (*RangeTypeTimestamp) Descriptor() ([]byte, []int) {
418 return file_testing_proto_rawDescGZIP(), []int{4}
419 }
420
421 func (x *RangeTypeTimestamp) GetStart() int64 {
422 if x != nil && x.Start != nil {
423 return *x.Start
424 }
425 return 0
426 }
427
428 func (x *RangeTypeTimestamp) GetEnd() int64 {
429 if x != nil && x.End != nil {
430 return *x.End
431 }
432 return 0
433 }
434
435 type ComplexType struct {
436 state protoimpl.MessageState
437 sizeCache protoimpl.SizeCache
438 unknownFields protoimpl.UnknownFields
439
440 NestedRepeatedType []*NestedType `protobuf:"bytes,1,rep,name=nested_repeated_type,json=nestedRepeatedType" json:"nested_repeated_type,omitempty"`
441 InnerType *InnerType `protobuf:"bytes,2,opt,name=inner_type,json=innerType" json:"inner_type,omitempty"`
442 RangeType *RangeTypeTimestamp `protobuf:"bytes,3,opt,name=range_type,json=rangeType" json:"range_type,omitempty"`
443 }
444
445 func (x *ComplexType) Reset() {
446 *x = ComplexType{}
447 if protoimpl.UnsafeEnabled {
448 mi := &file_testing_proto_msgTypes[5]
449 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
450 ms.StoreMessageInfo(mi)
451 }
452 }
453
454 func (x *ComplexType) String() string {
455 return protoimpl.X.MessageStringOf(x)
456 }
457
458 func (*ComplexType) ProtoMessage() {}
459
460 func (x *ComplexType) ProtoReflect() protoreflect.Message {
461 mi := &file_testing_proto_msgTypes[5]
462 if protoimpl.UnsafeEnabled && x != nil {
463 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
464 if ms.LoadMessageInfo() == nil {
465 ms.StoreMessageInfo(mi)
466 }
467 return ms
468 }
469 return mi.MessageOf(x)
470 }
471
472
473 func (*ComplexType) Descriptor() ([]byte, []int) {
474 return file_testing_proto_rawDescGZIP(), []int{5}
475 }
476
477 func (x *ComplexType) GetNestedRepeatedType() []*NestedType {
478 if x != nil {
479 return x.NestedRepeatedType
480 }
481 return nil
482 }
483
484 func (x *ComplexType) GetInnerType() *InnerType {
485 if x != nil {
486 return x.InnerType
487 }
488 return nil
489 }
490
491 func (x *ComplexType) GetRangeType() *RangeTypeTimestamp {
492 if x != nil {
493 return x.RangeType
494 }
495 return nil
496 }
497
498 type ContainsRecursive struct {
499 state protoimpl.MessageState
500 sizeCache protoimpl.SizeCache
501 unknownFields protoimpl.UnknownFields
502
503 Field *RecursiveType `protobuf:"bytes,1,opt,name=field" json:"field,omitempty"`
504 }
505
506 func (x *ContainsRecursive) Reset() {
507 *x = ContainsRecursive{}
508 if protoimpl.UnsafeEnabled {
509 mi := &file_testing_proto_msgTypes[6]
510 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
511 ms.StoreMessageInfo(mi)
512 }
513 }
514
515 func (x *ContainsRecursive) String() string {
516 return protoimpl.X.MessageStringOf(x)
517 }
518
519 func (*ContainsRecursive) ProtoMessage() {}
520
521 func (x *ContainsRecursive) ProtoReflect() protoreflect.Message {
522 mi := &file_testing_proto_msgTypes[6]
523 if protoimpl.UnsafeEnabled && x != nil {
524 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
525 if ms.LoadMessageInfo() == nil {
526 ms.StoreMessageInfo(mi)
527 }
528 return ms
529 }
530 return mi.MessageOf(x)
531 }
532
533
534 func (*ContainsRecursive) Descriptor() ([]byte, []int) {
535 return file_testing_proto_rawDescGZIP(), []int{6}
536 }
537
538 func (x *ContainsRecursive) GetField() *RecursiveType {
539 if x != nil {
540 return x.Field
541 }
542 return nil
543 }
544
545 type RecursiveType struct {
546 state protoimpl.MessageState
547 sizeCache protoimpl.SizeCache
548 unknownFields protoimpl.UnknownFields
549
550 Field *ContainsRecursive `protobuf:"bytes,2,opt,name=field" json:"field,omitempty"`
551 }
552
553 func (x *RecursiveType) Reset() {
554 *x = RecursiveType{}
555 if protoimpl.UnsafeEnabled {
556 mi := &file_testing_proto_msgTypes[7]
557 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
558 ms.StoreMessageInfo(mi)
559 }
560 }
561
562 func (x *RecursiveType) String() string {
563 return protoimpl.X.MessageStringOf(x)
564 }
565
566 func (*RecursiveType) ProtoMessage() {}
567
568 func (x *RecursiveType) ProtoReflect() protoreflect.Message {
569 mi := &file_testing_proto_msgTypes[7]
570 if protoimpl.UnsafeEnabled && x != nil {
571 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
572 if ms.LoadMessageInfo() == nil {
573 ms.StoreMessageInfo(mi)
574 }
575 return ms
576 }
577 return mi.MessageOf(x)
578 }
579
580
581 func (*RecursiveType) Descriptor() ([]byte, []int) {
582 return file_testing_proto_rawDescGZIP(), []int{7}
583 }
584
585 func (x *RecursiveType) GetField() *ContainsRecursive {
586 if x != nil {
587 return x.Field
588 }
589 return nil
590 }
591
592 type RecursiveTypeTopMessage struct {
593 state protoimpl.MessageState
594 sizeCache protoimpl.SizeCache
595 unknownFields protoimpl.UnknownFields
596
597 Field *RecursiveTypeTopMessage `protobuf:"bytes,2,opt,name=field" json:"field,omitempty"`
598 }
599
600 func (x *RecursiveTypeTopMessage) Reset() {
601 *x = RecursiveTypeTopMessage{}
602 if protoimpl.UnsafeEnabled {
603 mi := &file_testing_proto_msgTypes[8]
604 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
605 ms.StoreMessageInfo(mi)
606 }
607 }
608
609 func (x *RecursiveTypeTopMessage) String() string {
610 return protoimpl.X.MessageStringOf(x)
611 }
612
613 func (*RecursiveTypeTopMessage) ProtoMessage() {}
614
615 func (x *RecursiveTypeTopMessage) ProtoReflect() protoreflect.Message {
616 mi := &file_testing_proto_msgTypes[8]
617 if protoimpl.UnsafeEnabled && x != nil {
618 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
619 if ms.LoadMessageInfo() == nil {
620 ms.StoreMessageInfo(mi)
621 }
622 return ms
623 }
624 return mi.MessageOf(x)
625 }
626
627
628 func (*RecursiveTypeTopMessage) Descriptor() ([]byte, []int) {
629 return file_testing_proto_rawDescGZIP(), []int{8}
630 }
631
632 func (x *RecursiveTypeTopMessage) GetField() *RecursiveTypeTopMessage {
633 if x != nil {
634 return x.Field
635 }
636 return nil
637 }
638
639 type WithOneOf struct {
640 state protoimpl.MessageState
641 sizeCache protoimpl.SizeCache
642 unknownFields protoimpl.UnknownFields
643
644 Int32Value *int32 `protobuf:"varint,1,opt,name=int32_value,json=int32Value" json:"int32_value,omitempty"`
645
646
647
648 OneofValue isWithOneOf_OneofValue `protobuf_oneof:"oneof_value"`
649 }
650
651 func (x *WithOneOf) Reset() {
652 *x = WithOneOf{}
653 if protoimpl.UnsafeEnabled {
654 mi := &file_testing_proto_msgTypes[9]
655 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
656 ms.StoreMessageInfo(mi)
657 }
658 }
659
660 func (x *WithOneOf) String() string {
661 return protoimpl.X.MessageStringOf(x)
662 }
663
664 func (*WithOneOf) ProtoMessage() {}
665
666 func (x *WithOneOf) ProtoReflect() protoreflect.Message {
667 mi := &file_testing_proto_msgTypes[9]
668 if protoimpl.UnsafeEnabled && x != nil {
669 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
670 if ms.LoadMessageInfo() == nil {
671 ms.StoreMessageInfo(mi)
672 }
673 return ms
674 }
675 return mi.MessageOf(x)
676 }
677
678
679 func (*WithOneOf) Descriptor() ([]byte, []int) {
680 return file_testing_proto_rawDescGZIP(), []int{9}
681 }
682
683 func (x *WithOneOf) GetInt32Value() int32 {
684 if x != nil && x.Int32Value != nil {
685 return *x.Int32Value
686 }
687 return 0
688 }
689
690 func (m *WithOneOf) GetOneofValue() isWithOneOf_OneofValue {
691 if m != nil {
692 return m.OneofValue
693 }
694 return nil
695 }
696
697 func (x *WithOneOf) GetStringValue() string {
698 if x, ok := x.GetOneofValue().(*WithOneOf_StringValue); ok {
699 return x.StringValue
700 }
701 return ""
702 }
703
704 func (x *WithOneOf) GetDoubleValue() float64 {
705 if x, ok := x.GetOneofValue().(*WithOneOf_DoubleValue); ok {
706 return x.DoubleValue
707 }
708 return 0
709 }
710
711 type isWithOneOf_OneofValue interface {
712 isWithOneOf_OneofValue()
713 }
714
715 type WithOneOf_StringValue struct {
716 StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,oneof"`
717 }
718
719 type WithOneOf_DoubleValue struct {
720 DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,oneof"`
721 }
722
723 func (*WithOneOf_StringValue) isWithOneOf_OneofValue() {}
724
725 func (*WithOneOf_DoubleValue) isWithOneOf_OneofValue() {}
726
727 type DefaultValues struct {
728 state protoimpl.MessageState
729 sizeCache protoimpl.SizeCache
730 unknownFields protoimpl.UnknownFields
731
732 Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
733 Strcol *string `protobuf:"bytes,2,opt,name=strcol" json:"strcol,omitempty"`
734 StrcolWithdef *string `protobuf:"bytes,3,opt,name=strcol_withdef,json=strcolWithdef" json:"strcol_withdef,omitempty"`
735 Intcol *int64 `protobuf:"varint,4,opt,name=intcol" json:"intcol,omitempty"`
736 IntcolWithdef *int64 `protobuf:"varint,5,opt,name=intcol_withdef,json=intcolWithdef" json:"intcol_withdef,omitempty"`
737 Otherstr *string `protobuf:"bytes,6,opt,name=otherstr" json:"otherstr,omitempty"`
738 OtherstrDefault *string `protobuf:"bytes,7,opt,name=otherstr_default,json=otherstrDefault" json:"otherstr_default,omitempty"`
739 }
740
741 func (x *DefaultValues) Reset() {
742 *x = DefaultValues{}
743 if protoimpl.UnsafeEnabled {
744 mi := &file_testing_proto_msgTypes[10]
745 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
746 ms.StoreMessageInfo(mi)
747 }
748 }
749
750 func (x *DefaultValues) String() string {
751 return protoimpl.X.MessageStringOf(x)
752 }
753
754 func (*DefaultValues) ProtoMessage() {}
755
756 func (x *DefaultValues) ProtoReflect() protoreflect.Message {
757 mi := &file_testing_proto_msgTypes[10]
758 if protoimpl.UnsafeEnabled && x != nil {
759 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
760 if ms.LoadMessageInfo() == nil {
761 ms.StoreMessageInfo(mi)
762 }
763 return ms
764 }
765 return mi.MessageOf(x)
766 }
767
768
769 func (*DefaultValues) Descriptor() ([]byte, []int) {
770 return file_testing_proto_rawDescGZIP(), []int{10}
771 }
772
773 func (x *DefaultValues) GetId() string {
774 if x != nil && x.Id != nil {
775 return *x.Id
776 }
777 return ""
778 }
779
780 func (x *DefaultValues) GetStrcol() string {
781 if x != nil && x.Strcol != nil {
782 return *x.Strcol
783 }
784 return ""
785 }
786
787 func (x *DefaultValues) GetStrcolWithdef() string {
788 if x != nil && x.StrcolWithdef != nil {
789 return *x.StrcolWithdef
790 }
791 return ""
792 }
793
794 func (x *DefaultValues) GetIntcol() int64 {
795 if x != nil && x.Intcol != nil {
796 return *x.Intcol
797 }
798 return 0
799 }
800
801 func (x *DefaultValues) GetIntcolWithdef() int64 {
802 if x != nil && x.IntcolWithdef != nil {
803 return *x.IntcolWithdef
804 }
805 return 0
806 }
807
808 func (x *DefaultValues) GetOtherstr() string {
809 if x != nil && x.Otherstr != nil {
810 return *x.Otherstr
811 }
812 return ""
813 }
814
815 func (x *DefaultValues) GetOtherstrDefault() string {
816 if x != nil && x.OtherstrDefault != nil {
817 return *x.OtherstrDefault
818 }
819 return ""
820 }
821
822 type DefaultValuesPartialSchema struct {
823 state protoimpl.MessageState
824 sizeCache protoimpl.SizeCache
825 unknownFields protoimpl.UnknownFields
826
827 Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
828 Strcol *string `protobuf:"bytes,2,opt,name=strcol" json:"strcol,omitempty"`
829 StrcolWithdef *string `protobuf:"bytes,3,opt,name=strcol_withdef,json=strcolWithdef" json:"strcol_withdef,omitempty"`
830 Intcol *int64 `protobuf:"varint,4,opt,name=intcol" json:"intcol,omitempty"`
831 IntcolWithdef *int64 `protobuf:"varint,5,opt,name=intcol_withdef,json=intcolWithdef" json:"intcol_withdef,omitempty"`
832 }
833
834 func (x *DefaultValuesPartialSchema) Reset() {
835 *x = DefaultValuesPartialSchema{}
836 if protoimpl.UnsafeEnabled {
837 mi := &file_testing_proto_msgTypes[11]
838 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
839 ms.StoreMessageInfo(mi)
840 }
841 }
842
843 func (x *DefaultValuesPartialSchema) String() string {
844 return protoimpl.X.MessageStringOf(x)
845 }
846
847 func (*DefaultValuesPartialSchema) ProtoMessage() {}
848
849 func (x *DefaultValuesPartialSchema) ProtoReflect() protoreflect.Message {
850 mi := &file_testing_proto_msgTypes[11]
851 if protoimpl.UnsafeEnabled && x != nil {
852 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
853 if ms.LoadMessageInfo() == nil {
854 ms.StoreMessageInfo(mi)
855 }
856 return ms
857 }
858 return mi.MessageOf(x)
859 }
860
861
862 func (*DefaultValuesPartialSchema) Descriptor() ([]byte, []int) {
863 return file_testing_proto_rawDescGZIP(), []int{11}
864 }
865
866 func (x *DefaultValuesPartialSchema) GetId() string {
867 if x != nil && x.Id != nil {
868 return *x.Id
869 }
870 return ""
871 }
872
873 func (x *DefaultValuesPartialSchema) GetStrcol() string {
874 if x != nil && x.Strcol != nil {
875 return *x.Strcol
876 }
877 return ""
878 }
879
880 func (x *DefaultValuesPartialSchema) GetStrcolWithdef() string {
881 if x != nil && x.StrcolWithdef != nil {
882 return *x.StrcolWithdef
883 }
884 return ""
885 }
886
887 func (x *DefaultValuesPartialSchema) GetIntcol() int64 {
888 if x != nil && x.Intcol != nil {
889 return *x.Intcol
890 }
891 return 0
892 }
893
894 func (x *DefaultValuesPartialSchema) GetIntcolWithdef() int64 {
895 if x != nil && x.IntcolWithdef != nil {
896 return *x.IntcolWithdef
897 }
898 return 0
899 }
900
901 var File_testing_proto protoreflect.FileDescriptor
902
903 var file_testing_proto_rawDesc = []byte{
904 0x0a, 0x0d, 0x74, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
905 0x08, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
906 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70,
907 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf9, 0x02, 0x0a, 0x11, 0x41, 0x6c,
908 0x6c, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12,
909 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01,
910 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65,
911 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
912 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
913 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75,
914 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x56,
915 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x76,
916 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x75, 0x69, 0x6e, 0x74,
917 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x6c, 0x6f, 0x61, 0x74,
918 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x66, 0x6c,
919 0x6f, 0x61, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62,
920 0x6c, 0x65, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b,
921 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x62,
922 0x6f, 0x6f, 0x6c, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
923 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x31, 0x0a, 0x0a, 0x65, 0x6e,
924 0x75, 0x6d, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12,
925 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x45, 0x6e,
926 0x75, 0x6d, 0x52, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21, 0x0a,
927 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x09, 0x20,
928 0x02, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65,
929 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75,
930 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x06, 0x52, 0x0c, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34,
931 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xdf, 0x01, 0x0a, 0x12, 0x57, 0x69, 0x74, 0x68, 0x57, 0x65,
932 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b,
933 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
934 0x03, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x40, 0x0a,
935 0x0d, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x02,
936 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
937 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
938 0x65, 0x52, 0x0c, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x64, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
939 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
940 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c,
941 0x75, 0x65, 0x12, 0x43, 0x0a, 0x0e, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x73, 0x74,
942 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f,
943 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72,
944 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x0d, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65,
945 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x21, 0x0a, 0x09, 0x49, 0x6e, 0x6e, 0x65, 0x72,
946 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
947 0x03, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x40, 0x0a, 0x0a, 0x4e, 0x65,
948 0x73, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x0a, 0x69, 0x6e, 0x6e, 0x65,
949 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74,
950 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70,
951 0x65, 0x52, 0x09, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3c, 0x0a, 0x12,
952 0x52, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
953 0x6d, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
954 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18,
955 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0xc6, 0x01, 0x0a, 0x0b, 0x43,
956 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x12, 0x46, 0x0a, 0x14, 0x6e, 0x65,
957 0x73, 0x74, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x79,
958 0x70, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64,
959 0x61, 0x74, 0x61, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x12,
960 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x79,
961 0x70, 0x65, 0x12, 0x32, 0x0a, 0x0a, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65,
962 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74,
963 0x61, 0x2e, 0x49, 0x6e, 0x6e, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x69, 0x6e, 0x6e,
964 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3b, 0x0a, 0x0a, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f,
965 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x65, 0x73,
966 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x54,
967 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x54,
968 0x79, 0x70, 0x65, 0x22, 0x42, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x52,
969 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c,
970 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61,
971 0x74, 0x61, 0x2e, 0x52, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x54, 0x79, 0x70, 0x65,
972 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x42, 0x0a, 0x0d, 0x52, 0x65, 0x63, 0x75, 0x72,
973 0x73, 0x69, 0x76, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c,
974 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61,
975 0x74, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x63, 0x75, 0x72,
976 0x73, 0x69, 0x76, 0x65, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x52, 0x0a, 0x17, 0x52,
977 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x54, 0x79, 0x70, 0x65, 0x54, 0x6f, 0x70, 0x4d,
978 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18,
979 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61,
980 0x2e, 0x52, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x54, 0x79, 0x70, 0x65, 0x54, 0x6f,
981 0x70, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22,
982 0x85, 0x01, 0x0a, 0x09, 0x57, 0x69, 0x74, 0x68, 0x4f, 0x6e, 0x65, 0x4f, 0x66, 0x12, 0x1f, 0x0a,
983 0x0b, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01,
984 0x28, 0x05, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23,
985 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
986 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61,
987 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x61,
988 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x48, 0x00, 0x52, 0x0b, 0x64, 0x6f, 0x75,
989 0x62, 0x6c, 0x65, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f,
990 0x66, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xe4, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x66, 0x61,
991 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
992 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x72,
993 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x72, 0x63, 0x6f,
994 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x63, 0x6f, 0x6c, 0x5f, 0x77, 0x69, 0x74, 0x68,
995 0x64, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x74, 0x72, 0x63, 0x6f,
996 0x6c, 0x57, 0x69, 0x74, 0x68, 0x64, 0x65, 0x66, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x63,
997 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x6e, 0x74, 0x63, 0x6f, 0x6c,
998 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x63, 0x6f, 0x6c, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x64,
999 0x65, 0x66, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x63, 0x6f, 0x6c,
1000 0x57, 0x69, 0x74, 0x68, 0x64, 0x65, 0x66, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x74, 0x68, 0x65, 0x72,
1001 0x73, 0x74, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x74, 0x68, 0x65, 0x72,
1002 0x73, 0x74, 0x72, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x73, 0x74, 0x72, 0x5f,
1003 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f,
1004 0x74, 0x68, 0x65, 0x72, 0x73, 0x74, 0x72, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x22, 0xaa,
1005 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73,
1006 0x50, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x0e, 0x0a,
1007 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a,
1008 0x06, 0x73, 0x74, 0x72, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73,
1009 0x74, 0x72, 0x63, 0x6f, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x72, 0x63, 0x6f, 0x6c, 0x5f,
1010 0x77, 0x69, 0x74, 0x68, 0x64, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73,
1011 0x74, 0x72, 0x63, 0x6f, 0x6c, 0x57, 0x69, 0x74, 0x68, 0x64, 0x65, 0x66, 0x12, 0x16, 0x0a, 0x06,
1012 0x69, 0x6e, 0x74, 0x63, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x69, 0x6e,
1013 0x74, 0x63, 0x6f, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x63, 0x6f, 0x6c, 0x5f, 0x77,
1014 0x69, 0x74, 0x68, 0x64, 0x65, 0x66, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x69, 0x6e,
1015 0x74, 0x63, 0x6f, 0x6c, 0x57, 0x69, 0x74, 0x68, 0x64, 0x65, 0x66, 0x2a, 0x28, 0x0a, 0x08, 0x54,
1016 0x65, 0x73, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x65, 0x73, 0x74, 0x45,
1017 0x6e, 0x75, 0x6d, 0x30, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x65, 0x73, 0x74, 0x45, 0x6e,
1018 0x75, 0x6d, 0x31, 0x10, 0x01, 0x42, 0x3d, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
1019 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67,
1020 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x6d, 0x61,
1021 0x6e, 0x61, 0x67, 0x65, 0x64, 0x77, 0x72, 0x69, 0x74, 0x65, 0x72, 0x2f, 0x74, 0x65, 0x73, 0x74,
1022 0x64, 0x61, 0x74, 0x61,
1023 }
1024
1025 var (
1026 file_testing_proto_rawDescOnce sync.Once
1027 file_testing_proto_rawDescData = file_testing_proto_rawDesc
1028 )
1029
1030 func file_testing_proto_rawDescGZIP() []byte {
1031 file_testing_proto_rawDescOnce.Do(func() {
1032 file_testing_proto_rawDescData = protoimpl.X.CompressGZIP(file_testing_proto_rawDescData)
1033 })
1034 return file_testing_proto_rawDescData
1035 }
1036
1037 var file_testing_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
1038 var file_testing_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
1039 var file_testing_proto_goTypes = []interface{}{
1040 (TestEnum)(0),
1041 (*AllSupportedTypes)(nil),
1042 (*WithWellKnownTypes)(nil),
1043 (*InnerType)(nil),
1044 (*NestedType)(nil),
1045 (*RangeTypeTimestamp)(nil),
1046 (*ComplexType)(nil),
1047 (*ContainsRecursive)(nil),
1048 (*RecursiveType)(nil),
1049 (*RecursiveTypeTopMessage)(nil),
1050 (*WithOneOf)(nil),
1051 (*DefaultValues)(nil),
1052 (*DefaultValuesPartialSchema)(nil),
1053 (*wrapperspb.Int64Value)(nil),
1054 (*wrapperspb.StringValue)(nil),
1055 }
1056 var file_testing_proto_depIdxs = []int32{
1057 0,
1058 13,
1059 14,
1060 3,
1061 4,
1062 3,
1063 5,
1064 8,
1065 7,
1066 9,
1067 10,
1068 10,
1069 10,
1070 10,
1071 0,
1072 }
1073
1074 func init() { file_testing_proto_init() }
1075 func file_testing_proto_init() {
1076 if File_testing_proto != nil {
1077 return
1078 }
1079 if !protoimpl.UnsafeEnabled {
1080 file_testing_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1081 switch v := v.(*AllSupportedTypes); i {
1082 case 0:
1083 return &v.state
1084 case 1:
1085 return &v.sizeCache
1086 case 2:
1087 return &v.unknownFields
1088 default:
1089 return nil
1090 }
1091 }
1092 file_testing_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1093 switch v := v.(*WithWellKnownTypes); i {
1094 case 0:
1095 return &v.state
1096 case 1:
1097 return &v.sizeCache
1098 case 2:
1099 return &v.unknownFields
1100 default:
1101 return nil
1102 }
1103 }
1104 file_testing_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1105 switch v := v.(*InnerType); i {
1106 case 0:
1107 return &v.state
1108 case 1:
1109 return &v.sizeCache
1110 case 2:
1111 return &v.unknownFields
1112 default:
1113 return nil
1114 }
1115 }
1116 file_testing_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1117 switch v := v.(*NestedType); i {
1118 case 0:
1119 return &v.state
1120 case 1:
1121 return &v.sizeCache
1122 case 2:
1123 return &v.unknownFields
1124 default:
1125 return nil
1126 }
1127 }
1128 file_testing_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1129 switch v := v.(*RangeTypeTimestamp); i {
1130 case 0:
1131 return &v.state
1132 case 1:
1133 return &v.sizeCache
1134 case 2:
1135 return &v.unknownFields
1136 default:
1137 return nil
1138 }
1139 }
1140 file_testing_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1141 switch v := v.(*ComplexType); i {
1142 case 0:
1143 return &v.state
1144 case 1:
1145 return &v.sizeCache
1146 case 2:
1147 return &v.unknownFields
1148 default:
1149 return nil
1150 }
1151 }
1152 file_testing_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1153 switch v := v.(*ContainsRecursive); i {
1154 case 0:
1155 return &v.state
1156 case 1:
1157 return &v.sizeCache
1158 case 2:
1159 return &v.unknownFields
1160 default:
1161 return nil
1162 }
1163 }
1164 file_testing_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1165 switch v := v.(*RecursiveType); i {
1166 case 0:
1167 return &v.state
1168 case 1:
1169 return &v.sizeCache
1170 case 2:
1171 return &v.unknownFields
1172 default:
1173 return nil
1174 }
1175 }
1176 file_testing_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1177 switch v := v.(*RecursiveTypeTopMessage); i {
1178 case 0:
1179 return &v.state
1180 case 1:
1181 return &v.sizeCache
1182 case 2:
1183 return &v.unknownFields
1184 default:
1185 return nil
1186 }
1187 }
1188 file_testing_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1189 switch v := v.(*WithOneOf); i {
1190 case 0:
1191 return &v.state
1192 case 1:
1193 return &v.sizeCache
1194 case 2:
1195 return &v.unknownFields
1196 default:
1197 return nil
1198 }
1199 }
1200 file_testing_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1201 switch v := v.(*DefaultValues); i {
1202 case 0:
1203 return &v.state
1204 case 1:
1205 return &v.sizeCache
1206 case 2:
1207 return &v.unknownFields
1208 default:
1209 return nil
1210 }
1211 }
1212 file_testing_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1213 switch v := v.(*DefaultValuesPartialSchema); i {
1214 case 0:
1215 return &v.state
1216 case 1:
1217 return &v.sizeCache
1218 case 2:
1219 return &v.unknownFields
1220 default:
1221 return nil
1222 }
1223 }
1224 }
1225 file_testing_proto_msgTypes[9].OneofWrappers = []interface{}{
1226 (*WithOneOf_StringValue)(nil),
1227 (*WithOneOf_DoubleValue)(nil),
1228 }
1229 type x struct{}
1230 out := protoimpl.TypeBuilder{
1231 File: protoimpl.DescBuilder{
1232 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1233 RawDescriptor: file_testing_proto_rawDesc,
1234 NumEnums: 1,
1235 NumMessages: 12,
1236 NumExtensions: 0,
1237 NumServices: 0,
1238 },
1239 GoTypes: file_testing_proto_goTypes,
1240 DependencyIndexes: file_testing_proto_depIdxs,
1241 EnumInfos: file_testing_proto_enumTypes,
1242 MessageInfos: file_testing_proto_msgTypes,
1243 }.Build()
1244 File_testing_proto = out.File
1245 file_testing_proto_rawDesc = nil
1246 file_testing_proto_goTypes = nil
1247 file_testing_proto_depIdxs = nil
1248 }
1249
View as plain text