blob: e2b1b876cceba6a22907a714f5de7e17ff471793 [file] [log] [blame]
Damien Neil6635e7d2020-01-15 15:08:57 -08001// Copyright 2020 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// Code generated by protoc-gen-go. DO NOT EDIT.
6// source: required/required.proto
7
Damien Neilf68f1702020-02-04 11:13:57 -08008package goproto_proto_testrequired
Damien Neil6635e7d2020-01-15 15:08:57 -08009
10import (
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 reflect "reflect"
14 sync "sync"
15)
16
17type Int32 struct {
18 state protoimpl.MessageState
19 sizeCache protoimpl.SizeCache
20 unknownFields protoimpl.UnknownFields
21
22 V *int32 `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
23}
24
25func (x *Int32) Reset() {
26 *x = Int32{}
27 if protoimpl.UnsafeEnabled {
28 mi := &file_required_required_proto_msgTypes[0]
29 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
30 ms.StoreMessageInfo(mi)
31 }
32}
33
34func (x *Int32) String() string {
35 return protoimpl.X.MessageStringOf(x)
36}
37
38func (*Int32) ProtoMessage() {}
39
40func (x *Int32) ProtoReflect() protoreflect.Message {
41 mi := &file_required_required_proto_msgTypes[0]
42 if protoimpl.UnsafeEnabled && x != nil {
43 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
44 if ms.LoadMessageInfo() == nil {
45 ms.StoreMessageInfo(mi)
46 }
47 return ms
48 }
49 return mi.MessageOf(x)
50}
51
52// Deprecated: Use Int32.ProtoReflect.Descriptor instead.
53func (*Int32) Descriptor() ([]byte, []int) {
54 return file_required_required_proto_rawDescGZIP(), []int{0}
55}
56
57func (x *Int32) GetV() int32 {
58 if x != nil && x.V != nil {
59 return *x.V
60 }
61 return 0
62}
63
64type Int64 struct {
65 state protoimpl.MessageState
66 sizeCache protoimpl.SizeCache
67 unknownFields protoimpl.UnknownFields
68
69 V *int64 `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
70}
71
72func (x *Int64) Reset() {
73 *x = Int64{}
74 if protoimpl.UnsafeEnabled {
75 mi := &file_required_required_proto_msgTypes[1]
76 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
77 ms.StoreMessageInfo(mi)
78 }
79}
80
81func (x *Int64) String() string {
82 return protoimpl.X.MessageStringOf(x)
83}
84
85func (*Int64) ProtoMessage() {}
86
87func (x *Int64) ProtoReflect() protoreflect.Message {
88 mi := &file_required_required_proto_msgTypes[1]
89 if protoimpl.UnsafeEnabled && x != nil {
90 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
91 if ms.LoadMessageInfo() == nil {
92 ms.StoreMessageInfo(mi)
93 }
94 return ms
95 }
96 return mi.MessageOf(x)
97}
98
99// Deprecated: Use Int64.ProtoReflect.Descriptor instead.
100func (*Int64) Descriptor() ([]byte, []int) {
101 return file_required_required_proto_rawDescGZIP(), []int{1}
102}
103
104func (x *Int64) GetV() int64 {
105 if x != nil && x.V != nil {
106 return *x.V
107 }
108 return 0
109}
110
111type Uint32 struct {
112 state protoimpl.MessageState
113 sizeCache protoimpl.SizeCache
114 unknownFields protoimpl.UnknownFields
115
116 V *uint32 `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
117}
118
119func (x *Uint32) Reset() {
120 *x = Uint32{}
121 if protoimpl.UnsafeEnabled {
122 mi := &file_required_required_proto_msgTypes[2]
123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
124 ms.StoreMessageInfo(mi)
125 }
126}
127
128func (x *Uint32) String() string {
129 return protoimpl.X.MessageStringOf(x)
130}
131
132func (*Uint32) ProtoMessage() {}
133
134func (x *Uint32) ProtoReflect() protoreflect.Message {
135 mi := &file_required_required_proto_msgTypes[2]
136 if protoimpl.UnsafeEnabled && x != nil {
137 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
138 if ms.LoadMessageInfo() == nil {
139 ms.StoreMessageInfo(mi)
140 }
141 return ms
142 }
143 return mi.MessageOf(x)
144}
145
146// Deprecated: Use Uint32.ProtoReflect.Descriptor instead.
147func (*Uint32) Descriptor() ([]byte, []int) {
148 return file_required_required_proto_rawDescGZIP(), []int{2}
149}
150
151func (x *Uint32) GetV() uint32 {
152 if x != nil && x.V != nil {
153 return *x.V
154 }
155 return 0
156}
157
158type Uint64 struct {
159 state protoimpl.MessageState
160 sizeCache protoimpl.SizeCache
161 unknownFields protoimpl.UnknownFields
162
163 V *uint64 `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
164}
165
166func (x *Uint64) Reset() {
167 *x = Uint64{}
168 if protoimpl.UnsafeEnabled {
169 mi := &file_required_required_proto_msgTypes[3]
170 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
171 ms.StoreMessageInfo(mi)
172 }
173}
174
175func (x *Uint64) String() string {
176 return protoimpl.X.MessageStringOf(x)
177}
178
179func (*Uint64) ProtoMessage() {}
180
181func (x *Uint64) ProtoReflect() protoreflect.Message {
182 mi := &file_required_required_proto_msgTypes[3]
183 if protoimpl.UnsafeEnabled && x != nil {
184 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
185 if ms.LoadMessageInfo() == nil {
186 ms.StoreMessageInfo(mi)
187 }
188 return ms
189 }
190 return mi.MessageOf(x)
191}
192
193// Deprecated: Use Uint64.ProtoReflect.Descriptor instead.
194func (*Uint64) Descriptor() ([]byte, []int) {
195 return file_required_required_proto_rawDescGZIP(), []int{3}
196}
197
198func (x *Uint64) GetV() uint64 {
199 if x != nil && x.V != nil {
200 return *x.V
201 }
202 return 0
203}
204
205type Sint32 struct {
206 state protoimpl.MessageState
207 sizeCache protoimpl.SizeCache
208 unknownFields protoimpl.UnknownFields
209
210 V *int32 `protobuf:"zigzag32,1,req,name=v" json:"v,omitempty"`
211}
212
213func (x *Sint32) Reset() {
214 *x = Sint32{}
215 if protoimpl.UnsafeEnabled {
216 mi := &file_required_required_proto_msgTypes[4]
217 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
218 ms.StoreMessageInfo(mi)
219 }
220}
221
222func (x *Sint32) String() string {
223 return protoimpl.X.MessageStringOf(x)
224}
225
226func (*Sint32) ProtoMessage() {}
227
228func (x *Sint32) ProtoReflect() protoreflect.Message {
229 mi := &file_required_required_proto_msgTypes[4]
230 if protoimpl.UnsafeEnabled && x != nil {
231 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
232 if ms.LoadMessageInfo() == nil {
233 ms.StoreMessageInfo(mi)
234 }
235 return ms
236 }
237 return mi.MessageOf(x)
238}
239
240// Deprecated: Use Sint32.ProtoReflect.Descriptor instead.
241func (*Sint32) Descriptor() ([]byte, []int) {
242 return file_required_required_proto_rawDescGZIP(), []int{4}
243}
244
245func (x *Sint32) GetV() int32 {
246 if x != nil && x.V != nil {
247 return *x.V
248 }
249 return 0
250}
251
252type Sint64 struct {
253 state protoimpl.MessageState
254 sizeCache protoimpl.SizeCache
255 unknownFields protoimpl.UnknownFields
256
257 V *int64 `protobuf:"zigzag64,1,req,name=v" json:"v,omitempty"`
258}
259
260func (x *Sint64) Reset() {
261 *x = Sint64{}
262 if protoimpl.UnsafeEnabled {
263 mi := &file_required_required_proto_msgTypes[5]
264 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
265 ms.StoreMessageInfo(mi)
266 }
267}
268
269func (x *Sint64) String() string {
270 return protoimpl.X.MessageStringOf(x)
271}
272
273func (*Sint64) ProtoMessage() {}
274
275func (x *Sint64) ProtoReflect() protoreflect.Message {
276 mi := &file_required_required_proto_msgTypes[5]
277 if protoimpl.UnsafeEnabled && x != nil {
278 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
279 if ms.LoadMessageInfo() == nil {
280 ms.StoreMessageInfo(mi)
281 }
282 return ms
283 }
284 return mi.MessageOf(x)
285}
286
287// Deprecated: Use Sint64.ProtoReflect.Descriptor instead.
288func (*Sint64) Descriptor() ([]byte, []int) {
289 return file_required_required_proto_rawDescGZIP(), []int{5}
290}
291
292func (x *Sint64) GetV() int64 {
293 if x != nil && x.V != nil {
294 return *x.V
295 }
296 return 0
297}
298
299type Fixed32 struct {
300 state protoimpl.MessageState
301 sizeCache protoimpl.SizeCache
302 unknownFields protoimpl.UnknownFields
303
304 V *uint32 `protobuf:"fixed32,1,req,name=v" json:"v,omitempty"`
305}
306
307func (x *Fixed32) Reset() {
308 *x = Fixed32{}
309 if protoimpl.UnsafeEnabled {
310 mi := &file_required_required_proto_msgTypes[6]
311 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
312 ms.StoreMessageInfo(mi)
313 }
314}
315
316func (x *Fixed32) String() string {
317 return protoimpl.X.MessageStringOf(x)
318}
319
320func (*Fixed32) ProtoMessage() {}
321
322func (x *Fixed32) ProtoReflect() protoreflect.Message {
323 mi := &file_required_required_proto_msgTypes[6]
324 if protoimpl.UnsafeEnabled && x != nil {
325 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
326 if ms.LoadMessageInfo() == nil {
327 ms.StoreMessageInfo(mi)
328 }
329 return ms
330 }
331 return mi.MessageOf(x)
332}
333
334// Deprecated: Use Fixed32.ProtoReflect.Descriptor instead.
335func (*Fixed32) Descriptor() ([]byte, []int) {
336 return file_required_required_proto_rawDescGZIP(), []int{6}
337}
338
339func (x *Fixed32) GetV() uint32 {
340 if x != nil && x.V != nil {
341 return *x.V
342 }
343 return 0
344}
345
346type Fixed64 struct {
347 state protoimpl.MessageState
348 sizeCache protoimpl.SizeCache
349 unknownFields protoimpl.UnknownFields
350
351 V *uint64 `protobuf:"fixed64,1,req,name=v" json:"v,omitempty"`
352}
353
354func (x *Fixed64) Reset() {
355 *x = Fixed64{}
356 if protoimpl.UnsafeEnabled {
357 mi := &file_required_required_proto_msgTypes[7]
358 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
359 ms.StoreMessageInfo(mi)
360 }
361}
362
363func (x *Fixed64) String() string {
364 return protoimpl.X.MessageStringOf(x)
365}
366
367func (*Fixed64) ProtoMessage() {}
368
369func (x *Fixed64) ProtoReflect() protoreflect.Message {
370 mi := &file_required_required_proto_msgTypes[7]
371 if protoimpl.UnsafeEnabled && x != nil {
372 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
373 if ms.LoadMessageInfo() == nil {
374 ms.StoreMessageInfo(mi)
375 }
376 return ms
377 }
378 return mi.MessageOf(x)
379}
380
381// Deprecated: Use Fixed64.ProtoReflect.Descriptor instead.
382func (*Fixed64) Descriptor() ([]byte, []int) {
383 return file_required_required_proto_rawDescGZIP(), []int{7}
384}
385
386func (x *Fixed64) GetV() uint64 {
387 if x != nil && x.V != nil {
388 return *x.V
389 }
390 return 0
391}
392
393type Float struct {
394 state protoimpl.MessageState
395 sizeCache protoimpl.SizeCache
396 unknownFields protoimpl.UnknownFields
397
398 V *float32 `protobuf:"fixed32,1,req,name=v" json:"v,omitempty"`
399}
400
401func (x *Float) Reset() {
402 *x = Float{}
403 if protoimpl.UnsafeEnabled {
404 mi := &file_required_required_proto_msgTypes[8]
405 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
406 ms.StoreMessageInfo(mi)
407 }
408}
409
410func (x *Float) String() string {
411 return protoimpl.X.MessageStringOf(x)
412}
413
414func (*Float) ProtoMessage() {}
415
416func (x *Float) ProtoReflect() protoreflect.Message {
417 mi := &file_required_required_proto_msgTypes[8]
418 if protoimpl.UnsafeEnabled && x != nil {
419 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
420 if ms.LoadMessageInfo() == nil {
421 ms.StoreMessageInfo(mi)
422 }
423 return ms
424 }
425 return mi.MessageOf(x)
426}
427
428// Deprecated: Use Float.ProtoReflect.Descriptor instead.
429func (*Float) Descriptor() ([]byte, []int) {
430 return file_required_required_proto_rawDescGZIP(), []int{8}
431}
432
433func (x *Float) GetV() float32 {
434 if x != nil && x.V != nil {
435 return *x.V
436 }
437 return 0
438}
439
440type Double struct {
441 state protoimpl.MessageState
442 sizeCache protoimpl.SizeCache
443 unknownFields protoimpl.UnknownFields
444
445 V *float64 `protobuf:"fixed64,1,req,name=v" json:"v,omitempty"`
446}
447
448func (x *Double) Reset() {
449 *x = Double{}
450 if protoimpl.UnsafeEnabled {
451 mi := &file_required_required_proto_msgTypes[9]
452 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
453 ms.StoreMessageInfo(mi)
454 }
455}
456
457func (x *Double) String() string {
458 return protoimpl.X.MessageStringOf(x)
459}
460
461func (*Double) ProtoMessage() {}
462
463func (x *Double) ProtoReflect() protoreflect.Message {
464 mi := &file_required_required_proto_msgTypes[9]
465 if protoimpl.UnsafeEnabled && x != nil {
466 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
467 if ms.LoadMessageInfo() == nil {
468 ms.StoreMessageInfo(mi)
469 }
470 return ms
471 }
472 return mi.MessageOf(x)
473}
474
475// Deprecated: Use Double.ProtoReflect.Descriptor instead.
476func (*Double) Descriptor() ([]byte, []int) {
477 return file_required_required_proto_rawDescGZIP(), []int{9}
478}
479
480func (x *Double) GetV() float64 {
481 if x != nil && x.V != nil {
482 return *x.V
483 }
484 return 0
485}
486
487type Bool struct {
488 state protoimpl.MessageState
489 sizeCache protoimpl.SizeCache
490 unknownFields protoimpl.UnknownFields
491
492 V *bool `protobuf:"varint,1,req,name=v" json:"v,omitempty"`
493}
494
495func (x *Bool) Reset() {
496 *x = Bool{}
497 if protoimpl.UnsafeEnabled {
498 mi := &file_required_required_proto_msgTypes[10]
499 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
500 ms.StoreMessageInfo(mi)
501 }
502}
503
504func (x *Bool) String() string {
505 return protoimpl.X.MessageStringOf(x)
506}
507
508func (*Bool) ProtoMessage() {}
509
510func (x *Bool) ProtoReflect() protoreflect.Message {
511 mi := &file_required_required_proto_msgTypes[10]
512 if protoimpl.UnsafeEnabled && x != nil {
513 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
514 if ms.LoadMessageInfo() == nil {
515 ms.StoreMessageInfo(mi)
516 }
517 return ms
518 }
519 return mi.MessageOf(x)
520}
521
522// Deprecated: Use Bool.ProtoReflect.Descriptor instead.
523func (*Bool) Descriptor() ([]byte, []int) {
524 return file_required_required_proto_rawDescGZIP(), []int{10}
525}
526
527func (x *Bool) GetV() bool {
528 if x != nil && x.V != nil {
529 return *x.V
530 }
531 return false
532}
533
534type String struct {
535 state protoimpl.MessageState
536 sizeCache protoimpl.SizeCache
537 unknownFields protoimpl.UnknownFields
538
539 V *string `protobuf:"bytes,1,req,name=v" json:"v,omitempty"`
540}
541
542func (x *String) Reset() {
543 *x = String{}
544 if protoimpl.UnsafeEnabled {
545 mi := &file_required_required_proto_msgTypes[11]
546 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
547 ms.StoreMessageInfo(mi)
548 }
549}
550
551func (x *String) String() string {
552 return protoimpl.X.MessageStringOf(x)
553}
554
555func (*String) ProtoMessage() {}
556
557func (x *String) ProtoReflect() protoreflect.Message {
558 mi := &file_required_required_proto_msgTypes[11]
559 if protoimpl.UnsafeEnabled && x != nil {
560 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
561 if ms.LoadMessageInfo() == nil {
562 ms.StoreMessageInfo(mi)
563 }
564 return ms
565 }
566 return mi.MessageOf(x)
567}
568
569// Deprecated: Use String.ProtoReflect.Descriptor instead.
570func (*String) Descriptor() ([]byte, []int) {
571 return file_required_required_proto_rawDescGZIP(), []int{11}
572}
573
574func (x *String) GetV() string {
575 if x != nil && x.V != nil {
576 return *x.V
577 }
578 return ""
579}
580
581type Bytes struct {
582 state protoimpl.MessageState
583 sizeCache protoimpl.SizeCache
584 unknownFields protoimpl.UnknownFields
585
586 V []byte `protobuf:"bytes,1,req,name=v" json:"v,omitempty"`
587}
588
589func (x *Bytes) Reset() {
590 *x = Bytes{}
591 if protoimpl.UnsafeEnabled {
592 mi := &file_required_required_proto_msgTypes[12]
593 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
594 ms.StoreMessageInfo(mi)
595 }
596}
597
598func (x *Bytes) String() string {
599 return protoimpl.X.MessageStringOf(x)
600}
601
602func (*Bytes) ProtoMessage() {}
603
604func (x *Bytes) ProtoReflect() protoreflect.Message {
605 mi := &file_required_required_proto_msgTypes[12]
606 if protoimpl.UnsafeEnabled && x != nil {
607 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
608 if ms.LoadMessageInfo() == nil {
609 ms.StoreMessageInfo(mi)
610 }
611 return ms
612 }
613 return mi.MessageOf(x)
614}
615
616// Deprecated: Use Bytes.ProtoReflect.Descriptor instead.
617func (*Bytes) Descriptor() ([]byte, []int) {
618 return file_required_required_proto_rawDescGZIP(), []int{12}
619}
620
621func (x *Bytes) GetV() []byte {
622 if x != nil {
623 return x.V
624 }
625 return nil
626}
627
628type Message struct {
629 state protoimpl.MessageState
630 sizeCache protoimpl.SizeCache
631 unknownFields protoimpl.UnknownFields
632
633 V *Message_M `protobuf:"bytes,1,req,name=v" json:"v,omitempty"`
634}
635
636func (x *Message) Reset() {
637 *x = Message{}
638 if protoimpl.UnsafeEnabled {
639 mi := &file_required_required_proto_msgTypes[13]
640 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
641 ms.StoreMessageInfo(mi)
642 }
643}
644
645func (x *Message) String() string {
646 return protoimpl.X.MessageStringOf(x)
647}
648
649func (*Message) ProtoMessage() {}
650
651func (x *Message) ProtoReflect() protoreflect.Message {
652 mi := &file_required_required_proto_msgTypes[13]
653 if protoimpl.UnsafeEnabled && x != nil {
654 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
655 if ms.LoadMessageInfo() == nil {
656 ms.StoreMessageInfo(mi)
657 }
658 return ms
659 }
660 return mi.MessageOf(x)
661}
662
663// Deprecated: Use Message.ProtoReflect.Descriptor instead.
664func (*Message) Descriptor() ([]byte, []int) {
665 return file_required_required_proto_rawDescGZIP(), []int{13}
666}
667
668func (x *Message) GetV() *Message_M {
669 if x != nil {
670 return x.V
671 }
672 return nil
673}
674
675type Group struct {
676 state protoimpl.MessageState
677 sizeCache protoimpl.SizeCache
678 unknownFields protoimpl.UnknownFields
679
680 Group *Group_Group `protobuf:"group,1,req,name=Group,json=group" json:"group,omitempty"`
681}
682
683func (x *Group) Reset() {
684 *x = Group{}
685 if protoimpl.UnsafeEnabled {
686 mi := &file_required_required_proto_msgTypes[14]
687 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
688 ms.StoreMessageInfo(mi)
689 }
690}
691
692func (x *Group) String() string {
693 return protoimpl.X.MessageStringOf(x)
694}
695
696func (*Group) ProtoMessage() {}
697
698func (x *Group) ProtoReflect() protoreflect.Message {
699 mi := &file_required_required_proto_msgTypes[14]
700 if protoimpl.UnsafeEnabled && x != nil {
701 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
702 if ms.LoadMessageInfo() == nil {
703 ms.StoreMessageInfo(mi)
704 }
705 return ms
706 }
707 return mi.MessageOf(x)
708}
709
710// Deprecated: Use Group.ProtoReflect.Descriptor instead.
711func (*Group) Descriptor() ([]byte, []int) {
712 return file_required_required_proto_rawDescGZIP(), []int{14}
713}
714
715func (x *Group) GetGroup() *Group_Group {
716 if x != nil {
717 return x.Group
718 }
719 return nil
720}
721
722type Message_M struct {
723 state protoimpl.MessageState
724 sizeCache protoimpl.SizeCache
725 unknownFields protoimpl.UnknownFields
726}
727
728func (x *Message_M) Reset() {
729 *x = Message_M{}
730 if protoimpl.UnsafeEnabled {
731 mi := &file_required_required_proto_msgTypes[15]
732 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
733 ms.StoreMessageInfo(mi)
734 }
735}
736
737func (x *Message_M) String() string {
738 return protoimpl.X.MessageStringOf(x)
739}
740
741func (*Message_M) ProtoMessage() {}
742
743func (x *Message_M) ProtoReflect() protoreflect.Message {
744 mi := &file_required_required_proto_msgTypes[15]
745 if protoimpl.UnsafeEnabled && x != nil {
746 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
747 if ms.LoadMessageInfo() == nil {
748 ms.StoreMessageInfo(mi)
749 }
750 return ms
751 }
752 return mi.MessageOf(x)
753}
754
755// Deprecated: Use Message_M.ProtoReflect.Descriptor instead.
756func (*Message_M) Descriptor() ([]byte, []int) {
757 return file_required_required_proto_rawDescGZIP(), []int{13, 0}
758}
759
760type Group_Group struct {
761 state protoimpl.MessageState
762 sizeCache protoimpl.SizeCache
763 unknownFields protoimpl.UnknownFields
764
765 V *int32 `protobuf:"varint,1,opt,name=v" json:"v,omitempty"`
766}
767
768func (x *Group_Group) Reset() {
769 *x = Group_Group{}
770 if protoimpl.UnsafeEnabled {
771 mi := &file_required_required_proto_msgTypes[16]
772 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
773 ms.StoreMessageInfo(mi)
774 }
775}
776
777func (x *Group_Group) String() string {
778 return protoimpl.X.MessageStringOf(x)
779}
780
781func (*Group_Group) ProtoMessage() {}
782
783func (x *Group_Group) ProtoReflect() protoreflect.Message {
784 mi := &file_required_required_proto_msgTypes[16]
785 if protoimpl.UnsafeEnabled && x != nil {
786 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
787 if ms.LoadMessageInfo() == nil {
788 ms.StoreMessageInfo(mi)
789 }
790 return ms
791 }
792 return mi.MessageOf(x)
793}
794
795// Deprecated: Use Group_Group.ProtoReflect.Descriptor instead.
796func (*Group_Group) Descriptor() ([]byte, []int) {
797 return file_required_required_proto_rawDescGZIP(), []int{14, 0}
798}
799
800func (x *Group_Group) GetV() int32 {
801 if x != nil && x.V != nil {
802 return *x.V
803 }
804 return 0
805}
806
807var File_required_required_proto protoreflect.FileDescriptor
808
809var file_required_required_proto_rawDesc = []byte{
810 0x0a, 0x17, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69,
Damien Neilf68f1702020-02-04 11:13:57 -0800811 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x70, 0x72, 0x6f,
812 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x71,
813 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0x15, 0x0a, 0x05, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x0c,
814 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x05, 0x52, 0x01, 0x76, 0x22, 0x15, 0x0a, 0x05,
815 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x03,
816 0x52, 0x01, 0x76, 0x22, 0x16, 0x0a, 0x06, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x0c, 0x0a,
817 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x01, 0x76, 0x22, 0x16, 0x0a, 0x06, 0x55,
818 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x04,
819 0x52, 0x01, 0x76, 0x22, 0x16, 0x0a, 0x06, 0x53, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x0c, 0x0a,
820 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x11, 0x52, 0x01, 0x76, 0x22, 0x16, 0x0a, 0x06, 0x53,
821 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x12,
822 0x52, 0x01, 0x76, 0x22, 0x17, 0x0a, 0x07, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x0c,
823 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x07, 0x52, 0x01, 0x76, 0x22, 0x17, 0x0a, 0x07,
824 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02,
825 0x28, 0x06, 0x52, 0x01, 0x76, 0x22, 0x15, 0x0a, 0x05, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x0c,
826 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x02, 0x52, 0x01, 0x76, 0x22, 0x16, 0x0a, 0x06,
827 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28,
828 0x01, 0x52, 0x01, 0x76, 0x22, 0x14, 0x0a, 0x04, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x0c, 0x0a, 0x01,
829 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x01, 0x76, 0x22, 0x16, 0x0a, 0x06, 0x53, 0x74,
830 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52,
831 0x01, 0x76, 0x22, 0x15, 0x0a, 0x05, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x0c, 0x0a, 0x01, 0x76,
832 0x18, 0x01, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x01, 0x76, 0x22, 0x43, 0x0a, 0x07, 0x4d, 0x65, 0x73,
833 0x73, 0x61, 0x67, 0x65, 0x12, 0x33, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32,
834 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
835 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x2e, 0x4d, 0x65, 0x73,
836 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x52, 0x01, 0x76, 0x1a, 0x03, 0x0a, 0x01, 0x4d, 0x22, 0x5d,
837 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3d, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70,
838 0x18, 0x01, 0x20, 0x02, 0x28, 0x0a, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
839 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x71, 0x75, 0x69,
840 0x72, 0x65, 0x64, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52,
841 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x15, 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12,
842 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x76,
Damien Neil6635e7d2020-01-15 15:08:57 -0800843}
844
845var (
846 file_required_required_proto_rawDescOnce sync.Once
847 file_required_required_proto_rawDescData = file_required_required_proto_rawDesc
848)
849
850func file_required_required_proto_rawDescGZIP() []byte {
851 file_required_required_proto_rawDescOnce.Do(func() {
852 file_required_required_proto_rawDescData = protoimpl.X.CompressGZIP(file_required_required_proto_rawDescData)
853 })
854 return file_required_required_proto_rawDescData
855}
856
857var file_required_required_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
858var file_required_required_proto_goTypes = []interface{}{
Damien Neilf68f1702020-02-04 11:13:57 -0800859 (*Int32)(nil), // 0: goproto.proto.testrequired.Int32
860 (*Int64)(nil), // 1: goproto.proto.testrequired.Int64
861 (*Uint32)(nil), // 2: goproto.proto.testrequired.Uint32
862 (*Uint64)(nil), // 3: goproto.proto.testrequired.Uint64
863 (*Sint32)(nil), // 4: goproto.proto.testrequired.Sint32
864 (*Sint64)(nil), // 5: goproto.proto.testrequired.Sint64
865 (*Fixed32)(nil), // 6: goproto.proto.testrequired.Fixed32
866 (*Fixed64)(nil), // 7: goproto.proto.testrequired.Fixed64
867 (*Float)(nil), // 8: goproto.proto.testrequired.Float
868 (*Double)(nil), // 9: goproto.proto.testrequired.Double
869 (*Bool)(nil), // 10: goproto.proto.testrequired.Bool
870 (*String)(nil), // 11: goproto.proto.testrequired.String
871 (*Bytes)(nil), // 12: goproto.proto.testrequired.Bytes
872 (*Message)(nil), // 13: goproto.proto.testrequired.Message
873 (*Group)(nil), // 14: goproto.proto.testrequired.Group
874 (*Message_M)(nil), // 15: goproto.proto.testrequired.Message.M
875 (*Group_Group)(nil), // 16: goproto.proto.testrequired.Group.Group
Damien Neil6635e7d2020-01-15 15:08:57 -0800876}
877var file_required_required_proto_depIdxs = []int32{
Damien Neilf68f1702020-02-04 11:13:57 -0800878 15, // 0: goproto.proto.testrequired.Message.v:type_name -> goproto.proto.testrequired.Message.M
879 16, // 1: goproto.proto.testrequired.Group.group:type_name -> goproto.proto.testrequired.Group.Group
Damien Neil6635e7d2020-01-15 15:08:57 -0800880 2, // [2:2] is the sub-list for method output_type
881 2, // [2:2] is the sub-list for method input_type
882 2, // [2:2] is the sub-list for extension type_name
883 2, // [2:2] is the sub-list for extension extendee
884 0, // [0:2] is the sub-list for field type_name
885}
886
887func init() { file_required_required_proto_init() }
888func file_required_required_proto_init() {
889 if File_required_required_proto != nil {
890 return
891 }
892 if !protoimpl.UnsafeEnabled {
893 file_required_required_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
894 switch v := v.(*Int32); i {
895 case 0:
896 return &v.state
897 case 1:
898 return &v.sizeCache
899 case 2:
900 return &v.unknownFields
901 default:
902 return nil
903 }
904 }
905 file_required_required_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
906 switch v := v.(*Int64); i {
907 case 0:
908 return &v.state
909 case 1:
910 return &v.sizeCache
911 case 2:
912 return &v.unknownFields
913 default:
914 return nil
915 }
916 }
917 file_required_required_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
918 switch v := v.(*Uint32); i {
919 case 0:
920 return &v.state
921 case 1:
922 return &v.sizeCache
923 case 2:
924 return &v.unknownFields
925 default:
926 return nil
927 }
928 }
929 file_required_required_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
930 switch v := v.(*Uint64); i {
931 case 0:
932 return &v.state
933 case 1:
934 return &v.sizeCache
935 case 2:
936 return &v.unknownFields
937 default:
938 return nil
939 }
940 }
941 file_required_required_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
942 switch v := v.(*Sint32); i {
943 case 0:
944 return &v.state
945 case 1:
946 return &v.sizeCache
947 case 2:
948 return &v.unknownFields
949 default:
950 return nil
951 }
952 }
953 file_required_required_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
954 switch v := v.(*Sint64); i {
955 case 0:
956 return &v.state
957 case 1:
958 return &v.sizeCache
959 case 2:
960 return &v.unknownFields
961 default:
962 return nil
963 }
964 }
965 file_required_required_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
966 switch v := v.(*Fixed32); i {
967 case 0:
968 return &v.state
969 case 1:
970 return &v.sizeCache
971 case 2:
972 return &v.unknownFields
973 default:
974 return nil
975 }
976 }
977 file_required_required_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
978 switch v := v.(*Fixed64); i {
979 case 0:
980 return &v.state
981 case 1:
982 return &v.sizeCache
983 case 2:
984 return &v.unknownFields
985 default:
986 return nil
987 }
988 }
989 file_required_required_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
990 switch v := v.(*Float); i {
991 case 0:
992 return &v.state
993 case 1:
994 return &v.sizeCache
995 case 2:
996 return &v.unknownFields
997 default:
998 return nil
999 }
1000 }
1001 file_required_required_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1002 switch v := v.(*Double); i {
1003 case 0:
1004 return &v.state
1005 case 1:
1006 return &v.sizeCache
1007 case 2:
1008 return &v.unknownFields
1009 default:
1010 return nil
1011 }
1012 }
1013 file_required_required_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1014 switch v := v.(*Bool); i {
1015 case 0:
1016 return &v.state
1017 case 1:
1018 return &v.sizeCache
1019 case 2:
1020 return &v.unknownFields
1021 default:
1022 return nil
1023 }
1024 }
1025 file_required_required_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1026 switch v := v.(*String); i {
1027 case 0:
1028 return &v.state
1029 case 1:
1030 return &v.sizeCache
1031 case 2:
1032 return &v.unknownFields
1033 default:
1034 return nil
1035 }
1036 }
1037 file_required_required_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1038 switch v := v.(*Bytes); i {
1039 case 0:
1040 return &v.state
1041 case 1:
1042 return &v.sizeCache
1043 case 2:
1044 return &v.unknownFields
1045 default:
1046 return nil
1047 }
1048 }
1049 file_required_required_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
1050 switch v := v.(*Message); i {
1051 case 0:
1052 return &v.state
1053 case 1:
1054 return &v.sizeCache
1055 case 2:
1056 return &v.unknownFields
1057 default:
1058 return nil
1059 }
1060 }
1061 file_required_required_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
1062 switch v := v.(*Group); i {
1063 case 0:
1064 return &v.state
1065 case 1:
1066 return &v.sizeCache
1067 case 2:
1068 return &v.unknownFields
1069 default:
1070 return nil
1071 }
1072 }
1073 file_required_required_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
1074 switch v := v.(*Message_M); i {
1075 case 0:
1076 return &v.state
1077 case 1:
1078 return &v.sizeCache
1079 case 2:
1080 return &v.unknownFields
1081 default:
1082 return nil
1083 }
1084 }
1085 file_required_required_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
1086 switch v := v.(*Group_Group); i {
1087 case 0:
1088 return &v.state
1089 case 1:
1090 return &v.sizeCache
1091 case 2:
1092 return &v.unknownFields
1093 default:
1094 return nil
1095 }
1096 }
1097 }
1098 type x struct{}
1099 out := protoimpl.TypeBuilder{
1100 File: protoimpl.DescBuilder{
1101 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1102 RawDescriptor: file_required_required_proto_rawDesc,
1103 NumEnums: 0,
1104 NumMessages: 17,
1105 NumExtensions: 0,
1106 NumServices: 0,
1107 },
1108 GoTypes: file_required_required_proto_goTypes,
1109 DependencyIndexes: file_required_required_proto_depIdxs,
1110 MessageInfos: file_required_required_proto_msgTypes,
1111 }.Build()
1112 File_required_required_proto = out.File
1113 file_required_required_proto_rawDesc = nil
1114 file_required_required_proto_goTypes = nil
1115 file_required_required_proto_depIdxs = nil
1116}