/src/solidity/test/tools/ossfuzz/solProto.pb.h
Line | Count | Source |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: solProto.proto |
3 | | |
4 | | #ifndef GOOGLE_PROTOBUF_INCLUDED_solProto_2eproto |
5 | | #define GOOGLE_PROTOBUF_INCLUDED_solProto_2eproto |
6 | | |
7 | | #include <limits> |
8 | | #include <string> |
9 | | |
10 | | #include <google/protobuf/port_def.inc> |
11 | | #if PROTOBUF_VERSION < 3021000 |
12 | | #error This file was generated by a newer version of protoc which is |
13 | | #error incompatible with your Protocol Buffer headers. Please update |
14 | | #error your headers. |
15 | | #endif |
16 | | #if 3021007 < PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/port_undef.inc> |
23 | | #include <google/protobuf/io/coded_stream.h> |
24 | | #include <google/protobuf/arena.h> |
25 | | #include <google/protobuf/arenastring.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/metadata_lite.h> |
28 | | #include <google/protobuf/generated_message_reflection.h> |
29 | | #include <google/protobuf/message.h> |
30 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
31 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
32 | | #include <google/protobuf/generated_enum_reflection.h> |
33 | | #include <google/protobuf/unknown_field_set.h> |
34 | | // @@protoc_insertion_point(includes) |
35 | | #include <google/protobuf/port_def.inc> |
36 | | #define PROTOBUF_INTERNAL_EXPORT_solProto_2eproto |
37 | | PROTOBUF_NAMESPACE_OPEN |
38 | | namespace internal { |
39 | | class AnyMetadata; |
40 | | } // namespace internal |
41 | | PROTOBUF_NAMESPACE_CLOSE |
42 | | |
43 | | // Internal implementation detail -- do not use these members. |
44 | | struct TableStruct_solProto_2eproto { |
45 | | static const uint32_t offsets[]; |
46 | | }; |
47 | | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_solProto_2eproto; |
48 | | namespace solidity { |
49 | | namespace test { |
50 | | namespace solprotofuzzer { |
51 | | class Contract; |
52 | | struct ContractDefaultTypeInternal; |
53 | | extern ContractDefaultTypeInternal _Contract_default_instance_; |
54 | | class ContractFunction; |
55 | | struct ContractFunctionDefaultTypeInternal; |
56 | | extern ContractFunctionDefaultTypeInternal _ContractFunction_default_instance_; |
57 | | class ContractOrInterface; |
58 | | struct ContractOrInterfaceDefaultTypeInternal; |
59 | | extern ContractOrInterfaceDefaultTypeInternal _ContractOrInterface_default_instance_; |
60 | | class ContractType; |
61 | | struct ContractTypeDefaultTypeInternal; |
62 | | extern ContractTypeDefaultTypeInternal _ContractType_default_instance_; |
63 | | class Interface; |
64 | | struct InterfaceDefaultTypeInternal; |
65 | | extern InterfaceDefaultTypeInternal _Interface_default_instance_; |
66 | | class InterfaceFunction; |
67 | | struct InterfaceFunctionDefaultTypeInternal; |
68 | | extern InterfaceFunctionDefaultTypeInternal _InterfaceFunction_default_instance_; |
69 | | class Library; |
70 | | struct LibraryDefaultTypeInternal; |
71 | | extern LibraryDefaultTypeInternal _Library_default_instance_; |
72 | | class LibraryFunction; |
73 | | struct LibraryFunctionDefaultTypeInternal; |
74 | | extern LibraryFunctionDefaultTypeInternal _LibraryFunction_default_instance_; |
75 | | class Program; |
76 | | struct ProgramDefaultTypeInternal; |
77 | | extern ProgramDefaultTypeInternal _Program_default_instance_; |
78 | | class TestContract; |
79 | | struct TestContractDefaultTypeInternal; |
80 | | extern TestContractDefaultTypeInternal _TestContract_default_instance_; |
81 | | } // namespace solprotofuzzer |
82 | | } // namespace test |
83 | | } // namespace solidity |
84 | | PROTOBUF_NAMESPACE_OPEN |
85 | | template<> ::solidity::test::solprotofuzzer::Contract* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::Contract>(Arena*); |
86 | | template<> ::solidity::test::solprotofuzzer::ContractFunction* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::ContractFunction>(Arena*); |
87 | | template<> ::solidity::test::solprotofuzzer::ContractOrInterface* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::ContractOrInterface>(Arena*); |
88 | | template<> ::solidity::test::solprotofuzzer::ContractType* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::ContractType>(Arena*); |
89 | | template<> ::solidity::test::solprotofuzzer::Interface* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::Interface>(Arena*); |
90 | | template<> ::solidity::test::solprotofuzzer::InterfaceFunction* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::InterfaceFunction>(Arena*); |
91 | | template<> ::solidity::test::solprotofuzzer::Library* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::Library>(Arena*); |
92 | | template<> ::solidity::test::solprotofuzzer::LibraryFunction* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::LibraryFunction>(Arena*); |
93 | | template<> ::solidity::test::solprotofuzzer::Program* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::Program>(Arena*); |
94 | | template<> ::solidity::test::solprotofuzzer::TestContract* Arena::CreateMaybeMessage<::solidity::test::solprotofuzzer::TestContract>(Arena*); |
95 | | PROTOBUF_NAMESPACE_CLOSE |
96 | | namespace solidity { |
97 | | namespace test { |
98 | | namespace solprotofuzzer { |
99 | | |
100 | | enum InterfaceFunction_StateMutability : int { |
101 | | InterfaceFunction_StateMutability_PURE = 0, |
102 | | InterfaceFunction_StateMutability_VIEW = 1, |
103 | | InterfaceFunction_StateMutability_PAYABLE = 2, |
104 | | InterfaceFunction_StateMutability_NONPAYABLE = 3 |
105 | | }; |
106 | | bool InterfaceFunction_StateMutability_IsValid(int value); |
107 | | constexpr InterfaceFunction_StateMutability InterfaceFunction_StateMutability_StateMutability_MIN = InterfaceFunction_StateMutability_PURE; |
108 | | constexpr InterfaceFunction_StateMutability InterfaceFunction_StateMutability_StateMutability_MAX = InterfaceFunction_StateMutability_NONPAYABLE; |
109 | | constexpr int InterfaceFunction_StateMutability_StateMutability_ARRAYSIZE = InterfaceFunction_StateMutability_StateMutability_MAX + 1; |
110 | | |
111 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* InterfaceFunction_StateMutability_descriptor(); |
112 | | template<typename T> |
113 | | inline const std::string& InterfaceFunction_StateMutability_Name(T enum_t_value) { |
114 | | static_assert(::std::is_same<T, InterfaceFunction_StateMutability>::value || |
115 | | ::std::is_integral<T>::value, |
116 | | "Incorrect type passed to function InterfaceFunction_StateMutability_Name."); |
117 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
118 | | InterfaceFunction_StateMutability_descriptor(), enum_t_value); |
119 | | } |
120 | | inline bool InterfaceFunction_StateMutability_Parse( |
121 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, InterfaceFunction_StateMutability* value) { |
122 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<InterfaceFunction_StateMutability>( |
123 | 0 | InterfaceFunction_StateMutability_descriptor(), name, value); |
124 | 0 | } |
125 | | enum LibraryFunction_StateMutability : int { |
126 | | LibraryFunction_StateMutability_PURE = 0, |
127 | | LibraryFunction_StateMutability_VIEW = 1, |
128 | | LibraryFunction_StateMutability_NONPAYABLE = 2 |
129 | | }; |
130 | | bool LibraryFunction_StateMutability_IsValid(int value); |
131 | | constexpr LibraryFunction_StateMutability LibraryFunction_StateMutability_StateMutability_MIN = LibraryFunction_StateMutability_PURE; |
132 | | constexpr LibraryFunction_StateMutability LibraryFunction_StateMutability_StateMutability_MAX = LibraryFunction_StateMutability_NONPAYABLE; |
133 | | constexpr int LibraryFunction_StateMutability_StateMutability_ARRAYSIZE = LibraryFunction_StateMutability_StateMutability_MAX + 1; |
134 | | |
135 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LibraryFunction_StateMutability_descriptor(); |
136 | | template<typename T> |
137 | | inline const std::string& LibraryFunction_StateMutability_Name(T enum_t_value) { |
138 | | static_assert(::std::is_same<T, LibraryFunction_StateMutability>::value || |
139 | | ::std::is_integral<T>::value, |
140 | | "Incorrect type passed to function LibraryFunction_StateMutability_Name."); |
141 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
142 | | LibraryFunction_StateMutability_descriptor(), enum_t_value); |
143 | | } |
144 | | inline bool LibraryFunction_StateMutability_Parse( |
145 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LibraryFunction_StateMutability* value) { |
146 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<LibraryFunction_StateMutability>( |
147 | 0 | LibraryFunction_StateMutability_descriptor(), name, value); |
148 | 0 | } |
149 | | enum LibraryFunction_Visibility : int { |
150 | | LibraryFunction_Visibility_PUBLIC = 0, |
151 | | LibraryFunction_Visibility_EXTERNAL = 1, |
152 | | LibraryFunction_Visibility_INTERNAL = 2, |
153 | | LibraryFunction_Visibility_PRIVATE = 3 |
154 | | }; |
155 | | bool LibraryFunction_Visibility_IsValid(int value); |
156 | | constexpr LibraryFunction_Visibility LibraryFunction_Visibility_Visibility_MIN = LibraryFunction_Visibility_PUBLIC; |
157 | | constexpr LibraryFunction_Visibility LibraryFunction_Visibility_Visibility_MAX = LibraryFunction_Visibility_PRIVATE; |
158 | | constexpr int LibraryFunction_Visibility_Visibility_ARRAYSIZE = LibraryFunction_Visibility_Visibility_MAX + 1; |
159 | | |
160 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* LibraryFunction_Visibility_descriptor(); |
161 | | template<typename T> |
162 | | inline const std::string& LibraryFunction_Visibility_Name(T enum_t_value) { |
163 | | static_assert(::std::is_same<T, LibraryFunction_Visibility>::value || |
164 | | ::std::is_integral<T>::value, |
165 | | "Incorrect type passed to function LibraryFunction_Visibility_Name."); |
166 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
167 | | LibraryFunction_Visibility_descriptor(), enum_t_value); |
168 | | } |
169 | | inline bool LibraryFunction_Visibility_Parse( |
170 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, LibraryFunction_Visibility* value) { |
171 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<LibraryFunction_Visibility>( |
172 | 0 | LibraryFunction_Visibility_descriptor(), name, value); |
173 | 0 | } |
174 | | enum ContractFunction_StateMutability : int { |
175 | | ContractFunction_StateMutability_PURE = 0, |
176 | | ContractFunction_StateMutability_VIEW = 1, |
177 | | ContractFunction_StateMutability_PAYABLE = 2, |
178 | | ContractFunction_StateMutability_NONPAYABLE = 3 |
179 | | }; |
180 | | bool ContractFunction_StateMutability_IsValid(int value); |
181 | | constexpr ContractFunction_StateMutability ContractFunction_StateMutability_StateMutability_MIN = ContractFunction_StateMutability_PURE; |
182 | | constexpr ContractFunction_StateMutability ContractFunction_StateMutability_StateMutability_MAX = ContractFunction_StateMutability_NONPAYABLE; |
183 | | constexpr int ContractFunction_StateMutability_StateMutability_ARRAYSIZE = ContractFunction_StateMutability_StateMutability_MAX + 1; |
184 | | |
185 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ContractFunction_StateMutability_descriptor(); |
186 | | template<typename T> |
187 | | inline const std::string& ContractFunction_StateMutability_Name(T enum_t_value) { |
188 | | static_assert(::std::is_same<T, ContractFunction_StateMutability>::value || |
189 | | ::std::is_integral<T>::value, |
190 | | "Incorrect type passed to function ContractFunction_StateMutability_Name."); |
191 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
192 | | ContractFunction_StateMutability_descriptor(), enum_t_value); |
193 | | } |
194 | | inline bool ContractFunction_StateMutability_Parse( |
195 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ContractFunction_StateMutability* value) { |
196 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ContractFunction_StateMutability>( |
197 | 0 | ContractFunction_StateMutability_descriptor(), name, value); |
198 | 0 | } |
199 | | enum ContractFunction_Visibility : int { |
200 | | ContractFunction_Visibility_PUBLIC = 0, |
201 | | ContractFunction_Visibility_EXTERNAL = 1, |
202 | | ContractFunction_Visibility_INTERNAL = 2, |
203 | | ContractFunction_Visibility_PRIVATE = 3 |
204 | | }; |
205 | | bool ContractFunction_Visibility_IsValid(int value); |
206 | | constexpr ContractFunction_Visibility ContractFunction_Visibility_Visibility_MIN = ContractFunction_Visibility_PUBLIC; |
207 | | constexpr ContractFunction_Visibility ContractFunction_Visibility_Visibility_MAX = ContractFunction_Visibility_PRIVATE; |
208 | | constexpr int ContractFunction_Visibility_Visibility_ARRAYSIZE = ContractFunction_Visibility_Visibility_MAX + 1; |
209 | | |
210 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ContractFunction_Visibility_descriptor(); |
211 | | template<typename T> |
212 | | inline const std::string& ContractFunction_Visibility_Name(T enum_t_value) { |
213 | | static_assert(::std::is_same<T, ContractFunction_Visibility>::value || |
214 | | ::std::is_integral<T>::value, |
215 | | "Incorrect type passed to function ContractFunction_Visibility_Name."); |
216 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
217 | | ContractFunction_Visibility_descriptor(), enum_t_value); |
218 | | } |
219 | | inline bool ContractFunction_Visibility_Parse( |
220 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ContractFunction_Visibility* value) { |
221 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ContractFunction_Visibility>( |
222 | 0 | ContractFunction_Visibility_descriptor(), name, value); |
223 | 0 | } |
224 | | enum TestContract_Type : int { |
225 | | TestContract_Type_LIBRARY = 0, |
226 | | TestContract_Type_CONTRACT = 1 |
227 | | }; |
228 | | bool TestContract_Type_IsValid(int value); |
229 | | constexpr TestContract_Type TestContract_Type_Type_MIN = TestContract_Type_LIBRARY; |
230 | | constexpr TestContract_Type TestContract_Type_Type_MAX = TestContract_Type_CONTRACT; |
231 | | constexpr int TestContract_Type_Type_ARRAYSIZE = TestContract_Type_Type_MAX + 1; |
232 | | |
233 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* TestContract_Type_descriptor(); |
234 | | template<typename T> |
235 | | inline const std::string& TestContract_Type_Name(T enum_t_value) { |
236 | | static_assert(::std::is_same<T, TestContract_Type>::value || |
237 | | ::std::is_integral<T>::value, |
238 | | "Incorrect type passed to function TestContract_Type_Name."); |
239 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
240 | | TestContract_Type_descriptor(), enum_t_value); |
241 | | } |
242 | | inline bool TestContract_Type_Parse( |
243 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, TestContract_Type* value) { |
244 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<TestContract_Type>( |
245 | 0 | TestContract_Type_descriptor(), name, value); |
246 | 0 | } |
247 | | // =================================================================== |
248 | | |
249 | | class InterfaceFunction final : |
250 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.InterfaceFunction) */ { |
251 | | public: |
252 | 0 | inline InterfaceFunction() : InterfaceFunction(nullptr) {} |
253 | | ~InterfaceFunction() override; |
254 | | explicit PROTOBUF_CONSTEXPR InterfaceFunction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
255 | | |
256 | | InterfaceFunction(const InterfaceFunction& from); |
257 | | InterfaceFunction(InterfaceFunction&& from) noexcept |
258 | 0 | : InterfaceFunction() { |
259 | 0 | *this = ::std::move(from); |
260 | 0 | } |
261 | | |
262 | 0 | inline InterfaceFunction& operator=(const InterfaceFunction& from) { |
263 | 0 | CopyFrom(from); |
264 | 0 | return *this; |
265 | 0 | } |
266 | 0 | inline InterfaceFunction& operator=(InterfaceFunction&& from) noexcept { |
267 | 0 | if (this == &from) return *this; |
268 | 0 | if (GetOwningArena() == from.GetOwningArena() |
269 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
270 | 0 | && GetOwningArena() != nullptr |
271 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
272 | 0 | ) { |
273 | 0 | InternalSwap(&from); |
274 | 0 | } else { |
275 | 0 | CopyFrom(from); |
276 | 0 | } |
277 | 0 | return *this; |
278 | 0 | } |
279 | | |
280 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
281 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
282 | 0 | } |
283 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
284 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
285 | 0 | } |
286 | | |
287 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
288 | 0 | return GetDescriptor(); |
289 | 0 | } |
290 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
291 | 0 | return default_instance().GetMetadata().descriptor; |
292 | 0 | } |
293 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
294 | 0 | return default_instance().GetMetadata().reflection; |
295 | 0 | } |
296 | 0 | static const InterfaceFunction& default_instance() { |
297 | 0 | return *internal_default_instance(); |
298 | 0 | } |
299 | 0 | static inline const InterfaceFunction* internal_default_instance() { |
300 | 0 | return reinterpret_cast<const InterfaceFunction*>( |
301 | 0 | &_InterfaceFunction_default_instance_); |
302 | 0 | } |
303 | | static constexpr int kIndexInFileMessages = |
304 | | 0; |
305 | | |
306 | 0 | friend void swap(InterfaceFunction& a, InterfaceFunction& b) { |
307 | 0 | a.Swap(&b); |
308 | 0 | } |
309 | 0 | inline void Swap(InterfaceFunction* other) { |
310 | 0 | if (other == this) return; |
311 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
312 | 0 | if (GetOwningArena() != nullptr && |
313 | 0 | GetOwningArena() == other->GetOwningArena()) { |
314 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
315 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
316 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
317 | 0 | InternalSwap(other); |
318 | 0 | } else { |
319 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
320 | 0 | } |
321 | 0 | } |
322 | 0 | void UnsafeArenaSwap(InterfaceFunction* other) { |
323 | 0 | if (other == this) return; |
324 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
325 | 0 | InternalSwap(other); |
326 | 0 | } |
327 | | |
328 | | // implements Message ---------------------------------------------- |
329 | | |
330 | 1.24k | InterfaceFunction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
331 | 1.24k | return CreateMaybeMessage<InterfaceFunction>(arena); |
332 | 1.24k | } |
333 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
334 | | void CopyFrom(const InterfaceFunction& from); |
335 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
336 | 0 | void MergeFrom( const InterfaceFunction& from) { |
337 | 0 | InterfaceFunction::MergeImpl(*this, from); |
338 | 0 | } |
339 | | private: |
340 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
341 | | public: |
342 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
343 | | bool IsInitialized() const final; |
344 | | |
345 | | size_t ByteSizeLong() const final; |
346 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
347 | | uint8_t* _InternalSerialize( |
348 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
349 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
350 | | |
351 | | private: |
352 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
353 | | void SharedDtor(); |
354 | | void SetCachedSize(int size) const final; |
355 | | void InternalSwap(InterfaceFunction* other); |
356 | | |
357 | | private: |
358 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
359 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
360 | 0 | return "solidity.test.solprotofuzzer.InterfaceFunction"; |
361 | 0 | } |
362 | | protected: |
363 | | explicit InterfaceFunction(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
364 | | bool is_message_owned = false); |
365 | | public: |
366 | | |
367 | | static const ClassData _class_data_; |
368 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
369 | | |
370 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
371 | | |
372 | | // nested types ---------------------------------------------------- |
373 | | |
374 | | typedef InterfaceFunction_StateMutability StateMutability; |
375 | | static constexpr StateMutability PURE = |
376 | | InterfaceFunction_StateMutability_PURE; |
377 | | static constexpr StateMutability VIEW = |
378 | | InterfaceFunction_StateMutability_VIEW; |
379 | | static constexpr StateMutability PAYABLE = |
380 | | InterfaceFunction_StateMutability_PAYABLE; |
381 | | static constexpr StateMutability NONPAYABLE = |
382 | | InterfaceFunction_StateMutability_NONPAYABLE; |
383 | 0 | static inline bool StateMutability_IsValid(int value) { |
384 | 0 | return InterfaceFunction_StateMutability_IsValid(value); |
385 | 0 | } |
386 | | static constexpr StateMutability StateMutability_MIN = |
387 | | InterfaceFunction_StateMutability_StateMutability_MIN; |
388 | | static constexpr StateMutability StateMutability_MAX = |
389 | | InterfaceFunction_StateMutability_StateMutability_MAX; |
390 | | static constexpr int StateMutability_ARRAYSIZE = |
391 | | InterfaceFunction_StateMutability_StateMutability_ARRAYSIZE; |
392 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
393 | 0 | StateMutability_descriptor() { |
394 | 0 | return InterfaceFunction_StateMutability_descriptor(); |
395 | 0 | } |
396 | | template<typename T> |
397 | | static inline const std::string& StateMutability_Name(T enum_t_value) { |
398 | | static_assert(::std::is_same<T, StateMutability>::value || |
399 | | ::std::is_integral<T>::value, |
400 | | "Incorrect type passed to function StateMutability_Name."); |
401 | | return InterfaceFunction_StateMutability_Name(enum_t_value); |
402 | | } |
403 | | static inline bool StateMutability_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
404 | 0 | StateMutability* value) { |
405 | 0 | return InterfaceFunction_StateMutability_Parse(name, value); |
406 | 0 | } |
407 | | |
408 | | // accessors ------------------------------------------------------- |
409 | | |
410 | | enum : int { |
411 | | kMutFieldNumber = 1, |
412 | | }; |
413 | | // required .solidity.test.solprotofuzzer.InterfaceFunction.StateMutability mut = 1; |
414 | | bool has_mut() const; |
415 | | private: |
416 | | bool _internal_has_mut() const; |
417 | | public: |
418 | | void clear_mut(); |
419 | | ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability mut() const; |
420 | | void set_mut(::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability value); |
421 | | private: |
422 | | ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability _internal_mut() const; |
423 | | void _internal_set_mut(::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability value); |
424 | | public: |
425 | | |
426 | | // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.InterfaceFunction) |
427 | | private: |
428 | | class _Internal; |
429 | | |
430 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
431 | | typedef void InternalArenaConstructable_; |
432 | | typedef void DestructorSkippable_; |
433 | | struct Impl_ { |
434 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
435 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
436 | | int mut_; |
437 | | }; |
438 | | union { Impl_ _impl_; }; |
439 | | friend struct ::TableStruct_solProto_2eproto; |
440 | | }; |
441 | | // ------------------------------------------------------------------- |
442 | | |
443 | | class LibraryFunction final : |
444 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.LibraryFunction) */ { |
445 | | public: |
446 | 0 | inline LibraryFunction() : LibraryFunction(nullptr) {} |
447 | | ~LibraryFunction() override; |
448 | | explicit PROTOBUF_CONSTEXPR LibraryFunction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
449 | | |
450 | | LibraryFunction(const LibraryFunction& from); |
451 | | LibraryFunction(LibraryFunction&& from) noexcept |
452 | 0 | : LibraryFunction() { |
453 | 0 | *this = ::std::move(from); |
454 | 0 | } |
455 | | |
456 | 0 | inline LibraryFunction& operator=(const LibraryFunction& from) { |
457 | 0 | CopyFrom(from); |
458 | 0 | return *this; |
459 | 0 | } |
460 | 0 | inline LibraryFunction& operator=(LibraryFunction&& from) noexcept { |
461 | 0 | if (this == &from) return *this; |
462 | 0 | if (GetOwningArena() == from.GetOwningArena() |
463 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
464 | 0 | && GetOwningArena() != nullptr |
465 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
466 | 0 | ) { |
467 | 0 | InternalSwap(&from); |
468 | 0 | } else { |
469 | 0 | CopyFrom(from); |
470 | 0 | } |
471 | 0 | return *this; |
472 | 0 | } |
473 | | |
474 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
475 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
476 | 0 | } |
477 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
478 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
479 | 0 | } |
480 | | |
481 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
482 | 0 | return GetDescriptor(); |
483 | 0 | } |
484 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
485 | 0 | return default_instance().GetMetadata().descriptor; |
486 | 0 | } |
487 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
488 | 0 | return default_instance().GetMetadata().reflection; |
489 | 0 | } |
490 | 0 | static const LibraryFunction& default_instance() { |
491 | 0 | return *internal_default_instance(); |
492 | 0 | } |
493 | 0 | static inline const LibraryFunction* internal_default_instance() { |
494 | 0 | return reinterpret_cast<const LibraryFunction*>( |
495 | 0 | &_LibraryFunction_default_instance_); |
496 | 0 | } |
497 | | static constexpr int kIndexInFileMessages = |
498 | | 1; |
499 | | |
500 | 0 | friend void swap(LibraryFunction& a, LibraryFunction& b) { |
501 | 0 | a.Swap(&b); |
502 | 0 | } |
503 | 0 | inline void Swap(LibraryFunction* other) { |
504 | 0 | if (other == this) return; |
505 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
506 | 0 | if (GetOwningArena() != nullptr && |
507 | 0 | GetOwningArena() == other->GetOwningArena()) { |
508 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
509 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
510 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
511 | 0 | InternalSwap(other); |
512 | 0 | } else { |
513 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
514 | 0 | } |
515 | 0 | } |
516 | 0 | void UnsafeArenaSwap(LibraryFunction* other) { |
517 | 0 | if (other == this) return; |
518 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
519 | 0 | InternalSwap(other); |
520 | 0 | } |
521 | | |
522 | | // implements Message ---------------------------------------------- |
523 | | |
524 | 694 | LibraryFunction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
525 | 694 | return CreateMaybeMessage<LibraryFunction>(arena); |
526 | 694 | } |
527 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
528 | | void CopyFrom(const LibraryFunction& from); |
529 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
530 | 0 | void MergeFrom( const LibraryFunction& from) { |
531 | 0 | LibraryFunction::MergeImpl(*this, from); |
532 | 0 | } |
533 | | private: |
534 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
535 | | public: |
536 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
537 | | bool IsInitialized() const final; |
538 | | |
539 | | size_t ByteSizeLong() const final; |
540 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
541 | | uint8_t* _InternalSerialize( |
542 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
543 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
544 | | |
545 | | private: |
546 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
547 | | void SharedDtor(); |
548 | | void SetCachedSize(int size) const final; |
549 | | void InternalSwap(LibraryFunction* other); |
550 | | |
551 | | private: |
552 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
553 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
554 | 0 | return "solidity.test.solprotofuzzer.LibraryFunction"; |
555 | 0 | } |
556 | | protected: |
557 | | explicit LibraryFunction(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
558 | | bool is_message_owned = false); |
559 | | public: |
560 | | |
561 | | static const ClassData _class_data_; |
562 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
563 | | |
564 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
565 | | |
566 | | // nested types ---------------------------------------------------- |
567 | | |
568 | | typedef LibraryFunction_StateMutability StateMutability; |
569 | | static constexpr StateMutability PURE = |
570 | | LibraryFunction_StateMutability_PURE; |
571 | | static constexpr StateMutability VIEW = |
572 | | LibraryFunction_StateMutability_VIEW; |
573 | | static constexpr StateMutability NONPAYABLE = |
574 | | LibraryFunction_StateMutability_NONPAYABLE; |
575 | 0 | static inline bool StateMutability_IsValid(int value) { |
576 | 0 | return LibraryFunction_StateMutability_IsValid(value); |
577 | 0 | } |
578 | | static constexpr StateMutability StateMutability_MIN = |
579 | | LibraryFunction_StateMutability_StateMutability_MIN; |
580 | | static constexpr StateMutability StateMutability_MAX = |
581 | | LibraryFunction_StateMutability_StateMutability_MAX; |
582 | | static constexpr int StateMutability_ARRAYSIZE = |
583 | | LibraryFunction_StateMutability_StateMutability_ARRAYSIZE; |
584 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
585 | 0 | StateMutability_descriptor() { |
586 | 0 | return LibraryFunction_StateMutability_descriptor(); |
587 | 0 | } |
588 | | template<typename T> |
589 | | static inline const std::string& StateMutability_Name(T enum_t_value) { |
590 | | static_assert(::std::is_same<T, StateMutability>::value || |
591 | | ::std::is_integral<T>::value, |
592 | | "Incorrect type passed to function StateMutability_Name."); |
593 | | return LibraryFunction_StateMutability_Name(enum_t_value); |
594 | | } |
595 | | static inline bool StateMutability_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
596 | 0 | StateMutability* value) { |
597 | 0 | return LibraryFunction_StateMutability_Parse(name, value); |
598 | 0 | } |
599 | | |
600 | | typedef LibraryFunction_Visibility Visibility; |
601 | | static constexpr Visibility PUBLIC = |
602 | | LibraryFunction_Visibility_PUBLIC; |
603 | | static constexpr Visibility EXTERNAL = |
604 | | LibraryFunction_Visibility_EXTERNAL; |
605 | | static constexpr Visibility INTERNAL = |
606 | | LibraryFunction_Visibility_INTERNAL; |
607 | | static constexpr Visibility PRIVATE = |
608 | | LibraryFunction_Visibility_PRIVATE; |
609 | 0 | static inline bool Visibility_IsValid(int value) { |
610 | 0 | return LibraryFunction_Visibility_IsValid(value); |
611 | 0 | } |
612 | | static constexpr Visibility Visibility_MIN = |
613 | | LibraryFunction_Visibility_Visibility_MIN; |
614 | | static constexpr Visibility Visibility_MAX = |
615 | | LibraryFunction_Visibility_Visibility_MAX; |
616 | | static constexpr int Visibility_ARRAYSIZE = |
617 | | LibraryFunction_Visibility_Visibility_ARRAYSIZE; |
618 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
619 | 0 | Visibility_descriptor() { |
620 | 0 | return LibraryFunction_Visibility_descriptor(); |
621 | 0 | } |
622 | | template<typename T> |
623 | | static inline const std::string& Visibility_Name(T enum_t_value) { |
624 | | static_assert(::std::is_same<T, Visibility>::value || |
625 | | ::std::is_integral<T>::value, |
626 | | "Incorrect type passed to function Visibility_Name."); |
627 | | return LibraryFunction_Visibility_Name(enum_t_value); |
628 | | } |
629 | | static inline bool Visibility_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
630 | 0 | Visibility* value) { |
631 | 0 | return LibraryFunction_Visibility_Parse(name, value); |
632 | 0 | } |
633 | | |
634 | | // accessors ------------------------------------------------------- |
635 | | |
636 | | enum : int { |
637 | | kVisFieldNumber = 1, |
638 | | kMutFieldNumber = 2, |
639 | | }; |
640 | | // required .solidity.test.solprotofuzzer.LibraryFunction.Visibility vis = 1; |
641 | | bool has_vis() const; |
642 | | private: |
643 | | bool _internal_has_vis() const; |
644 | | public: |
645 | | void clear_vis(); |
646 | | ::solidity::test::solprotofuzzer::LibraryFunction_Visibility vis() const; |
647 | | void set_vis(::solidity::test::solprotofuzzer::LibraryFunction_Visibility value); |
648 | | private: |
649 | | ::solidity::test::solprotofuzzer::LibraryFunction_Visibility _internal_vis() const; |
650 | | void _internal_set_vis(::solidity::test::solprotofuzzer::LibraryFunction_Visibility value); |
651 | | public: |
652 | | |
653 | | // required .solidity.test.solprotofuzzer.LibraryFunction.StateMutability mut = 2; |
654 | | bool has_mut() const; |
655 | | private: |
656 | | bool _internal_has_mut() const; |
657 | | public: |
658 | | void clear_mut(); |
659 | | ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability mut() const; |
660 | | void set_mut(::solidity::test::solprotofuzzer::LibraryFunction_StateMutability value); |
661 | | private: |
662 | | ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability _internal_mut() const; |
663 | | void _internal_set_mut(::solidity::test::solprotofuzzer::LibraryFunction_StateMutability value); |
664 | | public: |
665 | | |
666 | | // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.LibraryFunction) |
667 | | private: |
668 | | class _Internal; |
669 | | |
670 | | // helper for ByteSizeLong() |
671 | | size_t RequiredFieldsByteSizeFallback() const; |
672 | | |
673 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
674 | | typedef void InternalArenaConstructable_; |
675 | | typedef void DestructorSkippable_; |
676 | | struct Impl_ { |
677 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
678 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
679 | | int vis_; |
680 | | int mut_; |
681 | | }; |
682 | | union { Impl_ _impl_; }; |
683 | | friend struct ::TableStruct_solProto_2eproto; |
684 | | }; |
685 | | // ------------------------------------------------------------------- |
686 | | |
687 | | class ContractFunction final : |
688 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.ContractFunction) */ { |
689 | | public: |
690 | 0 | inline ContractFunction() : ContractFunction(nullptr) {} |
691 | | ~ContractFunction() override; |
692 | | explicit PROTOBUF_CONSTEXPR ContractFunction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
693 | | |
694 | | ContractFunction(const ContractFunction& from); |
695 | | ContractFunction(ContractFunction&& from) noexcept |
696 | 0 | : ContractFunction() { |
697 | 0 | *this = ::std::move(from); |
698 | 0 | } |
699 | | |
700 | 0 | inline ContractFunction& operator=(const ContractFunction& from) { |
701 | 0 | CopyFrom(from); |
702 | 0 | return *this; |
703 | 0 | } |
704 | 0 | inline ContractFunction& operator=(ContractFunction&& from) noexcept { |
705 | 0 | if (this == &from) return *this; |
706 | 0 | if (GetOwningArena() == from.GetOwningArena() |
707 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
708 | 0 | && GetOwningArena() != nullptr |
709 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
710 | 0 | ) { |
711 | 0 | InternalSwap(&from); |
712 | 0 | } else { |
713 | 0 | CopyFrom(from); |
714 | 0 | } |
715 | 0 | return *this; |
716 | 0 | } |
717 | | |
718 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
719 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
720 | 0 | } |
721 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
722 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
723 | 0 | } |
724 | | |
725 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
726 | 0 | return GetDescriptor(); |
727 | 0 | } |
728 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
729 | 0 | return default_instance().GetMetadata().descriptor; |
730 | 0 | } |
731 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
732 | 0 | return default_instance().GetMetadata().reflection; |
733 | 0 | } |
734 | 0 | static const ContractFunction& default_instance() { |
735 | 0 | return *internal_default_instance(); |
736 | 0 | } |
737 | 0 | static inline const ContractFunction* internal_default_instance() { |
738 | 0 | return reinterpret_cast<const ContractFunction*>( |
739 | 0 | &_ContractFunction_default_instance_); |
740 | 0 | } |
741 | | static constexpr int kIndexInFileMessages = |
742 | | 2; |
743 | | |
744 | 0 | friend void swap(ContractFunction& a, ContractFunction& b) { |
745 | 0 | a.Swap(&b); |
746 | 0 | } |
747 | 0 | inline void Swap(ContractFunction* other) { |
748 | 0 | if (other == this) return; |
749 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
750 | 0 | if (GetOwningArena() != nullptr && |
751 | 0 | GetOwningArena() == other->GetOwningArena()) { |
752 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
753 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
754 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
755 | 0 | InternalSwap(other); |
756 | 0 | } else { |
757 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
758 | 0 | } |
759 | 0 | } |
760 | 0 | void UnsafeArenaSwap(ContractFunction* other) { |
761 | 0 | if (other == this) return; |
762 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
763 | 0 | InternalSwap(other); |
764 | 0 | } |
765 | | |
766 | | // implements Message ---------------------------------------------- |
767 | | |
768 | 510 | ContractFunction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
769 | 510 | return CreateMaybeMessage<ContractFunction>(arena); |
770 | 510 | } |
771 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
772 | | void CopyFrom(const ContractFunction& from); |
773 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
774 | 0 | void MergeFrom( const ContractFunction& from) { |
775 | 0 | ContractFunction::MergeImpl(*this, from); |
776 | 0 | } |
777 | | private: |
778 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
779 | | public: |
780 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
781 | | bool IsInitialized() const final; |
782 | | |
783 | | size_t ByteSizeLong() const final; |
784 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
785 | | uint8_t* _InternalSerialize( |
786 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
787 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
788 | | |
789 | | private: |
790 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
791 | | void SharedDtor(); |
792 | | void SetCachedSize(int size) const final; |
793 | | void InternalSwap(ContractFunction* other); |
794 | | |
795 | | private: |
796 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
797 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
798 | 0 | return "solidity.test.solprotofuzzer.ContractFunction"; |
799 | 0 | } |
800 | | protected: |
801 | | explicit ContractFunction(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
802 | | bool is_message_owned = false); |
803 | | public: |
804 | | |
805 | | static const ClassData _class_data_; |
806 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
807 | | |
808 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
809 | | |
810 | | // nested types ---------------------------------------------------- |
811 | | |
812 | | typedef ContractFunction_StateMutability StateMutability; |
813 | | static constexpr StateMutability PURE = |
814 | | ContractFunction_StateMutability_PURE; |
815 | | static constexpr StateMutability VIEW = |
816 | | ContractFunction_StateMutability_VIEW; |
817 | | static constexpr StateMutability PAYABLE = |
818 | | ContractFunction_StateMutability_PAYABLE; |
819 | | static constexpr StateMutability NONPAYABLE = |
820 | | ContractFunction_StateMutability_NONPAYABLE; |
821 | 0 | static inline bool StateMutability_IsValid(int value) { |
822 | 0 | return ContractFunction_StateMutability_IsValid(value); |
823 | 0 | } |
824 | | static constexpr StateMutability StateMutability_MIN = |
825 | | ContractFunction_StateMutability_StateMutability_MIN; |
826 | | static constexpr StateMutability StateMutability_MAX = |
827 | | ContractFunction_StateMutability_StateMutability_MAX; |
828 | | static constexpr int StateMutability_ARRAYSIZE = |
829 | | ContractFunction_StateMutability_StateMutability_ARRAYSIZE; |
830 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
831 | 0 | StateMutability_descriptor() { |
832 | 0 | return ContractFunction_StateMutability_descriptor(); |
833 | 0 | } |
834 | | template<typename T> |
835 | | static inline const std::string& StateMutability_Name(T enum_t_value) { |
836 | | static_assert(::std::is_same<T, StateMutability>::value || |
837 | | ::std::is_integral<T>::value, |
838 | | "Incorrect type passed to function StateMutability_Name."); |
839 | | return ContractFunction_StateMutability_Name(enum_t_value); |
840 | | } |
841 | | static inline bool StateMutability_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
842 | 0 | StateMutability* value) { |
843 | 0 | return ContractFunction_StateMutability_Parse(name, value); |
844 | 0 | } |
845 | | |
846 | | typedef ContractFunction_Visibility Visibility; |
847 | | static constexpr Visibility PUBLIC = |
848 | | ContractFunction_Visibility_PUBLIC; |
849 | | static constexpr Visibility EXTERNAL = |
850 | | ContractFunction_Visibility_EXTERNAL; |
851 | | static constexpr Visibility INTERNAL = |
852 | | ContractFunction_Visibility_INTERNAL; |
853 | | static constexpr Visibility PRIVATE = |
854 | | ContractFunction_Visibility_PRIVATE; |
855 | 0 | static inline bool Visibility_IsValid(int value) { |
856 | 0 | return ContractFunction_Visibility_IsValid(value); |
857 | 0 | } |
858 | | static constexpr Visibility Visibility_MIN = |
859 | | ContractFunction_Visibility_Visibility_MIN; |
860 | | static constexpr Visibility Visibility_MAX = |
861 | | ContractFunction_Visibility_Visibility_MAX; |
862 | | static constexpr int Visibility_ARRAYSIZE = |
863 | | ContractFunction_Visibility_Visibility_ARRAYSIZE; |
864 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
865 | 0 | Visibility_descriptor() { |
866 | 0 | return ContractFunction_Visibility_descriptor(); |
867 | 0 | } |
868 | | template<typename T> |
869 | | static inline const std::string& Visibility_Name(T enum_t_value) { |
870 | | static_assert(::std::is_same<T, Visibility>::value || |
871 | | ::std::is_integral<T>::value, |
872 | | "Incorrect type passed to function Visibility_Name."); |
873 | | return ContractFunction_Visibility_Name(enum_t_value); |
874 | | } |
875 | | static inline bool Visibility_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
876 | 0 | Visibility* value) { |
877 | 0 | return ContractFunction_Visibility_Parse(name, value); |
878 | 0 | } |
879 | | |
880 | | // accessors ------------------------------------------------------- |
881 | | |
882 | | enum : int { |
883 | | kVisFieldNumber = 1, |
884 | | kMutFieldNumber = 2, |
885 | | kVirtualfuncFieldNumber = 3, |
886 | | }; |
887 | | // required .solidity.test.solprotofuzzer.ContractFunction.Visibility vis = 1; |
888 | | bool has_vis() const; |
889 | | private: |
890 | | bool _internal_has_vis() const; |
891 | | public: |
892 | | void clear_vis(); |
893 | | ::solidity::test::solprotofuzzer::ContractFunction_Visibility vis() const; |
894 | | void set_vis(::solidity::test::solprotofuzzer::ContractFunction_Visibility value); |
895 | | private: |
896 | | ::solidity::test::solprotofuzzer::ContractFunction_Visibility _internal_vis() const; |
897 | | void _internal_set_vis(::solidity::test::solprotofuzzer::ContractFunction_Visibility value); |
898 | | public: |
899 | | |
900 | | // required .solidity.test.solprotofuzzer.ContractFunction.StateMutability mut = 2; |
901 | | bool has_mut() const; |
902 | | private: |
903 | | bool _internal_has_mut() const; |
904 | | public: |
905 | | void clear_mut(); |
906 | | ::solidity::test::solprotofuzzer::ContractFunction_StateMutability mut() const; |
907 | | void set_mut(::solidity::test::solprotofuzzer::ContractFunction_StateMutability value); |
908 | | private: |
909 | | ::solidity::test::solprotofuzzer::ContractFunction_StateMutability _internal_mut() const; |
910 | | void _internal_set_mut(::solidity::test::solprotofuzzer::ContractFunction_StateMutability value); |
911 | | public: |
912 | | |
913 | | // required bool virtualfunc = 3; |
914 | | bool has_virtualfunc() const; |
915 | | private: |
916 | | bool _internal_has_virtualfunc() const; |
917 | | public: |
918 | | void clear_virtualfunc(); |
919 | | bool virtualfunc() const; |
920 | | void set_virtualfunc(bool value); |
921 | | private: |
922 | | bool _internal_virtualfunc() const; |
923 | | void _internal_set_virtualfunc(bool value); |
924 | | public: |
925 | | |
926 | | // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.ContractFunction) |
927 | | private: |
928 | | class _Internal; |
929 | | |
930 | | // helper for ByteSizeLong() |
931 | | size_t RequiredFieldsByteSizeFallback() const; |
932 | | |
933 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
934 | | typedef void InternalArenaConstructable_; |
935 | | typedef void DestructorSkippable_; |
936 | | struct Impl_ { |
937 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
938 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
939 | | int vis_; |
940 | | int mut_; |
941 | | bool virtualfunc_; |
942 | | }; |
943 | | union { Impl_ _impl_; }; |
944 | | friend struct ::TableStruct_solProto_2eproto; |
945 | | }; |
946 | | // ------------------------------------------------------------------- |
947 | | |
948 | | class Library final : |
949 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.Library) */ { |
950 | | public: |
951 | 0 | inline Library() : Library(nullptr) {} |
952 | | ~Library() override; |
953 | | explicit PROTOBUF_CONSTEXPR Library(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
954 | | |
955 | | Library(const Library& from); |
956 | | Library(Library&& from) noexcept |
957 | 0 | : Library() { |
958 | 0 | *this = ::std::move(from); |
959 | 0 | } |
960 | | |
961 | 0 | inline Library& operator=(const Library& from) { |
962 | 0 | CopyFrom(from); |
963 | 0 | return *this; |
964 | 0 | } |
965 | 0 | inline Library& operator=(Library&& from) noexcept { |
966 | 0 | if (this == &from) return *this; |
967 | 0 | if (GetOwningArena() == from.GetOwningArena() |
968 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
969 | 0 | && GetOwningArena() != nullptr |
970 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
971 | 0 | ) { |
972 | 0 | InternalSwap(&from); |
973 | 0 | } else { |
974 | 0 | CopyFrom(from); |
975 | 0 | } |
976 | 0 | return *this; |
977 | 0 | } |
978 | | |
979 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
980 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
981 | 0 | } |
982 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
983 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
984 | 0 | } |
985 | | |
986 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
987 | 0 | return GetDescriptor(); |
988 | 0 | } |
989 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
990 | 0 | return default_instance().GetMetadata().descriptor; |
991 | 0 | } |
992 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
993 | 0 | return default_instance().GetMetadata().reflection; |
994 | 0 | } |
995 | 0 | static const Library& default_instance() { |
996 | 0 | return *internal_default_instance(); |
997 | 0 | } |
998 | 0 | static inline const Library* internal_default_instance() { |
999 | 0 | return reinterpret_cast<const Library*>( |
1000 | 0 | &_Library_default_instance_); |
1001 | 0 | } |
1002 | | static constexpr int kIndexInFileMessages = |
1003 | | 3; |
1004 | | |
1005 | 0 | friend void swap(Library& a, Library& b) { |
1006 | 0 | a.Swap(&b); |
1007 | 0 | } |
1008 | 0 | inline void Swap(Library* other) { |
1009 | 0 | if (other == this) return; |
1010 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1011 | 0 | if (GetOwningArena() != nullptr && |
1012 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1013 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1014 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1015 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1016 | 0 | InternalSwap(other); |
1017 | 0 | } else { |
1018 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1019 | 0 | } |
1020 | 0 | } |
1021 | 0 | void UnsafeArenaSwap(Library* other) { |
1022 | 0 | if (other == this) return; |
1023 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1024 | 0 | InternalSwap(other); |
1025 | 0 | } |
1026 | | |
1027 | | // implements Message ---------------------------------------------- |
1028 | | |
1029 | 28.6k | Library* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1030 | 28.6k | return CreateMaybeMessage<Library>(arena); |
1031 | 28.6k | } |
1032 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1033 | | void CopyFrom(const Library& from); |
1034 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1035 | 0 | void MergeFrom( const Library& from) { |
1036 | 0 | Library::MergeImpl(*this, from); |
1037 | 0 | } |
1038 | | private: |
1039 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1040 | | public: |
1041 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1042 | | bool IsInitialized() const final; |
1043 | | |
1044 | | size_t ByteSizeLong() const final; |
1045 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1046 | | uint8_t* _InternalSerialize( |
1047 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1048 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1049 | | |
1050 | | private: |
1051 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1052 | | void SharedDtor(); |
1053 | | void SetCachedSize(int size) const final; |
1054 | | void InternalSwap(Library* other); |
1055 | | |
1056 | | private: |
1057 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1058 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1059 | 0 | return "solidity.test.solprotofuzzer.Library"; |
1060 | 0 | } |
1061 | | protected: |
1062 | | explicit Library(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1063 | | bool is_message_owned = false); |
1064 | | public: |
1065 | | |
1066 | | static const ClassData _class_data_; |
1067 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1068 | | |
1069 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1070 | | |
1071 | | // nested types ---------------------------------------------------- |
1072 | | |
1073 | | // accessors ------------------------------------------------------- |
1074 | | |
1075 | | enum : int { |
1076 | | kFuncdefFieldNumber = 1, |
1077 | | }; |
1078 | | // repeated .solidity.test.solprotofuzzer.LibraryFunction funcdef = 1; |
1079 | | int funcdef_size() const; |
1080 | | private: |
1081 | | int _internal_funcdef_size() const; |
1082 | | public: |
1083 | | void clear_funcdef(); |
1084 | | ::solidity::test::solprotofuzzer::LibraryFunction* mutable_funcdef(int index); |
1085 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::LibraryFunction >* |
1086 | | mutable_funcdef(); |
1087 | | private: |
1088 | | const ::solidity::test::solprotofuzzer::LibraryFunction& _internal_funcdef(int index) const; |
1089 | | ::solidity::test::solprotofuzzer::LibraryFunction* _internal_add_funcdef(); |
1090 | | public: |
1091 | | const ::solidity::test::solprotofuzzer::LibraryFunction& funcdef(int index) const; |
1092 | | ::solidity::test::solprotofuzzer::LibraryFunction* add_funcdef(); |
1093 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::LibraryFunction >& |
1094 | | funcdef() const; |
1095 | | |
1096 | | // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.Library) |
1097 | | private: |
1098 | | class _Internal; |
1099 | | |
1100 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1101 | | typedef void InternalArenaConstructable_; |
1102 | | typedef void DestructorSkippable_; |
1103 | | struct Impl_ { |
1104 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::LibraryFunction > funcdef_; |
1105 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1106 | | }; |
1107 | | union { Impl_ _impl_; }; |
1108 | | friend struct ::TableStruct_solProto_2eproto; |
1109 | | }; |
1110 | | // ------------------------------------------------------------------- |
1111 | | |
1112 | | class Interface final : |
1113 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.Interface) */ { |
1114 | | public: |
1115 | 0 | inline Interface() : Interface(nullptr) {} |
1116 | | ~Interface() override; |
1117 | | explicit PROTOBUF_CONSTEXPR Interface(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1118 | | |
1119 | | Interface(const Interface& from); |
1120 | | Interface(Interface&& from) noexcept |
1121 | 0 | : Interface() { |
1122 | 0 | *this = ::std::move(from); |
1123 | 0 | } |
1124 | | |
1125 | 0 | inline Interface& operator=(const Interface& from) { |
1126 | 0 | CopyFrom(from); |
1127 | 0 | return *this; |
1128 | 0 | } |
1129 | 0 | inline Interface& operator=(Interface&& from) noexcept { |
1130 | 0 | if (this == &from) return *this; |
1131 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1132 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1133 | 0 | && GetOwningArena() != nullptr |
1134 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1135 | 0 | ) { |
1136 | 0 | InternalSwap(&from); |
1137 | 0 | } else { |
1138 | 0 | CopyFrom(from); |
1139 | 0 | } |
1140 | 0 | return *this; |
1141 | 0 | } |
1142 | | |
1143 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1144 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1145 | 0 | } |
1146 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1147 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1148 | 0 | } |
1149 | | |
1150 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1151 | 0 | return GetDescriptor(); |
1152 | 0 | } |
1153 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1154 | 0 | return default_instance().GetMetadata().descriptor; |
1155 | 0 | } |
1156 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1157 | 0 | return default_instance().GetMetadata().reflection; |
1158 | 0 | } |
1159 | 0 | static const Interface& default_instance() { |
1160 | 0 | return *internal_default_instance(); |
1161 | 0 | } |
1162 | 0 | static inline const Interface* internal_default_instance() { |
1163 | 0 | return reinterpret_cast<const Interface*>( |
1164 | 0 | &_Interface_default_instance_); |
1165 | 0 | } |
1166 | | static constexpr int kIndexInFileMessages = |
1167 | | 4; |
1168 | | |
1169 | 0 | friend void swap(Interface& a, Interface& b) { |
1170 | 0 | a.Swap(&b); |
1171 | 0 | } |
1172 | 0 | inline void Swap(Interface* other) { |
1173 | 0 | if (other == this) return; |
1174 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1175 | 0 | if (GetOwningArena() != nullptr && |
1176 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1177 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1178 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1179 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1180 | 0 | InternalSwap(other); |
1181 | 0 | } else { |
1182 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1183 | 0 | } |
1184 | 0 | } |
1185 | 0 | void UnsafeArenaSwap(Interface* other) { |
1186 | 0 | if (other == this) return; |
1187 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1188 | 0 | InternalSwap(other); |
1189 | 0 | } |
1190 | | |
1191 | | // implements Message ---------------------------------------------- |
1192 | | |
1193 | 35.4k | Interface* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1194 | 35.4k | return CreateMaybeMessage<Interface>(arena); |
1195 | 35.4k | } |
1196 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1197 | | void CopyFrom(const Interface& from); |
1198 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1199 | 0 | void MergeFrom( const Interface& from) { |
1200 | 0 | Interface::MergeImpl(*this, from); |
1201 | 0 | } |
1202 | | private: |
1203 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1204 | | public: |
1205 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1206 | | bool IsInitialized() const final; |
1207 | | |
1208 | | size_t ByteSizeLong() const final; |
1209 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1210 | | uint8_t* _InternalSerialize( |
1211 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1212 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1213 | | |
1214 | | private: |
1215 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1216 | | void SharedDtor(); |
1217 | | void SetCachedSize(int size) const final; |
1218 | | void InternalSwap(Interface* other); |
1219 | | |
1220 | | private: |
1221 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1222 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1223 | 0 | return "solidity.test.solprotofuzzer.Interface"; |
1224 | 0 | } |
1225 | | protected: |
1226 | | explicit Interface(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1227 | | bool is_message_owned = false); |
1228 | | public: |
1229 | | |
1230 | | static const ClassData _class_data_; |
1231 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1232 | | |
1233 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1234 | | |
1235 | | // nested types ---------------------------------------------------- |
1236 | | |
1237 | | // accessors ------------------------------------------------------- |
1238 | | |
1239 | | enum : int { |
1240 | | kFuncdefFieldNumber = 1, |
1241 | | kBasesFieldNumber = 2, |
1242 | | }; |
1243 | | // repeated .solidity.test.solprotofuzzer.InterfaceFunction funcdef = 1; |
1244 | | int funcdef_size() const; |
1245 | | private: |
1246 | | int _internal_funcdef_size() const; |
1247 | | public: |
1248 | | void clear_funcdef(); |
1249 | | ::solidity::test::solprotofuzzer::InterfaceFunction* mutable_funcdef(int index); |
1250 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::InterfaceFunction >* |
1251 | | mutable_funcdef(); |
1252 | | private: |
1253 | | const ::solidity::test::solprotofuzzer::InterfaceFunction& _internal_funcdef(int index) const; |
1254 | | ::solidity::test::solprotofuzzer::InterfaceFunction* _internal_add_funcdef(); |
1255 | | public: |
1256 | | const ::solidity::test::solprotofuzzer::InterfaceFunction& funcdef(int index) const; |
1257 | | ::solidity::test::solprotofuzzer::InterfaceFunction* add_funcdef(); |
1258 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::InterfaceFunction >& |
1259 | | funcdef() const; |
1260 | | |
1261 | | // repeated .solidity.test.solprotofuzzer.Interface bases = 2; |
1262 | | int bases_size() const; |
1263 | | private: |
1264 | | int _internal_bases_size() const; |
1265 | | public: |
1266 | | void clear_bases(); |
1267 | | ::solidity::test::solprotofuzzer::Interface* mutable_bases(int index); |
1268 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::Interface >* |
1269 | | mutable_bases(); |
1270 | | private: |
1271 | | const ::solidity::test::solprotofuzzer::Interface& _internal_bases(int index) const; |
1272 | | ::solidity::test::solprotofuzzer::Interface* _internal_add_bases(); |
1273 | | public: |
1274 | | const ::solidity::test::solprotofuzzer::Interface& bases(int index) const; |
1275 | | ::solidity::test::solprotofuzzer::Interface* add_bases(); |
1276 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::Interface >& |
1277 | | bases() const; |
1278 | | |
1279 | | // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.Interface) |
1280 | | private: |
1281 | | class _Internal; |
1282 | | |
1283 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1284 | | typedef void InternalArenaConstructable_; |
1285 | | typedef void DestructorSkippable_; |
1286 | | struct Impl_ { |
1287 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::InterfaceFunction > funcdef_; |
1288 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::Interface > bases_; |
1289 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1290 | | }; |
1291 | | union { Impl_ _impl_; }; |
1292 | | friend struct ::TableStruct_solProto_2eproto; |
1293 | | }; |
1294 | | // ------------------------------------------------------------------- |
1295 | | |
1296 | | class Contract final : |
1297 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.Contract) */ { |
1298 | | public: |
1299 | 0 | inline Contract() : Contract(nullptr) {} |
1300 | | ~Contract() override; |
1301 | | explicit PROTOBUF_CONSTEXPR Contract(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1302 | | |
1303 | | Contract(const Contract& from); |
1304 | | Contract(Contract&& from) noexcept |
1305 | 0 | : Contract() { |
1306 | 0 | *this = ::std::move(from); |
1307 | 0 | } |
1308 | | |
1309 | 0 | inline Contract& operator=(const Contract& from) { |
1310 | 0 | CopyFrom(from); |
1311 | 0 | return *this; |
1312 | 0 | } |
1313 | 0 | inline Contract& operator=(Contract&& from) noexcept { |
1314 | 0 | if (this == &from) return *this; |
1315 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1316 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1317 | 0 | && GetOwningArena() != nullptr |
1318 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1319 | 0 | ) { |
1320 | 0 | InternalSwap(&from); |
1321 | 0 | } else { |
1322 | 0 | CopyFrom(from); |
1323 | 0 | } |
1324 | 0 | return *this; |
1325 | 0 | } |
1326 | | |
1327 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1328 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1329 | 0 | } |
1330 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1331 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1332 | 0 | } |
1333 | | |
1334 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1335 | 0 | return GetDescriptor(); |
1336 | 0 | } |
1337 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1338 | 0 | return default_instance().GetMetadata().descriptor; |
1339 | 0 | } |
1340 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1341 | 0 | return default_instance().GetMetadata().reflection; |
1342 | 0 | } |
1343 | 0 | static const Contract& default_instance() { |
1344 | 0 | return *internal_default_instance(); |
1345 | 0 | } |
1346 | 0 | static inline const Contract* internal_default_instance() { |
1347 | 0 | return reinterpret_cast<const Contract*>( |
1348 | 0 | &_Contract_default_instance_); |
1349 | 0 | } |
1350 | | static constexpr int kIndexInFileMessages = |
1351 | | 5; |
1352 | | |
1353 | 0 | friend void swap(Contract& a, Contract& b) { |
1354 | 0 | a.Swap(&b); |
1355 | 0 | } |
1356 | 0 | inline void Swap(Contract* other) { |
1357 | 0 | if (other == this) return; |
1358 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1359 | 0 | if (GetOwningArena() != nullptr && |
1360 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1361 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1362 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1363 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1364 | 0 | InternalSwap(other); |
1365 | 0 | } else { |
1366 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1367 | 0 | } |
1368 | 0 | } |
1369 | 0 | void UnsafeArenaSwap(Contract* other) { |
1370 | 0 | if (other == this) return; |
1371 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1372 | 0 | InternalSwap(other); |
1373 | 0 | } |
1374 | | |
1375 | | // implements Message ---------------------------------------------- |
1376 | | |
1377 | 2.10k | Contract* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1378 | 2.10k | return CreateMaybeMessage<Contract>(arena); |
1379 | 2.10k | } |
1380 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1381 | | void CopyFrom(const Contract& from); |
1382 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1383 | 0 | void MergeFrom( const Contract& from) { |
1384 | 0 | Contract::MergeImpl(*this, from); |
1385 | 0 | } |
1386 | | private: |
1387 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1388 | | public: |
1389 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1390 | | bool IsInitialized() const final; |
1391 | | |
1392 | | size_t ByteSizeLong() const final; |
1393 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1394 | | uint8_t* _InternalSerialize( |
1395 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1396 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1397 | | |
1398 | | private: |
1399 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1400 | | void SharedDtor(); |
1401 | | void SetCachedSize(int size) const final; |
1402 | | void InternalSwap(Contract* other); |
1403 | | |
1404 | | private: |
1405 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1406 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1407 | 0 | return "solidity.test.solprotofuzzer.Contract"; |
1408 | 0 | } |
1409 | | protected: |
1410 | | explicit Contract(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1411 | | bool is_message_owned = false); |
1412 | | public: |
1413 | | |
1414 | | static const ClassData _class_data_; |
1415 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1416 | | |
1417 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1418 | | |
1419 | | // nested types ---------------------------------------------------- |
1420 | | |
1421 | | // accessors ------------------------------------------------------- |
1422 | | |
1423 | | enum : int { |
1424 | | kFuncdefFieldNumber = 1, |
1425 | | kBasesFieldNumber = 3, |
1426 | | kAbstractFieldNumber = 2, |
1427 | | }; |
1428 | | // repeated .solidity.test.solprotofuzzer.ContractFunction funcdef = 1; |
1429 | | int funcdef_size() const; |
1430 | | private: |
1431 | | int _internal_funcdef_size() const; |
1432 | | public: |
1433 | | void clear_funcdef(); |
1434 | | ::solidity::test::solprotofuzzer::ContractFunction* mutable_funcdef(int index); |
1435 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractFunction >* |
1436 | | mutable_funcdef(); |
1437 | | private: |
1438 | | const ::solidity::test::solprotofuzzer::ContractFunction& _internal_funcdef(int index) const; |
1439 | | ::solidity::test::solprotofuzzer::ContractFunction* _internal_add_funcdef(); |
1440 | | public: |
1441 | | const ::solidity::test::solprotofuzzer::ContractFunction& funcdef(int index) const; |
1442 | | ::solidity::test::solprotofuzzer::ContractFunction* add_funcdef(); |
1443 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractFunction >& |
1444 | | funcdef() const; |
1445 | | |
1446 | | // repeated .solidity.test.solprotofuzzer.ContractOrInterface bases = 3; |
1447 | | int bases_size() const; |
1448 | | private: |
1449 | | int _internal_bases_size() const; |
1450 | | public: |
1451 | | void clear_bases(); |
1452 | | ::solidity::test::solprotofuzzer::ContractOrInterface* mutable_bases(int index); |
1453 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractOrInterface >* |
1454 | | mutable_bases(); |
1455 | | private: |
1456 | | const ::solidity::test::solprotofuzzer::ContractOrInterface& _internal_bases(int index) const; |
1457 | | ::solidity::test::solprotofuzzer::ContractOrInterface* _internal_add_bases(); |
1458 | | public: |
1459 | | const ::solidity::test::solprotofuzzer::ContractOrInterface& bases(int index) const; |
1460 | | ::solidity::test::solprotofuzzer::ContractOrInterface* add_bases(); |
1461 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractOrInterface >& |
1462 | | bases() const; |
1463 | | |
1464 | | // required bool abstract = 2; |
1465 | | bool has_abstract() const; |
1466 | | private: |
1467 | | bool _internal_has_abstract() const; |
1468 | | public: |
1469 | | void clear_abstract(); |
1470 | | bool abstract() const; |
1471 | | void set_abstract(bool value); |
1472 | | private: |
1473 | | bool _internal_abstract() const; |
1474 | | void _internal_set_abstract(bool value); |
1475 | | public: |
1476 | | |
1477 | | // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.Contract) |
1478 | | private: |
1479 | | class _Internal; |
1480 | | |
1481 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1482 | | typedef void InternalArenaConstructable_; |
1483 | | typedef void DestructorSkippable_; |
1484 | | struct Impl_ { |
1485 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
1486 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1487 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractFunction > funcdef_; |
1488 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractOrInterface > bases_; |
1489 | | bool abstract_; |
1490 | | }; |
1491 | | union { Impl_ _impl_; }; |
1492 | | friend struct ::TableStruct_solProto_2eproto; |
1493 | | }; |
1494 | | // ------------------------------------------------------------------- |
1495 | | |
1496 | | class ContractOrInterface final : |
1497 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.ContractOrInterface) */ { |
1498 | | public: |
1499 | 0 | inline ContractOrInterface() : ContractOrInterface(nullptr) {} |
1500 | | ~ContractOrInterface() override; |
1501 | | explicit PROTOBUF_CONSTEXPR ContractOrInterface(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1502 | | |
1503 | | ContractOrInterface(const ContractOrInterface& from); |
1504 | | ContractOrInterface(ContractOrInterface&& from) noexcept |
1505 | 0 | : ContractOrInterface() { |
1506 | 0 | *this = ::std::move(from); |
1507 | 0 | } |
1508 | | |
1509 | 0 | inline ContractOrInterface& operator=(const ContractOrInterface& from) { |
1510 | 0 | CopyFrom(from); |
1511 | 0 | return *this; |
1512 | 0 | } |
1513 | 0 | inline ContractOrInterface& operator=(ContractOrInterface&& from) noexcept { |
1514 | 0 | if (this == &from) return *this; |
1515 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1516 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1517 | 0 | && GetOwningArena() != nullptr |
1518 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1519 | 0 | ) { |
1520 | 0 | InternalSwap(&from); |
1521 | 0 | } else { |
1522 | 0 | CopyFrom(from); |
1523 | 0 | } |
1524 | 0 | return *this; |
1525 | 0 | } |
1526 | | |
1527 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1528 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1529 | 0 | } |
1530 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1531 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1532 | 0 | } |
1533 | | |
1534 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1535 | 0 | return GetDescriptor(); |
1536 | 0 | } |
1537 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1538 | 0 | return default_instance().GetMetadata().descriptor; |
1539 | 0 | } |
1540 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1541 | 0 | return default_instance().GetMetadata().reflection; |
1542 | 0 | } |
1543 | 0 | static const ContractOrInterface& default_instance() { |
1544 | 0 | return *internal_default_instance(); |
1545 | 0 | } |
1546 | | enum ContractOrInterfaceOneofCase { |
1547 | | kC = 1, |
1548 | | kI = 2, |
1549 | | CONTRACT_OR_INTERFACE_ONEOF_NOT_SET = 0, |
1550 | | }; |
1551 | | |
1552 | 0 | static inline const ContractOrInterface* internal_default_instance() { |
1553 | 0 | return reinterpret_cast<const ContractOrInterface*>( |
1554 | 0 | &_ContractOrInterface_default_instance_); |
1555 | 0 | } |
1556 | | static constexpr int kIndexInFileMessages = |
1557 | | 6; |
1558 | | |
1559 | 0 | friend void swap(ContractOrInterface& a, ContractOrInterface& b) { |
1560 | 0 | a.Swap(&b); |
1561 | 0 | } |
1562 | 0 | inline void Swap(ContractOrInterface* other) { |
1563 | 0 | if (other == this) return; |
1564 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1565 | 0 | if (GetOwningArena() != nullptr && |
1566 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1567 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1568 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1569 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1570 | 0 | InternalSwap(other); |
1571 | 0 | } else { |
1572 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1573 | 0 | } |
1574 | 0 | } |
1575 | 0 | void UnsafeArenaSwap(ContractOrInterface* other) { |
1576 | 0 | if (other == this) return; |
1577 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1578 | 0 | InternalSwap(other); |
1579 | 0 | } |
1580 | | |
1581 | | // implements Message ---------------------------------------------- |
1582 | | |
1583 | 1.69k | ContractOrInterface* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1584 | 1.69k | return CreateMaybeMessage<ContractOrInterface>(arena); |
1585 | 1.69k | } |
1586 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1587 | | void CopyFrom(const ContractOrInterface& from); |
1588 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1589 | 0 | void MergeFrom( const ContractOrInterface& from) { |
1590 | 0 | ContractOrInterface::MergeImpl(*this, from); |
1591 | 0 | } |
1592 | | private: |
1593 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1594 | | public: |
1595 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1596 | | bool IsInitialized() const final; |
1597 | | |
1598 | | size_t ByteSizeLong() const final; |
1599 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1600 | | uint8_t* _InternalSerialize( |
1601 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1602 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1603 | | |
1604 | | private: |
1605 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1606 | | void SharedDtor(); |
1607 | | void SetCachedSize(int size) const final; |
1608 | | void InternalSwap(ContractOrInterface* other); |
1609 | | |
1610 | | private: |
1611 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1612 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1613 | 0 | return "solidity.test.solprotofuzzer.ContractOrInterface"; |
1614 | 0 | } |
1615 | | protected: |
1616 | | explicit ContractOrInterface(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1617 | | bool is_message_owned = false); |
1618 | | public: |
1619 | | |
1620 | | static const ClassData _class_data_; |
1621 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1622 | | |
1623 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1624 | | |
1625 | | // nested types ---------------------------------------------------- |
1626 | | |
1627 | | // accessors ------------------------------------------------------- |
1628 | | |
1629 | | enum : int { |
1630 | | kCFieldNumber = 1, |
1631 | | kIFieldNumber = 2, |
1632 | | }; |
1633 | | // .solidity.test.solprotofuzzer.Contract c = 1; |
1634 | | bool has_c() const; |
1635 | | private: |
1636 | | bool _internal_has_c() const; |
1637 | | public: |
1638 | | void clear_c(); |
1639 | | const ::solidity::test::solprotofuzzer::Contract& c() const; |
1640 | | PROTOBUF_NODISCARD ::solidity::test::solprotofuzzer::Contract* release_c(); |
1641 | | ::solidity::test::solprotofuzzer::Contract* mutable_c(); |
1642 | | void set_allocated_c(::solidity::test::solprotofuzzer::Contract* c); |
1643 | | private: |
1644 | | const ::solidity::test::solprotofuzzer::Contract& _internal_c() const; |
1645 | | ::solidity::test::solprotofuzzer::Contract* _internal_mutable_c(); |
1646 | | public: |
1647 | | void unsafe_arena_set_allocated_c( |
1648 | | ::solidity::test::solprotofuzzer::Contract* c); |
1649 | | ::solidity::test::solprotofuzzer::Contract* unsafe_arena_release_c(); |
1650 | | |
1651 | | // .solidity.test.solprotofuzzer.Interface i = 2; |
1652 | | bool has_i() const; |
1653 | | private: |
1654 | | bool _internal_has_i() const; |
1655 | | public: |
1656 | | void clear_i(); |
1657 | | const ::solidity::test::solprotofuzzer::Interface& i() const; |
1658 | | PROTOBUF_NODISCARD ::solidity::test::solprotofuzzer::Interface* release_i(); |
1659 | | ::solidity::test::solprotofuzzer::Interface* mutable_i(); |
1660 | | void set_allocated_i(::solidity::test::solprotofuzzer::Interface* i); |
1661 | | private: |
1662 | | const ::solidity::test::solprotofuzzer::Interface& _internal_i() const; |
1663 | | ::solidity::test::solprotofuzzer::Interface* _internal_mutable_i(); |
1664 | | public: |
1665 | | void unsafe_arena_set_allocated_i( |
1666 | | ::solidity::test::solprotofuzzer::Interface* i); |
1667 | | ::solidity::test::solprotofuzzer::Interface* unsafe_arena_release_i(); |
1668 | | |
1669 | | void clear_contract_or_interface_oneof(); |
1670 | | ContractOrInterfaceOneofCase contract_or_interface_oneof_case() const; |
1671 | | // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.ContractOrInterface) |
1672 | | private: |
1673 | | class _Internal; |
1674 | | void set_has_c(); |
1675 | | void set_has_i(); |
1676 | | |
1677 | | inline bool has_contract_or_interface_oneof() const; |
1678 | | inline void clear_has_contract_or_interface_oneof(); |
1679 | | |
1680 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1681 | | typedef void InternalArenaConstructable_; |
1682 | | typedef void DestructorSkippable_; |
1683 | | struct Impl_ { |
1684 | | union ContractOrInterfaceOneofUnion { |
1685 | 1.69k | constexpr ContractOrInterfaceOneofUnion() : _constinit_{} {} |
1686 | | ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; |
1687 | | ::solidity::test::solprotofuzzer::Contract* c_; |
1688 | | ::solidity::test::solprotofuzzer::Interface* i_; |
1689 | | } contract_or_interface_oneof_; |
1690 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1691 | | uint32_t _oneof_case_[1]; |
1692 | | |
1693 | | }; |
1694 | | union { Impl_ _impl_; }; |
1695 | | friend struct ::TableStruct_solProto_2eproto; |
1696 | | }; |
1697 | | // ------------------------------------------------------------------- |
1698 | | |
1699 | | class ContractType final : |
1700 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.ContractType) */ { |
1701 | | public: |
1702 | 0 | inline ContractType() : ContractType(nullptr) {} |
1703 | | ~ContractType() override; |
1704 | | explicit PROTOBUF_CONSTEXPR ContractType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1705 | | |
1706 | | ContractType(const ContractType& from); |
1707 | | ContractType(ContractType&& from) noexcept |
1708 | 0 | : ContractType() { |
1709 | 0 | *this = ::std::move(from); |
1710 | 0 | } |
1711 | | |
1712 | 0 | inline ContractType& operator=(const ContractType& from) { |
1713 | 0 | CopyFrom(from); |
1714 | 0 | return *this; |
1715 | 0 | } |
1716 | 0 | inline ContractType& operator=(ContractType&& from) noexcept { |
1717 | 0 | if (this == &from) return *this; |
1718 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1719 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1720 | 0 | && GetOwningArena() != nullptr |
1721 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1722 | 0 | ) { |
1723 | 0 | InternalSwap(&from); |
1724 | 0 | } else { |
1725 | 0 | CopyFrom(from); |
1726 | 0 | } |
1727 | 0 | return *this; |
1728 | 0 | } |
1729 | | |
1730 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1731 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1732 | 0 | } |
1733 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1734 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1735 | 0 | } |
1736 | | |
1737 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1738 | 0 | return GetDescriptor(); |
1739 | 0 | } |
1740 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1741 | 0 | return default_instance().GetMetadata().descriptor; |
1742 | 0 | } |
1743 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1744 | 0 | return default_instance().GetMetadata().reflection; |
1745 | 0 | } |
1746 | 0 | static const ContractType& default_instance() { |
1747 | 0 | return *internal_default_instance(); |
1748 | 0 | } |
1749 | | enum ContractTypeOneofCase { |
1750 | | kC = 1, |
1751 | | kL = 2, |
1752 | | kI = 3, |
1753 | | CONTRACT_TYPE_ONEOF_NOT_SET = 0, |
1754 | | }; |
1755 | | |
1756 | 0 | static inline const ContractType* internal_default_instance() { |
1757 | 0 | return reinterpret_cast<const ContractType*>( |
1758 | 0 | &_ContractType_default_instance_); |
1759 | 0 | } |
1760 | | static constexpr int kIndexInFileMessages = |
1761 | | 7; |
1762 | | |
1763 | 0 | friend void swap(ContractType& a, ContractType& b) { |
1764 | 0 | a.Swap(&b); |
1765 | 0 | } |
1766 | 0 | inline void Swap(ContractType* other) { |
1767 | 0 | if (other == this) return; |
1768 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1769 | 0 | if (GetOwningArena() != nullptr && |
1770 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1771 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1772 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1773 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1774 | 0 | InternalSwap(other); |
1775 | 0 | } else { |
1776 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1777 | 0 | } |
1778 | 0 | } |
1779 | 0 | void UnsafeArenaSwap(ContractType* other) { |
1780 | 0 | if (other == this) return; |
1781 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1782 | 0 | InternalSwap(other); |
1783 | 0 | } |
1784 | | |
1785 | | // implements Message ---------------------------------------------- |
1786 | | |
1787 | 133k | ContractType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1788 | 133k | return CreateMaybeMessage<ContractType>(arena); |
1789 | 133k | } |
1790 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1791 | | void CopyFrom(const ContractType& from); |
1792 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1793 | 0 | void MergeFrom( const ContractType& from) { |
1794 | 0 | ContractType::MergeImpl(*this, from); |
1795 | 0 | } |
1796 | | private: |
1797 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1798 | | public: |
1799 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1800 | | bool IsInitialized() const final; |
1801 | | |
1802 | | size_t ByteSizeLong() const final; |
1803 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1804 | | uint8_t* _InternalSerialize( |
1805 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1806 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1807 | | |
1808 | | private: |
1809 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1810 | | void SharedDtor(); |
1811 | | void SetCachedSize(int size) const final; |
1812 | | void InternalSwap(ContractType* other); |
1813 | | |
1814 | | private: |
1815 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1816 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1817 | 0 | return "solidity.test.solprotofuzzer.ContractType"; |
1818 | 0 | } |
1819 | | protected: |
1820 | | explicit ContractType(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1821 | | bool is_message_owned = false); |
1822 | | public: |
1823 | | |
1824 | | static const ClassData _class_data_; |
1825 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1826 | | |
1827 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1828 | | |
1829 | | // nested types ---------------------------------------------------- |
1830 | | |
1831 | | // accessors ------------------------------------------------------- |
1832 | | |
1833 | | enum : int { |
1834 | | kCFieldNumber = 1, |
1835 | | kLFieldNumber = 2, |
1836 | | kIFieldNumber = 3, |
1837 | | }; |
1838 | | // .solidity.test.solprotofuzzer.Contract c = 1; |
1839 | | bool has_c() const; |
1840 | | private: |
1841 | | bool _internal_has_c() const; |
1842 | | public: |
1843 | | void clear_c(); |
1844 | | const ::solidity::test::solprotofuzzer::Contract& c() const; |
1845 | | PROTOBUF_NODISCARD ::solidity::test::solprotofuzzer::Contract* release_c(); |
1846 | | ::solidity::test::solprotofuzzer::Contract* mutable_c(); |
1847 | | void set_allocated_c(::solidity::test::solprotofuzzer::Contract* c); |
1848 | | private: |
1849 | | const ::solidity::test::solprotofuzzer::Contract& _internal_c() const; |
1850 | | ::solidity::test::solprotofuzzer::Contract* _internal_mutable_c(); |
1851 | | public: |
1852 | | void unsafe_arena_set_allocated_c( |
1853 | | ::solidity::test::solprotofuzzer::Contract* c); |
1854 | | ::solidity::test::solprotofuzzer::Contract* unsafe_arena_release_c(); |
1855 | | |
1856 | | // .solidity.test.solprotofuzzer.Library l = 2; |
1857 | | bool has_l() const; |
1858 | | private: |
1859 | | bool _internal_has_l() const; |
1860 | | public: |
1861 | | void clear_l(); |
1862 | | const ::solidity::test::solprotofuzzer::Library& l() const; |
1863 | | PROTOBUF_NODISCARD ::solidity::test::solprotofuzzer::Library* release_l(); |
1864 | | ::solidity::test::solprotofuzzer::Library* mutable_l(); |
1865 | | void set_allocated_l(::solidity::test::solprotofuzzer::Library* l); |
1866 | | private: |
1867 | | const ::solidity::test::solprotofuzzer::Library& _internal_l() const; |
1868 | | ::solidity::test::solprotofuzzer::Library* _internal_mutable_l(); |
1869 | | public: |
1870 | | void unsafe_arena_set_allocated_l( |
1871 | | ::solidity::test::solprotofuzzer::Library* l); |
1872 | | ::solidity::test::solprotofuzzer::Library* unsafe_arena_release_l(); |
1873 | | |
1874 | | // .solidity.test.solprotofuzzer.Interface i = 3; |
1875 | | bool has_i() const; |
1876 | | private: |
1877 | | bool _internal_has_i() const; |
1878 | | public: |
1879 | | void clear_i(); |
1880 | | const ::solidity::test::solprotofuzzer::Interface& i() const; |
1881 | | PROTOBUF_NODISCARD ::solidity::test::solprotofuzzer::Interface* release_i(); |
1882 | | ::solidity::test::solprotofuzzer::Interface* mutable_i(); |
1883 | | void set_allocated_i(::solidity::test::solprotofuzzer::Interface* i); |
1884 | | private: |
1885 | | const ::solidity::test::solprotofuzzer::Interface& _internal_i() const; |
1886 | | ::solidity::test::solprotofuzzer::Interface* _internal_mutable_i(); |
1887 | | public: |
1888 | | void unsafe_arena_set_allocated_i( |
1889 | | ::solidity::test::solprotofuzzer::Interface* i); |
1890 | | ::solidity::test::solprotofuzzer::Interface* unsafe_arena_release_i(); |
1891 | | |
1892 | | void clear_contract_type_oneof(); |
1893 | | ContractTypeOneofCase contract_type_oneof_case() const; |
1894 | | // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.ContractType) |
1895 | | private: |
1896 | | class _Internal; |
1897 | | void set_has_c(); |
1898 | | void set_has_l(); |
1899 | | void set_has_i(); |
1900 | | |
1901 | | inline bool has_contract_type_oneof() const; |
1902 | | inline void clear_has_contract_type_oneof(); |
1903 | | |
1904 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1905 | | typedef void InternalArenaConstructable_; |
1906 | | typedef void DestructorSkippable_; |
1907 | | struct Impl_ { |
1908 | | union ContractTypeOneofUnion { |
1909 | 133k | constexpr ContractTypeOneofUnion() : _constinit_{} {} |
1910 | | ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; |
1911 | | ::solidity::test::solprotofuzzer::Contract* c_; |
1912 | | ::solidity::test::solprotofuzzer::Library* l_; |
1913 | | ::solidity::test::solprotofuzzer::Interface* i_; |
1914 | | } contract_type_oneof_; |
1915 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1916 | | uint32_t _oneof_case_[1]; |
1917 | | |
1918 | | }; |
1919 | | union { Impl_ _impl_; }; |
1920 | | friend struct ::TableStruct_solProto_2eproto; |
1921 | | }; |
1922 | | // ------------------------------------------------------------------- |
1923 | | |
1924 | | class TestContract final : |
1925 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.TestContract) */ { |
1926 | | public: |
1927 | 0 | inline TestContract() : TestContract(nullptr) {} |
1928 | | ~TestContract() override; |
1929 | | explicit PROTOBUF_CONSTEXPR TestContract(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1930 | | |
1931 | | TestContract(const TestContract& from); |
1932 | | TestContract(TestContract&& from) noexcept |
1933 | 0 | : TestContract() { |
1934 | 0 | *this = ::std::move(from); |
1935 | 0 | } |
1936 | | |
1937 | 0 | inline TestContract& operator=(const TestContract& from) { |
1938 | 0 | CopyFrom(from); |
1939 | 0 | return *this; |
1940 | 0 | } |
1941 | 0 | inline TestContract& operator=(TestContract&& from) noexcept { |
1942 | 0 | if (this == &from) return *this; |
1943 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1944 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1945 | 0 | && GetOwningArena() != nullptr |
1946 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1947 | 0 | ) { |
1948 | 0 | InternalSwap(&from); |
1949 | 0 | } else { |
1950 | 0 | CopyFrom(from); |
1951 | 0 | } |
1952 | 0 | return *this; |
1953 | 0 | } |
1954 | | |
1955 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
1956 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
1957 | 0 | } |
1958 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
1959 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
1960 | 0 | } |
1961 | | |
1962 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1963 | 0 | return GetDescriptor(); |
1964 | 0 | } |
1965 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1966 | 0 | return default_instance().GetMetadata().descriptor; |
1967 | 0 | } |
1968 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1969 | 0 | return default_instance().GetMetadata().reflection; |
1970 | 0 | } |
1971 | 0 | static const TestContract& default_instance() { |
1972 | 0 | return *internal_default_instance(); |
1973 | 0 | } |
1974 | 0 | static inline const TestContract* internal_default_instance() { |
1975 | 0 | return reinterpret_cast<const TestContract*>( |
1976 | 0 | &_TestContract_default_instance_); |
1977 | 0 | } |
1978 | | static constexpr int kIndexInFileMessages = |
1979 | | 8; |
1980 | | |
1981 | 0 | friend void swap(TestContract& a, TestContract& b) { |
1982 | 0 | a.Swap(&b); |
1983 | 0 | } |
1984 | 0 | inline void Swap(TestContract* other) { |
1985 | 0 | if (other == this) return; |
1986 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1987 | 0 | if (GetOwningArena() != nullptr && |
1988 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1989 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1990 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1991 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1992 | 0 | InternalSwap(other); |
1993 | 0 | } else { |
1994 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1995 | 0 | } |
1996 | 0 | } |
1997 | 0 | void UnsafeArenaSwap(TestContract* other) { |
1998 | 0 | if (other == this) return; |
1999 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2000 | 0 | InternalSwap(other); |
2001 | 0 | } |
2002 | | |
2003 | | // implements Message ---------------------------------------------- |
2004 | | |
2005 | 470 | TestContract* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2006 | 470 | return CreateMaybeMessage<TestContract>(arena); |
2007 | 470 | } |
2008 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2009 | | void CopyFrom(const TestContract& from); |
2010 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2011 | 0 | void MergeFrom( const TestContract& from) { |
2012 | 0 | TestContract::MergeImpl(*this, from); |
2013 | 0 | } |
2014 | | private: |
2015 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2016 | | public: |
2017 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2018 | | bool IsInitialized() const final; |
2019 | | |
2020 | | size_t ByteSizeLong() const final; |
2021 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2022 | | uint8_t* _InternalSerialize( |
2023 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2024 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2025 | | |
2026 | | private: |
2027 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
2028 | | void SharedDtor(); |
2029 | | void SetCachedSize(int size) const final; |
2030 | | void InternalSwap(TestContract* other); |
2031 | | |
2032 | | private: |
2033 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2034 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2035 | 0 | return "solidity.test.solprotofuzzer.TestContract"; |
2036 | 0 | } |
2037 | | protected: |
2038 | | explicit TestContract(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2039 | | bool is_message_owned = false); |
2040 | | public: |
2041 | | |
2042 | | static const ClassData _class_data_; |
2043 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2044 | | |
2045 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2046 | | |
2047 | | // nested types ---------------------------------------------------- |
2048 | | |
2049 | | typedef TestContract_Type Type; |
2050 | | static constexpr Type LIBRARY = |
2051 | | TestContract_Type_LIBRARY; |
2052 | | static constexpr Type CONTRACT = |
2053 | | TestContract_Type_CONTRACT; |
2054 | 0 | static inline bool Type_IsValid(int value) { |
2055 | 0 | return TestContract_Type_IsValid(value); |
2056 | 0 | } |
2057 | | static constexpr Type Type_MIN = |
2058 | | TestContract_Type_Type_MIN; |
2059 | | static constexpr Type Type_MAX = |
2060 | | TestContract_Type_Type_MAX; |
2061 | | static constexpr int Type_ARRAYSIZE = |
2062 | | TestContract_Type_Type_ARRAYSIZE; |
2063 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
2064 | 0 | Type_descriptor() { |
2065 | 0 | return TestContract_Type_descriptor(); |
2066 | 0 | } |
2067 | | template<typename T> |
2068 | | static inline const std::string& Type_Name(T enum_t_value) { |
2069 | | static_assert(::std::is_same<T, Type>::value || |
2070 | | ::std::is_integral<T>::value, |
2071 | | "Incorrect type passed to function Type_Name."); |
2072 | | return TestContract_Type_Name(enum_t_value); |
2073 | | } |
2074 | | static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
2075 | 0 | Type* value) { |
2076 | 0 | return TestContract_Type_Parse(name, value); |
2077 | 0 | } |
2078 | | |
2079 | | // accessors ------------------------------------------------------- |
2080 | | |
2081 | | enum : int { |
2082 | | kTypeFieldNumber = 1, |
2083 | | }; |
2084 | | // required .solidity.test.solprotofuzzer.TestContract.Type type = 1; |
2085 | | bool has_type() const; |
2086 | | private: |
2087 | | bool _internal_has_type() const; |
2088 | | public: |
2089 | | void clear_type(); |
2090 | | ::solidity::test::solprotofuzzer::TestContract_Type type() const; |
2091 | | void set_type(::solidity::test::solprotofuzzer::TestContract_Type value); |
2092 | | private: |
2093 | | ::solidity::test::solprotofuzzer::TestContract_Type _internal_type() const; |
2094 | | void _internal_set_type(::solidity::test::solprotofuzzer::TestContract_Type value); |
2095 | | public: |
2096 | | |
2097 | | // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.TestContract) |
2098 | | private: |
2099 | | class _Internal; |
2100 | | |
2101 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2102 | | typedef void InternalArenaConstructable_; |
2103 | | typedef void DestructorSkippable_; |
2104 | | struct Impl_ { |
2105 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
2106 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2107 | | int type_; |
2108 | | }; |
2109 | | union { Impl_ _impl_; }; |
2110 | | friend struct ::TableStruct_solProto_2eproto; |
2111 | | }; |
2112 | | // ------------------------------------------------------------------- |
2113 | | |
2114 | | class Program final : |
2115 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:solidity.test.solprotofuzzer.Program) */ { |
2116 | | public: |
2117 | 665 | inline Program() : Program(nullptr) {} |
2118 | | ~Program() override; |
2119 | | explicit PROTOBUF_CONSTEXPR Program(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
2120 | | |
2121 | | Program(const Program& from); |
2122 | | Program(Program&& from) noexcept |
2123 | 0 | : Program() { |
2124 | 0 | *this = ::std::move(from); |
2125 | 0 | } |
2126 | | |
2127 | 0 | inline Program& operator=(const Program& from) { |
2128 | 0 | CopyFrom(from); |
2129 | 0 | return *this; |
2130 | 0 | } |
2131 | 0 | inline Program& operator=(Program&& from) noexcept { |
2132 | 0 | if (this == &from) return *this; |
2133 | 0 | if (GetOwningArena() == from.GetOwningArena() |
2134 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2135 | 0 | && GetOwningArena() != nullptr |
2136 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2137 | 0 | ) { |
2138 | 0 | InternalSwap(&from); |
2139 | 0 | } else { |
2140 | 0 | CopyFrom(from); |
2141 | 0 | } |
2142 | 0 | return *this; |
2143 | 0 | } |
2144 | | |
2145 | 0 | inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const { |
2146 | 0 | return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance); |
2147 | 0 | } |
2148 | 0 | inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() { |
2149 | 0 | return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(); |
2150 | 0 | } |
2151 | | |
2152 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2153 | 0 | return GetDescriptor(); |
2154 | 0 | } |
2155 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2156 | 0 | return default_instance().GetMetadata().descriptor; |
2157 | 0 | } |
2158 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2159 | 0 | return default_instance().GetMetadata().reflection; |
2160 | 0 | } |
2161 | 0 | static const Program& default_instance() { |
2162 | 0 | return *internal_default_instance(); |
2163 | 0 | } |
2164 | 665 | static inline const Program* internal_default_instance() { |
2165 | 665 | return reinterpret_cast<const Program*>( |
2166 | 665 | &_Program_default_instance_); |
2167 | 665 | } |
2168 | | static constexpr int kIndexInFileMessages = |
2169 | | 9; |
2170 | | |
2171 | 0 | friend void swap(Program& a, Program& b) { |
2172 | 0 | a.Swap(&b); |
2173 | 0 | } |
2174 | 0 | inline void Swap(Program* other) { |
2175 | 0 | if (other == this) return; |
2176 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2177 | 0 | if (GetOwningArena() != nullptr && |
2178 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2179 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2180 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2181 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2182 | 0 | InternalSwap(other); |
2183 | 0 | } else { |
2184 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2185 | 0 | } |
2186 | 0 | } |
2187 | 0 | void UnsafeArenaSwap(Program* other) { |
2188 | 0 | if (other == this) return; |
2189 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2190 | 0 | InternalSwap(other); |
2191 | 0 | } |
2192 | | |
2193 | | // implements Message ---------------------------------------------- |
2194 | | |
2195 | 0 | Program* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2196 | 0 | return CreateMaybeMessage<Program>(arena); |
2197 | 0 | } |
2198 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2199 | | void CopyFrom(const Program& from); |
2200 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2201 | 0 | void MergeFrom( const Program& from) { |
2202 | 0 | Program::MergeImpl(*this, from); |
2203 | 0 | } |
2204 | | private: |
2205 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2206 | | public: |
2207 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2208 | | bool IsInitialized() const final; |
2209 | | |
2210 | | size_t ByteSizeLong() const final; |
2211 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2212 | | uint8_t* _InternalSerialize( |
2213 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2214 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2215 | | |
2216 | | private: |
2217 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
2218 | | void SharedDtor(); |
2219 | | void SetCachedSize(int size) const final; |
2220 | | void InternalSwap(Program* other); |
2221 | | |
2222 | | private: |
2223 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2224 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2225 | 0 | return "solidity.test.solprotofuzzer.Program"; |
2226 | 0 | } |
2227 | | protected: |
2228 | | explicit Program(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2229 | | bool is_message_owned = false); |
2230 | | public: |
2231 | | |
2232 | | static const ClassData _class_data_; |
2233 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2234 | | |
2235 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2236 | | |
2237 | | // nested types ---------------------------------------------------- |
2238 | | |
2239 | | // accessors ------------------------------------------------------- |
2240 | | |
2241 | | enum : int { |
2242 | | kContractsFieldNumber = 1, |
2243 | | kTestFieldNumber = 2, |
2244 | | kSeedFieldNumber = 3, |
2245 | | }; |
2246 | | // repeated .solidity.test.solprotofuzzer.ContractType contracts = 1; |
2247 | | int contracts_size() const; |
2248 | | private: |
2249 | | int _internal_contracts_size() const; |
2250 | | public: |
2251 | | void clear_contracts(); |
2252 | | ::solidity::test::solprotofuzzer::ContractType* mutable_contracts(int index); |
2253 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractType >* |
2254 | | mutable_contracts(); |
2255 | | private: |
2256 | | const ::solidity::test::solprotofuzzer::ContractType& _internal_contracts(int index) const; |
2257 | | ::solidity::test::solprotofuzzer::ContractType* _internal_add_contracts(); |
2258 | | public: |
2259 | | const ::solidity::test::solprotofuzzer::ContractType& contracts(int index) const; |
2260 | | ::solidity::test::solprotofuzzer::ContractType* add_contracts(); |
2261 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractType >& |
2262 | | contracts() const; |
2263 | | |
2264 | | // required .solidity.test.solprotofuzzer.TestContract test = 2; |
2265 | | bool has_test() const; |
2266 | | private: |
2267 | | bool _internal_has_test() const; |
2268 | | public: |
2269 | | void clear_test(); |
2270 | | const ::solidity::test::solprotofuzzer::TestContract& test() const; |
2271 | | PROTOBUF_NODISCARD ::solidity::test::solprotofuzzer::TestContract* release_test(); |
2272 | | ::solidity::test::solprotofuzzer::TestContract* mutable_test(); |
2273 | | void set_allocated_test(::solidity::test::solprotofuzzer::TestContract* test); |
2274 | | private: |
2275 | | const ::solidity::test::solprotofuzzer::TestContract& _internal_test() const; |
2276 | | ::solidity::test::solprotofuzzer::TestContract* _internal_mutable_test(); |
2277 | | public: |
2278 | | void unsafe_arena_set_allocated_test( |
2279 | | ::solidity::test::solprotofuzzer::TestContract* test); |
2280 | | ::solidity::test::solprotofuzzer::TestContract* unsafe_arena_release_test(); |
2281 | | |
2282 | | // required uint64 seed = 3; |
2283 | | bool has_seed() const; |
2284 | | private: |
2285 | | bool _internal_has_seed() const; |
2286 | | public: |
2287 | | void clear_seed(); |
2288 | | uint64_t seed() const; |
2289 | | void set_seed(uint64_t value); |
2290 | | private: |
2291 | | uint64_t _internal_seed() const; |
2292 | | void _internal_set_seed(uint64_t value); |
2293 | | public: |
2294 | | |
2295 | | // @@protoc_insertion_point(class_scope:solidity.test.solprotofuzzer.Program) |
2296 | | private: |
2297 | | class _Internal; |
2298 | | |
2299 | | // helper for ByteSizeLong() |
2300 | | size_t RequiredFieldsByteSizeFallback() const; |
2301 | | |
2302 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2303 | | typedef void InternalArenaConstructable_; |
2304 | | typedef void DestructorSkippable_; |
2305 | | struct Impl_ { |
2306 | | ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; |
2307 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2308 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractType > contracts_; |
2309 | | ::solidity::test::solprotofuzzer::TestContract* test_; |
2310 | | uint64_t seed_; |
2311 | | }; |
2312 | | union { Impl_ _impl_; }; |
2313 | | friend struct ::TableStruct_solProto_2eproto; |
2314 | | }; |
2315 | | // =================================================================== |
2316 | | |
2317 | | |
2318 | | // =================================================================== |
2319 | | |
2320 | | #ifdef __GNUC__ |
2321 | | #pragma GCC diagnostic push |
2322 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
2323 | | #endif // __GNUC__ |
2324 | | // InterfaceFunction |
2325 | | |
2326 | | // required .solidity.test.solprotofuzzer.InterfaceFunction.StateMutability mut = 1; |
2327 | 0 | inline bool InterfaceFunction::_internal_has_mut() const { |
2328 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2329 | 0 | return value; |
2330 | 0 | } |
2331 | 0 | inline bool InterfaceFunction::has_mut() const { |
2332 | 0 | return _internal_has_mut(); |
2333 | 0 | } |
2334 | 0 | inline void InterfaceFunction::clear_mut() { |
2335 | 0 | _impl_.mut_ = 0; |
2336 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2337 | 0 | } |
2338 | 0 | inline ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability InterfaceFunction::_internal_mut() const { |
2339 | 0 | return static_cast< ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability >(_impl_.mut_); |
2340 | 0 | } |
2341 | 0 | inline ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability InterfaceFunction::mut() const { |
2342 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.InterfaceFunction.mut) |
2343 | 0 | return _internal_mut(); |
2344 | 0 | } |
2345 | 0 | inline void InterfaceFunction::_internal_set_mut(::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability value) { |
2346 | 0 | assert(::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability_IsValid(value)); |
2347 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2348 | 0 | _impl_.mut_ = value; |
2349 | 0 | } |
2350 | 0 | inline void InterfaceFunction::set_mut(::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability value) { |
2351 | 0 | _internal_set_mut(value); |
2352 | 0 | // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.InterfaceFunction.mut) |
2353 | 0 | } |
2354 | | |
2355 | | // ------------------------------------------------------------------- |
2356 | | |
2357 | | // LibraryFunction |
2358 | | |
2359 | | // required .solidity.test.solprotofuzzer.LibraryFunction.Visibility vis = 1; |
2360 | 0 | inline bool LibraryFunction::_internal_has_vis() const { |
2361 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2362 | 0 | return value; |
2363 | 0 | } |
2364 | 0 | inline bool LibraryFunction::has_vis() const { |
2365 | 0 | return _internal_has_vis(); |
2366 | 0 | } |
2367 | 0 | inline void LibraryFunction::clear_vis() { |
2368 | 0 | _impl_.vis_ = 0; |
2369 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2370 | 0 | } |
2371 | 0 | inline ::solidity::test::solprotofuzzer::LibraryFunction_Visibility LibraryFunction::_internal_vis() const { |
2372 | 0 | return static_cast< ::solidity::test::solprotofuzzer::LibraryFunction_Visibility >(_impl_.vis_); |
2373 | 0 | } |
2374 | 0 | inline ::solidity::test::solprotofuzzer::LibraryFunction_Visibility LibraryFunction::vis() const { |
2375 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.LibraryFunction.vis) |
2376 | 0 | return _internal_vis(); |
2377 | 0 | } |
2378 | 0 | inline void LibraryFunction::_internal_set_vis(::solidity::test::solprotofuzzer::LibraryFunction_Visibility value) { |
2379 | 0 | assert(::solidity::test::solprotofuzzer::LibraryFunction_Visibility_IsValid(value)); |
2380 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2381 | 0 | _impl_.vis_ = value; |
2382 | 0 | } |
2383 | 0 | inline void LibraryFunction::set_vis(::solidity::test::solprotofuzzer::LibraryFunction_Visibility value) { |
2384 | 0 | _internal_set_vis(value); |
2385 | 0 | // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.LibraryFunction.vis) |
2386 | 0 | } |
2387 | | |
2388 | | // required .solidity.test.solprotofuzzer.LibraryFunction.StateMutability mut = 2; |
2389 | 0 | inline bool LibraryFunction::_internal_has_mut() const { |
2390 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
2391 | 0 | return value; |
2392 | 0 | } |
2393 | 0 | inline bool LibraryFunction::has_mut() const { |
2394 | 0 | return _internal_has_mut(); |
2395 | 0 | } |
2396 | 0 | inline void LibraryFunction::clear_mut() { |
2397 | 0 | _impl_.mut_ = 0; |
2398 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2399 | 0 | } |
2400 | 0 | inline ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability LibraryFunction::_internal_mut() const { |
2401 | 0 | return static_cast< ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability >(_impl_.mut_); |
2402 | 0 | } |
2403 | 0 | inline ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability LibraryFunction::mut() const { |
2404 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.LibraryFunction.mut) |
2405 | 0 | return _internal_mut(); |
2406 | 0 | } |
2407 | 0 | inline void LibraryFunction::_internal_set_mut(::solidity::test::solprotofuzzer::LibraryFunction_StateMutability value) { |
2408 | 0 | assert(::solidity::test::solprotofuzzer::LibraryFunction_StateMutability_IsValid(value)); |
2409 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2410 | 0 | _impl_.mut_ = value; |
2411 | 0 | } |
2412 | 0 | inline void LibraryFunction::set_mut(::solidity::test::solprotofuzzer::LibraryFunction_StateMutability value) { |
2413 | 0 | _internal_set_mut(value); |
2414 | 0 | // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.LibraryFunction.mut) |
2415 | 0 | } |
2416 | | |
2417 | | // ------------------------------------------------------------------- |
2418 | | |
2419 | | // ContractFunction |
2420 | | |
2421 | | // required .solidity.test.solprotofuzzer.ContractFunction.Visibility vis = 1; |
2422 | 0 | inline bool ContractFunction::_internal_has_vis() const { |
2423 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2424 | 0 | return value; |
2425 | 0 | } |
2426 | 0 | inline bool ContractFunction::has_vis() const { |
2427 | 0 | return _internal_has_vis(); |
2428 | 0 | } |
2429 | 0 | inline void ContractFunction::clear_vis() { |
2430 | 0 | _impl_.vis_ = 0; |
2431 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2432 | 0 | } |
2433 | 0 | inline ::solidity::test::solprotofuzzer::ContractFunction_Visibility ContractFunction::_internal_vis() const { |
2434 | 0 | return static_cast< ::solidity::test::solprotofuzzer::ContractFunction_Visibility >(_impl_.vis_); |
2435 | 0 | } |
2436 | 0 | inline ::solidity::test::solprotofuzzer::ContractFunction_Visibility ContractFunction::vis() const { |
2437 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractFunction.vis) |
2438 | 0 | return _internal_vis(); |
2439 | 0 | } |
2440 | 0 | inline void ContractFunction::_internal_set_vis(::solidity::test::solprotofuzzer::ContractFunction_Visibility value) { |
2441 | 0 | assert(::solidity::test::solprotofuzzer::ContractFunction_Visibility_IsValid(value)); |
2442 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2443 | 0 | _impl_.vis_ = value; |
2444 | 0 | } |
2445 | 0 | inline void ContractFunction::set_vis(::solidity::test::solprotofuzzer::ContractFunction_Visibility value) { |
2446 | 0 | _internal_set_vis(value); |
2447 | 0 | // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.ContractFunction.vis) |
2448 | 0 | } |
2449 | | |
2450 | | // required .solidity.test.solprotofuzzer.ContractFunction.StateMutability mut = 2; |
2451 | 0 | inline bool ContractFunction::_internal_has_mut() const { |
2452 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
2453 | 0 | return value; |
2454 | 0 | } |
2455 | 0 | inline bool ContractFunction::has_mut() const { |
2456 | 0 | return _internal_has_mut(); |
2457 | 0 | } |
2458 | 0 | inline void ContractFunction::clear_mut() { |
2459 | 0 | _impl_.mut_ = 0; |
2460 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2461 | 0 | } |
2462 | 0 | inline ::solidity::test::solprotofuzzer::ContractFunction_StateMutability ContractFunction::_internal_mut() const { |
2463 | 0 | return static_cast< ::solidity::test::solprotofuzzer::ContractFunction_StateMutability >(_impl_.mut_); |
2464 | 0 | } |
2465 | 0 | inline ::solidity::test::solprotofuzzer::ContractFunction_StateMutability ContractFunction::mut() const { |
2466 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractFunction.mut) |
2467 | 0 | return _internal_mut(); |
2468 | 0 | } |
2469 | 0 | inline void ContractFunction::_internal_set_mut(::solidity::test::solprotofuzzer::ContractFunction_StateMutability value) { |
2470 | 0 | assert(::solidity::test::solprotofuzzer::ContractFunction_StateMutability_IsValid(value)); |
2471 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2472 | 0 | _impl_.mut_ = value; |
2473 | 0 | } |
2474 | 0 | inline void ContractFunction::set_mut(::solidity::test::solprotofuzzer::ContractFunction_StateMutability value) { |
2475 | 0 | _internal_set_mut(value); |
2476 | 0 | // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.ContractFunction.mut) |
2477 | 0 | } |
2478 | | |
2479 | | // required bool virtualfunc = 3; |
2480 | 0 | inline bool ContractFunction::_internal_has_virtualfunc() const { |
2481 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
2482 | 0 | return value; |
2483 | 0 | } |
2484 | 0 | inline bool ContractFunction::has_virtualfunc() const { |
2485 | 0 | return _internal_has_virtualfunc(); |
2486 | 0 | } |
2487 | 0 | inline void ContractFunction::clear_virtualfunc() { |
2488 | 0 | _impl_.virtualfunc_ = false; |
2489 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
2490 | 0 | } |
2491 | 0 | inline bool ContractFunction::_internal_virtualfunc() const { |
2492 | 0 | return _impl_.virtualfunc_; |
2493 | 0 | } |
2494 | 0 | inline bool ContractFunction::virtualfunc() const { |
2495 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractFunction.virtualfunc) |
2496 | 0 | return _internal_virtualfunc(); |
2497 | 0 | } |
2498 | 0 | inline void ContractFunction::_internal_set_virtualfunc(bool value) { |
2499 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
2500 | 0 | _impl_.virtualfunc_ = value; |
2501 | 0 | } |
2502 | 0 | inline void ContractFunction::set_virtualfunc(bool value) { |
2503 | 0 | _internal_set_virtualfunc(value); |
2504 | 0 | // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.ContractFunction.virtualfunc) |
2505 | 0 | } |
2506 | | |
2507 | | // ------------------------------------------------------------------- |
2508 | | |
2509 | | // Library |
2510 | | |
2511 | | // repeated .solidity.test.solprotofuzzer.LibraryFunction funcdef = 1; |
2512 | 0 | inline int Library::_internal_funcdef_size() const { |
2513 | 0 | return _impl_.funcdef_.size(); |
2514 | 0 | } |
2515 | 0 | inline int Library::funcdef_size() const { |
2516 | 0 | return _internal_funcdef_size(); |
2517 | 0 | } |
2518 | 0 | inline void Library::clear_funcdef() { |
2519 | 0 | _impl_.funcdef_.Clear(); |
2520 | 0 | } |
2521 | 0 | inline ::solidity::test::solprotofuzzer::LibraryFunction* Library::mutable_funcdef(int index) { |
2522 | 0 | // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.Library.funcdef) |
2523 | 0 | return _impl_.funcdef_.Mutable(index); |
2524 | 0 | } |
2525 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::LibraryFunction >* |
2526 | 0 | Library::mutable_funcdef() { |
2527 | 0 | // @@protoc_insertion_point(field_mutable_list:solidity.test.solprotofuzzer.Library.funcdef) |
2528 | 0 | return &_impl_.funcdef_; |
2529 | 0 | } |
2530 | 0 | inline const ::solidity::test::solprotofuzzer::LibraryFunction& Library::_internal_funcdef(int index) const { |
2531 | 0 | return _impl_.funcdef_.Get(index); |
2532 | 0 | } |
2533 | 0 | inline const ::solidity::test::solprotofuzzer::LibraryFunction& Library::funcdef(int index) const { |
2534 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Library.funcdef) |
2535 | 0 | return _internal_funcdef(index); |
2536 | 0 | } |
2537 | 0 | inline ::solidity::test::solprotofuzzer::LibraryFunction* Library::_internal_add_funcdef() { |
2538 | 0 | return _impl_.funcdef_.Add(); |
2539 | 0 | } |
2540 | 0 | inline ::solidity::test::solprotofuzzer::LibraryFunction* Library::add_funcdef() { |
2541 | 0 | ::solidity::test::solprotofuzzer::LibraryFunction* _add = _internal_add_funcdef(); |
2542 | 0 | // @@protoc_insertion_point(field_add:solidity.test.solprotofuzzer.Library.funcdef) |
2543 | 0 | return _add; |
2544 | 0 | } |
2545 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::LibraryFunction >& |
2546 | 0 | Library::funcdef() const { |
2547 | 0 | // @@protoc_insertion_point(field_list:solidity.test.solprotofuzzer.Library.funcdef) |
2548 | 0 | return _impl_.funcdef_; |
2549 | 0 | } |
2550 | | |
2551 | | // ------------------------------------------------------------------- |
2552 | | |
2553 | | // Interface |
2554 | | |
2555 | | // repeated .solidity.test.solprotofuzzer.InterfaceFunction funcdef = 1; |
2556 | 0 | inline int Interface::_internal_funcdef_size() const { |
2557 | 0 | return _impl_.funcdef_.size(); |
2558 | 0 | } |
2559 | 0 | inline int Interface::funcdef_size() const { |
2560 | 0 | return _internal_funcdef_size(); |
2561 | 0 | } |
2562 | 0 | inline void Interface::clear_funcdef() { |
2563 | 0 | _impl_.funcdef_.Clear(); |
2564 | 0 | } |
2565 | 0 | inline ::solidity::test::solprotofuzzer::InterfaceFunction* Interface::mutable_funcdef(int index) { |
2566 | 0 | // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.Interface.funcdef) |
2567 | 0 | return _impl_.funcdef_.Mutable(index); |
2568 | 0 | } |
2569 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::InterfaceFunction >* |
2570 | 0 | Interface::mutable_funcdef() { |
2571 | 0 | // @@protoc_insertion_point(field_mutable_list:solidity.test.solprotofuzzer.Interface.funcdef) |
2572 | 0 | return &_impl_.funcdef_; |
2573 | 0 | } |
2574 | 0 | inline const ::solidity::test::solprotofuzzer::InterfaceFunction& Interface::_internal_funcdef(int index) const { |
2575 | 0 | return _impl_.funcdef_.Get(index); |
2576 | 0 | } |
2577 | 0 | inline const ::solidity::test::solprotofuzzer::InterfaceFunction& Interface::funcdef(int index) const { |
2578 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Interface.funcdef) |
2579 | 0 | return _internal_funcdef(index); |
2580 | 0 | } |
2581 | 0 | inline ::solidity::test::solprotofuzzer::InterfaceFunction* Interface::_internal_add_funcdef() { |
2582 | 0 | return _impl_.funcdef_.Add(); |
2583 | 0 | } |
2584 | 0 | inline ::solidity::test::solprotofuzzer::InterfaceFunction* Interface::add_funcdef() { |
2585 | 0 | ::solidity::test::solprotofuzzer::InterfaceFunction* _add = _internal_add_funcdef(); |
2586 | 0 | // @@protoc_insertion_point(field_add:solidity.test.solprotofuzzer.Interface.funcdef) |
2587 | 0 | return _add; |
2588 | 0 | } |
2589 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::InterfaceFunction >& |
2590 | 0 | Interface::funcdef() const { |
2591 | 0 | // @@protoc_insertion_point(field_list:solidity.test.solprotofuzzer.Interface.funcdef) |
2592 | 0 | return _impl_.funcdef_; |
2593 | 0 | } |
2594 | | |
2595 | | // repeated .solidity.test.solprotofuzzer.Interface bases = 2; |
2596 | 0 | inline int Interface::_internal_bases_size() const { |
2597 | 0 | return _impl_.bases_.size(); |
2598 | 0 | } |
2599 | 0 | inline int Interface::bases_size() const { |
2600 | 0 | return _internal_bases_size(); |
2601 | 0 | } |
2602 | 0 | inline void Interface::clear_bases() { |
2603 | 0 | _impl_.bases_.Clear(); |
2604 | 0 | } |
2605 | 0 | inline ::solidity::test::solprotofuzzer::Interface* Interface::mutable_bases(int index) { |
2606 | 0 | // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.Interface.bases) |
2607 | 0 | return _impl_.bases_.Mutable(index); |
2608 | 0 | } |
2609 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::Interface >* |
2610 | 0 | Interface::mutable_bases() { |
2611 | 0 | // @@protoc_insertion_point(field_mutable_list:solidity.test.solprotofuzzer.Interface.bases) |
2612 | 0 | return &_impl_.bases_; |
2613 | 0 | } |
2614 | 0 | inline const ::solidity::test::solprotofuzzer::Interface& Interface::_internal_bases(int index) const { |
2615 | 0 | return _impl_.bases_.Get(index); |
2616 | 0 | } |
2617 | 0 | inline const ::solidity::test::solprotofuzzer::Interface& Interface::bases(int index) const { |
2618 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Interface.bases) |
2619 | 0 | return _internal_bases(index); |
2620 | 0 | } |
2621 | 0 | inline ::solidity::test::solprotofuzzer::Interface* Interface::_internal_add_bases() { |
2622 | 0 | return _impl_.bases_.Add(); |
2623 | 0 | } |
2624 | 0 | inline ::solidity::test::solprotofuzzer::Interface* Interface::add_bases() { |
2625 | 0 | ::solidity::test::solprotofuzzer::Interface* _add = _internal_add_bases(); |
2626 | 0 | // @@protoc_insertion_point(field_add:solidity.test.solprotofuzzer.Interface.bases) |
2627 | 0 | return _add; |
2628 | 0 | } |
2629 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::Interface >& |
2630 | 0 | Interface::bases() const { |
2631 | 0 | // @@protoc_insertion_point(field_list:solidity.test.solprotofuzzer.Interface.bases) |
2632 | 0 | return _impl_.bases_; |
2633 | 0 | } |
2634 | | |
2635 | | // ------------------------------------------------------------------- |
2636 | | |
2637 | | // Contract |
2638 | | |
2639 | | // repeated .solidity.test.solprotofuzzer.ContractFunction funcdef = 1; |
2640 | 0 | inline int Contract::_internal_funcdef_size() const { |
2641 | 0 | return _impl_.funcdef_.size(); |
2642 | 0 | } |
2643 | 0 | inline int Contract::funcdef_size() const { |
2644 | 0 | return _internal_funcdef_size(); |
2645 | 0 | } |
2646 | 0 | inline void Contract::clear_funcdef() { |
2647 | 0 | _impl_.funcdef_.Clear(); |
2648 | 0 | } |
2649 | 0 | inline ::solidity::test::solprotofuzzer::ContractFunction* Contract::mutable_funcdef(int index) { |
2650 | 0 | // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.Contract.funcdef) |
2651 | 0 | return _impl_.funcdef_.Mutable(index); |
2652 | 0 | } |
2653 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractFunction >* |
2654 | 0 | Contract::mutable_funcdef() { |
2655 | 0 | // @@protoc_insertion_point(field_mutable_list:solidity.test.solprotofuzzer.Contract.funcdef) |
2656 | 0 | return &_impl_.funcdef_; |
2657 | 0 | } |
2658 | 0 | inline const ::solidity::test::solprotofuzzer::ContractFunction& Contract::_internal_funcdef(int index) const { |
2659 | 0 | return _impl_.funcdef_.Get(index); |
2660 | 0 | } |
2661 | 0 | inline const ::solidity::test::solprotofuzzer::ContractFunction& Contract::funcdef(int index) const { |
2662 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Contract.funcdef) |
2663 | 0 | return _internal_funcdef(index); |
2664 | 0 | } |
2665 | 0 | inline ::solidity::test::solprotofuzzer::ContractFunction* Contract::_internal_add_funcdef() { |
2666 | 0 | return _impl_.funcdef_.Add(); |
2667 | 0 | } |
2668 | 0 | inline ::solidity::test::solprotofuzzer::ContractFunction* Contract::add_funcdef() { |
2669 | 0 | ::solidity::test::solprotofuzzer::ContractFunction* _add = _internal_add_funcdef(); |
2670 | 0 | // @@protoc_insertion_point(field_add:solidity.test.solprotofuzzer.Contract.funcdef) |
2671 | 0 | return _add; |
2672 | 0 | } |
2673 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractFunction >& |
2674 | 0 | Contract::funcdef() const { |
2675 | 0 | // @@protoc_insertion_point(field_list:solidity.test.solprotofuzzer.Contract.funcdef) |
2676 | 0 | return _impl_.funcdef_; |
2677 | 0 | } |
2678 | | |
2679 | | // required bool abstract = 2; |
2680 | 0 | inline bool Contract::_internal_has_abstract() const { |
2681 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2682 | 0 | return value; |
2683 | 0 | } |
2684 | 0 | inline bool Contract::has_abstract() const { |
2685 | 0 | return _internal_has_abstract(); |
2686 | 0 | } |
2687 | 0 | inline void Contract::clear_abstract() { |
2688 | 0 | _impl_.abstract_ = false; |
2689 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2690 | 0 | } |
2691 | 0 | inline bool Contract::_internal_abstract() const { |
2692 | 0 | return _impl_.abstract_; |
2693 | 0 | } |
2694 | 0 | inline bool Contract::abstract() const { |
2695 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Contract.abstract) |
2696 | 0 | return _internal_abstract(); |
2697 | 0 | } |
2698 | 0 | inline void Contract::_internal_set_abstract(bool value) { |
2699 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2700 | 0 | _impl_.abstract_ = value; |
2701 | 0 | } |
2702 | 0 | inline void Contract::set_abstract(bool value) { |
2703 | 0 | _internal_set_abstract(value); |
2704 | 0 | // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.Contract.abstract) |
2705 | 0 | } |
2706 | | |
2707 | | // repeated .solidity.test.solprotofuzzer.ContractOrInterface bases = 3; |
2708 | 0 | inline int Contract::_internal_bases_size() const { |
2709 | 0 | return _impl_.bases_.size(); |
2710 | 0 | } |
2711 | 0 | inline int Contract::bases_size() const { |
2712 | 0 | return _internal_bases_size(); |
2713 | 0 | } |
2714 | 0 | inline void Contract::clear_bases() { |
2715 | 0 | _impl_.bases_.Clear(); |
2716 | 0 | } |
2717 | 0 | inline ::solidity::test::solprotofuzzer::ContractOrInterface* Contract::mutable_bases(int index) { |
2718 | 0 | // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.Contract.bases) |
2719 | 0 | return _impl_.bases_.Mutable(index); |
2720 | 0 | } |
2721 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractOrInterface >* |
2722 | 0 | Contract::mutable_bases() { |
2723 | 0 | // @@protoc_insertion_point(field_mutable_list:solidity.test.solprotofuzzer.Contract.bases) |
2724 | 0 | return &_impl_.bases_; |
2725 | 0 | } |
2726 | 0 | inline const ::solidity::test::solprotofuzzer::ContractOrInterface& Contract::_internal_bases(int index) const { |
2727 | 0 | return _impl_.bases_.Get(index); |
2728 | 0 | } |
2729 | 0 | inline const ::solidity::test::solprotofuzzer::ContractOrInterface& Contract::bases(int index) const { |
2730 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Contract.bases) |
2731 | 0 | return _internal_bases(index); |
2732 | 0 | } |
2733 | 0 | inline ::solidity::test::solprotofuzzer::ContractOrInterface* Contract::_internal_add_bases() { |
2734 | 0 | return _impl_.bases_.Add(); |
2735 | 0 | } |
2736 | 0 | inline ::solidity::test::solprotofuzzer::ContractOrInterface* Contract::add_bases() { |
2737 | 0 | ::solidity::test::solprotofuzzer::ContractOrInterface* _add = _internal_add_bases(); |
2738 | 0 | // @@protoc_insertion_point(field_add:solidity.test.solprotofuzzer.Contract.bases) |
2739 | 0 | return _add; |
2740 | 0 | } |
2741 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractOrInterface >& |
2742 | 0 | Contract::bases() const { |
2743 | 0 | // @@protoc_insertion_point(field_list:solidity.test.solprotofuzzer.Contract.bases) |
2744 | 0 | return _impl_.bases_; |
2745 | 0 | } |
2746 | | |
2747 | | // ------------------------------------------------------------------- |
2748 | | |
2749 | | // ContractOrInterface |
2750 | | |
2751 | | // .solidity.test.solprotofuzzer.Contract c = 1; |
2752 | 0 | inline bool ContractOrInterface::_internal_has_c() const { |
2753 | 0 | return contract_or_interface_oneof_case() == kC; |
2754 | 0 | } |
2755 | 0 | inline bool ContractOrInterface::has_c() const { |
2756 | 0 | return _internal_has_c(); |
2757 | 0 | } |
2758 | 0 | inline void ContractOrInterface::set_has_c() { |
2759 | 0 | _impl_._oneof_case_[0] = kC; |
2760 | 0 | } |
2761 | 0 | inline void ContractOrInterface::clear_c() { |
2762 | 0 | if (_internal_has_c()) { |
2763 | 0 | if (GetArenaForAllocation() == nullptr) { |
2764 | 0 | delete _impl_.contract_or_interface_oneof_.c_; |
2765 | 0 | } |
2766 | 0 | clear_has_contract_or_interface_oneof(); |
2767 | 0 | } |
2768 | 0 | } |
2769 | 0 | inline ::solidity::test::solprotofuzzer::Contract* ContractOrInterface::release_c() { |
2770 | 0 | // @@protoc_insertion_point(field_release:solidity.test.solprotofuzzer.ContractOrInterface.c) |
2771 | 0 | if (_internal_has_c()) { |
2772 | 0 | clear_has_contract_or_interface_oneof(); |
2773 | 0 | ::solidity::test::solprotofuzzer::Contract* temp = _impl_.contract_or_interface_oneof_.c_; |
2774 | 0 | if (GetArenaForAllocation() != nullptr) { |
2775 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
2776 | 0 | } |
2777 | 0 | _impl_.contract_or_interface_oneof_.c_ = nullptr; |
2778 | 0 | return temp; |
2779 | 0 | } else { |
2780 | 0 | return nullptr; |
2781 | 0 | } |
2782 | 0 | } |
2783 | 0 | inline const ::solidity::test::solprotofuzzer::Contract& ContractOrInterface::_internal_c() const { |
2784 | 0 | return _internal_has_c() |
2785 | 0 | ? *_impl_.contract_or_interface_oneof_.c_ |
2786 | 0 | : reinterpret_cast< ::solidity::test::solprotofuzzer::Contract&>(::solidity::test::solprotofuzzer::_Contract_default_instance_); |
2787 | 0 | } |
2788 | 0 | inline const ::solidity::test::solprotofuzzer::Contract& ContractOrInterface::c() const { |
2789 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractOrInterface.c) |
2790 | 0 | return _internal_c(); |
2791 | 0 | } |
2792 | 0 | inline ::solidity::test::solprotofuzzer::Contract* ContractOrInterface::unsafe_arena_release_c() { |
2793 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.solprotofuzzer.ContractOrInterface.c) |
2794 | 0 | if (_internal_has_c()) { |
2795 | 0 | clear_has_contract_or_interface_oneof(); |
2796 | 0 | ::solidity::test::solprotofuzzer::Contract* temp = _impl_.contract_or_interface_oneof_.c_; |
2797 | 0 | _impl_.contract_or_interface_oneof_.c_ = nullptr; |
2798 | 0 | return temp; |
2799 | 0 | } else { |
2800 | 0 | return nullptr; |
2801 | 0 | } |
2802 | 0 | } |
2803 | 0 | inline void ContractOrInterface::unsafe_arena_set_allocated_c(::solidity::test::solprotofuzzer::Contract* c) { |
2804 | 0 | clear_contract_or_interface_oneof(); |
2805 | 0 | if (c) { |
2806 | 0 | set_has_c(); |
2807 | 0 | _impl_.contract_or_interface_oneof_.c_ = c; |
2808 | 0 | } |
2809 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.solprotofuzzer.ContractOrInterface.c) |
2810 | 0 | } |
2811 | 0 | inline ::solidity::test::solprotofuzzer::Contract* ContractOrInterface::_internal_mutable_c() { |
2812 | 0 | if (!_internal_has_c()) { |
2813 | 0 | clear_contract_or_interface_oneof(); |
2814 | 0 | set_has_c(); |
2815 | 0 | _impl_.contract_or_interface_oneof_.c_ = CreateMaybeMessage< ::solidity::test::solprotofuzzer::Contract >(GetArenaForAllocation()); |
2816 | 0 | } |
2817 | 0 | return _impl_.contract_or_interface_oneof_.c_; |
2818 | 0 | } |
2819 | 0 | inline ::solidity::test::solprotofuzzer::Contract* ContractOrInterface::mutable_c() { |
2820 | 0 | ::solidity::test::solprotofuzzer::Contract* _msg = _internal_mutable_c(); |
2821 | 0 | // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.ContractOrInterface.c) |
2822 | 0 | return _msg; |
2823 | 0 | } |
2824 | | |
2825 | | // .solidity.test.solprotofuzzer.Interface i = 2; |
2826 | 0 | inline bool ContractOrInterface::_internal_has_i() const { |
2827 | 0 | return contract_or_interface_oneof_case() == kI; |
2828 | 0 | } |
2829 | 0 | inline bool ContractOrInterface::has_i() const { |
2830 | 0 | return _internal_has_i(); |
2831 | 0 | } |
2832 | 0 | inline void ContractOrInterface::set_has_i() { |
2833 | 0 | _impl_._oneof_case_[0] = kI; |
2834 | 0 | } |
2835 | 0 | inline void ContractOrInterface::clear_i() { |
2836 | 0 | if (_internal_has_i()) { |
2837 | 0 | if (GetArenaForAllocation() == nullptr) { |
2838 | 0 | delete _impl_.contract_or_interface_oneof_.i_; |
2839 | 0 | } |
2840 | 0 | clear_has_contract_or_interface_oneof(); |
2841 | 0 | } |
2842 | 0 | } |
2843 | 0 | inline ::solidity::test::solprotofuzzer::Interface* ContractOrInterface::release_i() { |
2844 | 0 | // @@protoc_insertion_point(field_release:solidity.test.solprotofuzzer.ContractOrInterface.i) |
2845 | 0 | if (_internal_has_i()) { |
2846 | 0 | clear_has_contract_or_interface_oneof(); |
2847 | 0 | ::solidity::test::solprotofuzzer::Interface* temp = _impl_.contract_or_interface_oneof_.i_; |
2848 | 0 | if (GetArenaForAllocation() != nullptr) { |
2849 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
2850 | 0 | } |
2851 | 0 | _impl_.contract_or_interface_oneof_.i_ = nullptr; |
2852 | 0 | return temp; |
2853 | 0 | } else { |
2854 | 0 | return nullptr; |
2855 | 0 | } |
2856 | 0 | } |
2857 | 0 | inline const ::solidity::test::solprotofuzzer::Interface& ContractOrInterface::_internal_i() const { |
2858 | 0 | return _internal_has_i() |
2859 | 0 | ? *_impl_.contract_or_interface_oneof_.i_ |
2860 | 0 | : reinterpret_cast< ::solidity::test::solprotofuzzer::Interface&>(::solidity::test::solprotofuzzer::_Interface_default_instance_); |
2861 | 0 | } |
2862 | 0 | inline const ::solidity::test::solprotofuzzer::Interface& ContractOrInterface::i() const { |
2863 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractOrInterface.i) |
2864 | 0 | return _internal_i(); |
2865 | 0 | } |
2866 | 0 | inline ::solidity::test::solprotofuzzer::Interface* ContractOrInterface::unsafe_arena_release_i() { |
2867 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.solprotofuzzer.ContractOrInterface.i) |
2868 | 0 | if (_internal_has_i()) { |
2869 | 0 | clear_has_contract_or_interface_oneof(); |
2870 | 0 | ::solidity::test::solprotofuzzer::Interface* temp = _impl_.contract_or_interface_oneof_.i_; |
2871 | 0 | _impl_.contract_or_interface_oneof_.i_ = nullptr; |
2872 | 0 | return temp; |
2873 | 0 | } else { |
2874 | 0 | return nullptr; |
2875 | 0 | } |
2876 | 0 | } |
2877 | 0 | inline void ContractOrInterface::unsafe_arena_set_allocated_i(::solidity::test::solprotofuzzer::Interface* i) { |
2878 | 0 | clear_contract_or_interface_oneof(); |
2879 | 0 | if (i) { |
2880 | 0 | set_has_i(); |
2881 | 0 | _impl_.contract_or_interface_oneof_.i_ = i; |
2882 | 0 | } |
2883 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.solprotofuzzer.ContractOrInterface.i) |
2884 | 0 | } |
2885 | 0 | inline ::solidity::test::solprotofuzzer::Interface* ContractOrInterface::_internal_mutable_i() { |
2886 | 0 | if (!_internal_has_i()) { |
2887 | 0 | clear_contract_or_interface_oneof(); |
2888 | 0 | set_has_i(); |
2889 | 0 | _impl_.contract_or_interface_oneof_.i_ = CreateMaybeMessage< ::solidity::test::solprotofuzzer::Interface >(GetArenaForAllocation()); |
2890 | 0 | } |
2891 | 0 | return _impl_.contract_or_interface_oneof_.i_; |
2892 | 0 | } |
2893 | 0 | inline ::solidity::test::solprotofuzzer::Interface* ContractOrInterface::mutable_i() { |
2894 | 0 | ::solidity::test::solprotofuzzer::Interface* _msg = _internal_mutable_i(); |
2895 | 0 | // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.ContractOrInterface.i) |
2896 | 0 | return _msg; |
2897 | 0 | } |
2898 | | |
2899 | 1.69k | inline bool ContractOrInterface::has_contract_or_interface_oneof() const { |
2900 | 1.69k | return contract_or_interface_oneof_case() != CONTRACT_OR_INTERFACE_ONEOF_NOT_SET; |
2901 | 1.69k | } |
2902 | 1.69k | inline void ContractOrInterface::clear_has_contract_or_interface_oneof() { |
2903 | 1.69k | _impl_._oneof_case_[0] = CONTRACT_OR_INTERFACE_ONEOF_NOT_SET; |
2904 | 1.69k | } |
2905 | 2.44k | inline ContractOrInterface::ContractOrInterfaceOneofCase ContractOrInterface::contract_or_interface_oneof_case() const { |
2906 | 2.44k | return ContractOrInterface::ContractOrInterfaceOneofCase(_impl_._oneof_case_[0]); |
2907 | 2.44k | } |
2908 | | // ------------------------------------------------------------------- |
2909 | | |
2910 | | // ContractType |
2911 | | |
2912 | | // .solidity.test.solprotofuzzer.Contract c = 1; |
2913 | 1.18k | inline bool ContractType::_internal_has_c() const { |
2914 | 1.18k | return contract_type_oneof_case() == kC; |
2915 | 1.18k | } |
2916 | 0 | inline bool ContractType::has_c() const { |
2917 | 0 | return _internal_has_c(); |
2918 | 0 | } |
2919 | 0 | inline void ContractType::set_has_c() { |
2920 | 0 | _impl_._oneof_case_[0] = kC; |
2921 | 0 | } |
2922 | 0 | inline void ContractType::clear_c() { |
2923 | 0 | if (_internal_has_c()) { |
2924 | 0 | if (GetArenaForAllocation() == nullptr) { |
2925 | 0 | delete _impl_.contract_type_oneof_.c_; |
2926 | 0 | } |
2927 | 0 | clear_has_contract_type_oneof(); |
2928 | 0 | } |
2929 | 0 | } |
2930 | 0 | inline ::solidity::test::solprotofuzzer::Contract* ContractType::release_c() { |
2931 | 0 | // @@protoc_insertion_point(field_release:solidity.test.solprotofuzzer.ContractType.c) |
2932 | 0 | if (_internal_has_c()) { |
2933 | 0 | clear_has_contract_type_oneof(); |
2934 | 0 | ::solidity::test::solprotofuzzer::Contract* temp = _impl_.contract_type_oneof_.c_; |
2935 | 0 | if (GetArenaForAllocation() != nullptr) { |
2936 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
2937 | 0 | } |
2938 | 0 | _impl_.contract_type_oneof_.c_ = nullptr; |
2939 | 0 | return temp; |
2940 | 0 | } else { |
2941 | 0 | return nullptr; |
2942 | 0 | } |
2943 | 0 | } |
2944 | 1.18k | inline const ::solidity::test::solprotofuzzer::Contract& ContractType::_internal_c() const { |
2945 | 1.18k | return _internal_has_c() |
2946 | 1.18k | ? *_impl_.contract_type_oneof_.c_ |
2947 | 1.18k | : reinterpret_cast< ::solidity::test::solprotofuzzer::Contract&>(::solidity::test::solprotofuzzer::_Contract_default_instance_); |
2948 | 1.18k | } |
2949 | 1.18k | inline const ::solidity::test::solprotofuzzer::Contract& ContractType::c() const { |
2950 | | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractType.c) |
2951 | 1.18k | return _internal_c(); |
2952 | 1.18k | } |
2953 | 0 | inline ::solidity::test::solprotofuzzer::Contract* ContractType::unsafe_arena_release_c() { |
2954 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.solprotofuzzer.ContractType.c) |
2955 | 0 | if (_internal_has_c()) { |
2956 | 0 | clear_has_contract_type_oneof(); |
2957 | 0 | ::solidity::test::solprotofuzzer::Contract* temp = _impl_.contract_type_oneof_.c_; |
2958 | 0 | _impl_.contract_type_oneof_.c_ = nullptr; |
2959 | 0 | return temp; |
2960 | 0 | } else { |
2961 | 0 | return nullptr; |
2962 | 0 | } |
2963 | 0 | } |
2964 | 0 | inline void ContractType::unsafe_arena_set_allocated_c(::solidity::test::solprotofuzzer::Contract* c) { |
2965 | 0 | clear_contract_type_oneof(); |
2966 | 0 | if (c) { |
2967 | 0 | set_has_c(); |
2968 | 0 | _impl_.contract_type_oneof_.c_ = c; |
2969 | 0 | } |
2970 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.solprotofuzzer.ContractType.c) |
2971 | 0 | } |
2972 | 0 | inline ::solidity::test::solprotofuzzer::Contract* ContractType::_internal_mutable_c() { |
2973 | 0 | if (!_internal_has_c()) { |
2974 | 0 | clear_contract_type_oneof(); |
2975 | 0 | set_has_c(); |
2976 | 0 | _impl_.contract_type_oneof_.c_ = CreateMaybeMessage< ::solidity::test::solprotofuzzer::Contract >(GetArenaForAllocation()); |
2977 | 0 | } |
2978 | 0 | return _impl_.contract_type_oneof_.c_; |
2979 | 0 | } |
2980 | 0 | inline ::solidity::test::solprotofuzzer::Contract* ContractType::mutable_c() { |
2981 | 0 | ::solidity::test::solprotofuzzer::Contract* _msg = _internal_mutable_c(); |
2982 | 0 | // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.ContractType.c) |
2983 | 0 | return _msg; |
2984 | 0 | } |
2985 | | |
2986 | | // .solidity.test.solprotofuzzer.Library l = 2; |
2987 | 28.1k | inline bool ContractType::_internal_has_l() const { |
2988 | 28.1k | return contract_type_oneof_case() == kL; |
2989 | 28.1k | } |
2990 | 0 | inline bool ContractType::has_l() const { |
2991 | 0 | return _internal_has_l(); |
2992 | 0 | } |
2993 | 0 | inline void ContractType::set_has_l() { |
2994 | 0 | _impl_._oneof_case_[0] = kL; |
2995 | 0 | } |
2996 | 0 | inline void ContractType::clear_l() { |
2997 | 0 | if (_internal_has_l()) { |
2998 | 0 | if (GetArenaForAllocation() == nullptr) { |
2999 | 0 | delete _impl_.contract_type_oneof_.l_; |
3000 | 0 | } |
3001 | 0 | clear_has_contract_type_oneof(); |
3002 | 0 | } |
3003 | 0 | } |
3004 | 0 | inline ::solidity::test::solprotofuzzer::Library* ContractType::release_l() { |
3005 | 0 | // @@protoc_insertion_point(field_release:solidity.test.solprotofuzzer.ContractType.l) |
3006 | 0 | if (_internal_has_l()) { |
3007 | 0 | clear_has_contract_type_oneof(); |
3008 | 0 | ::solidity::test::solprotofuzzer::Library* temp = _impl_.contract_type_oneof_.l_; |
3009 | 0 | if (GetArenaForAllocation() != nullptr) { |
3010 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
3011 | 0 | } |
3012 | 0 | _impl_.contract_type_oneof_.l_ = nullptr; |
3013 | 0 | return temp; |
3014 | 0 | } else { |
3015 | 0 | return nullptr; |
3016 | 0 | } |
3017 | 0 | } |
3018 | 28.1k | inline const ::solidity::test::solprotofuzzer::Library& ContractType::_internal_l() const { |
3019 | 28.1k | return _internal_has_l() |
3020 | 28.1k | ? *_impl_.contract_type_oneof_.l_ |
3021 | 28.1k | : reinterpret_cast< ::solidity::test::solprotofuzzer::Library&>(::solidity::test::solprotofuzzer::_Library_default_instance_); |
3022 | 28.1k | } |
3023 | 28.1k | inline const ::solidity::test::solprotofuzzer::Library& ContractType::l() const { |
3024 | | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractType.l) |
3025 | 28.1k | return _internal_l(); |
3026 | 28.1k | } |
3027 | 0 | inline ::solidity::test::solprotofuzzer::Library* ContractType::unsafe_arena_release_l() { |
3028 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.solprotofuzzer.ContractType.l) |
3029 | 0 | if (_internal_has_l()) { |
3030 | 0 | clear_has_contract_type_oneof(); |
3031 | 0 | ::solidity::test::solprotofuzzer::Library* temp = _impl_.contract_type_oneof_.l_; |
3032 | 0 | _impl_.contract_type_oneof_.l_ = nullptr; |
3033 | 0 | return temp; |
3034 | 0 | } else { |
3035 | 0 | return nullptr; |
3036 | 0 | } |
3037 | 0 | } |
3038 | 0 | inline void ContractType::unsafe_arena_set_allocated_l(::solidity::test::solprotofuzzer::Library* l) { |
3039 | 0 | clear_contract_type_oneof(); |
3040 | 0 | if (l) { |
3041 | 0 | set_has_l(); |
3042 | 0 | _impl_.contract_type_oneof_.l_ = l; |
3043 | 0 | } |
3044 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.solprotofuzzer.ContractType.l) |
3045 | 0 | } |
3046 | 0 | inline ::solidity::test::solprotofuzzer::Library* ContractType::_internal_mutable_l() { |
3047 | 0 | if (!_internal_has_l()) { |
3048 | 0 | clear_contract_type_oneof(); |
3049 | 0 | set_has_l(); |
3050 | 0 | _impl_.contract_type_oneof_.l_ = CreateMaybeMessage< ::solidity::test::solprotofuzzer::Library >(GetArenaForAllocation()); |
3051 | 0 | } |
3052 | 0 | return _impl_.contract_type_oneof_.l_; |
3053 | 0 | } |
3054 | 0 | inline ::solidity::test::solprotofuzzer::Library* ContractType::mutable_l() { |
3055 | 0 | ::solidity::test::solprotofuzzer::Library* _msg = _internal_mutable_l(); |
3056 | 0 | // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.ContractType.l) |
3057 | 0 | return _msg; |
3058 | 0 | } |
3059 | | |
3060 | | // .solidity.test.solprotofuzzer.Interface i = 3; |
3061 | 32.0k | inline bool ContractType::_internal_has_i() const { |
3062 | 32.0k | return contract_type_oneof_case() == kI; |
3063 | 32.0k | } |
3064 | 0 | inline bool ContractType::has_i() const { |
3065 | 0 | return _internal_has_i(); |
3066 | 0 | } |
3067 | 0 | inline void ContractType::set_has_i() { |
3068 | 0 | _impl_._oneof_case_[0] = kI; |
3069 | 0 | } |
3070 | 0 | inline void ContractType::clear_i() { |
3071 | 0 | if (_internal_has_i()) { |
3072 | 0 | if (GetArenaForAllocation() == nullptr) { |
3073 | 0 | delete _impl_.contract_type_oneof_.i_; |
3074 | 0 | } |
3075 | 0 | clear_has_contract_type_oneof(); |
3076 | 0 | } |
3077 | 0 | } |
3078 | 0 | inline ::solidity::test::solprotofuzzer::Interface* ContractType::release_i() { |
3079 | 0 | // @@protoc_insertion_point(field_release:solidity.test.solprotofuzzer.ContractType.i) |
3080 | 0 | if (_internal_has_i()) { |
3081 | 0 | clear_has_contract_type_oneof(); |
3082 | 0 | ::solidity::test::solprotofuzzer::Interface* temp = _impl_.contract_type_oneof_.i_; |
3083 | 0 | if (GetArenaForAllocation() != nullptr) { |
3084 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
3085 | 0 | } |
3086 | 0 | _impl_.contract_type_oneof_.i_ = nullptr; |
3087 | 0 | return temp; |
3088 | 0 | } else { |
3089 | 0 | return nullptr; |
3090 | 0 | } |
3091 | 0 | } |
3092 | 32.0k | inline const ::solidity::test::solprotofuzzer::Interface& ContractType::_internal_i() const { |
3093 | 32.0k | return _internal_has_i() |
3094 | 32.0k | ? *_impl_.contract_type_oneof_.i_ |
3095 | 32.0k | : reinterpret_cast< ::solidity::test::solprotofuzzer::Interface&>(::solidity::test::solprotofuzzer::_Interface_default_instance_); |
3096 | 32.0k | } |
3097 | 32.0k | inline const ::solidity::test::solprotofuzzer::Interface& ContractType::i() const { |
3098 | | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.ContractType.i) |
3099 | 32.0k | return _internal_i(); |
3100 | 32.0k | } |
3101 | 0 | inline ::solidity::test::solprotofuzzer::Interface* ContractType::unsafe_arena_release_i() { |
3102 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:solidity.test.solprotofuzzer.ContractType.i) |
3103 | 0 | if (_internal_has_i()) { |
3104 | 0 | clear_has_contract_type_oneof(); |
3105 | 0 | ::solidity::test::solprotofuzzer::Interface* temp = _impl_.contract_type_oneof_.i_; |
3106 | 0 | _impl_.contract_type_oneof_.i_ = nullptr; |
3107 | 0 | return temp; |
3108 | 0 | } else { |
3109 | 0 | return nullptr; |
3110 | 0 | } |
3111 | 0 | } |
3112 | 0 | inline void ContractType::unsafe_arena_set_allocated_i(::solidity::test::solprotofuzzer::Interface* i) { |
3113 | 0 | clear_contract_type_oneof(); |
3114 | 0 | if (i) { |
3115 | 0 | set_has_i(); |
3116 | 0 | _impl_.contract_type_oneof_.i_ = i; |
3117 | 0 | } |
3118 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.solprotofuzzer.ContractType.i) |
3119 | 0 | } |
3120 | 0 | inline ::solidity::test::solprotofuzzer::Interface* ContractType::_internal_mutable_i() { |
3121 | 0 | if (!_internal_has_i()) { |
3122 | 0 | clear_contract_type_oneof(); |
3123 | 0 | set_has_i(); |
3124 | 0 | _impl_.contract_type_oneof_.i_ = CreateMaybeMessage< ::solidity::test::solprotofuzzer::Interface >(GetArenaForAllocation()); |
3125 | 0 | } |
3126 | 0 | return _impl_.contract_type_oneof_.i_; |
3127 | 0 | } |
3128 | 0 | inline ::solidity::test::solprotofuzzer::Interface* ContractType::mutable_i() { |
3129 | 0 | ::solidity::test::solprotofuzzer::Interface* _msg = _internal_mutable_i(); |
3130 | 0 | // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.ContractType.i) |
3131 | 0 | return _msg; |
3132 | 0 | } |
3133 | | |
3134 | 133k | inline bool ContractType::has_contract_type_oneof() const { |
3135 | 133k | return contract_type_oneof_case() != CONTRACT_TYPE_ONEOF_NOT_SET; |
3136 | 133k | } |
3137 | 133k | inline void ContractType::clear_has_contract_type_oneof() { |
3138 | 133k | _impl_._oneof_case_[0] = CONTRACT_TYPE_ONEOF_NOT_SET; |
3139 | 133k | } |
3140 | 390k | inline ContractType::ContractTypeOneofCase ContractType::contract_type_oneof_case() const { |
3141 | 390k | return ContractType::ContractTypeOneofCase(_impl_._oneof_case_[0]); |
3142 | 390k | } |
3143 | | // ------------------------------------------------------------------- |
3144 | | |
3145 | | // TestContract |
3146 | | |
3147 | | // required .solidity.test.solprotofuzzer.TestContract.Type type = 1; |
3148 | 70 | inline bool TestContract::_internal_has_type() const { |
3149 | 70 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
3150 | 70 | return value; |
3151 | 70 | } |
3152 | 0 | inline bool TestContract::has_type() const { |
3153 | 0 | return _internal_has_type(); |
3154 | 0 | } |
3155 | 0 | inline void TestContract::clear_type() { |
3156 | 0 | _impl_.type_ = 0; |
3157 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3158 | 0 | } |
3159 | 0 | inline ::solidity::test::solprotofuzzer::TestContract_Type TestContract::_internal_type() const { |
3160 | 0 | return static_cast< ::solidity::test::solprotofuzzer::TestContract_Type >(_impl_.type_); |
3161 | 0 | } |
3162 | 0 | inline ::solidity::test::solprotofuzzer::TestContract_Type TestContract::type() const { |
3163 | | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.TestContract.type) |
3164 | 0 | return _internal_type(); |
3165 | 0 | } |
3166 | 0 | inline void TestContract::_internal_set_type(::solidity::test::solprotofuzzer::TestContract_Type value) { |
3167 | 0 | assert(::solidity::test::solprotofuzzer::TestContract_Type_IsValid(value)); |
3168 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3169 | 0 | _impl_.type_ = value; |
3170 | 0 | } |
3171 | 0 | inline void TestContract::set_type(::solidity::test::solprotofuzzer::TestContract_Type value) { |
3172 | 0 | _internal_set_type(value); |
3173 | 0 | // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.TestContract.type) |
3174 | 0 | } |
3175 | | |
3176 | | // ------------------------------------------------------------------- |
3177 | | |
3178 | | // Program |
3179 | | |
3180 | | // repeated .solidity.test.solprotofuzzer.ContractType contracts = 1; |
3181 | 0 | inline int Program::_internal_contracts_size() const { |
3182 | 0 | return _impl_.contracts_.size(); |
3183 | 0 | } |
3184 | 0 | inline int Program::contracts_size() const { |
3185 | 0 | return _internal_contracts_size(); |
3186 | 0 | } |
3187 | 0 | inline void Program::clear_contracts() { |
3188 | 0 | _impl_.contracts_.Clear(); |
3189 | 0 | } |
3190 | 0 | inline ::solidity::test::solprotofuzzer::ContractType* Program::mutable_contracts(int index) { |
3191 | 0 | // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.Program.contracts) |
3192 | 0 | return _impl_.contracts_.Mutable(index); |
3193 | 0 | } |
3194 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractType >* |
3195 | 0 | Program::mutable_contracts() { |
3196 | 0 | // @@protoc_insertion_point(field_mutable_list:solidity.test.solprotofuzzer.Program.contracts) |
3197 | 0 | return &_impl_.contracts_; |
3198 | 0 | } |
3199 | 0 | inline const ::solidity::test::solprotofuzzer::ContractType& Program::_internal_contracts(int index) const { |
3200 | 0 | return _impl_.contracts_.Get(index); |
3201 | 0 | } |
3202 | 0 | inline const ::solidity::test::solprotofuzzer::ContractType& Program::contracts(int index) const { |
3203 | 0 | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Program.contracts) |
3204 | 0 | return _internal_contracts(index); |
3205 | 0 | } |
3206 | 0 | inline ::solidity::test::solprotofuzzer::ContractType* Program::_internal_add_contracts() { |
3207 | 0 | return _impl_.contracts_.Add(); |
3208 | 0 | } |
3209 | 0 | inline ::solidity::test::solprotofuzzer::ContractType* Program::add_contracts() { |
3210 | 0 | ::solidity::test::solprotofuzzer::ContractType* _add = _internal_add_contracts(); |
3211 | 0 | // @@protoc_insertion_point(field_add:solidity.test.solprotofuzzer.Program.contracts) |
3212 | 0 | return _add; |
3213 | 0 | } |
3214 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::solidity::test::solprotofuzzer::ContractType >& |
3215 | 391 | Program::contracts() const { |
3216 | | // @@protoc_insertion_point(field_list:solidity.test.solprotofuzzer.Program.contracts) |
3217 | 391 | return _impl_.contracts_; |
3218 | 391 | } |
3219 | | |
3220 | | // required .solidity.test.solprotofuzzer.TestContract test = 2; |
3221 | 0 | inline bool Program::_internal_has_test() const { |
3222 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
3223 | 0 | PROTOBUF_ASSUME(!value || _impl_.test_ != nullptr); |
3224 | 0 | return value; |
3225 | 0 | } |
3226 | 0 | inline bool Program::has_test() const { |
3227 | 0 | return _internal_has_test(); |
3228 | 0 | } |
3229 | 0 | inline void Program::clear_test() { |
3230 | 0 | if (_impl_.test_ != nullptr) _impl_.test_->Clear(); |
3231 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3232 | 0 | } |
3233 | 391 | inline const ::solidity::test::solprotofuzzer::TestContract& Program::_internal_test() const { |
3234 | 391 | const ::solidity::test::solprotofuzzer::TestContract* p = _impl_.test_; |
3235 | 391 | return p != nullptr ? *p : reinterpret_cast<const ::solidity::test::solprotofuzzer::TestContract&>( |
3236 | 0 | ::solidity::test::solprotofuzzer::_TestContract_default_instance_); |
3237 | 391 | } |
3238 | 391 | inline const ::solidity::test::solprotofuzzer::TestContract& Program::test() const { |
3239 | | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Program.test) |
3240 | 391 | return _internal_test(); |
3241 | 391 | } |
3242 | | inline void Program::unsafe_arena_set_allocated_test( |
3243 | 0 | ::solidity::test::solprotofuzzer::TestContract* test) { |
3244 | 0 | if (GetArenaForAllocation() == nullptr) { |
3245 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.test_); |
3246 | 0 | } |
3247 | 0 | _impl_.test_ = test; |
3248 | 0 | if (test) { |
3249 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3250 | 0 | } else { |
3251 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3252 | 0 | } |
3253 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:solidity.test.solprotofuzzer.Program.test) |
3254 | 0 | } |
3255 | 0 | inline ::solidity::test::solprotofuzzer::TestContract* Program::release_test() { |
3256 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3257 | 0 | ::solidity::test::solprotofuzzer::TestContract* temp = _impl_.test_; |
3258 | 0 | _impl_.test_ = nullptr; |
3259 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
3260 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
3261 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
3262 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
3263 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
3264 | 0 | if (GetArenaForAllocation() != nullptr) { |
3265 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
3266 | 0 | } |
3267 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
3268 | 0 | return temp; |
3269 | 0 | } |
3270 | 0 | inline ::solidity::test::solprotofuzzer::TestContract* Program::unsafe_arena_release_test() { |
3271 | 0 | // @@protoc_insertion_point(field_release:solidity.test.solprotofuzzer.Program.test) |
3272 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3273 | 0 | ::solidity::test::solprotofuzzer::TestContract* temp = _impl_.test_; |
3274 | 0 | _impl_.test_ = nullptr; |
3275 | 0 | return temp; |
3276 | 0 | } |
3277 | 0 | inline ::solidity::test::solprotofuzzer::TestContract* Program::_internal_mutable_test() { |
3278 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3279 | 0 | if (_impl_.test_ == nullptr) { |
3280 | 0 | auto* p = CreateMaybeMessage<::solidity::test::solprotofuzzer::TestContract>(GetArenaForAllocation()); |
3281 | 0 | _impl_.test_ = p; |
3282 | 0 | } |
3283 | 0 | return _impl_.test_; |
3284 | 0 | } |
3285 | 0 | inline ::solidity::test::solprotofuzzer::TestContract* Program::mutable_test() { |
3286 | 0 | ::solidity::test::solprotofuzzer::TestContract* _msg = _internal_mutable_test(); |
3287 | 0 | // @@protoc_insertion_point(field_mutable:solidity.test.solprotofuzzer.Program.test) |
3288 | 0 | return _msg; |
3289 | 0 | } |
3290 | 0 | inline void Program::set_allocated_test(::solidity::test::solprotofuzzer::TestContract* test) { |
3291 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
3292 | 0 | if (message_arena == nullptr) { |
3293 | 0 | delete _impl_.test_; |
3294 | 0 | } |
3295 | 0 | if (test) { |
3296 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
3297 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(test); |
3298 | 0 | if (message_arena != submessage_arena) { |
3299 | 0 | test = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
3300 | 0 | message_arena, test, submessage_arena); |
3301 | 0 | } |
3302 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3303 | 0 | } else { |
3304 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3305 | 0 | } |
3306 | 0 | _impl_.test_ = test; |
3307 | 0 | // @@protoc_insertion_point(field_set_allocated:solidity.test.solprotofuzzer.Program.test) |
3308 | 0 | } |
3309 | | |
3310 | | // required uint64 seed = 3; |
3311 | 0 | inline bool Program::_internal_has_seed() const { |
3312 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
3313 | 0 | return value; |
3314 | 0 | } |
3315 | 0 | inline bool Program::has_seed() const { |
3316 | 0 | return _internal_has_seed(); |
3317 | 0 | } |
3318 | 0 | inline void Program::clear_seed() { |
3319 | 0 | _impl_.seed_ = uint64_t{0u}; |
3320 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
3321 | 0 | } |
3322 | 391 | inline uint64_t Program::_internal_seed() const { |
3323 | 391 | return _impl_.seed_; |
3324 | 391 | } |
3325 | 391 | inline uint64_t Program::seed() const { |
3326 | | // @@protoc_insertion_point(field_get:solidity.test.solprotofuzzer.Program.seed) |
3327 | 391 | return _internal_seed(); |
3328 | 391 | } |
3329 | 0 | inline void Program::_internal_set_seed(uint64_t value) { |
3330 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
3331 | 0 | _impl_.seed_ = value; |
3332 | 0 | } |
3333 | 0 | inline void Program::set_seed(uint64_t value) { |
3334 | 0 | _internal_set_seed(value); |
3335 | 0 | // @@protoc_insertion_point(field_set:solidity.test.solprotofuzzer.Program.seed) |
3336 | 0 | } |
3337 | | |
3338 | | #ifdef __GNUC__ |
3339 | | #pragma GCC diagnostic pop |
3340 | | #endif // __GNUC__ |
3341 | | // ------------------------------------------------------------------- |
3342 | | |
3343 | | // ------------------------------------------------------------------- |
3344 | | |
3345 | | // ------------------------------------------------------------------- |
3346 | | |
3347 | | // ------------------------------------------------------------------- |
3348 | | |
3349 | | // ------------------------------------------------------------------- |
3350 | | |
3351 | | // ------------------------------------------------------------------- |
3352 | | |
3353 | | // ------------------------------------------------------------------- |
3354 | | |
3355 | | // ------------------------------------------------------------------- |
3356 | | |
3357 | | // ------------------------------------------------------------------- |
3358 | | |
3359 | | |
3360 | | // @@protoc_insertion_point(namespace_scope) |
3361 | | |
3362 | | } // namespace solprotofuzzer |
3363 | | } // namespace test |
3364 | | } // namespace solidity |
3365 | | |
3366 | | PROTOBUF_NAMESPACE_OPEN |
3367 | | |
3368 | | template <> struct is_proto_enum< ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability> : ::std::true_type {}; |
3369 | | template <> |
3370 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability>() { |
3371 | 0 | return ::solidity::test::solprotofuzzer::InterfaceFunction_StateMutability_descriptor(); |
3372 | 0 | } |
3373 | | template <> struct is_proto_enum< ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability> : ::std::true_type {}; |
3374 | | template <> |
3375 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability>() { |
3376 | 0 | return ::solidity::test::solprotofuzzer::LibraryFunction_StateMutability_descriptor(); |
3377 | 0 | } |
3378 | | template <> struct is_proto_enum< ::solidity::test::solprotofuzzer::LibraryFunction_Visibility> : ::std::true_type {}; |
3379 | | template <> |
3380 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solprotofuzzer::LibraryFunction_Visibility>() { |
3381 | 0 | return ::solidity::test::solprotofuzzer::LibraryFunction_Visibility_descriptor(); |
3382 | 0 | } |
3383 | | template <> struct is_proto_enum< ::solidity::test::solprotofuzzer::ContractFunction_StateMutability> : ::std::true_type {}; |
3384 | | template <> |
3385 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solprotofuzzer::ContractFunction_StateMutability>() { |
3386 | 0 | return ::solidity::test::solprotofuzzer::ContractFunction_StateMutability_descriptor(); |
3387 | 0 | } |
3388 | | template <> struct is_proto_enum< ::solidity::test::solprotofuzzer::ContractFunction_Visibility> : ::std::true_type {}; |
3389 | | template <> |
3390 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solprotofuzzer::ContractFunction_Visibility>() { |
3391 | 0 | return ::solidity::test::solprotofuzzer::ContractFunction_Visibility_descriptor(); |
3392 | 0 | } |
3393 | | template <> struct is_proto_enum< ::solidity::test::solprotofuzzer::TestContract_Type> : ::std::true_type {}; |
3394 | | template <> |
3395 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::solidity::test::solprotofuzzer::TestContract_Type>() { |
3396 | 0 | return ::solidity::test::solprotofuzzer::TestContract_Type_descriptor(); |
3397 | 0 | } |
3398 | | |
3399 | | PROTOBUF_NAMESPACE_CLOSE |
3400 | | |
3401 | | // @@protoc_insertion_point(global_scope) |
3402 | | |
3403 | | #include <google/protobuf/port_undef.inc> |
3404 | | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_solProto_2eproto |