/src/libprotobuf-mutator/build/examples/xml/xml.pb.h
Line | Count | Source |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // NO CHECKED-IN PROTOBUF GENCODE |
3 | | // source: xml.proto |
4 | | // Protobuf C++ Version: 5.29.3 |
5 | | |
6 | | #ifndef xml_2eproto_2epb_2eh |
7 | | #define xml_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_xml_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_xml_2eproto { |
50 | | static const ::uint32_t offsets[]; |
51 | | }; |
52 | | extern const ::google::protobuf::internal::DescriptorTable |
53 | | descriptor_table_xml_2eproto; |
54 | | namespace protobuf_mutator { |
55 | | namespace xml { |
56 | | class Attribute; |
57 | | struct AttributeDefaultTypeInternal; |
58 | | extern AttributeDefaultTypeInternal _Attribute_default_instance_; |
59 | | class Content; |
60 | | struct ContentDefaultTypeInternal; |
61 | | extern ContentDefaultTypeInternal _Content_default_instance_; |
62 | | class DoctypeDecl; |
63 | | struct DoctypeDeclDefaultTypeInternal; |
64 | | extern DoctypeDeclDefaultTypeInternal _DoctypeDecl_default_instance_; |
65 | | class Document; |
66 | | struct DocumentDefaultTypeInternal; |
67 | | extern DocumentDefaultTypeInternal _Document_default_instance_; |
68 | | class Element; |
69 | | struct ElementDefaultTypeInternal; |
70 | | extern ElementDefaultTypeInternal _Element_default_instance_; |
71 | | class Input; |
72 | | struct InputDefaultTypeInternal; |
73 | | extern InputDefaultTypeInternal _Input_default_instance_; |
74 | | class Misk; |
75 | | struct MiskDefaultTypeInternal; |
76 | | extern MiskDefaultTypeInternal _Misk_default_instance_; |
77 | | class Pi; |
78 | | struct PiDefaultTypeInternal; |
79 | | extern PiDefaultTypeInternal _Pi_default_instance_; |
80 | | class Reference; |
81 | | struct ReferenceDefaultTypeInternal; |
82 | | extern ReferenceDefaultTypeInternal _Reference_default_instance_; |
83 | | class Tag; |
84 | | struct TagDefaultTypeInternal; |
85 | | extern TagDefaultTypeInternal _Tag_default_instance_; |
86 | | } // namespace xml |
87 | | } // namespace protobuf_mutator |
88 | | namespace google { |
89 | | namespace protobuf { |
90 | | } // namespace protobuf |
91 | | } // namespace google |
92 | | |
93 | | namespace protobuf_mutator { |
94 | | namespace xml { |
95 | | |
96 | | // =================================================================== |
97 | | |
98 | | |
99 | | // ------------------------------------------------------------------- |
100 | | |
101 | | class Reference final : public ::google::protobuf::Message |
102 | | /* @@protoc_insertion_point(class_definition:protobuf_mutator.xml.Reference) */ { |
103 | | public: |
104 | 0 | inline Reference() : Reference(nullptr) {} |
105 | | ~Reference() PROTOBUF_FINAL; |
106 | | |
107 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
108 | | void operator delete(Reference* msg, std::destroying_delete_t) { |
109 | | SharedDtor(*msg); |
110 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Reference)); |
111 | | } |
112 | | #endif |
113 | | |
114 | | template <typename = void> |
115 | | explicit PROTOBUF_CONSTEXPR Reference( |
116 | | ::google::protobuf::internal::ConstantInitialized); |
117 | | |
118 | 0 | inline Reference(const Reference& from) : Reference(nullptr, from) {} |
119 | | inline Reference(Reference&& from) noexcept |
120 | 0 | : Reference(nullptr, std::move(from)) {} |
121 | 0 | inline Reference& operator=(const Reference& from) { |
122 | 0 | CopyFrom(from); |
123 | 0 | return *this; |
124 | 0 | } |
125 | 0 | inline Reference& operator=(Reference&& from) noexcept { |
126 | 0 | if (this == &from) return *this; |
127 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
128 | 0 | InternalSwap(&from); |
129 | 0 | } else { |
130 | 0 | CopyFrom(from); |
131 | 0 | } |
132 | 0 | return *this; |
133 | 0 | } |
134 | | |
135 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
136 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
137 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
138 | 0 | } |
139 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
140 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
141 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
142 | 0 | } |
143 | | |
144 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
145 | 0 | return GetDescriptor(); |
146 | 0 | } |
147 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
148 | 0 | return default_instance().GetMetadata().descriptor; |
149 | 0 | } |
150 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
151 | 0 | return default_instance().GetMetadata().reflection; |
152 | 0 | } |
153 | 0 | static const Reference& default_instance() { |
154 | 0 | return *internal_default_instance(); |
155 | 0 | } |
156 | 0 | static inline const Reference* internal_default_instance() { |
157 | 0 | return reinterpret_cast<const Reference*>( |
158 | 0 | &_Reference_default_instance_); |
159 | 0 | } |
160 | | static constexpr int kIndexInFileMessages = 5; |
161 | 0 | friend void swap(Reference& a, Reference& b) { a.Swap(&b); } |
162 | 0 | inline void Swap(Reference* other) { |
163 | 0 | if (other == this) return; |
164 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
165 | 0 | InternalSwap(other); |
166 | 0 | } else { |
167 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
168 | 0 | } |
169 | 0 | } |
170 | 0 | void UnsafeArenaSwap(Reference* other) { |
171 | 0 | if (other == this) return; |
172 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
173 | 0 | InternalSwap(other); |
174 | 0 | } |
175 | | |
176 | | // implements Message ---------------------------------------------- |
177 | | |
178 | 0 | Reference* New(::google::protobuf::Arena* arena = nullptr) const { |
179 | 0 | return ::google::protobuf::Message::DefaultConstruct<Reference>(arena); |
180 | 0 | } |
181 | | using ::google::protobuf::Message::CopyFrom; |
182 | | void CopyFrom(const Reference& from); |
183 | | using ::google::protobuf::Message::MergeFrom; |
184 | 0 | void MergeFrom(const Reference& from) { Reference::MergeImpl(*this, from); } |
185 | | |
186 | | private: |
187 | | static void MergeImpl( |
188 | | ::google::protobuf::MessageLite& to_msg, |
189 | | const ::google::protobuf::MessageLite& from_msg); |
190 | | |
191 | | public: |
192 | 0 | bool IsInitialized() const { |
193 | 0 | return true; |
194 | 0 | } |
195 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
196 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
197 | | private: |
198 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
199 | | static ::uint8_t* _InternalSerialize( |
200 | | const MessageLite& msg, ::uint8_t* target, |
201 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
202 | | |
203 | | public: |
204 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
205 | | ::uint8_t* _InternalSerialize( |
206 | | ::uint8_t* target, |
207 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
208 | | return _InternalSerialize(*this, target, stream); |
209 | | } |
210 | | #else // PROTOBUF_CUSTOM_VTABLE |
211 | | ::size_t ByteSizeLong() const final; |
212 | | ::uint8_t* _InternalSerialize( |
213 | | ::uint8_t* target, |
214 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
215 | | #endif // PROTOBUF_CUSTOM_VTABLE |
216 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
217 | | |
218 | | private: |
219 | | void SharedCtor(::google::protobuf::Arena* arena); |
220 | | static void SharedDtor(MessageLite& self); |
221 | | void InternalSwap(Reference* other); |
222 | | private: |
223 | | template <typename T> |
224 | | friend ::absl::string_view( |
225 | | ::google::protobuf::internal::GetAnyMessageName)(); |
226 | 0 | static ::absl::string_view FullMessageName() { return "protobuf_mutator.xml.Reference"; } |
227 | | |
228 | | protected: |
229 | | explicit Reference(::google::protobuf::Arena* arena); |
230 | | Reference(::google::protobuf::Arena* arena, const Reference& from); |
231 | | Reference(::google::protobuf::Arena* arena, Reference&& from) noexcept |
232 | 0 | : Reference(arena) { |
233 | 0 | *this = ::std::move(from); |
234 | 0 | } |
235 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
236 | | static void* PlacementNew_(const void*, void* mem, |
237 | | ::google::protobuf::Arena* arena); |
238 | | static constexpr auto InternalNewImpl_(); |
239 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
240 | | |
241 | | public: |
242 | | ::google::protobuf::Metadata GetMetadata() const; |
243 | | // nested types ---------------------------------------------------- |
244 | | |
245 | | // accessors ------------------------------------------------------- |
246 | | enum : int { |
247 | | kNameFieldNumber = 1, |
248 | | kEntryFieldNumber = 2, |
249 | | }; |
250 | | // optional string name = 1; |
251 | | bool has_name() const; |
252 | | void clear_name() ; |
253 | | const std::string& name() const; |
254 | | template <typename Arg_ = const std::string&, typename... Args_> |
255 | | void set_name(Arg_&& arg, Args_... args); |
256 | | std::string* mutable_name(); |
257 | | PROTOBUF_NODISCARD std::string* release_name(); |
258 | | void set_allocated_name(std::string* value); |
259 | | |
260 | | private: |
261 | | const std::string& _internal_name() const; |
262 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
263 | | const std::string& value); |
264 | | std::string* _internal_mutable_name(); |
265 | | |
266 | | public: |
267 | | // optional bool entry = 2; |
268 | | bool has_entry() const; |
269 | | void clear_entry() ; |
270 | | bool entry() const; |
271 | | void set_entry(bool value); |
272 | | |
273 | | private: |
274 | | bool _internal_entry() const; |
275 | | void _internal_set_entry(bool value); |
276 | | |
277 | | public: |
278 | | // @@protoc_insertion_point(class_scope:protobuf_mutator.xml.Reference) |
279 | | private: |
280 | | class _Internal; |
281 | | friend class ::google::protobuf::internal::TcParser; |
282 | | static const ::google::protobuf::internal::TcParseTable< |
283 | | 1, 2, 0, |
284 | | 43, 2> |
285 | | _table_; |
286 | | |
287 | | friend class ::google::protobuf::MessageLite; |
288 | | friend class ::google::protobuf::Arena; |
289 | | template <typename T> |
290 | | friend class ::google::protobuf::Arena::InternalHelper; |
291 | | using InternalArenaConstructable_ = void; |
292 | | using DestructorSkippable_ = void; |
293 | | struct Impl_ { |
294 | | inline explicit constexpr Impl_( |
295 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
296 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
297 | | ::google::protobuf::Arena* arena); |
298 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
299 | | ::google::protobuf::Arena* arena, const Impl_& from, |
300 | | const Reference& from_msg); |
301 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
302 | | ::google::protobuf::internal::CachedSize _cached_size_; |
303 | | ::google::protobuf::internal::ArenaStringPtr name_; |
304 | | bool entry_; |
305 | | PROTOBUF_TSAN_DECLARE_MEMBER |
306 | | }; |
307 | | union { Impl_ _impl_; }; |
308 | | friend struct ::TableStruct_xml_2eproto; |
309 | | }; |
310 | | // ------------------------------------------------------------------- |
311 | | |
312 | | class Pi final : public ::google::protobuf::Message |
313 | | /* @@protoc_insertion_point(class_definition:protobuf_mutator.xml.Pi) */ { |
314 | | public: |
315 | 0 | inline Pi() : Pi(nullptr) {} |
316 | | ~Pi() PROTOBUF_FINAL; |
317 | | |
318 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
319 | | void operator delete(Pi* msg, std::destroying_delete_t) { |
320 | | SharedDtor(*msg); |
321 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Pi)); |
322 | | } |
323 | | #endif |
324 | | |
325 | | template <typename = void> |
326 | | explicit PROTOBUF_CONSTEXPR Pi( |
327 | | ::google::protobuf::internal::ConstantInitialized); |
328 | | |
329 | 0 | inline Pi(const Pi& from) : Pi(nullptr, from) {} |
330 | | inline Pi(Pi&& from) noexcept |
331 | 0 | : Pi(nullptr, std::move(from)) {} |
332 | 0 | inline Pi& operator=(const Pi& from) { |
333 | 0 | CopyFrom(from); |
334 | 0 | return *this; |
335 | 0 | } |
336 | 0 | inline Pi& operator=(Pi&& from) noexcept { |
337 | 0 | if (this == &from) return *this; |
338 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
339 | 0 | InternalSwap(&from); |
340 | 0 | } else { |
341 | 0 | CopyFrom(from); |
342 | 0 | } |
343 | 0 | return *this; |
344 | 0 | } |
345 | | |
346 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
347 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
348 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
349 | 0 | } |
350 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
351 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
352 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
353 | 0 | } |
354 | | |
355 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
356 | 0 | return GetDescriptor(); |
357 | 0 | } |
358 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
359 | 0 | return default_instance().GetMetadata().descriptor; |
360 | 0 | } |
361 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
362 | 0 | return default_instance().GetMetadata().reflection; |
363 | 0 | } |
364 | 0 | static const Pi& default_instance() { |
365 | 0 | return *internal_default_instance(); |
366 | 0 | } |
367 | 0 | static inline const Pi* internal_default_instance() { |
368 | 0 | return reinterpret_cast<const Pi*>( |
369 | 0 | &_Pi_default_instance_); |
370 | 0 | } |
371 | | static constexpr int kIndexInFileMessages = 6; |
372 | 0 | friend void swap(Pi& a, Pi& b) { a.Swap(&b); } |
373 | 0 | inline void Swap(Pi* other) { |
374 | 0 | if (other == this) return; |
375 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
376 | 0 | InternalSwap(other); |
377 | 0 | } else { |
378 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
379 | 0 | } |
380 | 0 | } |
381 | 0 | void UnsafeArenaSwap(Pi* other) { |
382 | 0 | if (other == this) return; |
383 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
384 | 0 | InternalSwap(other); |
385 | 0 | } |
386 | | |
387 | | // implements Message ---------------------------------------------- |
388 | | |
389 | 0 | Pi* New(::google::protobuf::Arena* arena = nullptr) const { |
390 | 0 | return ::google::protobuf::Message::DefaultConstruct<Pi>(arena); |
391 | 0 | } |
392 | | using ::google::protobuf::Message::CopyFrom; |
393 | | void CopyFrom(const Pi& from); |
394 | | using ::google::protobuf::Message::MergeFrom; |
395 | 0 | void MergeFrom(const Pi& from) { Pi::MergeImpl(*this, from); } |
396 | | |
397 | | private: |
398 | | static void MergeImpl( |
399 | | ::google::protobuf::MessageLite& to_msg, |
400 | | const ::google::protobuf::MessageLite& from_msg); |
401 | | |
402 | | public: |
403 | 0 | bool IsInitialized() const { |
404 | 0 | return true; |
405 | 0 | } |
406 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
407 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
408 | | private: |
409 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
410 | | static ::uint8_t* _InternalSerialize( |
411 | | const MessageLite& msg, ::uint8_t* target, |
412 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
413 | | |
414 | | public: |
415 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
416 | | ::uint8_t* _InternalSerialize( |
417 | | ::uint8_t* target, |
418 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
419 | | return _InternalSerialize(*this, target, stream); |
420 | | } |
421 | | #else // PROTOBUF_CUSTOM_VTABLE |
422 | | ::size_t ByteSizeLong() const final; |
423 | | ::uint8_t* _InternalSerialize( |
424 | | ::uint8_t* target, |
425 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
426 | | #endif // PROTOBUF_CUSTOM_VTABLE |
427 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
428 | | |
429 | | private: |
430 | | void SharedCtor(::google::protobuf::Arena* arena); |
431 | | static void SharedDtor(MessageLite& self); |
432 | | void InternalSwap(Pi* other); |
433 | | private: |
434 | | template <typename T> |
435 | | friend ::absl::string_view( |
436 | | ::google::protobuf::internal::GetAnyMessageName)(); |
437 | 0 | static ::absl::string_view FullMessageName() { return "protobuf_mutator.xml.Pi"; } |
438 | | |
439 | | protected: |
440 | | explicit Pi(::google::protobuf::Arena* arena); |
441 | | Pi(::google::protobuf::Arena* arena, const Pi& from); |
442 | | Pi(::google::protobuf::Arena* arena, Pi&& from) noexcept |
443 | 0 | : Pi(arena) { |
444 | 0 | *this = ::std::move(from); |
445 | 0 | } |
446 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
447 | | static void* PlacementNew_(const void*, void* mem, |
448 | | ::google::protobuf::Arena* arena); |
449 | | static constexpr auto InternalNewImpl_(); |
450 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
451 | | |
452 | | public: |
453 | | ::google::protobuf::Metadata GetMetadata() const; |
454 | | // nested types ---------------------------------------------------- |
455 | | |
456 | | // accessors ------------------------------------------------------- |
457 | | enum : int { |
458 | | kTargetFieldNumber = 1, |
459 | | kDataFieldNumber = 2, |
460 | | }; |
461 | | // optional string target = 1; |
462 | | bool has_target() const; |
463 | | void clear_target() ; |
464 | | const std::string& target() const; |
465 | | template <typename Arg_ = const std::string&, typename... Args_> |
466 | | void set_target(Arg_&& arg, Args_... args); |
467 | | std::string* mutable_target(); |
468 | | PROTOBUF_NODISCARD std::string* release_target(); |
469 | | void set_allocated_target(std::string* value); |
470 | | |
471 | | private: |
472 | | const std::string& _internal_target() const; |
473 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_target( |
474 | | const std::string& value); |
475 | | std::string* _internal_mutable_target(); |
476 | | |
477 | | public: |
478 | | // optional string data = 2; |
479 | | bool has_data() const; |
480 | | void clear_data() ; |
481 | | const std::string& data() const; |
482 | | template <typename Arg_ = const std::string&, typename... Args_> |
483 | | void set_data(Arg_&& arg, Args_... args); |
484 | | std::string* mutable_data(); |
485 | | PROTOBUF_NODISCARD std::string* release_data(); |
486 | | void set_allocated_data(std::string* value); |
487 | | |
488 | | private: |
489 | | const std::string& _internal_data() const; |
490 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_data( |
491 | | const std::string& value); |
492 | | std::string* _internal_mutable_data(); |
493 | | |
494 | | public: |
495 | | // @@protoc_insertion_point(class_scope:protobuf_mutator.xml.Pi) |
496 | | private: |
497 | | class _Internal; |
498 | | friend class ::google::protobuf::internal::TcParser; |
499 | | static const ::google::protobuf::internal::TcParseTable< |
500 | | 1, 2, 0, |
501 | | 42, 2> |
502 | | _table_; |
503 | | |
504 | | friend class ::google::protobuf::MessageLite; |
505 | | friend class ::google::protobuf::Arena; |
506 | | template <typename T> |
507 | | friend class ::google::protobuf::Arena::InternalHelper; |
508 | | using InternalArenaConstructable_ = void; |
509 | | using DestructorSkippable_ = void; |
510 | | struct Impl_ { |
511 | | inline explicit constexpr Impl_( |
512 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
513 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
514 | | ::google::protobuf::Arena* arena); |
515 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
516 | | ::google::protobuf::Arena* arena, const Impl_& from, |
517 | | const Pi& from_msg); |
518 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
519 | | ::google::protobuf::internal::CachedSize _cached_size_; |
520 | | ::google::protobuf::internal::ArenaStringPtr target_; |
521 | | ::google::protobuf::internal::ArenaStringPtr data_; |
522 | | PROTOBUF_TSAN_DECLARE_MEMBER |
523 | | }; |
524 | | union { Impl_ _impl_; }; |
525 | | friend struct ::TableStruct_xml_2eproto; |
526 | | }; |
527 | | // ------------------------------------------------------------------- |
528 | | |
529 | | class Attribute final : public ::google::protobuf::Message |
530 | | /* @@protoc_insertion_point(class_definition:protobuf_mutator.xml.Attribute) */ { |
531 | | public: |
532 | 0 | inline Attribute() : Attribute(nullptr) {} |
533 | | ~Attribute() PROTOBUF_FINAL; |
534 | | |
535 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
536 | | void operator delete(Attribute* msg, std::destroying_delete_t) { |
537 | | SharedDtor(*msg); |
538 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Attribute)); |
539 | | } |
540 | | #endif |
541 | | |
542 | | template <typename = void> |
543 | | explicit PROTOBUF_CONSTEXPR Attribute( |
544 | | ::google::protobuf::internal::ConstantInitialized); |
545 | | |
546 | 0 | inline Attribute(const Attribute& from) : Attribute(nullptr, from) {} |
547 | | inline Attribute(Attribute&& from) noexcept |
548 | 0 | : Attribute(nullptr, std::move(from)) {} |
549 | 0 | inline Attribute& operator=(const Attribute& from) { |
550 | 0 | CopyFrom(from); |
551 | 0 | return *this; |
552 | 0 | } |
553 | 0 | inline Attribute& operator=(Attribute&& from) noexcept { |
554 | 0 | if (this == &from) return *this; |
555 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
556 | 0 | InternalSwap(&from); |
557 | 0 | } else { |
558 | 0 | CopyFrom(from); |
559 | 0 | } |
560 | 0 | return *this; |
561 | 0 | } |
562 | | |
563 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
564 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
565 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
566 | 0 | } |
567 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
568 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
569 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
570 | 0 | } |
571 | | |
572 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
573 | 0 | return GetDescriptor(); |
574 | 0 | } |
575 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
576 | 0 | return default_instance().GetMetadata().descriptor; |
577 | 0 | } |
578 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
579 | 0 | return default_instance().GetMetadata().reflection; |
580 | 0 | } |
581 | 0 | static const Attribute& default_instance() { |
582 | 0 | return *internal_default_instance(); |
583 | 0 | } |
584 | 0 | static inline const Attribute* internal_default_instance() { |
585 | 0 | return reinterpret_cast<const Attribute*>( |
586 | 0 | &_Attribute_default_instance_); |
587 | 0 | } |
588 | | static constexpr int kIndexInFileMessages = 8; |
589 | 0 | friend void swap(Attribute& a, Attribute& b) { a.Swap(&b); } |
590 | 0 | inline void Swap(Attribute* other) { |
591 | 0 | if (other == this) return; |
592 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
593 | 0 | InternalSwap(other); |
594 | 0 | } else { |
595 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
596 | 0 | } |
597 | 0 | } |
598 | 0 | void UnsafeArenaSwap(Attribute* other) { |
599 | 0 | if (other == this) return; |
600 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
601 | 0 | InternalSwap(other); |
602 | 0 | } |
603 | | |
604 | | // implements Message ---------------------------------------------- |
605 | | |
606 | 0 | Attribute* New(::google::protobuf::Arena* arena = nullptr) const { |
607 | 0 | return ::google::protobuf::Message::DefaultConstruct<Attribute>(arena); |
608 | 0 | } |
609 | | using ::google::protobuf::Message::CopyFrom; |
610 | | void CopyFrom(const Attribute& from); |
611 | | using ::google::protobuf::Message::MergeFrom; |
612 | 0 | void MergeFrom(const Attribute& from) { Attribute::MergeImpl(*this, from); } |
613 | | |
614 | | private: |
615 | | static void MergeImpl( |
616 | | ::google::protobuf::MessageLite& to_msg, |
617 | | const ::google::protobuf::MessageLite& from_msg); |
618 | | |
619 | | public: |
620 | 0 | bool IsInitialized() const { |
621 | 0 | return true; |
622 | 0 | } |
623 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
624 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
625 | | private: |
626 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
627 | | static ::uint8_t* _InternalSerialize( |
628 | | const MessageLite& msg, ::uint8_t* target, |
629 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
630 | | |
631 | | public: |
632 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
633 | | ::uint8_t* _InternalSerialize( |
634 | | ::uint8_t* target, |
635 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
636 | | return _InternalSerialize(*this, target, stream); |
637 | | } |
638 | | #else // PROTOBUF_CUSTOM_VTABLE |
639 | | ::size_t ByteSizeLong() const final; |
640 | | ::uint8_t* _InternalSerialize( |
641 | | ::uint8_t* target, |
642 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
643 | | #endif // PROTOBUF_CUSTOM_VTABLE |
644 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
645 | | |
646 | | private: |
647 | | void SharedCtor(::google::protobuf::Arena* arena); |
648 | | static void SharedDtor(MessageLite& self); |
649 | | void InternalSwap(Attribute* other); |
650 | | private: |
651 | | template <typename T> |
652 | | friend ::absl::string_view( |
653 | | ::google::protobuf::internal::GetAnyMessageName)(); |
654 | 0 | static ::absl::string_view FullMessageName() { return "protobuf_mutator.xml.Attribute"; } |
655 | | |
656 | | protected: |
657 | | explicit Attribute(::google::protobuf::Arena* arena); |
658 | | Attribute(::google::protobuf::Arena* arena, const Attribute& from); |
659 | | Attribute(::google::protobuf::Arena* arena, Attribute&& from) noexcept |
660 | 0 | : Attribute(arena) { |
661 | 0 | *this = ::std::move(from); |
662 | 0 | } |
663 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
664 | | static void* PlacementNew_(const void*, void* mem, |
665 | | ::google::protobuf::Arena* arena); |
666 | | static constexpr auto InternalNewImpl_(); |
667 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
668 | | |
669 | | public: |
670 | | ::google::protobuf::Metadata GetMetadata() const; |
671 | | // nested types ---------------------------------------------------- |
672 | | |
673 | | // accessors ------------------------------------------------------- |
674 | | enum : int { |
675 | | kNameFieldNumber = 1, |
676 | | kValueFieldNumber = 2, |
677 | | }; |
678 | | // optional string name = 1; |
679 | | bool has_name() const; |
680 | | void clear_name() ; |
681 | | const std::string& name() const; |
682 | | template <typename Arg_ = const std::string&, typename... Args_> |
683 | | void set_name(Arg_&& arg, Args_... args); |
684 | | std::string* mutable_name(); |
685 | | PROTOBUF_NODISCARD std::string* release_name(); |
686 | | void set_allocated_name(std::string* value); |
687 | | |
688 | | private: |
689 | | const std::string& _internal_name() const; |
690 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
691 | | const std::string& value); |
692 | | std::string* _internal_mutable_name(); |
693 | | |
694 | | public: |
695 | | // optional string value = 2; |
696 | | bool has_value() const; |
697 | | void clear_value() ; |
698 | | const std::string& value() const; |
699 | | template <typename Arg_ = const std::string&, typename... Args_> |
700 | | void set_value(Arg_&& arg, Args_... args); |
701 | | std::string* mutable_value(); |
702 | | PROTOBUF_NODISCARD std::string* release_value(); |
703 | | void set_allocated_value(std::string* value); |
704 | | |
705 | | private: |
706 | | const std::string& _internal_value() const; |
707 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_value( |
708 | | const std::string& value); |
709 | | std::string* _internal_mutable_value(); |
710 | | |
711 | | public: |
712 | | // @@protoc_insertion_point(class_scope:protobuf_mutator.xml.Attribute) |
713 | | private: |
714 | | class _Internal; |
715 | | friend class ::google::protobuf::internal::TcParser; |
716 | | static const ::google::protobuf::internal::TcParseTable< |
717 | | 1, 2, 0, |
718 | | 48, 2> |
719 | | _table_; |
720 | | |
721 | | friend class ::google::protobuf::MessageLite; |
722 | | friend class ::google::protobuf::Arena; |
723 | | template <typename T> |
724 | | friend class ::google::protobuf::Arena::InternalHelper; |
725 | | using InternalArenaConstructable_ = void; |
726 | | using DestructorSkippable_ = void; |
727 | | struct Impl_ { |
728 | | inline explicit constexpr Impl_( |
729 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
730 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
731 | | ::google::protobuf::Arena* arena); |
732 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
733 | | ::google::protobuf::Arena* arena, const Impl_& from, |
734 | | const Attribute& from_msg); |
735 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
736 | | ::google::protobuf::internal::CachedSize _cached_size_; |
737 | | ::google::protobuf::internal::ArenaStringPtr name_; |
738 | | ::google::protobuf::internal::ArenaStringPtr value_; |
739 | | PROTOBUF_TSAN_DECLARE_MEMBER |
740 | | }; |
741 | | union { Impl_ _impl_; }; |
742 | | friend struct ::TableStruct_xml_2eproto; |
743 | | }; |
744 | | // ------------------------------------------------------------------- |
745 | | |
746 | | class Tag final : public ::google::protobuf::Message |
747 | | /* @@protoc_insertion_point(class_definition:protobuf_mutator.xml.Tag) */ { |
748 | | public: |
749 | 0 | inline Tag() : Tag(nullptr) {} |
750 | | ~Tag() PROTOBUF_FINAL; |
751 | | |
752 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
753 | | void operator delete(Tag* msg, std::destroying_delete_t) { |
754 | | SharedDtor(*msg); |
755 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Tag)); |
756 | | } |
757 | | #endif |
758 | | |
759 | | template <typename = void> |
760 | | explicit PROTOBUF_CONSTEXPR Tag( |
761 | | ::google::protobuf::internal::ConstantInitialized); |
762 | | |
763 | 0 | inline Tag(const Tag& from) : Tag(nullptr, from) {} |
764 | | inline Tag(Tag&& from) noexcept |
765 | 0 | : Tag(nullptr, std::move(from)) {} |
766 | 0 | inline Tag& operator=(const Tag& from) { |
767 | 0 | CopyFrom(from); |
768 | 0 | return *this; |
769 | 0 | } |
770 | 0 | inline Tag& operator=(Tag&& from) noexcept { |
771 | 0 | if (this == &from) return *this; |
772 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
773 | 0 | InternalSwap(&from); |
774 | 0 | } else { |
775 | 0 | CopyFrom(from); |
776 | 0 | } |
777 | 0 | return *this; |
778 | 0 | } |
779 | | |
780 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
781 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
782 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
783 | 0 | } |
784 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
785 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
786 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
787 | 0 | } |
788 | | |
789 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
790 | 0 | return GetDescriptor(); |
791 | 0 | } |
792 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
793 | 0 | return default_instance().GetMetadata().descriptor; |
794 | 0 | } |
795 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
796 | 0 | return default_instance().GetMetadata().reflection; |
797 | 0 | } |
798 | 0 | static const Tag& default_instance() { |
799 | 0 | return *internal_default_instance(); |
800 | 0 | } |
801 | 0 | static inline const Tag* internal_default_instance() { |
802 | 0 | return reinterpret_cast<const Tag*>( |
803 | 0 | &_Tag_default_instance_); |
804 | 0 | } |
805 | | static constexpr int kIndexInFileMessages = 4; |
806 | 0 | friend void swap(Tag& a, Tag& b) { a.Swap(&b); } |
807 | 0 | inline void Swap(Tag* other) { |
808 | 0 | if (other == this) return; |
809 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
810 | 0 | InternalSwap(other); |
811 | 0 | } else { |
812 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
813 | 0 | } |
814 | 0 | } |
815 | 0 | void UnsafeArenaSwap(Tag* other) { |
816 | 0 | if (other == this) return; |
817 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
818 | 0 | InternalSwap(other); |
819 | 0 | } |
820 | | |
821 | | // implements Message ---------------------------------------------- |
822 | | |
823 | 0 | Tag* New(::google::protobuf::Arena* arena = nullptr) const { |
824 | 0 | return ::google::protobuf::Message::DefaultConstruct<Tag>(arena); |
825 | 0 | } |
826 | | using ::google::protobuf::Message::CopyFrom; |
827 | | void CopyFrom(const Tag& from); |
828 | | using ::google::protobuf::Message::MergeFrom; |
829 | 0 | void MergeFrom(const Tag& from) { Tag::MergeImpl(*this, from); } |
830 | | |
831 | | private: |
832 | | static void MergeImpl( |
833 | | ::google::protobuf::MessageLite& to_msg, |
834 | | const ::google::protobuf::MessageLite& from_msg); |
835 | | |
836 | | public: |
837 | 0 | bool IsInitialized() const { |
838 | 0 | return true; |
839 | 0 | } |
840 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
841 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
842 | | private: |
843 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
844 | | static ::uint8_t* _InternalSerialize( |
845 | | const MessageLite& msg, ::uint8_t* target, |
846 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
847 | | |
848 | | public: |
849 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
850 | | ::uint8_t* _InternalSerialize( |
851 | | ::uint8_t* target, |
852 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
853 | | return _InternalSerialize(*this, target, stream); |
854 | | } |
855 | | #else // PROTOBUF_CUSTOM_VTABLE |
856 | | ::size_t ByteSizeLong() const final; |
857 | | ::uint8_t* _InternalSerialize( |
858 | | ::uint8_t* target, |
859 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
860 | | #endif // PROTOBUF_CUSTOM_VTABLE |
861 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
862 | | |
863 | | private: |
864 | | void SharedCtor(::google::protobuf::Arena* arena); |
865 | | static void SharedDtor(MessageLite& self); |
866 | | void InternalSwap(Tag* other); |
867 | | private: |
868 | | template <typename T> |
869 | | friend ::absl::string_view( |
870 | | ::google::protobuf::internal::GetAnyMessageName)(); |
871 | 0 | static ::absl::string_view FullMessageName() { return "protobuf_mutator.xml.Tag"; } |
872 | | |
873 | | protected: |
874 | | explicit Tag(::google::protobuf::Arena* arena); |
875 | | Tag(::google::protobuf::Arena* arena, const Tag& from); |
876 | | Tag(::google::protobuf::Arena* arena, Tag&& from) noexcept |
877 | 0 | : Tag(arena) { |
878 | 0 | *this = ::std::move(from); |
879 | 0 | } |
880 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
881 | | static void* PlacementNew_(const void*, void* mem, |
882 | | ::google::protobuf::Arena* arena); |
883 | | static constexpr auto InternalNewImpl_(); |
884 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
885 | | |
886 | | public: |
887 | | ::google::protobuf::Metadata GetMetadata() const; |
888 | | // nested types ---------------------------------------------------- |
889 | | |
890 | | // accessors ------------------------------------------------------- |
891 | | enum : int { |
892 | | kAttributeFieldNumber = 2, |
893 | | kNameFieldNumber = 1, |
894 | | }; |
895 | | // repeated .protobuf_mutator.xml.Attribute attribute = 2; |
896 | | int attribute_size() const; |
897 | | private: |
898 | | int _internal_attribute_size() const; |
899 | | |
900 | | public: |
901 | | void clear_attribute() ; |
902 | | ::protobuf_mutator::xml::Attribute* mutable_attribute(int index); |
903 | | ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Attribute>* mutable_attribute(); |
904 | | |
905 | | private: |
906 | | const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Attribute>& _internal_attribute() const; |
907 | | ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Attribute>* _internal_mutable_attribute(); |
908 | | public: |
909 | | const ::protobuf_mutator::xml::Attribute& attribute(int index) const; |
910 | | ::protobuf_mutator::xml::Attribute* add_attribute(); |
911 | | const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Attribute>& attribute() const; |
912 | | // optional string name = 1; |
913 | | bool has_name() const; |
914 | | void clear_name() ; |
915 | | const std::string& name() const; |
916 | | template <typename Arg_ = const std::string&, typename... Args_> |
917 | | void set_name(Arg_&& arg, Args_... args); |
918 | | std::string* mutable_name(); |
919 | | PROTOBUF_NODISCARD std::string* release_name(); |
920 | | void set_allocated_name(std::string* value); |
921 | | |
922 | | private: |
923 | | const std::string& _internal_name() const; |
924 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
925 | | const std::string& value); |
926 | | std::string* _internal_mutable_name(); |
927 | | |
928 | | public: |
929 | | // @@protoc_insertion_point(class_scope:protobuf_mutator.xml.Tag) |
930 | | private: |
931 | | class _Internal; |
932 | | friend class ::google::protobuf::internal::TcParser; |
933 | | static const ::google::protobuf::internal::TcParseTable< |
934 | | 1, 2, 1, |
935 | | 37, 2> |
936 | | _table_; |
937 | | |
938 | | friend class ::google::protobuf::MessageLite; |
939 | | friend class ::google::protobuf::Arena; |
940 | | template <typename T> |
941 | | friend class ::google::protobuf::Arena::InternalHelper; |
942 | | using InternalArenaConstructable_ = void; |
943 | | using DestructorSkippable_ = void; |
944 | | struct Impl_ { |
945 | | inline explicit constexpr Impl_( |
946 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
947 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
948 | | ::google::protobuf::Arena* arena); |
949 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
950 | | ::google::protobuf::Arena* arena, const Impl_& from, |
951 | | const Tag& from_msg); |
952 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
953 | | ::google::protobuf::internal::CachedSize _cached_size_; |
954 | | ::google::protobuf::RepeatedPtrField< ::protobuf_mutator::xml::Attribute > attribute_; |
955 | | ::google::protobuf::internal::ArenaStringPtr name_; |
956 | | PROTOBUF_TSAN_DECLARE_MEMBER |
957 | | }; |
958 | | union { Impl_ _impl_; }; |
959 | | friend struct ::TableStruct_xml_2eproto; |
960 | | }; |
961 | | // ------------------------------------------------------------------- |
962 | | |
963 | | class Misk final : public ::google::protobuf::Message |
964 | | /* @@protoc_insertion_point(class_definition:protobuf_mutator.xml.Misk) */ { |
965 | | public: |
966 | 0 | inline Misk() : Misk(nullptr) {} |
967 | | ~Misk() PROTOBUF_FINAL; |
968 | | |
969 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
970 | | void operator delete(Misk* msg, std::destroying_delete_t) { |
971 | | SharedDtor(*msg); |
972 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Misk)); |
973 | | } |
974 | | #endif |
975 | | |
976 | | template <typename = void> |
977 | | explicit PROTOBUF_CONSTEXPR Misk( |
978 | | ::google::protobuf::internal::ConstantInitialized); |
979 | | |
980 | 0 | inline Misk(const Misk& from) : Misk(nullptr, from) {} |
981 | | inline Misk(Misk&& from) noexcept |
982 | 0 | : Misk(nullptr, std::move(from)) {} |
983 | 0 | inline Misk& operator=(const Misk& from) { |
984 | 0 | CopyFrom(from); |
985 | 0 | return *this; |
986 | 0 | } |
987 | 0 | inline Misk& operator=(Misk&& from) noexcept { |
988 | 0 | if (this == &from) return *this; |
989 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
990 | 0 | InternalSwap(&from); |
991 | 0 | } else { |
992 | 0 | CopyFrom(from); |
993 | 0 | } |
994 | 0 | return *this; |
995 | 0 | } |
996 | | |
997 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
998 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
999 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1000 | 0 | } |
1001 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1002 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1003 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1004 | 0 | } |
1005 | | |
1006 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1007 | 0 | return GetDescriptor(); |
1008 | 0 | } |
1009 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1010 | 0 | return default_instance().GetMetadata().descriptor; |
1011 | 0 | } |
1012 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1013 | 0 | return default_instance().GetMetadata().reflection; |
1014 | 0 | } |
1015 | 0 | static const Misk& default_instance() { |
1016 | 0 | return *internal_default_instance(); |
1017 | 0 | } |
1018 | | enum Case { |
1019 | | kPi = 1, |
1020 | | kComment = 2, |
1021 | | __NOT_SET = 0, |
1022 | | }; |
1023 | 0 | static inline const Misk* internal_default_instance() { |
1024 | 0 | return reinterpret_cast<const Misk*>( |
1025 | 0 | &_Misk_default_instance_); |
1026 | 0 | } |
1027 | | static constexpr int kIndexInFileMessages = 2; |
1028 | 0 | friend void swap(Misk& a, Misk& b) { a.Swap(&b); } |
1029 | 0 | inline void Swap(Misk* other) { |
1030 | 0 | if (other == this) return; |
1031 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1032 | 0 | InternalSwap(other); |
1033 | 0 | } else { |
1034 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1035 | 0 | } |
1036 | 0 | } |
1037 | 0 | void UnsafeArenaSwap(Misk* other) { |
1038 | 0 | if (other == this) return; |
1039 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1040 | 0 | InternalSwap(other); |
1041 | 0 | } |
1042 | | |
1043 | | // implements Message ---------------------------------------------- |
1044 | | |
1045 | 0 | Misk* New(::google::protobuf::Arena* arena = nullptr) const { |
1046 | 0 | return ::google::protobuf::Message::DefaultConstruct<Misk>(arena); |
1047 | 0 | } |
1048 | | using ::google::protobuf::Message::CopyFrom; |
1049 | | void CopyFrom(const Misk& from); |
1050 | | using ::google::protobuf::Message::MergeFrom; |
1051 | 0 | void MergeFrom(const Misk& from) { Misk::MergeImpl(*this, from); } |
1052 | | |
1053 | | private: |
1054 | | static void MergeImpl( |
1055 | | ::google::protobuf::MessageLite& to_msg, |
1056 | | const ::google::protobuf::MessageLite& from_msg); |
1057 | | |
1058 | | public: |
1059 | 0 | bool IsInitialized() const { |
1060 | 0 | return true; |
1061 | 0 | } |
1062 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1063 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1064 | | private: |
1065 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1066 | | static ::uint8_t* _InternalSerialize( |
1067 | | const MessageLite& msg, ::uint8_t* target, |
1068 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1069 | | |
1070 | | public: |
1071 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1072 | | ::uint8_t* _InternalSerialize( |
1073 | | ::uint8_t* target, |
1074 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1075 | | return _InternalSerialize(*this, target, stream); |
1076 | | } |
1077 | | #else // PROTOBUF_CUSTOM_VTABLE |
1078 | | ::size_t ByteSizeLong() const final; |
1079 | | ::uint8_t* _InternalSerialize( |
1080 | | ::uint8_t* target, |
1081 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1082 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1083 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1084 | | |
1085 | | private: |
1086 | | void SharedCtor(::google::protobuf::Arena* arena); |
1087 | | static void SharedDtor(MessageLite& self); |
1088 | | void InternalSwap(Misk* other); |
1089 | | private: |
1090 | | template <typename T> |
1091 | | friend ::absl::string_view( |
1092 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1093 | 0 | static ::absl::string_view FullMessageName() { return "protobuf_mutator.xml.Misk"; } |
1094 | | |
1095 | | protected: |
1096 | | explicit Misk(::google::protobuf::Arena* arena); |
1097 | | Misk(::google::protobuf::Arena* arena, const Misk& from); |
1098 | | Misk(::google::protobuf::Arena* arena, Misk&& from) noexcept |
1099 | 0 | : Misk(arena) { |
1100 | 0 | *this = ::std::move(from); |
1101 | 0 | } |
1102 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1103 | | static void* PlacementNew_(const void*, void* mem, |
1104 | | ::google::protobuf::Arena* arena); |
1105 | | static constexpr auto InternalNewImpl_(); |
1106 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1107 | | |
1108 | | public: |
1109 | | ::google::protobuf::Metadata GetMetadata() const; |
1110 | | // nested types ---------------------------------------------------- |
1111 | | |
1112 | | // accessors ------------------------------------------------------- |
1113 | | enum : int { |
1114 | | kPiFieldNumber = 1, |
1115 | | kCommentFieldNumber = 2, |
1116 | | }; |
1117 | | // .protobuf_mutator.xml.Pi pi = 1; |
1118 | | bool has_pi() const; |
1119 | | private: |
1120 | | bool _internal_has_pi() const; |
1121 | | |
1122 | | public: |
1123 | | void clear_pi() ; |
1124 | | const ::protobuf_mutator::xml::Pi& pi() const; |
1125 | | PROTOBUF_NODISCARD ::protobuf_mutator::xml::Pi* release_pi(); |
1126 | | ::protobuf_mutator::xml::Pi* mutable_pi(); |
1127 | | void set_allocated_pi(::protobuf_mutator::xml::Pi* value); |
1128 | | void unsafe_arena_set_allocated_pi(::protobuf_mutator::xml::Pi* value); |
1129 | | ::protobuf_mutator::xml::Pi* unsafe_arena_release_pi(); |
1130 | | |
1131 | | private: |
1132 | | const ::protobuf_mutator::xml::Pi& _internal_pi() const; |
1133 | | ::protobuf_mutator::xml::Pi* _internal_mutable_pi(); |
1134 | | |
1135 | | public: |
1136 | | // string comment = 2; |
1137 | | bool has_comment() const; |
1138 | | void clear_comment() ; |
1139 | | const std::string& comment() const; |
1140 | | template <typename Arg_ = const std::string&, typename... Args_> |
1141 | | void set_comment(Arg_&& arg, Args_... args); |
1142 | | std::string* mutable_comment(); |
1143 | | PROTOBUF_NODISCARD std::string* release_comment(); |
1144 | | void set_allocated_comment(std::string* value); |
1145 | | |
1146 | | private: |
1147 | | const std::string& _internal_comment() const; |
1148 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment( |
1149 | | const std::string& value); |
1150 | | std::string* _internal_mutable_comment(); |
1151 | | |
1152 | | public: |
1153 | | void clear__(); |
1154 | | Case __case() const; |
1155 | | // @@protoc_insertion_point(class_scope:protobuf_mutator.xml.Misk) |
1156 | | private: |
1157 | | class _Internal; |
1158 | | void set_has_pi(); |
1159 | | void set_has_comment(); |
1160 | | inline bool has__() const; |
1161 | | inline void clear_has__(); |
1162 | | friend class ::google::protobuf::internal::TcParser; |
1163 | | static const ::google::protobuf::internal::TcParseTable< |
1164 | | 0, 2, 1, |
1165 | | 41, 2> |
1166 | | _table_; |
1167 | | |
1168 | | friend class ::google::protobuf::MessageLite; |
1169 | | friend class ::google::protobuf::Arena; |
1170 | | template <typename T> |
1171 | | friend class ::google::protobuf::Arena::InternalHelper; |
1172 | | using InternalArenaConstructable_ = void; |
1173 | | using DestructorSkippable_ = void; |
1174 | | struct Impl_ { |
1175 | | inline explicit constexpr Impl_( |
1176 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1177 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1178 | | ::google::protobuf::Arena* arena); |
1179 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1180 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1181 | | const Misk& from_msg); |
1182 | | union Union { |
1183 | 0 | constexpr Union() : _constinit_{} {} |
1184 | | ::google::protobuf::internal::ConstantInitialized _constinit_; |
1185 | | ::protobuf_mutator::xml::Pi* pi_; |
1186 | | ::google::protobuf::internal::ArenaStringPtr comment_; |
1187 | | } __; |
1188 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1189 | | ::uint32_t _oneof_case_[1]; |
1190 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1191 | | }; |
1192 | | union { Impl_ _impl_; }; |
1193 | | friend struct ::TableStruct_xml_2eproto; |
1194 | | }; |
1195 | | // ------------------------------------------------------------------- |
1196 | | |
1197 | | class DoctypeDecl final : public ::google::protobuf::Message |
1198 | | /* @@protoc_insertion_point(class_definition:protobuf_mutator.xml.DoctypeDecl) */ { |
1199 | | public: |
1200 | 0 | inline DoctypeDecl() : DoctypeDecl(nullptr) {} |
1201 | | ~DoctypeDecl() PROTOBUF_FINAL; |
1202 | | |
1203 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1204 | | void operator delete(DoctypeDecl* msg, std::destroying_delete_t) { |
1205 | | SharedDtor(*msg); |
1206 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(DoctypeDecl)); |
1207 | | } |
1208 | | #endif |
1209 | | |
1210 | | template <typename = void> |
1211 | | explicit PROTOBUF_CONSTEXPR DoctypeDecl( |
1212 | | ::google::protobuf::internal::ConstantInitialized); |
1213 | | |
1214 | 0 | inline DoctypeDecl(const DoctypeDecl& from) : DoctypeDecl(nullptr, from) {} |
1215 | | inline DoctypeDecl(DoctypeDecl&& from) noexcept |
1216 | 0 | : DoctypeDecl(nullptr, std::move(from)) {} |
1217 | 0 | inline DoctypeDecl& operator=(const DoctypeDecl& from) { |
1218 | 0 | CopyFrom(from); |
1219 | 0 | return *this; |
1220 | 0 | } |
1221 | 0 | inline DoctypeDecl& operator=(DoctypeDecl&& from) noexcept { |
1222 | 0 | if (this == &from) return *this; |
1223 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1224 | 0 | InternalSwap(&from); |
1225 | 0 | } else { |
1226 | 0 | CopyFrom(from); |
1227 | 0 | } |
1228 | 0 | return *this; |
1229 | 0 | } |
1230 | | |
1231 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1232 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1233 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1234 | 0 | } |
1235 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1236 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1237 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1238 | 0 | } |
1239 | | |
1240 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1241 | 0 | return GetDescriptor(); |
1242 | 0 | } |
1243 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1244 | 0 | return default_instance().GetMetadata().descriptor; |
1245 | 0 | } |
1246 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1247 | 0 | return default_instance().GetMetadata().reflection; |
1248 | 0 | } |
1249 | 0 | static const DoctypeDecl& default_instance() { |
1250 | 0 | return *internal_default_instance(); |
1251 | 0 | } |
1252 | 0 | static inline const DoctypeDecl* internal_default_instance() { |
1253 | 0 | return reinterpret_cast<const DoctypeDecl*>( |
1254 | 0 | &_DoctypeDecl_default_instance_); |
1255 | 0 | } |
1256 | | static constexpr int kIndexInFileMessages = 1; |
1257 | 0 | friend void swap(DoctypeDecl& a, DoctypeDecl& b) { a.Swap(&b); } |
1258 | 0 | inline void Swap(DoctypeDecl* other) { |
1259 | 0 | if (other == this) return; |
1260 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1261 | 0 | InternalSwap(other); |
1262 | 0 | } else { |
1263 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1264 | 0 | } |
1265 | 0 | } |
1266 | 0 | void UnsafeArenaSwap(DoctypeDecl* other) { |
1267 | 0 | if (other == this) return; |
1268 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1269 | 0 | InternalSwap(other); |
1270 | 0 | } |
1271 | | |
1272 | | // implements Message ---------------------------------------------- |
1273 | | |
1274 | 0 | DoctypeDecl* New(::google::protobuf::Arena* arena = nullptr) const { |
1275 | 0 | return ::google::protobuf::Message::DefaultConstruct<DoctypeDecl>(arena); |
1276 | 0 | } |
1277 | | using ::google::protobuf::Message::CopyFrom; |
1278 | | void CopyFrom(const DoctypeDecl& from); |
1279 | | using ::google::protobuf::Message::MergeFrom; |
1280 | 0 | void MergeFrom(const DoctypeDecl& from) { DoctypeDecl::MergeImpl(*this, from); } |
1281 | | |
1282 | | private: |
1283 | | static void MergeImpl( |
1284 | | ::google::protobuf::MessageLite& to_msg, |
1285 | | const ::google::protobuf::MessageLite& from_msg); |
1286 | | |
1287 | | public: |
1288 | 0 | bool IsInitialized() const { |
1289 | 0 | return true; |
1290 | 0 | } |
1291 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1292 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1293 | | private: |
1294 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1295 | | static ::uint8_t* _InternalSerialize( |
1296 | | const MessageLite& msg, ::uint8_t* target, |
1297 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1298 | | |
1299 | | public: |
1300 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1301 | | ::uint8_t* _InternalSerialize( |
1302 | | ::uint8_t* target, |
1303 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1304 | | return _InternalSerialize(*this, target, stream); |
1305 | | } |
1306 | | #else // PROTOBUF_CUSTOM_VTABLE |
1307 | | ::size_t ByteSizeLong() const final; |
1308 | | ::uint8_t* _InternalSerialize( |
1309 | | ::uint8_t* target, |
1310 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1311 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1312 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1313 | | |
1314 | | private: |
1315 | | void SharedCtor(::google::protobuf::Arena* arena); |
1316 | | static void SharedDtor(MessageLite& self); |
1317 | | void InternalSwap(DoctypeDecl* other); |
1318 | | private: |
1319 | | template <typename T> |
1320 | | friend ::absl::string_view( |
1321 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1322 | 0 | static ::absl::string_view FullMessageName() { return "protobuf_mutator.xml.DoctypeDecl"; } |
1323 | | |
1324 | | protected: |
1325 | | explicit DoctypeDecl(::google::protobuf::Arena* arena); |
1326 | | DoctypeDecl(::google::protobuf::Arena* arena, const DoctypeDecl& from); |
1327 | | DoctypeDecl(::google::protobuf::Arena* arena, DoctypeDecl&& from) noexcept |
1328 | 0 | : DoctypeDecl(arena) { |
1329 | 0 | *this = ::std::move(from); |
1330 | 0 | } |
1331 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1332 | | static void* PlacementNew_(const void*, void* mem, |
1333 | | ::google::protobuf::Arena* arena); |
1334 | | static constexpr auto InternalNewImpl_(); |
1335 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1336 | | |
1337 | | public: |
1338 | | ::google::protobuf::Metadata GetMetadata() const; |
1339 | | // nested types ---------------------------------------------------- |
1340 | | |
1341 | | // accessors ------------------------------------------------------- |
1342 | | enum : int { |
1343 | | kMiskFieldNumber = 4, |
1344 | | kNameFieldNumber = 1, |
1345 | | kExternalIdFieldNumber = 2, |
1346 | | kIntSubsetFieldNumber = 3, |
1347 | | }; |
1348 | | // repeated .protobuf_mutator.xml.Misk misk = 4; |
1349 | | int misk_size() const; |
1350 | | private: |
1351 | | int _internal_misk_size() const; |
1352 | | |
1353 | | public: |
1354 | | void clear_misk() ; |
1355 | | ::protobuf_mutator::xml::Misk* mutable_misk(int index); |
1356 | | ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>* mutable_misk(); |
1357 | | |
1358 | | private: |
1359 | | const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>& _internal_misk() const; |
1360 | | ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>* _internal_mutable_misk(); |
1361 | | public: |
1362 | | const ::protobuf_mutator::xml::Misk& misk(int index) const; |
1363 | | ::protobuf_mutator::xml::Misk* add_misk(); |
1364 | | const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>& misk() const; |
1365 | | // optional string name = 1; |
1366 | | bool has_name() const; |
1367 | | void clear_name() ; |
1368 | | const std::string& name() const; |
1369 | | template <typename Arg_ = const std::string&, typename... Args_> |
1370 | | void set_name(Arg_&& arg, Args_... args); |
1371 | | std::string* mutable_name(); |
1372 | | PROTOBUF_NODISCARD std::string* release_name(); |
1373 | | void set_allocated_name(std::string* value); |
1374 | | |
1375 | | private: |
1376 | | const std::string& _internal_name() const; |
1377 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
1378 | | const std::string& value); |
1379 | | std::string* _internal_mutable_name(); |
1380 | | |
1381 | | public: |
1382 | | // optional string external_id = 2; |
1383 | | bool has_external_id() const; |
1384 | | void clear_external_id() ; |
1385 | | const std::string& external_id() const; |
1386 | | template <typename Arg_ = const std::string&, typename... Args_> |
1387 | | void set_external_id(Arg_&& arg, Args_... args); |
1388 | | std::string* mutable_external_id(); |
1389 | | PROTOBUF_NODISCARD std::string* release_external_id(); |
1390 | | void set_allocated_external_id(std::string* value); |
1391 | | |
1392 | | private: |
1393 | | const std::string& _internal_external_id() const; |
1394 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_external_id( |
1395 | | const std::string& value); |
1396 | | std::string* _internal_mutable_external_id(); |
1397 | | |
1398 | | public: |
1399 | | // optional string int_subset = 3; |
1400 | | bool has_int_subset() const; |
1401 | | void clear_int_subset() ; |
1402 | | const std::string& int_subset() const; |
1403 | | template <typename Arg_ = const std::string&, typename... Args_> |
1404 | | void set_int_subset(Arg_&& arg, Args_... args); |
1405 | | std::string* mutable_int_subset(); |
1406 | | PROTOBUF_NODISCARD std::string* release_int_subset(); |
1407 | | void set_allocated_int_subset(std::string* value); |
1408 | | |
1409 | | private: |
1410 | | const std::string& _internal_int_subset() const; |
1411 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_int_subset( |
1412 | | const std::string& value); |
1413 | | std::string* _internal_mutable_int_subset(); |
1414 | | |
1415 | | public: |
1416 | | // @@protoc_insertion_point(class_scope:protobuf_mutator.xml.DoctypeDecl) |
1417 | | private: |
1418 | | class _Internal; |
1419 | | friend class ::google::protobuf::internal::TcParser; |
1420 | | static const ::google::protobuf::internal::TcParseTable< |
1421 | | 2, 4, 1, |
1422 | | 66, 2> |
1423 | | _table_; |
1424 | | |
1425 | | friend class ::google::protobuf::MessageLite; |
1426 | | friend class ::google::protobuf::Arena; |
1427 | | template <typename T> |
1428 | | friend class ::google::protobuf::Arena::InternalHelper; |
1429 | | using InternalArenaConstructable_ = void; |
1430 | | using DestructorSkippable_ = void; |
1431 | | struct Impl_ { |
1432 | | inline explicit constexpr Impl_( |
1433 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1434 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1435 | | ::google::protobuf::Arena* arena); |
1436 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1437 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1438 | | const DoctypeDecl& from_msg); |
1439 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1440 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1441 | | ::google::protobuf::RepeatedPtrField< ::protobuf_mutator::xml::Misk > misk_; |
1442 | | ::google::protobuf::internal::ArenaStringPtr name_; |
1443 | | ::google::protobuf::internal::ArenaStringPtr external_id_; |
1444 | | ::google::protobuf::internal::ArenaStringPtr int_subset_; |
1445 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1446 | | }; |
1447 | | union { Impl_ _impl_; }; |
1448 | | friend struct ::TableStruct_xml_2eproto; |
1449 | | }; |
1450 | | // ------------------------------------------------------------------- |
1451 | | |
1452 | | class Content final : public ::google::protobuf::Message |
1453 | | /* @@protoc_insertion_point(class_definition:protobuf_mutator.xml.Content) */ { |
1454 | | public: |
1455 | 0 | inline Content() : Content(nullptr) {} |
1456 | | ~Content() PROTOBUF_FINAL; |
1457 | | |
1458 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1459 | | void operator delete(Content* msg, std::destroying_delete_t) { |
1460 | | SharedDtor(*msg); |
1461 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Content)); |
1462 | | } |
1463 | | #endif |
1464 | | |
1465 | | template <typename = void> |
1466 | | explicit PROTOBUF_CONSTEXPR Content( |
1467 | | ::google::protobuf::internal::ConstantInitialized); |
1468 | | |
1469 | 0 | inline Content(const Content& from) : Content(nullptr, from) {} |
1470 | | inline Content(Content&& from) noexcept |
1471 | 0 | : Content(nullptr, std::move(from)) {} |
1472 | 0 | inline Content& operator=(const Content& from) { |
1473 | 0 | CopyFrom(from); |
1474 | 0 | return *this; |
1475 | 0 | } |
1476 | 0 | inline Content& operator=(Content&& from) noexcept { |
1477 | 0 | if (this == &from) return *this; |
1478 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1479 | 0 | InternalSwap(&from); |
1480 | 0 | } else { |
1481 | 0 | CopyFrom(from); |
1482 | 0 | } |
1483 | 0 | return *this; |
1484 | 0 | } |
1485 | | |
1486 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1487 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1488 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1489 | 0 | } |
1490 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1491 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1492 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1493 | 0 | } |
1494 | | |
1495 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1496 | 0 | return GetDescriptor(); |
1497 | 0 | } |
1498 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1499 | 0 | return default_instance().GetMetadata().descriptor; |
1500 | 0 | } |
1501 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1502 | 0 | return default_instance().GetMetadata().reflection; |
1503 | 0 | } |
1504 | 0 | static const Content& default_instance() { |
1505 | 0 | return *internal_default_instance(); |
1506 | 0 | } |
1507 | | enum Case { |
1508 | | kCharData = 1, |
1509 | | kElement = 2, |
1510 | | kReference = 3, |
1511 | | kCdsect = 4, |
1512 | | kMisk = 5, |
1513 | | __NOT_SET = 0, |
1514 | | }; |
1515 | 0 | static inline const Content* internal_default_instance() { |
1516 | 0 | return reinterpret_cast<const Content*>( |
1517 | 0 | &_Content_default_instance_); |
1518 | 0 | } |
1519 | | static constexpr int kIndexInFileMessages = 7; |
1520 | 0 | friend void swap(Content& a, Content& b) { a.Swap(&b); } |
1521 | 0 | inline void Swap(Content* other) { |
1522 | 0 | if (other == this) return; |
1523 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1524 | 0 | InternalSwap(other); |
1525 | 0 | } else { |
1526 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1527 | 0 | } |
1528 | 0 | } |
1529 | 0 | void UnsafeArenaSwap(Content* other) { |
1530 | 0 | if (other == this) return; |
1531 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1532 | 0 | InternalSwap(other); |
1533 | 0 | } |
1534 | | |
1535 | | // implements Message ---------------------------------------------- |
1536 | | |
1537 | 0 | Content* New(::google::protobuf::Arena* arena = nullptr) const { |
1538 | 0 | return ::google::protobuf::Message::DefaultConstruct<Content>(arena); |
1539 | 0 | } |
1540 | | using ::google::protobuf::Message::CopyFrom; |
1541 | | void CopyFrom(const Content& from); |
1542 | | using ::google::protobuf::Message::MergeFrom; |
1543 | 0 | void MergeFrom(const Content& from) { Content::MergeImpl(*this, from); } |
1544 | | |
1545 | | private: |
1546 | | static void MergeImpl( |
1547 | | ::google::protobuf::MessageLite& to_msg, |
1548 | | const ::google::protobuf::MessageLite& from_msg); |
1549 | | |
1550 | | public: |
1551 | 0 | bool IsInitialized() const { |
1552 | 0 | return true; |
1553 | 0 | } |
1554 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1555 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1556 | | private: |
1557 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1558 | | static ::uint8_t* _InternalSerialize( |
1559 | | const MessageLite& msg, ::uint8_t* target, |
1560 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1561 | | |
1562 | | public: |
1563 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1564 | | ::uint8_t* _InternalSerialize( |
1565 | | ::uint8_t* target, |
1566 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1567 | | return _InternalSerialize(*this, target, stream); |
1568 | | } |
1569 | | #else // PROTOBUF_CUSTOM_VTABLE |
1570 | | ::size_t ByteSizeLong() const final; |
1571 | | ::uint8_t* _InternalSerialize( |
1572 | | ::uint8_t* target, |
1573 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1574 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1575 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1576 | | |
1577 | | private: |
1578 | | void SharedCtor(::google::protobuf::Arena* arena); |
1579 | | static void SharedDtor(MessageLite& self); |
1580 | | void InternalSwap(Content* other); |
1581 | | private: |
1582 | | template <typename T> |
1583 | | friend ::absl::string_view( |
1584 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1585 | 0 | static ::absl::string_view FullMessageName() { return "protobuf_mutator.xml.Content"; } |
1586 | | |
1587 | | protected: |
1588 | | explicit Content(::google::protobuf::Arena* arena); |
1589 | | Content(::google::protobuf::Arena* arena, const Content& from); |
1590 | | Content(::google::protobuf::Arena* arena, Content&& from) noexcept |
1591 | 0 | : Content(arena) { |
1592 | 0 | *this = ::std::move(from); |
1593 | 0 | } |
1594 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1595 | | static void* PlacementNew_(const void*, void* mem, |
1596 | | ::google::protobuf::Arena* arena); |
1597 | | static constexpr auto InternalNewImpl_(); |
1598 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1599 | | |
1600 | | public: |
1601 | | ::google::protobuf::Metadata GetMetadata() const; |
1602 | | // nested types ---------------------------------------------------- |
1603 | | |
1604 | | // accessors ------------------------------------------------------- |
1605 | | enum : int { |
1606 | | kCharDataFieldNumber = 1, |
1607 | | kElementFieldNumber = 2, |
1608 | | kReferenceFieldNumber = 3, |
1609 | | kCdsectFieldNumber = 4, |
1610 | | kMiskFieldNumber = 5, |
1611 | | }; |
1612 | | // string char_data = 1; |
1613 | | bool has_char_data() const; |
1614 | | void clear_char_data() ; |
1615 | | const std::string& char_data() const; |
1616 | | template <typename Arg_ = const std::string&, typename... Args_> |
1617 | | void set_char_data(Arg_&& arg, Args_... args); |
1618 | | std::string* mutable_char_data(); |
1619 | | PROTOBUF_NODISCARD std::string* release_char_data(); |
1620 | | void set_allocated_char_data(std::string* value); |
1621 | | |
1622 | | private: |
1623 | | const std::string& _internal_char_data() const; |
1624 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_char_data( |
1625 | | const std::string& value); |
1626 | | std::string* _internal_mutable_char_data(); |
1627 | | |
1628 | | public: |
1629 | | // .protobuf_mutator.xml.Element element = 2; |
1630 | | bool has_element() const; |
1631 | | private: |
1632 | | bool _internal_has_element() const; |
1633 | | |
1634 | | public: |
1635 | | void clear_element() ; |
1636 | | const ::protobuf_mutator::xml::Element& element() const; |
1637 | | PROTOBUF_NODISCARD ::protobuf_mutator::xml::Element* release_element(); |
1638 | | ::protobuf_mutator::xml::Element* mutable_element(); |
1639 | | void set_allocated_element(::protobuf_mutator::xml::Element* value); |
1640 | | void unsafe_arena_set_allocated_element(::protobuf_mutator::xml::Element* value); |
1641 | | ::protobuf_mutator::xml::Element* unsafe_arena_release_element(); |
1642 | | |
1643 | | private: |
1644 | | const ::protobuf_mutator::xml::Element& _internal_element() const; |
1645 | | ::protobuf_mutator::xml::Element* _internal_mutable_element(); |
1646 | | |
1647 | | public: |
1648 | | // .protobuf_mutator.xml.Reference reference = 3; |
1649 | | bool has_reference() const; |
1650 | | private: |
1651 | | bool _internal_has_reference() const; |
1652 | | |
1653 | | public: |
1654 | | void clear_reference() ; |
1655 | | const ::protobuf_mutator::xml::Reference& reference() const; |
1656 | | PROTOBUF_NODISCARD ::protobuf_mutator::xml::Reference* release_reference(); |
1657 | | ::protobuf_mutator::xml::Reference* mutable_reference(); |
1658 | | void set_allocated_reference(::protobuf_mutator::xml::Reference* value); |
1659 | | void unsafe_arena_set_allocated_reference(::protobuf_mutator::xml::Reference* value); |
1660 | | ::protobuf_mutator::xml::Reference* unsafe_arena_release_reference(); |
1661 | | |
1662 | | private: |
1663 | | const ::protobuf_mutator::xml::Reference& _internal_reference() const; |
1664 | | ::protobuf_mutator::xml::Reference* _internal_mutable_reference(); |
1665 | | |
1666 | | public: |
1667 | | // string cdsect = 4; |
1668 | | bool has_cdsect() const; |
1669 | | void clear_cdsect() ; |
1670 | | const std::string& cdsect() const; |
1671 | | template <typename Arg_ = const std::string&, typename... Args_> |
1672 | | void set_cdsect(Arg_&& arg, Args_... args); |
1673 | | std::string* mutable_cdsect(); |
1674 | | PROTOBUF_NODISCARD std::string* release_cdsect(); |
1675 | | void set_allocated_cdsect(std::string* value); |
1676 | | |
1677 | | private: |
1678 | | const std::string& _internal_cdsect() const; |
1679 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_cdsect( |
1680 | | const std::string& value); |
1681 | | std::string* _internal_mutable_cdsect(); |
1682 | | |
1683 | | public: |
1684 | | // .protobuf_mutator.xml.Misk misk = 5; |
1685 | | bool has_misk() const; |
1686 | | private: |
1687 | | bool _internal_has_misk() const; |
1688 | | |
1689 | | public: |
1690 | | void clear_misk() ; |
1691 | | const ::protobuf_mutator::xml::Misk& misk() const; |
1692 | | PROTOBUF_NODISCARD ::protobuf_mutator::xml::Misk* release_misk(); |
1693 | | ::protobuf_mutator::xml::Misk* mutable_misk(); |
1694 | | void set_allocated_misk(::protobuf_mutator::xml::Misk* value); |
1695 | | void unsafe_arena_set_allocated_misk(::protobuf_mutator::xml::Misk* value); |
1696 | | ::protobuf_mutator::xml::Misk* unsafe_arena_release_misk(); |
1697 | | |
1698 | | private: |
1699 | | const ::protobuf_mutator::xml::Misk& _internal_misk() const; |
1700 | | ::protobuf_mutator::xml::Misk* _internal_mutable_misk(); |
1701 | | |
1702 | | public: |
1703 | | void clear__(); |
1704 | | Case __case() const; |
1705 | | // @@protoc_insertion_point(class_scope:protobuf_mutator.xml.Content) |
1706 | | private: |
1707 | | class _Internal; |
1708 | | void set_has_char_data(); |
1709 | | void set_has_element(); |
1710 | | void set_has_reference(); |
1711 | | void set_has_cdsect(); |
1712 | | void set_has_misk(); |
1713 | | inline bool has__() const; |
1714 | | inline void clear_has__(); |
1715 | | friend class ::google::protobuf::internal::TcParser; |
1716 | | static const ::google::protobuf::internal::TcParseTable< |
1717 | | 0, 5, 3, |
1718 | | 52, 2> |
1719 | | _table_; |
1720 | | |
1721 | | friend class ::google::protobuf::MessageLite; |
1722 | | friend class ::google::protobuf::Arena; |
1723 | | template <typename T> |
1724 | | friend class ::google::protobuf::Arena::InternalHelper; |
1725 | | using InternalArenaConstructable_ = void; |
1726 | | using DestructorSkippable_ = void; |
1727 | | struct Impl_ { |
1728 | | inline explicit constexpr Impl_( |
1729 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1730 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1731 | | ::google::protobuf::Arena* arena); |
1732 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1733 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1734 | | const Content& from_msg); |
1735 | | union Union { |
1736 | 0 | constexpr Union() : _constinit_{} {} |
1737 | | ::google::protobuf::internal::ConstantInitialized _constinit_; |
1738 | | ::google::protobuf::internal::ArenaStringPtr char_data_; |
1739 | | ::protobuf_mutator::xml::Element* element_; |
1740 | | ::protobuf_mutator::xml::Reference* reference_; |
1741 | | ::google::protobuf::internal::ArenaStringPtr cdsect_; |
1742 | | ::protobuf_mutator::xml::Misk* misk_; |
1743 | | } __; |
1744 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1745 | | ::uint32_t _oneof_case_[1]; |
1746 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1747 | | }; |
1748 | | union { Impl_ _impl_; }; |
1749 | | friend struct ::TableStruct_xml_2eproto; |
1750 | | }; |
1751 | | // ------------------------------------------------------------------- |
1752 | | |
1753 | | class Element final : public ::google::protobuf::Message |
1754 | | /* @@protoc_insertion_point(class_definition:protobuf_mutator.xml.Element) */ { |
1755 | | public: |
1756 | 0 | inline Element() : Element(nullptr) {} |
1757 | | ~Element() PROTOBUF_FINAL; |
1758 | | |
1759 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1760 | | void operator delete(Element* msg, std::destroying_delete_t) { |
1761 | | SharedDtor(*msg); |
1762 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Element)); |
1763 | | } |
1764 | | #endif |
1765 | | |
1766 | | template <typename = void> |
1767 | | explicit PROTOBUF_CONSTEXPR Element( |
1768 | | ::google::protobuf::internal::ConstantInitialized); |
1769 | | |
1770 | 0 | inline Element(const Element& from) : Element(nullptr, from) {} |
1771 | | inline Element(Element&& from) noexcept |
1772 | 0 | : Element(nullptr, std::move(from)) {} |
1773 | 0 | inline Element& operator=(const Element& from) { |
1774 | 0 | CopyFrom(from); |
1775 | 0 | return *this; |
1776 | 0 | } |
1777 | 0 | inline Element& operator=(Element&& from) noexcept { |
1778 | 0 | if (this == &from) return *this; |
1779 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1780 | 0 | InternalSwap(&from); |
1781 | 0 | } else { |
1782 | 0 | CopyFrom(from); |
1783 | 0 | } |
1784 | 0 | return *this; |
1785 | 0 | } |
1786 | | |
1787 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1788 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1789 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1790 | 0 | } |
1791 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1792 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1793 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1794 | 0 | } |
1795 | | |
1796 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1797 | 0 | return GetDescriptor(); |
1798 | 0 | } |
1799 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1800 | 0 | return default_instance().GetMetadata().descriptor; |
1801 | 0 | } |
1802 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1803 | 0 | return default_instance().GetMetadata().reflection; |
1804 | 0 | } |
1805 | 0 | static const Element& default_instance() { |
1806 | 0 | return *internal_default_instance(); |
1807 | 0 | } |
1808 | 0 | static inline const Element* internal_default_instance() { |
1809 | 0 | return reinterpret_cast<const Element*>( |
1810 | 0 | &_Element_default_instance_); |
1811 | 0 | } |
1812 | | static constexpr int kIndexInFileMessages = 3; |
1813 | 0 | friend void swap(Element& a, Element& b) { a.Swap(&b); } |
1814 | 0 | inline void Swap(Element* other) { |
1815 | 0 | if (other == this) return; |
1816 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1817 | 0 | InternalSwap(other); |
1818 | 0 | } else { |
1819 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1820 | 0 | } |
1821 | 0 | } |
1822 | 0 | void UnsafeArenaSwap(Element* other) { |
1823 | 0 | if (other == this) return; |
1824 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1825 | 0 | InternalSwap(other); |
1826 | 0 | } |
1827 | | |
1828 | | // implements Message ---------------------------------------------- |
1829 | | |
1830 | 0 | Element* New(::google::protobuf::Arena* arena = nullptr) const { |
1831 | 0 | return ::google::protobuf::Message::DefaultConstruct<Element>(arena); |
1832 | 0 | } |
1833 | | using ::google::protobuf::Message::CopyFrom; |
1834 | | void CopyFrom(const Element& from); |
1835 | | using ::google::protobuf::Message::MergeFrom; |
1836 | 0 | void MergeFrom(const Element& from) { Element::MergeImpl(*this, from); } |
1837 | | |
1838 | | private: |
1839 | | static void MergeImpl( |
1840 | | ::google::protobuf::MessageLite& to_msg, |
1841 | | const ::google::protobuf::MessageLite& from_msg); |
1842 | | |
1843 | | public: |
1844 | 0 | bool IsInitialized() const { |
1845 | 0 | return true; |
1846 | 0 | } |
1847 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1848 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1849 | | private: |
1850 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1851 | | static ::uint8_t* _InternalSerialize( |
1852 | | const MessageLite& msg, ::uint8_t* target, |
1853 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1854 | | |
1855 | | public: |
1856 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1857 | | ::uint8_t* _InternalSerialize( |
1858 | | ::uint8_t* target, |
1859 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1860 | | return _InternalSerialize(*this, target, stream); |
1861 | | } |
1862 | | #else // PROTOBUF_CUSTOM_VTABLE |
1863 | | ::size_t ByteSizeLong() const final; |
1864 | | ::uint8_t* _InternalSerialize( |
1865 | | ::uint8_t* target, |
1866 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1867 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1868 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1869 | | |
1870 | | private: |
1871 | | void SharedCtor(::google::protobuf::Arena* arena); |
1872 | | static void SharedDtor(MessageLite& self); |
1873 | | void InternalSwap(Element* other); |
1874 | | private: |
1875 | | template <typename T> |
1876 | | friend ::absl::string_view( |
1877 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1878 | 0 | static ::absl::string_view FullMessageName() { return "protobuf_mutator.xml.Element"; } |
1879 | | |
1880 | | protected: |
1881 | | explicit Element(::google::protobuf::Arena* arena); |
1882 | | Element(::google::protobuf::Arena* arena, const Element& from); |
1883 | | Element(::google::protobuf::Arena* arena, Element&& from) noexcept |
1884 | 0 | : Element(arena) { |
1885 | 0 | *this = ::std::move(from); |
1886 | 0 | } |
1887 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1888 | | static void* PlacementNew_(const void*, void* mem, |
1889 | | ::google::protobuf::Arena* arena); |
1890 | | static constexpr auto InternalNewImpl_(); |
1891 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1892 | | |
1893 | | public: |
1894 | | ::google::protobuf::Metadata GetMetadata() const; |
1895 | | // nested types ---------------------------------------------------- |
1896 | | |
1897 | | // accessors ------------------------------------------------------- |
1898 | | enum : int { |
1899 | | kContentFieldNumber = 2, |
1900 | | kTagFieldNumber = 1, |
1901 | | }; |
1902 | | // repeated .protobuf_mutator.xml.Content content = 2; |
1903 | | int content_size() const; |
1904 | | private: |
1905 | | int _internal_content_size() const; |
1906 | | |
1907 | | public: |
1908 | | void clear_content() ; |
1909 | | ::protobuf_mutator::xml::Content* mutable_content(int index); |
1910 | | ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Content>* mutable_content(); |
1911 | | |
1912 | | private: |
1913 | | const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Content>& _internal_content() const; |
1914 | | ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Content>* _internal_mutable_content(); |
1915 | | public: |
1916 | | const ::protobuf_mutator::xml::Content& content(int index) const; |
1917 | | ::protobuf_mutator::xml::Content* add_content(); |
1918 | | const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Content>& content() const; |
1919 | | // optional .protobuf_mutator.xml.Tag tag = 1; |
1920 | | bool has_tag() const; |
1921 | | void clear_tag() ; |
1922 | | const ::protobuf_mutator::xml::Tag& tag() const; |
1923 | | PROTOBUF_NODISCARD ::protobuf_mutator::xml::Tag* release_tag(); |
1924 | | ::protobuf_mutator::xml::Tag* mutable_tag(); |
1925 | | void set_allocated_tag(::protobuf_mutator::xml::Tag* value); |
1926 | | void unsafe_arena_set_allocated_tag(::protobuf_mutator::xml::Tag* value); |
1927 | | ::protobuf_mutator::xml::Tag* unsafe_arena_release_tag(); |
1928 | | |
1929 | | private: |
1930 | | const ::protobuf_mutator::xml::Tag& _internal_tag() const; |
1931 | | ::protobuf_mutator::xml::Tag* _internal_mutable_tag(); |
1932 | | |
1933 | | public: |
1934 | | // @@protoc_insertion_point(class_scope:protobuf_mutator.xml.Element) |
1935 | | private: |
1936 | | class _Internal; |
1937 | | friend class ::google::protobuf::internal::TcParser; |
1938 | | static const ::google::protobuf::internal::TcParseTable< |
1939 | | 1, 2, 2, |
1940 | | 0, 2> |
1941 | | _table_; |
1942 | | |
1943 | | friend class ::google::protobuf::MessageLite; |
1944 | | friend class ::google::protobuf::Arena; |
1945 | | template <typename T> |
1946 | | friend class ::google::protobuf::Arena::InternalHelper; |
1947 | | using InternalArenaConstructable_ = void; |
1948 | | using DestructorSkippable_ = void; |
1949 | | struct Impl_ { |
1950 | | inline explicit constexpr Impl_( |
1951 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1952 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1953 | | ::google::protobuf::Arena* arena); |
1954 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1955 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1956 | | const Element& from_msg); |
1957 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
1958 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1959 | | ::google::protobuf::RepeatedPtrField< ::protobuf_mutator::xml::Content > content_; |
1960 | | ::protobuf_mutator::xml::Tag* tag_; |
1961 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1962 | | }; |
1963 | | union { Impl_ _impl_; }; |
1964 | | friend struct ::TableStruct_xml_2eproto; |
1965 | | }; |
1966 | | // ------------------------------------------------------------------- |
1967 | | |
1968 | | class Document final : public ::google::protobuf::Message |
1969 | | /* @@protoc_insertion_point(class_definition:protobuf_mutator.xml.Document) */ { |
1970 | | public: |
1971 | 0 | inline Document() : Document(nullptr) {} |
1972 | | ~Document() PROTOBUF_FINAL; |
1973 | | |
1974 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1975 | | void operator delete(Document* msg, std::destroying_delete_t) { |
1976 | | SharedDtor(*msg); |
1977 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Document)); |
1978 | | } |
1979 | | #endif |
1980 | | |
1981 | | template <typename = void> |
1982 | | explicit PROTOBUF_CONSTEXPR Document( |
1983 | | ::google::protobuf::internal::ConstantInitialized); |
1984 | | |
1985 | 0 | inline Document(const Document& from) : Document(nullptr, from) {} |
1986 | | inline Document(Document&& from) noexcept |
1987 | 0 | : Document(nullptr, std::move(from)) {} |
1988 | 0 | inline Document& operator=(const Document& from) { |
1989 | 0 | CopyFrom(from); |
1990 | 0 | return *this; |
1991 | 0 | } |
1992 | 0 | inline Document& operator=(Document&& from) noexcept { |
1993 | 0 | if (this == &from) return *this; |
1994 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1995 | 0 | InternalSwap(&from); |
1996 | 0 | } else { |
1997 | 0 | CopyFrom(from); |
1998 | 0 | } |
1999 | 0 | return *this; |
2000 | 0 | } |
2001 | | |
2002 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2003 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2004 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2005 | 0 | } |
2006 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2007 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2008 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2009 | 0 | } |
2010 | | |
2011 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2012 | 0 | return GetDescriptor(); |
2013 | 0 | } |
2014 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2015 | 0 | return default_instance().GetMetadata().descriptor; |
2016 | 0 | } |
2017 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2018 | 0 | return default_instance().GetMetadata().reflection; |
2019 | 0 | } |
2020 | 0 | static const Document& default_instance() { |
2021 | 0 | return *internal_default_instance(); |
2022 | 0 | } |
2023 | 0 | static inline const Document* internal_default_instance() { |
2024 | 0 | return reinterpret_cast<const Document*>( |
2025 | 0 | &_Document_default_instance_); |
2026 | 0 | } |
2027 | | static constexpr int kIndexInFileMessages = 0; |
2028 | 0 | friend void swap(Document& a, Document& b) { a.Swap(&b); } |
2029 | 0 | inline void Swap(Document* other) { |
2030 | 0 | if (other == this) return; |
2031 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
2032 | 0 | InternalSwap(other); |
2033 | 0 | } else { |
2034 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2035 | 0 | } |
2036 | 0 | } |
2037 | 0 | void UnsafeArenaSwap(Document* other) { |
2038 | 0 | if (other == this) return; |
2039 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2040 | 0 | InternalSwap(other); |
2041 | 0 | } |
2042 | | |
2043 | | // implements Message ---------------------------------------------- |
2044 | | |
2045 | 0 | Document* New(::google::protobuf::Arena* arena = nullptr) const { |
2046 | 0 | return ::google::protobuf::Message::DefaultConstruct<Document>(arena); |
2047 | 0 | } |
2048 | | using ::google::protobuf::Message::CopyFrom; |
2049 | | void CopyFrom(const Document& from); |
2050 | | using ::google::protobuf::Message::MergeFrom; |
2051 | 0 | void MergeFrom(const Document& from) { Document::MergeImpl(*this, from); } |
2052 | | |
2053 | | private: |
2054 | | static void MergeImpl( |
2055 | | ::google::protobuf::MessageLite& to_msg, |
2056 | | const ::google::protobuf::MessageLite& from_msg); |
2057 | | |
2058 | | public: |
2059 | 0 | bool IsInitialized() const { |
2060 | 0 | return true; |
2061 | 0 | } |
2062 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
2063 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2064 | | private: |
2065 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
2066 | | static ::uint8_t* _InternalSerialize( |
2067 | | const MessageLite& msg, ::uint8_t* target, |
2068 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
2069 | | |
2070 | | public: |
2071 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
2072 | | ::uint8_t* _InternalSerialize( |
2073 | | ::uint8_t* target, |
2074 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2075 | | return _InternalSerialize(*this, target, stream); |
2076 | | } |
2077 | | #else // PROTOBUF_CUSTOM_VTABLE |
2078 | | ::size_t ByteSizeLong() const final; |
2079 | | ::uint8_t* _InternalSerialize( |
2080 | | ::uint8_t* target, |
2081 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
2082 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2083 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
2084 | | |
2085 | | private: |
2086 | | void SharedCtor(::google::protobuf::Arena* arena); |
2087 | | static void SharedDtor(MessageLite& self); |
2088 | | void InternalSwap(Document* other); |
2089 | | private: |
2090 | | template <typename T> |
2091 | | friend ::absl::string_view( |
2092 | | ::google::protobuf::internal::GetAnyMessageName)(); |
2093 | 0 | static ::absl::string_view FullMessageName() { return "protobuf_mutator.xml.Document"; } |
2094 | | |
2095 | | protected: |
2096 | | explicit Document(::google::protobuf::Arena* arena); |
2097 | | Document(::google::protobuf::Arena* arena, const Document& from); |
2098 | | Document(::google::protobuf::Arena* arena, Document&& from) noexcept |
2099 | 0 | : Document(arena) { |
2100 | 0 | *this = ::std::move(from); |
2101 | 0 | } |
2102 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
2103 | | static void* PlacementNew_(const void*, void* mem, |
2104 | | ::google::protobuf::Arena* arena); |
2105 | | static constexpr auto InternalNewImpl_(); |
2106 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
2107 | | |
2108 | | public: |
2109 | | ::google::protobuf::Metadata GetMetadata() const; |
2110 | | // nested types ---------------------------------------------------- |
2111 | | |
2112 | | // accessors ------------------------------------------------------- |
2113 | | enum : int { |
2114 | | kMisk1FieldNumber = 4, |
2115 | | kMisk2FieldNumber = 7, |
2116 | | kVersionFieldNumber = 1, |
2117 | | kEncodingFieldNumber = 2, |
2118 | | kDoctypeFieldNumber = 5, |
2119 | | kElementFieldNumber = 6, |
2120 | | kStandaloneFieldNumber = 3, |
2121 | | }; |
2122 | | // repeated .protobuf_mutator.xml.Misk misk1 = 4; |
2123 | | int misk1_size() const; |
2124 | | private: |
2125 | | int _internal_misk1_size() const; |
2126 | | |
2127 | | public: |
2128 | | void clear_misk1() ; |
2129 | | ::protobuf_mutator::xml::Misk* mutable_misk1(int index); |
2130 | | ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>* mutable_misk1(); |
2131 | | |
2132 | | private: |
2133 | | const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>& _internal_misk1() const; |
2134 | | ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>* _internal_mutable_misk1(); |
2135 | | public: |
2136 | | const ::protobuf_mutator::xml::Misk& misk1(int index) const; |
2137 | | ::protobuf_mutator::xml::Misk* add_misk1(); |
2138 | | const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>& misk1() const; |
2139 | | // repeated .protobuf_mutator.xml.Misk misk2 = 7; |
2140 | | int misk2_size() const; |
2141 | | private: |
2142 | | int _internal_misk2_size() const; |
2143 | | |
2144 | | public: |
2145 | | void clear_misk2() ; |
2146 | | ::protobuf_mutator::xml::Misk* mutable_misk2(int index); |
2147 | | ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>* mutable_misk2(); |
2148 | | |
2149 | | private: |
2150 | | const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>& _internal_misk2() const; |
2151 | | ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>* _internal_mutable_misk2(); |
2152 | | public: |
2153 | | const ::protobuf_mutator::xml::Misk& misk2(int index) const; |
2154 | | ::protobuf_mutator::xml::Misk* add_misk2(); |
2155 | | const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>& misk2() const; |
2156 | | // optional string version = 1; |
2157 | | bool has_version() const; |
2158 | | void clear_version() ; |
2159 | | const std::string& version() const; |
2160 | | template <typename Arg_ = const std::string&, typename... Args_> |
2161 | | void set_version(Arg_&& arg, Args_... args); |
2162 | | std::string* mutable_version(); |
2163 | | PROTOBUF_NODISCARD std::string* release_version(); |
2164 | | void set_allocated_version(std::string* value); |
2165 | | |
2166 | | private: |
2167 | | const std::string& _internal_version() const; |
2168 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_version( |
2169 | | const std::string& value); |
2170 | | std::string* _internal_mutable_version(); |
2171 | | |
2172 | | public: |
2173 | | // optional string encoding = 2; |
2174 | | bool has_encoding() const; |
2175 | | void clear_encoding() ; |
2176 | | const std::string& encoding() const; |
2177 | | template <typename Arg_ = const std::string&, typename... Args_> |
2178 | | void set_encoding(Arg_&& arg, Args_... args); |
2179 | | std::string* mutable_encoding(); |
2180 | | PROTOBUF_NODISCARD std::string* release_encoding(); |
2181 | | void set_allocated_encoding(std::string* value); |
2182 | | |
2183 | | private: |
2184 | | const std::string& _internal_encoding() const; |
2185 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_encoding( |
2186 | | const std::string& value); |
2187 | | std::string* _internal_mutable_encoding(); |
2188 | | |
2189 | | public: |
2190 | | // optional .protobuf_mutator.xml.DoctypeDecl doctype = 5; |
2191 | | bool has_doctype() const; |
2192 | | void clear_doctype() ; |
2193 | | const ::protobuf_mutator::xml::DoctypeDecl& doctype() const; |
2194 | | PROTOBUF_NODISCARD ::protobuf_mutator::xml::DoctypeDecl* release_doctype(); |
2195 | | ::protobuf_mutator::xml::DoctypeDecl* mutable_doctype(); |
2196 | | void set_allocated_doctype(::protobuf_mutator::xml::DoctypeDecl* value); |
2197 | | void unsafe_arena_set_allocated_doctype(::protobuf_mutator::xml::DoctypeDecl* value); |
2198 | | ::protobuf_mutator::xml::DoctypeDecl* unsafe_arena_release_doctype(); |
2199 | | |
2200 | | private: |
2201 | | const ::protobuf_mutator::xml::DoctypeDecl& _internal_doctype() const; |
2202 | | ::protobuf_mutator::xml::DoctypeDecl* _internal_mutable_doctype(); |
2203 | | |
2204 | | public: |
2205 | | // optional .protobuf_mutator.xml.Element element = 6; |
2206 | | bool has_element() const; |
2207 | | void clear_element() ; |
2208 | | const ::protobuf_mutator::xml::Element& element() const; |
2209 | | PROTOBUF_NODISCARD ::protobuf_mutator::xml::Element* release_element(); |
2210 | | ::protobuf_mutator::xml::Element* mutable_element(); |
2211 | | void set_allocated_element(::protobuf_mutator::xml::Element* value); |
2212 | | void unsafe_arena_set_allocated_element(::protobuf_mutator::xml::Element* value); |
2213 | | ::protobuf_mutator::xml::Element* unsafe_arena_release_element(); |
2214 | | |
2215 | | private: |
2216 | | const ::protobuf_mutator::xml::Element& _internal_element() const; |
2217 | | ::protobuf_mutator::xml::Element* _internal_mutable_element(); |
2218 | | |
2219 | | public: |
2220 | | // optional bool standalone = 3; |
2221 | | bool has_standalone() const; |
2222 | | void clear_standalone() ; |
2223 | | bool standalone() const; |
2224 | | void set_standalone(bool value); |
2225 | | |
2226 | | private: |
2227 | | bool _internal_standalone() const; |
2228 | | void _internal_set_standalone(bool value); |
2229 | | |
2230 | | public: |
2231 | | // @@protoc_insertion_point(class_scope:protobuf_mutator.xml.Document) |
2232 | | private: |
2233 | | class _Internal; |
2234 | | friend class ::google::protobuf::internal::TcParser; |
2235 | | static const ::google::protobuf::internal::TcParseTable< |
2236 | | 3, 7, 4, |
2237 | | 53, 2> |
2238 | | _table_; |
2239 | | |
2240 | | friend class ::google::protobuf::MessageLite; |
2241 | | friend class ::google::protobuf::Arena; |
2242 | | template <typename T> |
2243 | | friend class ::google::protobuf::Arena::InternalHelper; |
2244 | | using InternalArenaConstructable_ = void; |
2245 | | using DestructorSkippable_ = void; |
2246 | | struct Impl_ { |
2247 | | inline explicit constexpr Impl_( |
2248 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2249 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2250 | | ::google::protobuf::Arena* arena); |
2251 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2252 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2253 | | const Document& from_msg); |
2254 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2255 | | ::google::protobuf::internal::CachedSize _cached_size_; |
2256 | | ::google::protobuf::RepeatedPtrField< ::protobuf_mutator::xml::Misk > misk1_; |
2257 | | ::google::protobuf::RepeatedPtrField< ::protobuf_mutator::xml::Misk > misk2_; |
2258 | | ::google::protobuf::internal::ArenaStringPtr version_; |
2259 | | ::google::protobuf::internal::ArenaStringPtr encoding_; |
2260 | | ::protobuf_mutator::xml::DoctypeDecl* doctype_; |
2261 | | ::protobuf_mutator::xml::Element* element_; |
2262 | | bool standalone_; |
2263 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2264 | | }; |
2265 | | union { Impl_ _impl_; }; |
2266 | | friend struct ::TableStruct_xml_2eproto; |
2267 | | }; |
2268 | | // ------------------------------------------------------------------- |
2269 | | |
2270 | | class Input final : public ::google::protobuf::Message |
2271 | | /* @@protoc_insertion_point(class_definition:protobuf_mutator.xml.Input) */ { |
2272 | | public: |
2273 | 32.2k | inline Input() : Input(nullptr) {} |
2274 | | ~Input() PROTOBUF_FINAL; |
2275 | | |
2276 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2277 | | void operator delete(Input* msg, std::destroying_delete_t) { |
2278 | | SharedDtor(*msg); |
2279 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Input)); |
2280 | | } |
2281 | | #endif |
2282 | | |
2283 | | template <typename = void> |
2284 | | explicit PROTOBUF_CONSTEXPR Input( |
2285 | | ::google::protobuf::internal::ConstantInitialized); |
2286 | | |
2287 | 0 | inline Input(const Input& from) : Input(nullptr, from) {} |
2288 | | inline Input(Input&& from) noexcept |
2289 | 0 | : Input(nullptr, std::move(from)) {} |
2290 | 0 | inline Input& operator=(const Input& from) { |
2291 | 0 | CopyFrom(from); |
2292 | 0 | return *this; |
2293 | 0 | } |
2294 | 0 | inline Input& operator=(Input&& from) noexcept { |
2295 | 0 | if (this == &from) return *this; |
2296 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
2297 | 0 | InternalSwap(&from); |
2298 | 0 | } else { |
2299 | 0 | CopyFrom(from); |
2300 | 0 | } |
2301 | 0 | return *this; |
2302 | 0 | } |
2303 | | |
2304 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2305 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2306 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2307 | 0 | } |
2308 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2309 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2310 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2311 | 0 | } |
2312 | | |
2313 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2314 | 0 | return GetDescriptor(); |
2315 | 0 | } |
2316 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2317 | 0 | return default_instance().GetMetadata().descriptor; |
2318 | 0 | } |
2319 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2320 | 0 | return default_instance().GetMetadata().reflection; |
2321 | 0 | } |
2322 | 0 | static const Input& default_instance() { |
2323 | 0 | return *internal_default_instance(); |
2324 | 0 | } |
2325 | 0 | static inline const Input* internal_default_instance() { |
2326 | 0 | return reinterpret_cast<const Input*>( |
2327 | 0 | &_Input_default_instance_); |
2328 | 0 | } |
2329 | | static constexpr int kIndexInFileMessages = 9; |
2330 | 0 | friend void swap(Input& a, Input& b) { a.Swap(&b); } |
2331 | 0 | inline void Swap(Input* other) { |
2332 | 0 | if (other == this) return; |
2333 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
2334 | 0 | InternalSwap(other); |
2335 | 0 | } else { |
2336 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2337 | 0 | } |
2338 | 0 | } |
2339 | 0 | void UnsafeArenaSwap(Input* other) { |
2340 | 0 | if (other == this) return; |
2341 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2342 | 0 | InternalSwap(other); |
2343 | 0 | } |
2344 | | |
2345 | | // implements Message ---------------------------------------------- |
2346 | | |
2347 | 0 | Input* New(::google::protobuf::Arena* arena = nullptr) const { |
2348 | 0 | return ::google::protobuf::Message::DefaultConstruct<Input>(arena); |
2349 | 0 | } |
2350 | | using ::google::protobuf::Message::CopyFrom; |
2351 | | void CopyFrom(const Input& from); |
2352 | | using ::google::protobuf::Message::MergeFrom; |
2353 | 0 | void MergeFrom(const Input& from) { Input::MergeImpl(*this, from); } |
2354 | | |
2355 | | private: |
2356 | | static void MergeImpl( |
2357 | | ::google::protobuf::MessageLite& to_msg, |
2358 | | const ::google::protobuf::MessageLite& from_msg); |
2359 | | |
2360 | | public: |
2361 | 0 | bool IsInitialized() const { |
2362 | 0 | return true; |
2363 | 0 | } |
2364 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
2365 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2366 | | private: |
2367 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
2368 | | static ::uint8_t* _InternalSerialize( |
2369 | | const MessageLite& msg, ::uint8_t* target, |
2370 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
2371 | | |
2372 | | public: |
2373 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
2374 | | ::uint8_t* _InternalSerialize( |
2375 | | ::uint8_t* target, |
2376 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2377 | | return _InternalSerialize(*this, target, stream); |
2378 | | } |
2379 | | #else // PROTOBUF_CUSTOM_VTABLE |
2380 | | ::size_t ByteSizeLong() const final; |
2381 | | ::uint8_t* _InternalSerialize( |
2382 | | ::uint8_t* target, |
2383 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
2384 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2385 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
2386 | | |
2387 | | private: |
2388 | | void SharedCtor(::google::protobuf::Arena* arena); |
2389 | | static void SharedDtor(MessageLite& self); |
2390 | | void InternalSwap(Input* other); |
2391 | | private: |
2392 | | template <typename T> |
2393 | | friend ::absl::string_view( |
2394 | | ::google::protobuf::internal::GetAnyMessageName)(); |
2395 | 0 | static ::absl::string_view FullMessageName() { return "protobuf_mutator.xml.Input"; } |
2396 | | |
2397 | | protected: |
2398 | | explicit Input(::google::protobuf::Arena* arena); |
2399 | | Input(::google::protobuf::Arena* arena, const Input& from); |
2400 | | Input(::google::protobuf::Arena* arena, Input&& from) noexcept |
2401 | 0 | : Input(arena) { |
2402 | 0 | *this = ::std::move(from); |
2403 | 0 | } |
2404 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
2405 | | static void* PlacementNew_(const void*, void* mem, |
2406 | | ::google::protobuf::Arena* arena); |
2407 | | static constexpr auto InternalNewImpl_(); |
2408 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
2409 | | |
2410 | | public: |
2411 | | ::google::protobuf::Metadata GetMetadata() const; |
2412 | | // nested types ---------------------------------------------------- |
2413 | | |
2414 | | // accessors ------------------------------------------------------- |
2415 | | enum : int { |
2416 | | kDocumentFieldNumber = 1, |
2417 | | kOptionsFieldNumber = 2, |
2418 | | }; |
2419 | | // optional .protobuf_mutator.xml.Document document = 1; |
2420 | | bool has_document() const; |
2421 | | void clear_document() ; |
2422 | | const ::protobuf_mutator::xml::Document& document() const; |
2423 | | PROTOBUF_NODISCARD ::protobuf_mutator::xml::Document* release_document(); |
2424 | | ::protobuf_mutator::xml::Document* mutable_document(); |
2425 | | void set_allocated_document(::protobuf_mutator::xml::Document* value); |
2426 | | void unsafe_arena_set_allocated_document(::protobuf_mutator::xml::Document* value); |
2427 | | ::protobuf_mutator::xml::Document* unsafe_arena_release_document(); |
2428 | | |
2429 | | private: |
2430 | | const ::protobuf_mutator::xml::Document& _internal_document() const; |
2431 | | ::protobuf_mutator::xml::Document* _internal_mutable_document(); |
2432 | | |
2433 | | public: |
2434 | | // optional uint32 options = 2; |
2435 | | bool has_options() const; |
2436 | | void clear_options() ; |
2437 | | ::uint32_t options() const; |
2438 | | void set_options(::uint32_t value); |
2439 | | |
2440 | | private: |
2441 | | ::uint32_t _internal_options() const; |
2442 | | void _internal_set_options(::uint32_t value); |
2443 | | |
2444 | | public: |
2445 | | // @@protoc_insertion_point(class_scope:protobuf_mutator.xml.Input) |
2446 | | private: |
2447 | | class _Internal; |
2448 | | friend class ::google::protobuf::internal::TcParser; |
2449 | | static const ::google::protobuf::internal::TcParseTable< |
2450 | | 1, 2, 1, |
2451 | | 0, 2> |
2452 | | _table_; |
2453 | | |
2454 | | friend class ::google::protobuf::MessageLite; |
2455 | | friend class ::google::protobuf::Arena; |
2456 | | template <typename T> |
2457 | | friend class ::google::protobuf::Arena::InternalHelper; |
2458 | | using InternalArenaConstructable_ = void; |
2459 | | using DestructorSkippable_ = void; |
2460 | | struct Impl_ { |
2461 | | inline explicit constexpr Impl_( |
2462 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2463 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2464 | | ::google::protobuf::Arena* arena); |
2465 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2466 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2467 | | const Input& from_msg); |
2468 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
2469 | | ::google::protobuf::internal::CachedSize _cached_size_; |
2470 | | ::protobuf_mutator::xml::Document* document_; |
2471 | | ::uint32_t options_; |
2472 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2473 | | }; |
2474 | | union { Impl_ _impl_; }; |
2475 | | friend struct ::TableStruct_xml_2eproto; |
2476 | | }; |
2477 | | |
2478 | | // =================================================================== |
2479 | | |
2480 | | |
2481 | | |
2482 | | |
2483 | | // =================================================================== |
2484 | | |
2485 | | |
2486 | | #ifdef __GNUC__ |
2487 | | #pragma GCC diagnostic push |
2488 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
2489 | | #endif // __GNUC__ |
2490 | | // ------------------------------------------------------------------- |
2491 | | |
2492 | | // Document |
2493 | | |
2494 | | // optional string version = 1; |
2495 | 47.6k | inline bool Document::has_version() const { |
2496 | 47.6k | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2497 | 47.6k | return value; |
2498 | 47.6k | } |
2499 | 0 | inline void Document::clear_version() { |
2500 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2501 | 0 | _impl_.version_.ClearToEmpty(); |
2502 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2503 | 0 | } |
2504 | | inline const std::string& Document::version() const |
2505 | 24.4k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2506 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Document.version) |
2507 | 24.4k | return _internal_version(); |
2508 | 24.4k | } |
2509 | | template <typename Arg_, typename... Args_> |
2510 | | inline PROTOBUF_ALWAYS_INLINE void Document::set_version(Arg_&& arg, |
2511 | | Args_... args) { |
2512 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
2513 | | _impl_._has_bits_[0] |= 0x00000001u; |
2514 | | _impl_.version_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
2515 | | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.Document.version) |
2516 | | } |
2517 | 0 | inline std::string* Document::mutable_version() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2518 | 0 | std::string* _s = _internal_mutable_version(); |
2519 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Document.version) |
2520 | 0 | return _s; |
2521 | 0 | } |
2522 | 24.4k | inline const std::string& Document::_internal_version() const { |
2523 | 24.4k | ::google::protobuf::internal::TSanRead(&_impl_); |
2524 | 24.4k | return _impl_.version_.Get(); |
2525 | 24.4k | } |
2526 | 0 | inline void Document::_internal_set_version(const std::string& value) { |
2527 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2528 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2529 | 0 | _impl_.version_.Set(value, GetArena()); |
2530 | 0 | } |
2531 | 0 | inline std::string* Document::_internal_mutable_version() { |
2532 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2533 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2534 | 0 | return _impl_.version_.Mutable( GetArena()); |
2535 | 0 | } |
2536 | 0 | inline std::string* Document::release_version() { |
2537 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2538 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Document.version) |
2539 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
2540 | 0 | return nullptr; |
2541 | 0 | } |
2542 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2543 | 0 | auto* released = _impl_.version_.Release(); |
2544 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
2545 | 0 | _impl_.version_.Set("", GetArena()); |
2546 | 0 | } |
2547 | 0 | return released; |
2548 | 0 | } |
2549 | 0 | inline void Document::set_allocated_version(std::string* value) { |
2550 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2551 | 0 | if (value != nullptr) { |
2552 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2553 | 0 | } else { |
2554 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2555 | 0 | } |
2556 | 0 | _impl_.version_.SetAllocated(value, GetArena()); |
2557 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.version_.IsDefault()) { |
2558 | 0 | _impl_.version_.Set("", GetArena()); |
2559 | 0 | } |
2560 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Document.version) |
2561 | 0 | } |
2562 | | |
2563 | | // optional string encoding = 2; |
2564 | 35.3k | inline bool Document::has_encoding() const { |
2565 | 35.3k | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
2566 | 35.3k | return value; |
2567 | 35.3k | } |
2568 | 0 | inline void Document::clear_encoding() { |
2569 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2570 | 0 | _impl_.encoding_.ClearToEmpty(); |
2571 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2572 | 0 | } |
2573 | | inline const std::string& Document::encoding() const |
2574 | 4.39k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2575 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Document.encoding) |
2576 | 4.39k | return _internal_encoding(); |
2577 | 4.39k | } |
2578 | | template <typename Arg_, typename... Args_> |
2579 | | inline PROTOBUF_ALWAYS_INLINE void Document::set_encoding(Arg_&& arg, |
2580 | | Args_... args) { |
2581 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
2582 | | _impl_._has_bits_[0] |= 0x00000002u; |
2583 | | _impl_.encoding_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
2584 | | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.Document.encoding) |
2585 | | } |
2586 | 0 | inline std::string* Document::mutable_encoding() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2587 | 0 | std::string* _s = _internal_mutable_encoding(); |
2588 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Document.encoding) |
2589 | 0 | return _s; |
2590 | 0 | } |
2591 | 4.39k | inline const std::string& Document::_internal_encoding() const { |
2592 | 4.39k | ::google::protobuf::internal::TSanRead(&_impl_); |
2593 | 4.39k | return _impl_.encoding_.Get(); |
2594 | 4.39k | } |
2595 | 0 | inline void Document::_internal_set_encoding(const std::string& value) { |
2596 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2597 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2598 | 0 | _impl_.encoding_.Set(value, GetArena()); |
2599 | 0 | } |
2600 | 0 | inline std::string* Document::_internal_mutable_encoding() { |
2601 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2602 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2603 | 0 | return _impl_.encoding_.Mutable( GetArena()); |
2604 | 0 | } |
2605 | 0 | inline std::string* Document::release_encoding() { |
2606 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2607 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Document.encoding) |
2608 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
2609 | 0 | return nullptr; |
2610 | 0 | } |
2611 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2612 | 0 | auto* released = _impl_.encoding_.Release(); |
2613 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
2614 | 0 | _impl_.encoding_.Set("", GetArena()); |
2615 | 0 | } |
2616 | 0 | return released; |
2617 | 0 | } |
2618 | 0 | inline void Document::set_allocated_encoding(std::string* value) { |
2619 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2620 | 0 | if (value != nullptr) { |
2621 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
2622 | 0 | } else { |
2623 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
2624 | 0 | } |
2625 | 0 | _impl_.encoding_.SetAllocated(value, GetArena()); |
2626 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.encoding_.IsDefault()) { |
2627 | 0 | _impl_.encoding_.Set("", GetArena()); |
2628 | 0 | } |
2629 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Document.encoding) |
2630 | 0 | } |
2631 | | |
2632 | | // optional bool standalone = 3; |
2633 | 32.2k | inline bool Document::has_standalone() const { |
2634 | 32.2k | bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; |
2635 | 32.2k | return value; |
2636 | 32.2k | } |
2637 | 0 | inline void Document::clear_standalone() { |
2638 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2639 | 0 | _impl_.standalone_ = false; |
2640 | 0 | _impl_._has_bits_[0] &= ~0x00000010u; |
2641 | 0 | } |
2642 | 148 | inline bool Document::standalone() const { |
2643 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Document.standalone) |
2644 | 148 | return _internal_standalone(); |
2645 | 148 | } |
2646 | 0 | inline void Document::set_standalone(bool value) { |
2647 | 0 | _internal_set_standalone(value); |
2648 | 0 | _impl_._has_bits_[0] |= 0x00000010u; |
2649 | 0 | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.Document.standalone) |
2650 | 0 | } |
2651 | 148 | inline bool Document::_internal_standalone() const { |
2652 | 148 | ::google::protobuf::internal::TSanRead(&_impl_); |
2653 | 148 | return _impl_.standalone_; |
2654 | 148 | } |
2655 | 0 | inline void Document::_internal_set_standalone(bool value) { |
2656 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2657 | 0 | _impl_.standalone_ = value; |
2658 | 0 | } |
2659 | | |
2660 | | // repeated .protobuf_mutator.xml.Misk misk1 = 4; |
2661 | 32.5k | inline int Document::_internal_misk1_size() const { |
2662 | 32.5k | return _internal_misk1().size(); |
2663 | 32.5k | } |
2664 | 32.5k | inline int Document::misk1_size() const { |
2665 | 32.5k | return _internal_misk1_size(); |
2666 | 32.5k | } |
2667 | 0 | inline void Document::clear_misk1() { |
2668 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2669 | 0 | _impl_.misk1_.Clear(); |
2670 | 0 | } |
2671 | | inline ::protobuf_mutator::xml::Misk* Document::mutable_misk1(int index) |
2672 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2673 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Document.misk1) |
2674 | 0 | return _internal_mutable_misk1()->Mutable(index); |
2675 | 0 | } |
2676 | | inline ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>* Document::mutable_misk1() |
2677 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2678 | 0 | // @@protoc_insertion_point(field_mutable_list:protobuf_mutator.xml.Document.misk1) |
2679 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2680 | 0 | return _internal_mutable_misk1(); |
2681 | 0 | } |
2682 | | inline const ::protobuf_mutator::xml::Misk& Document::misk1(int index) const |
2683 | 341 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2684 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Document.misk1) |
2685 | 341 | return _internal_misk1().Get(index); |
2686 | 341 | } |
2687 | 0 | inline ::protobuf_mutator::xml::Misk* Document::add_misk1() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2688 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2689 | 0 | ::protobuf_mutator::xml::Misk* _add = _internal_mutable_misk1()->Add(); |
2690 | 0 | // @@protoc_insertion_point(field_add:protobuf_mutator.xml.Document.misk1) |
2691 | 0 | return _add; |
2692 | 0 | } |
2693 | | inline const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>& Document::misk1() const |
2694 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2695 | 0 | // @@protoc_insertion_point(field_list:protobuf_mutator.xml.Document.misk1) |
2696 | 0 | return _internal_misk1(); |
2697 | 0 | } |
2698 | | inline const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>& |
2699 | 32.8k | Document::_internal_misk1() const { |
2700 | 32.8k | ::google::protobuf::internal::TSanRead(&_impl_); |
2701 | 32.8k | return _impl_.misk1_; |
2702 | 32.8k | } |
2703 | | inline ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>* |
2704 | 0 | Document::_internal_mutable_misk1() { |
2705 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
2706 | 0 | return &_impl_.misk1_; |
2707 | 0 | } |
2708 | | |
2709 | | // optional .protobuf_mutator.xml.DoctypeDecl doctype = 5; |
2710 | 32.1k | inline bool Document::has_doctype() const { |
2711 | 32.1k | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
2712 | 32.1k | PROTOBUF_ASSUME(!value || _impl_.doctype_ != nullptr); |
2713 | 32.1k | return value; |
2714 | 32.1k | } |
2715 | 0 | inline void Document::clear_doctype() { |
2716 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2717 | 0 | if (_impl_.doctype_ != nullptr) _impl_.doctype_->Clear(); |
2718 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
2719 | 0 | } |
2720 | 13.7k | inline const ::protobuf_mutator::xml::DoctypeDecl& Document::_internal_doctype() const { |
2721 | 13.7k | ::google::protobuf::internal::TSanRead(&_impl_); |
2722 | 13.7k | const ::protobuf_mutator::xml::DoctypeDecl* p = _impl_.doctype_; |
2723 | 13.7k | return p != nullptr ? *p : reinterpret_cast<const ::protobuf_mutator::xml::DoctypeDecl&>(::protobuf_mutator::xml::_DoctypeDecl_default_instance_); |
2724 | 13.7k | } |
2725 | 13.7k | inline const ::protobuf_mutator::xml::DoctypeDecl& Document::doctype() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2726 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Document.doctype) |
2727 | 13.7k | return _internal_doctype(); |
2728 | 13.7k | } |
2729 | 0 | inline void Document::unsafe_arena_set_allocated_doctype(::protobuf_mutator::xml::DoctypeDecl* value) { |
2730 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2731 | 0 | if (GetArena() == nullptr) { |
2732 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.doctype_); |
2733 | 0 | } |
2734 | 0 | _impl_.doctype_ = reinterpret_cast<::protobuf_mutator::xml::DoctypeDecl*>(value); |
2735 | 0 | if (value != nullptr) { |
2736 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
2737 | 0 | } else { |
2738 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
2739 | 0 | } |
2740 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf_mutator.xml.Document.doctype) |
2741 | 0 | } |
2742 | 0 | inline ::protobuf_mutator::xml::DoctypeDecl* Document::release_doctype() { |
2743 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2744 | 0 |
|
2745 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
2746 | 0 | ::protobuf_mutator::xml::DoctypeDecl* released = _impl_.doctype_; |
2747 | 0 | _impl_.doctype_ = nullptr; |
2748 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
2749 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
2750 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
2751 | 0 | if (GetArena() == nullptr) { |
2752 | 0 | delete old; |
2753 | 0 | } |
2754 | 0 | } else { |
2755 | 0 | if (GetArena() != nullptr) { |
2756 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
2757 | 0 | } |
2758 | 0 | } |
2759 | 0 | return released; |
2760 | 0 | } |
2761 | 0 | inline ::protobuf_mutator::xml::DoctypeDecl* Document::unsafe_arena_release_doctype() { |
2762 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2763 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Document.doctype) |
2764 | 0 |
|
2765 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
2766 | 0 | ::protobuf_mutator::xml::DoctypeDecl* temp = _impl_.doctype_; |
2767 | 0 | _impl_.doctype_ = nullptr; |
2768 | 0 | return temp; |
2769 | 0 | } |
2770 | 0 | inline ::protobuf_mutator::xml::DoctypeDecl* Document::_internal_mutable_doctype() { |
2771 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2772 | 0 | if (_impl_.doctype_ == nullptr) { |
2773 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::protobuf_mutator::xml::DoctypeDecl>(GetArena()); |
2774 | 0 | _impl_.doctype_ = reinterpret_cast<::protobuf_mutator::xml::DoctypeDecl*>(p); |
2775 | 0 | } |
2776 | 0 | return _impl_.doctype_; |
2777 | 0 | } |
2778 | 0 | inline ::protobuf_mutator::xml::DoctypeDecl* Document::mutable_doctype() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2779 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
2780 | 0 | ::protobuf_mutator::xml::DoctypeDecl* _msg = _internal_mutable_doctype(); |
2781 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Document.doctype) |
2782 | 0 | return _msg; |
2783 | 0 | } |
2784 | 0 | inline void Document::set_allocated_doctype(::protobuf_mutator::xml::DoctypeDecl* value) { |
2785 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
2786 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2787 | 0 | if (message_arena == nullptr) { |
2788 | 0 | delete (_impl_.doctype_); |
2789 | 0 | } |
2790 | 0 |
|
2791 | 0 | if (value != nullptr) { |
2792 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
2793 | 0 | if (message_arena != submessage_arena) { |
2794 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
2795 | 0 | } |
2796 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
2797 | 0 | } else { |
2798 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
2799 | 0 | } |
2800 | 0 |
|
2801 | 0 | _impl_.doctype_ = reinterpret_cast<::protobuf_mutator::xml::DoctypeDecl*>(value); |
2802 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Document.doctype) |
2803 | 0 | } |
2804 | | |
2805 | | // optional .protobuf_mutator.xml.Element element = 6; |
2806 | 0 | inline bool Document::has_element() const { |
2807 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; |
2808 | 0 | PROTOBUF_ASSUME(!value || _impl_.element_ != nullptr); |
2809 | 0 | return value; |
2810 | 0 | } |
2811 | 0 | inline void Document::clear_element() { |
2812 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2813 | 0 | if (_impl_.element_ != nullptr) _impl_.element_->Clear(); |
2814 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
2815 | 0 | } |
2816 | 32.1k | inline const ::protobuf_mutator::xml::Element& Document::_internal_element() const { |
2817 | 32.1k | ::google::protobuf::internal::TSanRead(&_impl_); |
2818 | 32.1k | const ::protobuf_mutator::xml::Element* p = _impl_.element_; |
2819 | 32.1k | return p != nullptr ? *p : reinterpret_cast<const ::protobuf_mutator::xml::Element&>(::protobuf_mutator::xml::_Element_default_instance_); |
2820 | 32.1k | } |
2821 | 32.1k | inline const ::protobuf_mutator::xml::Element& Document::element() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2822 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Document.element) |
2823 | 32.1k | return _internal_element(); |
2824 | 32.1k | } |
2825 | 0 | inline void Document::unsafe_arena_set_allocated_element(::protobuf_mutator::xml::Element* value) { |
2826 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2827 | 0 | if (GetArena() == nullptr) { |
2828 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.element_); |
2829 | 0 | } |
2830 | 0 | _impl_.element_ = reinterpret_cast<::protobuf_mutator::xml::Element*>(value); |
2831 | 0 | if (value != nullptr) { |
2832 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
2833 | 0 | } else { |
2834 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
2835 | 0 | } |
2836 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf_mutator.xml.Document.element) |
2837 | 0 | } |
2838 | 0 | inline ::protobuf_mutator::xml::Element* Document::release_element() { |
2839 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2840 | 0 |
|
2841 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
2842 | 0 | ::protobuf_mutator::xml::Element* released = _impl_.element_; |
2843 | 0 | _impl_.element_ = nullptr; |
2844 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
2845 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
2846 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
2847 | 0 | if (GetArena() == nullptr) { |
2848 | 0 | delete old; |
2849 | 0 | } |
2850 | 0 | } else { |
2851 | 0 | if (GetArena() != nullptr) { |
2852 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
2853 | 0 | } |
2854 | 0 | } |
2855 | 0 | return released; |
2856 | 0 | } |
2857 | 0 | inline ::protobuf_mutator::xml::Element* Document::unsafe_arena_release_element() { |
2858 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2859 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Document.element) |
2860 | 0 |
|
2861 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
2862 | 0 | ::protobuf_mutator::xml::Element* temp = _impl_.element_; |
2863 | 0 | _impl_.element_ = nullptr; |
2864 | 0 | return temp; |
2865 | 0 | } |
2866 | 0 | inline ::protobuf_mutator::xml::Element* Document::_internal_mutable_element() { |
2867 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2868 | 0 | if (_impl_.element_ == nullptr) { |
2869 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::protobuf_mutator::xml::Element>(GetArena()); |
2870 | 0 | _impl_.element_ = reinterpret_cast<::protobuf_mutator::xml::Element*>(p); |
2871 | 0 | } |
2872 | 0 | return _impl_.element_; |
2873 | 0 | } |
2874 | 0 | inline ::protobuf_mutator::xml::Element* Document::mutable_element() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2875 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
2876 | 0 | ::protobuf_mutator::xml::Element* _msg = _internal_mutable_element(); |
2877 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Document.element) |
2878 | 0 | return _msg; |
2879 | 0 | } |
2880 | 0 | inline void Document::set_allocated_element(::protobuf_mutator::xml::Element* value) { |
2881 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
2882 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2883 | 0 | if (message_arena == nullptr) { |
2884 | 0 | delete (_impl_.element_); |
2885 | 0 | } |
2886 | 0 |
|
2887 | 0 | if (value != nullptr) { |
2888 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
2889 | 0 | if (message_arena != submessage_arena) { |
2890 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
2891 | 0 | } |
2892 | 0 | _impl_._has_bits_[0] |= 0x00000008u; |
2893 | 0 | } else { |
2894 | 0 | _impl_._has_bits_[0] &= ~0x00000008u; |
2895 | 0 | } |
2896 | 0 |
|
2897 | 0 | _impl_.element_ = reinterpret_cast<::protobuf_mutator::xml::Element*>(value); |
2898 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Document.element) |
2899 | 0 | } |
2900 | | |
2901 | | // repeated .protobuf_mutator.xml.Misk misk2 = 7; |
2902 | 33.2k | inline int Document::_internal_misk2_size() const { |
2903 | 33.2k | return _internal_misk2().size(); |
2904 | 33.2k | } |
2905 | 33.2k | inline int Document::misk2_size() const { |
2906 | 33.2k | return _internal_misk2_size(); |
2907 | 33.2k | } |
2908 | 0 | inline void Document::clear_misk2() { |
2909 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2910 | 0 | _impl_.misk2_.Clear(); |
2911 | 0 | } |
2912 | | inline ::protobuf_mutator::xml::Misk* Document::mutable_misk2(int index) |
2913 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2914 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Document.misk2) |
2915 | 0 | return _internal_mutable_misk2()->Mutable(index); |
2916 | 0 | } |
2917 | | inline ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>* Document::mutable_misk2() |
2918 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2919 | 0 | // @@protoc_insertion_point(field_mutable_list:protobuf_mutator.xml.Document.misk2) |
2920 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2921 | 0 | return _internal_mutable_misk2(); |
2922 | 0 | } |
2923 | | inline const ::protobuf_mutator::xml::Misk& Document::misk2(int index) const |
2924 | 1.03k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2925 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Document.misk2) |
2926 | 1.03k | return _internal_misk2().Get(index); |
2927 | 1.03k | } |
2928 | 0 | inline ::protobuf_mutator::xml::Misk* Document::add_misk2() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2929 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2930 | 0 | ::protobuf_mutator::xml::Misk* _add = _internal_mutable_misk2()->Add(); |
2931 | 0 | // @@protoc_insertion_point(field_add:protobuf_mutator.xml.Document.misk2) |
2932 | 0 | return _add; |
2933 | 0 | } |
2934 | | inline const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>& Document::misk2() const |
2935 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2936 | 0 | // @@protoc_insertion_point(field_list:protobuf_mutator.xml.Document.misk2) |
2937 | 0 | return _internal_misk2(); |
2938 | 0 | } |
2939 | | inline const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>& |
2940 | 34.2k | Document::_internal_misk2() const { |
2941 | 34.2k | ::google::protobuf::internal::TSanRead(&_impl_); |
2942 | 34.2k | return _impl_.misk2_; |
2943 | 34.2k | } |
2944 | | inline ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>* |
2945 | 0 | Document::_internal_mutable_misk2() { |
2946 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
2947 | 0 | return &_impl_.misk2_; |
2948 | 0 | } |
2949 | | |
2950 | | // ------------------------------------------------------------------- |
2951 | | |
2952 | | // DoctypeDecl |
2953 | | |
2954 | | // optional string name = 1; |
2955 | 0 | inline bool DoctypeDecl::has_name() const { |
2956 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
2957 | 0 | return value; |
2958 | 0 | } |
2959 | 0 | inline void DoctypeDecl::clear_name() { |
2960 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2961 | 0 | _impl_.name_.ClearToEmpty(); |
2962 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
2963 | 0 | } |
2964 | | inline const std::string& DoctypeDecl::name() const |
2965 | 13.7k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2966 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.DoctypeDecl.name) |
2967 | 13.7k | return _internal_name(); |
2968 | 13.7k | } |
2969 | | template <typename Arg_, typename... Args_> |
2970 | | inline PROTOBUF_ALWAYS_INLINE void DoctypeDecl::set_name(Arg_&& arg, |
2971 | | Args_... args) { |
2972 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
2973 | | _impl_._has_bits_[0] |= 0x00000001u; |
2974 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
2975 | | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.DoctypeDecl.name) |
2976 | | } |
2977 | 0 | inline std::string* DoctypeDecl::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2978 | 0 | std::string* _s = _internal_mutable_name(); |
2979 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.DoctypeDecl.name) |
2980 | 0 | return _s; |
2981 | 0 | } |
2982 | 13.7k | inline const std::string& DoctypeDecl::_internal_name() const { |
2983 | 13.7k | ::google::protobuf::internal::TSanRead(&_impl_); |
2984 | 13.7k | return _impl_.name_.Get(); |
2985 | 13.7k | } |
2986 | 0 | inline void DoctypeDecl::_internal_set_name(const std::string& value) { |
2987 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2988 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2989 | 0 | _impl_.name_.Set(value, GetArena()); |
2990 | 0 | } |
2991 | 0 | inline std::string* DoctypeDecl::_internal_mutable_name() { |
2992 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2993 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
2994 | 0 | return _impl_.name_.Mutable( GetArena()); |
2995 | 0 | } |
2996 | 0 | inline std::string* DoctypeDecl::release_name() { |
2997 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
2998 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.DoctypeDecl.name) |
2999 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
3000 | 0 | return nullptr; |
3001 | 0 | } |
3002 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3003 | 0 | auto* released = _impl_.name_.Release(); |
3004 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
3005 | 0 | _impl_.name_.Set("", GetArena()); |
3006 | 0 | } |
3007 | 0 | return released; |
3008 | 0 | } |
3009 | 0 | inline void DoctypeDecl::set_allocated_name(std::string* value) { |
3010 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3011 | 0 | if (value != nullptr) { |
3012 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3013 | 0 | } else { |
3014 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3015 | 0 | } |
3016 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
3017 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
3018 | 0 | _impl_.name_.Set("", GetArena()); |
3019 | 0 | } |
3020 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.DoctypeDecl.name) |
3021 | 0 | } |
3022 | | |
3023 | | // optional string external_id = 2; |
3024 | 13.7k | inline bool DoctypeDecl::has_external_id() const { |
3025 | 13.7k | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
3026 | 13.7k | return value; |
3027 | 13.7k | } |
3028 | 0 | inline void DoctypeDecl::clear_external_id() { |
3029 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3030 | 0 | _impl_.external_id_.ClearToEmpty(); |
3031 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
3032 | 0 | } |
3033 | | inline const std::string& DoctypeDecl::external_id() const |
3034 | 2.71k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3035 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.DoctypeDecl.external_id) |
3036 | 2.71k | return _internal_external_id(); |
3037 | 2.71k | } |
3038 | | template <typename Arg_, typename... Args_> |
3039 | | inline PROTOBUF_ALWAYS_INLINE void DoctypeDecl::set_external_id(Arg_&& arg, |
3040 | | Args_... args) { |
3041 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
3042 | | _impl_._has_bits_[0] |= 0x00000002u; |
3043 | | _impl_.external_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
3044 | | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.DoctypeDecl.external_id) |
3045 | | } |
3046 | 0 | inline std::string* DoctypeDecl::mutable_external_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3047 | 0 | std::string* _s = _internal_mutable_external_id(); |
3048 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.DoctypeDecl.external_id) |
3049 | 0 | return _s; |
3050 | 0 | } |
3051 | 2.71k | inline const std::string& DoctypeDecl::_internal_external_id() const { |
3052 | 2.71k | ::google::protobuf::internal::TSanRead(&_impl_); |
3053 | 2.71k | return _impl_.external_id_.Get(); |
3054 | 2.71k | } |
3055 | 0 | inline void DoctypeDecl::_internal_set_external_id(const std::string& value) { |
3056 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3057 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
3058 | 0 | _impl_.external_id_.Set(value, GetArena()); |
3059 | 0 | } |
3060 | 0 | inline std::string* DoctypeDecl::_internal_mutable_external_id() { |
3061 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3062 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
3063 | 0 | return _impl_.external_id_.Mutable( GetArena()); |
3064 | 0 | } |
3065 | 0 | inline std::string* DoctypeDecl::release_external_id() { |
3066 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3067 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.DoctypeDecl.external_id) |
3068 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
3069 | 0 | return nullptr; |
3070 | 0 | } |
3071 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
3072 | 0 | auto* released = _impl_.external_id_.Release(); |
3073 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
3074 | 0 | _impl_.external_id_.Set("", GetArena()); |
3075 | 0 | } |
3076 | 0 | return released; |
3077 | 0 | } |
3078 | 0 | inline void DoctypeDecl::set_allocated_external_id(std::string* value) { |
3079 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3080 | 0 | if (value != nullptr) { |
3081 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
3082 | 0 | } else { |
3083 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
3084 | 0 | } |
3085 | 0 | _impl_.external_id_.SetAllocated(value, GetArena()); |
3086 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.external_id_.IsDefault()) { |
3087 | 0 | _impl_.external_id_.Set("", GetArena()); |
3088 | 0 | } |
3089 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.DoctypeDecl.external_id) |
3090 | 0 | } |
3091 | | |
3092 | | // optional string int_subset = 3; |
3093 | 13.7k | inline bool DoctypeDecl::has_int_subset() const { |
3094 | 13.7k | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
3095 | 13.7k | return value; |
3096 | 13.7k | } |
3097 | 0 | inline void DoctypeDecl::clear_int_subset() { |
3098 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3099 | 0 | _impl_.int_subset_.ClearToEmpty(); |
3100 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
3101 | 0 | } |
3102 | | inline const std::string& DoctypeDecl::int_subset() const |
3103 | 5.13k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3104 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.DoctypeDecl.int_subset) |
3105 | 5.13k | return _internal_int_subset(); |
3106 | 5.13k | } |
3107 | | template <typename Arg_, typename... Args_> |
3108 | | inline PROTOBUF_ALWAYS_INLINE void DoctypeDecl::set_int_subset(Arg_&& arg, |
3109 | | Args_... args) { |
3110 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
3111 | | _impl_._has_bits_[0] |= 0x00000004u; |
3112 | | _impl_.int_subset_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
3113 | | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.DoctypeDecl.int_subset) |
3114 | | } |
3115 | 0 | inline std::string* DoctypeDecl::mutable_int_subset() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3116 | 0 | std::string* _s = _internal_mutable_int_subset(); |
3117 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.DoctypeDecl.int_subset) |
3118 | 0 | return _s; |
3119 | 0 | } |
3120 | 5.13k | inline const std::string& DoctypeDecl::_internal_int_subset() const { |
3121 | 5.13k | ::google::protobuf::internal::TSanRead(&_impl_); |
3122 | 5.13k | return _impl_.int_subset_.Get(); |
3123 | 5.13k | } |
3124 | 0 | inline void DoctypeDecl::_internal_set_int_subset(const std::string& value) { |
3125 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3126 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
3127 | 0 | _impl_.int_subset_.Set(value, GetArena()); |
3128 | 0 | } |
3129 | 0 | inline std::string* DoctypeDecl::_internal_mutable_int_subset() { |
3130 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3131 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
3132 | 0 | return _impl_.int_subset_.Mutable( GetArena()); |
3133 | 0 | } |
3134 | 0 | inline std::string* DoctypeDecl::release_int_subset() { |
3135 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3136 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.DoctypeDecl.int_subset) |
3137 | 0 | if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { |
3138 | 0 | return nullptr; |
3139 | 0 | } |
3140 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
3141 | 0 | auto* released = _impl_.int_subset_.Release(); |
3142 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
3143 | 0 | _impl_.int_subset_.Set("", GetArena()); |
3144 | 0 | } |
3145 | 0 | return released; |
3146 | 0 | } |
3147 | 0 | inline void DoctypeDecl::set_allocated_int_subset(std::string* value) { |
3148 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3149 | 0 | if (value != nullptr) { |
3150 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
3151 | 0 | } else { |
3152 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
3153 | 0 | } |
3154 | 0 | _impl_.int_subset_.SetAllocated(value, GetArena()); |
3155 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.int_subset_.IsDefault()) { |
3156 | 0 | _impl_.int_subset_.Set("", GetArena()); |
3157 | 0 | } |
3158 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.DoctypeDecl.int_subset) |
3159 | 0 | } |
3160 | | |
3161 | | // repeated .protobuf_mutator.xml.Misk misk = 4; |
3162 | 14.1k | inline int DoctypeDecl::_internal_misk_size() const { |
3163 | 14.1k | return _internal_misk().size(); |
3164 | 14.1k | } |
3165 | 14.1k | inline int DoctypeDecl::misk_size() const { |
3166 | 14.1k | return _internal_misk_size(); |
3167 | 14.1k | } |
3168 | 0 | inline void DoctypeDecl::clear_misk() { |
3169 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3170 | 0 | _impl_.misk_.Clear(); |
3171 | 0 | } |
3172 | | inline ::protobuf_mutator::xml::Misk* DoctypeDecl::mutable_misk(int index) |
3173 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3174 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.DoctypeDecl.misk) |
3175 | 0 | return _internal_mutable_misk()->Mutable(index); |
3176 | 0 | } |
3177 | | inline ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>* DoctypeDecl::mutable_misk() |
3178 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3179 | 0 | // @@protoc_insertion_point(field_mutable_list:protobuf_mutator.xml.DoctypeDecl.misk) |
3180 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3181 | 0 | return _internal_mutable_misk(); |
3182 | 0 | } |
3183 | | inline const ::protobuf_mutator::xml::Misk& DoctypeDecl::misk(int index) const |
3184 | 394 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3185 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.DoctypeDecl.misk) |
3186 | 394 | return _internal_misk().Get(index); |
3187 | 394 | } |
3188 | 0 | inline ::protobuf_mutator::xml::Misk* DoctypeDecl::add_misk() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3189 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3190 | 0 | ::protobuf_mutator::xml::Misk* _add = _internal_mutable_misk()->Add(); |
3191 | 0 | // @@protoc_insertion_point(field_add:protobuf_mutator.xml.DoctypeDecl.misk) |
3192 | 0 | return _add; |
3193 | 0 | } |
3194 | | inline const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>& DoctypeDecl::misk() const |
3195 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3196 | 0 | // @@protoc_insertion_point(field_list:protobuf_mutator.xml.DoctypeDecl.misk) |
3197 | 0 | return _internal_misk(); |
3198 | 0 | } |
3199 | | inline const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>& |
3200 | 14.5k | DoctypeDecl::_internal_misk() const { |
3201 | 14.5k | ::google::protobuf::internal::TSanRead(&_impl_); |
3202 | 14.5k | return _impl_.misk_; |
3203 | 14.5k | } |
3204 | | inline ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Misk>* |
3205 | 0 | DoctypeDecl::_internal_mutable_misk() { |
3206 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
3207 | 0 | return &_impl_.misk_; |
3208 | 0 | } |
3209 | | |
3210 | | // ------------------------------------------------------------------- |
3211 | | |
3212 | | // Misk |
3213 | | |
3214 | | // .protobuf_mutator.xml.Pi pi = 1; |
3215 | 1.77k | inline bool Misk::has_pi() const { |
3216 | 1.77k | return __case() == kPi; |
3217 | 1.77k | } |
3218 | 0 | inline bool Misk::_internal_has_pi() const { |
3219 | 0 | return __case() == kPi; |
3220 | 0 | } |
3221 | 0 | inline void Misk::set_has_pi() { |
3222 | 0 | _impl_._oneof_case_[0] = kPi; |
3223 | 0 | } |
3224 | 0 | inline void Misk::clear_pi() { |
3225 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3226 | 0 | if (__case() == kPi) { |
3227 | 0 | if (GetArena() == nullptr) { |
3228 | 0 | delete _impl_.__.pi_; |
3229 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
3230 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.__.pi_); |
3231 | 0 | } |
3232 | 0 | clear_has__(); |
3233 | 0 | } |
3234 | 0 | } |
3235 | 0 | inline ::protobuf_mutator::xml::Pi* Misk::release_pi() { |
3236 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Misk.pi) |
3237 | 0 | if (__case() == kPi) { |
3238 | 0 | clear_has__(); |
3239 | 0 | auto* temp = _impl_.__.pi_; |
3240 | 0 | if (GetArena() != nullptr) { |
3241 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
3242 | 0 | } |
3243 | 0 | _impl_.__.pi_ = nullptr; |
3244 | 0 | return temp; |
3245 | 0 | } else { |
3246 | 0 | return nullptr; |
3247 | 0 | } |
3248 | 0 | } |
3249 | 956 | inline const ::protobuf_mutator::xml::Pi& Misk::_internal_pi() const { |
3250 | 956 | return __case() == kPi ? *_impl_.__.pi_ : reinterpret_cast<::protobuf_mutator::xml::Pi&>(::protobuf_mutator::xml::_Pi_default_instance_); |
3251 | 956 | } |
3252 | 956 | inline const ::protobuf_mutator::xml::Pi& Misk::pi() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3253 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Misk.pi) |
3254 | 956 | return _internal_pi(); |
3255 | 956 | } |
3256 | 0 | inline ::protobuf_mutator::xml::Pi* Misk::unsafe_arena_release_pi() { |
3257 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:protobuf_mutator.xml.Misk.pi) |
3258 | 0 | if (__case() == kPi) { |
3259 | 0 | clear_has__(); |
3260 | 0 | auto* temp = _impl_.__.pi_; |
3261 | 0 | _impl_.__.pi_ = nullptr; |
3262 | 0 | return temp; |
3263 | 0 | } else { |
3264 | 0 | return nullptr; |
3265 | 0 | } |
3266 | 0 | } |
3267 | 0 | inline void Misk::unsafe_arena_set_allocated_pi(::protobuf_mutator::xml::Pi* value) { |
3268 | 0 | // We rely on the oneof clear method to free the earlier contents |
3269 | 0 | // of this oneof. We can directly use the pointer we're given to |
3270 | 0 | // set the new value. |
3271 | 0 | clear__(); |
3272 | 0 | if (value) { |
3273 | 0 | set_has_pi(); |
3274 | 0 | _impl_.__.pi_ = value; |
3275 | 0 | } |
3276 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf_mutator.xml.Misk.pi) |
3277 | 0 | } |
3278 | 0 | inline ::protobuf_mutator::xml::Pi* Misk::_internal_mutable_pi() { |
3279 | 0 | if (__case() != kPi) { |
3280 | 0 | clear__(); |
3281 | 0 | set_has_pi(); |
3282 | 0 | _impl_.__.pi_ = |
3283 | 0 | ::google::protobuf::Message::DefaultConstruct<::protobuf_mutator::xml::Pi>(GetArena()); |
3284 | 0 | } |
3285 | 0 | return _impl_.__.pi_; |
3286 | 0 | } |
3287 | 0 | inline ::protobuf_mutator::xml::Pi* Misk::mutable_pi() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3288 | 0 | ::protobuf_mutator::xml::Pi* _msg = _internal_mutable_pi(); |
3289 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Misk.pi) |
3290 | 0 | return _msg; |
3291 | 0 | } |
3292 | | |
3293 | | // string comment = 2; |
3294 | 1.77k | inline bool Misk::has_comment() const { |
3295 | 1.77k | return __case() == kComment; |
3296 | 1.77k | } |
3297 | 0 | inline void Misk::set_has_comment() { |
3298 | 0 | _impl_._oneof_case_[0] = kComment; |
3299 | 0 | } |
3300 | 0 | inline void Misk::clear_comment() { |
3301 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3302 | 0 | if (__case() == kComment) { |
3303 | 0 | _impl_.__.comment_.Destroy(); |
3304 | 0 | clear_has__(); |
3305 | 0 | } |
3306 | 0 | } |
3307 | | inline const std::string& Misk::comment() const |
3308 | 1.27k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3309 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Misk.comment) |
3310 | 1.27k | return _internal_comment(); |
3311 | 1.27k | } |
3312 | | template <typename Arg_, typename... Args_> |
3313 | | inline PROTOBUF_ALWAYS_INLINE void Misk::set_comment(Arg_&& arg, |
3314 | | Args_... args) { |
3315 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
3316 | | if (__case() != kComment) { |
3317 | | clear__(); |
3318 | | |
3319 | | set_has_comment(); |
3320 | | _impl_.__.comment_.InitDefault(); |
3321 | | } |
3322 | | _impl_.__.comment_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
3323 | | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.Misk.comment) |
3324 | | } |
3325 | 0 | inline std::string* Misk::mutable_comment() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3326 | 0 | std::string* _s = _internal_mutable_comment(); |
3327 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Misk.comment) |
3328 | 0 | return _s; |
3329 | 0 | } |
3330 | 1.27k | inline const std::string& Misk::_internal_comment() const { |
3331 | 1.27k | ::google::protobuf::internal::TSanRead(&_impl_); |
3332 | 1.27k | if (__case() != kComment) { |
3333 | 0 | return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
3334 | 0 | } |
3335 | 1.27k | return _impl_.__.comment_.Get(); |
3336 | 1.27k | } |
3337 | 0 | inline void Misk::_internal_set_comment(const std::string& value) { |
3338 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3339 | 0 | if (__case() != kComment) { |
3340 | 0 | clear__(); |
3341 | 0 |
|
3342 | 0 | set_has_comment(); |
3343 | 0 | _impl_.__.comment_.InitDefault(); |
3344 | 0 | } |
3345 | 0 | _impl_.__.comment_.Set(value, GetArena()); |
3346 | 0 | } |
3347 | 0 | inline std::string* Misk::_internal_mutable_comment() { |
3348 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3349 | 0 | if (__case() != kComment) { |
3350 | 0 | clear__(); |
3351 | 0 |
|
3352 | 0 | set_has_comment(); |
3353 | 0 | _impl_.__.comment_.InitDefault(); |
3354 | 0 | } |
3355 | 0 | return _impl_.__.comment_.Mutable( GetArena()); |
3356 | 0 | } |
3357 | 0 | inline std::string* Misk::release_comment() { |
3358 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3359 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Misk.comment) |
3360 | 0 | if (__case() != kComment) { |
3361 | 0 | return nullptr; |
3362 | 0 | } |
3363 | 0 | clear_has__(); |
3364 | 0 | return _impl_.__.comment_.Release(); |
3365 | 0 | } |
3366 | 0 | inline void Misk::set_allocated_comment(std::string* value) { |
3367 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3368 | 0 | if (has__()) { |
3369 | 0 | clear__(); |
3370 | 0 | } |
3371 | 0 | if (value != nullptr) { |
3372 | 0 | set_has_comment(); |
3373 | 0 | _impl_.__.comment_.InitAllocated(value, GetArena()); |
3374 | 0 | } |
3375 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Misk.comment) |
3376 | 0 | } |
3377 | | |
3378 | 1.77k | inline bool Misk::has__() const { |
3379 | 1.77k | return __case() != __NOT_SET; |
3380 | 1.77k | } |
3381 | 0 | inline void Misk::clear_has__() { |
3382 | 0 | _impl_._oneof_case_[0] = __NOT_SET; |
3383 | 0 | } |
3384 | 9.29k | inline Misk::Case Misk::__case() const { |
3385 | 9.29k | return Misk::Case(_impl_._oneof_case_[0]); |
3386 | 9.29k | } |
3387 | | // ------------------------------------------------------------------- |
3388 | | |
3389 | | // Element |
3390 | | |
3391 | | // optional .protobuf_mutator.xml.Tag tag = 1; |
3392 | 0 | inline bool Element::has_tag() const { |
3393 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
3394 | 0 | PROTOBUF_ASSUME(!value || _impl_.tag_ != nullptr); |
3395 | 0 | return value; |
3396 | 0 | } |
3397 | 0 | inline void Element::clear_tag() { |
3398 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3399 | 0 | if (_impl_.tag_ != nullptr) _impl_.tag_->Clear(); |
3400 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3401 | 0 | } |
3402 | 68.2k | inline const ::protobuf_mutator::xml::Tag& Element::_internal_tag() const { |
3403 | 68.2k | ::google::protobuf::internal::TSanRead(&_impl_); |
3404 | 68.2k | const ::protobuf_mutator::xml::Tag* p = _impl_.tag_; |
3405 | 68.2k | return p != nullptr ? *p : reinterpret_cast<const ::protobuf_mutator::xml::Tag&>(::protobuf_mutator::xml::_Tag_default_instance_); |
3406 | 68.2k | } |
3407 | 68.2k | inline const ::protobuf_mutator::xml::Tag& Element::tag() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3408 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Element.tag) |
3409 | 68.2k | return _internal_tag(); |
3410 | 68.2k | } |
3411 | 0 | inline void Element::unsafe_arena_set_allocated_tag(::protobuf_mutator::xml::Tag* value) { |
3412 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3413 | 0 | if (GetArena() == nullptr) { |
3414 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.tag_); |
3415 | 0 | } |
3416 | 0 | _impl_.tag_ = reinterpret_cast<::protobuf_mutator::xml::Tag*>(value); |
3417 | 0 | if (value != nullptr) { |
3418 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3419 | 0 | } else { |
3420 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3421 | 0 | } |
3422 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf_mutator.xml.Element.tag) |
3423 | 0 | } |
3424 | 0 | inline ::protobuf_mutator::xml::Tag* Element::release_tag() { |
3425 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3426 | 0 |
|
3427 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3428 | 0 | ::protobuf_mutator::xml::Tag* released = _impl_.tag_; |
3429 | 0 | _impl_.tag_ = nullptr; |
3430 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
3431 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
3432 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
3433 | 0 | if (GetArena() == nullptr) { |
3434 | 0 | delete old; |
3435 | 0 | } |
3436 | 0 | } else { |
3437 | 0 | if (GetArena() != nullptr) { |
3438 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
3439 | 0 | } |
3440 | 0 | } |
3441 | 0 | return released; |
3442 | 0 | } |
3443 | 0 | inline ::protobuf_mutator::xml::Tag* Element::unsafe_arena_release_tag() { |
3444 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3445 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Element.tag) |
3446 | 0 |
|
3447 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3448 | 0 | ::protobuf_mutator::xml::Tag* temp = _impl_.tag_; |
3449 | 0 | _impl_.tag_ = nullptr; |
3450 | 0 | return temp; |
3451 | 0 | } |
3452 | 0 | inline ::protobuf_mutator::xml::Tag* Element::_internal_mutable_tag() { |
3453 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3454 | 0 | if (_impl_.tag_ == nullptr) { |
3455 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::protobuf_mutator::xml::Tag>(GetArena()); |
3456 | 0 | _impl_.tag_ = reinterpret_cast<::protobuf_mutator::xml::Tag*>(p); |
3457 | 0 | } |
3458 | 0 | return _impl_.tag_; |
3459 | 0 | } |
3460 | 0 | inline ::protobuf_mutator::xml::Tag* Element::mutable_tag() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3461 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3462 | 0 | ::protobuf_mutator::xml::Tag* _msg = _internal_mutable_tag(); |
3463 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Element.tag) |
3464 | 0 | return _msg; |
3465 | 0 | } |
3466 | 0 | inline void Element::set_allocated_tag(::protobuf_mutator::xml::Tag* value) { |
3467 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
3468 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3469 | 0 | if (message_arena == nullptr) { |
3470 | 0 | delete (_impl_.tag_); |
3471 | 0 | } |
3472 | 0 |
|
3473 | 0 | if (value != nullptr) { |
3474 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
3475 | 0 | if (message_arena != submessage_arena) { |
3476 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
3477 | 0 | } |
3478 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3479 | 0 | } else { |
3480 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3481 | 0 | } |
3482 | 0 |
|
3483 | 0 | _impl_.tag_ = reinterpret_cast<::protobuf_mutator::xml::Tag*>(value); |
3484 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Element.tag) |
3485 | 0 | } |
3486 | | |
3487 | | // repeated .protobuf_mutator.xml.Content content = 2; |
3488 | 45.7k | inline int Element::_internal_content_size() const { |
3489 | 45.7k | return _internal_content().size(); |
3490 | 45.7k | } |
3491 | 45.7k | inline int Element::content_size() const { |
3492 | 45.7k | return _internal_content_size(); |
3493 | 45.7k | } |
3494 | 0 | inline void Element::clear_content() { |
3495 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3496 | 0 | _impl_.content_.Clear(); |
3497 | 0 | } |
3498 | | inline ::protobuf_mutator::xml::Content* Element::mutable_content(int index) |
3499 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3500 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Element.content) |
3501 | 0 | return _internal_mutable_content()->Mutable(index); |
3502 | 0 | } |
3503 | | inline ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Content>* Element::mutable_content() |
3504 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3505 | 0 | // @@protoc_insertion_point(field_mutable_list:protobuf_mutator.xml.Element.content) |
3506 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3507 | 0 | return _internal_mutable_content(); |
3508 | 0 | } |
3509 | | inline const ::protobuf_mutator::xml::Content& Element::content(int index) const |
3510 | 6.69k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3511 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Element.content) |
3512 | 6.69k | return _internal_content().Get(index); |
3513 | 6.69k | } |
3514 | 0 | inline ::protobuf_mutator::xml::Content* Element::add_content() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3515 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3516 | 0 | ::protobuf_mutator::xml::Content* _add = _internal_mutable_content()->Add(); |
3517 | 0 | // @@protoc_insertion_point(field_add:protobuf_mutator.xml.Element.content) |
3518 | 0 | return _add; |
3519 | 0 | } |
3520 | | inline const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Content>& Element::content() const |
3521 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3522 | 0 | // @@protoc_insertion_point(field_list:protobuf_mutator.xml.Element.content) |
3523 | 0 | return _internal_content(); |
3524 | 0 | } |
3525 | | inline const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Content>& |
3526 | 52.4k | Element::_internal_content() const { |
3527 | 52.4k | ::google::protobuf::internal::TSanRead(&_impl_); |
3528 | 52.4k | return _impl_.content_; |
3529 | 52.4k | } |
3530 | | inline ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Content>* |
3531 | 0 | Element::_internal_mutable_content() { |
3532 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
3533 | 0 | return &_impl_.content_; |
3534 | 0 | } |
3535 | | |
3536 | | // ------------------------------------------------------------------- |
3537 | | |
3538 | | // Tag |
3539 | | |
3540 | | // optional string name = 1; |
3541 | 0 | inline bool Tag::has_name() const { |
3542 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
3543 | 0 | return value; |
3544 | 0 | } |
3545 | 0 | inline void Tag::clear_name() { |
3546 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3547 | 0 | _impl_.name_.ClearToEmpty(); |
3548 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3549 | 0 | } |
3550 | | inline const std::string& Tag::name() const |
3551 | 32.8k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3552 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Tag.name) |
3553 | 32.8k | return _internal_name(); |
3554 | 32.8k | } |
3555 | | template <typename Arg_, typename... Args_> |
3556 | | inline PROTOBUF_ALWAYS_INLINE void Tag::set_name(Arg_&& arg, |
3557 | | Args_... args) { |
3558 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
3559 | | _impl_._has_bits_[0] |= 0x00000001u; |
3560 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
3561 | | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.Tag.name) |
3562 | | } |
3563 | 0 | inline std::string* Tag::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3564 | 0 | std::string* _s = _internal_mutable_name(); |
3565 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Tag.name) |
3566 | 0 | return _s; |
3567 | 0 | } |
3568 | 32.8k | inline const std::string& Tag::_internal_name() const { |
3569 | 32.8k | ::google::protobuf::internal::TSanRead(&_impl_); |
3570 | 32.8k | return _impl_.name_.Get(); |
3571 | 32.8k | } |
3572 | 0 | inline void Tag::_internal_set_name(const std::string& value) { |
3573 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3574 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3575 | 0 | _impl_.name_.Set(value, GetArena()); |
3576 | 0 | } |
3577 | 0 | inline std::string* Tag::_internal_mutable_name() { |
3578 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3579 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3580 | 0 | return _impl_.name_.Mutable( GetArena()); |
3581 | 0 | } |
3582 | 0 | inline std::string* Tag::release_name() { |
3583 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3584 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Tag.name) |
3585 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
3586 | 0 | return nullptr; |
3587 | 0 | } |
3588 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3589 | 0 | auto* released = _impl_.name_.Release(); |
3590 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
3591 | 0 | _impl_.name_.Set("", GetArena()); |
3592 | 0 | } |
3593 | 0 | return released; |
3594 | 0 | } |
3595 | 0 | inline void Tag::set_allocated_name(std::string* value) { |
3596 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3597 | 0 | if (value != nullptr) { |
3598 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3599 | 0 | } else { |
3600 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3601 | 0 | } |
3602 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
3603 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
3604 | 0 | _impl_.name_.Set("", GetArena()); |
3605 | 0 | } |
3606 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Tag.name) |
3607 | 0 | } |
3608 | | |
3609 | | // repeated .protobuf_mutator.xml.Attribute attribute = 2; |
3610 | 33.7k | inline int Tag::_internal_attribute_size() const { |
3611 | 33.7k | return _internal_attribute().size(); |
3612 | 33.7k | } |
3613 | 33.7k | inline int Tag::attribute_size() const { |
3614 | 33.7k | return _internal_attribute_size(); |
3615 | 33.7k | } |
3616 | 0 | inline void Tag::clear_attribute() { |
3617 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3618 | 0 | _impl_.attribute_.Clear(); |
3619 | 0 | } |
3620 | | inline ::protobuf_mutator::xml::Attribute* Tag::mutable_attribute(int index) |
3621 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3622 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Tag.attribute) |
3623 | 0 | return _internal_mutable_attribute()->Mutable(index); |
3624 | 0 | } |
3625 | | inline ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Attribute>* Tag::mutable_attribute() |
3626 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3627 | 0 | // @@protoc_insertion_point(field_mutable_list:protobuf_mutator.xml.Tag.attribute) |
3628 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3629 | 0 | return _internal_mutable_attribute(); |
3630 | 0 | } |
3631 | | inline const ::protobuf_mutator::xml::Attribute& Tag::attribute(int index) const |
3632 | 1.75k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3633 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Tag.attribute) |
3634 | 1.75k | return _internal_attribute().Get(index); |
3635 | 1.75k | } |
3636 | 0 | inline ::protobuf_mutator::xml::Attribute* Tag::add_attribute() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3637 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3638 | 0 | ::protobuf_mutator::xml::Attribute* _add = _internal_mutable_attribute()->Add(); |
3639 | 0 | // @@protoc_insertion_point(field_add:protobuf_mutator.xml.Tag.attribute) |
3640 | 0 | return _add; |
3641 | 0 | } |
3642 | | inline const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Attribute>& Tag::attribute() const |
3643 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3644 | 0 | // @@protoc_insertion_point(field_list:protobuf_mutator.xml.Tag.attribute) |
3645 | 0 | return _internal_attribute(); |
3646 | 0 | } |
3647 | | inline const ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Attribute>& |
3648 | 35.4k | Tag::_internal_attribute() const { |
3649 | 35.4k | ::google::protobuf::internal::TSanRead(&_impl_); |
3650 | 35.4k | return _impl_.attribute_; |
3651 | 35.4k | } |
3652 | | inline ::google::protobuf::RepeatedPtrField<::protobuf_mutator::xml::Attribute>* |
3653 | 0 | Tag::_internal_mutable_attribute() { |
3654 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
3655 | 0 | return &_impl_.attribute_; |
3656 | 0 | } |
3657 | | |
3658 | | // ------------------------------------------------------------------- |
3659 | | |
3660 | | // Reference |
3661 | | |
3662 | | // optional string name = 1; |
3663 | 0 | inline bool Reference::has_name() const { |
3664 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
3665 | 0 | return value; |
3666 | 0 | } |
3667 | 0 | inline void Reference::clear_name() { |
3668 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3669 | 0 | _impl_.name_.ClearToEmpty(); |
3670 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3671 | 0 | } |
3672 | | inline const std::string& Reference::name() const |
3673 | 36 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3674 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Reference.name) |
3675 | 36 | return _internal_name(); |
3676 | 36 | } |
3677 | | template <typename Arg_, typename... Args_> |
3678 | | inline PROTOBUF_ALWAYS_INLINE void Reference::set_name(Arg_&& arg, |
3679 | | Args_... args) { |
3680 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
3681 | | _impl_._has_bits_[0] |= 0x00000001u; |
3682 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
3683 | | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.Reference.name) |
3684 | | } |
3685 | 0 | inline std::string* Reference::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3686 | 0 | std::string* _s = _internal_mutable_name(); |
3687 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Reference.name) |
3688 | 0 | return _s; |
3689 | 0 | } |
3690 | 36 | inline const std::string& Reference::_internal_name() const { |
3691 | 36 | ::google::protobuf::internal::TSanRead(&_impl_); |
3692 | 36 | return _impl_.name_.Get(); |
3693 | 36 | } |
3694 | 0 | inline void Reference::_internal_set_name(const std::string& value) { |
3695 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3696 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3697 | 0 | _impl_.name_.Set(value, GetArena()); |
3698 | 0 | } |
3699 | 0 | inline std::string* Reference::_internal_mutable_name() { |
3700 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3701 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3702 | 0 | return _impl_.name_.Mutable( GetArena()); |
3703 | 0 | } |
3704 | 0 | inline std::string* Reference::release_name() { |
3705 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3706 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Reference.name) |
3707 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
3708 | 0 | return nullptr; |
3709 | 0 | } |
3710 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3711 | 0 | auto* released = _impl_.name_.Release(); |
3712 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
3713 | 0 | _impl_.name_.Set("", GetArena()); |
3714 | 0 | } |
3715 | 0 | return released; |
3716 | 0 | } |
3717 | 0 | inline void Reference::set_allocated_name(std::string* value) { |
3718 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3719 | 0 | if (value != nullptr) { |
3720 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3721 | 0 | } else { |
3722 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3723 | 0 | } |
3724 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
3725 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
3726 | 0 | _impl_.name_.Set("", GetArena()); |
3727 | 0 | } |
3728 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Reference.name) |
3729 | 0 | } |
3730 | | |
3731 | | // optional bool entry = 2; |
3732 | 0 | inline bool Reference::has_entry() const { |
3733 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
3734 | 0 | return value; |
3735 | 0 | } |
3736 | 0 | inline void Reference::clear_entry() { |
3737 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3738 | 0 | _impl_.entry_ = false; |
3739 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
3740 | 0 | } |
3741 | 36 | inline bool Reference::entry() const { |
3742 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Reference.entry) |
3743 | 36 | return _internal_entry(); |
3744 | 36 | } |
3745 | 0 | inline void Reference::set_entry(bool value) { |
3746 | 0 | _internal_set_entry(value); |
3747 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
3748 | 0 | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.Reference.entry) |
3749 | 0 | } |
3750 | 36 | inline bool Reference::_internal_entry() const { |
3751 | 36 | ::google::protobuf::internal::TSanRead(&_impl_); |
3752 | 36 | return _impl_.entry_; |
3753 | 36 | } |
3754 | 0 | inline void Reference::_internal_set_entry(bool value) { |
3755 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3756 | 0 | _impl_.entry_ = value; |
3757 | 0 | } |
3758 | | |
3759 | | // ------------------------------------------------------------------- |
3760 | | |
3761 | | // Pi |
3762 | | |
3763 | | // optional string target = 1; |
3764 | 0 | inline bool Pi::has_target() const { |
3765 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
3766 | 0 | return value; |
3767 | 0 | } |
3768 | 0 | inline void Pi::clear_target() { |
3769 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3770 | 0 | _impl_.target_.ClearToEmpty(); |
3771 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3772 | 0 | } |
3773 | | inline const std::string& Pi::target() const |
3774 | 478 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3775 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Pi.target) |
3776 | 478 | return _internal_target(); |
3777 | 478 | } |
3778 | | template <typename Arg_, typename... Args_> |
3779 | | inline PROTOBUF_ALWAYS_INLINE void Pi::set_target(Arg_&& arg, |
3780 | | Args_... args) { |
3781 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
3782 | | _impl_._has_bits_[0] |= 0x00000001u; |
3783 | | _impl_.target_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
3784 | | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.Pi.target) |
3785 | | } |
3786 | 0 | inline std::string* Pi::mutable_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3787 | 0 | std::string* _s = _internal_mutable_target(); |
3788 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Pi.target) |
3789 | 0 | return _s; |
3790 | 0 | } |
3791 | 478 | inline const std::string& Pi::_internal_target() const { |
3792 | 478 | ::google::protobuf::internal::TSanRead(&_impl_); |
3793 | 478 | return _impl_.target_.Get(); |
3794 | 478 | } |
3795 | 0 | inline void Pi::_internal_set_target(const std::string& value) { |
3796 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3797 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3798 | 0 | _impl_.target_.Set(value, GetArena()); |
3799 | 0 | } |
3800 | 0 | inline std::string* Pi::_internal_mutable_target() { |
3801 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3802 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3803 | 0 | return _impl_.target_.Mutable( GetArena()); |
3804 | 0 | } |
3805 | 0 | inline std::string* Pi::release_target() { |
3806 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3807 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Pi.target) |
3808 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
3809 | 0 | return nullptr; |
3810 | 0 | } |
3811 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3812 | 0 | auto* released = _impl_.target_.Release(); |
3813 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
3814 | 0 | _impl_.target_.Set("", GetArena()); |
3815 | 0 | } |
3816 | 0 | return released; |
3817 | 0 | } |
3818 | 0 | inline void Pi::set_allocated_target(std::string* value) { |
3819 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3820 | 0 | if (value != nullptr) { |
3821 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
3822 | 0 | } else { |
3823 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
3824 | 0 | } |
3825 | 0 | _impl_.target_.SetAllocated(value, GetArena()); |
3826 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.target_.IsDefault()) { |
3827 | 0 | _impl_.target_.Set("", GetArena()); |
3828 | 0 | } |
3829 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Pi.target) |
3830 | 0 | } |
3831 | | |
3832 | | // optional string data = 2; |
3833 | 0 | inline bool Pi::has_data() const { |
3834 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
3835 | 0 | return value; |
3836 | 0 | } |
3837 | 0 | inline void Pi::clear_data() { |
3838 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3839 | 0 | _impl_.data_.ClearToEmpty(); |
3840 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
3841 | 0 | } |
3842 | | inline const std::string& Pi::data() const |
3843 | 478 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3844 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Pi.data) |
3845 | 478 | return _internal_data(); |
3846 | 478 | } |
3847 | | template <typename Arg_, typename... Args_> |
3848 | | inline PROTOBUF_ALWAYS_INLINE void Pi::set_data(Arg_&& arg, |
3849 | | Args_... args) { |
3850 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
3851 | | _impl_._has_bits_[0] |= 0x00000002u; |
3852 | | _impl_.data_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
3853 | | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.Pi.data) |
3854 | | } |
3855 | 0 | inline std::string* Pi::mutable_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3856 | 0 | std::string* _s = _internal_mutable_data(); |
3857 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Pi.data) |
3858 | 0 | return _s; |
3859 | 0 | } |
3860 | 478 | inline const std::string& Pi::_internal_data() const { |
3861 | 478 | ::google::protobuf::internal::TSanRead(&_impl_); |
3862 | 478 | return _impl_.data_.Get(); |
3863 | 478 | } |
3864 | 0 | inline void Pi::_internal_set_data(const std::string& value) { |
3865 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3866 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
3867 | 0 | _impl_.data_.Set(value, GetArena()); |
3868 | 0 | } |
3869 | 0 | inline std::string* Pi::_internal_mutable_data() { |
3870 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3871 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
3872 | 0 | return _impl_.data_.Mutable( GetArena()); |
3873 | 0 | } |
3874 | 0 | inline std::string* Pi::release_data() { |
3875 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3876 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Pi.data) |
3877 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
3878 | 0 | return nullptr; |
3879 | 0 | } |
3880 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
3881 | 0 | auto* released = _impl_.data_.Release(); |
3882 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
3883 | 0 | _impl_.data_.Set("", GetArena()); |
3884 | 0 | } |
3885 | 0 | return released; |
3886 | 0 | } |
3887 | 0 | inline void Pi::set_allocated_data(std::string* value) { |
3888 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3889 | 0 | if (value != nullptr) { |
3890 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
3891 | 0 | } else { |
3892 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
3893 | 0 | } |
3894 | 0 | _impl_.data_.SetAllocated(value, GetArena()); |
3895 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) { |
3896 | 0 | _impl_.data_.Set("", GetArena()); |
3897 | 0 | } |
3898 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Pi.data) |
3899 | 0 | } |
3900 | | |
3901 | | // ------------------------------------------------------------------- |
3902 | | |
3903 | | // Content |
3904 | | |
3905 | | // string char_data = 1; |
3906 | 6.69k | inline bool Content::has_char_data() const { |
3907 | 6.69k | return __case() == kCharData; |
3908 | 6.69k | } |
3909 | 0 | inline void Content::set_has_char_data() { |
3910 | 0 | _impl_._oneof_case_[0] = kCharData; |
3911 | 0 | } |
3912 | 0 | inline void Content::clear_char_data() { |
3913 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3914 | 0 | if (__case() == kCharData) { |
3915 | 0 | _impl_.__.char_data_.Destroy(); |
3916 | 0 | clear_has__(); |
3917 | 0 | } |
3918 | 0 | } |
3919 | | inline const std::string& Content::char_data() const |
3920 | 606 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3921 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Content.char_data) |
3922 | 606 | return _internal_char_data(); |
3923 | 606 | } |
3924 | | template <typename Arg_, typename... Args_> |
3925 | | inline PROTOBUF_ALWAYS_INLINE void Content::set_char_data(Arg_&& arg, |
3926 | | Args_... args) { |
3927 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
3928 | | if (__case() != kCharData) { |
3929 | | clear__(); |
3930 | | |
3931 | | set_has_char_data(); |
3932 | | _impl_.__.char_data_.InitDefault(); |
3933 | | } |
3934 | | _impl_.__.char_data_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
3935 | | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.Content.char_data) |
3936 | | } |
3937 | 0 | inline std::string* Content::mutable_char_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3938 | 0 | std::string* _s = _internal_mutable_char_data(); |
3939 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Content.char_data) |
3940 | 0 | return _s; |
3941 | 0 | } |
3942 | 606 | inline const std::string& Content::_internal_char_data() const { |
3943 | 606 | ::google::protobuf::internal::TSanRead(&_impl_); |
3944 | 606 | if (__case() != kCharData) { |
3945 | 0 | return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
3946 | 0 | } |
3947 | 606 | return _impl_.__.char_data_.Get(); |
3948 | 606 | } |
3949 | 0 | inline void Content::_internal_set_char_data(const std::string& value) { |
3950 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3951 | 0 | if (__case() != kCharData) { |
3952 | 0 | clear__(); |
3953 | 0 |
|
3954 | 0 | set_has_char_data(); |
3955 | 0 | _impl_.__.char_data_.InitDefault(); |
3956 | 0 | } |
3957 | 0 | _impl_.__.char_data_.Set(value, GetArena()); |
3958 | 0 | } |
3959 | 0 | inline std::string* Content::_internal_mutable_char_data() { |
3960 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3961 | 0 | if (__case() != kCharData) { |
3962 | 0 | clear__(); |
3963 | 0 |
|
3964 | 0 | set_has_char_data(); |
3965 | 0 | _impl_.__.char_data_.InitDefault(); |
3966 | 0 | } |
3967 | 0 | return _impl_.__.char_data_.Mutable( GetArena()); |
3968 | 0 | } |
3969 | 0 | inline std::string* Content::release_char_data() { |
3970 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3971 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Content.char_data) |
3972 | 0 | if (__case() != kCharData) { |
3973 | 0 | return nullptr; |
3974 | 0 | } |
3975 | 0 | clear_has__(); |
3976 | 0 | return _impl_.__.char_data_.Release(); |
3977 | 0 | } |
3978 | 0 | inline void Content::set_allocated_char_data(std::string* value) { |
3979 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
3980 | 0 | if (has__()) { |
3981 | 0 | clear__(); |
3982 | 0 | } |
3983 | 0 | if (value != nullptr) { |
3984 | 0 | set_has_char_data(); |
3985 | 0 | _impl_.__.char_data_.InitAllocated(value, GetArena()); |
3986 | 0 | } |
3987 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Content.char_data) |
3988 | 0 | } |
3989 | | |
3990 | | // .protobuf_mutator.xml.Element element = 2; |
3991 | 6.69k | inline bool Content::has_element() const { |
3992 | 6.69k | return __case() == kElement; |
3993 | 6.69k | } |
3994 | 0 | inline bool Content::_internal_has_element() const { |
3995 | 0 | return __case() == kElement; |
3996 | 0 | } |
3997 | 0 | inline void Content::set_has_element() { |
3998 | 0 | _impl_._oneof_case_[0] = kElement; |
3999 | 0 | } |
4000 | 0 | inline void Content::clear_element() { |
4001 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4002 | 0 | if (__case() == kElement) { |
4003 | 0 | if (GetArena() == nullptr) { |
4004 | 0 | delete _impl_.__.element_; |
4005 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
4006 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.__.element_); |
4007 | 0 | } |
4008 | 0 | clear_has__(); |
4009 | 0 | } |
4010 | 0 | } |
4011 | 0 | inline ::protobuf_mutator::xml::Element* Content::release_element() { |
4012 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Content.element) |
4013 | 0 | if (__case() == kElement) { |
4014 | 0 | clear_has__(); |
4015 | 0 | auto* temp = _impl_.__.element_; |
4016 | 0 | if (GetArena() != nullptr) { |
4017 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
4018 | 0 | } |
4019 | 0 | _impl_.__.element_ = nullptr; |
4020 | 0 | return temp; |
4021 | 0 | } else { |
4022 | 0 | return nullptr; |
4023 | 0 | } |
4024 | 0 | } |
4025 | 630 | inline const ::protobuf_mutator::xml::Element& Content::_internal_element() const { |
4026 | 630 | return __case() == kElement ? *_impl_.__.element_ : reinterpret_cast<::protobuf_mutator::xml::Element&>(::protobuf_mutator::xml::_Element_default_instance_); |
4027 | 630 | } |
4028 | 630 | inline const ::protobuf_mutator::xml::Element& Content::element() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4029 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Content.element) |
4030 | 630 | return _internal_element(); |
4031 | 630 | } |
4032 | 0 | inline ::protobuf_mutator::xml::Element* Content::unsafe_arena_release_element() { |
4033 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:protobuf_mutator.xml.Content.element) |
4034 | 0 | if (__case() == kElement) { |
4035 | 0 | clear_has__(); |
4036 | 0 | auto* temp = _impl_.__.element_; |
4037 | 0 | _impl_.__.element_ = nullptr; |
4038 | 0 | return temp; |
4039 | 0 | } else { |
4040 | 0 | return nullptr; |
4041 | 0 | } |
4042 | 0 | } |
4043 | 0 | inline void Content::unsafe_arena_set_allocated_element(::protobuf_mutator::xml::Element* value) { |
4044 | 0 | // We rely on the oneof clear method to free the earlier contents |
4045 | 0 | // of this oneof. We can directly use the pointer we're given to |
4046 | 0 | // set the new value. |
4047 | 0 | clear__(); |
4048 | 0 | if (value) { |
4049 | 0 | set_has_element(); |
4050 | 0 | _impl_.__.element_ = value; |
4051 | 0 | } |
4052 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf_mutator.xml.Content.element) |
4053 | 0 | } |
4054 | 0 | inline ::protobuf_mutator::xml::Element* Content::_internal_mutable_element() { |
4055 | 0 | if (__case() != kElement) { |
4056 | 0 | clear__(); |
4057 | 0 | set_has_element(); |
4058 | 0 | _impl_.__.element_ = |
4059 | 0 | ::google::protobuf::Message::DefaultConstruct<::protobuf_mutator::xml::Element>(GetArena()); |
4060 | 0 | } |
4061 | 0 | return _impl_.__.element_; |
4062 | 0 | } |
4063 | 0 | inline ::protobuf_mutator::xml::Element* Content::mutable_element() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4064 | 0 | ::protobuf_mutator::xml::Element* _msg = _internal_mutable_element(); |
4065 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Content.element) |
4066 | 0 | return _msg; |
4067 | 0 | } |
4068 | | |
4069 | | // .protobuf_mutator.xml.Reference reference = 3; |
4070 | 6.69k | inline bool Content::has_reference() const { |
4071 | 6.69k | return __case() == kReference; |
4072 | 6.69k | } |
4073 | 0 | inline bool Content::_internal_has_reference() const { |
4074 | 0 | return __case() == kReference; |
4075 | 0 | } |
4076 | 0 | inline void Content::set_has_reference() { |
4077 | 0 | _impl_._oneof_case_[0] = kReference; |
4078 | 0 | } |
4079 | 0 | inline void Content::clear_reference() { |
4080 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4081 | 0 | if (__case() == kReference) { |
4082 | 0 | if (GetArena() == nullptr) { |
4083 | 0 | delete _impl_.__.reference_; |
4084 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
4085 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.__.reference_); |
4086 | 0 | } |
4087 | 0 | clear_has__(); |
4088 | 0 | } |
4089 | 0 | } |
4090 | 0 | inline ::protobuf_mutator::xml::Reference* Content::release_reference() { |
4091 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Content.reference) |
4092 | 0 | if (__case() == kReference) { |
4093 | 0 | clear_has__(); |
4094 | 0 | auto* temp = _impl_.__.reference_; |
4095 | 0 | if (GetArena() != nullptr) { |
4096 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
4097 | 0 | } |
4098 | 0 | _impl_.__.reference_ = nullptr; |
4099 | 0 | return temp; |
4100 | 0 | } else { |
4101 | 0 | return nullptr; |
4102 | 0 | } |
4103 | 0 | } |
4104 | 72 | inline const ::protobuf_mutator::xml::Reference& Content::_internal_reference() const { |
4105 | 72 | return __case() == kReference ? *_impl_.__.reference_ : reinterpret_cast<::protobuf_mutator::xml::Reference&>(::protobuf_mutator::xml::_Reference_default_instance_); |
4106 | 72 | } |
4107 | 72 | inline const ::protobuf_mutator::xml::Reference& Content::reference() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4108 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Content.reference) |
4109 | 72 | return _internal_reference(); |
4110 | 72 | } |
4111 | 0 | inline ::protobuf_mutator::xml::Reference* Content::unsafe_arena_release_reference() { |
4112 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:protobuf_mutator.xml.Content.reference) |
4113 | 0 | if (__case() == kReference) { |
4114 | 0 | clear_has__(); |
4115 | 0 | auto* temp = _impl_.__.reference_; |
4116 | 0 | _impl_.__.reference_ = nullptr; |
4117 | 0 | return temp; |
4118 | 0 | } else { |
4119 | 0 | return nullptr; |
4120 | 0 | } |
4121 | 0 | } |
4122 | 0 | inline void Content::unsafe_arena_set_allocated_reference(::protobuf_mutator::xml::Reference* value) { |
4123 | 0 | // We rely on the oneof clear method to free the earlier contents |
4124 | 0 | // of this oneof. We can directly use the pointer we're given to |
4125 | 0 | // set the new value. |
4126 | 0 | clear__(); |
4127 | 0 | if (value) { |
4128 | 0 | set_has_reference(); |
4129 | 0 | _impl_.__.reference_ = value; |
4130 | 0 | } |
4131 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf_mutator.xml.Content.reference) |
4132 | 0 | } |
4133 | 0 | inline ::protobuf_mutator::xml::Reference* Content::_internal_mutable_reference() { |
4134 | 0 | if (__case() != kReference) { |
4135 | 0 | clear__(); |
4136 | 0 | set_has_reference(); |
4137 | 0 | _impl_.__.reference_ = |
4138 | 0 | ::google::protobuf::Message::DefaultConstruct<::protobuf_mutator::xml::Reference>(GetArena()); |
4139 | 0 | } |
4140 | 0 | return _impl_.__.reference_; |
4141 | 0 | } |
4142 | 0 | inline ::protobuf_mutator::xml::Reference* Content::mutable_reference() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4143 | 0 | ::protobuf_mutator::xml::Reference* _msg = _internal_mutable_reference(); |
4144 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Content.reference) |
4145 | 0 | return _msg; |
4146 | 0 | } |
4147 | | |
4148 | | // string cdsect = 4; |
4149 | 6.69k | inline bool Content::has_cdsect() const { |
4150 | 6.69k | return __case() == kCdsect; |
4151 | 6.69k | } |
4152 | 0 | inline void Content::set_has_cdsect() { |
4153 | 0 | _impl_._oneof_case_[0] = kCdsect; |
4154 | 0 | } |
4155 | 0 | inline void Content::clear_cdsect() { |
4156 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4157 | 0 | if (__case() == kCdsect) { |
4158 | 0 | _impl_.__.cdsect_.Destroy(); |
4159 | 0 | clear_has__(); |
4160 | 0 | } |
4161 | 0 | } |
4162 | | inline const std::string& Content::cdsect() const |
4163 | 353 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4164 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Content.cdsect) |
4165 | 353 | return _internal_cdsect(); |
4166 | 353 | } |
4167 | | template <typename Arg_, typename... Args_> |
4168 | | inline PROTOBUF_ALWAYS_INLINE void Content::set_cdsect(Arg_&& arg, |
4169 | | Args_... args) { |
4170 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
4171 | | if (__case() != kCdsect) { |
4172 | | clear__(); |
4173 | | |
4174 | | set_has_cdsect(); |
4175 | | _impl_.__.cdsect_.InitDefault(); |
4176 | | } |
4177 | | _impl_.__.cdsect_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
4178 | | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.Content.cdsect) |
4179 | | } |
4180 | 0 | inline std::string* Content::mutable_cdsect() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4181 | 0 | std::string* _s = _internal_mutable_cdsect(); |
4182 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Content.cdsect) |
4183 | 0 | return _s; |
4184 | 0 | } |
4185 | 353 | inline const std::string& Content::_internal_cdsect() const { |
4186 | 353 | ::google::protobuf::internal::TSanRead(&_impl_); |
4187 | 353 | if (__case() != kCdsect) { |
4188 | 0 | return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
4189 | 0 | } |
4190 | 353 | return _impl_.__.cdsect_.Get(); |
4191 | 353 | } |
4192 | 0 | inline void Content::_internal_set_cdsect(const std::string& value) { |
4193 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4194 | 0 | if (__case() != kCdsect) { |
4195 | 0 | clear__(); |
4196 | 0 |
|
4197 | 0 | set_has_cdsect(); |
4198 | 0 | _impl_.__.cdsect_.InitDefault(); |
4199 | 0 | } |
4200 | 0 | _impl_.__.cdsect_.Set(value, GetArena()); |
4201 | 0 | } |
4202 | 0 | inline std::string* Content::_internal_mutable_cdsect() { |
4203 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4204 | 0 | if (__case() != kCdsect) { |
4205 | 0 | clear__(); |
4206 | 0 |
|
4207 | 0 | set_has_cdsect(); |
4208 | 0 | _impl_.__.cdsect_.InitDefault(); |
4209 | 0 | } |
4210 | 0 | return _impl_.__.cdsect_.Mutable( GetArena()); |
4211 | 0 | } |
4212 | 0 | inline std::string* Content::release_cdsect() { |
4213 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4214 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Content.cdsect) |
4215 | 0 | if (__case() != kCdsect) { |
4216 | 0 | return nullptr; |
4217 | 0 | } |
4218 | 0 | clear_has__(); |
4219 | 0 | return _impl_.__.cdsect_.Release(); |
4220 | 0 | } |
4221 | 0 | inline void Content::set_allocated_cdsect(std::string* value) { |
4222 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4223 | 0 | if (has__()) { |
4224 | 0 | clear__(); |
4225 | 0 | } |
4226 | 0 | if (value != nullptr) { |
4227 | 0 | set_has_cdsect(); |
4228 | 0 | _impl_.__.cdsect_.InitAllocated(value, GetArena()); |
4229 | 0 | } |
4230 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Content.cdsect) |
4231 | 0 | } |
4232 | | |
4233 | | // .protobuf_mutator.xml.Misk misk = 5; |
4234 | 6.69k | inline bool Content::has_misk() const { |
4235 | 6.69k | return __case() == kMisk; |
4236 | 6.69k | } |
4237 | 0 | inline bool Content::_internal_has_misk() const { |
4238 | 0 | return __case() == kMisk; |
4239 | 0 | } |
4240 | 0 | inline void Content::set_has_misk() { |
4241 | 0 | _impl_._oneof_case_[0] = kMisk; |
4242 | 0 | } |
4243 | 0 | inline void Content::clear_misk() { |
4244 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4245 | 0 | if (__case() == kMisk) { |
4246 | 0 | if (GetArena() == nullptr) { |
4247 | 0 | delete _impl_.__.misk_; |
4248 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
4249 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.__.misk_); |
4250 | 0 | } |
4251 | 0 | clear_has__(); |
4252 | 0 | } |
4253 | 0 | } |
4254 | 0 | inline ::protobuf_mutator::xml::Misk* Content::release_misk() { |
4255 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Content.misk) |
4256 | 0 | if (__case() == kMisk) { |
4257 | 0 | clear_has__(); |
4258 | 0 | auto* temp = _impl_.__.misk_; |
4259 | 0 | if (GetArena() != nullptr) { |
4260 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
4261 | 0 | } |
4262 | 0 | _impl_.__.misk_ = nullptr; |
4263 | 0 | return temp; |
4264 | 0 | } else { |
4265 | 0 | return nullptr; |
4266 | 0 | } |
4267 | 0 | } |
4268 | 9 | inline const ::protobuf_mutator::xml::Misk& Content::_internal_misk() const { |
4269 | 9 | return __case() == kMisk ? *_impl_.__.misk_ : reinterpret_cast<::protobuf_mutator::xml::Misk&>(::protobuf_mutator::xml::_Misk_default_instance_); |
4270 | 9 | } |
4271 | 9 | inline const ::protobuf_mutator::xml::Misk& Content::misk() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4272 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Content.misk) |
4273 | 9 | return _internal_misk(); |
4274 | 9 | } |
4275 | 0 | inline ::protobuf_mutator::xml::Misk* Content::unsafe_arena_release_misk() { |
4276 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:protobuf_mutator.xml.Content.misk) |
4277 | 0 | if (__case() == kMisk) { |
4278 | 0 | clear_has__(); |
4279 | 0 | auto* temp = _impl_.__.misk_; |
4280 | 0 | _impl_.__.misk_ = nullptr; |
4281 | 0 | return temp; |
4282 | 0 | } else { |
4283 | 0 | return nullptr; |
4284 | 0 | } |
4285 | 0 | } |
4286 | 0 | inline void Content::unsafe_arena_set_allocated_misk(::protobuf_mutator::xml::Misk* value) { |
4287 | 0 | // We rely on the oneof clear method to free the earlier contents |
4288 | 0 | // of this oneof. We can directly use the pointer we're given to |
4289 | 0 | // set the new value. |
4290 | 0 | clear__(); |
4291 | 0 | if (value) { |
4292 | 0 | set_has_misk(); |
4293 | 0 | _impl_.__.misk_ = value; |
4294 | 0 | } |
4295 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf_mutator.xml.Content.misk) |
4296 | 0 | } |
4297 | 0 | inline ::protobuf_mutator::xml::Misk* Content::_internal_mutable_misk() { |
4298 | 0 | if (__case() != kMisk) { |
4299 | 0 | clear__(); |
4300 | 0 | set_has_misk(); |
4301 | 0 | _impl_.__.misk_ = |
4302 | 0 | ::google::protobuf::Message::DefaultConstruct<::protobuf_mutator::xml::Misk>(GetArena()); |
4303 | 0 | } |
4304 | 0 | return _impl_.__.misk_; |
4305 | 0 | } |
4306 | 0 | inline ::protobuf_mutator::xml::Misk* Content::mutable_misk() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4307 | 0 | ::protobuf_mutator::xml::Misk* _msg = _internal_mutable_misk(); |
4308 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Content.misk) |
4309 | 0 | return _msg; |
4310 | 0 | } |
4311 | | |
4312 | 6.69k | inline bool Content::has__() const { |
4313 | 6.69k | return __case() != __NOT_SET; |
4314 | 6.69k | } |
4315 | 0 | inline void Content::clear_has__() { |
4316 | 0 | _impl_._oneof_case_[0] = __NOT_SET; |
4317 | 0 | } |
4318 | 43.4k | inline Content::Case Content::__case() const { |
4319 | 43.4k | return Content::Case(_impl_._oneof_case_[0]); |
4320 | 43.4k | } |
4321 | | // ------------------------------------------------------------------- |
4322 | | |
4323 | | // Attribute |
4324 | | |
4325 | | // optional string name = 1; |
4326 | 0 | inline bool Attribute::has_name() const { |
4327 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
4328 | 0 | return value; |
4329 | 0 | } |
4330 | 0 | inline void Attribute::clear_name() { |
4331 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4332 | 0 | _impl_.name_.ClearToEmpty(); |
4333 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
4334 | 0 | } |
4335 | | inline const std::string& Attribute::name() const |
4336 | 877 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4337 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Attribute.name) |
4338 | 877 | return _internal_name(); |
4339 | 877 | } |
4340 | | template <typename Arg_, typename... Args_> |
4341 | | inline PROTOBUF_ALWAYS_INLINE void Attribute::set_name(Arg_&& arg, |
4342 | | Args_... args) { |
4343 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
4344 | | _impl_._has_bits_[0] |= 0x00000001u; |
4345 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
4346 | | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.Attribute.name) |
4347 | | } |
4348 | 0 | inline std::string* Attribute::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4349 | 0 | std::string* _s = _internal_mutable_name(); |
4350 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Attribute.name) |
4351 | 0 | return _s; |
4352 | 0 | } |
4353 | 877 | inline const std::string& Attribute::_internal_name() const { |
4354 | 877 | ::google::protobuf::internal::TSanRead(&_impl_); |
4355 | 877 | return _impl_.name_.Get(); |
4356 | 877 | } |
4357 | 0 | inline void Attribute::_internal_set_name(const std::string& value) { |
4358 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4359 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
4360 | 0 | _impl_.name_.Set(value, GetArena()); |
4361 | 0 | } |
4362 | 0 | inline std::string* Attribute::_internal_mutable_name() { |
4363 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4364 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
4365 | 0 | return _impl_.name_.Mutable( GetArena()); |
4366 | 0 | } |
4367 | 0 | inline std::string* Attribute::release_name() { |
4368 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4369 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Attribute.name) |
4370 | 0 | if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { |
4371 | 0 | return nullptr; |
4372 | 0 | } |
4373 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
4374 | 0 | auto* released = _impl_.name_.Release(); |
4375 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
4376 | 0 | _impl_.name_.Set("", GetArena()); |
4377 | 0 | } |
4378 | 0 | return released; |
4379 | 0 | } |
4380 | 0 | inline void Attribute::set_allocated_name(std::string* value) { |
4381 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4382 | 0 | if (value != nullptr) { |
4383 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
4384 | 0 | } else { |
4385 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
4386 | 0 | } |
4387 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
4388 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
4389 | 0 | _impl_.name_.Set("", GetArena()); |
4390 | 0 | } |
4391 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Attribute.name) |
4392 | 0 | } |
4393 | | |
4394 | | // optional string value = 2; |
4395 | 0 | inline bool Attribute::has_value() const { |
4396 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
4397 | 0 | return value; |
4398 | 0 | } |
4399 | 0 | inline void Attribute::clear_value() { |
4400 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4401 | 0 | _impl_.value_.ClearToEmpty(); |
4402 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
4403 | 0 | } |
4404 | | inline const std::string& Attribute::value() const |
4405 | 877 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4406 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Attribute.value) |
4407 | 877 | return _internal_value(); |
4408 | 877 | } |
4409 | | template <typename Arg_, typename... Args_> |
4410 | | inline PROTOBUF_ALWAYS_INLINE void Attribute::set_value(Arg_&& arg, |
4411 | | Args_... args) { |
4412 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
4413 | | _impl_._has_bits_[0] |= 0x00000002u; |
4414 | | _impl_.value_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
4415 | | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.Attribute.value) |
4416 | | } |
4417 | 0 | inline std::string* Attribute::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4418 | 0 | std::string* _s = _internal_mutable_value(); |
4419 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Attribute.value) |
4420 | 0 | return _s; |
4421 | 0 | } |
4422 | 877 | inline const std::string& Attribute::_internal_value() const { |
4423 | 877 | ::google::protobuf::internal::TSanRead(&_impl_); |
4424 | 877 | return _impl_.value_.Get(); |
4425 | 877 | } |
4426 | 0 | inline void Attribute::_internal_set_value(const std::string& value) { |
4427 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4428 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
4429 | 0 | _impl_.value_.Set(value, GetArena()); |
4430 | 0 | } |
4431 | 0 | inline std::string* Attribute::_internal_mutable_value() { |
4432 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4433 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
4434 | 0 | return _impl_.value_.Mutable( GetArena()); |
4435 | 0 | } |
4436 | 0 | inline std::string* Attribute::release_value() { |
4437 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4438 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Attribute.value) |
4439 | 0 | if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { |
4440 | 0 | return nullptr; |
4441 | 0 | } |
4442 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
4443 | 0 | auto* released = _impl_.value_.Release(); |
4444 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { |
4445 | 0 | _impl_.value_.Set("", GetArena()); |
4446 | 0 | } |
4447 | 0 | return released; |
4448 | 0 | } |
4449 | 0 | inline void Attribute::set_allocated_value(std::string* value) { |
4450 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4451 | 0 | if (value != nullptr) { |
4452 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
4453 | 0 | } else { |
4454 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
4455 | 0 | } |
4456 | 0 | _impl_.value_.SetAllocated(value, GetArena()); |
4457 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.value_.IsDefault()) { |
4458 | 0 | _impl_.value_.Set("", GetArena()); |
4459 | 0 | } |
4460 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Attribute.value) |
4461 | 0 | } |
4462 | | |
4463 | | // ------------------------------------------------------------------- |
4464 | | |
4465 | | // Input |
4466 | | |
4467 | | // optional .protobuf_mutator.xml.Document document = 1; |
4468 | 0 | inline bool Input::has_document() const { |
4469 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
4470 | 0 | PROTOBUF_ASSUME(!value || _impl_.document_ != nullptr); |
4471 | 0 | return value; |
4472 | 0 | } |
4473 | 0 | inline void Input::clear_document() { |
4474 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4475 | 0 | if (_impl_.document_ != nullptr) _impl_.document_->Clear(); |
4476 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
4477 | 0 | } |
4478 | 32.1k | inline const ::protobuf_mutator::xml::Document& Input::_internal_document() const { |
4479 | 32.1k | ::google::protobuf::internal::TSanRead(&_impl_); |
4480 | 32.1k | const ::protobuf_mutator::xml::Document* p = _impl_.document_; |
4481 | 32.1k | return p != nullptr ? *p : reinterpret_cast<const ::protobuf_mutator::xml::Document&>(::protobuf_mutator::xml::_Document_default_instance_); |
4482 | 32.1k | } |
4483 | 32.1k | inline const ::protobuf_mutator::xml::Document& Input::document() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4484 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Input.document) |
4485 | 32.1k | return _internal_document(); |
4486 | 32.1k | } |
4487 | 0 | inline void Input::unsafe_arena_set_allocated_document(::protobuf_mutator::xml::Document* value) { |
4488 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4489 | 0 | if (GetArena() == nullptr) { |
4490 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.document_); |
4491 | 0 | } |
4492 | 0 | _impl_.document_ = reinterpret_cast<::protobuf_mutator::xml::Document*>(value); |
4493 | 0 | if (value != nullptr) { |
4494 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
4495 | 0 | } else { |
4496 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
4497 | 0 | } |
4498 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:protobuf_mutator.xml.Input.document) |
4499 | 0 | } |
4500 | 0 | inline ::protobuf_mutator::xml::Document* Input::release_document() { |
4501 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4502 | 0 |
|
4503 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
4504 | 0 | ::protobuf_mutator::xml::Document* released = _impl_.document_; |
4505 | 0 | _impl_.document_ = nullptr; |
4506 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
4507 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
4508 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
4509 | 0 | if (GetArena() == nullptr) { |
4510 | 0 | delete old; |
4511 | 0 | } |
4512 | 0 | } else { |
4513 | 0 | if (GetArena() != nullptr) { |
4514 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
4515 | 0 | } |
4516 | 0 | } |
4517 | 0 | return released; |
4518 | 0 | } |
4519 | 0 | inline ::protobuf_mutator::xml::Document* Input::unsafe_arena_release_document() { |
4520 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4521 | 0 | // @@protoc_insertion_point(field_release:protobuf_mutator.xml.Input.document) |
4522 | 0 |
|
4523 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
4524 | 0 | ::protobuf_mutator::xml::Document* temp = _impl_.document_; |
4525 | 0 | _impl_.document_ = nullptr; |
4526 | 0 | return temp; |
4527 | 0 | } |
4528 | 0 | inline ::protobuf_mutator::xml::Document* Input::_internal_mutable_document() { |
4529 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4530 | 0 | if (_impl_.document_ == nullptr) { |
4531 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::protobuf_mutator::xml::Document>(GetArena()); |
4532 | 0 | _impl_.document_ = reinterpret_cast<::protobuf_mutator::xml::Document*>(p); |
4533 | 0 | } |
4534 | 0 | return _impl_.document_; |
4535 | 0 | } |
4536 | 0 | inline ::protobuf_mutator::xml::Document* Input::mutable_document() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4537 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
4538 | 0 | ::protobuf_mutator::xml::Document* _msg = _internal_mutable_document(); |
4539 | 0 | // @@protoc_insertion_point(field_mutable:protobuf_mutator.xml.Input.document) |
4540 | 0 | return _msg; |
4541 | 0 | } |
4542 | 0 | inline void Input::set_allocated_document(::protobuf_mutator::xml::Document* value) { |
4543 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
4544 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4545 | 0 | if (message_arena == nullptr) { |
4546 | 0 | delete (_impl_.document_); |
4547 | 0 | } |
4548 | 0 |
|
4549 | 0 | if (value != nullptr) { |
4550 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
4551 | 0 | if (message_arena != submessage_arena) { |
4552 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
4553 | 0 | } |
4554 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
4555 | 0 | } else { |
4556 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
4557 | 0 | } |
4558 | 0 |
|
4559 | 0 | _impl_.document_ = reinterpret_cast<::protobuf_mutator::xml::Document*>(value); |
4560 | 0 | // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Input.document) |
4561 | 0 | } |
4562 | | |
4563 | | // optional uint32 options = 2; |
4564 | 0 | inline bool Input::has_options() const { |
4565 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
4566 | 0 | return value; |
4567 | 0 | } |
4568 | 0 | inline void Input::clear_options() { |
4569 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4570 | 0 | _impl_.options_ = 0u; |
4571 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
4572 | 0 | } |
4573 | 32.1k | inline ::uint32_t Input::options() const { |
4574 | | // @@protoc_insertion_point(field_get:protobuf_mutator.xml.Input.options) |
4575 | 32.1k | return _internal_options(); |
4576 | 32.1k | } |
4577 | 0 | inline void Input::set_options(::uint32_t value) { |
4578 | 0 | _internal_set_options(value); |
4579 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
4580 | 0 | // @@protoc_insertion_point(field_set:protobuf_mutator.xml.Input.options) |
4581 | 0 | } |
4582 | 32.1k | inline ::uint32_t Input::_internal_options() const { |
4583 | 32.1k | ::google::protobuf::internal::TSanRead(&_impl_); |
4584 | 32.1k | return _impl_.options_; |
4585 | 32.1k | } |
4586 | 0 | inline void Input::_internal_set_options(::uint32_t value) { |
4587 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
4588 | 0 | _impl_.options_ = value; |
4589 | 0 | } |
4590 | | |
4591 | | #ifdef __GNUC__ |
4592 | | #pragma GCC diagnostic pop |
4593 | | #endif // __GNUC__ |
4594 | | |
4595 | | // @@protoc_insertion_point(namespace_scope) |
4596 | | } // namespace xml |
4597 | | } // namespace protobuf_mutator |
4598 | | |
4599 | | |
4600 | | // @@protoc_insertion_point(global_scope) |
4601 | | |
4602 | | #include "google/protobuf/port_undef.inc" |
4603 | | |
4604 | | #endif // xml_2eproto_2epb_2eh |