xref: /aosp_15_r20/external/golang-protobuf/internal/testprotos/required/required.pb.go (revision 1c12ee1efe575feb122dbf939ff15148a3b3e8f2)
1// 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: internal/testprotos/required/required.proto
7
8package required
9
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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_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_internal_testprotos_required_required_proto protoreflect.FileDescriptor
808
809var file_internal_testprotos_required_required_proto_rawDesc = []byte{
810	0x0a, 0x2b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
811	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x2f, 0x72,
812	0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67,
813	0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73,
814	0x74, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x22, 0x15, 0x0a, 0x05, 0x49, 0x6e, 0x74,
815	0x33, 0x32, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x05, 0x52, 0x01, 0x76,
816	0x22, 0x15, 0x0a, 0x05, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01,
817	0x20, 0x02, 0x28, 0x03, 0x52, 0x01, 0x76, 0x22, 0x16, 0x0a, 0x06, 0x55, 0x69, 0x6e, 0x74, 0x33,
818	0x32, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x01, 0x76, 0x22,
819	0x16, 0x0a, 0x06, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01,
820	0x20, 0x02, 0x28, 0x04, 0x52, 0x01, 0x76, 0x22, 0x16, 0x0a, 0x06, 0x53, 0x69, 0x6e, 0x74, 0x33,
821	0x32, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x11, 0x52, 0x01, 0x76, 0x22,
822	0x16, 0x0a, 0x06, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01,
823	0x20, 0x02, 0x28, 0x12, 0x52, 0x01, 0x76, 0x22, 0x17, 0x0a, 0x07, 0x46, 0x69, 0x78, 0x65, 0x64,
824	0x33, 0x32, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x07, 0x52, 0x01, 0x76,
825	0x22, 0x17, 0x0a, 0x07, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x0c, 0x0a, 0x01, 0x76,
826	0x18, 0x01, 0x20, 0x02, 0x28, 0x06, 0x52, 0x01, 0x76, 0x22, 0x15, 0x0a, 0x05, 0x46, 0x6c, 0x6f,
827	0x61, 0x74, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x02, 0x52, 0x01, 0x76,
828	0x22, 0x16, 0x0a, 0x06, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18,
829	0x01, 0x20, 0x02, 0x28, 0x01, 0x52, 0x01, 0x76, 0x22, 0x14, 0x0a, 0x04, 0x42, 0x6f, 0x6f, 0x6c,
830	0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x08, 0x52, 0x01, 0x76, 0x22, 0x16,
831	0x0a, 0x06, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20,
832	0x02, 0x28, 0x09, 0x52, 0x01, 0x76, 0x22, 0x15, 0x0a, 0x05, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12,
833	0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0c, 0x52, 0x01, 0x76, 0x22, 0x43, 0x0a,
834	0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x33, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20,
835	0x02, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
836	0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
837	0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x52, 0x01, 0x76, 0x1a, 0x03, 0x0a,
838	0x01, 0x4d, 0x22, 0x5d, 0x0a, 0x05, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x3d, 0x0a, 0x05, 0x67,
839	0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0a, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x70,
840	0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x72,
841	0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x47, 0x72,
842	0x6f, 0x75, 0x70, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x1a, 0x15, 0x0a, 0x05, 0x47, 0x72,
843	0x6f, 0x75, 0x70, 0x12, 0x0c, 0x0a, 0x01, 0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x01,
844	0x76, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
845	0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
846	0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f,
847	0x74, 0x6f, 0x73, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
848}
849
850var (
851	file_internal_testprotos_required_required_proto_rawDescOnce sync.Once
852	file_internal_testprotos_required_required_proto_rawDescData = file_internal_testprotos_required_required_proto_rawDesc
853)
854
855func file_internal_testprotos_required_required_proto_rawDescGZIP() []byte {
856	file_internal_testprotos_required_required_proto_rawDescOnce.Do(func() {
857		file_internal_testprotos_required_required_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_required_required_proto_rawDescData)
858	})
859	return file_internal_testprotos_required_required_proto_rawDescData
860}
861
862var file_internal_testprotos_required_required_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
863var file_internal_testprotos_required_required_proto_goTypes = []interface{}{
864	(*Int32)(nil),       // 0: goproto.proto.testrequired.Int32
865	(*Int64)(nil),       // 1: goproto.proto.testrequired.Int64
866	(*Uint32)(nil),      // 2: goproto.proto.testrequired.Uint32
867	(*Uint64)(nil),      // 3: goproto.proto.testrequired.Uint64
868	(*Sint32)(nil),      // 4: goproto.proto.testrequired.Sint32
869	(*Sint64)(nil),      // 5: goproto.proto.testrequired.Sint64
870	(*Fixed32)(nil),     // 6: goproto.proto.testrequired.Fixed32
871	(*Fixed64)(nil),     // 7: goproto.proto.testrequired.Fixed64
872	(*Float)(nil),       // 8: goproto.proto.testrequired.Float
873	(*Double)(nil),      // 9: goproto.proto.testrequired.Double
874	(*Bool)(nil),        // 10: goproto.proto.testrequired.Bool
875	(*String)(nil),      // 11: goproto.proto.testrequired.String
876	(*Bytes)(nil),       // 12: goproto.proto.testrequired.Bytes
877	(*Message)(nil),     // 13: goproto.proto.testrequired.Message
878	(*Group)(nil),       // 14: goproto.proto.testrequired.Group
879	(*Message_M)(nil),   // 15: goproto.proto.testrequired.Message.M
880	(*Group_Group)(nil), // 16: goproto.proto.testrequired.Group.Group
881}
882var file_internal_testprotos_required_required_proto_depIdxs = []int32{
883	15, // 0: goproto.proto.testrequired.Message.v:type_name -> goproto.proto.testrequired.Message.M
884	16, // 1: goproto.proto.testrequired.Group.group:type_name -> goproto.proto.testrequired.Group.Group
885	2,  // [2:2] is the sub-list for method output_type
886	2,  // [2:2] is the sub-list for method input_type
887	2,  // [2:2] is the sub-list for extension type_name
888	2,  // [2:2] is the sub-list for extension extendee
889	0,  // [0:2] is the sub-list for field type_name
890}
891
892func init() { file_internal_testprotos_required_required_proto_init() }
893func file_internal_testprotos_required_required_proto_init() {
894	if File_internal_testprotos_required_required_proto != nil {
895		return
896	}
897	if !protoimpl.UnsafeEnabled {
898		file_internal_testprotos_required_required_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
899			switch v := v.(*Int32); i {
900			case 0:
901				return &v.state
902			case 1:
903				return &v.sizeCache
904			case 2:
905				return &v.unknownFields
906			default:
907				return nil
908			}
909		}
910		file_internal_testprotos_required_required_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
911			switch v := v.(*Int64); i {
912			case 0:
913				return &v.state
914			case 1:
915				return &v.sizeCache
916			case 2:
917				return &v.unknownFields
918			default:
919				return nil
920			}
921		}
922		file_internal_testprotos_required_required_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
923			switch v := v.(*Uint32); i {
924			case 0:
925				return &v.state
926			case 1:
927				return &v.sizeCache
928			case 2:
929				return &v.unknownFields
930			default:
931				return nil
932			}
933		}
934		file_internal_testprotos_required_required_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
935			switch v := v.(*Uint64); i {
936			case 0:
937				return &v.state
938			case 1:
939				return &v.sizeCache
940			case 2:
941				return &v.unknownFields
942			default:
943				return nil
944			}
945		}
946		file_internal_testprotos_required_required_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
947			switch v := v.(*Sint32); i {
948			case 0:
949				return &v.state
950			case 1:
951				return &v.sizeCache
952			case 2:
953				return &v.unknownFields
954			default:
955				return nil
956			}
957		}
958		file_internal_testprotos_required_required_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
959			switch v := v.(*Sint64); i {
960			case 0:
961				return &v.state
962			case 1:
963				return &v.sizeCache
964			case 2:
965				return &v.unknownFields
966			default:
967				return nil
968			}
969		}
970		file_internal_testprotos_required_required_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
971			switch v := v.(*Fixed32); i {
972			case 0:
973				return &v.state
974			case 1:
975				return &v.sizeCache
976			case 2:
977				return &v.unknownFields
978			default:
979				return nil
980			}
981		}
982		file_internal_testprotos_required_required_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
983			switch v := v.(*Fixed64); i {
984			case 0:
985				return &v.state
986			case 1:
987				return &v.sizeCache
988			case 2:
989				return &v.unknownFields
990			default:
991				return nil
992			}
993		}
994		file_internal_testprotos_required_required_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
995			switch v := v.(*Float); i {
996			case 0:
997				return &v.state
998			case 1:
999				return &v.sizeCache
1000			case 2:
1001				return &v.unknownFields
1002			default:
1003				return nil
1004			}
1005		}
1006		file_internal_testprotos_required_required_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1007			switch v := v.(*Double); i {
1008			case 0:
1009				return &v.state
1010			case 1:
1011				return &v.sizeCache
1012			case 2:
1013				return &v.unknownFields
1014			default:
1015				return nil
1016			}
1017		}
1018		file_internal_testprotos_required_required_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1019			switch v := v.(*Bool); i {
1020			case 0:
1021				return &v.state
1022			case 1:
1023				return &v.sizeCache
1024			case 2:
1025				return &v.unknownFields
1026			default:
1027				return nil
1028			}
1029		}
1030		file_internal_testprotos_required_required_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1031			switch v := v.(*String); i {
1032			case 0:
1033				return &v.state
1034			case 1:
1035				return &v.sizeCache
1036			case 2:
1037				return &v.unknownFields
1038			default:
1039				return nil
1040			}
1041		}
1042		file_internal_testprotos_required_required_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1043			switch v := v.(*Bytes); i {
1044			case 0:
1045				return &v.state
1046			case 1:
1047				return &v.sizeCache
1048			case 2:
1049				return &v.unknownFields
1050			default:
1051				return nil
1052			}
1053		}
1054		file_internal_testprotos_required_required_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
1055			switch v := v.(*Message); i {
1056			case 0:
1057				return &v.state
1058			case 1:
1059				return &v.sizeCache
1060			case 2:
1061				return &v.unknownFields
1062			default:
1063				return nil
1064			}
1065		}
1066		file_internal_testprotos_required_required_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
1067			switch v := v.(*Group); i {
1068			case 0:
1069				return &v.state
1070			case 1:
1071				return &v.sizeCache
1072			case 2:
1073				return &v.unknownFields
1074			default:
1075				return nil
1076			}
1077		}
1078		file_internal_testprotos_required_required_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
1079			switch v := v.(*Message_M); i {
1080			case 0:
1081				return &v.state
1082			case 1:
1083				return &v.sizeCache
1084			case 2:
1085				return &v.unknownFields
1086			default:
1087				return nil
1088			}
1089		}
1090		file_internal_testprotos_required_required_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
1091			switch v := v.(*Group_Group); i {
1092			case 0:
1093				return &v.state
1094			case 1:
1095				return &v.sizeCache
1096			case 2:
1097				return &v.unknownFields
1098			default:
1099				return nil
1100			}
1101		}
1102	}
1103	type x struct{}
1104	out := protoimpl.TypeBuilder{
1105		File: protoimpl.DescBuilder{
1106			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1107			RawDescriptor: file_internal_testprotos_required_required_proto_rawDesc,
1108			NumEnums:      0,
1109			NumMessages:   17,
1110			NumExtensions: 0,
1111			NumServices:   0,
1112		},
1113		GoTypes:           file_internal_testprotos_required_required_proto_goTypes,
1114		DependencyIndexes: file_internal_testprotos_required_required_proto_depIdxs,
1115		MessageInfos:      file_internal_testprotos_required_required_proto_msgTypes,
1116	}.Build()
1117	File_internal_testprotos_required_required_proto = out.File
1118	file_internal_testprotos_required_required_proto_rawDesc = nil
1119	file_internal_testprotos_required_required_proto_goTypes = nil
1120	file_internal_testprotos_required_required_proto_depIdxs = nil
1121}
1122