1// Copyright 2019 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/fuzz/fuzz.proto
7
8package fuzz
9
10import (
11	test "google.golang.org/protobuf/internal/testprotos/test"
12	test3 "google.golang.org/protobuf/internal/testprotos/test3"
13	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15	reflect "reflect"
16	sync "sync"
17)
18
19// Fuzz is a container for every message we want to make available to the fuzzer.
20type Fuzz struct {
21	state         protoimpl.MessageState
22	sizeCache     protoimpl.SizeCache
23	unknownFields protoimpl.UnknownFields
24
25	TestAllTypes            *test.TestAllTypes            `protobuf:"bytes,1,opt,name=test_all_types,json=testAllTypes" json:"test_all_types,omitempty"`
26	TestAllExtensions       *test.TestAllExtensions       `protobuf:"bytes,2,opt,name=test_all_extensions,json=testAllExtensions" json:"test_all_extensions,omitempty"`
27	TestRequired            *test.TestRequired            `protobuf:"bytes,3,opt,name=test_required,json=testRequired" json:"test_required,omitempty"`
28	TestRequiredForeign     *test.TestRequiredForeign     `protobuf:"bytes,4,opt,name=test_required_foreign,json=testRequiredForeign" json:"test_required_foreign,omitempty"`
29	TestRequiredGroupFields *test.TestRequiredGroupFields `protobuf:"bytes,5,opt,name=test_required_group_fields,json=testRequiredGroupFields" json:"test_required_group_fields,omitempty"`
30	TestPackedTypes         *test.TestPackedTypes         `protobuf:"bytes,6,opt,name=test_packed_types,json=testPackedTypes" json:"test_packed_types,omitempty"`
31	TestPackedExtensions    *test.TestPackedExtensions    `protobuf:"bytes,7,opt,name=test_packed_extensions,json=testPackedExtensions" json:"test_packed_extensions,omitempty"`
32	TestAllTypes3           *test3.TestAllTypes           `protobuf:"bytes,8,opt,name=test_all_types3,json=testAllTypes3" json:"test_all_types3,omitempty"`
33}
34
35func (x *Fuzz) Reset() {
36	*x = Fuzz{}
37	if protoimpl.UnsafeEnabled {
38		mi := &file_internal_testprotos_fuzz_fuzz_proto_msgTypes[0]
39		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
40		ms.StoreMessageInfo(mi)
41	}
42}
43
44func (x *Fuzz) String() string {
45	return protoimpl.X.MessageStringOf(x)
46}
47
48func (*Fuzz) ProtoMessage() {}
49
50func (x *Fuzz) ProtoReflect() protoreflect.Message {
51	mi := &file_internal_testprotos_fuzz_fuzz_proto_msgTypes[0]
52	if protoimpl.UnsafeEnabled && x != nil {
53		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54		if ms.LoadMessageInfo() == nil {
55			ms.StoreMessageInfo(mi)
56		}
57		return ms
58	}
59	return mi.MessageOf(x)
60}
61
62// Deprecated: Use Fuzz.ProtoReflect.Descriptor instead.
63func (*Fuzz) Descriptor() ([]byte, []int) {
64	return file_internal_testprotos_fuzz_fuzz_proto_rawDescGZIP(), []int{0}
65}
66
67func (x *Fuzz) GetTestAllTypes() *test.TestAllTypes {
68	if x != nil {
69		return x.TestAllTypes
70	}
71	return nil
72}
73
74func (x *Fuzz) GetTestAllExtensions() *test.TestAllExtensions {
75	if x != nil {
76		return x.TestAllExtensions
77	}
78	return nil
79}
80
81func (x *Fuzz) GetTestRequired() *test.TestRequired {
82	if x != nil {
83		return x.TestRequired
84	}
85	return nil
86}
87
88func (x *Fuzz) GetTestRequiredForeign() *test.TestRequiredForeign {
89	if x != nil {
90		return x.TestRequiredForeign
91	}
92	return nil
93}
94
95func (x *Fuzz) GetTestRequiredGroupFields() *test.TestRequiredGroupFields {
96	if x != nil {
97		return x.TestRequiredGroupFields
98	}
99	return nil
100}
101
102func (x *Fuzz) GetTestPackedTypes() *test.TestPackedTypes {
103	if x != nil {
104		return x.TestPackedTypes
105	}
106	return nil
107}
108
109func (x *Fuzz) GetTestPackedExtensions() *test.TestPackedExtensions {
110	if x != nil {
111		return x.TestPackedExtensions
112	}
113	return nil
114}
115
116func (x *Fuzz) GetTestAllTypes3() *test3.TestAllTypes {
117	if x != nil {
118		return x.TestAllTypes3
119	}
120	return nil
121}
122
123var File_internal_testprotos_fuzz_fuzz_proto protoreflect.FileDescriptor
124
125var file_internal_testprotos_fuzz_fuzz_proto_rawDesc = []byte{
126	0x0a, 0x23, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
127	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x66, 0x75, 0x7a, 0x7a, 0x2f, 0x66, 0x75, 0x7a, 0x7a, 0x2e,
128	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
129	0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x66, 0x75, 0x7a, 0x7a, 0x1a, 0x23, 0x69, 0x6e, 0x74, 0x65, 0x72,
130	0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74,
131	0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24,
132	0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f,
133	0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x70,
134	0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x05, 0x0a, 0x04, 0x46, 0x75, 0x7a, 0x7a, 0x12, 0x46, 0x0a,
135	0x0e, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18,
136	0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
137	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41,
138	0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x0c, 0x74, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c,
139	0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x55, 0x0a, 0x13, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x6c,
140	0x6c, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01,
141	0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
142	0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x45,
143	0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x11, 0x74, 0x65, 0x73, 0x74, 0x41,
144	0x6c, 0x6c, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x45, 0x0a, 0x0d,
145	0x74, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20,
146	0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72,
147	0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71,
148	0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x0c, 0x74, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69,
149	0x72, 0x65, 0x64, 0x12, 0x5b, 0x0a, 0x15, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75,
150	0x69, 0x72, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x18, 0x04, 0x20, 0x01,
151	0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f,
152	0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
153	0x69, 0x72, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x52, 0x13, 0x74, 0x65, 0x73,
154	0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e,
155	0x12, 0x68, 0x0a, 0x1a, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
156	0x64, 0x5f, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x05,
157	0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
158	0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65,
159	0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64,
160	0x73, 0x52, 0x17, 0x74, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x47,
161	0x72, 0x6f, 0x75, 0x70, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x4f, 0x0a, 0x11, 0x74, 0x65,
162	0x73, 0x74, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18,
163	0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
164	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x50,
165	0x61, 0x63, 0x6b, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x0f, 0x74, 0x65, 0x73, 0x74,
166	0x50, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x5e, 0x0a, 0x16, 0x74,
167	0x65, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e,
168	0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f,
169	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
170	0x2e, 0x54, 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x45, 0x78, 0x74, 0x65, 0x6e,
171	0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x14, 0x74, 0x65, 0x73, 0x74, 0x50, 0x61, 0x63, 0x6b, 0x65,
172	0x64, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x49, 0x0a, 0x0f, 0x74,
173	0x65, 0x73, 0x74, 0x5f, 0x61, 0x6c, 0x6c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x33, 0x18, 0x08,
174	0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70,
175	0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x33, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x41,
176	0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x0d, 0x74, 0x65, 0x73, 0x74, 0x41, 0x6c, 0x6c,
177	0x54, 0x79, 0x70, 0x65, 0x73, 0x33, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
178	0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74,
179	0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65,
180	0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x66, 0x75, 0x7a, 0x7a,
181}
182
183var (
184	file_internal_testprotos_fuzz_fuzz_proto_rawDescOnce sync.Once
185	file_internal_testprotos_fuzz_fuzz_proto_rawDescData = file_internal_testprotos_fuzz_fuzz_proto_rawDesc
186)
187
188func file_internal_testprotos_fuzz_fuzz_proto_rawDescGZIP() []byte {
189	file_internal_testprotos_fuzz_fuzz_proto_rawDescOnce.Do(func() {
190		file_internal_testprotos_fuzz_fuzz_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_fuzz_fuzz_proto_rawDescData)
191	})
192	return file_internal_testprotos_fuzz_fuzz_proto_rawDescData
193}
194
195var file_internal_testprotos_fuzz_fuzz_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
196var file_internal_testprotos_fuzz_fuzz_proto_goTypes = []interface{}{
197	(*Fuzz)(nil),                         // 0: goproto.proto.fuzz.Fuzz
198	(*test.TestAllTypes)(nil),            // 1: goproto.proto.test.TestAllTypes
199	(*test.TestAllExtensions)(nil),       // 2: goproto.proto.test.TestAllExtensions
200	(*test.TestRequired)(nil),            // 3: goproto.proto.test.TestRequired
201	(*test.TestRequiredForeign)(nil),     // 4: goproto.proto.test.TestRequiredForeign
202	(*test.TestRequiredGroupFields)(nil), // 5: goproto.proto.test.TestRequiredGroupFields
203	(*test.TestPackedTypes)(nil),         // 6: goproto.proto.test.TestPackedTypes
204	(*test.TestPackedExtensions)(nil),    // 7: goproto.proto.test.TestPackedExtensions
205	(*test3.TestAllTypes)(nil),           // 8: goproto.proto.test3.TestAllTypes
206}
207var file_internal_testprotos_fuzz_fuzz_proto_depIdxs = []int32{
208	1, // 0: goproto.proto.fuzz.Fuzz.test_all_types:type_name -> goproto.proto.test.TestAllTypes
209	2, // 1: goproto.proto.fuzz.Fuzz.test_all_extensions:type_name -> goproto.proto.test.TestAllExtensions
210	3, // 2: goproto.proto.fuzz.Fuzz.test_required:type_name -> goproto.proto.test.TestRequired
211	4, // 3: goproto.proto.fuzz.Fuzz.test_required_foreign:type_name -> goproto.proto.test.TestRequiredForeign
212	5, // 4: goproto.proto.fuzz.Fuzz.test_required_group_fields:type_name -> goproto.proto.test.TestRequiredGroupFields
213	6, // 5: goproto.proto.fuzz.Fuzz.test_packed_types:type_name -> goproto.proto.test.TestPackedTypes
214	7, // 6: goproto.proto.fuzz.Fuzz.test_packed_extensions:type_name -> goproto.proto.test.TestPackedExtensions
215	8, // 7: goproto.proto.fuzz.Fuzz.test_all_types3:type_name -> goproto.proto.test3.TestAllTypes
216	8, // [8:8] is the sub-list for method output_type
217	8, // [8:8] is the sub-list for method input_type
218	8, // [8:8] is the sub-list for extension type_name
219	8, // [8:8] is the sub-list for extension extendee
220	0, // [0:8] is the sub-list for field type_name
221}
222
223func init() { file_internal_testprotos_fuzz_fuzz_proto_init() }
224func file_internal_testprotos_fuzz_fuzz_proto_init() {
225	if File_internal_testprotos_fuzz_fuzz_proto != nil {
226		return
227	}
228	if !protoimpl.UnsafeEnabled {
229		file_internal_testprotos_fuzz_fuzz_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
230			switch v := v.(*Fuzz); i {
231			case 0:
232				return &v.state
233			case 1:
234				return &v.sizeCache
235			case 2:
236				return &v.unknownFields
237			default:
238				return nil
239			}
240		}
241	}
242	type x struct{}
243	out := protoimpl.TypeBuilder{
244		File: protoimpl.DescBuilder{
245			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
246			RawDescriptor: file_internal_testprotos_fuzz_fuzz_proto_rawDesc,
247			NumEnums:      0,
248			NumMessages:   1,
249			NumExtensions: 0,
250			NumServices:   0,
251		},
252		GoTypes:           file_internal_testprotos_fuzz_fuzz_proto_goTypes,
253		DependencyIndexes: file_internal_testprotos_fuzz_fuzz_proto_depIdxs,
254		MessageInfos:      file_internal_testprotos_fuzz_fuzz_proto_msgTypes,
255	}.Build()
256	File_internal_testprotos_fuzz_fuzz_proto = out.File
257	file_internal_testprotos_fuzz_fuzz_proto_rawDesc = nil
258	file_internal_testprotos_fuzz_fuzz_proto_goTypes = nil
259	file_internal_testprotos_fuzz_fuzz_proto_depIdxs = nil
260}
261