/src/mosquitto/fuzzing/libcommon/libcommon_fuzz_property.pb.h
Line | Count | Source |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // NO CHECKED-IN PROTOBUF GENCODE |
3 | | // source: libcommon_fuzz_property.proto |
4 | | // Protobuf C++ Version: 5.29.3 |
5 | | |
6 | | #ifndef libcommon_5ffuzz_5fproperty_2eproto_2epb_2eh |
7 | | #define libcommon_5ffuzz_5fproperty_2eproto_2epb_2eh |
8 | | |
9 | | #include <limits> |
10 | | #include <string> |
11 | | #include <type_traits> |
12 | | #include <utility> |
13 | | |
14 | | #include "google/protobuf/runtime_version.h" |
15 | | #if PROTOBUF_VERSION != 5029003 |
16 | | #error "Protobuf C++ gencode is built with an incompatible version of" |
17 | | #error "Protobuf C++ headers/runtime. See" |
18 | | #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" |
19 | | #endif |
20 | | #include "google/protobuf/io/coded_stream.h" |
21 | | #include "google/protobuf/arena.h" |
22 | | #include "google/protobuf/arenastring.h" |
23 | | #include "google/protobuf/generated_message_tctable_decl.h" |
24 | | #include "google/protobuf/generated_message_util.h" |
25 | | #include "google/protobuf/metadata_lite.h" |
26 | | #include "google/protobuf/generated_message_reflection.h" |
27 | | #include "google/protobuf/message.h" |
28 | | #include "google/protobuf/message_lite.h" |
29 | | #include "google/protobuf/repeated_field.h" // IWYU pragma: export |
30 | | #include "google/protobuf/extension_set.h" // IWYU pragma: export |
31 | | #include "google/protobuf/unknown_field_set.h" |
32 | | // @@protoc_insertion_point(includes) |
33 | | |
34 | | // Must be included last. |
35 | | #include "google/protobuf/port_def.inc" |
36 | | |
37 | | #define PROTOBUF_INTERNAL_EXPORT_libcommon_5ffuzz_5fproperty_2eproto |
38 | | |
39 | | namespace google { |
40 | | namespace protobuf { |
41 | | namespace internal { |
42 | | template <typename T> |
43 | | ::absl::string_view GetAnyMessageName(); |
44 | | } // namespace internal |
45 | | } // namespace protobuf |
46 | | } // namespace google |
47 | | |
48 | | // Internal implementation detail -- do not use these members. |
49 | | struct TableStruct_libcommon_5ffuzz_5fproperty_2eproto { |
50 | | static const ::uint32_t offsets[]; |
51 | | }; |
52 | | extern const ::google::protobuf::internal::DescriptorTable |
53 | | descriptor_table_libcommon_5ffuzz_5fproperty_2eproto; |
54 | | namespace fuzz_property { |
55 | | class FuzzerInput; |
56 | | struct FuzzerInputDefaultTypeInternal; |
57 | | extern FuzzerInputDefaultTypeInternal _FuzzerInput_default_instance_; |
58 | | class Property; |
59 | | struct PropertyDefaultTypeInternal; |
60 | | extern PropertyDefaultTypeInternal _Property_default_instance_; |
61 | | class Property_StringPair; |
62 | | struct Property_StringPairDefaultTypeInternal; |
63 | | extern Property_StringPairDefaultTypeInternal _Property_StringPair_default_instance_; |
64 | | } // namespace fuzz_property |
65 | | namespace google { |
66 | | namespace protobuf { |
67 | | } // namespace protobuf |
68 | | } // namespace google |
69 | | |
70 | | namespace fuzz_property { |
71 | | |
72 | | // =================================================================== |
73 | | |
74 | | |
75 | | // ------------------------------------------------------------------- |
76 | | |
77 | | class Property_StringPair final : public ::google::protobuf::Message |
78 | | /* @@protoc_insertion_point(class_definition:fuzz_property.Property.StringPair) */ { |
79 | | public: |
80 | 0 | inline Property_StringPair() : Property_StringPair(nullptr) {} |
81 | | ~Property_StringPair() PROTOBUF_FINAL; |
82 | | |
83 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
84 | | void operator delete(Property_StringPair* msg, std::destroying_delete_t) { |
85 | | SharedDtor(*msg); |
86 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Property_StringPair)); |
87 | | } |
88 | | #endif |
89 | | |
90 | | template <typename = void> |
91 | | explicit PROTOBUF_CONSTEXPR Property_StringPair( |
92 | | ::google::protobuf::internal::ConstantInitialized); |
93 | | |
94 | 0 | inline Property_StringPair(const Property_StringPair& from) : Property_StringPair(nullptr, from) {} |
95 | | inline Property_StringPair(Property_StringPair&& from) noexcept |
96 | 0 | : Property_StringPair(nullptr, std::move(from)) {} |
97 | 0 | inline Property_StringPair& operator=(const Property_StringPair& from) { |
98 | 0 | CopyFrom(from); |
99 | 0 | return *this; |
100 | 0 | } |
101 | 0 | inline Property_StringPair& operator=(Property_StringPair&& from) noexcept { |
102 | 0 | if (this == &from) return *this; |
103 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
104 | 0 | InternalSwap(&from); |
105 | 0 | } else { |
106 | 0 | CopyFrom(from); |
107 | 0 | } |
108 | 0 | return *this; |
109 | 0 | } |
110 | | |
111 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
112 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
113 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
114 | 0 | } |
115 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
116 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
117 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
118 | 0 | } |
119 | | |
120 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
121 | 0 | return GetDescriptor(); |
122 | 0 | } |
123 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
124 | 0 | return default_instance().GetMetadata().descriptor; |
125 | 0 | } |
126 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
127 | 0 | return default_instance().GetMetadata().reflection; |
128 | 0 | } |
129 | 0 | static const Property_StringPair& default_instance() { |
130 | 0 | return *internal_default_instance(); |
131 | 0 | } |
132 | 0 | static inline const Property_StringPair* internal_default_instance() { |
133 | 0 | return reinterpret_cast<const Property_StringPair*>( |
134 | 0 | &_Property_StringPair_default_instance_); |
135 | 0 | } |
136 | | static constexpr int kIndexInFileMessages = 0; |
137 | 0 | friend void swap(Property_StringPair& a, Property_StringPair& b) { a.Swap(&b); } |
138 | 0 | inline void Swap(Property_StringPair* other) { |
139 | 0 | if (other == this) return; |
140 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
141 | 0 | InternalSwap(other); |
142 | 0 | } else { |
143 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
144 | 0 | } |
145 | 0 | } |
146 | 0 | void UnsafeArenaSwap(Property_StringPair* other) { |
147 | 0 | if (other == this) return; |
148 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
149 | 0 | InternalSwap(other); |
150 | 0 | } |
151 | | |
152 | | // implements Message ---------------------------------------------- |
153 | | |
154 | 0 | Property_StringPair* New(::google::protobuf::Arena* arena = nullptr) const { |
155 | 0 | return ::google::protobuf::Message::DefaultConstruct<Property_StringPair>(arena); |
156 | 0 | } |
157 | | using ::google::protobuf::Message::CopyFrom; |
158 | | void CopyFrom(const Property_StringPair& from); |
159 | | using ::google::protobuf::Message::MergeFrom; |
160 | 0 | void MergeFrom(const Property_StringPair& from) { Property_StringPair::MergeImpl(*this, from); } |
161 | | |
162 | | private: |
163 | | static void MergeImpl( |
164 | | ::google::protobuf::MessageLite& to_msg, |
165 | | const ::google::protobuf::MessageLite& from_msg); |
166 | | |
167 | | public: |
168 | 0 | bool IsInitialized() const { |
169 | 0 | return IsInitializedImpl(*this); |
170 | 0 | } |
171 | | |
172 | | private: |
173 | | static bool IsInitializedImpl(const MessageLite& msg); |
174 | | |
175 | | public: |
176 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
177 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
178 | | private: |
179 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
180 | | static ::uint8_t* _InternalSerialize( |
181 | | const MessageLite& msg, ::uint8_t* target, |
182 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
183 | | |
184 | | public: |
185 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
186 | | ::uint8_t* _InternalSerialize( |
187 | | ::uint8_t* target, |
188 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
189 | | return _InternalSerialize(*this, target, stream); |
190 | | } |
191 | | #else // PROTOBUF_CUSTOM_VTABLE |
192 | | ::size_t ByteSizeLong() const final; |
193 | | ::uint8_t* _InternalSerialize( |
194 | | ::uint8_t* target, |
195 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
196 | | #endif // PROTOBUF_CUSTOM_VTABLE |
197 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
198 | | |
199 | | private: |
200 | | void SharedCtor(::google::protobuf::Arena* arena); |
201 | | static void SharedDtor(MessageLite& self); |
202 | | void InternalSwap(Property_StringPair* other); |
203 | | private: |
204 | | template <typename T> |
205 | | friend ::absl::string_view( |
206 | | ::google::protobuf::internal::GetAnyMessageName)(); |
207 | 0 | static ::absl::string_view FullMessageName() { return "fuzz_property.Property.StringPair"; } |
208 | | |
209 | | protected: |
210 | | explicit Property_StringPair(::google::protobuf::Arena* arena); |
211 | | Property_StringPair(::google::protobuf::Arena* arena, const Property_StringPair& from); |
212 | | Property_StringPair(::google::protobuf::Arena* arena, Property_StringPair&& from) noexcept |
213 | 0 | : Property_StringPair(arena) { |
214 | 0 | *this = ::std::move(from); |
215 | 0 | } |
216 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
217 | | static void* PlacementNew_(const void*, void* mem, |
218 | | ::google::protobuf::Arena* arena); |
219 | | static constexpr auto InternalNewImpl_(); |
220 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
221 | | |
222 | | public: |
223 | | ::google::protobuf::Metadata GetMetadata() const; |
224 | | // nested types ---------------------------------------------------- |
225 | | |
226 | | // accessors ------------------------------------------------------- |
227 | | enum : int { |
228 | | kNameFieldNumber = 1, |
229 | | kValueFieldNumber = 2, |
230 | | }; |
231 | | // required string name = 1; |
232 | | bool has_name() const; |
233 | | void clear_name() ; |
234 | | const std::string& name() const; |
235 | | template <typename Arg_ = const std::string&, typename... Args_> |
236 | | void set_name(Arg_&& arg, Args_... args); |
237 | | std::string* mutable_name(); |
238 | | PROTOBUF_NODISCARD std::string* release_name(); |
239 | | void set_allocated_name(std::string* value); |
240 | | |
241 | | private: |
242 | | const std::string& _internal_name() const; |
243 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
244 | | const std::string& value); |
245 | | std::string* _internal_mutable_name(); |
246 | | |
247 | | public: |
248 | | // required string value = 2; |
249 | | bool has_value() const; |
250 | | void clear_value() ; |
251 | | const std::string& value() const; |
252 | | template <typename Arg_ = const std::string&, typename... Args_> |
253 | | void set_value(Arg_&& arg, Args_... args); |
254 | | std::string* mutable_value(); |
255 | | PROTOBUF_NODISCARD std::string* release_value(); |
256 | | void set_allocated_value(std::string* value); |
257 | | |
258 | | private: |
259 | | const std::string& _internal_value() const; |
260 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_value( |
261 | | const std::string& value); |
262 | | std::string* _internal_mutable_value(); |
263 | | |
264 | | public: |
265 | | // @@protoc_insertion_point(class_scope:fuzz_property.Property.StringPair) |
266 | | private: |
267 | | class _Internal; |
268 | | friend class ::google::protobuf::internal::TcParser; |
269 | | static const ::google::protobuf::internal::TcParseTable< |
270 | | 1, 2, 0, |
271 | | 51, 2> |
272 | | _table_; |
273 | | |
274 | | friend class ::google::protobuf::MessageLite; |
275 | | friend class ::google::protobuf::Arena; |
276 | | template <typename T> |
277 | | friend class ::google::protobuf::Arena::InternalHelper; |
278 | | using InternalArenaConstructable_ = void; |
279 | | using DestructorSkippable_ = void; |
280 | | struct Impl_ { |
281 | | inline explicit constexpr Impl_( |
282 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
283 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
284 | | ::google::protobuf::Arena* arena); |
285 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
286 | | ::google::protobuf::Arena* arena, const Impl_& from, |
287 | | const Property_StringPair& from_msg); |
288 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
289 | | ::google::protobuf::internal::CachedSize _cached_size_; |
290 | | ::google::protobuf::internal::ArenaStringPtr name_; |
291 | | ::google::protobuf::internal::ArenaStringPtr value_; |
292 | | PROTOBUF_TSAN_DECLARE_MEMBER |
293 | | }; |
294 | | union { Impl_ _impl_; }; |
295 | | friend struct ::TableStruct_libcommon_5ffuzz_5fproperty_2eproto; |
296 | | }; |
297 | | // ------------------------------------------------------------------- |
298 | | |
299 | | class Property final : public ::google::protobuf::Message |
300 | | /* @@protoc_insertion_point(class_definition:fuzz_property.Property) */ { |
301 | | public: |
302 | 0 | inline Property() : Property(nullptr) {} |
303 | | ~Property() PROTOBUF_FINAL; |
304 | | |
305 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
306 | | void operator delete(Property* msg, std::destroying_delete_t) { |
307 | | SharedDtor(*msg); |
308 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Property)); |
309 | | } |
310 | | #endif |
311 | | |
312 | | template <typename = void> |
313 | | explicit PROTOBUF_CONSTEXPR Property( |
314 | | ::google::protobuf::internal::ConstantInitialized); |
315 | | |
316 | 0 | inline Property(const Property& from) : Property(nullptr, from) {} |
317 | | inline Property(Property&& from) noexcept |
318 | 0 | : Property(nullptr, std::move(from)) {} |
319 | 0 | inline Property& operator=(const Property& from) { |
320 | 0 | CopyFrom(from); |
321 | 0 | return *this; |
322 | 0 | } |
323 | 0 | inline Property& operator=(Property&& from) noexcept { |
324 | 0 | if (this == &from) return *this; |
325 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
326 | 0 | InternalSwap(&from); |
327 | 0 | } else { |
328 | 0 | CopyFrom(from); |
329 | 0 | } |
330 | 0 | return *this; |
331 | 0 | } |
332 | | |
333 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
334 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
335 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
336 | 0 | } |
337 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
338 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
339 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
340 | 0 | } |
341 | | |
342 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
343 | 0 | return GetDescriptor(); |
344 | 0 | } |
345 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
346 | 0 | return default_instance().GetMetadata().descriptor; |
347 | 0 | } |
348 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
349 | 0 | return default_instance().GetMetadata().reflection; |
350 | 0 | } |
351 | 0 | static const Property& default_instance() { |
352 | 0 | return *internal_default_instance(); |
353 | 0 | } |
354 | | enum DataCase { |
355 | | kUint8Value = 2, |
356 | | kUint16Value = 3, |
357 | | kUint32Value = 4, |
358 | | kVarintValue = 5, |
359 | | kBinaryValue = 6, |
360 | | kStringValue = 7, |
361 | | kStringpairValue = 8, |
362 | | DATA_NOT_SET = 0, |
363 | | }; |
364 | 0 | static inline const Property* internal_default_instance() { |
365 | 0 | return reinterpret_cast<const Property*>( |
366 | 0 | &_Property_default_instance_); |
367 | 0 | } |
368 | | static constexpr int kIndexInFileMessages = 1; |
369 | 0 | friend void swap(Property& a, Property& b) { a.Swap(&b); } |
370 | 0 | inline void Swap(Property* other) { |
371 | 0 | if (other == this) return; |
372 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
373 | 0 | InternalSwap(other); |
374 | 0 | } else { |
375 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
376 | 0 | } |
377 | 0 | } |
378 | 0 | void UnsafeArenaSwap(Property* other) { |
379 | 0 | if (other == this) return; |
380 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
381 | 0 | InternalSwap(other); |
382 | 0 | } |
383 | | |
384 | | // implements Message ---------------------------------------------- |
385 | | |
386 | 0 | Property* New(::google::protobuf::Arena* arena = nullptr) const { |
387 | 0 | return ::google::protobuf::Message::DefaultConstruct<Property>(arena); |
388 | 0 | } |
389 | | using ::google::protobuf::Message::CopyFrom; |
390 | | void CopyFrom(const Property& from); |
391 | | using ::google::protobuf::Message::MergeFrom; |
392 | 0 | void MergeFrom(const Property& from) { Property::MergeImpl(*this, from); } |
393 | | |
394 | | private: |
395 | | static void MergeImpl( |
396 | | ::google::protobuf::MessageLite& to_msg, |
397 | | const ::google::protobuf::MessageLite& from_msg); |
398 | | |
399 | | public: |
400 | 0 | bool IsInitialized() const { |
401 | 0 | return IsInitializedImpl(*this); |
402 | 0 | } |
403 | | |
404 | | private: |
405 | | static bool IsInitializedImpl(const MessageLite& msg); |
406 | | |
407 | | public: |
408 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
409 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
410 | | private: |
411 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
412 | | static ::uint8_t* _InternalSerialize( |
413 | | const MessageLite& msg, ::uint8_t* target, |
414 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
415 | | |
416 | | public: |
417 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
418 | | ::uint8_t* _InternalSerialize( |
419 | | ::uint8_t* target, |
420 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
421 | | return _InternalSerialize(*this, target, stream); |
422 | | } |
423 | | #else // PROTOBUF_CUSTOM_VTABLE |
424 | | ::size_t ByteSizeLong() const final; |
425 | | ::uint8_t* _InternalSerialize( |
426 | | ::uint8_t* target, |
427 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
428 | | #endif // PROTOBUF_CUSTOM_VTABLE |
429 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
430 | | |
431 | | private: |
432 | | void SharedCtor(::google::protobuf::Arena* arena); |
433 | | static void SharedDtor(MessageLite& self); |
434 | | void InternalSwap(Property* other); |
435 | | private: |
436 | | template <typename T> |
437 | | friend ::absl::string_view( |
438 | | ::google::protobuf::internal::GetAnyMessageName)(); |
439 | 0 | static ::absl::string_view FullMessageName() { return "fuzz_property.Property"; } |
440 | | |
441 | | protected: |
442 | | explicit Property(::google::protobuf::Arena* arena); |
443 | | Property(::google::protobuf::Arena* arena, const Property& from); |
444 | | Property(::google::protobuf::Arena* arena, Property&& from) noexcept |
445 | 0 | : Property(arena) { |
446 | 0 | *this = ::std::move(from); |
447 | 0 | } |
448 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
449 | | static void* PlacementNew_(const void*, void* mem, |
450 | | ::google::protobuf::Arena* arena); |
451 | | static constexpr auto InternalNewImpl_(); |
452 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
453 | | |
454 | | public: |
455 | | ::google::protobuf::Metadata GetMetadata() const; |
456 | | // nested types ---------------------------------------------------- |
457 | | using StringPair = Property_StringPair; |
458 | | |
459 | | // accessors ------------------------------------------------------- |
460 | | enum : int { |
461 | | kIdentifierFieldNumber = 1, |
462 | | kUint8ValueFieldNumber = 2, |
463 | | kUint16ValueFieldNumber = 3, |
464 | | kUint32ValueFieldNumber = 4, |
465 | | kVarintValueFieldNumber = 5, |
466 | | kBinaryValueFieldNumber = 6, |
467 | | kStringValueFieldNumber = 7, |
468 | | kStringpairValueFieldNumber = 8, |
469 | | }; |
470 | | // required uint32 identifier = 1; |
471 | | bool has_identifier() const; |
472 | | void clear_identifier() ; |
473 | | ::uint32_t identifier() const; |
474 | | void set_identifier(::uint32_t value); |
475 | | |
476 | | private: |
477 | | ::uint32_t _internal_identifier() const; |
478 | | void _internal_set_identifier(::uint32_t value); |
479 | | |
480 | | public: |
481 | | // uint32 uint8_value = 2; |
482 | | bool has_uint8_value() const; |
483 | | void clear_uint8_value() ; |
484 | | ::uint32_t uint8_value() const; |
485 | | void set_uint8_value(::uint32_t value); |
486 | | |
487 | | private: |
488 | | ::uint32_t _internal_uint8_value() const; |
489 | | void _internal_set_uint8_value(::uint32_t value); |
490 | | |
491 | | public: |
492 | | // uint32 uint16_value = 3; |
493 | | bool has_uint16_value() const; |
494 | | void clear_uint16_value() ; |
495 | | ::uint32_t uint16_value() const; |
496 | | void set_uint16_value(::uint32_t value); |
497 | | |
498 | | private: |
499 | | ::uint32_t _internal_uint16_value() const; |
500 | | void _internal_set_uint16_value(::uint32_t value); |
501 | | |
502 | | public: |
503 | | // uint32 uint32_value = 4; |
504 | | bool has_uint32_value() const; |
505 | | void clear_uint32_value() ; |
506 | | ::uint32_t uint32_value() const; |
507 | | void set_uint32_value(::uint32_t value); |
508 | | |
509 | | private: |
510 | | ::uint32_t _internal_uint32_value() const; |
511 | | void _internal_set_uint32_value(::uint32_t value); |
512 | | |
513 | | public: |
514 | | // uint32 varint_value = 5; |
515 | | bool has_varint_value() const; |
516 | | void clear_varint_value() ; |
517 | | ::uint32_t varint_value() const; |
518 | | void set_varint_value(::uint32_t value); |
519 | | |
520 | | private: |
521 | | ::uint32_t _internal_varint_value() const; |
522 | | void _internal_set_varint_value(::uint32_t value); |
523 | | |
524 | | public: |
525 | | // bytes binary_value = 6; |
526 | | bool has_binary_value() const; |
527 | | void clear_binary_value() ; |
528 | | const std::string& binary_value() const; |
529 | | template <typename Arg_ = const std::string&, typename... Args_> |
530 | | void set_binary_value(Arg_&& arg, Args_... args); |
531 | | std::string* mutable_binary_value(); |
532 | | PROTOBUF_NODISCARD std::string* release_binary_value(); |
533 | | void set_allocated_binary_value(std::string* value); |
534 | | |
535 | | private: |
536 | | const std::string& _internal_binary_value() const; |
537 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_binary_value( |
538 | | const std::string& value); |
539 | | std::string* _internal_mutable_binary_value(); |
540 | | |
541 | | public: |
542 | | // string string_value = 7; |
543 | | bool has_string_value() const; |
544 | | void clear_string_value() ; |
545 | | const std::string& string_value() const; |
546 | | template <typename Arg_ = const std::string&, typename... Args_> |
547 | | void set_string_value(Arg_&& arg, Args_... args); |
548 | | std::string* mutable_string_value(); |
549 | | PROTOBUF_NODISCARD std::string* release_string_value(); |
550 | | void set_allocated_string_value(std::string* value); |
551 | | |
552 | | private: |
553 | | const std::string& _internal_string_value() const; |
554 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value( |
555 | | const std::string& value); |
556 | | std::string* _internal_mutable_string_value(); |
557 | | |
558 | | public: |
559 | | // .fuzz_property.Property.StringPair stringpair_value = 8; |
560 | | bool has_stringpair_value() const; |
561 | | private: |
562 | | bool _internal_has_stringpair_value() const; |
563 | | |
564 | | public: |
565 | | void clear_stringpair_value() ; |
566 | | const ::fuzz_property::Property_StringPair& stringpair_value() const; |
567 | | PROTOBUF_NODISCARD ::fuzz_property::Property_StringPair* release_stringpair_value(); |
568 | | ::fuzz_property::Property_StringPair* mutable_stringpair_value(); |
569 | | void set_allocated_stringpair_value(::fuzz_property::Property_StringPair* value); |
570 | | void unsafe_arena_set_allocated_stringpair_value(::fuzz_property::Property_StringPair* value); |
571 | | ::fuzz_property::Property_StringPair* unsafe_arena_release_stringpair_value(); |
572 | | |
573 | | private: |
574 | | const ::fuzz_property::Property_StringPair& _internal_stringpair_value() const; |
575 | | ::fuzz_property::Property_StringPair* _internal_mutable_stringpair_value(); |
576 | | |
577 | | public: |
578 | | void clear_data(); |
579 | | DataCase data_case() const; |
580 | | // @@protoc_insertion_point(class_scope:fuzz_property.Property) |
581 | | private: |
582 | | class _Internal; |
583 | | void set_has_uint8_value(); |
584 | | void set_has_uint16_value(); |
585 | | void set_has_uint32_value(); |
586 | | void set_has_varint_value(); |
587 | | void set_has_binary_value(); |
588 | | void set_has_string_value(); |
589 | | void set_has_stringpair_value(); |
590 | | inline bool has_data() const; |
591 | | inline void clear_has_data(); |
592 | | friend class ::google::protobuf::internal::TcParser; |
593 | | static const ::google::protobuf::internal::TcParseTable< |
594 | | 0, 8, 1, |
595 | | 51, 2> |
596 | | _table_; |
597 | | |
598 | | friend class ::google::protobuf::MessageLite; |
599 | | friend class ::google::protobuf::Arena; |
600 | | template <typename T> |
601 | | friend class ::google::protobuf::Arena::InternalHelper; |
602 | | using InternalArenaConstructable_ = void; |
603 | | using DestructorSkippable_ = void; |
604 | | struct Impl_ { |
605 | | inline explicit constexpr Impl_( |
606 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
607 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
608 | | ::google::protobuf::Arena* arena); |
609 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
610 | | ::google::protobuf::Arena* arena, const Impl_& from, |
611 | | const Property& from_msg); |
612 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
613 | | ::google::protobuf::internal::CachedSize _cached_size_; |
614 | | ::uint32_t identifier_; |
615 | | union DataUnion { |
616 | 0 | constexpr DataUnion() : _constinit_{} {} |
617 | | ::google::protobuf::internal::ConstantInitialized _constinit_; |
618 | | ::uint32_t uint8_value_; |
619 | | ::uint32_t uint16_value_; |
620 | | ::uint32_t uint32_value_; |
621 | | ::uint32_t varint_value_; |
622 | | ::google::protobuf::internal::ArenaStringPtr binary_value_; |
623 | | ::google::protobuf::internal::ArenaStringPtr string_value_; |
624 | | ::fuzz_property::Property_StringPair* stringpair_value_; |
625 | | } data_; |
626 | | ::uint32_t _oneof_case_[1]; |
627 | | PROTOBUF_TSAN_DECLARE_MEMBER |
628 | | }; |
629 | | union { Impl_ _impl_; }; |
630 | | friend struct ::TableStruct_libcommon_5ffuzz_5fproperty_2eproto; |
631 | | }; |
632 | | // ------------------------------------------------------------------- |
633 | | |
634 | | class FuzzerInput final : public ::google::protobuf::Message |
635 | | /* @@protoc_insertion_point(class_definition:fuzz_property.FuzzerInput) */ { |
636 | | public: |
637 | 1.60k | inline FuzzerInput() : FuzzerInput(nullptr) {} |
638 | | ~FuzzerInput() PROTOBUF_FINAL; |
639 | | |
640 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
641 | | void operator delete(FuzzerInput* msg, std::destroying_delete_t) { |
642 | | SharedDtor(*msg); |
643 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(FuzzerInput)); |
644 | | } |
645 | | #endif |
646 | | |
647 | | template <typename = void> |
648 | | explicit PROTOBUF_CONSTEXPR FuzzerInput( |
649 | | ::google::protobuf::internal::ConstantInitialized); |
650 | | |
651 | 0 | inline FuzzerInput(const FuzzerInput& from) : FuzzerInput(nullptr, from) {} |
652 | | inline FuzzerInput(FuzzerInput&& from) noexcept |
653 | 0 | : FuzzerInput(nullptr, std::move(from)) {} |
654 | 0 | inline FuzzerInput& operator=(const FuzzerInput& from) { |
655 | 0 | CopyFrom(from); |
656 | 0 | return *this; |
657 | 0 | } |
658 | 0 | inline FuzzerInput& operator=(FuzzerInput&& from) noexcept { |
659 | 0 | if (this == &from) return *this; |
660 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
661 | 0 | InternalSwap(&from); |
662 | 0 | } else { |
663 | 0 | CopyFrom(from); |
664 | 0 | } |
665 | 0 | return *this; |
666 | 0 | } |
667 | | |
668 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
669 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
670 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
671 | 0 | } |
672 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
673 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
674 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
675 | 0 | } |
676 | | |
677 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
678 | 0 | return GetDescriptor(); |
679 | 0 | } |
680 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
681 | 0 | return default_instance().GetMetadata().descriptor; |
682 | 0 | } |
683 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
684 | 0 | return default_instance().GetMetadata().reflection; |
685 | 0 | } |
686 | 0 | static const FuzzerInput& default_instance() { |
687 | 0 | return *internal_default_instance(); |
688 | 0 | } |
689 | 0 | static inline const FuzzerInput* internal_default_instance() { |
690 | 0 | return reinterpret_cast<const FuzzerInput*>( |
691 | 0 | &_FuzzerInput_default_instance_); |
692 | 0 | } |
693 | | static constexpr int kIndexInFileMessages = 2; |
694 | 0 | friend void swap(FuzzerInput& a, FuzzerInput& b) { a.Swap(&b); } |
695 | 0 | inline void Swap(FuzzerInput* other) { |
696 | 0 | if (other == this) return; |
697 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
698 | 0 | InternalSwap(other); |
699 | 0 | } else { |
700 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
701 | 0 | } |
702 | 0 | } |
703 | 0 | void UnsafeArenaSwap(FuzzerInput* other) { |
704 | 0 | if (other == this) return; |
705 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
706 | 0 | InternalSwap(other); |
707 | 0 | } |
708 | | |
709 | | // implements Message ---------------------------------------------- |
710 | | |
711 | 0 | FuzzerInput* New(::google::protobuf::Arena* arena = nullptr) const { |
712 | 0 | return ::google::protobuf::Message::DefaultConstruct<FuzzerInput>(arena); |
713 | 0 | } |
714 | | using ::google::protobuf::Message::CopyFrom; |
715 | | void CopyFrom(const FuzzerInput& from); |
716 | | using ::google::protobuf::Message::MergeFrom; |
717 | 0 | void MergeFrom(const FuzzerInput& from) { FuzzerInput::MergeImpl(*this, from); } |
718 | | |
719 | | private: |
720 | | static void MergeImpl( |
721 | | ::google::protobuf::MessageLite& to_msg, |
722 | | const ::google::protobuf::MessageLite& from_msg); |
723 | | |
724 | | public: |
725 | 0 | bool IsInitialized() const { |
726 | 0 | return IsInitializedImpl(*this); |
727 | 0 | } |
728 | | |
729 | | private: |
730 | | static bool IsInitializedImpl(const MessageLite& msg); |
731 | | |
732 | | public: |
733 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
734 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
735 | | private: |
736 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
737 | | static ::uint8_t* _InternalSerialize( |
738 | | const MessageLite& msg, ::uint8_t* target, |
739 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
740 | | |
741 | | public: |
742 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
743 | | ::uint8_t* _InternalSerialize( |
744 | | ::uint8_t* target, |
745 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
746 | | return _InternalSerialize(*this, target, stream); |
747 | | } |
748 | | #else // PROTOBUF_CUSTOM_VTABLE |
749 | | ::size_t ByteSizeLong() const final; |
750 | | ::uint8_t* _InternalSerialize( |
751 | | ::uint8_t* target, |
752 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
753 | | #endif // PROTOBUF_CUSTOM_VTABLE |
754 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
755 | | |
756 | | private: |
757 | | void SharedCtor(::google::protobuf::Arena* arena); |
758 | | static void SharedDtor(MessageLite& self); |
759 | | void InternalSwap(FuzzerInput* other); |
760 | | private: |
761 | | template <typename T> |
762 | | friend ::absl::string_view( |
763 | | ::google::protobuf::internal::GetAnyMessageName)(); |
764 | 0 | static ::absl::string_view FullMessageName() { return "fuzz_property.FuzzerInput"; } |
765 | | |
766 | | protected: |
767 | | explicit FuzzerInput(::google::protobuf::Arena* arena); |
768 | | FuzzerInput(::google::protobuf::Arena* arena, const FuzzerInput& from); |
769 | | FuzzerInput(::google::protobuf::Arena* arena, FuzzerInput&& from) noexcept |
770 | 0 | : FuzzerInput(arena) { |
771 | 0 | *this = ::std::move(from); |
772 | 0 | } |
773 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
774 | | static void* PlacementNew_(const void*, void* mem, |
775 | | ::google::protobuf::Arena* arena); |
776 | | static constexpr auto InternalNewImpl_(); |
777 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
778 | | |
779 | | public: |
780 | | ::google::protobuf::Metadata GetMetadata() const; |
781 | | // nested types ---------------------------------------------------- |
782 | | |
783 | | // accessors ------------------------------------------------------- |
784 | | enum : int { |
785 | | kPropertiesFieldNumber = 1, |
786 | | }; |
787 | | // repeated .fuzz_property.Property properties = 1; |
788 | | int properties_size() const; |
789 | | private: |
790 | | int _internal_properties_size() const; |
791 | | |
792 | | public: |
793 | | void clear_properties() ; |
794 | | ::fuzz_property::Property* mutable_properties(int index); |
795 | | ::google::protobuf::RepeatedPtrField<::fuzz_property::Property>* mutable_properties(); |
796 | | |
797 | | private: |
798 | | const ::google::protobuf::RepeatedPtrField<::fuzz_property::Property>& _internal_properties() const; |
799 | | ::google::protobuf::RepeatedPtrField<::fuzz_property::Property>* _internal_mutable_properties(); |
800 | | public: |
801 | | const ::fuzz_property::Property& properties(int index) const; |
802 | | ::fuzz_property::Property* add_properties(); |
803 | | const ::google::protobuf::RepeatedPtrField<::fuzz_property::Property>& properties() const; |
804 | | // @@protoc_insertion_point(class_scope:fuzz_property.FuzzerInput) |
805 | | private: |
806 | | class _Internal; |
807 | | friend class ::google::protobuf::internal::TcParser; |
808 | | static const ::google::protobuf::internal::TcParseTable< |
809 | | 0, 1, 1, |
810 | | 0, 2> |
811 | | _table_; |
812 | | |
813 | | friend class ::google::protobuf::MessageLite; |
814 | | friend class ::google::protobuf::Arena; |
815 | | template <typename T> |
816 | | friend class ::google::protobuf::Arena::InternalHelper; |
817 | | using InternalArenaConstructable_ = void; |
818 | | using DestructorSkippable_ = void; |
819 | | struct Impl_ { |
820 | | inline explicit constexpr Impl_( |
821 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
822 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
823 | | ::google::protobuf::Arena* arena); |
824 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
825 | | ::google::protobuf::Arena* arena, const Impl_& from, |
826 | | const FuzzerInput& from_msg); |
827 | | ::google::protobuf::RepeatedPtrField< ::fuzz_property::Property > properties_; |
828 | | ::google::protobuf::internal::CachedSize _cached_size_; |
829 | | PROTOBUF_TSAN_DECLARE_MEMBER |
830 | | }; |
831 | | union { Impl_ _impl_; }; |
832 | | friend struct ::TableStruct_libcommon_5ffuzz_5fproperty_2eproto; |
833 | | }; |
834 | | |
835 | | // =================================================================== |
836 | | |
837 | | |
838 | | |
839 | | |
840 | | // =================================================================== |
841 | | |
842 | | |
843 | | #ifdef __GNUC__ |
844 | | #pragma GCC diagnostic push |
845 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
846 | | #endif // __GNUC__ |
847 | | // ------------------------------------------------------------------- |
848 | | |
849 | | // Property_StringPair |
850 | | |
851 | | // required string name = 1; |
852 | 0 | inline bool Property_StringPair::has_name() const { |
853 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
854 | 0 | return value; |
855 | 0 | } |
856 | 0 | inline void Property_StringPair::clear_name() { |
857 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
858 | 0 | _impl_.name_.ClearToEmpty(); |
859 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
860 | 0 | } |
861 | | inline const std::string& Property_StringPair::name() const |
862 | 1.74k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
863 | | // @@protoc_insertion_point(field_get:fuzz_property.Property.StringPair.name) |
864 | 1.74k | return _internal_name(); |
865 | 1.74k | } |
866 | | template <typename Arg_, typename... Args_> |
867 | | inline PROTOBUF_ALWAYS_INLINE void Property_StringPair::set_name(Arg_&& arg, |
868 | | Args_... args) { |
869 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
870 | | _impl_._has_bits_[0] |= 0x00000001u; |
871 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
872 | | // @@protoc_insertion_point(field_set:fuzz_property.Property.StringPair.name) |
873 | | } |
874 | 0 | inline std::string* Property_StringPair::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
875 | 0 | std::string* _s = _internal_mutable_name(); |
876 | 0 | // @@protoc_insertion_point(field_mutable:fuzz_property.Property.StringPair.name) |
877 | 0 | return _s; |
878 | 0 | } |
879 | 1.74k | inline const std::string& Property_StringPair::_internal_name() const { |
880 | 1.74k | ::google::protobuf::internal::TSanRead(&_impl_); |
881 | 1.74k | return _impl_.name_.Get(); |
882 | 1.74k | } |
883 | 0 | inline void Property_StringPair::_internal_set_name(const std::string& value) { |
884 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
885 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
886 | 0 | _impl_.name_.Set(value, GetArena()); |
887 | 0 | } |
888 | 0 | inline std::string* Property_StringPair::_internal_mutable_name() { |
889 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
890 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
891 | 0 | return _impl_.name_.Mutable( GetArena()); |
892 | 0 | } |
893 | 0 | inline std::string* Property_StringPair::release_name() { |
894 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
895 | 0 | // @@protoc_insertion_point(field_release:fuzz_property.Property.StringPair.name) |
896 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
897 | 0 | return nullptr; |
898 | 0 | } |
899 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
900 | 0 | auto* released = _impl_.name_.Release(); |
901 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
902 | 0 | _impl_.name_.Set("", GetArena()); |
903 | 0 | } |
904 | 0 | return released; |
905 | 0 | } |
906 | 0 | inline void Property_StringPair::set_allocated_name(std::string* value) { |
907 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
908 | 0 | if (value != nullptr) { |
909 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
910 | 0 | } else { |
911 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
912 | 0 | } |
913 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
914 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
915 | 0 | _impl_.name_.Set("", GetArena()); |
916 | 0 | } |
917 | 0 | // @@protoc_insertion_point(field_set_allocated:fuzz_property.Property.StringPair.name) |
918 | 0 | } |
919 | | |
920 | | // required string value = 2; |
921 | 0 | inline bool Property_StringPair::has_value() const { |
922 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
923 | 0 | return value; |
924 | 0 | } |
925 | 0 | inline void Property_StringPair::clear_value() { |
926 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
927 | 0 | _impl_.value_.ClearToEmpty(); |
928 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
929 | 0 | } |
930 | | inline const std::string& Property_StringPair::value() const |
931 | 1.74k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
932 | | // @@protoc_insertion_point(field_get:fuzz_property.Property.StringPair.value) |
933 | 1.74k | return _internal_value(); |
934 | 1.74k | } |
935 | | template <typename Arg_, typename... Args_> |
936 | | inline PROTOBUF_ALWAYS_INLINE void Property_StringPair::set_value(Arg_&& arg, |
937 | | Args_... args) { |
938 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
939 | | _impl_._has_bits_[0] |= 0x00000002u; |
940 | | _impl_.value_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
941 | | // @@protoc_insertion_point(field_set:fuzz_property.Property.StringPair.value) |
942 | | } |
943 | 0 | inline std::string* Property_StringPair::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
944 | 0 | std::string* _s = _internal_mutable_value(); |
945 | 0 | // @@protoc_insertion_point(field_mutable:fuzz_property.Property.StringPair.value) |
946 | 0 | return _s; |
947 | 0 | } |
948 | 1.74k | inline const std::string& Property_StringPair::_internal_value() const { |
949 | 1.74k | ::google::protobuf::internal::TSanRead(&_impl_); |
950 | 1.74k | return _impl_.value_.Get(); |
951 | 1.74k | } |
952 | 0 | inline void Property_StringPair::_internal_set_value(const std::string& value) { |
953 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
954 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
955 | 0 | _impl_.value_.Set(value, GetArena()); |
956 | 0 | } |
957 | 0 | inline std::string* Property_StringPair::_internal_mutable_value() { |
958 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
959 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
960 | 0 | return _impl_.value_.Mutable( GetArena()); |
961 | 0 | } |
962 | 0 | inline std::string* Property_StringPair::release_value() { |
963 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
964 | 0 | // @@protoc_insertion_point(field_release:fuzz_property.Property.StringPair.value) |
965 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
966 | 0 | return nullptr; |
967 | 0 | } |
968 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
969 | 0 | auto* released = _impl_.value_.Release(); |
970 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
971 | 0 | _impl_.value_.Set("", GetArena()); |
972 | 0 | } |
973 | 0 | return released; |
974 | 0 | } |
975 | 0 | inline void Property_StringPair::set_allocated_value(std::string* value) { |
976 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
977 | 0 | if (value != nullptr) { |
978 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
979 | 0 | } else { |
980 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
981 | 0 | } |
982 | 0 | _impl_.value_.SetAllocated(value, GetArena()); |
983 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.value_.IsDefault()) { |
984 | 0 | _impl_.value_.Set("", GetArena()); |
985 | 0 | } |
986 | 0 | // @@protoc_insertion_point(field_set_allocated:fuzz_property.Property.StringPair.value) |
987 | 0 | } |
988 | | |
989 | | // ------------------------------------------------------------------- |
990 | | |
991 | | // Property |
992 | | |
993 | | // required uint32 identifier = 1; |
994 | 0 | inline bool Property::has_identifier() const { |
995 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
996 | 0 | return value; |
997 | 0 | } |
998 | 0 | inline void Property::clear_identifier() { |
999 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1000 | 0 | _impl_.identifier_ = 0u; |
1001 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
1002 | 0 | } |
1003 | 19.1k | inline ::uint32_t Property::identifier() const { |
1004 | | // @@protoc_insertion_point(field_get:fuzz_property.Property.identifier) |
1005 | 19.1k | return _internal_identifier(); |
1006 | 19.1k | } |
1007 | 0 | inline void Property::set_identifier(::uint32_t value) { |
1008 | 0 | _internal_set_identifier(value); |
1009 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
1010 | 0 | // @@protoc_insertion_point(field_set:fuzz_property.Property.identifier) |
1011 | 0 | } |
1012 | 19.1k | inline ::uint32_t Property::_internal_identifier() const { |
1013 | 19.1k | ::google::protobuf::internal::TSanRead(&_impl_); |
1014 | 19.1k | return _impl_.identifier_; |
1015 | 19.1k | } |
1016 | 0 | inline void Property::_internal_set_identifier(::uint32_t value) { |
1017 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1018 | 0 | _impl_.identifier_ = value; |
1019 | 0 | } |
1020 | | |
1021 | | // uint32 uint8_value = 2; |
1022 | 0 | inline bool Property::has_uint8_value() const { |
1023 | 0 | return data_case() == kUint8Value; |
1024 | 0 | } |
1025 | 0 | inline void Property::set_has_uint8_value() { |
1026 | 0 | _impl_._oneof_case_[0] = kUint8Value; |
1027 | 0 | } |
1028 | 0 | inline void Property::clear_uint8_value() { |
1029 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1030 | 0 | if (data_case() == kUint8Value) { |
1031 | 0 | _impl_.data_.uint8_value_ = 0u; |
1032 | 0 | clear_has_data(); |
1033 | 0 | } |
1034 | 0 | } |
1035 | 2.61k | inline ::uint32_t Property::uint8_value() const { |
1036 | | // @@protoc_insertion_point(field_get:fuzz_property.Property.uint8_value) |
1037 | 2.61k | return _internal_uint8_value(); |
1038 | 2.61k | } |
1039 | 0 | inline void Property::set_uint8_value(::uint32_t value) { |
1040 | 0 | if (data_case() != kUint8Value) { |
1041 | 0 | clear_data(); |
1042 | 0 | set_has_uint8_value(); |
1043 | 0 | } |
1044 | 0 | _impl_.data_.uint8_value_ = value; |
1045 | 0 | // @@protoc_insertion_point(field_set:fuzz_property.Property.uint8_value) |
1046 | 0 | } |
1047 | 2.61k | inline ::uint32_t Property::_internal_uint8_value() const { |
1048 | 2.61k | if (data_case() == kUint8Value) { |
1049 | 2.61k | return _impl_.data_.uint8_value_; |
1050 | 2.61k | } |
1051 | 0 | return 0u; |
1052 | 2.61k | } |
1053 | | |
1054 | | // uint32 uint16_value = 3; |
1055 | 0 | inline bool Property::has_uint16_value() const { |
1056 | 0 | return data_case() == kUint16Value; |
1057 | 0 | } |
1058 | 0 | inline void Property::set_has_uint16_value() { |
1059 | 0 | _impl_._oneof_case_[0] = kUint16Value; |
1060 | 0 | } |
1061 | 0 | inline void Property::clear_uint16_value() { |
1062 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1063 | 0 | if (data_case() == kUint16Value) { |
1064 | 0 | _impl_.data_.uint16_value_ = 0u; |
1065 | 0 | clear_has_data(); |
1066 | 0 | } |
1067 | 0 | } |
1068 | 1.44k | inline ::uint32_t Property::uint16_value() const { |
1069 | | // @@protoc_insertion_point(field_get:fuzz_property.Property.uint16_value) |
1070 | 1.44k | return _internal_uint16_value(); |
1071 | 1.44k | } |
1072 | 0 | inline void Property::set_uint16_value(::uint32_t value) { |
1073 | 0 | if (data_case() != kUint16Value) { |
1074 | 0 | clear_data(); |
1075 | 0 | set_has_uint16_value(); |
1076 | 0 | } |
1077 | 0 | _impl_.data_.uint16_value_ = value; |
1078 | 0 | // @@protoc_insertion_point(field_set:fuzz_property.Property.uint16_value) |
1079 | 0 | } |
1080 | 1.44k | inline ::uint32_t Property::_internal_uint16_value() const { |
1081 | 1.44k | if (data_case() == kUint16Value) { |
1082 | 1.44k | return _impl_.data_.uint16_value_; |
1083 | 1.44k | } |
1084 | 0 | return 0u; |
1085 | 1.44k | } |
1086 | | |
1087 | | // uint32 uint32_value = 4; |
1088 | 0 | inline bool Property::has_uint32_value() const { |
1089 | 0 | return data_case() == kUint32Value; |
1090 | 0 | } |
1091 | 0 | inline void Property::set_has_uint32_value() { |
1092 | 0 | _impl_._oneof_case_[0] = kUint32Value; |
1093 | 0 | } |
1094 | 0 | inline void Property::clear_uint32_value() { |
1095 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1096 | 0 | if (data_case() == kUint32Value) { |
1097 | 0 | _impl_.data_.uint32_value_ = 0u; |
1098 | 0 | clear_has_data(); |
1099 | 0 | } |
1100 | 0 | } |
1101 | 1.47k | inline ::uint32_t Property::uint32_value() const { |
1102 | | // @@protoc_insertion_point(field_get:fuzz_property.Property.uint32_value) |
1103 | 1.47k | return _internal_uint32_value(); |
1104 | 1.47k | } |
1105 | 0 | inline void Property::set_uint32_value(::uint32_t value) { |
1106 | 0 | if (data_case() != kUint32Value) { |
1107 | 0 | clear_data(); |
1108 | 0 | set_has_uint32_value(); |
1109 | 0 | } |
1110 | 0 | _impl_.data_.uint32_value_ = value; |
1111 | 0 | // @@protoc_insertion_point(field_set:fuzz_property.Property.uint32_value) |
1112 | 0 | } |
1113 | 1.47k | inline ::uint32_t Property::_internal_uint32_value() const { |
1114 | 1.47k | if (data_case() == kUint32Value) { |
1115 | 1.47k | return _impl_.data_.uint32_value_; |
1116 | 1.47k | } |
1117 | 0 | return 0u; |
1118 | 1.47k | } |
1119 | | |
1120 | | // uint32 varint_value = 5; |
1121 | 0 | inline bool Property::has_varint_value() const { |
1122 | 0 | return data_case() == kVarintValue; |
1123 | 0 | } |
1124 | 0 | inline void Property::set_has_varint_value() { |
1125 | 0 | _impl_._oneof_case_[0] = kVarintValue; |
1126 | 0 | } |
1127 | 0 | inline void Property::clear_varint_value() { |
1128 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1129 | 0 | if (data_case() == kVarintValue) { |
1130 | 0 | _impl_.data_.varint_value_ = 0u; |
1131 | 0 | clear_has_data(); |
1132 | 0 | } |
1133 | 0 | } |
1134 | 799 | inline ::uint32_t Property::varint_value() const { |
1135 | | // @@protoc_insertion_point(field_get:fuzz_property.Property.varint_value) |
1136 | 799 | return _internal_varint_value(); |
1137 | 799 | } |
1138 | 0 | inline void Property::set_varint_value(::uint32_t value) { |
1139 | 0 | if (data_case() != kVarintValue) { |
1140 | 0 | clear_data(); |
1141 | 0 | set_has_varint_value(); |
1142 | 0 | } |
1143 | 0 | _impl_.data_.varint_value_ = value; |
1144 | 0 | // @@protoc_insertion_point(field_set:fuzz_property.Property.varint_value) |
1145 | 0 | } |
1146 | 799 | inline ::uint32_t Property::_internal_varint_value() const { |
1147 | 799 | if (data_case() == kVarintValue) { |
1148 | 799 | return _impl_.data_.varint_value_; |
1149 | 799 | } |
1150 | 0 | return 0u; |
1151 | 799 | } |
1152 | | |
1153 | | // bytes binary_value = 6; |
1154 | 0 | inline bool Property::has_binary_value() const { |
1155 | 0 | return data_case() == kBinaryValue; |
1156 | 0 | } |
1157 | 0 | inline void Property::set_has_binary_value() { |
1158 | 0 | _impl_._oneof_case_[0] = kBinaryValue; |
1159 | 0 | } |
1160 | 0 | inline void Property::clear_binary_value() { |
1161 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1162 | 0 | if (data_case() == kBinaryValue) { |
1163 | 0 | _impl_.data_.binary_value_.Destroy(); |
1164 | 0 | clear_has_data(); |
1165 | 0 | } |
1166 | 0 | } |
1167 | | inline const std::string& Property::binary_value() const |
1168 | 4.86k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1169 | | // @@protoc_insertion_point(field_get:fuzz_property.Property.binary_value) |
1170 | 4.86k | return _internal_binary_value(); |
1171 | 4.86k | } |
1172 | | template <typename Arg_, typename... Args_> |
1173 | | inline PROTOBUF_ALWAYS_INLINE void Property::set_binary_value(Arg_&& arg, |
1174 | | Args_... args) { |
1175 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
1176 | | if (data_case() != kBinaryValue) { |
1177 | | clear_data(); |
1178 | | |
1179 | | set_has_binary_value(); |
1180 | | _impl_.data_.binary_value_.InitDefault(); |
1181 | | } |
1182 | | _impl_.data_.binary_value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena()); |
1183 | | // @@protoc_insertion_point(field_set:fuzz_property.Property.binary_value) |
1184 | | } |
1185 | 0 | inline std::string* Property::mutable_binary_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1186 | 0 | std::string* _s = _internal_mutable_binary_value(); |
1187 | 0 | // @@protoc_insertion_point(field_mutable:fuzz_property.Property.binary_value) |
1188 | 0 | return _s; |
1189 | 0 | } |
1190 | 4.86k | inline const std::string& Property::_internal_binary_value() const { |
1191 | 4.86k | ::google::protobuf::internal::TSanRead(&_impl_); |
1192 | 4.86k | if (data_case() != kBinaryValue) { |
1193 | 0 | return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
1194 | 0 | } |
1195 | 4.86k | return _impl_.data_.binary_value_.Get(); |
1196 | 4.86k | } |
1197 | 0 | inline void Property::_internal_set_binary_value(const std::string& value) { |
1198 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1199 | 0 | if (data_case() != kBinaryValue) { |
1200 | 0 | clear_data(); |
1201 | 0 |
|
1202 | 0 | set_has_binary_value(); |
1203 | 0 | _impl_.data_.binary_value_.InitDefault(); |
1204 | 0 | } |
1205 | 0 | _impl_.data_.binary_value_.Set(value, GetArena()); |
1206 | 0 | } |
1207 | 0 | inline std::string* Property::_internal_mutable_binary_value() { |
1208 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1209 | 0 | if (data_case() != kBinaryValue) { |
1210 | 0 | clear_data(); |
1211 | 0 |
|
1212 | 0 | set_has_binary_value(); |
1213 | 0 | _impl_.data_.binary_value_.InitDefault(); |
1214 | 0 | } |
1215 | 0 | return _impl_.data_.binary_value_.Mutable( GetArena()); |
1216 | 0 | } |
1217 | 0 | inline std::string* Property::release_binary_value() { |
1218 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1219 | 0 | // @@protoc_insertion_point(field_release:fuzz_property.Property.binary_value) |
1220 | 0 | if (data_case() != kBinaryValue) { |
1221 | 0 | return nullptr; |
1222 | 0 | } |
1223 | 0 | clear_has_data(); |
1224 | 0 | return _impl_.data_.binary_value_.Release(); |
1225 | 0 | } |
1226 | 0 | inline void Property::set_allocated_binary_value(std::string* value) { |
1227 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1228 | 0 | if (has_data()) { |
1229 | 0 | clear_data(); |
1230 | 0 | } |
1231 | 0 | if (value != nullptr) { |
1232 | 0 | set_has_binary_value(); |
1233 | 0 | _impl_.data_.binary_value_.InitAllocated(value, GetArena()); |
1234 | 0 | } |
1235 | 0 | // @@protoc_insertion_point(field_set_allocated:fuzz_property.Property.binary_value) |
1236 | 0 | } |
1237 | | |
1238 | | // string string_value = 7; |
1239 | 0 | inline bool Property::has_string_value() const { |
1240 | 0 | return data_case() == kStringValue; |
1241 | 0 | } |
1242 | 0 | inline void Property::set_has_string_value() { |
1243 | 0 | _impl_._oneof_case_[0] = kStringValue; |
1244 | 0 | } |
1245 | 0 | inline void Property::clear_string_value() { |
1246 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1247 | 0 | if (data_case() == kStringValue) { |
1248 | 0 | _impl_.data_.string_value_.Destroy(); |
1249 | 0 | clear_has_data(); |
1250 | 0 | } |
1251 | 0 | } |
1252 | | inline const std::string& Property::string_value() const |
1253 | 4.88k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1254 | | // @@protoc_insertion_point(field_get:fuzz_property.Property.string_value) |
1255 | 4.88k | return _internal_string_value(); |
1256 | 4.88k | } |
1257 | | template <typename Arg_, typename... Args_> |
1258 | | inline PROTOBUF_ALWAYS_INLINE void Property::set_string_value(Arg_&& arg, |
1259 | | Args_... args) { |
1260 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
1261 | | if (data_case() != kStringValue) { |
1262 | | clear_data(); |
1263 | | |
1264 | | set_has_string_value(); |
1265 | | _impl_.data_.string_value_.InitDefault(); |
1266 | | } |
1267 | | _impl_.data_.string_value_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
1268 | | // @@protoc_insertion_point(field_set:fuzz_property.Property.string_value) |
1269 | | } |
1270 | 0 | inline std::string* Property::mutable_string_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1271 | 0 | std::string* _s = _internal_mutable_string_value(); |
1272 | 0 | // @@protoc_insertion_point(field_mutable:fuzz_property.Property.string_value) |
1273 | 0 | return _s; |
1274 | 0 | } |
1275 | 4.88k | inline const std::string& Property::_internal_string_value() const { |
1276 | 4.88k | ::google::protobuf::internal::TSanRead(&_impl_); |
1277 | 4.88k | if (data_case() != kStringValue) { |
1278 | 0 | return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
1279 | 0 | } |
1280 | 4.88k | return _impl_.data_.string_value_.Get(); |
1281 | 4.88k | } |
1282 | 0 | inline void Property::_internal_set_string_value(const std::string& value) { |
1283 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1284 | 0 | if (data_case() != kStringValue) { |
1285 | 0 | clear_data(); |
1286 | 0 |
|
1287 | 0 | set_has_string_value(); |
1288 | 0 | _impl_.data_.string_value_.InitDefault(); |
1289 | 0 | } |
1290 | 0 | _impl_.data_.string_value_.Set(value, GetArena()); |
1291 | 0 | } |
1292 | 0 | inline std::string* Property::_internal_mutable_string_value() { |
1293 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1294 | 0 | if (data_case() != kStringValue) { |
1295 | 0 | clear_data(); |
1296 | 0 |
|
1297 | 0 | set_has_string_value(); |
1298 | 0 | _impl_.data_.string_value_.InitDefault(); |
1299 | 0 | } |
1300 | 0 | return _impl_.data_.string_value_.Mutable( GetArena()); |
1301 | 0 | } |
1302 | 0 | inline std::string* Property::release_string_value() { |
1303 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1304 | 0 | // @@protoc_insertion_point(field_release:fuzz_property.Property.string_value) |
1305 | 0 | if (data_case() != kStringValue) { |
1306 | 0 | return nullptr; |
1307 | 0 | } |
1308 | 0 | clear_has_data(); |
1309 | 0 | return _impl_.data_.string_value_.Release(); |
1310 | 0 | } |
1311 | 0 | inline void Property::set_allocated_string_value(std::string* value) { |
1312 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1313 | 0 | if (has_data()) { |
1314 | 0 | clear_data(); |
1315 | 0 | } |
1316 | 0 | if (value != nullptr) { |
1317 | 0 | set_has_string_value(); |
1318 | 0 | _impl_.data_.string_value_.InitAllocated(value, GetArena()); |
1319 | 0 | } |
1320 | 0 | // @@protoc_insertion_point(field_set_allocated:fuzz_property.Property.string_value) |
1321 | 0 | } |
1322 | | |
1323 | | // .fuzz_property.Property.StringPair stringpair_value = 8; |
1324 | 0 | inline bool Property::has_stringpair_value() const { |
1325 | 0 | return data_case() == kStringpairValue; |
1326 | 0 | } |
1327 | 0 | inline bool Property::_internal_has_stringpair_value() const { |
1328 | 0 | return data_case() == kStringpairValue; |
1329 | 0 | } |
1330 | 0 | inline void Property::set_has_stringpair_value() { |
1331 | 0 | _impl_._oneof_case_[0] = kStringpairValue; |
1332 | 0 | } |
1333 | 0 | inline void Property::clear_stringpair_value() { |
1334 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1335 | 0 | if (data_case() == kStringpairValue) { |
1336 | 0 | if (GetArena() == nullptr) { |
1337 | 0 | delete _impl_.data_.stringpair_value_; |
1338 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
1339 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.data_.stringpair_value_); |
1340 | 0 | } |
1341 | 0 | clear_has_data(); |
1342 | 0 | } |
1343 | 0 | } |
1344 | 0 | inline ::fuzz_property::Property_StringPair* Property::release_stringpair_value() { |
1345 | 0 | // @@protoc_insertion_point(field_release:fuzz_property.Property.stringpair_value) |
1346 | 0 | if (data_case() == kStringpairValue) { |
1347 | 0 | clear_has_data(); |
1348 | 0 | auto* temp = _impl_.data_.stringpair_value_; |
1349 | 0 | if (GetArena() != nullptr) { |
1350 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
1351 | 0 | } |
1352 | 0 | _impl_.data_.stringpair_value_ = nullptr; |
1353 | 0 | return temp; |
1354 | 0 | } else { |
1355 | 0 | return nullptr; |
1356 | 0 | } |
1357 | 0 | } |
1358 | 3.49k | inline const ::fuzz_property::Property_StringPair& Property::_internal_stringpair_value() const { |
1359 | 3.49k | return data_case() == kStringpairValue ? *_impl_.data_.stringpair_value_ : reinterpret_cast<::fuzz_property::Property_StringPair&>(::fuzz_property::_Property_StringPair_default_instance_); |
1360 | 3.49k | } |
1361 | 3.49k | inline const ::fuzz_property::Property_StringPair& Property::stringpair_value() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1362 | | // @@protoc_insertion_point(field_get:fuzz_property.Property.stringpair_value) |
1363 | 3.49k | return _internal_stringpair_value(); |
1364 | 3.49k | } |
1365 | 0 | inline ::fuzz_property::Property_StringPair* Property::unsafe_arena_release_stringpair_value() { |
1366 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:fuzz_property.Property.stringpair_value) |
1367 | 0 | if (data_case() == kStringpairValue) { |
1368 | 0 | clear_has_data(); |
1369 | 0 | auto* temp = _impl_.data_.stringpair_value_; |
1370 | 0 | _impl_.data_.stringpair_value_ = nullptr; |
1371 | 0 | return temp; |
1372 | 0 | } else { |
1373 | 0 | return nullptr; |
1374 | 0 | } |
1375 | 0 | } |
1376 | 0 | inline void Property::unsafe_arena_set_allocated_stringpair_value(::fuzz_property::Property_StringPair* value) { |
1377 | 0 | // We rely on the oneof clear method to free the earlier contents |
1378 | 0 | // of this oneof. We can directly use the pointer we're given to |
1379 | 0 | // set the new value. |
1380 | 0 | clear_data(); |
1381 | 0 | if (value) { |
1382 | 0 | set_has_stringpair_value(); |
1383 | 0 | _impl_.data_.stringpair_value_ = value; |
1384 | 0 | } |
1385 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:fuzz_property.Property.stringpair_value) |
1386 | 0 | } |
1387 | 0 | inline ::fuzz_property::Property_StringPair* Property::_internal_mutable_stringpair_value() { |
1388 | 0 | if (data_case() != kStringpairValue) { |
1389 | 0 | clear_data(); |
1390 | 0 | set_has_stringpair_value(); |
1391 | 0 | _impl_.data_.stringpair_value_ = |
1392 | 0 | ::google::protobuf::Message::DefaultConstruct<::fuzz_property::Property_StringPair>(GetArena()); |
1393 | 0 | } |
1394 | 0 | return _impl_.data_.stringpair_value_; |
1395 | 0 | } |
1396 | 0 | inline ::fuzz_property::Property_StringPair* Property::mutable_stringpair_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1397 | 0 | ::fuzz_property::Property_StringPair* _msg = _internal_mutable_stringpair_value(); |
1398 | 0 | // @@protoc_insertion_point(field_mutable:fuzz_property.Property.stringpair_value) |
1399 | 0 | return _msg; |
1400 | 0 | } |
1401 | | |
1402 | 21.6k | inline bool Property::has_data() const { |
1403 | 21.6k | return data_case() != DATA_NOT_SET; |
1404 | 21.6k | } |
1405 | 0 | inline void Property::clear_has_data() { |
1406 | 0 | _impl_._oneof_case_[0] = DATA_NOT_SET; |
1407 | 0 | } |
1408 | 78.2k | inline Property::DataCase Property::data_case() const { |
1409 | 78.2k | return Property::DataCase(_impl_._oneof_case_[0]); |
1410 | 78.2k | } |
1411 | | // ------------------------------------------------------------------- |
1412 | | |
1413 | | // FuzzerInput |
1414 | | |
1415 | | // repeated .fuzz_property.Property properties = 1; |
1416 | 0 | inline int FuzzerInput::_internal_properties_size() const { |
1417 | 0 | return _internal_properties().size(); |
1418 | 0 | } |
1419 | 0 | inline int FuzzerInput::properties_size() const { |
1420 | 0 | return _internal_properties_size(); |
1421 | 0 | } |
1422 | 0 | inline void FuzzerInput::clear_properties() { |
1423 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1424 | 0 | _impl_.properties_.Clear(); |
1425 | 0 | } |
1426 | | inline ::fuzz_property::Property* FuzzerInput::mutable_properties(int index) |
1427 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1428 | 0 | // @@protoc_insertion_point(field_mutable:fuzz_property.FuzzerInput.properties) |
1429 | 0 | return _internal_mutable_properties()->Mutable(index); |
1430 | 0 | } |
1431 | | inline ::google::protobuf::RepeatedPtrField<::fuzz_property::Property>* FuzzerInput::mutable_properties() |
1432 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1433 | 0 | // @@protoc_insertion_point(field_mutable_list:fuzz_property.FuzzerInput.properties) |
1434 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1435 | 0 | return _internal_mutable_properties(); |
1436 | 0 | } |
1437 | | inline const ::fuzz_property::Property& FuzzerInput::properties(int index) const |
1438 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1439 | 0 | // @@protoc_insertion_point(field_get:fuzz_property.FuzzerInput.properties) |
1440 | 0 | return _internal_properties().Get(index); |
1441 | 0 | } |
1442 | 0 | inline ::fuzz_property::Property* FuzzerInput::add_properties() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1443 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
1444 | 0 | ::fuzz_property::Property* _add = _internal_mutable_properties()->Add(); |
1445 | 0 | // @@protoc_insertion_point(field_add:fuzz_property.FuzzerInput.properties) |
1446 | 0 | return _add; |
1447 | 0 | } |
1448 | | inline const ::google::protobuf::RepeatedPtrField<::fuzz_property::Property>& FuzzerInput::properties() const |
1449 | 1.58k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1450 | | // @@protoc_insertion_point(field_list:fuzz_property.FuzzerInput.properties) |
1451 | 1.58k | return _internal_properties(); |
1452 | 1.58k | } |
1453 | | inline const ::google::protobuf::RepeatedPtrField<::fuzz_property::Property>& |
1454 | 1.58k | FuzzerInput::_internal_properties() const { |
1455 | 1.58k | ::google::protobuf::internal::TSanRead(&_impl_); |
1456 | 1.58k | return _impl_.properties_; |
1457 | 1.58k | } |
1458 | | inline ::google::protobuf::RepeatedPtrField<::fuzz_property::Property>* |
1459 | 0 | FuzzerInput::_internal_mutable_properties() { |
1460 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
1461 | 0 | return &_impl_.properties_; |
1462 | 0 | } |
1463 | | |
1464 | | #ifdef __GNUC__ |
1465 | | #pragma GCC diagnostic pop |
1466 | | #endif // __GNUC__ |
1467 | | |
1468 | | // @@protoc_insertion_point(namespace_scope) |
1469 | | } // namespace fuzz_property |
1470 | | |
1471 | | |
1472 | | // @@protoc_insertion_point(global_scope) |
1473 | | |
1474 | | #include "google/protobuf/port_undef.inc" |
1475 | | |
1476 | | #endif // libcommon_5ffuzz_5fproperty_2eproto_2epb_2eh |