Coverage Report

Created: 2026-06-30 07:08

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/solidity/test/tools/ossfuzz/abiV2Proto.pb.cc
Line
Count
Source
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: abiV2Proto.proto
3
4
#include "abiV2Proto.pb.h"
5
6
#include <algorithm>
7
8
#include <google/protobuf/io/coded_stream.h>
9
#include <google/protobuf/extension_set.h>
10
#include <google/protobuf/wire_format_lite.h>
11
#include <google/protobuf/descriptor.h>
12
#include <google/protobuf/generated_message_reflection.h>
13
#include <google/protobuf/reflection_ops.h>
14
#include <google/protobuf/wire_format.h>
15
// @@protoc_insertion_point(includes)
16
#include <google/protobuf/port_def.inc>
17
18
PROTOBUF_PRAGMA_INIT_SEG
19
20
namespace _pb = ::PROTOBUF_NAMESPACE_ID;
21
namespace _pbi = _pb::internal;
22
23
namespace solidity {
24
namespace test {
25
namespace abiv2fuzzer {
26
PROTOBUF_CONSTEXPR BoolType::BoolType(
27
    ::_pbi::ConstantInitialized) {}
28
struct BoolTypeDefaultTypeInternal {
29
  PROTOBUF_CONSTEXPR BoolTypeDefaultTypeInternal()
30
0
      : _instance(::_pbi::ConstantInitialized{}) {}
31
0
  ~BoolTypeDefaultTypeInternal() {}
32
  union {
33
    BoolType _instance;
34
  };
35
};
36
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BoolTypeDefaultTypeInternal _BoolType_default_instance_;
37
PROTOBUF_CONSTEXPR IntegerType::IntegerType(
38
    ::_pbi::ConstantInitialized): _impl_{
39
    /*decltype(_impl_._has_bits_)*/{}
40
  , /*decltype(_impl_._cached_size_)*/{}
41
  , /*decltype(_impl_.is_signed_)*/false
42
  , /*decltype(_impl_.width_)*/0u} {}
43
struct IntegerTypeDefaultTypeInternal {
44
  PROTOBUF_CONSTEXPR IntegerTypeDefaultTypeInternal()
45
0
      : _instance(::_pbi::ConstantInitialized{}) {}
46
0
  ~IntegerTypeDefaultTypeInternal() {}
47
  union {
48
    IntegerType _instance;
49
  };
50
};
51
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 IntegerTypeDefaultTypeInternal _IntegerType_default_instance_;
52
PROTOBUF_CONSTEXPR FixedByteType::FixedByteType(
53
    ::_pbi::ConstantInitialized): _impl_{
54
    /*decltype(_impl_._has_bits_)*/{}
55
  , /*decltype(_impl_._cached_size_)*/{}
56
  , /*decltype(_impl_.width_)*/0u} {}
57
struct FixedByteTypeDefaultTypeInternal {
58
  PROTOBUF_CONSTEXPR FixedByteTypeDefaultTypeInternal()
59
0
      : _instance(::_pbi::ConstantInitialized{}) {}
60
0
  ~FixedByteTypeDefaultTypeInternal() {}
61
  union {
62
    FixedByteType _instance;
63
  };
64
};
65
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FixedByteTypeDefaultTypeInternal _FixedByteType_default_instance_;
66
PROTOBUF_CONSTEXPR AddressType::AddressType(
67
    ::_pbi::ConstantInitialized) {}
68
struct AddressTypeDefaultTypeInternal {
69
  PROTOBUF_CONSTEXPR AddressTypeDefaultTypeInternal()
70
0
      : _instance(::_pbi::ConstantInitialized{}) {}
71
0
  ~AddressTypeDefaultTypeInternal() {}
72
  union {
73
    AddressType _instance;
74
  };
75
};
76
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AddressTypeDefaultTypeInternal _AddressType_default_instance_;
77
PROTOBUF_CONSTEXPR ValueType::ValueType(
78
    ::_pbi::ConstantInitialized): _impl_{
79
    /*decltype(_impl_.value_type_oneof_)*/{}
80
  , /*decltype(_impl_._cached_size_)*/{}
81
  , /*decltype(_impl_._oneof_case_)*/{}} {}
82
struct ValueTypeDefaultTypeInternal {
83
  PROTOBUF_CONSTEXPR ValueTypeDefaultTypeInternal()
84
0
      : _instance(::_pbi::ConstantInitialized{}) {}
85
0
  ~ValueTypeDefaultTypeInternal() {}
86
  union {
87
    ValueType _instance;
88
  };
89
};
90
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ValueTypeDefaultTypeInternal _ValueType_default_instance_;
91
PROTOBUF_CONSTEXPR DynamicByteArrayType::DynamicByteArrayType(
92
    ::_pbi::ConstantInitialized) {}
93
struct DynamicByteArrayTypeDefaultTypeInternal {
94
  PROTOBUF_CONSTEXPR DynamicByteArrayTypeDefaultTypeInternal()
95
0
      : _instance(::_pbi::ConstantInitialized{}) {}
96
0
  ~DynamicByteArrayTypeDefaultTypeInternal() {}
97
  union {
98
    DynamicByteArrayType _instance;
99
  };
100
};
101
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DynamicByteArrayTypeDefaultTypeInternal _DynamicByteArrayType_default_instance_;
102
PROTOBUF_CONSTEXPR ArrayType::ArrayType(
103
    ::_pbi::ConstantInitialized): _impl_{
104
    /*decltype(_impl_._has_bits_)*/{}
105
  , /*decltype(_impl_._cached_size_)*/{}
106
  , /*decltype(_impl_.t_)*/nullptr
107
  , /*decltype(_impl_.length_)*/0u
108
  , /*decltype(_impl_.is_static_)*/false} {}
109
struct ArrayTypeDefaultTypeInternal {
110
  PROTOBUF_CONSTEXPR ArrayTypeDefaultTypeInternal()
111
0
      : _instance(::_pbi::ConstantInitialized{}) {}
112
0
  ~ArrayTypeDefaultTypeInternal() {}
113
  union {
114
    ArrayType _instance;
115
  };
116
};
117
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ArrayTypeDefaultTypeInternal _ArrayType_default_instance_;
118
PROTOBUF_CONSTEXPR StructType::StructType(
119
    ::_pbi::ConstantInitialized): _impl_{
120
    /*decltype(_impl_.t_)*/{}
121
  , /*decltype(_impl_._cached_size_)*/{}} {}
122
struct StructTypeDefaultTypeInternal {
123
  PROTOBUF_CONSTEXPR StructTypeDefaultTypeInternal()
124
0
      : _instance(::_pbi::ConstantInitialized{}) {}
125
0
  ~StructTypeDefaultTypeInternal() {}
126
  union {
127
    StructType _instance;
128
  };
129
};
130
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StructTypeDefaultTypeInternal _StructType_default_instance_;
131
PROTOBUF_CONSTEXPR NonValueType::NonValueType(
132
    ::_pbi::ConstantInitialized): _impl_{
133
    /*decltype(_impl_.nonvalue_type_oneof_)*/{}
134
  , /*decltype(_impl_._cached_size_)*/{}
135
  , /*decltype(_impl_._oneof_case_)*/{}} {}
136
struct NonValueTypeDefaultTypeInternal {
137
  PROTOBUF_CONSTEXPR NonValueTypeDefaultTypeInternal()
138
0
      : _instance(::_pbi::ConstantInitialized{}) {}
139
0
  ~NonValueTypeDefaultTypeInternal() {}
140
  union {
141
    NonValueType _instance;
142
  };
143
};
144
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NonValueTypeDefaultTypeInternal _NonValueType_default_instance_;
145
PROTOBUF_CONSTEXPR Type::Type(
146
    ::_pbi::ConstantInitialized): _impl_{
147
    /*decltype(_impl_.type_oneof_)*/{}
148
  , /*decltype(_impl_._cached_size_)*/{}
149
  , /*decltype(_impl_._oneof_case_)*/{}} {}
150
struct TypeDefaultTypeInternal {
151
  PROTOBUF_CONSTEXPR TypeDefaultTypeInternal()
152
0
      : _instance(::_pbi::ConstantInitialized{}) {}
153
0
  ~TypeDefaultTypeInternal() {}
154
  union {
155
    Type _instance;
156
  };
157
};
158
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TypeDefaultTypeInternal _Type_default_instance_;
159
PROTOBUF_CONSTEXPR VarDecl::VarDecl(
160
    ::_pbi::ConstantInitialized): _impl_{
161
    /*decltype(_impl_._has_bits_)*/{}
162
  , /*decltype(_impl_._cached_size_)*/{}
163
  , /*decltype(_impl_.type_)*/nullptr} {}
164
struct VarDeclDefaultTypeInternal {
165
  PROTOBUF_CONSTEXPR VarDeclDefaultTypeInternal()
166
0
      : _instance(::_pbi::ConstantInitialized{}) {}
167
0
  ~VarDeclDefaultTypeInternal() {}
168
  union {
169
    VarDecl _instance;
170
  };
171
};
172
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VarDeclDefaultTypeInternal _VarDecl_default_instance_;
173
PROTOBUF_CONSTEXPR TestFunction::TestFunction(
174
    ::_pbi::ConstantInitialized): _impl_{
175
    /*decltype(_impl_._has_bits_)*/{}
176
  , /*decltype(_impl_._cached_size_)*/{}
177
  , /*decltype(_impl_.local_vars_)*/nullptr
178
  , /*decltype(_impl_.invalid_encoding_length_)*/uint64_t{0u}} {}
179
struct TestFunctionDefaultTypeInternal {
180
  PROTOBUF_CONSTEXPR TestFunctionDefaultTypeInternal()
181
0
      : _instance(::_pbi::ConstantInitialized{}) {}
182
0
  ~TestFunctionDefaultTypeInternal() {}
183
  union {
184
    TestFunction _instance;
185
  };
186
};
187
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TestFunctionDefaultTypeInternal _TestFunction_default_instance_;
188
PROTOBUF_CONSTEXPR Contract::Contract(
189
    ::_pbi::ConstantInitialized): _impl_{
190
    /*decltype(_impl_._has_bits_)*/{}
191
  , /*decltype(_impl_._cached_size_)*/{}
192
  , /*decltype(_impl_.state_vars_)*/nullptr
193
  , /*decltype(_impl_.testfunction_)*/nullptr
194
  , /*decltype(_impl_.seed_)*/0u
195
  , /*decltype(_impl_.test_)*/1} {}
196
struct ContractDefaultTypeInternal {
197
  PROTOBUF_CONSTEXPR ContractDefaultTypeInternal()
198
0
      : _instance(::_pbi::ConstantInitialized{}) {}
199
0
  ~ContractDefaultTypeInternal() {}
200
  union {
201
    Contract _instance;
202
  };
203
};
204
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContractDefaultTypeInternal _Contract_default_instance_;
205
}  // namespace abiv2fuzzer
206
}  // namespace test
207
}  // namespace solidity
208
static ::_pb::Metadata file_level_metadata_abiV2Proto_2eproto[13];
209
static const ::_pb::EnumDescriptor* file_level_enum_descriptors_abiV2Proto_2eproto[1];
210
static constexpr ::_pb::ServiceDescriptor const** file_level_service_descriptors_abiV2Proto_2eproto = nullptr;
211
212
const uint32_t TableStruct_abiV2Proto_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
213
  ~0u,  // no _has_bits_
214
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::BoolType, _internal_metadata_),
215
  ~0u,  // no _extensions_
216
  ~0u,  // no _oneof_case_
217
  ~0u,  // no _weak_field_map_
218
  ~0u,  // no _inlined_string_donated_
219
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::IntegerType, _impl_._has_bits_),
220
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::IntegerType, _internal_metadata_),
221
  ~0u,  // no _extensions_
222
  ~0u,  // no _oneof_case_
223
  ~0u,  // no _weak_field_map_
224
  ~0u,  // no _inlined_string_donated_
225
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::IntegerType, _impl_.is_signed_),
226
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::IntegerType, _impl_.width_),
227
  0,
228
  1,
229
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::FixedByteType, _impl_._has_bits_),
230
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::FixedByteType, _internal_metadata_),
231
  ~0u,  // no _extensions_
232
  ~0u,  // no _oneof_case_
233
  ~0u,  // no _weak_field_map_
234
  ~0u,  // no _inlined_string_donated_
235
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::FixedByteType, _impl_.width_),
236
  0,
237
  ~0u,  // no _has_bits_
238
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::AddressType, _internal_metadata_),
239
  ~0u,  // no _extensions_
240
  ~0u,  // no _oneof_case_
241
  ~0u,  // no _weak_field_map_
242
  ~0u,  // no _inlined_string_donated_
243
  ~0u,  // no _has_bits_
244
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ValueType, _internal_metadata_),
245
  ~0u,  // no _extensions_
246
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ValueType, _impl_._oneof_case_[0]),
247
  ~0u,  // no _weak_field_map_
248
  ~0u,  // no _inlined_string_donated_
249
  ::_pbi::kInvalidFieldOffsetTag,
250
  ::_pbi::kInvalidFieldOffsetTag,
251
  ::_pbi::kInvalidFieldOffsetTag,
252
  ::_pbi::kInvalidFieldOffsetTag,
253
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ValueType, _impl_.value_type_oneof_),
254
  ~0u,  // no _has_bits_
255
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::DynamicByteArrayType, _internal_metadata_),
256
  ~0u,  // no _extensions_
257
  ~0u,  // no _oneof_case_
258
  ~0u,  // no _weak_field_map_
259
  ~0u,  // no _inlined_string_donated_
260
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ArrayType, _impl_._has_bits_),
261
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ArrayType, _internal_metadata_),
262
  ~0u,  // no _extensions_
263
  ~0u,  // no _oneof_case_
264
  ~0u,  // no _weak_field_map_
265
  ~0u,  // no _inlined_string_donated_
266
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ArrayType, _impl_.t_),
267
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ArrayType, _impl_.length_),
268
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::ArrayType, _impl_.is_static_),
269
  0,
270
  1,
271
  2,
272
  ~0u,  // no _has_bits_
273
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::StructType, _internal_metadata_),
274
  ~0u,  // no _extensions_
275
  ~0u,  // no _oneof_case_
276
  ~0u,  // no _weak_field_map_
277
  ~0u,  // no _inlined_string_donated_
278
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::StructType, _impl_.t_),
279
  ~0u,  // no _has_bits_
280
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::NonValueType, _internal_metadata_),
281
  ~0u,  // no _extensions_
282
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::NonValueType, _impl_._oneof_case_[0]),
283
  ~0u,  // no _weak_field_map_
284
  ~0u,  // no _inlined_string_donated_
285
  ::_pbi::kInvalidFieldOffsetTag,
286
  ::_pbi::kInvalidFieldOffsetTag,
287
  ::_pbi::kInvalidFieldOffsetTag,
288
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::NonValueType, _impl_.nonvalue_type_oneof_),
289
  ~0u,  // no _has_bits_
290
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Type, _internal_metadata_),
291
  ~0u,  // no _extensions_
292
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Type, _impl_._oneof_case_[0]),
293
  ~0u,  // no _weak_field_map_
294
  ~0u,  // no _inlined_string_donated_
295
  ::_pbi::kInvalidFieldOffsetTag,
296
  ::_pbi::kInvalidFieldOffsetTag,
297
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Type, _impl_.type_oneof_),
298
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::VarDecl, _impl_._has_bits_),
299
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::VarDecl, _internal_metadata_),
300
  ~0u,  // no _extensions_
301
  ~0u,  // no _oneof_case_
302
  ~0u,  // no _weak_field_map_
303
  ~0u,  // no _inlined_string_donated_
304
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::VarDecl, _impl_.type_),
305
  0,
306
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::TestFunction, _impl_._has_bits_),
307
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::TestFunction, _internal_metadata_),
308
  ~0u,  // no _extensions_
309
  ~0u,  // no _oneof_case_
310
  ~0u,  // no _weak_field_map_
311
  ~0u,  // no _inlined_string_donated_
312
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::TestFunction, _impl_.local_vars_),
313
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::TestFunction, _impl_.invalid_encoding_length_),
314
  0,
315
  1,
316
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Contract, _impl_._has_bits_),
317
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Contract, _internal_metadata_),
318
  ~0u,  // no _extensions_
319
  ~0u,  // no _oneof_case_
320
  ~0u,  // no _weak_field_map_
321
  ~0u,  // no _inlined_string_donated_
322
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Contract, _impl_.state_vars_),
323
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Contract, _impl_.testfunction_),
324
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Contract, _impl_.test_),
325
  PROTOBUF_FIELD_OFFSET(::solidity::test::abiv2fuzzer::Contract, _impl_.seed_),
326
  0,
327
  1,
328
  3,
329
  2,
330
};
331
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
332
  { 0, -1, -1, sizeof(::solidity::test::abiv2fuzzer::BoolType)},
333
  { 6, 14, -1, sizeof(::solidity::test::abiv2fuzzer::IntegerType)},
334
  { 16, 23, -1, sizeof(::solidity::test::abiv2fuzzer::FixedByteType)},
335
  { 24, -1, -1, sizeof(::solidity::test::abiv2fuzzer::AddressType)},
336
  { 30, -1, -1, sizeof(::solidity::test::abiv2fuzzer::ValueType)},
337
  { 41, -1, -1, sizeof(::solidity::test::abiv2fuzzer::DynamicByteArrayType)},
338
  { 47, 56, -1, sizeof(::solidity::test::abiv2fuzzer::ArrayType)},
339
  { 59, -1, -1, sizeof(::solidity::test::abiv2fuzzer::StructType)},
340
  { 66, -1, -1, sizeof(::solidity::test::abiv2fuzzer::NonValueType)},
341
  { 76, -1, -1, sizeof(::solidity::test::abiv2fuzzer::Type)},
342
  { 85, 92, -1, sizeof(::solidity::test::abiv2fuzzer::VarDecl)},
343
  { 93, 101, -1, sizeof(::solidity::test::abiv2fuzzer::TestFunction)},
344
  { 103, 113, -1, sizeof(::solidity::test::abiv2fuzzer::Contract)},
345
};
346
347
static const ::_pb::Message* const file_default_instances[] = {
348
  &::solidity::test::abiv2fuzzer::_BoolType_default_instance_._instance,
349
  &::solidity::test::abiv2fuzzer::_IntegerType_default_instance_._instance,
350
  &::solidity::test::abiv2fuzzer::_FixedByteType_default_instance_._instance,
351
  &::solidity::test::abiv2fuzzer::_AddressType_default_instance_._instance,
352
  &::solidity::test::abiv2fuzzer::_ValueType_default_instance_._instance,
353
  &::solidity::test::abiv2fuzzer::_DynamicByteArrayType_default_instance_._instance,
354
  &::solidity::test::abiv2fuzzer::_ArrayType_default_instance_._instance,
355
  &::solidity::test::abiv2fuzzer::_StructType_default_instance_._instance,
356
  &::solidity::test::abiv2fuzzer::_NonValueType_default_instance_._instance,
357
  &::solidity::test::abiv2fuzzer::_Type_default_instance_._instance,
358
  &::solidity::test::abiv2fuzzer::_VarDecl_default_instance_._instance,
359
  &::solidity::test::abiv2fuzzer::_TestFunction_default_instance_._instance,
360
  &::solidity::test::abiv2fuzzer::_Contract_default_instance_._instance,
361
};
362
363
const char descriptor_table_protodef_abiV2Proto_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
364
  "\n\020abiV2Proto.proto\022\031solidity.test.abiv2f"
365
  "uzzer\"\n\n\010BoolType\"/\n\013IntegerType\022\021\n\tis_s"
366
  "igned\030\001 \002(\010\022\r\n\005width\030\002 \002(\r\"\036\n\rFixedByteT"
367
  "ype\022\r\n\005width\030\001 \002(\r\"\r\n\013AddressType\"\200\002\n\tVa"
368
  "lueType\0226\n\004inty\030\001 \001(\0132&.solidity.test.ab"
369
  "iv2fuzzer.IntegerTypeH\000\0228\n\004byty\030\002 \001(\0132(."
370
  "solidity.test.abiv2fuzzer.FixedByteTypeH"
371
  "\000\0226\n\004adty\030\003 \001(\0132&.solidity.test.abiv2fuz"
372
  "zer.AddressTypeH\000\0225\n\006boolty\030\004 \001(\0132#.soli"
373
  "dity.test.abiv2fuzzer.BoolTypeH\000B\022\n\020valu"
374
  "e_type_oneof\"\026\n\024DynamicByteArrayType\"Z\n\t"
375
  "ArrayType\022*\n\001t\030\001 \002(\0132\037.solidity.test.abi"
376
  "v2fuzzer.Type\022\016\n\006length\030\002 \002(\r\022\021\n\tis_stat"
377
  "ic\030\003 \002(\010\"8\n\nStructType\022*\n\001t\030\001 \003(\0132\037.soli"
378
  "dity.test.abiv2fuzzer.Type\"\337\001\n\014NonValueT"
379
  "ype\022G\n\014dynbytearray\030\001 \001(\0132/.solidity.tes"
380
  "t.abiv2fuzzer.DynamicByteArrayTypeH\000\0227\n\007"
381
  "arrtype\030\002 \001(\0132$.solidity.test.abiv2fuzze"
382
  "r.ArrayTypeH\000\0226\n\005stype\030\003 \001(\0132%.solidity."
383
  "test.abiv2fuzzer.StructTypeH\000B\025\n\023nonvalu"
384
  "e_type_oneof\"\206\001\n\004Type\0225\n\005vtype\030\001 \001(\0132$.s"
385
  "olidity.test.abiv2fuzzer.ValueTypeH\000\0229\n\006"
386
  "nvtype\030\002 \001(\0132\'.solidity.test.abiv2fuzzer"
387
  ".NonValueTypeH\000B\014\n\ntype_oneof\"8\n\007VarDecl"
388
  "\022-\n\004type\030\001 \002(\0132\037.solidity.test.abiv2fuzz"
389
  "er.Type\"g\n\014TestFunction\0226\n\nlocal_vars\030\001 "
390
  "\002(\0132\".solidity.test.abiv2fuzzer.VarDecl\022"
391
  "\037\n\027invalid_encoding_length\030\002 \002(\004\"\371\001\n\010Con"
392
  "tract\0226\n\nstate_vars\030\001 \002(\0132\".solidity.tes"
393
  "t.abiv2fuzzer.VarDecl\022=\n\014testfunction\030\002 "
394
  "\002(\0132\'.solidity.test.abiv2fuzzer.TestFunc"
395
  "tion\0226\n\004test\030\003 \002(\0162(.solidity.test.abiv2"
396
  "fuzzer.Contract.Test\022\014\n\004seed\030\004 \002(\r\"0\n\004Te"
397
  "st\022\022\n\016CALLDATA_CODER\020\001\022\024\n\020RETURNDATA_COD"
398
  "ER\020\002"
399
  ;
400
static ::_pbi::once_flag descriptor_table_abiV2Proto_2eproto_once;
401
const ::_pbi::DescriptorTable descriptor_table_abiV2Proto_2eproto = {
402
    false, false, 1364, descriptor_table_protodef_abiV2Proto_2eproto,
403
    "abiV2Proto.proto",
404
    &descriptor_table_abiV2Proto_2eproto_once, nullptr, 0, 13,
405
    schemas, file_default_instances, TableStruct_abiV2Proto_2eproto::offsets,
406
    file_level_metadata_abiV2Proto_2eproto, file_level_enum_descriptors_abiV2Proto_2eproto,
407
    file_level_service_descriptors_abiV2Proto_2eproto,
408
};
409
2
PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_abiV2Proto_2eproto_getter() {
410
2
  return &descriptor_table_abiV2Proto_2eproto;
411
2
}
412
413
// Force running AddDescriptors() at dynamic initialization time.
414
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_abiV2Proto_2eproto(&descriptor_table_abiV2Proto_2eproto);
415
namespace solidity {
416
namespace test {
417
namespace abiv2fuzzer {
418
0
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Contract_Test_descriptor() {
419
0
  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_abiV2Proto_2eproto);
420
0
  return file_level_enum_descriptors_abiV2Proto_2eproto[0];
421
0
}
422
0
bool Contract_Test_IsValid(int value) {
423
0
  switch (value) {
424
0
    case 1:
425
0
    case 2:
426
0
      return true;
427
0
    default:
428
0
      return false;
429
0
  }
430
0
}
431
432
#if (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
433
constexpr Contract_Test Contract::CALLDATA_CODER;
434
constexpr Contract_Test Contract::RETURNDATA_CODER;
435
constexpr Contract_Test Contract::Test_MIN;
436
constexpr Contract_Test Contract::Test_MAX;
437
constexpr int Contract::Test_ARRAYSIZE;
438
#endif  // (__cplusplus < 201703) && (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912))
439
440
// ===================================================================
441
442
class BoolType::_Internal {
443
 public:
444
};
445
446
BoolType::BoolType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
447
                         bool is_message_owned)
448
9.74k
  : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) {
449
  // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.BoolType)
450
9.74k
}
451
BoolType::BoolType(const BoolType& from)
452
4
  : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() {
453
4
  BoolType* const _this = this; (void)_this;
454
4
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
455
  // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.BoolType)
456
4
}
457
458
459
460
461
462
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData BoolType::_class_data_ = {
463
    ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl,
464
    ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl,
465
};
466
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*BoolType::GetClassData() const { return &_class_data_; }
467
468
469
470
471
472
473
474
19.0k
::PROTOBUF_NAMESPACE_ID::Metadata BoolType::GetMetadata() const {
475
19.0k
  return ::_pbi::AssignDescriptors(
476
19.0k
      &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once,
477
19.0k
      file_level_metadata_abiV2Proto_2eproto[0]);
478
19.0k
}
479
480
// ===================================================================
481
482
class IntegerType::_Internal {
483
 public:
484
  using HasBits = decltype(std::declval<IntegerType>()._impl_._has_bits_);
485
0
  static void set_has_is_signed(HasBits* has_bits) {
486
0
    (*has_bits)[0] |= 1u;
487
0
  }
488
0
  static void set_has_width(HasBits* has_bits) {
489
0
    (*has_bits)[0] |= 2u;
490
0
  }
491
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
492
0
    return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
493
0
  }
494
};
495
496
IntegerType::IntegerType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
497
                         bool is_message_owned)
498
7.12k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
499
7.12k
  SharedCtor(arena, is_message_owned);
500
  // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.IntegerType)
501
7.12k
}
502
IntegerType::IntegerType(const IntegerType& from)
503
42
  : ::PROTOBUF_NAMESPACE_ID::Message() {
504
42
  IntegerType* const _this = this; (void)_this;
505
42
  new (&_impl_) Impl_{
506
42
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
507
42
    , /*decltype(_impl_._cached_size_)*/{}
508
42
    , decltype(_impl_.is_signed_){}
509
42
    , decltype(_impl_.width_){}};
510
511
42
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
512
42
  ::memcpy(&_impl_.is_signed_, &from._impl_.is_signed_,
513
42
    static_cast<size_t>(reinterpret_cast<char*>(&_impl_.width_) -
514
42
    reinterpret_cast<char*>(&_impl_.is_signed_)) + sizeof(_impl_.width_));
515
  // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.IntegerType)
516
42
}
517
518
inline void IntegerType::SharedCtor(
519
7.12k
    ::_pb::Arena* arena, bool is_message_owned) {
520
7.12k
  (void)arena;
521
7.12k
  (void)is_message_owned;
522
7.12k
  new (&_impl_) Impl_{
523
7.12k
      decltype(_impl_._has_bits_){}
524
7.12k
    , /*decltype(_impl_._cached_size_)*/{}
525
7.12k
    , decltype(_impl_.is_signed_){false}
526
7.12k
    , decltype(_impl_.width_){0u}
527
7.12k
  };
528
7.12k
}
529
530
7.16k
IntegerType::~IntegerType() {
531
  // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.IntegerType)
532
7.16k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
533
0
  (void)arena;
534
0
    return;
535
0
  }
536
7.16k
  SharedDtor();
537
7.16k
}
538
539
7.16k
inline void IntegerType::SharedDtor() {
540
7.16k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
541
7.16k
}
542
543
0
void IntegerType::SetCachedSize(int size) const {
544
0
  _impl_._cached_size_.Set(size);
545
0
}
546
547
0
void IntegerType::Clear() {
548
// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.IntegerType)
549
0
  uint32_t cached_has_bits = 0;
550
  // Prevent compiler warnings about cached_has_bits being unused
551
0
  (void) cached_has_bits;
552
553
0
  cached_has_bits = _impl_._has_bits_[0];
554
0
  if (cached_has_bits & 0x00000003u) {
555
0
    ::memset(&_impl_.is_signed_, 0, static_cast<size_t>(
556
0
        reinterpret_cast<char*>(&_impl_.width_) -
557
0
        reinterpret_cast<char*>(&_impl_.is_signed_)) + sizeof(_impl_.width_));
558
0
  }
559
0
  _impl_._has_bits_.Clear();
560
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
561
0
}
562
563
0
const char* IntegerType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
564
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
565
0
  _Internal::HasBits has_bits{};
566
0
  while (!ctx->Done(&ptr)) {
567
0
    uint32_t tag;
568
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
569
0
    switch (tag >> 3) {
570
      // required bool is_signed = 1;
571
0
      case 1:
572
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
573
0
          _Internal::set_has_is_signed(&has_bits);
574
0
          _impl_.is_signed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
575
0
          CHK_(ptr);
576
0
        } else
577
0
          goto handle_unusual;
578
0
        continue;
579
      // required uint32 width = 2;
580
0
      case 2:
581
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
582
0
          _Internal::set_has_width(&has_bits);
583
0
          _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
584
0
          CHK_(ptr);
585
0
        } else
586
0
          goto handle_unusual;
587
0
        continue;
588
0
      default:
589
0
        goto handle_unusual;
590
0
    }  // switch
591
0
  handle_unusual:
592
0
    if ((tag == 0) || ((tag & 7) == 4)) {
593
0
      CHK_(ptr);
594
0
      ctx->SetLastTag(tag);
595
0
      goto message_done;
596
0
    }
597
0
    ptr = UnknownFieldParse(
598
0
        tag,
599
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
600
0
        ptr, ctx);
601
0
    CHK_(ptr != nullptr);
602
0
  }  // while
603
0
message_done:
604
0
  _impl_._has_bits_.Or(has_bits);
605
0
  return ptr;
606
0
failure:
607
0
  ptr = nullptr;
608
0
  goto message_done;
609
0
#undef CHK_
610
0
}
611
612
uint8_t* IntegerType::_InternalSerialize(
613
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
614
  // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.IntegerType)
615
0
  uint32_t cached_has_bits = 0;
616
0
  (void) cached_has_bits;
617
618
0
  cached_has_bits = _impl_._has_bits_[0];
619
  // required bool is_signed = 1;
620
0
  if (cached_has_bits & 0x00000001u) {
621
0
    target = stream->EnsureSpace(target);
622
0
    target = ::_pbi::WireFormatLite::WriteBoolToArray(1, this->_internal_is_signed(), target);
623
0
  }
624
625
  // required uint32 width = 2;
626
0
  if (cached_has_bits & 0x00000002u) {
627
0
    target = stream->EnsureSpace(target);
628
0
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_width(), target);
629
0
  }
630
631
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
632
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
633
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
634
0
  }
635
  // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.IntegerType)
636
0
  return target;
637
0
}
638
639
0
size_t IntegerType::RequiredFieldsByteSizeFallback() const {
640
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.abiv2fuzzer.IntegerType)
641
0
  size_t total_size = 0;
642
643
0
  if (_internal_has_is_signed()) {
644
    // required bool is_signed = 1;
645
0
    total_size += 1 + 1;
646
0
  }
647
648
0
  if (_internal_has_width()) {
649
    // required uint32 width = 2;
650
0
    total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_width());
651
0
  }
652
653
0
  return total_size;
654
0
}
655
0
size_t IntegerType::ByteSizeLong() const {
656
// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.IntegerType)
657
0
  size_t total_size = 0;
658
659
0
  if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
660
    // required bool is_signed = 1;
661
0
    total_size += 1 + 1;
662
663
    // required uint32 width = 2;
664
0
    total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_width());
665
666
0
  } else {
667
0
    total_size += RequiredFieldsByteSizeFallback();
668
0
  }
669
0
  uint32_t cached_has_bits = 0;
670
  // Prevent compiler warnings about cached_has_bits being unused
671
0
  (void) cached_has_bits;
672
673
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
674
0
}
675
676
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData IntegerType::_class_data_ = {
677
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
678
    IntegerType::MergeImpl
679
};
680
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*IntegerType::GetClassData() const { return &_class_data_; }
681
682
683
4.67k
void IntegerType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
684
4.67k
  auto* const _this = static_cast<IntegerType*>(&to_msg);
685
4.67k
  auto& from = static_cast<const IntegerType&>(from_msg);
686
  // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.IntegerType)
687
4.67k
  GOOGLE_DCHECK_NE(&from, _this);
688
4.67k
  uint32_t cached_has_bits = 0;
689
4.67k
  (void) cached_has_bits;
690
691
4.67k
  cached_has_bits = from._impl_._has_bits_[0];
692
4.67k
  if (cached_has_bits & 0x00000003u) {
693
4.67k
    if (cached_has_bits & 0x00000001u) {
694
4.67k
      _this->_impl_.is_signed_ = from._impl_.is_signed_;
695
4.67k
    }
696
4.67k
    if (cached_has_bits & 0x00000002u) {
697
4.67k
      _this->_impl_.width_ = from._impl_.width_;
698
4.67k
    }
699
4.67k
    _this->_impl_._has_bits_[0] |= cached_has_bits;
700
4.67k
  }
701
4.67k
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
702
4.67k
}
703
704
0
void IntegerType::CopyFrom(const IntegerType& from) {
705
// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.IntegerType)
706
0
  if (&from == this) return;
707
0
  Clear();
708
0
  MergeFrom(from);
709
0
}
710
711
0
bool IntegerType::IsInitialized() const {
712
0
  if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
713
0
  return true;
714
0
}
715
716
0
void IntegerType::InternalSwap(IntegerType* other) {
717
0
  using std::swap;
718
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
719
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
720
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
721
0
      PROTOBUF_FIELD_OFFSET(IntegerType, _impl_.width_)
722
0
      + sizeof(IntegerType::_impl_.width_)
723
0
      - PROTOBUF_FIELD_OFFSET(IntegerType, _impl_.is_signed_)>(
724
0
          reinterpret_cast<char*>(&_impl_.is_signed_),
725
0
          reinterpret_cast<char*>(&other->_impl_.is_signed_));
726
0
}
727
728
28.1k
::PROTOBUF_NAMESPACE_ID::Metadata IntegerType::GetMetadata() const {
729
28.1k
  return ::_pbi::AssignDescriptors(
730
28.1k
      &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once,
731
28.1k
      file_level_metadata_abiV2Proto_2eproto[1]);
732
28.1k
}
733
734
// ===================================================================
735
736
class FixedByteType::_Internal {
737
 public:
738
  using HasBits = decltype(std::declval<FixedByteType>()._impl_._has_bits_);
739
0
  static void set_has_width(HasBits* has_bits) {
740
0
    (*has_bits)[0] |= 1u;
741
0
  }
742
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
743
0
    return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0;
744
0
  }
745
};
746
747
FixedByteType::FixedByteType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
748
                         bool is_message_owned)
749
4.49k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
750
4.49k
  SharedCtor(arena, is_message_owned);
751
  // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.FixedByteType)
752
4.49k
}
753
FixedByteType::FixedByteType(const FixedByteType& from)
754
14
  : ::PROTOBUF_NAMESPACE_ID::Message() {
755
14
  FixedByteType* const _this = this; (void)_this;
756
14
  new (&_impl_) Impl_{
757
14
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
758
14
    , /*decltype(_impl_._cached_size_)*/{}
759
14
    , decltype(_impl_.width_){}};
760
761
14
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
762
14
  _this->_impl_.width_ = from._impl_.width_;
763
  // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.FixedByteType)
764
14
}
765
766
inline void FixedByteType::SharedCtor(
767
4.49k
    ::_pb::Arena* arena, bool is_message_owned) {
768
4.49k
  (void)arena;
769
4.49k
  (void)is_message_owned;
770
4.49k
  new (&_impl_) Impl_{
771
4.49k
      decltype(_impl_._has_bits_){}
772
4.49k
    , /*decltype(_impl_._cached_size_)*/{}
773
4.49k
    , decltype(_impl_.width_){0u}
774
4.49k
  };
775
4.49k
}
776
777
4.51k
FixedByteType::~FixedByteType() {
778
  // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.FixedByteType)
779
4.51k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
780
0
  (void)arena;
781
0
    return;
782
0
  }
783
4.51k
  SharedDtor();
784
4.51k
}
785
786
4.51k
inline void FixedByteType::SharedDtor() {
787
4.51k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
788
4.51k
}
789
790
0
void FixedByteType::SetCachedSize(int size) const {
791
0
  _impl_._cached_size_.Set(size);
792
0
}
793
794
0
void FixedByteType::Clear() {
795
// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.FixedByteType)
796
0
  uint32_t cached_has_bits = 0;
797
  // Prevent compiler warnings about cached_has_bits being unused
798
0
  (void) cached_has_bits;
799
800
0
  _impl_.width_ = 0u;
801
0
  _impl_._has_bits_.Clear();
802
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
803
0
}
804
805
0
const char* FixedByteType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
806
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
807
0
  _Internal::HasBits has_bits{};
808
0
  while (!ctx->Done(&ptr)) {
809
0
    uint32_t tag;
810
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
811
0
    switch (tag >> 3) {
812
      // required uint32 width = 1;
813
0
      case 1:
814
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 8)) {
815
0
          _Internal::set_has_width(&has_bits);
816
0
          _impl_.width_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
817
0
          CHK_(ptr);
818
0
        } else
819
0
          goto handle_unusual;
820
0
        continue;
821
0
      default:
822
0
        goto handle_unusual;
823
0
    }  // switch
824
0
  handle_unusual:
825
0
    if ((tag == 0) || ((tag & 7) == 4)) {
826
0
      CHK_(ptr);
827
0
      ctx->SetLastTag(tag);
828
0
      goto message_done;
829
0
    }
830
0
    ptr = UnknownFieldParse(
831
0
        tag,
832
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
833
0
        ptr, ctx);
834
0
    CHK_(ptr != nullptr);
835
0
  }  // while
836
0
message_done:
837
0
  _impl_._has_bits_.Or(has_bits);
838
0
  return ptr;
839
0
failure:
840
0
  ptr = nullptr;
841
0
  goto message_done;
842
0
#undef CHK_
843
0
}
844
845
uint8_t* FixedByteType::_InternalSerialize(
846
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
847
  // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.FixedByteType)
848
0
  uint32_t cached_has_bits = 0;
849
0
  (void) cached_has_bits;
850
851
0
  cached_has_bits = _impl_._has_bits_[0];
852
  // required uint32 width = 1;
853
0
  if (cached_has_bits & 0x00000001u) {
854
0
    target = stream->EnsureSpace(target);
855
0
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(1, this->_internal_width(), target);
856
0
  }
857
858
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
859
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
860
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
861
0
  }
862
  // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.FixedByteType)
863
0
  return target;
864
0
}
865
866
0
size_t FixedByteType::ByteSizeLong() const {
867
// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.FixedByteType)
868
0
  size_t total_size = 0;
869
870
  // required uint32 width = 1;
871
0
  if (_internal_has_width()) {
872
0
    total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_width());
873
0
  }
874
0
  uint32_t cached_has_bits = 0;
875
  // Prevent compiler warnings about cached_has_bits being unused
876
0
  (void) cached_has_bits;
877
878
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
879
0
}
880
881
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData FixedByteType::_class_data_ = {
882
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
883
    FixedByteType::MergeImpl
884
};
885
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*FixedByteType::GetClassData() const { return &_class_data_; }
886
887
888
2.90k
void FixedByteType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
889
2.90k
  auto* const _this = static_cast<FixedByteType*>(&to_msg);
890
2.90k
  auto& from = static_cast<const FixedByteType&>(from_msg);
891
  // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.FixedByteType)
892
2.90k
  GOOGLE_DCHECK_NE(&from, _this);
893
2.90k
  uint32_t cached_has_bits = 0;
894
2.90k
  (void) cached_has_bits;
895
896
2.90k
  if (from._internal_has_width()) {
897
2.90k
    _this->_internal_set_width(from._internal_width());
898
2.90k
  }
899
2.90k
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
900
2.90k
}
901
902
0
void FixedByteType::CopyFrom(const FixedByteType& from) {
903
// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.FixedByteType)
904
0
  if (&from == this) return;
905
0
  Clear();
906
0
  MergeFrom(from);
907
0
}
908
909
0
bool FixedByteType::IsInitialized() const {
910
0
  if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
911
0
  return true;
912
0
}
913
914
0
void FixedByteType::InternalSwap(FixedByteType* other) {
915
0
  using std::swap;
916
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
917
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
918
0
  swap(_impl_.width_, other->_impl_.width_);
919
0
}
920
921
13.1k
::PROTOBUF_NAMESPACE_ID::Metadata FixedByteType::GetMetadata() const {
922
13.1k
  return ::_pbi::AssignDescriptors(
923
13.1k
      &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once,
924
13.1k
      file_level_metadata_abiV2Proto_2eproto[2]);
925
13.1k
}
926
927
// ===================================================================
928
929
class AddressType::_Internal {
930
 public:
931
};
932
933
AddressType::AddressType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
934
                         bool is_message_owned)
935
5.27k
  : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) {
936
  // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.AddressType)
937
5.27k
}
938
AddressType::AddressType(const AddressType& from)
939
2
  : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() {
940
2
  AddressType* const _this = this; (void)_this;
941
2
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
942
  // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.AddressType)
943
2
}
944
945
946
947
948
949
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData AddressType::_class_data_ = {
950
    ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl,
951
    ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl,
952
};
953
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*AddressType::GetClassData() const { return &_class_data_; }
954
955
956
957
958
959
960
961
11.0k
::PROTOBUF_NAMESPACE_ID::Metadata AddressType::GetMetadata() const {
962
11.0k
  return ::_pbi::AssignDescriptors(
963
11.0k
      &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once,
964
11.0k
      file_level_metadata_abiV2Proto_2eproto[3]);
965
11.0k
}
966
967
// ===================================================================
968
969
class ValueType::_Internal {
970
 public:
971
  static const ::solidity::test::abiv2fuzzer::IntegerType& inty(const ValueType* msg);
972
  static const ::solidity::test::abiv2fuzzer::FixedByteType& byty(const ValueType* msg);
973
  static const ::solidity::test::abiv2fuzzer::AddressType& adty(const ValueType* msg);
974
  static const ::solidity::test::abiv2fuzzer::BoolType& boolty(const ValueType* msg);
975
};
976
977
const ::solidity::test::abiv2fuzzer::IntegerType&
978
0
ValueType::_Internal::inty(const ValueType* msg) {
979
0
  return *msg->_impl_.value_type_oneof_.inty_;
980
0
}
981
const ::solidity::test::abiv2fuzzer::FixedByteType&
982
0
ValueType::_Internal::byty(const ValueType* msg) {
983
0
  return *msg->_impl_.value_type_oneof_.byty_;
984
0
}
985
const ::solidity::test::abiv2fuzzer::AddressType&
986
0
ValueType::_Internal::adty(const ValueType* msg) {
987
0
  return *msg->_impl_.value_type_oneof_.adty_;
988
0
}
989
const ::solidity::test::abiv2fuzzer::BoolType&
990
0
ValueType::_Internal::boolty(const ValueType* msg) {
991
0
  return *msg->_impl_.value_type_oneof_.boolty_;
992
0
}
993
0
void ValueType::set_allocated_inty(::solidity::test::abiv2fuzzer::IntegerType* inty) {
994
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
995
0
  clear_value_type_oneof();
996
0
  if (inty) {
997
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
998
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(inty);
999
0
    if (message_arena != submessage_arena) {
1000
0
      inty = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1001
0
          message_arena, inty, submessage_arena);
1002
0
    }
1003
0
    set_has_inty();
1004
0
    _impl_.value_type_oneof_.inty_ = inty;
1005
0
  }
1006
  // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.ValueType.inty)
1007
0
}
1008
0
void ValueType::set_allocated_byty(::solidity::test::abiv2fuzzer::FixedByteType* byty) {
1009
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1010
0
  clear_value_type_oneof();
1011
0
  if (byty) {
1012
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1013
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(byty);
1014
0
    if (message_arena != submessage_arena) {
1015
0
      byty = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1016
0
          message_arena, byty, submessage_arena);
1017
0
    }
1018
0
    set_has_byty();
1019
0
    _impl_.value_type_oneof_.byty_ = byty;
1020
0
  }
1021
  // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.ValueType.byty)
1022
0
}
1023
0
void ValueType::set_allocated_adty(::solidity::test::abiv2fuzzer::AddressType* adty) {
1024
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1025
0
  clear_value_type_oneof();
1026
0
  if (adty) {
1027
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1028
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(adty);
1029
0
    if (message_arena != submessage_arena) {
1030
0
      adty = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1031
0
          message_arena, adty, submessage_arena);
1032
0
    }
1033
0
    set_has_adty();
1034
0
    _impl_.value_type_oneof_.adty_ = adty;
1035
0
  }
1036
  // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.ValueType.adty)
1037
0
}
1038
0
void ValueType::set_allocated_boolty(::solidity::test::abiv2fuzzer::BoolType* boolty) {
1039
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1040
0
  clear_value_type_oneof();
1041
0
  if (boolty) {
1042
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1043
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(boolty);
1044
0
    if (message_arena != submessage_arena) {
1045
0
      boolty = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1046
0
          message_arena, boolty, submessage_arena);
1047
0
    }
1048
0
    set_has_boolty();
1049
0
    _impl_.value_type_oneof_.boolty_ = boolty;
1050
0
  }
1051
  // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.ValueType.boolty)
1052
0
}
1053
ValueType::ValueType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1054
                         bool is_message_owned)
1055
30.3k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1056
30.3k
  SharedCtor(arena, is_message_owned);
1057
  // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.ValueType)
1058
30.3k
}
1059
ValueType::ValueType(const ValueType& from)
1060
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
1061
0
  ValueType* const _this = this; (void)_this;
1062
0
  new (&_impl_) Impl_{
1063
0
      decltype(_impl_.value_type_oneof_){}
1064
0
    , /*decltype(_impl_._cached_size_)*/{}
1065
0
    , /*decltype(_impl_._oneof_case_)*/{}};
1066
1067
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1068
0
  clear_has_value_type_oneof();
1069
0
  switch (from.value_type_oneof_case()) {
1070
0
    case kInty: {
1071
0
      _this->_internal_mutable_inty()->::solidity::test::abiv2fuzzer::IntegerType::MergeFrom(
1072
0
          from._internal_inty());
1073
0
      break;
1074
0
    }
1075
0
    case kByty: {
1076
0
      _this->_internal_mutable_byty()->::solidity::test::abiv2fuzzer::FixedByteType::MergeFrom(
1077
0
          from._internal_byty());
1078
0
      break;
1079
0
    }
1080
0
    case kAdty: {
1081
0
      _this->_internal_mutable_adty()->::solidity::test::abiv2fuzzer::AddressType::MergeFrom(
1082
0
          from._internal_adty());
1083
0
      break;
1084
0
    }
1085
0
    case kBoolty: {
1086
0
      _this->_internal_mutable_boolty()->::solidity::test::abiv2fuzzer::BoolType::MergeFrom(
1087
0
          from._internal_boolty());
1088
0
      break;
1089
0
    }
1090
0
    case VALUE_TYPE_ONEOF_NOT_SET: {
1091
0
      break;
1092
0
    }
1093
0
  }
1094
  // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.ValueType)
1095
0
}
1096
1097
inline void ValueType::SharedCtor(
1098
30.3k
    ::_pb::Arena* arena, bool is_message_owned) {
1099
30.3k
  (void)arena;
1100
30.3k
  (void)is_message_owned;
1101
30.3k
  new (&_impl_) Impl_{
1102
30.3k
      decltype(_impl_.value_type_oneof_){}
1103
30.3k
    , /*decltype(_impl_._cached_size_)*/{}
1104
30.3k
    , /*decltype(_impl_._oneof_case_)*/{}
1105
30.3k
  };
1106
30.3k
  clear_has_value_type_oneof();
1107
30.3k
}
1108
1109
30.3k
ValueType::~ValueType() {
1110
  // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.ValueType)
1111
30.3k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
1112
0
  (void)arena;
1113
0
    return;
1114
0
  }
1115
30.3k
  SharedDtor();
1116
30.3k
}
1117
1118
30.3k
inline void ValueType::SharedDtor() {
1119
30.3k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1120
30.3k
  if (has_value_type_oneof()) {
1121
26.6k
    clear_value_type_oneof();
1122
26.6k
  }
1123
30.3k
}
1124
1125
0
void ValueType::SetCachedSize(int size) const {
1126
0
  _impl_._cached_size_.Set(size);
1127
0
}
1128
1129
44.0k
void ValueType::clear_value_type_oneof() {
1130
// @@protoc_insertion_point(one_of_clear_start:solidity.test.abiv2fuzzer.ValueType)
1131
44.0k
  switch (value_type_oneof_case()) {
1132
7.12k
    case kInty: {
1133
7.12k
      if (GetArenaForAllocation() == nullptr) {
1134
7.12k
        delete _impl_.value_type_oneof_.inty_;
1135
7.12k
      }
1136
7.12k
      break;
1137
0
    }
1138
4.49k
    case kByty: {
1139
4.49k
      if (GetArenaForAllocation() == nullptr) {
1140
4.49k
        delete _impl_.value_type_oneof_.byty_;
1141
4.49k
      }
1142
4.49k
      break;
1143
0
    }
1144
5.27k
    case kAdty: {
1145
5.27k
      if (GetArenaForAllocation() == nullptr) {
1146
5.27k
        delete _impl_.value_type_oneof_.adty_;
1147
5.27k
      }
1148
5.27k
      break;
1149
0
    }
1150
9.74k
    case kBoolty: {
1151
9.74k
      if (GetArenaForAllocation() == nullptr) {
1152
9.74k
        delete _impl_.value_type_oneof_.boolty_;
1153
9.74k
      }
1154
9.74k
      break;
1155
0
    }
1156
17.4k
    case VALUE_TYPE_ONEOF_NOT_SET: {
1157
17.4k
      break;
1158
0
    }
1159
44.0k
  }
1160
44.0k
  _impl_._oneof_case_[0] = VALUE_TYPE_ONEOF_NOT_SET;
1161
44.0k
}
1162
1163
1164
0
void ValueType::Clear() {
1165
// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.ValueType)
1166
0
  uint32_t cached_has_bits = 0;
1167
  // Prevent compiler warnings about cached_has_bits being unused
1168
0
  (void) cached_has_bits;
1169
1170
0
  clear_value_type_oneof();
1171
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1172
0
}
1173
1174
0
const char* ValueType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1175
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1176
0
  while (!ctx->Done(&ptr)) {
1177
0
    uint32_t tag;
1178
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
1179
0
    switch (tag >> 3) {
1180
      // .solidity.test.abiv2fuzzer.IntegerType inty = 1;
1181
0
      case 1:
1182
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
1183
0
          ptr = ctx->ParseMessage(_internal_mutable_inty(), ptr);
1184
0
          CHK_(ptr);
1185
0
        } else
1186
0
          goto handle_unusual;
1187
0
        continue;
1188
      // .solidity.test.abiv2fuzzer.FixedByteType byty = 2;
1189
0
      case 2:
1190
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
1191
0
          ptr = ctx->ParseMessage(_internal_mutable_byty(), ptr);
1192
0
          CHK_(ptr);
1193
0
        } else
1194
0
          goto handle_unusual;
1195
0
        continue;
1196
      // .solidity.test.abiv2fuzzer.AddressType adty = 3;
1197
0
      case 3:
1198
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
1199
0
          ptr = ctx->ParseMessage(_internal_mutable_adty(), ptr);
1200
0
          CHK_(ptr);
1201
0
        } else
1202
0
          goto handle_unusual;
1203
0
        continue;
1204
      // .solidity.test.abiv2fuzzer.BoolType boolty = 4;
1205
0
      case 4:
1206
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 34)) {
1207
0
          ptr = ctx->ParseMessage(_internal_mutable_boolty(), ptr);
1208
0
          CHK_(ptr);
1209
0
        } else
1210
0
          goto handle_unusual;
1211
0
        continue;
1212
0
      default:
1213
0
        goto handle_unusual;
1214
0
    }  // switch
1215
0
  handle_unusual:
1216
0
    if ((tag == 0) || ((tag & 7) == 4)) {
1217
0
      CHK_(ptr);
1218
0
      ctx->SetLastTag(tag);
1219
0
      goto message_done;
1220
0
    }
1221
0
    ptr = UnknownFieldParse(
1222
0
        tag,
1223
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1224
0
        ptr, ctx);
1225
0
    CHK_(ptr != nullptr);
1226
0
  }  // while
1227
0
message_done:
1228
0
  return ptr;
1229
0
failure:
1230
0
  ptr = nullptr;
1231
0
  goto message_done;
1232
0
#undef CHK_
1233
0
}
1234
1235
uint8_t* ValueType::_InternalSerialize(
1236
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1237
  // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.ValueType)
1238
0
  uint32_t cached_has_bits = 0;
1239
0
  (void) cached_has_bits;
1240
1241
0
  switch (value_type_oneof_case()) {
1242
0
    case kInty: {
1243
0
      target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1244
0
        InternalWriteMessage(1, _Internal::inty(this),
1245
0
          _Internal::inty(this).GetCachedSize(), target, stream);
1246
0
      break;
1247
0
    }
1248
0
    case kByty: {
1249
0
      target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1250
0
        InternalWriteMessage(2, _Internal::byty(this),
1251
0
          _Internal::byty(this).GetCachedSize(), target, stream);
1252
0
      break;
1253
0
    }
1254
0
    case kAdty: {
1255
0
      target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1256
0
        InternalWriteMessage(3, _Internal::adty(this),
1257
0
          _Internal::adty(this).GetCachedSize(), target, stream);
1258
0
      break;
1259
0
    }
1260
0
    case kBoolty: {
1261
0
      target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1262
0
        InternalWriteMessage(4, _Internal::boolty(this),
1263
0
          _Internal::boolty(this).GetCachedSize(), target, stream);
1264
0
      break;
1265
0
    }
1266
0
    default: ;
1267
0
  }
1268
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1269
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1270
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1271
0
  }
1272
  // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.ValueType)
1273
0
  return target;
1274
0
}
1275
1276
0
size_t ValueType::ByteSizeLong() const {
1277
// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.ValueType)
1278
0
  size_t total_size = 0;
1279
1280
0
  uint32_t cached_has_bits = 0;
1281
  // Prevent compiler warnings about cached_has_bits being unused
1282
0
  (void) cached_has_bits;
1283
1284
0
  switch (value_type_oneof_case()) {
1285
    // .solidity.test.abiv2fuzzer.IntegerType inty = 1;
1286
0
    case kInty: {
1287
0
      total_size += 1 +
1288
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1289
0
          *_impl_.value_type_oneof_.inty_);
1290
0
      break;
1291
0
    }
1292
    // .solidity.test.abiv2fuzzer.FixedByteType byty = 2;
1293
0
    case kByty: {
1294
0
      total_size += 1 +
1295
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1296
0
          *_impl_.value_type_oneof_.byty_);
1297
0
      break;
1298
0
    }
1299
    // .solidity.test.abiv2fuzzer.AddressType adty = 3;
1300
0
    case kAdty: {
1301
0
      total_size += 1 +
1302
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1303
0
          *_impl_.value_type_oneof_.adty_);
1304
0
      break;
1305
0
    }
1306
    // .solidity.test.abiv2fuzzer.BoolType boolty = 4;
1307
0
    case kBoolty: {
1308
0
      total_size += 1 +
1309
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1310
0
          *_impl_.value_type_oneof_.boolty_);
1311
0
      break;
1312
0
    }
1313
0
    case VALUE_TYPE_ONEOF_NOT_SET: {
1314
0
      break;
1315
0
    }
1316
0
  }
1317
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1318
0
}
1319
1320
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ValueType::_class_data_ = {
1321
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
1322
    ValueType::MergeImpl
1323
};
1324
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ValueType::GetClassData() const { return &_class_data_; }
1325
1326
1327
19.7k
void ValueType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
1328
19.7k
  auto* const _this = static_cast<ValueType*>(&to_msg);
1329
19.7k
  auto& from = static_cast<const ValueType&>(from_msg);
1330
  // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.ValueType)
1331
19.7k
  GOOGLE_DCHECK_NE(&from, _this);
1332
19.7k
  uint32_t cached_has_bits = 0;
1333
19.7k
  (void) cached_has_bits;
1334
1335
19.7k
  switch (from.value_type_oneof_case()) {
1336
4.67k
    case kInty: {
1337
4.67k
      _this->_internal_mutable_inty()->::solidity::test::abiv2fuzzer::IntegerType::MergeFrom(
1338
4.67k
          from._internal_inty());
1339
4.67k
      break;
1340
0
    }
1341
2.90k
    case kByty: {
1342
2.90k
      _this->_internal_mutable_byty()->::solidity::test::abiv2fuzzer::FixedByteType::MergeFrom(
1343
2.90k
          from._internal_byty());
1344
2.90k
      break;
1345
0
    }
1346
3.47k
    case kAdty: {
1347
3.47k
      _this->_internal_mutable_adty()->::solidity::test::abiv2fuzzer::AddressType::MergeFrom(
1348
3.47k
          from._internal_adty());
1349
3.47k
      break;
1350
0
    }
1351
6.35k
    case kBoolty: {
1352
6.35k
      _this->_internal_mutable_boolty()->::solidity::test::abiv2fuzzer::BoolType::MergeFrom(
1353
6.35k
          from._internal_boolty());
1354
6.35k
      break;
1355
0
    }
1356
2.39k
    case VALUE_TYPE_ONEOF_NOT_SET: {
1357
2.39k
      break;
1358
0
    }
1359
19.7k
  }
1360
19.7k
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1361
19.7k
}
1362
1363
0
void ValueType::CopyFrom(const ValueType& from) {
1364
// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.ValueType)
1365
0
  if (&from == this) return;
1366
0
  Clear();
1367
0
  MergeFrom(from);
1368
0
}
1369
1370
0
bool ValueType::IsInitialized() const {
1371
0
  switch (value_type_oneof_case()) {
1372
0
    case kInty: {
1373
0
      if (_internal_has_inty()) {
1374
0
        if (!_impl_.value_type_oneof_.inty_->IsInitialized()) return false;
1375
0
      }
1376
0
      break;
1377
0
    }
1378
0
    case kByty: {
1379
0
      if (_internal_has_byty()) {
1380
0
        if (!_impl_.value_type_oneof_.byty_->IsInitialized()) return false;
1381
0
      }
1382
0
      break;
1383
0
    }
1384
0
    case kAdty: {
1385
0
      break;
1386
0
    }
1387
0
    case kBoolty: {
1388
0
      break;
1389
0
    }
1390
0
    case VALUE_TYPE_ONEOF_NOT_SET: {
1391
0
      break;
1392
0
    }
1393
0
  }
1394
0
  return true;
1395
0
}
1396
1397
0
void ValueType::InternalSwap(ValueType* other) {
1398
0
  using std::swap;
1399
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1400
0
  swap(_impl_.value_type_oneof_, other->_impl_.value_type_oneof_);
1401
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
1402
0
}
1403
1404
87.7k
::PROTOBUF_NAMESPACE_ID::Metadata ValueType::GetMetadata() const {
1405
87.7k
  return ::_pbi::AssignDescriptors(
1406
87.7k
      &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once,
1407
87.7k
      file_level_metadata_abiV2Proto_2eproto[4]);
1408
87.7k
}
1409
1410
// ===================================================================
1411
1412
class DynamicByteArrayType::_Internal {
1413
 public:
1414
};
1415
1416
DynamicByteArrayType::DynamicByteArrayType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1417
                         bool is_message_owned)
1418
4.49k
  : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase(arena, is_message_owned) {
1419
  // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.DynamicByteArrayType)
1420
4.49k
}
1421
DynamicByteArrayType::DynamicByteArrayType(const DynamicByteArrayType& from)
1422
34
  : ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase() {
1423
34
  DynamicByteArrayType* const _this = this; (void)_this;
1424
34
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1425
  // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.DynamicByteArrayType)
1426
34
}
1427
1428
1429
1430
1431
1432
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData DynamicByteArrayType::_class_data_ = {
1433
    ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl,
1434
    ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl,
1435
};
1436
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*DynamicByteArrayType::GetClassData() const { return &_class_data_; }
1437
1438
1439
1440
1441
1442
1443
1444
10.9k
::PROTOBUF_NAMESPACE_ID::Metadata DynamicByteArrayType::GetMetadata() const {
1445
10.9k
  return ::_pbi::AssignDescriptors(
1446
10.9k
      &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once,
1447
10.9k
      file_level_metadata_abiV2Proto_2eproto[5]);
1448
10.9k
}
1449
1450
// ===================================================================
1451
1452
class ArrayType::_Internal {
1453
 public:
1454
  using HasBits = decltype(std::declval<ArrayType>()._impl_._has_bits_);
1455
  static const ::solidity::test::abiv2fuzzer::Type& t(const ArrayType* msg);
1456
0
  static void set_has_t(HasBits* has_bits) {
1457
0
    (*has_bits)[0] |= 1u;
1458
0
  }
1459
0
  static void set_has_length(HasBits* has_bits) {
1460
0
    (*has_bits)[0] |= 2u;
1461
0
  }
1462
0
  static void set_has_is_static(HasBits* has_bits) {
1463
0
    (*has_bits)[0] |= 4u;
1464
0
  }
1465
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
1466
0
    return ((has_bits[0] & 0x00000007) ^ 0x00000007) != 0;
1467
0
  }
1468
};
1469
1470
const ::solidity::test::abiv2fuzzer::Type&
1471
0
ArrayType::_Internal::t(const ArrayType* msg) {
1472
0
  return *msg->_impl_.t_;
1473
0
}
1474
ArrayType::ArrayType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1475
                         bool is_message_owned)
1476
5.48k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1477
5.48k
  SharedCtor(arena, is_message_owned);
1478
  // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.ArrayType)
1479
5.48k
}
1480
ArrayType::ArrayType(const ArrayType& from)
1481
94
  : ::PROTOBUF_NAMESPACE_ID::Message() {
1482
94
  ArrayType* const _this = this; (void)_this;
1483
94
  new (&_impl_) Impl_{
1484
94
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
1485
94
    , /*decltype(_impl_._cached_size_)*/{}
1486
94
    , decltype(_impl_.t_){nullptr}
1487
94
    , decltype(_impl_.length_){}
1488
94
    , decltype(_impl_.is_static_){}};
1489
1490
94
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1491
94
  if (from._internal_has_t()) {
1492
94
    _this->_impl_.t_ = new ::solidity::test::abiv2fuzzer::Type(*from._impl_.t_);
1493
94
  }
1494
94
  ::memcpy(&_impl_.length_, &from._impl_.length_,
1495
94
    static_cast<size_t>(reinterpret_cast<char*>(&_impl_.is_static_) -
1496
94
    reinterpret_cast<char*>(&_impl_.length_)) + sizeof(_impl_.is_static_));
1497
  // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.ArrayType)
1498
94
}
1499
1500
inline void ArrayType::SharedCtor(
1501
5.48k
    ::_pb::Arena* arena, bool is_message_owned) {
1502
5.48k
  (void)arena;
1503
5.48k
  (void)is_message_owned;
1504
5.48k
  new (&_impl_) Impl_{
1505
5.48k
      decltype(_impl_._has_bits_){}
1506
5.48k
    , /*decltype(_impl_._cached_size_)*/{}
1507
5.48k
    , decltype(_impl_.t_){nullptr}
1508
5.48k
    , decltype(_impl_.length_){0u}
1509
5.48k
    , decltype(_impl_.is_static_){false}
1510
5.48k
  };
1511
5.48k
}
1512
1513
5.57k
ArrayType::~ArrayType() {
1514
  // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.ArrayType)
1515
5.57k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
1516
0
  (void)arena;
1517
0
    return;
1518
0
  }
1519
5.57k
  SharedDtor();
1520
5.57k
}
1521
1522
5.57k
inline void ArrayType::SharedDtor() {
1523
5.57k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1524
5.57k
  if (this != internal_default_instance()) delete _impl_.t_;
1525
5.57k
}
1526
1527
0
void ArrayType::SetCachedSize(int size) const {
1528
0
  _impl_._cached_size_.Set(size);
1529
0
}
1530
1531
0
void ArrayType::Clear() {
1532
// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.ArrayType)
1533
0
  uint32_t cached_has_bits = 0;
1534
  // Prevent compiler warnings about cached_has_bits being unused
1535
0
  (void) cached_has_bits;
1536
1537
0
  cached_has_bits = _impl_._has_bits_[0];
1538
0
  if (cached_has_bits & 0x00000001u) {
1539
0
    GOOGLE_DCHECK(_impl_.t_ != nullptr);
1540
0
    _impl_.t_->Clear();
1541
0
  }
1542
0
  if (cached_has_bits & 0x00000006u) {
1543
0
    ::memset(&_impl_.length_, 0, static_cast<size_t>(
1544
0
        reinterpret_cast<char*>(&_impl_.is_static_) -
1545
0
        reinterpret_cast<char*>(&_impl_.length_)) + sizeof(_impl_.is_static_));
1546
0
  }
1547
0
  _impl_._has_bits_.Clear();
1548
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1549
0
}
1550
1551
0
const char* ArrayType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1552
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1553
0
  _Internal::HasBits has_bits{};
1554
0
  while (!ctx->Done(&ptr)) {
1555
0
    uint32_t tag;
1556
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
1557
0
    switch (tag >> 3) {
1558
      // required .solidity.test.abiv2fuzzer.Type t = 1;
1559
0
      case 1:
1560
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
1561
0
          ptr = ctx->ParseMessage(_internal_mutable_t(), ptr);
1562
0
          CHK_(ptr);
1563
0
        } else
1564
0
          goto handle_unusual;
1565
0
        continue;
1566
      // required uint32 length = 2;
1567
0
      case 2:
1568
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
1569
0
          _Internal::set_has_length(&has_bits);
1570
0
          _impl_.length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
1571
0
          CHK_(ptr);
1572
0
        } else
1573
0
          goto handle_unusual;
1574
0
        continue;
1575
      // required bool is_static = 3;
1576
0
      case 3:
1577
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
1578
0
          _Internal::set_has_is_static(&has_bits);
1579
0
          _impl_.is_static_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
1580
0
          CHK_(ptr);
1581
0
        } else
1582
0
          goto handle_unusual;
1583
0
        continue;
1584
0
      default:
1585
0
        goto handle_unusual;
1586
0
    }  // switch
1587
0
  handle_unusual:
1588
0
    if ((tag == 0) || ((tag & 7) == 4)) {
1589
0
      CHK_(ptr);
1590
0
      ctx->SetLastTag(tag);
1591
0
      goto message_done;
1592
0
    }
1593
0
    ptr = UnknownFieldParse(
1594
0
        tag,
1595
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1596
0
        ptr, ctx);
1597
0
    CHK_(ptr != nullptr);
1598
0
  }  // while
1599
0
message_done:
1600
0
  _impl_._has_bits_.Or(has_bits);
1601
0
  return ptr;
1602
0
failure:
1603
0
  ptr = nullptr;
1604
0
  goto message_done;
1605
0
#undef CHK_
1606
0
}
1607
1608
uint8_t* ArrayType::_InternalSerialize(
1609
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1610
  // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.ArrayType)
1611
0
  uint32_t cached_has_bits = 0;
1612
0
  (void) cached_has_bits;
1613
1614
0
  cached_has_bits = _impl_._has_bits_[0];
1615
  // required .solidity.test.abiv2fuzzer.Type t = 1;
1616
0
  if (cached_has_bits & 0x00000001u) {
1617
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1618
0
      InternalWriteMessage(1, _Internal::t(this),
1619
0
        _Internal::t(this).GetCachedSize(), target, stream);
1620
0
  }
1621
1622
  // required uint32 length = 2;
1623
0
  if (cached_has_bits & 0x00000002u) {
1624
0
    target = stream->EnsureSpace(target);
1625
0
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(2, this->_internal_length(), target);
1626
0
  }
1627
1628
  // required bool is_static = 3;
1629
0
  if (cached_has_bits & 0x00000004u) {
1630
0
    target = stream->EnsureSpace(target);
1631
0
    target = ::_pbi::WireFormatLite::WriteBoolToArray(3, this->_internal_is_static(), target);
1632
0
  }
1633
1634
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1635
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1636
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1637
0
  }
1638
  // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.ArrayType)
1639
0
  return target;
1640
0
}
1641
1642
0
size_t ArrayType::RequiredFieldsByteSizeFallback() const {
1643
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.abiv2fuzzer.ArrayType)
1644
0
  size_t total_size = 0;
1645
1646
0
  if (_internal_has_t()) {
1647
    // required .solidity.test.abiv2fuzzer.Type t = 1;
1648
0
    total_size += 1 +
1649
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1650
0
        *_impl_.t_);
1651
0
  }
1652
1653
0
  if (_internal_has_length()) {
1654
    // required uint32 length = 2;
1655
0
    total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_length());
1656
0
  }
1657
1658
0
  if (_internal_has_is_static()) {
1659
    // required bool is_static = 3;
1660
0
    total_size += 1 + 1;
1661
0
  }
1662
1663
0
  return total_size;
1664
0
}
1665
0
size_t ArrayType::ByteSizeLong() const {
1666
// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.ArrayType)
1667
0
  size_t total_size = 0;
1668
1669
0
  if (((_impl_._has_bits_[0] & 0x00000007) ^ 0x00000007) == 0) {  // All required fields are present.
1670
    // required .solidity.test.abiv2fuzzer.Type t = 1;
1671
0
    total_size += 1 +
1672
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
1673
0
        *_impl_.t_);
1674
1675
    // required uint32 length = 2;
1676
0
    total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_length());
1677
1678
    // required bool is_static = 3;
1679
0
    total_size += 1 + 1;
1680
1681
0
  } else {
1682
0
    total_size += RequiredFieldsByteSizeFallback();
1683
0
  }
1684
0
  uint32_t cached_has_bits = 0;
1685
  // Prevent compiler warnings about cached_has_bits being unused
1686
0
  (void) cached_has_bits;
1687
1688
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1689
0
}
1690
1691
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData ArrayType::_class_data_ = {
1692
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
1693
    ArrayType::MergeImpl
1694
};
1695
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*ArrayType::GetClassData() const { return &_class_data_; }
1696
1697
1698
3.32k
void ArrayType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
1699
3.32k
  auto* const _this = static_cast<ArrayType*>(&to_msg);
1700
3.32k
  auto& from = static_cast<const ArrayType&>(from_msg);
1701
  // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.ArrayType)
1702
3.32k
  GOOGLE_DCHECK_NE(&from, _this);
1703
3.32k
  uint32_t cached_has_bits = 0;
1704
3.32k
  (void) cached_has_bits;
1705
1706
3.32k
  cached_has_bits = from._impl_._has_bits_[0];
1707
3.32k
  if (cached_has_bits & 0x00000007u) {
1708
3.32k
    if (cached_has_bits & 0x00000001u) {
1709
3.32k
      _this->_internal_mutable_t()->::solidity::test::abiv2fuzzer::Type::MergeFrom(
1710
3.32k
          from._internal_t());
1711
3.32k
    }
1712
3.32k
    if (cached_has_bits & 0x00000002u) {
1713
3.32k
      _this->_impl_.length_ = from._impl_.length_;
1714
3.32k
    }
1715
3.32k
    if (cached_has_bits & 0x00000004u) {
1716
3.32k
      _this->_impl_.is_static_ = from._impl_.is_static_;
1717
3.32k
    }
1718
3.32k
    _this->_impl_._has_bits_[0] |= cached_has_bits;
1719
3.32k
  }
1720
3.32k
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1721
3.32k
}
1722
1723
0
void ArrayType::CopyFrom(const ArrayType& from) {
1724
// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.ArrayType)
1725
0
  if (&from == this) return;
1726
0
  Clear();
1727
0
  MergeFrom(from);
1728
0
}
1729
1730
0
bool ArrayType::IsInitialized() const {
1731
0
  if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
1732
0
  if (_internal_has_t()) {
1733
0
    if (!_impl_.t_->IsInitialized()) return false;
1734
0
  }
1735
0
  return true;
1736
0
}
1737
1738
0
void ArrayType::InternalSwap(ArrayType* other) {
1739
0
  using std::swap;
1740
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1741
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1742
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
1743
0
      PROTOBUF_FIELD_OFFSET(ArrayType, _impl_.is_static_)
1744
0
      + sizeof(ArrayType::_impl_.is_static_)
1745
0
      - PROTOBUF_FIELD_OFFSET(ArrayType, _impl_.t_)>(
1746
0
          reinterpret_cast<char*>(&_impl_.t_),
1747
0
          reinterpret_cast<char*>(&other->_impl_.t_));
1748
0
}
1749
1750
28.0k
::PROTOBUF_NAMESPACE_ID::Metadata ArrayType::GetMetadata() const {
1751
28.0k
  return ::_pbi::AssignDescriptors(
1752
28.0k
      &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once,
1753
28.0k
      file_level_metadata_abiV2Proto_2eproto[6]);
1754
28.0k
}
1755
1756
// ===================================================================
1757
1758
class StructType::_Internal {
1759
 public:
1760
};
1761
1762
StructType::StructType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1763
                         bool is_message_owned)
1764
25.2k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
1765
25.2k
  SharedCtor(arena, is_message_owned);
1766
  // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.StructType)
1767
25.2k
}
1768
StructType::StructType(const StructType& from)
1769
738
  : ::PROTOBUF_NAMESPACE_ID::Message() {
1770
738
  StructType* const _this = this; (void)_this;
1771
738
  new (&_impl_) Impl_{
1772
738
      decltype(_impl_.t_){from._impl_.t_}
1773
738
    , /*decltype(_impl_._cached_size_)*/{}};
1774
1775
738
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1776
  // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.StructType)
1777
738
}
1778
1779
inline void StructType::SharedCtor(
1780
25.2k
    ::_pb::Arena* arena, bool is_message_owned) {
1781
25.2k
  (void)arena;
1782
25.2k
  (void)is_message_owned;
1783
25.2k
  new (&_impl_) Impl_{
1784
25.2k
      decltype(_impl_.t_){arena}
1785
25.2k
    , /*decltype(_impl_._cached_size_)*/{}
1786
25.2k
  };
1787
25.2k
}
1788
1789
26.0k
StructType::~StructType() {
1790
  // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.StructType)
1791
26.0k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
1792
0
  (void)arena;
1793
0
    return;
1794
0
  }
1795
26.0k
  SharedDtor();
1796
26.0k
}
1797
1798
26.0k
inline void StructType::SharedDtor() {
1799
26.0k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
1800
26.0k
  _impl_.t_.~RepeatedPtrField();
1801
26.0k
}
1802
1803
0
void StructType::SetCachedSize(int size) const {
1804
0
  _impl_._cached_size_.Set(size);
1805
0
}
1806
1807
0
void StructType::Clear() {
1808
// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.StructType)
1809
0
  uint32_t cached_has_bits = 0;
1810
  // Prevent compiler warnings about cached_has_bits being unused
1811
0
  (void) cached_has_bits;
1812
1813
0
  _impl_.t_.Clear();
1814
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1815
0
}
1816
1817
0
const char* StructType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
1818
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
1819
0
  while (!ctx->Done(&ptr)) {
1820
0
    uint32_t tag;
1821
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
1822
0
    switch (tag >> 3) {
1823
      // repeated .solidity.test.abiv2fuzzer.Type t = 1;
1824
0
      case 1:
1825
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
1826
0
          ptr -= 1;
1827
0
          do {
1828
0
            ptr += 1;
1829
0
            ptr = ctx->ParseMessage(_internal_add_t(), ptr);
1830
0
            CHK_(ptr);
1831
0
            if (!ctx->DataAvailable(ptr)) break;
1832
0
          } while (::PROTOBUF_NAMESPACE_ID::internal::ExpectTag<10>(ptr));
1833
0
        } else
1834
0
          goto handle_unusual;
1835
0
        continue;
1836
0
      default:
1837
0
        goto handle_unusual;
1838
0
    }  // switch
1839
0
  handle_unusual:
1840
0
    if ((tag == 0) || ((tag & 7) == 4)) {
1841
0
      CHK_(ptr);
1842
0
      ctx->SetLastTag(tag);
1843
0
      goto message_done;
1844
0
    }
1845
0
    ptr = UnknownFieldParse(
1846
0
        tag,
1847
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
1848
0
        ptr, ctx);
1849
0
    CHK_(ptr != nullptr);
1850
0
  }  // while
1851
0
message_done:
1852
0
  return ptr;
1853
0
failure:
1854
0
  ptr = nullptr;
1855
0
  goto message_done;
1856
0
#undef CHK_
1857
0
}
1858
1859
uint8_t* StructType::_InternalSerialize(
1860
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
1861
  // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.StructType)
1862
0
  uint32_t cached_has_bits = 0;
1863
0
  (void) cached_has_bits;
1864
1865
  // repeated .solidity.test.abiv2fuzzer.Type t = 1;
1866
0
  for (unsigned i = 0,
1867
0
      n = static_cast<unsigned>(this->_internal_t_size()); i < n; i++) {
1868
0
    const auto& repfield = this->_internal_t(i);
1869
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
1870
0
        InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
1871
0
  }
1872
1873
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1874
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1875
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
1876
0
  }
1877
  // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.StructType)
1878
0
  return target;
1879
0
}
1880
1881
0
size_t StructType::ByteSizeLong() const {
1882
// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.StructType)
1883
0
  size_t total_size = 0;
1884
1885
0
  uint32_t cached_has_bits = 0;
1886
  // Prevent compiler warnings about cached_has_bits being unused
1887
0
  (void) cached_has_bits;
1888
1889
  // repeated .solidity.test.abiv2fuzzer.Type t = 1;
1890
0
  total_size += 1UL * this->_internal_t_size();
1891
0
  for (const auto& msg : this->_impl_.t_) {
1892
0
    total_size +=
1893
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(msg);
1894
0
  }
1895
1896
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1897
0
}
1898
1899
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData StructType::_class_data_ = {
1900
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
1901
    StructType::MergeImpl
1902
};
1903
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*StructType::GetClassData() const { return &_class_data_; }
1904
1905
1906
16.4k
void StructType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
1907
16.4k
  auto* const _this = static_cast<StructType*>(&to_msg);
1908
16.4k
  auto& from = static_cast<const StructType&>(from_msg);
1909
  // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.StructType)
1910
16.4k
  GOOGLE_DCHECK_NE(&from, _this);
1911
16.4k
  uint32_t cached_has_bits = 0;
1912
16.4k
  (void) cached_has_bits;
1913
1914
16.4k
  _this->_impl_.t_.MergeFrom(from._impl_.t_);
1915
16.4k
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
1916
16.4k
}
1917
1918
0
void StructType::CopyFrom(const StructType& from) {
1919
// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.StructType)
1920
0
  if (&from == this) return;
1921
0
  Clear();
1922
0
  MergeFrom(from);
1923
0
}
1924
1925
0
bool StructType::IsInitialized() const {
1926
0
  if (!::PROTOBUF_NAMESPACE_ID::internal::AllAreInitialized(_impl_.t_))
1927
0
    return false;
1928
0
  return true;
1929
0
}
1930
1931
0
void StructType::InternalSwap(StructType* other) {
1932
0
  using std::swap;
1933
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1934
0
  _impl_.t_.InternalSwap(&other->_impl_.t_);
1935
0
}
1936
1937
128k
::PROTOBUF_NAMESPACE_ID::Metadata StructType::GetMetadata() const {
1938
128k
  return ::_pbi::AssignDescriptors(
1939
128k
      &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once,
1940
128k
      file_level_metadata_abiV2Proto_2eproto[7]);
1941
128k
}
1942
1943
// ===================================================================
1944
1945
class NonValueType::_Internal {
1946
 public:
1947
  static const ::solidity::test::abiv2fuzzer::DynamicByteArrayType& dynbytearray(const NonValueType* msg);
1948
  static const ::solidity::test::abiv2fuzzer::ArrayType& arrtype(const NonValueType* msg);
1949
  static const ::solidity::test::abiv2fuzzer::StructType& stype(const NonValueType* msg);
1950
};
1951
1952
const ::solidity::test::abiv2fuzzer::DynamicByteArrayType&
1953
0
NonValueType::_Internal::dynbytearray(const NonValueType* msg) {
1954
0
  return *msg->_impl_.nonvalue_type_oneof_.dynbytearray_;
1955
0
}
1956
const ::solidity::test::abiv2fuzzer::ArrayType&
1957
0
NonValueType::_Internal::arrtype(const NonValueType* msg) {
1958
0
  return *msg->_impl_.nonvalue_type_oneof_.arrtype_;
1959
0
}
1960
const ::solidity::test::abiv2fuzzer::StructType&
1961
0
NonValueType::_Internal::stype(const NonValueType* msg) {
1962
0
  return *msg->_impl_.nonvalue_type_oneof_.stype_;
1963
0
}
1964
0
void NonValueType::set_allocated_dynbytearray(::solidity::test::abiv2fuzzer::DynamicByteArrayType* dynbytearray) {
1965
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1966
0
  clear_nonvalue_type_oneof();
1967
0
  if (dynbytearray) {
1968
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1969
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(dynbytearray);
1970
0
    if (message_arena != submessage_arena) {
1971
0
      dynbytearray = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1972
0
          message_arena, dynbytearray, submessage_arena);
1973
0
    }
1974
0
    set_has_dynbytearray();
1975
0
    _impl_.nonvalue_type_oneof_.dynbytearray_ = dynbytearray;
1976
0
  }
1977
  // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.NonValueType.dynbytearray)
1978
0
}
1979
0
void NonValueType::set_allocated_arrtype(::solidity::test::abiv2fuzzer::ArrayType* arrtype) {
1980
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1981
0
  clear_nonvalue_type_oneof();
1982
0
  if (arrtype) {
1983
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1984
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(arrtype);
1985
0
    if (message_arena != submessage_arena) {
1986
0
      arrtype = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1987
0
          message_arena, arrtype, submessage_arena);
1988
0
    }
1989
0
    set_has_arrtype();
1990
0
    _impl_.nonvalue_type_oneof_.arrtype_ = arrtype;
1991
0
  }
1992
  // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.NonValueType.arrtype)
1993
0
}
1994
0
void NonValueType::set_allocated_stype(::solidity::test::abiv2fuzzer::StructType* stype) {
1995
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1996
0
  clear_nonvalue_type_oneof();
1997
0
  if (stype) {
1998
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1999
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(stype);
2000
0
    if (message_arena != submessage_arena) {
2001
0
      stype = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2002
0
          message_arena, stype, submessage_arena);
2003
0
    }
2004
0
    set_has_stype();
2005
0
    _impl_.nonvalue_type_oneof_.stype_ = stype;
2006
0
  }
2007
  // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.NonValueType.stype)
2008
0
}
2009
NonValueType::NonValueType(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2010
                         bool is_message_owned)
2011
38.2k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
2012
38.2k
  SharedCtor(arena, is_message_owned);
2013
  // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.NonValueType)
2014
38.2k
}
2015
NonValueType::NonValueType(const NonValueType& from)
2016
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
2017
0
  NonValueType* const _this = this; (void)_this;
2018
0
  new (&_impl_) Impl_{
2019
0
      decltype(_impl_.nonvalue_type_oneof_){}
2020
0
    , /*decltype(_impl_._cached_size_)*/{}
2021
0
    , /*decltype(_impl_._oneof_case_)*/{}};
2022
2023
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2024
0
  clear_has_nonvalue_type_oneof();
2025
0
  switch (from.nonvalue_type_oneof_case()) {
2026
0
    case kDynbytearray: {
2027
0
      _this->_internal_mutable_dynbytearray()->::solidity::test::abiv2fuzzer::DynamicByteArrayType::MergeFrom(
2028
0
          from._internal_dynbytearray());
2029
0
      break;
2030
0
    }
2031
0
    case kArrtype: {
2032
0
      _this->_internal_mutable_arrtype()->::solidity::test::abiv2fuzzer::ArrayType::MergeFrom(
2033
0
          from._internal_arrtype());
2034
0
      break;
2035
0
    }
2036
0
    case kStype: {
2037
0
      _this->_internal_mutable_stype()->::solidity::test::abiv2fuzzer::StructType::MergeFrom(
2038
0
          from._internal_stype());
2039
0
      break;
2040
0
    }
2041
0
    case NONVALUE_TYPE_ONEOF_NOT_SET: {
2042
0
      break;
2043
0
    }
2044
0
  }
2045
  // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.NonValueType)
2046
0
}
2047
2048
inline void NonValueType::SharedCtor(
2049
38.2k
    ::_pb::Arena* arena, bool is_message_owned) {
2050
38.2k
  (void)arena;
2051
38.2k
  (void)is_message_owned;
2052
38.2k
  new (&_impl_) Impl_{
2053
38.2k
      decltype(_impl_.nonvalue_type_oneof_){}
2054
38.2k
    , /*decltype(_impl_._cached_size_)*/{}
2055
38.2k
    , /*decltype(_impl_._oneof_case_)*/{}
2056
38.2k
  };
2057
38.2k
  clear_has_nonvalue_type_oneof();
2058
38.2k
}
2059
2060
38.2k
NonValueType::~NonValueType() {
2061
  // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.NonValueType)
2062
38.2k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
2063
0
  (void)arena;
2064
0
    return;
2065
0
  }
2066
38.2k
  SharedDtor();
2067
38.2k
}
2068
2069
38.2k
inline void NonValueType::SharedDtor() {
2070
38.2k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2071
38.2k
  if (has_nonvalue_type_oneof()) {
2072
35.2k
    clear_nonvalue_type_oneof();
2073
35.2k
  }
2074
38.2k
}
2075
2076
0
void NonValueType::SetCachedSize(int size) const {
2077
0
  _impl_._cached_size_.Set(size);
2078
0
}
2079
2080
57.9k
void NonValueType::clear_nonvalue_type_oneof() {
2081
// @@protoc_insertion_point(one_of_clear_start:solidity.test.abiv2fuzzer.NonValueType)
2082
57.9k
  switch (nonvalue_type_oneof_case()) {
2083
4.49k
    case kDynbytearray: {
2084
4.49k
      if (GetArenaForAllocation() == nullptr) {
2085
4.49k
        delete _impl_.nonvalue_type_oneof_.dynbytearray_;
2086
4.49k
      }
2087
4.49k
      break;
2088
0
    }
2089
5.48k
    case kArrtype: {
2090
5.48k
      if (GetArenaForAllocation() == nullptr) {
2091
5.48k
        delete _impl_.nonvalue_type_oneof_.arrtype_;
2092
5.48k
      }
2093
5.48k
      break;
2094
0
    }
2095
25.2k
    case kStype: {
2096
25.2k
      if (GetArenaForAllocation() == nullptr) {
2097
25.2k
        delete _impl_.nonvalue_type_oneof_.stype_;
2098
25.2k
      }
2099
25.2k
      break;
2100
0
    }
2101
22.7k
    case NONVALUE_TYPE_ONEOF_NOT_SET: {
2102
22.7k
      break;
2103
0
    }
2104
57.9k
  }
2105
57.9k
  _impl_._oneof_case_[0] = NONVALUE_TYPE_ONEOF_NOT_SET;
2106
57.9k
}
2107
2108
2109
0
void NonValueType::Clear() {
2110
// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.NonValueType)
2111
0
  uint32_t cached_has_bits = 0;
2112
  // Prevent compiler warnings about cached_has_bits being unused
2113
0
  (void) cached_has_bits;
2114
2115
0
  clear_nonvalue_type_oneof();
2116
0
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2117
0
}
2118
2119
0
const char* NonValueType::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2120
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2121
0
  while (!ctx->Done(&ptr)) {
2122
0
    uint32_t tag;
2123
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
2124
0
    switch (tag >> 3) {
2125
      // .solidity.test.abiv2fuzzer.DynamicByteArrayType dynbytearray = 1;
2126
0
      case 1:
2127
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
2128
0
          ptr = ctx->ParseMessage(_internal_mutable_dynbytearray(), ptr);
2129
0
          CHK_(ptr);
2130
0
        } else
2131
0
          goto handle_unusual;
2132
0
        continue;
2133
      // .solidity.test.abiv2fuzzer.ArrayType arrtype = 2;
2134
0
      case 2:
2135
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
2136
0
          ptr = ctx->ParseMessage(_internal_mutable_arrtype(), ptr);
2137
0
          CHK_(ptr);
2138
0
        } else
2139
0
          goto handle_unusual;
2140
0
        continue;
2141
      // .solidity.test.abiv2fuzzer.StructType stype = 3;
2142
0
      case 3:
2143
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 26)) {
2144
0
          ptr = ctx->ParseMessage(_internal_mutable_stype(), ptr);
2145
0
          CHK_(ptr);
2146
0
        } else
2147
0
          goto handle_unusual;
2148
0
        continue;
2149
0
      default:
2150
0
        goto handle_unusual;
2151
0
    }  // switch
2152
0
  handle_unusual:
2153
0
    if ((tag == 0) || ((tag & 7) == 4)) {
2154
0
      CHK_(ptr);
2155
0
      ctx->SetLastTag(tag);
2156
0
      goto message_done;
2157
0
    }
2158
0
    ptr = UnknownFieldParse(
2159
0
        tag,
2160
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2161
0
        ptr, ctx);
2162
0
    CHK_(ptr != nullptr);
2163
0
  }  // while
2164
0
message_done:
2165
0
  return ptr;
2166
0
failure:
2167
0
  ptr = nullptr;
2168
0
  goto message_done;
2169
0
#undef CHK_
2170
0
}
2171
2172
uint8_t* NonValueType::_InternalSerialize(
2173
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2174
  // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.NonValueType)
2175
0
  uint32_t cached_has_bits = 0;
2176
0
  (void) cached_has_bits;
2177
2178
0
  switch (nonvalue_type_oneof_case()) {
2179
0
    case kDynbytearray: {
2180
0
      target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2181
0
        InternalWriteMessage(1, _Internal::dynbytearray(this),
2182
0
          _Internal::dynbytearray(this).GetCachedSize(), target, stream);
2183
0
      break;
2184
0
    }
2185
0
    case kArrtype: {
2186
0
      target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2187
0
        InternalWriteMessage(2, _Internal::arrtype(this),
2188
0
          _Internal::arrtype(this).GetCachedSize(), target, stream);
2189
0
      break;
2190
0
    }
2191
0
    case kStype: {
2192
0
      target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2193
0
        InternalWriteMessage(3, _Internal::stype(this),
2194
0
          _Internal::stype(this).GetCachedSize(), target, stream);
2195
0
      break;
2196
0
    }
2197
0
    default: ;
2198
0
  }
2199
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2200
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2201
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2202
0
  }
2203
  // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.NonValueType)
2204
0
  return target;
2205
0
}
2206
2207
0
size_t NonValueType::ByteSizeLong() const {
2208
// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.NonValueType)
2209
0
  size_t total_size = 0;
2210
2211
0
  uint32_t cached_has_bits = 0;
2212
  // Prevent compiler warnings about cached_has_bits being unused
2213
0
  (void) cached_has_bits;
2214
2215
0
  switch (nonvalue_type_oneof_case()) {
2216
    // .solidity.test.abiv2fuzzer.DynamicByteArrayType dynbytearray = 1;
2217
0
    case kDynbytearray: {
2218
0
      total_size += 1 +
2219
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2220
0
          *_impl_.nonvalue_type_oneof_.dynbytearray_);
2221
0
      break;
2222
0
    }
2223
    // .solidity.test.abiv2fuzzer.ArrayType arrtype = 2;
2224
0
    case kArrtype: {
2225
0
      total_size += 1 +
2226
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2227
0
          *_impl_.nonvalue_type_oneof_.arrtype_);
2228
0
      break;
2229
0
    }
2230
    // .solidity.test.abiv2fuzzer.StructType stype = 3;
2231
0
    case kStype: {
2232
0
      total_size += 1 +
2233
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2234
0
          *_impl_.nonvalue_type_oneof_.stype_);
2235
0
      break;
2236
0
    }
2237
0
    case NONVALUE_TYPE_ONEOF_NOT_SET: {
2238
0
      break;
2239
0
    }
2240
0
  }
2241
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2242
0
}
2243
2244
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData NonValueType::_class_data_ = {
2245
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
2246
    NonValueType::MergeImpl
2247
};
2248
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*NonValueType::GetClassData() const { return &_class_data_; }
2249
2250
2251
24.6k
void NonValueType::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
2252
24.6k
  auto* const _this = static_cast<NonValueType*>(&to_msg);
2253
24.6k
  auto& from = static_cast<const NonValueType&>(from_msg);
2254
  // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.NonValueType)
2255
24.6k
  GOOGLE_DCHECK_NE(&from, _this);
2256
24.6k
  uint32_t cached_has_bits = 0;
2257
24.6k
  (void) cached_has_bits;
2258
2259
24.6k
  switch (from.nonvalue_type_oneof_case()) {
2260
2.96k
    case kDynbytearray: {
2261
2.96k
      _this->_internal_mutable_dynbytearray()->::solidity::test::abiv2fuzzer::DynamicByteArrayType::MergeFrom(
2262
2.96k
          from._internal_dynbytearray());
2263
2.96k
      break;
2264
0
    }
2265
3.32k
    case kArrtype: {
2266
3.32k
      _this->_internal_mutable_arrtype()->::solidity::test::abiv2fuzzer::ArrayType::MergeFrom(
2267
3.32k
          from._internal_arrtype());
2268
3.32k
      break;
2269
0
    }
2270
16.4k
    case kStype: {
2271
16.4k
      _this->_internal_mutable_stype()->::solidity::test::abiv2fuzzer::StructType::MergeFrom(
2272
16.4k
          from._internal_stype());
2273
16.4k
      break;
2274
0
    }
2275
1.90k
    case NONVALUE_TYPE_ONEOF_NOT_SET: {
2276
1.90k
      break;
2277
0
    }
2278
24.6k
  }
2279
24.6k
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2280
24.6k
}
2281
2282
0
void NonValueType::CopyFrom(const NonValueType& from) {
2283
// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.NonValueType)
2284
0
  if (&from == this) return;
2285
0
  Clear();
2286
0
  MergeFrom(from);
2287
0
}
2288
2289
0
bool NonValueType::IsInitialized() const {
2290
0
  switch (nonvalue_type_oneof_case()) {
2291
0
    case kDynbytearray: {
2292
0
      break;
2293
0
    }
2294
0
    case kArrtype: {
2295
0
      if (_internal_has_arrtype()) {
2296
0
        if (!_impl_.nonvalue_type_oneof_.arrtype_->IsInitialized()) return false;
2297
0
      }
2298
0
      break;
2299
0
    }
2300
0
    case kStype: {
2301
0
      if (_internal_has_stype()) {
2302
0
        if (!_impl_.nonvalue_type_oneof_.stype_->IsInitialized()) return false;
2303
0
      }
2304
0
      break;
2305
0
    }
2306
0
    case NONVALUE_TYPE_ONEOF_NOT_SET: {
2307
0
      break;
2308
0
    }
2309
0
  }
2310
0
  return true;
2311
0
}
2312
2313
0
void NonValueType::InternalSwap(NonValueType* other) {
2314
0
  using std::swap;
2315
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2316
0
  swap(_impl_.nonvalue_type_oneof_, other->_impl_.nonvalue_type_oneof_);
2317
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
2318
0
}
2319
2320
115k
::PROTOBUF_NAMESPACE_ID::Metadata NonValueType::GetMetadata() const {
2321
115k
  return ::_pbi::AssignDescriptors(
2322
115k
      &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once,
2323
115k
      file_level_metadata_abiV2Proto_2eproto[8]);
2324
115k
}
2325
2326
// ===================================================================
2327
2328
class Type::_Internal {
2329
 public:
2330
  static const ::solidity::test::abiv2fuzzer::ValueType& vtype(const Type* msg);
2331
  static const ::solidity::test::abiv2fuzzer::NonValueType& nvtype(const Type* msg);
2332
};
2333
2334
const ::solidity::test::abiv2fuzzer::ValueType&
2335
0
Type::_Internal::vtype(const Type* msg) {
2336
0
  return *msg->_impl_.type_oneof_.vtype_;
2337
0
}
2338
const ::solidity::test::abiv2fuzzer::NonValueType&
2339
0
Type::_Internal::nvtype(const Type* msg) {
2340
0
  return *msg->_impl_.type_oneof_.nvtype_;
2341
0
}
2342
0
void Type::set_allocated_vtype(::solidity::test::abiv2fuzzer::ValueType* vtype) {
2343
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2344
0
  clear_type_oneof();
2345
0
  if (vtype) {
2346
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2347
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(vtype);
2348
0
    if (message_arena != submessage_arena) {
2349
0
      vtype = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2350
0
          message_arena, vtype, submessage_arena);
2351
0
    }
2352
0
    set_has_vtype();
2353
0
    _impl_.type_oneof_.vtype_ = vtype;
2354
0
  }
2355
  // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.Type.vtype)
2356
0
}
2357
0
void Type::set_allocated_nvtype(::solidity::test::abiv2fuzzer::NonValueType* nvtype) {
2358
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2359
0
  clear_type_oneof();
2360
0
  if (nvtype) {
2361
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2362
0
      ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(nvtype);
2363
0
    if (message_arena != submessage_arena) {
2364
0
      nvtype = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2365
0
          message_arena, nvtype, submessage_arena);
2366
0
    }
2367
0
    set_has_nvtype();
2368
0
    _impl_.type_oneof_.nvtype_ = nvtype;
2369
0
  }
2370
  // @@protoc_insertion_point(field_set_allocated:solidity.test.abiv2fuzzer.Type.nvtype)
2371
0
}
2372
Type::Type(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2373
                         bool is_message_owned)
2374
78.4k
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
2375
78.4k
  SharedCtor(arena, is_message_owned);
2376
  // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.Type)
2377
78.4k
}
2378
Type::Type(const Type& from)
2379
94
  : ::PROTOBUF_NAMESPACE_ID::Message() {
2380
94
  Type* const _this = this; (void)_this;
2381
94
  new (&_impl_) Impl_{
2382
94
      decltype(_impl_.type_oneof_){}
2383
94
    , /*decltype(_impl_._cached_size_)*/{}
2384
94
    , /*decltype(_impl_._oneof_case_)*/{}};
2385
2386
94
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2387
94
  clear_has_type_oneof();
2388
94
  switch (from.type_oneof_case()) {
2389
10
    case kVtype: {
2390
10
      _this->_internal_mutable_vtype()->::solidity::test::abiv2fuzzer::ValueType::MergeFrom(
2391
10
          from._internal_vtype());
2392
10
      break;
2393
0
    }
2394
84
    case kNvtype: {
2395
84
      _this->_internal_mutable_nvtype()->::solidity::test::abiv2fuzzer::NonValueType::MergeFrom(
2396
84
          from._internal_nvtype());
2397
84
      break;
2398
0
    }
2399
0
    case TYPE_ONEOF_NOT_SET: {
2400
0
      break;
2401
0
    }
2402
94
  }
2403
  // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.Type)
2404
94
}
2405
2406
inline void Type::SharedCtor(
2407
78.4k
    ::_pb::Arena* arena, bool is_message_owned) {
2408
78.4k
  (void)arena;
2409
78.4k
  (void)is_message_owned;
2410
78.4k
  new (&_impl_) Impl_{
2411
78.4k
      decltype(_impl_.type_oneof_){}
2412
78.4k
    , /*decltype(_impl_._cached_size_)*/{}
2413
78.4k
    , /*decltype(_impl_._oneof_case_)*/{}
2414
78.4k
  };
2415
78.4k
  clear_has_type_oneof();
2416
78.4k
}
2417
2418
78.5k
Type::~Type() {
2419
  // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.Type)
2420
78.5k
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
2421
0
  (void)arena;
2422
0
    return;
2423
0
  }
2424
78.5k
  SharedDtor();
2425
78.5k
}
2426
2427
78.5k
inline void Type::SharedDtor() {
2428
78.5k
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2429
78.5k
  if (has_type_oneof()) {
2430
68.5k
    clear_type_oneof();
2431
68.5k
  }
2432
78.5k
}
2433
2434
0
void Type::SetCachedSize(int size) const {
2435
0
  _impl_._cached_size_.Set(size);
2436
0
}
2437
2438
113k
void Type::clear_type_oneof() {
2439
// @@protoc_insertion_point(one_of_clear_start:solidity.test.abiv2fuzzer.Type)
2440
113k
  switch (type_oneof_case()) {
2441
30.3k
    case kVtype: {
2442
30.3k
      if (GetArenaForAllocation() == nullptr) {
2443
30.3k
        delete _impl_.type_oneof_.vtype_;
2444
30.3k
      }
2445
30.3k
      break;
2446
0
    }
2447
38.2k
    case kNvtype: {
2448
38.2k
      if (GetArenaForAllocation() == nullptr) {
2449
38.2k
        delete _impl_.type_oneof_.nvtype_;
2450
38.2k
      }
2451
38.2k
      break;
2452
0
    }
2453
44.6k
    case TYPE_ONEOF_NOT_SET: {
2454
44.6k
      break;
2455
0
    }
2456
113k
  }
2457
113k
  _impl_._oneof_case_[0] = TYPE_ONEOF_NOT_SET;
2458
113k
}
2459
2460
2461
195
void Type::Clear() {
2462
// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.Type)
2463
195
  uint32_t cached_has_bits = 0;
2464
  // Prevent compiler warnings about cached_has_bits being unused
2465
195
  (void) cached_has_bits;
2466
2467
195
  clear_type_oneof();
2468
195
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2469
195
}
2470
2471
0
const char* Type::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2472
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2473
0
  while (!ctx->Done(&ptr)) {
2474
0
    uint32_t tag;
2475
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
2476
0
    switch (tag >> 3) {
2477
      // .solidity.test.abiv2fuzzer.ValueType vtype = 1;
2478
0
      case 1:
2479
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
2480
0
          ptr = ctx->ParseMessage(_internal_mutable_vtype(), ptr);
2481
0
          CHK_(ptr);
2482
0
        } else
2483
0
          goto handle_unusual;
2484
0
        continue;
2485
      // .solidity.test.abiv2fuzzer.NonValueType nvtype = 2;
2486
0
      case 2:
2487
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
2488
0
          ptr = ctx->ParseMessage(_internal_mutable_nvtype(), ptr);
2489
0
          CHK_(ptr);
2490
0
        } else
2491
0
          goto handle_unusual;
2492
0
        continue;
2493
0
      default:
2494
0
        goto handle_unusual;
2495
0
    }  // switch
2496
0
  handle_unusual:
2497
0
    if ((tag == 0) || ((tag & 7) == 4)) {
2498
0
      CHK_(ptr);
2499
0
      ctx->SetLastTag(tag);
2500
0
      goto message_done;
2501
0
    }
2502
0
    ptr = UnknownFieldParse(
2503
0
        tag,
2504
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2505
0
        ptr, ctx);
2506
0
    CHK_(ptr != nullptr);
2507
0
  }  // while
2508
0
message_done:
2509
0
  return ptr;
2510
0
failure:
2511
0
  ptr = nullptr;
2512
0
  goto message_done;
2513
0
#undef CHK_
2514
0
}
2515
2516
uint8_t* Type::_InternalSerialize(
2517
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2518
  // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.Type)
2519
0
  uint32_t cached_has_bits = 0;
2520
0
  (void) cached_has_bits;
2521
2522
0
  switch (type_oneof_case()) {
2523
0
    case kVtype: {
2524
0
      target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2525
0
        InternalWriteMessage(1, _Internal::vtype(this),
2526
0
          _Internal::vtype(this).GetCachedSize(), target, stream);
2527
0
      break;
2528
0
    }
2529
0
    case kNvtype: {
2530
0
      target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2531
0
        InternalWriteMessage(2, _Internal::nvtype(this),
2532
0
          _Internal::nvtype(this).GetCachedSize(), target, stream);
2533
0
      break;
2534
0
    }
2535
0
    default: ;
2536
0
  }
2537
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2538
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2539
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2540
0
  }
2541
  // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.Type)
2542
0
  return target;
2543
0
}
2544
2545
0
size_t Type::ByteSizeLong() const {
2546
// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.Type)
2547
0
  size_t total_size = 0;
2548
2549
0
  uint32_t cached_has_bits = 0;
2550
  // Prevent compiler warnings about cached_has_bits being unused
2551
0
  (void) cached_has_bits;
2552
2553
0
  switch (type_oneof_case()) {
2554
    // .solidity.test.abiv2fuzzer.ValueType vtype = 1;
2555
0
    case kVtype: {
2556
0
      total_size += 1 +
2557
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2558
0
          *_impl_.type_oneof_.vtype_);
2559
0
      break;
2560
0
    }
2561
    // .solidity.test.abiv2fuzzer.NonValueType nvtype = 2;
2562
0
    case kNvtype: {
2563
0
      total_size += 1 +
2564
0
        ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2565
0
          *_impl_.type_oneof_.nvtype_);
2566
0
      break;
2567
0
    }
2568
0
    case TYPE_ONEOF_NOT_SET: {
2569
0
      break;
2570
0
    }
2571
0
  }
2572
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2573
0
}
2574
2575
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Type::_class_data_ = {
2576
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
2577
    Type::MergeImpl
2578
};
2579
279
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Type::GetClassData() const { return &_class_data_; }
2580
2581
2582
50.5k
void Type::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
2583
50.5k
  auto* const _this = static_cast<Type*>(&to_msg);
2584
50.5k
  auto& from = static_cast<const Type&>(from_msg);
2585
  // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.Type)
2586
50.5k
  GOOGLE_DCHECK_NE(&from, _this);
2587
50.5k
  uint32_t cached_has_bits = 0;
2588
50.5k
  (void) cached_has_bits;
2589
2590
50.5k
  switch (from.type_oneof_case()) {
2591
19.7k
    case kVtype: {
2592
19.7k
      _this->_internal_mutable_vtype()->::solidity::test::abiv2fuzzer::ValueType::MergeFrom(
2593
19.7k
          from._internal_vtype());
2594
19.7k
      break;
2595
0
    }
2596
24.5k
    case kNvtype: {
2597
24.5k
      _this->_internal_mutable_nvtype()->::solidity::test::abiv2fuzzer::NonValueType::MergeFrom(
2598
24.5k
          from._internal_nvtype());
2599
24.5k
      break;
2600
0
    }
2601
6.21k
    case TYPE_ONEOF_NOT_SET: {
2602
6.21k
      break;
2603
0
    }
2604
50.5k
  }
2605
50.5k
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2606
50.5k
}
2607
2608
0
void Type::CopyFrom(const Type& from) {
2609
// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.Type)
2610
0
  if (&from == this) return;
2611
0
  Clear();
2612
0
  MergeFrom(from);
2613
0
}
2614
2615
0
bool Type::IsInitialized() const {
2616
0
  switch (type_oneof_case()) {
2617
0
    case kVtype: {
2618
0
      if (_internal_has_vtype()) {
2619
0
        if (!_impl_.type_oneof_.vtype_->IsInitialized()) return false;
2620
0
      }
2621
0
      break;
2622
0
    }
2623
0
    case kNvtype: {
2624
0
      if (_internal_has_nvtype()) {
2625
0
        if (!_impl_.type_oneof_.nvtype_->IsInitialized()) return false;
2626
0
      }
2627
0
      break;
2628
0
    }
2629
0
    case TYPE_ONEOF_NOT_SET: {
2630
0
      break;
2631
0
    }
2632
0
  }
2633
0
  return true;
2634
0
}
2635
2636
0
void Type::InternalSwap(Type* other) {
2637
0
  using std::swap;
2638
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2639
0
  swap(_impl_.type_oneof_, other->_impl_.type_oneof_);
2640
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
2641
0
}
2642
2643
229k
::PROTOBUF_NAMESPACE_ID::Metadata Type::GetMetadata() const {
2644
229k
  return ::_pbi::AssignDescriptors(
2645
229k
      &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once,
2646
229k
      file_level_metadata_abiV2Proto_2eproto[9]);
2647
229k
}
2648
2649
// ===================================================================
2650
2651
class VarDecl::_Internal {
2652
 public:
2653
  using HasBits = decltype(std::declval<VarDecl>()._impl_._has_bits_);
2654
  static const ::solidity::test::abiv2fuzzer::Type& type(const VarDecl* msg);
2655
0
  static void set_has_type(HasBits* has_bits) {
2656
0
    (*has_bits)[0] |= 1u;
2657
0
  }
2658
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
2659
0
    return ((has_bits[0] & 0x00000001) ^ 0x00000001) != 0;
2660
0
  }
2661
};
2662
2663
const ::solidity::test::abiv2fuzzer::Type&
2664
0
VarDecl::_Internal::type(const VarDecl* msg) {
2665
0
  return *msg->_impl_.type_;
2666
0
}
2667
VarDecl::VarDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2668
                         bool is_message_owned)
2669
635
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
2670
635
  SharedCtor(arena, is_message_owned);
2671
  // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.VarDecl)
2672
635
}
2673
VarDecl::VarDecl(const VarDecl& from)
2674
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
2675
0
  VarDecl* const _this = this; (void)_this;
2676
0
  new (&_impl_) Impl_{
2677
0
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
2678
0
    , /*decltype(_impl_._cached_size_)*/{}
2679
0
    , decltype(_impl_.type_){nullptr}};
2680
2681
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2682
0
  if (from._internal_has_type()) {
2683
0
    _this->_impl_.type_ = new ::solidity::test::abiv2fuzzer::Type(*from._impl_.type_);
2684
0
  }
2685
  // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.VarDecl)
2686
0
}
2687
2688
inline void VarDecl::SharedCtor(
2689
635
    ::_pb::Arena* arena, bool is_message_owned) {
2690
635
  (void)arena;
2691
635
  (void)is_message_owned;
2692
635
  new (&_impl_) Impl_{
2693
635
      decltype(_impl_._has_bits_){}
2694
635
    , /*decltype(_impl_._cached_size_)*/{}
2695
635
    , decltype(_impl_.type_){nullptr}
2696
635
  };
2697
635
}
2698
2699
635
VarDecl::~VarDecl() {
2700
  // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.VarDecl)
2701
635
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
2702
0
  (void)arena;
2703
0
    return;
2704
0
  }
2705
635
  SharedDtor();
2706
635
}
2707
2708
635
inline void VarDecl::SharedDtor() {
2709
635
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2710
635
  if (this != internal_default_instance()) delete _impl_.type_;
2711
635
}
2712
2713
0
void VarDecl::SetCachedSize(int size) const {
2714
0
  _impl_._cached_size_.Set(size);
2715
0
}
2716
2717
57
void VarDecl::Clear() {
2718
// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.VarDecl)
2719
57
  uint32_t cached_has_bits = 0;
2720
  // Prevent compiler warnings about cached_has_bits being unused
2721
57
  (void) cached_has_bits;
2722
2723
57
  cached_has_bits = _impl_._has_bits_[0];
2724
57
  if (cached_has_bits & 0x00000001u) {
2725
9
    GOOGLE_DCHECK(_impl_.type_ != nullptr);
2726
9
    _impl_.type_->Clear();
2727
9
  }
2728
57
  _impl_._has_bits_.Clear();
2729
57
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2730
57
}
2731
2732
0
const char* VarDecl::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2733
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2734
0
  _Internal::HasBits has_bits{};
2735
0
  while (!ctx->Done(&ptr)) {
2736
0
    uint32_t tag;
2737
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
2738
0
    switch (tag >> 3) {
2739
      // required .solidity.test.abiv2fuzzer.Type type = 1;
2740
0
      case 1:
2741
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
2742
0
          ptr = ctx->ParseMessage(_internal_mutable_type(), ptr);
2743
0
          CHK_(ptr);
2744
0
        } else
2745
0
          goto handle_unusual;
2746
0
        continue;
2747
0
      default:
2748
0
        goto handle_unusual;
2749
0
    }  // switch
2750
0
  handle_unusual:
2751
0
    if ((tag == 0) || ((tag & 7) == 4)) {
2752
0
      CHK_(ptr);
2753
0
      ctx->SetLastTag(tag);
2754
0
      goto message_done;
2755
0
    }
2756
0
    ptr = UnknownFieldParse(
2757
0
        tag,
2758
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2759
0
        ptr, ctx);
2760
0
    CHK_(ptr != nullptr);
2761
0
  }  // while
2762
0
message_done:
2763
0
  _impl_._has_bits_.Or(has_bits);
2764
0
  return ptr;
2765
0
failure:
2766
0
  ptr = nullptr;
2767
0
  goto message_done;
2768
0
#undef CHK_
2769
0
}
2770
2771
uint8_t* VarDecl::_InternalSerialize(
2772
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
2773
  // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.VarDecl)
2774
0
  uint32_t cached_has_bits = 0;
2775
0
  (void) cached_has_bits;
2776
2777
0
  cached_has_bits = _impl_._has_bits_[0];
2778
  // required .solidity.test.abiv2fuzzer.Type type = 1;
2779
0
  if (cached_has_bits & 0x00000001u) {
2780
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
2781
0
      InternalWriteMessage(1, _Internal::type(this),
2782
0
        _Internal::type(this).GetCachedSize(), target, stream);
2783
0
  }
2784
2785
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
2786
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2787
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
2788
0
  }
2789
  // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.VarDecl)
2790
0
  return target;
2791
0
}
2792
2793
0
size_t VarDecl::ByteSizeLong() const {
2794
// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.VarDecl)
2795
0
  size_t total_size = 0;
2796
2797
  // required .solidity.test.abiv2fuzzer.Type type = 1;
2798
0
  if (_internal_has_type()) {
2799
0
    total_size += 1 +
2800
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
2801
0
        *_impl_.type_);
2802
0
  }
2803
0
  uint32_t cached_has_bits = 0;
2804
  // Prevent compiler warnings about cached_has_bits being unused
2805
0
  (void) cached_has_bits;
2806
2807
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
2808
0
}
2809
2810
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData VarDecl::_class_data_ = {
2811
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
2812
    VarDecl::MergeImpl
2813
};
2814
72
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*VarDecl::GetClassData() const { return &_class_data_; }
2815
2816
2817
24
void VarDecl::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
2818
24
  auto* const _this = static_cast<VarDecl*>(&to_msg);
2819
24
  auto& from = static_cast<const VarDecl&>(from_msg);
2820
  // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.VarDecl)
2821
24
  GOOGLE_DCHECK_NE(&from, _this);
2822
24
  uint32_t cached_has_bits = 0;
2823
24
  (void) cached_has_bits;
2824
2825
24
  if (from._internal_has_type()) {
2826
0
    _this->_internal_mutable_type()->::solidity::test::abiv2fuzzer::Type::MergeFrom(
2827
0
        from._internal_type());
2828
0
  }
2829
24
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2830
24
}
2831
2832
0
void VarDecl::CopyFrom(const VarDecl& from) {
2833
// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.VarDecl)
2834
0
  if (&from == this) return;
2835
0
  Clear();
2836
0
  MergeFrom(from);
2837
0
}
2838
2839
0
bool VarDecl::IsInitialized() const {
2840
0
  if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
2841
0
  if (_internal_has_type()) {
2842
0
    if (!_impl_.type_->IsInitialized()) return false;
2843
0
  }
2844
0
  return true;
2845
0
}
2846
2847
0
void VarDecl::InternalSwap(VarDecl* other) {
2848
0
  using std::swap;
2849
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2850
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2851
0
  swap(_impl_.type_, other->_impl_.type_);
2852
0
}
2853
2854
5.37k
::PROTOBUF_NAMESPACE_ID::Metadata VarDecl::GetMetadata() const {
2855
5.37k
  return ::_pbi::AssignDescriptors(
2856
5.37k
      &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once,
2857
5.37k
      file_level_metadata_abiV2Proto_2eproto[10]);
2858
5.37k
}
2859
2860
// ===================================================================
2861
2862
class TestFunction::_Internal {
2863
 public:
2864
  using HasBits = decltype(std::declval<TestFunction>()._impl_._has_bits_);
2865
  static const ::solidity::test::abiv2fuzzer::VarDecl& local_vars(const TestFunction* msg);
2866
0
  static void set_has_local_vars(HasBits* has_bits) {
2867
0
    (*has_bits)[0] |= 1u;
2868
0
  }
2869
0
  static void set_has_invalid_encoding_length(HasBits* has_bits) {
2870
0
    (*has_bits)[0] |= 2u;
2871
0
  }
2872
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
2873
0
    return ((has_bits[0] & 0x00000003) ^ 0x00000003) != 0;
2874
0
  }
2875
};
2876
2877
const ::solidity::test::abiv2fuzzer::VarDecl&
2878
0
TestFunction::_Internal::local_vars(const TestFunction* msg) {
2879
0
  return *msg->_impl_.local_vars_;
2880
0
}
2881
TestFunction::TestFunction(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2882
                         bool is_message_owned)
2883
306
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
2884
306
  SharedCtor(arena, is_message_owned);
2885
  // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.TestFunction)
2886
306
}
2887
TestFunction::TestFunction(const TestFunction& from)
2888
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
2889
0
  TestFunction* const _this = this; (void)_this;
2890
0
  new (&_impl_) Impl_{
2891
0
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
2892
0
    , /*decltype(_impl_._cached_size_)*/{}
2893
0
    , decltype(_impl_.local_vars_){nullptr}
2894
0
    , decltype(_impl_.invalid_encoding_length_){}};
2895
2896
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
2897
0
  if (from._internal_has_local_vars()) {
2898
0
    _this->_impl_.local_vars_ = new ::solidity::test::abiv2fuzzer::VarDecl(*from._impl_.local_vars_);
2899
0
  }
2900
0
  _this->_impl_.invalid_encoding_length_ = from._impl_.invalid_encoding_length_;
2901
  // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.TestFunction)
2902
0
}
2903
2904
inline void TestFunction::SharedCtor(
2905
306
    ::_pb::Arena* arena, bool is_message_owned) {
2906
306
  (void)arena;
2907
306
  (void)is_message_owned;
2908
306
  new (&_impl_) Impl_{
2909
306
      decltype(_impl_._has_bits_){}
2910
306
    , /*decltype(_impl_._cached_size_)*/{}
2911
306
    , decltype(_impl_.local_vars_){nullptr}
2912
306
    , decltype(_impl_.invalid_encoding_length_){uint64_t{0u}}
2913
306
  };
2914
306
}
2915
2916
306
TestFunction::~TestFunction() {
2917
  // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.TestFunction)
2918
306
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
2919
0
  (void)arena;
2920
0
    return;
2921
0
  }
2922
306
  SharedDtor();
2923
306
}
2924
2925
306
inline void TestFunction::SharedDtor() {
2926
306
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
2927
306
  if (this != internal_default_instance()) delete _impl_.local_vars_;
2928
306
}
2929
2930
0
void TestFunction::SetCachedSize(int size) const {
2931
0
  _impl_._cached_size_.Set(size);
2932
0
}
2933
2934
10
void TestFunction::Clear() {
2935
// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.TestFunction)
2936
10
  uint32_t cached_has_bits = 0;
2937
  // Prevent compiler warnings about cached_has_bits being unused
2938
10
  (void) cached_has_bits;
2939
2940
10
  cached_has_bits = _impl_._has_bits_[0];
2941
10
  if (cached_has_bits & 0x00000001u) {
2942
0
    GOOGLE_DCHECK(_impl_.local_vars_ != nullptr);
2943
0
    _impl_.local_vars_->Clear();
2944
0
  }
2945
10
  _impl_.invalid_encoding_length_ = uint64_t{0u};
2946
10
  _impl_._has_bits_.Clear();
2947
10
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2948
10
}
2949
2950
0
const char* TestFunction::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
2951
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
2952
0
  _Internal::HasBits has_bits{};
2953
0
  while (!ctx->Done(&ptr)) {
2954
0
    uint32_t tag;
2955
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
2956
0
    switch (tag >> 3) {
2957
      // required .solidity.test.abiv2fuzzer.VarDecl local_vars = 1;
2958
0
      case 1:
2959
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
2960
0
          ptr = ctx->ParseMessage(_internal_mutable_local_vars(), ptr);
2961
0
          CHK_(ptr);
2962
0
        } else
2963
0
          goto handle_unusual;
2964
0
        continue;
2965
      // required uint64 invalid_encoding_length = 2;
2966
0
      case 2:
2967
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 16)) {
2968
0
          _Internal::set_has_invalid_encoding_length(&has_bits);
2969
0
          _impl_.invalid_encoding_length_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
2970
0
          CHK_(ptr);
2971
0
        } else
2972
0
          goto handle_unusual;
2973
0
        continue;
2974
0
      default:
2975
0
        goto handle_unusual;
2976
0
    }  // switch
2977
0
  handle_unusual:
2978
0
    if ((tag == 0) || ((tag & 7) == 4)) {
2979
0
      CHK_(ptr);
2980
0
      ctx->SetLastTag(tag);
2981
0
      goto message_done;
2982
0
    }
2983
0
    ptr = UnknownFieldParse(
2984
0
        tag,
2985
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
2986
0
        ptr, ctx);
2987
0
    CHK_(ptr != nullptr);
2988
0
  }  // while
2989
0
message_done:
2990
0
  _impl_._has_bits_.Or(has_bits);
2991
0
  return ptr;
2992
0
failure:
2993
0
  ptr = nullptr;
2994
0
  goto message_done;
2995
0
#undef CHK_
2996
0
}
2997
2998
uint8_t* TestFunction::_InternalSerialize(
2999
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3000
  // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.TestFunction)
3001
0
  uint32_t cached_has_bits = 0;
3002
0
  (void) cached_has_bits;
3003
3004
0
  cached_has_bits = _impl_._has_bits_[0];
3005
  // required .solidity.test.abiv2fuzzer.VarDecl local_vars = 1;
3006
0
  if (cached_has_bits & 0x00000001u) {
3007
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3008
0
      InternalWriteMessage(1, _Internal::local_vars(this),
3009
0
        _Internal::local_vars(this).GetCachedSize(), target, stream);
3010
0
  }
3011
3012
  // required uint64 invalid_encoding_length = 2;
3013
0
  if (cached_has_bits & 0x00000002u) {
3014
0
    target = stream->EnsureSpace(target);
3015
0
    target = ::_pbi::WireFormatLite::WriteUInt64ToArray(2, this->_internal_invalid_encoding_length(), target);
3016
0
  }
3017
3018
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3019
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3020
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
3021
0
  }
3022
  // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.TestFunction)
3023
0
  return target;
3024
0
}
3025
3026
0
size_t TestFunction::RequiredFieldsByteSizeFallback() const {
3027
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.abiv2fuzzer.TestFunction)
3028
0
  size_t total_size = 0;
3029
3030
0
  if (_internal_has_local_vars()) {
3031
    // required .solidity.test.abiv2fuzzer.VarDecl local_vars = 1;
3032
0
    total_size += 1 +
3033
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3034
0
        *_impl_.local_vars_);
3035
0
  }
3036
3037
0
  if (_internal_has_invalid_encoding_length()) {
3038
    // required uint64 invalid_encoding_length = 2;
3039
0
    total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_invalid_encoding_length());
3040
0
  }
3041
3042
0
  return total_size;
3043
0
}
3044
0
size_t TestFunction::ByteSizeLong() const {
3045
// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.TestFunction)
3046
0
  size_t total_size = 0;
3047
3048
0
  if (((_impl_._has_bits_[0] & 0x00000003) ^ 0x00000003) == 0) {  // All required fields are present.
3049
    // required .solidity.test.abiv2fuzzer.VarDecl local_vars = 1;
3050
0
    total_size += 1 +
3051
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3052
0
        *_impl_.local_vars_);
3053
3054
    // required uint64 invalid_encoding_length = 2;
3055
0
    total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne(this->_internal_invalid_encoding_length());
3056
3057
0
  } else {
3058
0
    total_size += RequiredFieldsByteSizeFallback();
3059
0
  }
3060
0
  uint32_t cached_has_bits = 0;
3061
  // Prevent compiler warnings about cached_has_bits being unused
3062
0
  (void) cached_has_bits;
3063
3064
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3065
0
}
3066
3067
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData TestFunction::_class_data_ = {
3068
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
3069
    TestFunction::MergeImpl
3070
};
3071
15
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*TestFunction::GetClassData() const { return &_class_data_; }
3072
3073
3074
5
void TestFunction::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
3075
5
  auto* const _this = static_cast<TestFunction*>(&to_msg);
3076
5
  auto& from = static_cast<const TestFunction&>(from_msg);
3077
  // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.TestFunction)
3078
5
  GOOGLE_DCHECK_NE(&from, _this);
3079
5
  uint32_t cached_has_bits = 0;
3080
5
  (void) cached_has_bits;
3081
3082
5
  cached_has_bits = from._impl_._has_bits_[0];
3083
5
  if (cached_has_bits & 0x00000003u) {
3084
0
    if (cached_has_bits & 0x00000001u) {
3085
0
      _this->_internal_mutable_local_vars()->::solidity::test::abiv2fuzzer::VarDecl::MergeFrom(
3086
0
          from._internal_local_vars());
3087
0
    }
3088
0
    if (cached_has_bits & 0x00000002u) {
3089
0
      _this->_impl_.invalid_encoding_length_ = from._impl_.invalid_encoding_length_;
3090
0
    }
3091
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
3092
0
  }
3093
5
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3094
5
}
3095
3096
0
void TestFunction::CopyFrom(const TestFunction& from) {
3097
// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.TestFunction)
3098
0
  if (&from == this) return;
3099
0
  Clear();
3100
0
  MergeFrom(from);
3101
0
}
3102
3103
0
bool TestFunction::IsInitialized() const {
3104
0
  if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
3105
0
  if (_internal_has_local_vars()) {
3106
0
    if (!_impl_.local_vars_->IsInitialized()) return false;
3107
0
  }
3108
0
  return true;
3109
0
}
3110
3111
0
void TestFunction::InternalSwap(TestFunction* other) {
3112
0
  using std::swap;
3113
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3114
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3115
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
3116
0
      PROTOBUF_FIELD_OFFSET(TestFunction, _impl_.invalid_encoding_length_)
3117
0
      + sizeof(TestFunction::_impl_.invalid_encoding_length_)
3118
0
      - PROTOBUF_FIELD_OFFSET(TestFunction, _impl_.local_vars_)>(
3119
0
          reinterpret_cast<char*>(&_impl_.local_vars_),
3120
0
          reinterpret_cast<char*>(&other->_impl_.local_vars_));
3121
0
}
3122
3123
3.58k
::PROTOBUF_NAMESPACE_ID::Metadata TestFunction::GetMetadata() const {
3124
3.58k
  return ::_pbi::AssignDescriptors(
3125
3.58k
      &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once,
3126
3.58k
      file_level_metadata_abiV2Proto_2eproto[11]);
3127
3.58k
}
3128
3129
// ===================================================================
3130
3131
class Contract::_Internal {
3132
 public:
3133
  using HasBits = decltype(std::declval<Contract>()._impl_._has_bits_);
3134
  static const ::solidity::test::abiv2fuzzer::VarDecl& state_vars(const Contract* msg);
3135
0
  static void set_has_state_vars(HasBits* has_bits) {
3136
0
    (*has_bits)[0] |= 1u;
3137
0
  }
3138
  static const ::solidity::test::abiv2fuzzer::TestFunction& testfunction(const Contract* msg);
3139
0
  static void set_has_testfunction(HasBits* has_bits) {
3140
0
    (*has_bits)[0] |= 2u;
3141
0
  }
3142
0
  static void set_has_test(HasBits* has_bits) {
3143
0
    (*has_bits)[0] |= 8u;
3144
0
  }
3145
0
  static void set_has_seed(HasBits* has_bits) {
3146
0
    (*has_bits)[0] |= 4u;
3147
0
  }
3148
0
  static bool MissingRequiredFields(const HasBits& has_bits) {
3149
0
    return ((has_bits[0] & 0x0000000f) ^ 0x0000000f) != 0;
3150
0
  }
3151
};
3152
3153
const ::solidity::test::abiv2fuzzer::VarDecl&
3154
0
Contract::_Internal::state_vars(const Contract* msg) {
3155
0
  return *msg->_impl_.state_vars_;
3156
0
}
3157
const ::solidity::test::abiv2fuzzer::TestFunction&
3158
0
Contract::_Internal::testfunction(const Contract* msg) {
3159
0
  return *msg->_impl_.testfunction_;
3160
0
}
3161
Contract::Contract(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3162
                         bool is_message_owned)
3163
318
  : ::PROTOBUF_NAMESPACE_ID::Message(arena, is_message_owned) {
3164
318
  SharedCtor(arena, is_message_owned);
3165
  // @@protoc_insertion_point(arena_constructor:solidity.test.abiv2fuzzer.Contract)
3166
318
}
3167
Contract::Contract(const Contract& from)
3168
0
  : ::PROTOBUF_NAMESPACE_ID::Message() {
3169
0
  Contract* const _this = this; (void)_this;
3170
0
  new (&_impl_) Impl_{
3171
0
      decltype(_impl_._has_bits_){from._impl_._has_bits_}
3172
0
    , /*decltype(_impl_._cached_size_)*/{}
3173
0
    , decltype(_impl_.state_vars_){nullptr}
3174
0
    , decltype(_impl_.testfunction_){nullptr}
3175
0
    , decltype(_impl_.seed_){}
3176
0
    , decltype(_impl_.test_){}};
3177
3178
0
  _internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3179
0
  if (from._internal_has_state_vars()) {
3180
0
    _this->_impl_.state_vars_ = new ::solidity::test::abiv2fuzzer::VarDecl(*from._impl_.state_vars_);
3181
0
  }
3182
0
  if (from._internal_has_testfunction()) {
3183
0
    _this->_impl_.testfunction_ = new ::solidity::test::abiv2fuzzer::TestFunction(*from._impl_.testfunction_);
3184
0
  }
3185
0
  ::memcpy(&_impl_.seed_, &from._impl_.seed_,
3186
0
    static_cast<size_t>(reinterpret_cast<char*>(&_impl_.test_) -
3187
0
    reinterpret_cast<char*>(&_impl_.seed_)) + sizeof(_impl_.test_));
3188
  // @@protoc_insertion_point(copy_constructor:solidity.test.abiv2fuzzer.Contract)
3189
0
}
3190
3191
inline void Contract::SharedCtor(
3192
318
    ::_pb::Arena* arena, bool is_message_owned) {
3193
318
  (void)arena;
3194
318
  (void)is_message_owned;
3195
318
  new (&_impl_) Impl_{
3196
318
      decltype(_impl_._has_bits_){}
3197
318
    , /*decltype(_impl_._cached_size_)*/{}
3198
318
    , decltype(_impl_.state_vars_){nullptr}
3199
318
    , decltype(_impl_.testfunction_){nullptr}
3200
318
    , decltype(_impl_.seed_){0u}
3201
318
    , decltype(_impl_.test_){1}
3202
318
  };
3203
318
}
3204
3205
318
Contract::~Contract() {
3206
  // @@protoc_insertion_point(destructor:solidity.test.abiv2fuzzer.Contract)
3207
318
  if (auto *arena = _internal_metadata_.DeleteReturnArena<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>()) {
3208
0
  (void)arena;
3209
0
    return;
3210
0
  }
3211
318
  SharedDtor();
3212
318
}
3213
3214
318
inline void Contract::SharedDtor() {
3215
318
  GOOGLE_DCHECK(GetArenaForAllocation() == nullptr);
3216
318
  if (this != internal_default_instance()) delete _impl_.state_vars_;
3217
318
  if (this != internal_default_instance()) delete _impl_.testfunction_;
3218
318
}
3219
3220
0
void Contract::SetCachedSize(int size) const {
3221
0
  _impl_._cached_size_.Set(size);
3222
0
}
3223
3224
653
void Contract::Clear() {
3225
// @@protoc_insertion_point(message_clear_start:solidity.test.abiv2fuzzer.Contract)
3226
653
  uint32_t cached_has_bits = 0;
3227
  // Prevent compiler warnings about cached_has_bits being unused
3228
653
  (void) cached_has_bits;
3229
3230
653
  cached_has_bits = _impl_._has_bits_[0];
3231
653
  if (cached_has_bits & 0x00000003u) {
3232
9
    if (cached_has_bits & 0x00000001u) {
3233
9
      GOOGLE_DCHECK(_impl_.state_vars_ != nullptr);
3234
9
      _impl_.state_vars_->Clear();
3235
9
    }
3236
9
    if (cached_has_bits & 0x00000002u) {
3237
0
      GOOGLE_DCHECK(_impl_.testfunction_ != nullptr);
3238
0
      _impl_.testfunction_->Clear();
3239
0
    }
3240
9
  }
3241
653
  if (cached_has_bits & 0x0000000cu) {
3242
0
    _impl_.seed_ = 0u;
3243
0
    _impl_.test_ = 1;
3244
0
  }
3245
653
  _impl_._has_bits_.Clear();
3246
653
  _internal_metadata_.Clear<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3247
653
}
3248
3249
0
const char* Contract::_InternalParse(const char* ptr, ::_pbi::ParseContext* ctx) {
3250
0
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
3251
0
  _Internal::HasBits has_bits{};
3252
0
  while (!ctx->Done(&ptr)) {
3253
0
    uint32_t tag;
3254
0
    ptr = ::_pbi::ReadTag(ptr, &tag);
3255
0
    switch (tag >> 3) {
3256
      // required .solidity.test.abiv2fuzzer.VarDecl state_vars = 1;
3257
0
      case 1:
3258
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 10)) {
3259
0
          ptr = ctx->ParseMessage(_internal_mutable_state_vars(), ptr);
3260
0
          CHK_(ptr);
3261
0
        } else
3262
0
          goto handle_unusual;
3263
0
        continue;
3264
      // required .solidity.test.abiv2fuzzer.TestFunction testfunction = 2;
3265
0
      case 2:
3266
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 18)) {
3267
0
          ptr = ctx->ParseMessage(_internal_mutable_testfunction(), ptr);
3268
0
          CHK_(ptr);
3269
0
        } else
3270
0
          goto handle_unusual;
3271
0
        continue;
3272
      // required .solidity.test.abiv2fuzzer.Contract.Test test = 3;
3273
0
      case 3:
3274
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 24)) {
3275
0
          uint64_t val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint64(&ptr);
3276
0
          CHK_(ptr);
3277
0
          if (PROTOBUF_PREDICT_TRUE(::solidity::test::abiv2fuzzer::Contract_Test_IsValid(val))) {
3278
0
            _internal_set_test(static_cast<::solidity::test::abiv2fuzzer::Contract_Test>(val));
3279
0
          } else {
3280
0
            ::PROTOBUF_NAMESPACE_ID::internal::WriteVarint(3, val, mutable_unknown_fields());
3281
0
          }
3282
0
        } else
3283
0
          goto handle_unusual;
3284
0
        continue;
3285
      // required uint32 seed = 4;
3286
0
      case 4:
3287
0
        if (PROTOBUF_PREDICT_TRUE(static_cast<uint8_t>(tag) == 32)) {
3288
0
          _Internal::set_has_seed(&has_bits);
3289
0
          _impl_.seed_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint32(&ptr);
3290
0
          CHK_(ptr);
3291
0
        } else
3292
0
          goto handle_unusual;
3293
0
        continue;
3294
0
      default:
3295
0
        goto handle_unusual;
3296
0
    }  // switch
3297
0
  handle_unusual:
3298
0
    if ((tag == 0) || ((tag & 7) == 4)) {
3299
0
      CHK_(ptr);
3300
0
      ctx->SetLastTag(tag);
3301
0
      goto message_done;
3302
0
    }
3303
0
    ptr = UnknownFieldParse(
3304
0
        tag,
3305
0
        _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(),
3306
0
        ptr, ctx);
3307
0
    CHK_(ptr != nullptr);
3308
0
  }  // while
3309
0
message_done:
3310
0
  _impl_._has_bits_.Or(has_bits);
3311
0
  return ptr;
3312
0
failure:
3313
0
  ptr = nullptr;
3314
0
  goto message_done;
3315
0
#undef CHK_
3316
0
}
3317
3318
uint8_t* Contract::_InternalSerialize(
3319
0
    uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const {
3320
  // @@protoc_insertion_point(serialize_to_array_start:solidity.test.abiv2fuzzer.Contract)
3321
0
  uint32_t cached_has_bits = 0;
3322
0
  (void) cached_has_bits;
3323
3324
0
  cached_has_bits = _impl_._has_bits_[0];
3325
  // required .solidity.test.abiv2fuzzer.VarDecl state_vars = 1;
3326
0
  if (cached_has_bits & 0x00000001u) {
3327
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3328
0
      InternalWriteMessage(1, _Internal::state_vars(this),
3329
0
        _Internal::state_vars(this).GetCachedSize(), target, stream);
3330
0
  }
3331
3332
  // required .solidity.test.abiv2fuzzer.TestFunction testfunction = 2;
3333
0
  if (cached_has_bits & 0x00000002u) {
3334
0
    target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
3335
0
      InternalWriteMessage(2, _Internal::testfunction(this),
3336
0
        _Internal::testfunction(this).GetCachedSize(), target, stream);
3337
0
  }
3338
3339
  // required .solidity.test.abiv2fuzzer.Contract.Test test = 3;
3340
0
  if (cached_has_bits & 0x00000008u) {
3341
0
    target = stream->EnsureSpace(target);
3342
0
    target = ::_pbi::WireFormatLite::WriteEnumToArray(
3343
0
      3, this->_internal_test(), target);
3344
0
  }
3345
3346
  // required uint32 seed = 4;
3347
0
  if (cached_has_bits & 0x00000004u) {
3348
0
    target = stream->EnsureSpace(target);
3349
0
    target = ::_pbi::WireFormatLite::WriteUInt32ToArray(4, this->_internal_seed(), target);
3350
0
  }
3351
3352
0
  if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
3353
0
    target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3354
0
        _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream);
3355
0
  }
3356
  // @@protoc_insertion_point(serialize_to_array_end:solidity.test.abiv2fuzzer.Contract)
3357
0
  return target;
3358
0
}
3359
3360
0
size_t Contract::RequiredFieldsByteSizeFallback() const {
3361
// @@protoc_insertion_point(required_fields_byte_size_fallback_start:solidity.test.abiv2fuzzer.Contract)
3362
0
  size_t total_size = 0;
3363
3364
0
  if (_internal_has_state_vars()) {
3365
    // required .solidity.test.abiv2fuzzer.VarDecl state_vars = 1;
3366
0
    total_size += 1 +
3367
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3368
0
        *_impl_.state_vars_);
3369
0
  }
3370
3371
0
  if (_internal_has_testfunction()) {
3372
    // required .solidity.test.abiv2fuzzer.TestFunction testfunction = 2;
3373
0
    total_size += 1 +
3374
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3375
0
        *_impl_.testfunction_);
3376
0
  }
3377
3378
0
  if (_internal_has_seed()) {
3379
    // required uint32 seed = 4;
3380
0
    total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seed());
3381
0
  }
3382
3383
0
  if (_internal_has_test()) {
3384
    // required .solidity.test.abiv2fuzzer.Contract.Test test = 3;
3385
0
    total_size += 1 +
3386
0
      ::_pbi::WireFormatLite::EnumSize(this->_internal_test());
3387
0
  }
3388
3389
0
  return total_size;
3390
0
}
3391
0
size_t Contract::ByteSizeLong() const {
3392
// @@protoc_insertion_point(message_byte_size_start:solidity.test.abiv2fuzzer.Contract)
3393
0
  size_t total_size = 0;
3394
3395
0
  if (((_impl_._has_bits_[0] & 0x0000000f) ^ 0x0000000f) == 0) {  // All required fields are present.
3396
    // required .solidity.test.abiv2fuzzer.VarDecl state_vars = 1;
3397
0
    total_size += 1 +
3398
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3399
0
        *_impl_.state_vars_);
3400
3401
    // required .solidity.test.abiv2fuzzer.TestFunction testfunction = 2;
3402
0
    total_size += 1 +
3403
0
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
3404
0
        *_impl_.testfunction_);
3405
3406
    // required uint32 seed = 4;
3407
0
    total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(this->_internal_seed());
3408
3409
    // required .solidity.test.abiv2fuzzer.Contract.Test test = 3;
3410
0
    total_size += 1 +
3411
0
      ::_pbi::WireFormatLite::EnumSize(this->_internal_test());
3412
3413
0
  } else {
3414
0
    total_size += RequiredFieldsByteSizeFallback();
3415
0
  }
3416
0
  uint32_t cached_has_bits = 0;
3417
  // Prevent compiler warnings about cached_has_bits being unused
3418
0
  (void) cached_has_bits;
3419
3420
0
  return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
3421
0
}
3422
3423
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData Contract::_class_data_ = {
3424
    ::PROTOBUF_NAMESPACE_ID::Message::CopyWithSourceCheck,
3425
    Contract::MergeImpl
3426
};
3427
0
const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*Contract::GetClassData() const { return &_class_data_; }
3428
3429
3430
0
void Contract::MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg) {
3431
0
  auto* const _this = static_cast<Contract*>(&to_msg);
3432
0
  auto& from = static_cast<const Contract&>(from_msg);
3433
  // @@protoc_insertion_point(class_specific_merge_from_start:solidity.test.abiv2fuzzer.Contract)
3434
0
  GOOGLE_DCHECK_NE(&from, _this);
3435
0
  uint32_t cached_has_bits = 0;
3436
0
  (void) cached_has_bits;
3437
3438
0
  cached_has_bits = from._impl_._has_bits_[0];
3439
0
  if (cached_has_bits & 0x0000000fu) {
3440
0
    if (cached_has_bits & 0x00000001u) {
3441
0
      _this->_internal_mutable_state_vars()->::solidity::test::abiv2fuzzer::VarDecl::MergeFrom(
3442
0
          from._internal_state_vars());
3443
0
    }
3444
0
    if (cached_has_bits & 0x00000002u) {
3445
0
      _this->_internal_mutable_testfunction()->::solidity::test::abiv2fuzzer::TestFunction::MergeFrom(
3446
0
          from._internal_testfunction());
3447
0
    }
3448
0
    if (cached_has_bits & 0x00000004u) {
3449
0
      _this->_impl_.seed_ = from._impl_.seed_;
3450
0
    }
3451
0
    if (cached_has_bits & 0x00000008u) {
3452
0
      _this->_impl_.test_ = from._impl_.test_;
3453
0
    }
3454
0
    _this->_impl_._has_bits_[0] |= cached_has_bits;
3455
0
  }
3456
0
  _this->_internal_metadata_.MergeFrom<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(from._internal_metadata_);
3457
0
}
3458
3459
0
void Contract::CopyFrom(const Contract& from) {
3460
// @@protoc_insertion_point(class_specific_copy_from_start:solidity.test.abiv2fuzzer.Contract)
3461
0
  if (&from == this) return;
3462
0
  Clear();
3463
0
  MergeFrom(from);
3464
0
}
3465
3466
0
bool Contract::IsInitialized() const {
3467
0
  if (_Internal::MissingRequiredFields(_impl_._has_bits_)) return false;
3468
0
  if (_internal_has_state_vars()) {
3469
0
    if (!_impl_.state_vars_->IsInitialized()) return false;
3470
0
  }
3471
0
  if (_internal_has_testfunction()) {
3472
0
    if (!_impl_.testfunction_->IsInitialized()) return false;
3473
0
  }
3474
0
  return true;
3475
0
}
3476
3477
0
void Contract::InternalSwap(Contract* other) {
3478
0
  using std::swap;
3479
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3480
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3481
0
  ::PROTOBUF_NAMESPACE_ID::internal::memswap<
3482
0
      PROTOBUF_FIELD_OFFSET(Contract, _impl_.seed_)
3483
0
      + sizeof(Contract::_impl_.seed_)
3484
0
      - PROTOBUF_FIELD_OFFSET(Contract, _impl_.state_vars_)>(
3485
0
          reinterpret_cast<char*>(&_impl_.state_vars_),
3486
0
          reinterpret_cast<char*>(&other->_impl_.state_vars_));
3487
0
  swap(_impl_.test_, other->_impl_.test_);
3488
0
}
3489
3490
5.64k
::PROTOBUF_NAMESPACE_ID::Metadata Contract::GetMetadata() const {
3491
5.64k
  return ::_pbi::AssignDescriptors(
3492
5.64k
      &descriptor_table_abiV2Proto_2eproto_getter, &descriptor_table_abiV2Proto_2eproto_once,
3493
5.64k
      file_level_metadata_abiV2Proto_2eproto[12]);
3494
5.64k
}
3495
3496
// @@protoc_insertion_point(namespace_scope)
3497
}  // namespace abiv2fuzzer
3498
}  // namespace test
3499
}  // namespace solidity
3500
PROTOBUF_NAMESPACE_OPEN
3501
template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::BoolType*
3502
9.74k
Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::BoolType >(Arena* arena) {
3503
9.74k
  return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::BoolType >(arena);
3504
9.74k
}
3505
template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::IntegerType*
3506
7.12k
Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::IntegerType >(Arena* arena) {
3507
7.12k
  return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::IntegerType >(arena);
3508
7.12k
}
3509
template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::FixedByteType*
3510
4.49k
Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::FixedByteType >(Arena* arena) {
3511
4.49k
  return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::FixedByteType >(arena);
3512
4.49k
}
3513
template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::AddressType*
3514
5.27k
Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::AddressType >(Arena* arena) {
3515
5.27k
  return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::AddressType >(arena);
3516
5.27k
}
3517
template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::ValueType*
3518
30.3k
Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::ValueType >(Arena* arena) {
3519
30.3k
  return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::ValueType >(arena);
3520
30.3k
}
3521
template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::DynamicByteArrayType*
3522
4.49k
Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::DynamicByteArrayType >(Arena* arena) {
3523
4.49k
  return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::DynamicByteArrayType >(arena);
3524
4.49k
}
3525
template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::ArrayType*
3526
5.48k
Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::ArrayType >(Arena* arena) {
3527
5.48k
  return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::ArrayType >(arena);
3528
5.48k
}
3529
template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::StructType*
3530
25.2k
Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::StructType >(Arena* arena) {
3531
25.2k
  return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::StructType >(arena);
3532
25.2k
}
3533
template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::NonValueType*
3534
38.2k
Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::NonValueType >(Arena* arena) {
3535
38.2k
  return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::NonValueType >(arena);
3536
38.2k
}
3537
template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::Type*
3538
78.4k
Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::Type >(Arena* arena) {
3539
78.4k
  return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::Type >(arena);
3540
78.4k
}
3541
template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::VarDecl*
3542
635
Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::VarDecl >(Arena* arena) {
3543
635
  return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::VarDecl >(arena);
3544
635
}
3545
template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::TestFunction*
3546
306
Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::TestFunction >(Arena* arena) {
3547
306
  return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::TestFunction >(arena);
3548
306
}
3549
template<> PROTOBUF_NOINLINE ::solidity::test::abiv2fuzzer::Contract*
3550
0
Arena::CreateMaybeMessage< ::solidity::test::abiv2fuzzer::Contract >(Arena* arena) {
3551
0
  return Arena::CreateMessageInternal< ::solidity::test::abiv2fuzzer::Contract >(arena);
3552
0
}
3553
PROTOBUF_NAMESPACE_CLOSE
3554
3555
// @@protoc_insertion_point(global_scope)
3556
#include <google/protobuf/port_undef.inc>