Line | Count | Source (jump to first uncovered line) |
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/generated_enum_reflection.h" |
32 | | #include "google/protobuf/unknown_field_set.h" |
33 | | // @@protoc_insertion_point(includes) |
34 | | |
35 | | // Must be included last. |
36 | | #include "google/protobuf/port_def.inc" |
37 | | |
38 | | #define PROTOBUF_INTERNAL_EXPORT_xml_2eproto |
39 | | |
40 | | namespace google { |
41 | | namespace protobuf { |
42 | | namespace internal { |
43 | | template <typename T> |
44 | | ::absl::string_view GetAnyMessageName(); |
45 | | } // namespace internal |
46 | | } // namespace protobuf |
47 | | } // namespace google |
48 | | |
49 | | // Internal implementation detail -- do not use these members. |
50 | | struct TableStruct_xml_2eproto { |
51 | | static const ::uint32_t offsets[]; |
52 | | }; |
53 | | extern const ::google::protobuf::internal::DescriptorTable |
54 | | descriptor_table_xml_2eproto; |
55 | | namespace xmlProtoFuzzer { |
56 | | class AttDef; |
57 | | struct AttDefDefaultTypeInternal; |
58 | | extern AttDefDefaultTypeInternal _AttDef_default_instance_; |
59 | | class AttListDecl; |
60 | | struct AttListDeclDefaultTypeInternal; |
61 | | extern AttListDeclDefaultTypeInternal _AttListDecl_default_instance_; |
62 | | class AttValue; |
63 | | struct AttValueDefaultTypeInternal; |
64 | | extern AttValueDefaultTypeInternal _AttValue_default_instance_; |
65 | | class AttrListDecl; |
66 | | struct AttrListDeclDefaultTypeInternal; |
67 | | extern AttrListDeclDefaultTypeInternal _AttrListDecl_default_instance_; |
68 | | class AttrType; |
69 | | struct AttrTypeDefaultTypeInternal; |
70 | | extern AttrTypeDefaultTypeInternal _AttrType_default_instance_; |
71 | | class CData; |
72 | | struct CDataDefaultTypeInternal; |
73 | | extern CDataDefaultTypeInternal _CData_default_instance_; |
74 | | class ConditionalSect; |
75 | | struct ConditionalSectDefaultTypeInternal; |
76 | | extern ConditionalSectDefaultTypeInternal _ConditionalSect_default_instance_; |
77 | | class Content; |
78 | | struct ContentDefaultTypeInternal; |
79 | | extern ContentDefaultTypeInternal _Content_default_instance_; |
80 | | class DefaultDecl; |
81 | | struct DefaultDeclDefaultTypeInternal; |
82 | | extern DefaultDeclDefaultTypeInternal _DefaultDecl_default_instance_; |
83 | | class DocTypeDecl; |
84 | | struct DocTypeDeclDefaultTypeInternal; |
85 | | extern DocTypeDeclDefaultTypeInternal _DocTypeDecl_default_instance_; |
86 | | class Element; |
87 | | struct ElementDefaultTypeInternal; |
88 | | extern ElementDefaultTypeInternal _Element_default_instance_; |
89 | | class ElementDecl; |
90 | | struct ElementDeclDefaultTypeInternal; |
91 | | extern ElementDeclDefaultTypeInternal _ElementDecl_default_instance_; |
92 | | class Encodings; |
93 | | struct EncodingsDefaultTypeInternal; |
94 | | extern EncodingsDefaultTypeInternal _Encodings_default_instance_; |
95 | | class EntityDecl; |
96 | | struct EntityDeclDefaultTypeInternal; |
97 | | extern EntityDeclDefaultTypeInternal _EntityDecl_default_instance_; |
98 | | class EntityDef; |
99 | | struct EntityDefDefaultTypeInternal; |
100 | | extern EntityDefDefaultTypeInternal _EntityDef_default_instance_; |
101 | | class EntityValue; |
102 | | struct EntityValueDefaultTypeInternal; |
103 | | extern EntityValueDefaultTypeInternal _EntityValue_default_instance_; |
104 | | class EnumeratedType; |
105 | | struct EnumeratedTypeDefaultTypeInternal; |
106 | | extern EnumeratedTypeDefaultTypeInternal _EnumeratedType_default_instance_; |
107 | | class ExtSubsetDecl; |
108 | | struct ExtSubsetDeclDefaultTypeInternal; |
109 | | extern ExtSubsetDeclDefaultTypeInternal _ExtSubsetDecl_default_instance_; |
110 | | class ExternalId; |
111 | | struct ExternalIdDefaultTypeInternal; |
112 | | extern ExternalIdDefaultTypeInternal _ExternalId_default_instance_; |
113 | | class KeyValue; |
114 | | struct KeyValueDefaultTypeInternal; |
115 | | extern KeyValueDefaultTypeInternal _KeyValue_default_instance_; |
116 | | class MarkupDecl; |
117 | | struct MarkupDeclDefaultTypeInternal; |
118 | | extern MarkupDeclDefaultTypeInternal _MarkupDecl_default_instance_; |
119 | | class Misc; |
120 | | struct MiscDefaultTypeInternal; |
121 | | extern MiscDefaultTypeInternal _Misc_default_instance_; |
122 | | class NDataDecl; |
123 | | struct NDataDeclDefaultTypeInternal; |
124 | | extern NDataDeclDefaultTypeInternal _NDataDecl_default_instance_; |
125 | | class NotationDecl; |
126 | | struct NotationDeclDefaultTypeInternal; |
127 | | extern NotationDeclDefaultTypeInternal _NotationDecl_default_instance_; |
128 | | class OneExtSubsetDecl; |
129 | | struct OneExtSubsetDeclDefaultTypeInternal; |
130 | | extern OneExtSubsetDeclDefaultTypeInternal _OneExtSubsetDecl_default_instance_; |
131 | | class PEDef; |
132 | | struct PEDefDefaultTypeInternal; |
133 | | extern PEDefDefaultTypeInternal _PEDef_default_instance_; |
134 | | class PEReference; |
135 | | struct PEReferenceDefaultTypeInternal; |
136 | | extern PEReferenceDefaultTypeInternal _PEReference_default_instance_; |
137 | | class ProcessingInstruction; |
138 | | struct ProcessingInstructionDefaultTypeInternal; |
139 | | extern ProcessingInstructionDefaultTypeInternal _ProcessingInstruction_default_instance_; |
140 | | class Prolog; |
141 | | struct PrologDefaultTypeInternal; |
142 | | extern PrologDefaultTypeInternal _Prolog_default_instance_; |
143 | | class VersionNum; |
144 | | struct VersionNumDefaultTypeInternal; |
145 | | extern VersionNumDefaultTypeInternal _VersionNum_default_instance_; |
146 | | class XmlDeclaration; |
147 | | struct XmlDeclarationDefaultTypeInternal; |
148 | | extern XmlDeclarationDefaultTypeInternal _XmlDeclaration_default_instance_; |
149 | | class XmlDocument; |
150 | | struct XmlDocumentDefaultTypeInternal; |
151 | | extern XmlDocumentDefaultTypeInternal _XmlDocument_default_instance_; |
152 | | } // namespace xmlProtoFuzzer |
153 | | namespace google { |
154 | | namespace protobuf { |
155 | | } // namespace protobuf |
156 | | } // namespace google |
157 | | |
158 | | namespace xmlProtoFuzzer { |
159 | | enum ElementDecl_ContentSpec : int { |
160 | | ElementDecl_ContentSpec_EMPTY = 0, |
161 | | ElementDecl_ContentSpec_ANY = 1, |
162 | | ElementDecl_ContentSpec_FUZZ = 2, |
163 | | ElementDecl_ContentSpec_MIXED = 3, |
164 | | ElementDecl_ContentSpec_CHILDREN = 4, |
165 | | ElementDecl_ContentSpec_ElementDecl_ContentSpec_INT_MIN_SENTINEL_DO_NOT_USE_ = |
166 | | std::numeric_limits<::int32_t>::min(), |
167 | | ElementDecl_ContentSpec_ElementDecl_ContentSpec_INT_MAX_SENTINEL_DO_NOT_USE_ = |
168 | | std::numeric_limits<::int32_t>::max(), |
169 | | }; |
170 | | |
171 | | bool ElementDecl_ContentSpec_IsValid(int value); |
172 | | extern const uint32_t ElementDecl_ContentSpec_internal_data_[]; |
173 | | constexpr ElementDecl_ContentSpec ElementDecl_ContentSpec_ContentSpec_MIN = static_cast<ElementDecl_ContentSpec>(0); |
174 | | constexpr ElementDecl_ContentSpec ElementDecl_ContentSpec_ContentSpec_MAX = static_cast<ElementDecl_ContentSpec>(4); |
175 | | constexpr int ElementDecl_ContentSpec_ContentSpec_ARRAYSIZE = 4 + 1; |
176 | | const ::google::protobuf::EnumDescriptor* |
177 | | ElementDecl_ContentSpec_descriptor(); |
178 | | template <typename T> |
179 | | const std::string& ElementDecl_ContentSpec_Name(T value) { |
180 | | static_assert(std::is_same<T, ElementDecl_ContentSpec>::value || |
181 | | std::is_integral<T>::value, |
182 | | "Incorrect type passed to ContentSpec_Name()."); |
183 | | return ElementDecl_ContentSpec_Name(static_cast<ElementDecl_ContentSpec>(value)); |
184 | | } |
185 | | template <> |
186 | 0 | inline const std::string& ElementDecl_ContentSpec_Name(ElementDecl_ContentSpec value) { |
187 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<ElementDecl_ContentSpec_descriptor, |
188 | 0 | 0, 4>( |
189 | 0 | static_cast<int>(value)); |
190 | 0 | } |
191 | 0 | inline bool ElementDecl_ContentSpec_Parse(absl::string_view name, ElementDecl_ContentSpec* value) { |
192 | 0 | return ::google::protobuf::internal::ParseNamedEnum<ElementDecl_ContentSpec>( |
193 | 0 | ElementDecl_ContentSpec_descriptor(), name, value); |
194 | 0 | } |
195 | | enum AttrType_Type : int { |
196 | | AttrType_Type_CDATA = 0, |
197 | | AttrType_Type_ID = 1, |
198 | | AttrType_Type_IDREF = 2, |
199 | | AttrType_Type_IDREFS = 3, |
200 | | AttrType_Type_ENTITY = 4, |
201 | | AttrType_Type_ENTITIES = 5, |
202 | | AttrType_Type_NMTOKEN = 6, |
203 | | AttrType_Type_NMTOKENS = 7, |
204 | | AttrType_Type_AttrType_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = |
205 | | std::numeric_limits<::int32_t>::min(), |
206 | | AttrType_Type_AttrType_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = |
207 | | std::numeric_limits<::int32_t>::max(), |
208 | | }; |
209 | | |
210 | | bool AttrType_Type_IsValid(int value); |
211 | | extern const uint32_t AttrType_Type_internal_data_[]; |
212 | | constexpr AttrType_Type AttrType_Type_Type_MIN = static_cast<AttrType_Type>(0); |
213 | | constexpr AttrType_Type AttrType_Type_Type_MAX = static_cast<AttrType_Type>(7); |
214 | | constexpr int AttrType_Type_Type_ARRAYSIZE = 7 + 1; |
215 | | const ::google::protobuf::EnumDescriptor* |
216 | | AttrType_Type_descriptor(); |
217 | | template <typename T> |
218 | | const std::string& AttrType_Type_Name(T value) { |
219 | | static_assert(std::is_same<T, AttrType_Type>::value || |
220 | | std::is_integral<T>::value, |
221 | | "Incorrect type passed to Type_Name()."); |
222 | | return AttrType_Type_Name(static_cast<AttrType_Type>(value)); |
223 | | } |
224 | | template <> |
225 | 0 | inline const std::string& AttrType_Type_Name(AttrType_Type value) { |
226 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<AttrType_Type_descriptor, |
227 | 0 | 0, 7>( |
228 | 0 | static_cast<int>(value)); |
229 | 0 | } |
230 | 0 | inline bool AttrType_Type_Parse(absl::string_view name, AttrType_Type* value) { |
231 | 0 | return ::google::protobuf::internal::ParseNamedEnum<AttrType_Type>( |
232 | 0 | AttrType_Type_descriptor(), name, value); |
233 | 0 | } |
234 | | enum ExternalId_Type : int { |
235 | | ExternalId_Type_SYSTEM = 0, |
236 | | ExternalId_Type_PUBLIC = 1, |
237 | | ExternalId_Type_FUZZ = 2, |
238 | | ExternalId_Type_ExternalId_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = |
239 | | std::numeric_limits<::int32_t>::min(), |
240 | | ExternalId_Type_ExternalId_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = |
241 | | std::numeric_limits<::int32_t>::max(), |
242 | | }; |
243 | | |
244 | | bool ExternalId_Type_IsValid(int value); |
245 | | extern const uint32_t ExternalId_Type_internal_data_[]; |
246 | | constexpr ExternalId_Type ExternalId_Type_Type_MIN = static_cast<ExternalId_Type>(0); |
247 | | constexpr ExternalId_Type ExternalId_Type_Type_MAX = static_cast<ExternalId_Type>(2); |
248 | | constexpr int ExternalId_Type_Type_ARRAYSIZE = 2 + 1; |
249 | | const ::google::protobuf::EnumDescriptor* |
250 | | ExternalId_Type_descriptor(); |
251 | | template <typename T> |
252 | | const std::string& ExternalId_Type_Name(T value) { |
253 | | static_assert(std::is_same<T, ExternalId_Type>::value || |
254 | | std::is_integral<T>::value, |
255 | | "Incorrect type passed to Type_Name()."); |
256 | | return ExternalId_Type_Name(static_cast<ExternalId_Type>(value)); |
257 | | } |
258 | | template <> |
259 | 0 | inline const std::string& ExternalId_Type_Name(ExternalId_Type value) { |
260 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<ExternalId_Type_descriptor, |
261 | 0 | 0, 2>( |
262 | 0 | static_cast<int>(value)); |
263 | 0 | } |
264 | 0 | inline bool ExternalId_Type_Parse(absl::string_view name, ExternalId_Type* value) { |
265 | 0 | return ::google::protobuf::internal::ParseNamedEnum<ExternalId_Type>( |
266 | 0 | ExternalId_Type_descriptor(), name, value); |
267 | 0 | } |
268 | | enum AttValue_Type : int { |
269 | | AttValue_Type_ENTITY = 0, |
270 | | AttValue_Type_CHAR = 1, |
271 | | AttValue_Type_FUZZ = 2, |
272 | | AttValue_Type_AttValue_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = |
273 | | std::numeric_limits<::int32_t>::min(), |
274 | | AttValue_Type_AttValue_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = |
275 | | std::numeric_limits<::int32_t>::max(), |
276 | | }; |
277 | | |
278 | | bool AttValue_Type_IsValid(int value); |
279 | | extern const uint32_t AttValue_Type_internal_data_[]; |
280 | | constexpr AttValue_Type AttValue_Type_Type_MIN = static_cast<AttValue_Type>(0); |
281 | | constexpr AttValue_Type AttValue_Type_Type_MAX = static_cast<AttValue_Type>(2); |
282 | | constexpr int AttValue_Type_Type_ARRAYSIZE = 2 + 1; |
283 | | const ::google::protobuf::EnumDescriptor* |
284 | | AttValue_Type_descriptor(); |
285 | | template <typename T> |
286 | | const std::string& AttValue_Type_Name(T value) { |
287 | | static_assert(std::is_same<T, AttValue_Type>::value || |
288 | | std::is_integral<T>::value, |
289 | | "Incorrect type passed to Type_Name()."); |
290 | | return AttValue_Type_Name(static_cast<AttValue_Type>(value)); |
291 | | } |
292 | | template <> |
293 | 0 | inline const std::string& AttValue_Type_Name(AttValue_Type value) { |
294 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<AttValue_Type_descriptor, |
295 | 0 | 0, 2>( |
296 | 0 | static_cast<int>(value)); |
297 | 0 | } |
298 | 0 | inline bool AttValue_Type_Parse(absl::string_view name, AttValue_Type* value) { |
299 | 0 | return ::google::protobuf::internal::ParseNamedEnum<AttValue_Type>( |
300 | 0 | AttValue_Type_descriptor(), name, value); |
301 | 0 | } |
302 | | enum DefaultDecl_Type : int { |
303 | | DefaultDecl_Type_REQUIRED = 0, |
304 | | DefaultDecl_Type_IMPLIED = 1, |
305 | | DefaultDecl_Type_FIXED = 2, |
306 | | DefaultDecl_Type_FUZZ = 3, |
307 | | DefaultDecl_Type_DefaultDecl_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = |
308 | | std::numeric_limits<::int32_t>::min(), |
309 | | DefaultDecl_Type_DefaultDecl_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = |
310 | | std::numeric_limits<::int32_t>::max(), |
311 | | }; |
312 | | |
313 | | bool DefaultDecl_Type_IsValid(int value); |
314 | | extern const uint32_t DefaultDecl_Type_internal_data_[]; |
315 | | constexpr DefaultDecl_Type DefaultDecl_Type_Type_MIN = static_cast<DefaultDecl_Type>(0); |
316 | | constexpr DefaultDecl_Type DefaultDecl_Type_Type_MAX = static_cast<DefaultDecl_Type>(3); |
317 | | constexpr int DefaultDecl_Type_Type_ARRAYSIZE = 3 + 1; |
318 | | const ::google::protobuf::EnumDescriptor* |
319 | | DefaultDecl_Type_descriptor(); |
320 | | template <typename T> |
321 | | const std::string& DefaultDecl_Type_Name(T value) { |
322 | | static_assert(std::is_same<T, DefaultDecl_Type>::value || |
323 | | std::is_integral<T>::value, |
324 | | "Incorrect type passed to Type_Name()."); |
325 | | return DefaultDecl_Type_Name(static_cast<DefaultDecl_Type>(value)); |
326 | | } |
327 | | template <> |
328 | 0 | inline const std::string& DefaultDecl_Type_Name(DefaultDecl_Type value) { |
329 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<DefaultDecl_Type_descriptor, |
330 | 0 | 0, 3>( |
331 | 0 | static_cast<int>(value)); |
332 | 0 | } |
333 | 0 | inline bool DefaultDecl_Type_Parse(absl::string_view name, DefaultDecl_Type* value) { |
334 | 0 | return ::google::protobuf::internal::ParseNamedEnum<DefaultDecl_Type>( |
335 | 0 | DefaultDecl_Type_descriptor(), name, value); |
336 | 0 | } |
337 | | enum AttDef_Type : int { |
338 | | AttDef_Type_CDATA = 0, |
339 | | AttDef_Type_ID = 1, |
340 | | AttDef_Type_IDREF = 2, |
341 | | AttDef_Type_IDREFS = 3, |
342 | | AttDef_Type_ENTITY = 4, |
343 | | AttDef_Type_ENTITIES = 5, |
344 | | AttDef_Type_NMTOKEN = 6, |
345 | | AttDef_Type_NMTOKENS = 7, |
346 | | AttDef_Type_FUZZ = 8, |
347 | | AttDef_Type_AttDef_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = |
348 | | std::numeric_limits<::int32_t>::min(), |
349 | | AttDef_Type_AttDef_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = |
350 | | std::numeric_limits<::int32_t>::max(), |
351 | | }; |
352 | | |
353 | | bool AttDef_Type_IsValid(int value); |
354 | | extern const uint32_t AttDef_Type_internal_data_[]; |
355 | | constexpr AttDef_Type AttDef_Type_Type_MIN = static_cast<AttDef_Type>(0); |
356 | | constexpr AttDef_Type AttDef_Type_Type_MAX = static_cast<AttDef_Type>(8); |
357 | | constexpr int AttDef_Type_Type_ARRAYSIZE = 8 + 1; |
358 | | const ::google::protobuf::EnumDescriptor* |
359 | | AttDef_Type_descriptor(); |
360 | | template <typename T> |
361 | | const std::string& AttDef_Type_Name(T value) { |
362 | | static_assert(std::is_same<T, AttDef_Type>::value || |
363 | | std::is_integral<T>::value, |
364 | | "Incorrect type passed to Type_Name()."); |
365 | | return AttDef_Type_Name(static_cast<AttDef_Type>(value)); |
366 | | } |
367 | | template <> |
368 | 0 | inline const std::string& AttDef_Type_Name(AttDef_Type value) { |
369 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<AttDef_Type_descriptor, |
370 | 0 | 0, 8>( |
371 | 0 | static_cast<int>(value)); |
372 | 0 | } |
373 | 0 | inline bool AttDef_Type_Parse(absl::string_view name, AttDef_Type* value) { |
374 | 0 | return ::google::protobuf::internal::ParseNamedEnum<AttDef_Type>( |
375 | 0 | AttDef_Type_descriptor(), name, value); |
376 | 0 | } |
377 | | enum EntityValue_Type : int { |
378 | | EntityValue_Type_ENTITY = 0, |
379 | | EntityValue_Type_CHAR = 1, |
380 | | EntityValue_Type_PEREF = 2, |
381 | | EntityValue_Type_FUZZ = 3, |
382 | | EntityValue_Type_EntityValue_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = |
383 | | std::numeric_limits<::int32_t>::min(), |
384 | | EntityValue_Type_EntityValue_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = |
385 | | std::numeric_limits<::int32_t>::max(), |
386 | | }; |
387 | | |
388 | | bool EntityValue_Type_IsValid(int value); |
389 | | extern const uint32_t EntityValue_Type_internal_data_[]; |
390 | | constexpr EntityValue_Type EntityValue_Type_Type_MIN = static_cast<EntityValue_Type>(0); |
391 | | constexpr EntityValue_Type EntityValue_Type_Type_MAX = static_cast<EntityValue_Type>(3); |
392 | | constexpr int EntityValue_Type_Type_ARRAYSIZE = 3 + 1; |
393 | | const ::google::protobuf::EnumDescriptor* |
394 | | EntityValue_Type_descriptor(); |
395 | | template <typename T> |
396 | | const std::string& EntityValue_Type_Name(T value) { |
397 | | static_assert(std::is_same<T, EntityValue_Type>::value || |
398 | | std::is_integral<T>::value, |
399 | | "Incorrect type passed to Type_Name()."); |
400 | | return EntityValue_Type_Name(static_cast<EntityValue_Type>(value)); |
401 | | } |
402 | | template <> |
403 | 0 | inline const std::string& EntityValue_Type_Name(EntityValue_Type value) { |
404 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<EntityValue_Type_descriptor, |
405 | 0 | 0, 3>( |
406 | 0 | static_cast<int>(value)); |
407 | 0 | } |
408 | 0 | inline bool EntityValue_Type_Parse(absl::string_view name, EntityValue_Type* value) { |
409 | 0 | return ::google::protobuf::internal::ParseNamedEnum<EntityValue_Type>( |
410 | 0 | EntityValue_Type_descriptor(), name, value); |
411 | 0 | } |
412 | | enum EntityDecl_Type : int { |
413 | | EntityDecl_Type_GEDECL = 0, |
414 | | EntityDecl_Type_PEDECL = 1, |
415 | | EntityDecl_Type_EntityDecl_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = |
416 | | std::numeric_limits<::int32_t>::min(), |
417 | | EntityDecl_Type_EntityDecl_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = |
418 | | std::numeric_limits<::int32_t>::max(), |
419 | | }; |
420 | | |
421 | | bool EntityDecl_Type_IsValid(int value); |
422 | | extern const uint32_t EntityDecl_Type_internal_data_[]; |
423 | | constexpr EntityDecl_Type EntityDecl_Type_Type_MIN = static_cast<EntityDecl_Type>(0); |
424 | | constexpr EntityDecl_Type EntityDecl_Type_Type_MAX = static_cast<EntityDecl_Type>(1); |
425 | | constexpr int EntityDecl_Type_Type_ARRAYSIZE = 1 + 1; |
426 | | const ::google::protobuf::EnumDescriptor* |
427 | | EntityDecl_Type_descriptor(); |
428 | | template <typename T> |
429 | | const std::string& EntityDecl_Type_Name(T value) { |
430 | | static_assert(std::is_same<T, EntityDecl_Type>::value || |
431 | | std::is_integral<T>::value, |
432 | | "Incorrect type passed to Type_Name()."); |
433 | | return EntityDecl_Type_Name(static_cast<EntityDecl_Type>(value)); |
434 | | } |
435 | | template <> |
436 | 0 | inline const std::string& EntityDecl_Type_Name(EntityDecl_Type value) { |
437 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<EntityDecl_Type_descriptor, |
438 | 0 | 0, 1>( |
439 | 0 | static_cast<int>(value)); |
440 | 0 | } |
441 | 0 | inline bool EntityDecl_Type_Parse(absl::string_view name, EntityDecl_Type* value) { |
442 | 0 | return ::google::protobuf::internal::ParseNamedEnum<EntityDecl_Type>( |
443 | 0 | EntityDecl_Type_descriptor(), name, value); |
444 | 0 | } |
445 | | enum ConditionalSect_Type : int { |
446 | | ConditionalSect_Type_INCLUDE = 0, |
447 | | ConditionalSect_Type_IGNORE = 1, |
448 | | ConditionalSect_Type_FUZZ = 2, |
449 | | ConditionalSect_Type_ConditionalSect_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = |
450 | | std::numeric_limits<::int32_t>::min(), |
451 | | ConditionalSect_Type_ConditionalSect_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = |
452 | | std::numeric_limits<::int32_t>::max(), |
453 | | }; |
454 | | |
455 | | bool ConditionalSect_Type_IsValid(int value); |
456 | | extern const uint32_t ConditionalSect_Type_internal_data_[]; |
457 | | constexpr ConditionalSect_Type ConditionalSect_Type_Type_MIN = static_cast<ConditionalSect_Type>(0); |
458 | | constexpr ConditionalSect_Type ConditionalSect_Type_Type_MAX = static_cast<ConditionalSect_Type>(2); |
459 | | constexpr int ConditionalSect_Type_Type_ARRAYSIZE = 2 + 1; |
460 | | const ::google::protobuf::EnumDescriptor* |
461 | | ConditionalSect_Type_descriptor(); |
462 | | template <typename T> |
463 | | const std::string& ConditionalSect_Type_Name(T value) { |
464 | | static_assert(std::is_same<T, ConditionalSect_Type>::value || |
465 | | std::is_integral<T>::value, |
466 | | "Incorrect type passed to Type_Name()."); |
467 | | return ConditionalSect_Type_Name(static_cast<ConditionalSect_Type>(value)); |
468 | | } |
469 | | template <> |
470 | 0 | inline const std::string& ConditionalSect_Type_Name(ConditionalSect_Type value) { |
471 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<ConditionalSect_Type_descriptor, |
472 | 0 | 0, 2>( |
473 | 0 | static_cast<int>(value)); |
474 | 0 | } |
475 | 0 | inline bool ConditionalSect_Type_Parse(absl::string_view name, ConditionalSect_Type* value) { |
476 | 0 | return ::google::protobuf::internal::ParseNamedEnum<ConditionalSect_Type>( |
477 | 0 | ConditionalSect_Type_descriptor(), name, value); |
478 | 0 | } |
479 | | enum KeyValue_XmlNamespace : int { |
480 | | KeyValue_XmlNamespace_ATTRIBUTES = 0, |
481 | | KeyValue_XmlNamespace_BASE = 1, |
482 | | KeyValue_XmlNamespace_CATALOG = 2, |
483 | | KeyValue_XmlNamespace_ID = 3, |
484 | | KeyValue_XmlNamespace_LANG = 4, |
485 | | KeyValue_XmlNamespace_LINK = 5, |
486 | | KeyValue_XmlNamespace_SPACE = 6, |
487 | | KeyValue_XmlNamespace_SPECIAL = 7, |
488 | | KeyValue_XmlNamespace_TEST = 8, |
489 | | KeyValue_XmlNamespace_FUZZ = 9, |
490 | | KeyValue_XmlNamespace_KeyValue_XmlNamespace_INT_MIN_SENTINEL_DO_NOT_USE_ = |
491 | | std::numeric_limits<::int32_t>::min(), |
492 | | KeyValue_XmlNamespace_KeyValue_XmlNamespace_INT_MAX_SENTINEL_DO_NOT_USE_ = |
493 | | std::numeric_limits<::int32_t>::max(), |
494 | | }; |
495 | | |
496 | | bool KeyValue_XmlNamespace_IsValid(int value); |
497 | | extern const uint32_t KeyValue_XmlNamespace_internal_data_[]; |
498 | | constexpr KeyValue_XmlNamespace KeyValue_XmlNamespace_XmlNamespace_MIN = static_cast<KeyValue_XmlNamespace>(0); |
499 | | constexpr KeyValue_XmlNamespace KeyValue_XmlNamespace_XmlNamespace_MAX = static_cast<KeyValue_XmlNamespace>(9); |
500 | | constexpr int KeyValue_XmlNamespace_XmlNamespace_ARRAYSIZE = 9 + 1; |
501 | | const ::google::protobuf::EnumDescriptor* |
502 | | KeyValue_XmlNamespace_descriptor(); |
503 | | template <typename T> |
504 | | const std::string& KeyValue_XmlNamespace_Name(T value) { |
505 | | static_assert(std::is_same<T, KeyValue_XmlNamespace>::value || |
506 | | std::is_integral<T>::value, |
507 | | "Incorrect type passed to XmlNamespace_Name()."); |
508 | | return KeyValue_XmlNamespace_Name(static_cast<KeyValue_XmlNamespace>(value)); |
509 | | } |
510 | | template <> |
511 | 0 | inline const std::string& KeyValue_XmlNamespace_Name(KeyValue_XmlNamespace value) { |
512 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<KeyValue_XmlNamespace_descriptor, |
513 | 0 | 0, 9>( |
514 | 0 | static_cast<int>(value)); |
515 | 0 | } |
516 | 0 | inline bool KeyValue_XmlNamespace_Parse(absl::string_view name, KeyValue_XmlNamespace* value) { |
517 | 0 | return ::google::protobuf::internal::ParseNamedEnum<KeyValue_XmlNamespace>( |
518 | 0 | KeyValue_XmlNamespace_descriptor(), name, value); |
519 | 0 | } |
520 | | enum Element_Type : int { |
521 | | Element_Type_PREDEFINED = 0, |
522 | | Element_Type_FUZZ = 1, |
523 | | Element_Type_Element_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = |
524 | | std::numeric_limits<::int32_t>::min(), |
525 | | Element_Type_Element_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = |
526 | | std::numeric_limits<::int32_t>::max(), |
527 | | }; |
528 | | |
529 | | bool Element_Type_IsValid(int value); |
530 | | extern const uint32_t Element_Type_internal_data_[]; |
531 | | constexpr Element_Type Element_Type_Type_MIN = static_cast<Element_Type>(0); |
532 | | constexpr Element_Type Element_Type_Type_MAX = static_cast<Element_Type>(1); |
533 | | constexpr int Element_Type_Type_ARRAYSIZE = 1 + 1; |
534 | | const ::google::protobuf::EnumDescriptor* |
535 | | Element_Type_descriptor(); |
536 | | template <typename T> |
537 | | const std::string& Element_Type_Name(T value) { |
538 | | static_assert(std::is_same<T, Element_Type>::value || |
539 | | std::is_integral<T>::value, |
540 | | "Incorrect type passed to Type_Name()."); |
541 | | return Element_Type_Name(static_cast<Element_Type>(value)); |
542 | | } |
543 | | template <> |
544 | 0 | inline const std::string& Element_Type_Name(Element_Type value) { |
545 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<Element_Type_descriptor, |
546 | 0 | 0, 1>( |
547 | 0 | static_cast<int>(value)); |
548 | 0 | } |
549 | 0 | inline bool Element_Type_Parse(absl::string_view name, Element_Type* value) { |
550 | 0 | return ::google::protobuf::internal::ParseNamedEnum<Element_Type>( |
551 | 0 | Element_Type_descriptor(), name, value); |
552 | 0 | } |
553 | | enum Element_Id : int { |
554 | | Element_Id_XIINCLUDE = 0, |
555 | | Element_Id_XIFALLBACK = 1, |
556 | | Element_Id_XIHREF = 2, |
557 | | Element_Id_XIPARSE = 3, |
558 | | Element_Id_XIXPOINTER = 4, |
559 | | Element_Id_XIENCODING = 5, |
560 | | Element_Id_XIACCEPT = 6, |
561 | | Element_Id_XIACCEPTLANG = 7, |
562 | | Element_Id_Element_Id_INT_MIN_SENTINEL_DO_NOT_USE_ = |
563 | | std::numeric_limits<::int32_t>::min(), |
564 | | Element_Id_Element_Id_INT_MAX_SENTINEL_DO_NOT_USE_ = |
565 | | std::numeric_limits<::int32_t>::max(), |
566 | | }; |
567 | | |
568 | | bool Element_Id_IsValid(int value); |
569 | | extern const uint32_t Element_Id_internal_data_[]; |
570 | | constexpr Element_Id Element_Id_Id_MIN = static_cast<Element_Id>(0); |
571 | | constexpr Element_Id Element_Id_Id_MAX = static_cast<Element_Id>(7); |
572 | | constexpr int Element_Id_Id_ARRAYSIZE = 7 + 1; |
573 | | const ::google::protobuf::EnumDescriptor* |
574 | | Element_Id_descriptor(); |
575 | | template <typename T> |
576 | | const std::string& Element_Id_Name(T value) { |
577 | | static_assert(std::is_same<T, Element_Id>::value || |
578 | | std::is_integral<T>::value, |
579 | | "Incorrect type passed to Id_Name()."); |
580 | | return Element_Id_Name(static_cast<Element_Id>(value)); |
581 | | } |
582 | | template <> |
583 | 0 | inline const std::string& Element_Id_Name(Element_Id value) { |
584 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<Element_Id_descriptor, |
585 | 0 | 0, 7>( |
586 | 0 | static_cast<int>(value)); |
587 | 0 | } |
588 | 0 | inline bool Element_Id_Parse(absl::string_view name, Element_Id* value) { |
589 | 0 | return ::google::protobuf::internal::ParseNamedEnum<Element_Id>( |
590 | 0 | Element_Id_descriptor(), name, value); |
591 | 0 | } |
592 | | enum VersionNum_Type : int { |
593 | | VersionNum_Type_STANDARD = 0, |
594 | | VersionNum_Type_FUZZ = 1, |
595 | | VersionNum_Type_VersionNum_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = |
596 | | std::numeric_limits<::int32_t>::min(), |
597 | | VersionNum_Type_VersionNum_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = |
598 | | std::numeric_limits<::int32_t>::max(), |
599 | | }; |
600 | | |
601 | | bool VersionNum_Type_IsValid(int value); |
602 | | extern const uint32_t VersionNum_Type_internal_data_[]; |
603 | | constexpr VersionNum_Type VersionNum_Type_Type_MIN = static_cast<VersionNum_Type>(0); |
604 | | constexpr VersionNum_Type VersionNum_Type_Type_MAX = static_cast<VersionNum_Type>(1); |
605 | | constexpr int VersionNum_Type_Type_ARRAYSIZE = 1 + 1; |
606 | | const ::google::protobuf::EnumDescriptor* |
607 | | VersionNum_Type_descriptor(); |
608 | | template <typename T> |
609 | | const std::string& VersionNum_Type_Name(T value) { |
610 | | static_assert(std::is_same<T, VersionNum_Type>::value || |
611 | | std::is_integral<T>::value, |
612 | | "Incorrect type passed to Type_Name()."); |
613 | | return VersionNum_Type_Name(static_cast<VersionNum_Type>(value)); |
614 | | } |
615 | | template <> |
616 | 0 | inline const std::string& VersionNum_Type_Name(VersionNum_Type value) { |
617 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<VersionNum_Type_descriptor, |
618 | 0 | 0, 1>( |
619 | 0 | static_cast<int>(value)); |
620 | 0 | } |
621 | 0 | inline bool VersionNum_Type_Parse(absl::string_view name, VersionNum_Type* value) { |
622 | 0 | return ::google::protobuf::internal::ParseNamedEnum<VersionNum_Type>( |
623 | 0 | VersionNum_Type_descriptor(), name, value); |
624 | 0 | } |
625 | | enum Encodings_Enc : int { |
626 | | Encodings_Enc_BIG5 = 0, |
627 | | Encodings_Enc_EUCJP = 1, |
628 | | Encodings_Enc_EUCKR = 2, |
629 | | Encodings_Enc_GB18030 = 3, |
630 | | Encodings_Enc_ISO2022JP = 4, |
631 | | Encodings_Enc_ISO2022KR = 5, |
632 | | Encodings_Enc_ISO88591 = 6, |
633 | | Encodings_Enc_ISO88592 = 7, |
634 | | Encodings_Enc_ISO88593 = 8, |
635 | | Encodings_Enc_ISO88594 = 9, |
636 | | Encodings_Enc_ISO88595 = 10, |
637 | | Encodings_Enc_ISO88596 = 11, |
638 | | Encodings_Enc_ISO88597 = 12, |
639 | | Encodings_Enc_ISO88598 = 13, |
640 | | Encodings_Enc_ISO88599 = 14, |
641 | | Encodings_Enc_SHIFTJIS = 15, |
642 | | Encodings_Enc_TIS620 = 16, |
643 | | Encodings_Enc_USASCII = 17, |
644 | | Encodings_Enc_UTF8 = 18, |
645 | | Encodings_Enc_UTF16 = 19, |
646 | | Encodings_Enc_UTF16BE = 20, |
647 | | Encodings_Enc_UTF16LE = 21, |
648 | | Encodings_Enc_WINDOWS31J = 22, |
649 | | Encodings_Enc_WINDOWS1255 = 23, |
650 | | Encodings_Enc_WINDOWS1256 = 24, |
651 | | Encodings_Enc_FUZZ = 25, |
652 | | Encodings_Enc_Encodings_Enc_INT_MIN_SENTINEL_DO_NOT_USE_ = |
653 | | std::numeric_limits<::int32_t>::min(), |
654 | | Encodings_Enc_Encodings_Enc_INT_MAX_SENTINEL_DO_NOT_USE_ = |
655 | | std::numeric_limits<::int32_t>::max(), |
656 | | }; |
657 | | |
658 | | bool Encodings_Enc_IsValid(int value); |
659 | | extern const uint32_t Encodings_Enc_internal_data_[]; |
660 | | constexpr Encodings_Enc Encodings_Enc_Enc_MIN = static_cast<Encodings_Enc>(0); |
661 | | constexpr Encodings_Enc Encodings_Enc_Enc_MAX = static_cast<Encodings_Enc>(25); |
662 | | constexpr int Encodings_Enc_Enc_ARRAYSIZE = 25 + 1; |
663 | | const ::google::protobuf::EnumDescriptor* |
664 | | Encodings_Enc_descriptor(); |
665 | | template <typename T> |
666 | | const std::string& Encodings_Enc_Name(T value) { |
667 | | static_assert(std::is_same<T, Encodings_Enc>::value || |
668 | | std::is_integral<T>::value, |
669 | | "Incorrect type passed to Enc_Name()."); |
670 | | return Encodings_Enc_Name(static_cast<Encodings_Enc>(value)); |
671 | | } |
672 | | template <> |
673 | 0 | inline const std::string& Encodings_Enc_Name(Encodings_Enc value) { |
674 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<Encodings_Enc_descriptor, |
675 | 0 | 0, 25>( |
676 | 0 | static_cast<int>(value)); |
677 | 0 | } |
678 | 0 | inline bool Encodings_Enc_Parse(absl::string_view name, Encodings_Enc* value) { |
679 | 0 | return ::google::protobuf::internal::ParseNamedEnum<Encodings_Enc>( |
680 | 0 | Encodings_Enc_descriptor(), name, value); |
681 | 0 | } |
682 | | enum XmlDeclaration_Standalone : int { |
683 | | XmlDeclaration_Standalone_YES = 0, |
684 | | XmlDeclaration_Standalone_NO = 1, |
685 | | XmlDeclaration_Standalone_XmlDeclaration_Standalone_INT_MIN_SENTINEL_DO_NOT_USE_ = |
686 | | std::numeric_limits<::int32_t>::min(), |
687 | | XmlDeclaration_Standalone_XmlDeclaration_Standalone_INT_MAX_SENTINEL_DO_NOT_USE_ = |
688 | | std::numeric_limits<::int32_t>::max(), |
689 | | }; |
690 | | |
691 | | bool XmlDeclaration_Standalone_IsValid(int value); |
692 | | extern const uint32_t XmlDeclaration_Standalone_internal_data_[]; |
693 | | constexpr XmlDeclaration_Standalone XmlDeclaration_Standalone_Standalone_MIN = static_cast<XmlDeclaration_Standalone>(0); |
694 | | constexpr XmlDeclaration_Standalone XmlDeclaration_Standalone_Standalone_MAX = static_cast<XmlDeclaration_Standalone>(1); |
695 | | constexpr int XmlDeclaration_Standalone_Standalone_ARRAYSIZE = 1 + 1; |
696 | | const ::google::protobuf::EnumDescriptor* |
697 | | XmlDeclaration_Standalone_descriptor(); |
698 | | template <typename T> |
699 | | const std::string& XmlDeclaration_Standalone_Name(T value) { |
700 | | static_assert(std::is_same<T, XmlDeclaration_Standalone>::value || |
701 | | std::is_integral<T>::value, |
702 | | "Incorrect type passed to Standalone_Name()."); |
703 | | return XmlDeclaration_Standalone_Name(static_cast<XmlDeclaration_Standalone>(value)); |
704 | | } |
705 | | template <> |
706 | 0 | inline const std::string& XmlDeclaration_Standalone_Name(XmlDeclaration_Standalone value) { |
707 | 0 | return ::google::protobuf::internal::NameOfDenseEnum<XmlDeclaration_Standalone_descriptor, |
708 | 0 | 0, 1>( |
709 | 0 | static_cast<int>(value)); |
710 | 0 | } |
711 | 0 | inline bool XmlDeclaration_Standalone_Parse(absl::string_view name, XmlDeclaration_Standalone* value) { |
712 | 0 | return ::google::protobuf::internal::ParseNamedEnum<XmlDeclaration_Standalone>( |
713 | 0 | XmlDeclaration_Standalone_descriptor(), name, value); |
714 | 0 | } |
715 | | |
716 | | // =================================================================== |
717 | | |
718 | | |
719 | | // ------------------------------------------------------------------- |
720 | | |
721 | | class VersionNum final : public ::google::protobuf::Message |
722 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.VersionNum) */ { |
723 | | public: |
724 | 0 | inline VersionNum() : VersionNum(nullptr) {} |
725 | | ~VersionNum() PROTOBUF_FINAL; |
726 | | |
727 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
728 | | void operator delete(VersionNum* msg, std::destroying_delete_t) { |
729 | | SharedDtor(*msg); |
730 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(VersionNum)); |
731 | | } |
732 | | #endif |
733 | | |
734 | | template <typename = void> |
735 | | explicit PROTOBUF_CONSTEXPR VersionNum( |
736 | | ::google::protobuf::internal::ConstantInitialized); |
737 | | |
738 | 0 | inline VersionNum(const VersionNum& from) : VersionNum(nullptr, from) {} |
739 | | inline VersionNum(VersionNum&& from) noexcept |
740 | 0 | : VersionNum(nullptr, std::move(from)) {} |
741 | 0 | inline VersionNum& operator=(const VersionNum& from) { |
742 | 0 | CopyFrom(from); |
743 | 0 | return *this; |
744 | 0 | } |
745 | 0 | inline VersionNum& operator=(VersionNum&& from) noexcept { |
746 | 0 | if (this == &from) return *this; |
747 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
748 | 0 | InternalSwap(&from); |
749 | 0 | } else { |
750 | 0 | CopyFrom(from); |
751 | 0 | } |
752 | 0 | return *this; |
753 | 0 | } |
754 | | |
755 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
756 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
757 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
758 | 0 | } |
759 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
760 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
761 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
762 | 0 | } |
763 | | |
764 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
765 | 0 | return GetDescriptor(); |
766 | 0 | } |
767 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
768 | 0 | return default_instance().GetMetadata().descriptor; |
769 | 0 | } |
770 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
771 | 0 | return default_instance().GetMetadata().reflection; |
772 | 0 | } |
773 | 0 | static const VersionNum& default_instance() { |
774 | 0 | return *internal_default_instance(); |
775 | 0 | } |
776 | 0 | static inline const VersionNum* internal_default_instance() { |
777 | 0 | return reinterpret_cast<const VersionNum*>( |
778 | 0 | &_VersionNum_default_instance_); |
779 | 0 | } |
780 | | static constexpr int kIndexInFileMessages = 28; |
781 | 0 | friend void swap(VersionNum& a, VersionNum& b) { a.Swap(&b); } |
782 | 0 | inline void Swap(VersionNum* other) { |
783 | 0 | if (other == this) return; |
784 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
785 | 0 | InternalSwap(other); |
786 | 0 | } else { |
787 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
788 | 0 | } |
789 | 0 | } |
790 | 0 | void UnsafeArenaSwap(VersionNum* other) { |
791 | 0 | if (other == this) return; |
792 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
793 | 0 | InternalSwap(other); |
794 | 0 | } |
795 | | |
796 | | // implements Message ---------------------------------------------- |
797 | | |
798 | 0 | VersionNum* New(::google::protobuf::Arena* arena = nullptr) const { |
799 | 0 | return ::google::protobuf::Message::DefaultConstruct<VersionNum>(arena); |
800 | 0 | } |
801 | | using ::google::protobuf::Message::CopyFrom; |
802 | | void CopyFrom(const VersionNum& from); |
803 | | using ::google::protobuf::Message::MergeFrom; |
804 | 0 | void MergeFrom(const VersionNum& from) { VersionNum::MergeImpl(*this, from); } |
805 | | |
806 | | private: |
807 | | static void MergeImpl( |
808 | | ::google::protobuf::MessageLite& to_msg, |
809 | | const ::google::protobuf::MessageLite& from_msg); |
810 | | |
811 | | public: |
812 | 0 | bool IsInitialized() const { |
813 | 0 | return true; |
814 | 0 | } |
815 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
816 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
817 | | private: |
818 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
819 | | static ::uint8_t* _InternalSerialize( |
820 | | const MessageLite& msg, ::uint8_t* target, |
821 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
822 | | |
823 | | public: |
824 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
825 | | ::uint8_t* _InternalSerialize( |
826 | | ::uint8_t* target, |
827 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
828 | | return _InternalSerialize(*this, target, stream); |
829 | | } |
830 | | #else // PROTOBUF_CUSTOM_VTABLE |
831 | | ::size_t ByteSizeLong() const final; |
832 | | ::uint8_t* _InternalSerialize( |
833 | | ::uint8_t* target, |
834 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
835 | | #endif // PROTOBUF_CUSTOM_VTABLE |
836 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
837 | | |
838 | | private: |
839 | | void SharedCtor(::google::protobuf::Arena* arena); |
840 | | static void SharedDtor(MessageLite& self); |
841 | | void InternalSwap(VersionNum* other); |
842 | | private: |
843 | | template <typename T> |
844 | | friend ::absl::string_view( |
845 | | ::google::protobuf::internal::GetAnyMessageName)(); |
846 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.VersionNum"; } |
847 | | |
848 | | protected: |
849 | | explicit VersionNum(::google::protobuf::Arena* arena); |
850 | | VersionNum(::google::protobuf::Arena* arena, const VersionNum& from); |
851 | | VersionNum(::google::protobuf::Arena* arena, VersionNum&& from) noexcept |
852 | 0 | : VersionNum(arena) { |
853 | 0 | *this = ::std::move(from); |
854 | 0 | } |
855 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
856 | | static void* PlacementNew_(const void*, void* mem, |
857 | | ::google::protobuf::Arena* arena); |
858 | | static constexpr auto InternalNewImpl_(); |
859 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
860 | | |
861 | | public: |
862 | | ::google::protobuf::Metadata GetMetadata() const; |
863 | | // nested types ---------------------------------------------------- |
864 | | using Type = VersionNum_Type; |
865 | | static constexpr Type STANDARD = VersionNum_Type_STANDARD; |
866 | | static constexpr Type FUZZ = VersionNum_Type_FUZZ; |
867 | 8.25k | static inline bool Type_IsValid(int value) { |
868 | 8.25k | return VersionNum_Type_IsValid(value); |
869 | 8.25k | } |
870 | | static constexpr Type Type_MIN = VersionNum_Type_Type_MIN; |
871 | | static constexpr Type Type_MAX = VersionNum_Type_Type_MAX; |
872 | | static constexpr int Type_ARRAYSIZE = VersionNum_Type_Type_ARRAYSIZE; |
873 | 0 | static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { |
874 | 0 | return VersionNum_Type_descriptor(); |
875 | 0 | } |
876 | | template <typename T> |
877 | | static inline const std::string& Type_Name(T value) { |
878 | | return VersionNum_Type_Name(value); |
879 | | } |
880 | 0 | static inline bool Type_Parse(absl::string_view name, Type* value) { |
881 | 0 | return VersionNum_Type_Parse(name, value); |
882 | 0 | } |
883 | | |
884 | | // accessors ------------------------------------------------------- |
885 | | enum : int { |
886 | | kMajorFieldNumber = 2, |
887 | | kMinorFieldNumber = 3, |
888 | | kTypeFieldNumber = 1, |
889 | | }; |
890 | | // uint64 major = 2; |
891 | | void clear_major() ; |
892 | | ::uint64_t major() const; |
893 | | void set_major(::uint64_t value); |
894 | | |
895 | | private: |
896 | | ::uint64_t _internal_major() const; |
897 | | void _internal_set_major(::uint64_t value); |
898 | | |
899 | | public: |
900 | | // uint64 minor = 3; |
901 | | void clear_minor() ; |
902 | | ::uint64_t minor() const; |
903 | | void set_minor(::uint64_t value); |
904 | | |
905 | | private: |
906 | | ::uint64_t _internal_minor() const; |
907 | | void _internal_set_minor(::uint64_t value); |
908 | | |
909 | | public: |
910 | | // .xmlProtoFuzzer.VersionNum.Type type = 1; |
911 | | void clear_type() ; |
912 | | ::xmlProtoFuzzer::VersionNum_Type type() const; |
913 | | void set_type(::xmlProtoFuzzer::VersionNum_Type value); |
914 | | |
915 | | private: |
916 | | ::xmlProtoFuzzer::VersionNum_Type _internal_type() const; |
917 | | void _internal_set_type(::xmlProtoFuzzer::VersionNum_Type value); |
918 | | |
919 | | public: |
920 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.VersionNum) |
921 | | private: |
922 | | class _Internal; |
923 | | friend class ::google::protobuf::internal::TcParser; |
924 | | static const ::google::protobuf::internal::TcParseTable< |
925 | | 2, 3, 0, |
926 | | 0, 2> |
927 | | _table_; |
928 | | |
929 | | friend class ::google::protobuf::MessageLite; |
930 | | friend class ::google::protobuf::Arena; |
931 | | template <typename T> |
932 | | friend class ::google::protobuf::Arena::InternalHelper; |
933 | | using InternalArenaConstructable_ = void; |
934 | | using DestructorSkippable_ = void; |
935 | | struct Impl_ { |
936 | | inline explicit constexpr Impl_( |
937 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
938 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
939 | | ::google::protobuf::Arena* arena); |
940 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
941 | | ::google::protobuf::Arena* arena, const Impl_& from, |
942 | | const VersionNum& from_msg); |
943 | | ::uint64_t major_; |
944 | | ::uint64_t minor_; |
945 | | int type_; |
946 | | ::google::protobuf::internal::CachedSize _cached_size_; |
947 | | PROTOBUF_TSAN_DECLARE_MEMBER |
948 | | }; |
949 | | union { Impl_ _impl_; }; |
950 | | friend struct ::TableStruct_xml_2eproto; |
951 | | }; |
952 | | // ------------------------------------------------------------------- |
953 | | |
954 | | class PEReference final : public ::google::protobuf::Message |
955 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.PEReference) */ { |
956 | | public: |
957 | 0 | inline PEReference() : PEReference(nullptr) {} |
958 | | ~PEReference() PROTOBUF_FINAL; |
959 | | |
960 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
961 | | void operator delete(PEReference* msg, std::destroying_delete_t) { |
962 | | SharedDtor(*msg); |
963 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(PEReference)); |
964 | | } |
965 | | #endif |
966 | | |
967 | | template <typename = void> |
968 | | explicit PROTOBUF_CONSTEXPR PEReference( |
969 | | ::google::protobuf::internal::ConstantInitialized); |
970 | | |
971 | 0 | inline PEReference(const PEReference& from) : PEReference(nullptr, from) {} |
972 | | inline PEReference(PEReference&& from) noexcept |
973 | 0 | : PEReference(nullptr, std::move(from)) {} |
974 | 0 | inline PEReference& operator=(const PEReference& from) { |
975 | 0 | CopyFrom(from); |
976 | 0 | return *this; |
977 | 0 | } |
978 | 0 | inline PEReference& operator=(PEReference&& from) noexcept { |
979 | 0 | if (this == &from) return *this; |
980 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
981 | 0 | InternalSwap(&from); |
982 | 0 | } else { |
983 | 0 | CopyFrom(from); |
984 | 0 | } |
985 | 0 | return *this; |
986 | 0 | } |
987 | | |
988 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
989 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
990 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
991 | 0 | } |
992 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
993 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
994 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
995 | 0 | } |
996 | | |
997 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
998 | 0 | return GetDescriptor(); |
999 | 0 | } |
1000 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1001 | 0 | return default_instance().GetMetadata().descriptor; |
1002 | 0 | } |
1003 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1004 | 0 | return default_instance().GetMetadata().reflection; |
1005 | 0 | } |
1006 | 0 | static const PEReference& default_instance() { |
1007 | 0 | return *internal_default_instance(); |
1008 | 0 | } |
1009 | 0 | static inline const PEReference* internal_default_instance() { |
1010 | 0 | return reinterpret_cast<const PEReference*>( |
1011 | 0 | &_PEReference_default_instance_); |
1012 | 0 | } |
1013 | | static constexpr int kIndexInFileMessages = 1; |
1014 | 0 | friend void swap(PEReference& a, PEReference& b) { a.Swap(&b); } |
1015 | 0 | inline void Swap(PEReference* other) { |
1016 | 0 | if (other == this) return; |
1017 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1018 | 0 | InternalSwap(other); |
1019 | 0 | } else { |
1020 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1021 | 0 | } |
1022 | 0 | } |
1023 | 0 | void UnsafeArenaSwap(PEReference* other) { |
1024 | 0 | if (other == this) return; |
1025 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1026 | 0 | InternalSwap(other); |
1027 | 0 | } |
1028 | | |
1029 | | // implements Message ---------------------------------------------- |
1030 | | |
1031 | 0 | PEReference* New(::google::protobuf::Arena* arena = nullptr) const { |
1032 | 0 | return ::google::protobuf::Message::DefaultConstruct<PEReference>(arena); |
1033 | 0 | } |
1034 | | using ::google::protobuf::Message::CopyFrom; |
1035 | | void CopyFrom(const PEReference& from); |
1036 | | using ::google::protobuf::Message::MergeFrom; |
1037 | 0 | void MergeFrom(const PEReference& from) { PEReference::MergeImpl(*this, from); } |
1038 | | |
1039 | | private: |
1040 | | static void MergeImpl( |
1041 | | ::google::protobuf::MessageLite& to_msg, |
1042 | | const ::google::protobuf::MessageLite& from_msg); |
1043 | | |
1044 | | public: |
1045 | 0 | bool IsInitialized() const { |
1046 | 0 | return true; |
1047 | 0 | } |
1048 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1049 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1050 | | private: |
1051 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1052 | | static ::uint8_t* _InternalSerialize( |
1053 | | const MessageLite& msg, ::uint8_t* target, |
1054 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1055 | | |
1056 | | public: |
1057 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1058 | | ::uint8_t* _InternalSerialize( |
1059 | | ::uint8_t* target, |
1060 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1061 | | return _InternalSerialize(*this, target, stream); |
1062 | | } |
1063 | | #else // PROTOBUF_CUSTOM_VTABLE |
1064 | | ::size_t ByteSizeLong() const final; |
1065 | | ::uint8_t* _InternalSerialize( |
1066 | | ::uint8_t* target, |
1067 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1068 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1069 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1070 | | |
1071 | | private: |
1072 | | void SharedCtor(::google::protobuf::Arena* arena); |
1073 | | static void SharedDtor(MessageLite& self); |
1074 | | void InternalSwap(PEReference* other); |
1075 | | private: |
1076 | | template <typename T> |
1077 | | friend ::absl::string_view( |
1078 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1079 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.PEReference"; } |
1080 | | |
1081 | | protected: |
1082 | | explicit PEReference(::google::protobuf::Arena* arena); |
1083 | | PEReference(::google::protobuf::Arena* arena, const PEReference& from); |
1084 | | PEReference(::google::protobuf::Arena* arena, PEReference&& from) noexcept |
1085 | 0 | : PEReference(arena) { |
1086 | 0 | *this = ::std::move(from); |
1087 | 0 | } |
1088 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1089 | | static void* PlacementNew_(const void*, void* mem, |
1090 | | ::google::protobuf::Arena* arena); |
1091 | | static constexpr auto InternalNewImpl_(); |
1092 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1093 | | |
1094 | | public: |
1095 | | ::google::protobuf::Metadata GetMetadata() const; |
1096 | | // nested types ---------------------------------------------------- |
1097 | | |
1098 | | // accessors ------------------------------------------------------- |
1099 | | enum : int { |
1100 | | kNameFieldNumber = 1, |
1101 | | }; |
1102 | | // string name = 1; |
1103 | | void clear_name() ; |
1104 | | const std::string& name() const; |
1105 | | template <typename Arg_ = const std::string&, typename... Args_> |
1106 | | void set_name(Arg_&& arg, Args_... args); |
1107 | | std::string* mutable_name(); |
1108 | | PROTOBUF_NODISCARD std::string* release_name(); |
1109 | | void set_allocated_name(std::string* value); |
1110 | | |
1111 | | private: |
1112 | | const std::string& _internal_name() const; |
1113 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
1114 | | const std::string& value); |
1115 | | std::string* _internal_mutable_name(); |
1116 | | |
1117 | | public: |
1118 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.PEReference) |
1119 | | private: |
1120 | | class _Internal; |
1121 | | friend class ::google::protobuf::internal::TcParser; |
1122 | | static const ::google::protobuf::internal::TcParseTable< |
1123 | | 0, 1, 0, |
1124 | | 39, 2> |
1125 | | _table_; |
1126 | | |
1127 | | friend class ::google::protobuf::MessageLite; |
1128 | | friend class ::google::protobuf::Arena; |
1129 | | template <typename T> |
1130 | | friend class ::google::protobuf::Arena::InternalHelper; |
1131 | | using InternalArenaConstructable_ = void; |
1132 | | using DestructorSkippable_ = void; |
1133 | | struct Impl_ { |
1134 | | inline explicit constexpr Impl_( |
1135 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1136 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1137 | | ::google::protobuf::Arena* arena); |
1138 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1139 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1140 | | const PEReference& from_msg); |
1141 | | ::google::protobuf::internal::ArenaStringPtr name_; |
1142 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1143 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1144 | | }; |
1145 | | union { Impl_ _impl_; }; |
1146 | | friend struct ::TableStruct_xml_2eproto; |
1147 | | }; |
1148 | | // ------------------------------------------------------------------- |
1149 | | |
1150 | | class NDataDecl final : public ::google::protobuf::Message |
1151 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.NDataDecl) */ { |
1152 | | public: |
1153 | 0 | inline NDataDecl() : NDataDecl(nullptr) {} |
1154 | | ~NDataDecl() PROTOBUF_FINAL; |
1155 | | |
1156 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1157 | | void operator delete(NDataDecl* msg, std::destroying_delete_t) { |
1158 | | SharedDtor(*msg); |
1159 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(NDataDecl)); |
1160 | | } |
1161 | | #endif |
1162 | | |
1163 | | template <typename = void> |
1164 | | explicit PROTOBUF_CONSTEXPR NDataDecl( |
1165 | | ::google::protobuf::internal::ConstantInitialized); |
1166 | | |
1167 | 0 | inline NDataDecl(const NDataDecl& from) : NDataDecl(nullptr, from) {} |
1168 | | inline NDataDecl(NDataDecl&& from) noexcept |
1169 | 0 | : NDataDecl(nullptr, std::move(from)) {} |
1170 | 0 | inline NDataDecl& operator=(const NDataDecl& from) { |
1171 | 0 | CopyFrom(from); |
1172 | 0 | return *this; |
1173 | 0 | } |
1174 | 0 | inline NDataDecl& operator=(NDataDecl&& from) noexcept { |
1175 | 0 | if (this == &from) return *this; |
1176 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1177 | 0 | InternalSwap(&from); |
1178 | 0 | } else { |
1179 | 0 | CopyFrom(from); |
1180 | 0 | } |
1181 | 0 | return *this; |
1182 | 0 | } |
1183 | | |
1184 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1185 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1186 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1187 | 0 | } |
1188 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1189 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1190 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1191 | 0 | } |
1192 | | |
1193 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1194 | 0 | return GetDescriptor(); |
1195 | 0 | } |
1196 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1197 | 0 | return default_instance().GetMetadata().descriptor; |
1198 | 0 | } |
1199 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1200 | 0 | return default_instance().GetMetadata().reflection; |
1201 | 0 | } |
1202 | 0 | static const NDataDecl& default_instance() { |
1203 | 0 | return *internal_default_instance(); |
1204 | 0 | } |
1205 | 0 | static inline const NDataDecl* internal_default_instance() { |
1206 | 0 | return reinterpret_cast<const NDataDecl*>( |
1207 | 0 | &_NDataDecl_default_instance_); |
1208 | 0 | } |
1209 | | static constexpr int kIndexInFileMessages = 13; |
1210 | 0 | friend void swap(NDataDecl& a, NDataDecl& b) { a.Swap(&b); } |
1211 | 0 | inline void Swap(NDataDecl* other) { |
1212 | 0 | if (other == this) return; |
1213 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1214 | 0 | InternalSwap(other); |
1215 | 0 | } else { |
1216 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1217 | 0 | } |
1218 | 0 | } |
1219 | 0 | void UnsafeArenaSwap(NDataDecl* other) { |
1220 | 0 | if (other == this) return; |
1221 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1222 | 0 | InternalSwap(other); |
1223 | 0 | } |
1224 | | |
1225 | | // implements Message ---------------------------------------------- |
1226 | | |
1227 | 0 | NDataDecl* New(::google::protobuf::Arena* arena = nullptr) const { |
1228 | 0 | return ::google::protobuf::Message::DefaultConstruct<NDataDecl>(arena); |
1229 | 0 | } |
1230 | | using ::google::protobuf::Message::CopyFrom; |
1231 | | void CopyFrom(const NDataDecl& from); |
1232 | | using ::google::protobuf::Message::MergeFrom; |
1233 | 0 | void MergeFrom(const NDataDecl& from) { NDataDecl::MergeImpl(*this, from); } |
1234 | | |
1235 | | private: |
1236 | | static void MergeImpl( |
1237 | | ::google::protobuf::MessageLite& to_msg, |
1238 | | const ::google::protobuf::MessageLite& from_msg); |
1239 | | |
1240 | | public: |
1241 | 0 | bool IsInitialized() const { |
1242 | 0 | return true; |
1243 | 0 | } |
1244 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1245 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1246 | | private: |
1247 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1248 | | static ::uint8_t* _InternalSerialize( |
1249 | | const MessageLite& msg, ::uint8_t* target, |
1250 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1251 | | |
1252 | | public: |
1253 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1254 | | ::uint8_t* _InternalSerialize( |
1255 | | ::uint8_t* target, |
1256 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1257 | | return _InternalSerialize(*this, target, stream); |
1258 | | } |
1259 | | #else // PROTOBUF_CUSTOM_VTABLE |
1260 | | ::size_t ByteSizeLong() const final; |
1261 | | ::uint8_t* _InternalSerialize( |
1262 | | ::uint8_t* target, |
1263 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1264 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1265 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1266 | | |
1267 | | private: |
1268 | | void SharedCtor(::google::protobuf::Arena* arena); |
1269 | | static void SharedDtor(MessageLite& self); |
1270 | | void InternalSwap(NDataDecl* other); |
1271 | | private: |
1272 | | template <typename T> |
1273 | | friend ::absl::string_view( |
1274 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1275 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.NDataDecl"; } |
1276 | | |
1277 | | protected: |
1278 | | explicit NDataDecl(::google::protobuf::Arena* arena); |
1279 | | NDataDecl(::google::protobuf::Arena* arena, const NDataDecl& from); |
1280 | | NDataDecl(::google::protobuf::Arena* arena, NDataDecl&& from) noexcept |
1281 | 0 | : NDataDecl(arena) { |
1282 | 0 | *this = ::std::move(from); |
1283 | 0 | } |
1284 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1285 | | static void* PlacementNew_(const void*, void* mem, |
1286 | | ::google::protobuf::Arena* arena); |
1287 | | static constexpr auto InternalNewImpl_(); |
1288 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1289 | | |
1290 | | public: |
1291 | | ::google::protobuf::Metadata GetMetadata() const; |
1292 | | // nested types ---------------------------------------------------- |
1293 | | |
1294 | | // accessors ------------------------------------------------------- |
1295 | | enum : int { |
1296 | | kNameFieldNumber = 1, |
1297 | | }; |
1298 | | // string name = 1; |
1299 | | void clear_name() ; |
1300 | | const std::string& name() const; |
1301 | | template <typename Arg_ = const std::string&, typename... Args_> |
1302 | | void set_name(Arg_&& arg, Args_... args); |
1303 | | std::string* mutable_name(); |
1304 | | PROTOBUF_NODISCARD std::string* release_name(); |
1305 | | void set_allocated_name(std::string* value); |
1306 | | |
1307 | | private: |
1308 | | const std::string& _internal_name() const; |
1309 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
1310 | | const std::string& value); |
1311 | | std::string* _internal_mutable_name(); |
1312 | | |
1313 | | public: |
1314 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.NDataDecl) |
1315 | | private: |
1316 | | class _Internal; |
1317 | | friend class ::google::protobuf::internal::TcParser; |
1318 | | static const ::google::protobuf::internal::TcParseTable< |
1319 | | 0, 1, 0, |
1320 | | 37, 2> |
1321 | | _table_; |
1322 | | |
1323 | | friend class ::google::protobuf::MessageLite; |
1324 | | friend class ::google::protobuf::Arena; |
1325 | | template <typename T> |
1326 | | friend class ::google::protobuf::Arena::InternalHelper; |
1327 | | using InternalArenaConstructable_ = void; |
1328 | | using DestructorSkippable_ = void; |
1329 | | struct Impl_ { |
1330 | | inline explicit constexpr Impl_( |
1331 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1332 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1333 | | ::google::protobuf::Arena* arena); |
1334 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1335 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1336 | | const NDataDecl& from_msg); |
1337 | | ::google::protobuf::internal::ArenaStringPtr name_; |
1338 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1339 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1340 | | }; |
1341 | | union { Impl_ _impl_; }; |
1342 | | friend struct ::TableStruct_xml_2eproto; |
1343 | | }; |
1344 | | // ------------------------------------------------------------------- |
1345 | | |
1346 | | class KeyValue final : public ::google::protobuf::Message |
1347 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.KeyValue) */ { |
1348 | | public: |
1349 | 0 | inline KeyValue() : KeyValue(nullptr) {} |
1350 | | ~KeyValue() PROTOBUF_FINAL; |
1351 | | |
1352 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1353 | | void operator delete(KeyValue* msg, std::destroying_delete_t) { |
1354 | | SharedDtor(*msg); |
1355 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(KeyValue)); |
1356 | | } |
1357 | | #endif |
1358 | | |
1359 | | template <typename = void> |
1360 | | explicit PROTOBUF_CONSTEXPR KeyValue( |
1361 | | ::google::protobuf::internal::ConstantInitialized); |
1362 | | |
1363 | 0 | inline KeyValue(const KeyValue& from) : KeyValue(nullptr, from) {} |
1364 | | inline KeyValue(KeyValue&& from) noexcept |
1365 | 0 | : KeyValue(nullptr, std::move(from)) {} |
1366 | 0 | inline KeyValue& operator=(const KeyValue& from) { |
1367 | 0 | CopyFrom(from); |
1368 | 0 | return *this; |
1369 | 0 | } |
1370 | 0 | inline KeyValue& operator=(KeyValue&& from) noexcept { |
1371 | 0 | if (this == &from) return *this; |
1372 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1373 | 0 | InternalSwap(&from); |
1374 | 0 | } else { |
1375 | 0 | CopyFrom(from); |
1376 | 0 | } |
1377 | 0 | return *this; |
1378 | 0 | } |
1379 | | |
1380 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1381 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1382 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1383 | 0 | } |
1384 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1385 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1386 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1387 | 0 | } |
1388 | | |
1389 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1390 | 0 | return GetDescriptor(); |
1391 | 0 | } |
1392 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1393 | 0 | return default_instance().GetMetadata().descriptor; |
1394 | 0 | } |
1395 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1396 | 0 | return default_instance().GetMetadata().reflection; |
1397 | 0 | } |
1398 | 0 | static const KeyValue& default_instance() { |
1399 | 0 | return *internal_default_instance(); |
1400 | 0 | } |
1401 | 0 | static inline const KeyValue* internal_default_instance() { |
1402 | 0 | return reinterpret_cast<const KeyValue*>( |
1403 | 0 | &_KeyValue_default_instance_); |
1404 | 0 | } |
1405 | | static constexpr int kIndexInFileMessages = 23; |
1406 | 0 | friend void swap(KeyValue& a, KeyValue& b) { a.Swap(&b); } |
1407 | 0 | inline void Swap(KeyValue* other) { |
1408 | 0 | if (other == this) return; |
1409 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1410 | 0 | InternalSwap(other); |
1411 | 0 | } else { |
1412 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1413 | 0 | } |
1414 | 0 | } |
1415 | 0 | void UnsafeArenaSwap(KeyValue* other) { |
1416 | 0 | if (other == this) return; |
1417 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1418 | 0 | InternalSwap(other); |
1419 | 0 | } |
1420 | | |
1421 | | // implements Message ---------------------------------------------- |
1422 | | |
1423 | 0 | KeyValue* New(::google::protobuf::Arena* arena = nullptr) const { |
1424 | 0 | return ::google::protobuf::Message::DefaultConstruct<KeyValue>(arena); |
1425 | 0 | } |
1426 | | using ::google::protobuf::Message::CopyFrom; |
1427 | | void CopyFrom(const KeyValue& from); |
1428 | | using ::google::protobuf::Message::MergeFrom; |
1429 | 0 | void MergeFrom(const KeyValue& from) { KeyValue::MergeImpl(*this, from); } |
1430 | | |
1431 | | private: |
1432 | | static void MergeImpl( |
1433 | | ::google::protobuf::MessageLite& to_msg, |
1434 | | const ::google::protobuf::MessageLite& from_msg); |
1435 | | |
1436 | | public: |
1437 | 0 | bool IsInitialized() const { |
1438 | 0 | return true; |
1439 | 0 | } |
1440 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1441 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1442 | | private: |
1443 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1444 | | static ::uint8_t* _InternalSerialize( |
1445 | | const MessageLite& msg, ::uint8_t* target, |
1446 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1447 | | |
1448 | | public: |
1449 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1450 | | ::uint8_t* _InternalSerialize( |
1451 | | ::uint8_t* target, |
1452 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1453 | | return _InternalSerialize(*this, target, stream); |
1454 | | } |
1455 | | #else // PROTOBUF_CUSTOM_VTABLE |
1456 | | ::size_t ByteSizeLong() const final; |
1457 | | ::uint8_t* _InternalSerialize( |
1458 | | ::uint8_t* target, |
1459 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1460 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1461 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1462 | | |
1463 | | private: |
1464 | | void SharedCtor(::google::protobuf::Arena* arena); |
1465 | | static void SharedDtor(MessageLite& self); |
1466 | | void InternalSwap(KeyValue* other); |
1467 | | private: |
1468 | | template <typename T> |
1469 | | friend ::absl::string_view( |
1470 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1471 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.KeyValue"; } |
1472 | | |
1473 | | protected: |
1474 | | explicit KeyValue(::google::protobuf::Arena* arena); |
1475 | | KeyValue(::google::protobuf::Arena* arena, const KeyValue& from); |
1476 | | KeyValue(::google::protobuf::Arena* arena, KeyValue&& from) noexcept |
1477 | 0 | : KeyValue(arena) { |
1478 | 0 | *this = ::std::move(from); |
1479 | 0 | } |
1480 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1481 | | static void* PlacementNew_(const void*, void* mem, |
1482 | | ::google::protobuf::Arena* arena); |
1483 | | static constexpr auto InternalNewImpl_(); |
1484 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1485 | | |
1486 | | public: |
1487 | | ::google::protobuf::Metadata GetMetadata() const; |
1488 | | // nested types ---------------------------------------------------- |
1489 | | using XmlNamespace = KeyValue_XmlNamespace; |
1490 | | static constexpr XmlNamespace ATTRIBUTES = KeyValue_XmlNamespace_ATTRIBUTES; |
1491 | | static constexpr XmlNamespace BASE = KeyValue_XmlNamespace_BASE; |
1492 | | static constexpr XmlNamespace CATALOG = KeyValue_XmlNamespace_CATALOG; |
1493 | | static constexpr XmlNamespace ID = KeyValue_XmlNamespace_ID; |
1494 | | static constexpr XmlNamespace LANG = KeyValue_XmlNamespace_LANG; |
1495 | | static constexpr XmlNamespace LINK = KeyValue_XmlNamespace_LINK; |
1496 | | static constexpr XmlNamespace SPACE = KeyValue_XmlNamespace_SPACE; |
1497 | | static constexpr XmlNamespace SPECIAL = KeyValue_XmlNamespace_SPECIAL; |
1498 | | static constexpr XmlNamespace TEST = KeyValue_XmlNamespace_TEST; |
1499 | | static constexpr XmlNamespace FUZZ = KeyValue_XmlNamespace_FUZZ; |
1500 | 21.5k | static inline bool XmlNamespace_IsValid(int value) { |
1501 | 21.5k | return KeyValue_XmlNamespace_IsValid(value); |
1502 | 21.5k | } |
1503 | | static constexpr XmlNamespace XmlNamespace_MIN = KeyValue_XmlNamespace_XmlNamespace_MIN; |
1504 | | static constexpr XmlNamespace XmlNamespace_MAX = KeyValue_XmlNamespace_XmlNamespace_MAX; |
1505 | | static constexpr int XmlNamespace_ARRAYSIZE = KeyValue_XmlNamespace_XmlNamespace_ARRAYSIZE; |
1506 | 0 | static inline const ::google::protobuf::EnumDescriptor* XmlNamespace_descriptor() { |
1507 | 0 | return KeyValue_XmlNamespace_descriptor(); |
1508 | 0 | } |
1509 | | template <typename T> |
1510 | | static inline const std::string& XmlNamespace_Name(T value) { |
1511 | | return KeyValue_XmlNamespace_Name(value); |
1512 | | } |
1513 | 0 | static inline bool XmlNamespace_Parse(absl::string_view name, XmlNamespace* value) { |
1514 | 0 | return KeyValue_XmlNamespace_Parse(name, value); |
1515 | 0 | } |
1516 | | |
1517 | | // accessors ------------------------------------------------------- |
1518 | | enum : int { |
1519 | | kKeyFieldNumber = 2, |
1520 | | kValueFieldNumber = 3, |
1521 | | kTypeFieldNumber = 1, |
1522 | | }; |
1523 | | // string key = 2; |
1524 | | void clear_key() ; |
1525 | | const std::string& key() const; |
1526 | | template <typename Arg_ = const std::string&, typename... Args_> |
1527 | | void set_key(Arg_&& arg, Args_... args); |
1528 | | std::string* mutable_key(); |
1529 | | PROTOBUF_NODISCARD std::string* release_key(); |
1530 | | void set_allocated_key(std::string* value); |
1531 | | |
1532 | | private: |
1533 | | const std::string& _internal_key() const; |
1534 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_key( |
1535 | | const std::string& value); |
1536 | | std::string* _internal_mutable_key(); |
1537 | | |
1538 | | public: |
1539 | | // string value = 3; |
1540 | | void clear_value() ; |
1541 | | const std::string& value() const; |
1542 | | template <typename Arg_ = const std::string&, typename... Args_> |
1543 | | void set_value(Arg_&& arg, Args_... args); |
1544 | | std::string* mutable_value(); |
1545 | | PROTOBUF_NODISCARD std::string* release_value(); |
1546 | | void set_allocated_value(std::string* value); |
1547 | | |
1548 | | private: |
1549 | | const std::string& _internal_value() const; |
1550 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_value( |
1551 | | const std::string& value); |
1552 | | std::string* _internal_mutable_value(); |
1553 | | |
1554 | | public: |
1555 | | // .xmlProtoFuzzer.KeyValue.XmlNamespace type = 1; |
1556 | | void clear_type() ; |
1557 | | ::xmlProtoFuzzer::KeyValue_XmlNamespace type() const; |
1558 | | void set_type(::xmlProtoFuzzer::KeyValue_XmlNamespace value); |
1559 | | |
1560 | | private: |
1561 | | ::xmlProtoFuzzer::KeyValue_XmlNamespace _internal_type() const; |
1562 | | void _internal_set_type(::xmlProtoFuzzer::KeyValue_XmlNamespace value); |
1563 | | |
1564 | | public: |
1565 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.KeyValue) |
1566 | | private: |
1567 | | class _Internal; |
1568 | | friend class ::google::protobuf::internal::TcParser; |
1569 | | static const ::google::protobuf::internal::TcParseTable< |
1570 | | 2, 3, 0, |
1571 | | 40, 2> |
1572 | | _table_; |
1573 | | |
1574 | | friend class ::google::protobuf::MessageLite; |
1575 | | friend class ::google::protobuf::Arena; |
1576 | | template <typename T> |
1577 | | friend class ::google::protobuf::Arena::InternalHelper; |
1578 | | using InternalArenaConstructable_ = void; |
1579 | | using DestructorSkippable_ = void; |
1580 | | struct Impl_ { |
1581 | | inline explicit constexpr Impl_( |
1582 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1583 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1584 | | ::google::protobuf::Arena* arena); |
1585 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1586 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1587 | | const KeyValue& from_msg); |
1588 | | ::google::protobuf::internal::ArenaStringPtr key_; |
1589 | | ::google::protobuf::internal::ArenaStringPtr value_; |
1590 | | int type_; |
1591 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1592 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1593 | | }; |
1594 | | union { Impl_ _impl_; }; |
1595 | | friend struct ::TableStruct_xml_2eproto; |
1596 | | }; |
1597 | | // ------------------------------------------------------------------- |
1598 | | |
1599 | | class ExternalId final : public ::google::protobuf::Message |
1600 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.ExternalId) */ { |
1601 | | public: |
1602 | 0 | inline ExternalId() : ExternalId(nullptr) {} |
1603 | | ~ExternalId() PROTOBUF_FINAL; |
1604 | | |
1605 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1606 | | void operator delete(ExternalId* msg, std::destroying_delete_t) { |
1607 | | SharedDtor(*msg); |
1608 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(ExternalId)); |
1609 | | } |
1610 | | #endif |
1611 | | |
1612 | | template <typename = void> |
1613 | | explicit PROTOBUF_CONSTEXPR ExternalId( |
1614 | | ::google::protobuf::internal::ConstantInitialized); |
1615 | | |
1616 | 0 | inline ExternalId(const ExternalId& from) : ExternalId(nullptr, from) {} |
1617 | | inline ExternalId(ExternalId&& from) noexcept |
1618 | 0 | : ExternalId(nullptr, std::move(from)) {} |
1619 | 0 | inline ExternalId& operator=(const ExternalId& from) { |
1620 | 0 | CopyFrom(from); |
1621 | 0 | return *this; |
1622 | 0 | } |
1623 | 0 | inline ExternalId& operator=(ExternalId&& from) noexcept { |
1624 | 0 | if (this == &from) return *this; |
1625 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1626 | 0 | InternalSwap(&from); |
1627 | 0 | } else { |
1628 | 0 | CopyFrom(from); |
1629 | 0 | } |
1630 | 0 | return *this; |
1631 | 0 | } |
1632 | | |
1633 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1634 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1635 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1636 | 0 | } |
1637 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1638 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1639 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1640 | 0 | } |
1641 | | |
1642 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1643 | 0 | return GetDescriptor(); |
1644 | 0 | } |
1645 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1646 | 0 | return default_instance().GetMetadata().descriptor; |
1647 | 0 | } |
1648 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1649 | 0 | return default_instance().GetMetadata().reflection; |
1650 | 0 | } |
1651 | 0 | static const ExternalId& default_instance() { |
1652 | 0 | return *internal_default_instance(); |
1653 | 0 | } |
1654 | 0 | static inline const ExternalId* internal_default_instance() { |
1655 | 0 | return reinterpret_cast<const ExternalId*>( |
1656 | 0 | &_ExternalId_default_instance_); |
1657 | 0 | } |
1658 | | static constexpr int kIndexInFileMessages = 6; |
1659 | 0 | friend void swap(ExternalId& a, ExternalId& b) { a.Swap(&b); } |
1660 | 0 | inline void Swap(ExternalId* other) { |
1661 | 0 | if (other == this) return; |
1662 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1663 | 0 | InternalSwap(other); |
1664 | 0 | } else { |
1665 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1666 | 0 | } |
1667 | 0 | } |
1668 | 0 | void UnsafeArenaSwap(ExternalId* other) { |
1669 | 0 | if (other == this) return; |
1670 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1671 | 0 | InternalSwap(other); |
1672 | 0 | } |
1673 | | |
1674 | | // implements Message ---------------------------------------------- |
1675 | | |
1676 | 0 | ExternalId* New(::google::protobuf::Arena* arena = nullptr) const { |
1677 | 0 | return ::google::protobuf::Message::DefaultConstruct<ExternalId>(arena); |
1678 | 0 | } |
1679 | | using ::google::protobuf::Message::CopyFrom; |
1680 | | void CopyFrom(const ExternalId& from); |
1681 | | using ::google::protobuf::Message::MergeFrom; |
1682 | 0 | void MergeFrom(const ExternalId& from) { ExternalId::MergeImpl(*this, from); } |
1683 | | |
1684 | | private: |
1685 | | static void MergeImpl( |
1686 | | ::google::protobuf::MessageLite& to_msg, |
1687 | | const ::google::protobuf::MessageLite& from_msg); |
1688 | | |
1689 | | public: |
1690 | 0 | bool IsInitialized() const { |
1691 | 0 | return true; |
1692 | 0 | } |
1693 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1694 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1695 | | private: |
1696 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1697 | | static ::uint8_t* _InternalSerialize( |
1698 | | const MessageLite& msg, ::uint8_t* target, |
1699 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1700 | | |
1701 | | public: |
1702 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1703 | | ::uint8_t* _InternalSerialize( |
1704 | | ::uint8_t* target, |
1705 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1706 | | return _InternalSerialize(*this, target, stream); |
1707 | | } |
1708 | | #else // PROTOBUF_CUSTOM_VTABLE |
1709 | | ::size_t ByteSizeLong() const final; |
1710 | | ::uint8_t* _InternalSerialize( |
1711 | | ::uint8_t* target, |
1712 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1713 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1714 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1715 | | |
1716 | | private: |
1717 | | void SharedCtor(::google::protobuf::Arena* arena); |
1718 | | static void SharedDtor(MessageLite& self); |
1719 | | void InternalSwap(ExternalId* other); |
1720 | | private: |
1721 | | template <typename T> |
1722 | | friend ::absl::string_view( |
1723 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1724 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.ExternalId"; } |
1725 | | |
1726 | | protected: |
1727 | | explicit ExternalId(::google::protobuf::Arena* arena); |
1728 | | ExternalId(::google::protobuf::Arena* arena, const ExternalId& from); |
1729 | | ExternalId(::google::protobuf::Arena* arena, ExternalId&& from) noexcept |
1730 | 0 | : ExternalId(arena) { |
1731 | 0 | *this = ::std::move(from); |
1732 | 0 | } |
1733 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1734 | | static void* PlacementNew_(const void*, void* mem, |
1735 | | ::google::protobuf::Arena* arena); |
1736 | | static constexpr auto InternalNewImpl_(); |
1737 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1738 | | |
1739 | | public: |
1740 | | ::google::protobuf::Metadata GetMetadata() const; |
1741 | | // nested types ---------------------------------------------------- |
1742 | | using Type = ExternalId_Type; |
1743 | | static constexpr Type SYSTEM = ExternalId_Type_SYSTEM; |
1744 | | static constexpr Type PUBLIC = ExternalId_Type_PUBLIC; |
1745 | | static constexpr Type FUZZ = ExternalId_Type_FUZZ; |
1746 | 13.2k | static inline bool Type_IsValid(int value) { |
1747 | 13.2k | return ExternalId_Type_IsValid(value); |
1748 | 13.2k | } |
1749 | | static constexpr Type Type_MIN = ExternalId_Type_Type_MIN; |
1750 | | static constexpr Type Type_MAX = ExternalId_Type_Type_MAX; |
1751 | | static constexpr int Type_ARRAYSIZE = ExternalId_Type_Type_ARRAYSIZE; |
1752 | 0 | static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { |
1753 | 0 | return ExternalId_Type_descriptor(); |
1754 | 0 | } |
1755 | | template <typename T> |
1756 | | static inline const std::string& Type_Name(T value) { |
1757 | | return ExternalId_Type_Name(value); |
1758 | | } |
1759 | 0 | static inline bool Type_Parse(absl::string_view name, Type* value) { |
1760 | 0 | return ExternalId_Type_Parse(name, value); |
1761 | 0 | } |
1762 | | |
1763 | | // accessors ------------------------------------------------------- |
1764 | | enum : int { |
1765 | | kSystemFieldNumber = 2, |
1766 | | kPubFieldNumber = 3, |
1767 | | kTypeFieldNumber = 1, |
1768 | | }; |
1769 | | // string system = 2; |
1770 | | void clear_system() ; |
1771 | | const std::string& system() const; |
1772 | | template <typename Arg_ = const std::string&, typename... Args_> |
1773 | | void set_system(Arg_&& arg, Args_... args); |
1774 | | std::string* mutable_system(); |
1775 | | PROTOBUF_NODISCARD std::string* release_system(); |
1776 | | void set_allocated_system(std::string* value); |
1777 | | |
1778 | | private: |
1779 | | const std::string& _internal_system() const; |
1780 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_system( |
1781 | | const std::string& value); |
1782 | | std::string* _internal_mutable_system(); |
1783 | | |
1784 | | public: |
1785 | | // string pub = 3; |
1786 | | void clear_pub() ; |
1787 | | const std::string& pub() const; |
1788 | | template <typename Arg_ = const std::string&, typename... Args_> |
1789 | | void set_pub(Arg_&& arg, Args_... args); |
1790 | | std::string* mutable_pub(); |
1791 | | PROTOBUF_NODISCARD std::string* release_pub(); |
1792 | | void set_allocated_pub(std::string* value); |
1793 | | |
1794 | | private: |
1795 | | const std::string& _internal_pub() const; |
1796 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_pub( |
1797 | | const std::string& value); |
1798 | | std::string* _internal_mutable_pub(); |
1799 | | |
1800 | | public: |
1801 | | // .xmlProtoFuzzer.ExternalId.Type type = 1; |
1802 | | void clear_type() ; |
1803 | | ::xmlProtoFuzzer::ExternalId_Type type() const; |
1804 | | void set_type(::xmlProtoFuzzer::ExternalId_Type value); |
1805 | | |
1806 | | private: |
1807 | | ::xmlProtoFuzzer::ExternalId_Type _internal_type() const; |
1808 | | void _internal_set_type(::xmlProtoFuzzer::ExternalId_Type value); |
1809 | | |
1810 | | public: |
1811 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.ExternalId) |
1812 | | private: |
1813 | | class _Internal; |
1814 | | friend class ::google::protobuf::internal::TcParser; |
1815 | | static const ::google::protobuf::internal::TcParseTable< |
1816 | | 2, 3, 0, |
1817 | | 43, 2> |
1818 | | _table_; |
1819 | | |
1820 | | friend class ::google::protobuf::MessageLite; |
1821 | | friend class ::google::protobuf::Arena; |
1822 | | template <typename T> |
1823 | | friend class ::google::protobuf::Arena::InternalHelper; |
1824 | | using InternalArenaConstructable_ = void; |
1825 | | using DestructorSkippable_ = void; |
1826 | | struct Impl_ { |
1827 | | inline explicit constexpr Impl_( |
1828 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
1829 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1830 | | ::google::protobuf::Arena* arena); |
1831 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
1832 | | ::google::protobuf::Arena* arena, const Impl_& from, |
1833 | | const ExternalId& from_msg); |
1834 | | ::google::protobuf::internal::ArenaStringPtr system_; |
1835 | | ::google::protobuf::internal::ArenaStringPtr pub_; |
1836 | | int type_; |
1837 | | ::google::protobuf::internal::CachedSize _cached_size_; |
1838 | | PROTOBUF_TSAN_DECLARE_MEMBER |
1839 | | }; |
1840 | | union { Impl_ _impl_; }; |
1841 | | friend struct ::TableStruct_xml_2eproto; |
1842 | | }; |
1843 | | // ------------------------------------------------------------------- |
1844 | | |
1845 | | class EnumeratedType final : public ::google::protobuf::Message |
1846 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.EnumeratedType) */ { |
1847 | | public: |
1848 | 0 | inline EnumeratedType() : EnumeratedType(nullptr) {} |
1849 | | ~EnumeratedType() PROTOBUF_FINAL; |
1850 | | |
1851 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1852 | | void operator delete(EnumeratedType* msg, std::destroying_delete_t) { |
1853 | | SharedDtor(*msg); |
1854 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(EnumeratedType)); |
1855 | | } |
1856 | | #endif |
1857 | | |
1858 | | template <typename = void> |
1859 | | explicit PROTOBUF_CONSTEXPR EnumeratedType( |
1860 | | ::google::protobuf::internal::ConstantInitialized); |
1861 | | |
1862 | 0 | inline EnumeratedType(const EnumeratedType& from) : EnumeratedType(nullptr, from) {} |
1863 | | inline EnumeratedType(EnumeratedType&& from) noexcept |
1864 | 0 | : EnumeratedType(nullptr, std::move(from)) {} |
1865 | 0 | inline EnumeratedType& operator=(const EnumeratedType& from) { |
1866 | 0 | CopyFrom(from); |
1867 | 0 | return *this; |
1868 | 0 | } |
1869 | 0 | inline EnumeratedType& operator=(EnumeratedType&& from) noexcept { |
1870 | 0 | if (this == &from) return *this; |
1871 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
1872 | 0 | InternalSwap(&from); |
1873 | 0 | } else { |
1874 | 0 | CopyFrom(from); |
1875 | 0 | } |
1876 | 0 | return *this; |
1877 | 0 | } |
1878 | | |
1879 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
1880 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1881 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
1882 | 0 | } |
1883 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
1884 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
1885 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
1886 | 0 | } |
1887 | | |
1888 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
1889 | 0 | return GetDescriptor(); |
1890 | 0 | } |
1891 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
1892 | 0 | return default_instance().GetMetadata().descriptor; |
1893 | 0 | } |
1894 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
1895 | 0 | return default_instance().GetMetadata().reflection; |
1896 | 0 | } |
1897 | 0 | static const EnumeratedType& default_instance() { |
1898 | 0 | return *internal_default_instance(); |
1899 | 0 | } |
1900 | 0 | static inline const EnumeratedType* internal_default_instance() { |
1901 | 0 | return reinterpret_cast<const EnumeratedType*>( |
1902 | 0 | &_EnumeratedType_default_instance_); |
1903 | 0 | } |
1904 | | static constexpr int kIndexInFileMessages = 4; |
1905 | 0 | friend void swap(EnumeratedType& a, EnumeratedType& b) { a.Swap(&b); } |
1906 | 0 | inline void Swap(EnumeratedType* other) { |
1907 | 0 | if (other == this) return; |
1908 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
1909 | 0 | InternalSwap(other); |
1910 | 0 | } else { |
1911 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
1912 | 0 | } |
1913 | 0 | } |
1914 | 0 | void UnsafeArenaSwap(EnumeratedType* other) { |
1915 | 0 | if (other == this) return; |
1916 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
1917 | 0 | InternalSwap(other); |
1918 | 0 | } |
1919 | | |
1920 | | // implements Message ---------------------------------------------- |
1921 | | |
1922 | 0 | EnumeratedType* New(::google::protobuf::Arena* arena = nullptr) const { |
1923 | 0 | return ::google::protobuf::Message::DefaultConstruct<EnumeratedType>(arena); |
1924 | 0 | } |
1925 | | using ::google::protobuf::Message::CopyFrom; |
1926 | | void CopyFrom(const EnumeratedType& from); |
1927 | | using ::google::protobuf::Message::MergeFrom; |
1928 | 0 | void MergeFrom(const EnumeratedType& from) { EnumeratedType::MergeImpl(*this, from); } |
1929 | | |
1930 | | private: |
1931 | | static void MergeImpl( |
1932 | | ::google::protobuf::MessageLite& to_msg, |
1933 | | const ::google::protobuf::MessageLite& from_msg); |
1934 | | |
1935 | | public: |
1936 | 0 | bool IsInitialized() const { |
1937 | 0 | return true; |
1938 | 0 | } |
1939 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
1940 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
1941 | | private: |
1942 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
1943 | | static ::uint8_t* _InternalSerialize( |
1944 | | const MessageLite& msg, ::uint8_t* target, |
1945 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
1946 | | |
1947 | | public: |
1948 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
1949 | | ::uint8_t* _InternalSerialize( |
1950 | | ::uint8_t* target, |
1951 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
1952 | | return _InternalSerialize(*this, target, stream); |
1953 | | } |
1954 | | #else // PROTOBUF_CUSTOM_VTABLE |
1955 | | ::size_t ByteSizeLong() const final; |
1956 | | ::uint8_t* _InternalSerialize( |
1957 | | ::uint8_t* target, |
1958 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
1959 | | #endif // PROTOBUF_CUSTOM_VTABLE |
1960 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
1961 | | |
1962 | | private: |
1963 | | void SharedCtor(::google::protobuf::Arena* arena); |
1964 | | static void SharedDtor(MessageLite& self); |
1965 | | void InternalSwap(EnumeratedType* other); |
1966 | | private: |
1967 | | template <typename T> |
1968 | | friend ::absl::string_view( |
1969 | | ::google::protobuf::internal::GetAnyMessageName)(); |
1970 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.EnumeratedType"; } |
1971 | | |
1972 | | protected: |
1973 | | explicit EnumeratedType(::google::protobuf::Arena* arena); |
1974 | | EnumeratedType(::google::protobuf::Arena* arena, const EnumeratedType& from); |
1975 | | EnumeratedType(::google::protobuf::Arena* arena, EnumeratedType&& from) noexcept |
1976 | 0 | : EnumeratedType(arena) { |
1977 | 0 | *this = ::std::move(from); |
1978 | 0 | } |
1979 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
1980 | | static void* PlacementNew_(const void*, void* mem, |
1981 | | ::google::protobuf::Arena* arena); |
1982 | | static constexpr auto InternalNewImpl_(); |
1983 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
1984 | | |
1985 | | public: |
1986 | | ::google::protobuf::Metadata GetMetadata() const; |
1987 | | // nested types ---------------------------------------------------- |
1988 | | |
1989 | | // accessors ------------------------------------------------------- |
1990 | | enum : int { |
1991 | | kNamesFieldNumber = 1, |
1992 | | }; |
1993 | | // repeated string names = 1; |
1994 | | int names_size() const; |
1995 | | private: |
1996 | | int _internal_names_size() const; |
1997 | | |
1998 | | public: |
1999 | | void clear_names() ; |
2000 | | const std::string& names(int index) const; |
2001 | | std::string* mutable_names(int index); |
2002 | | template <typename Arg_ = const std::string&, typename... Args_> |
2003 | | void set_names(int index, Arg_&& value, Args_... args); |
2004 | | std::string* add_names(); |
2005 | | template <typename Arg_ = const std::string&, typename... Args_> |
2006 | | void add_names(Arg_&& value, Args_... args); |
2007 | | const ::google::protobuf::RepeatedPtrField<std::string>& names() const; |
2008 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_names(); |
2009 | | |
2010 | | private: |
2011 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_names() const; |
2012 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_names(); |
2013 | | |
2014 | | public: |
2015 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.EnumeratedType) |
2016 | | private: |
2017 | | class _Internal; |
2018 | | friend class ::google::protobuf::internal::TcParser; |
2019 | | static const ::google::protobuf::internal::TcParseTable< |
2020 | | 0, 1, 0, |
2021 | | 43, 2> |
2022 | | _table_; |
2023 | | |
2024 | | friend class ::google::protobuf::MessageLite; |
2025 | | friend class ::google::protobuf::Arena; |
2026 | | template <typename T> |
2027 | | friend class ::google::protobuf::Arena::InternalHelper; |
2028 | | using InternalArenaConstructable_ = void; |
2029 | | using DestructorSkippable_ = void; |
2030 | | struct Impl_ { |
2031 | | inline explicit constexpr Impl_( |
2032 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2033 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2034 | | ::google::protobuf::Arena* arena); |
2035 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2036 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2037 | | const EnumeratedType& from_msg); |
2038 | | ::google::protobuf::RepeatedPtrField<std::string> names_; |
2039 | | ::google::protobuf::internal::CachedSize _cached_size_; |
2040 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2041 | | }; |
2042 | | union { Impl_ _impl_; }; |
2043 | | friend struct ::TableStruct_xml_2eproto; |
2044 | | }; |
2045 | | // ------------------------------------------------------------------- |
2046 | | |
2047 | | class EntityValue final : public ::google::protobuf::Message |
2048 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.EntityValue) */ { |
2049 | | public: |
2050 | 0 | inline EntityValue() : EntityValue(nullptr) {} |
2051 | | ~EntityValue() PROTOBUF_FINAL; |
2052 | | |
2053 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2054 | | void operator delete(EntityValue* msg, std::destroying_delete_t) { |
2055 | | SharedDtor(*msg); |
2056 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(EntityValue)); |
2057 | | } |
2058 | | #endif |
2059 | | |
2060 | | template <typename = void> |
2061 | | explicit PROTOBUF_CONSTEXPR EntityValue( |
2062 | | ::google::protobuf::internal::ConstantInitialized); |
2063 | | |
2064 | 0 | inline EntityValue(const EntityValue& from) : EntityValue(nullptr, from) {} |
2065 | | inline EntityValue(EntityValue&& from) noexcept |
2066 | 0 | : EntityValue(nullptr, std::move(from)) {} |
2067 | 0 | inline EntityValue& operator=(const EntityValue& from) { |
2068 | 0 | CopyFrom(from); |
2069 | 0 | return *this; |
2070 | 0 | } |
2071 | 0 | inline EntityValue& operator=(EntityValue&& from) noexcept { |
2072 | 0 | if (this == &from) return *this; |
2073 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
2074 | 0 | InternalSwap(&from); |
2075 | 0 | } else { |
2076 | 0 | CopyFrom(from); |
2077 | 0 | } |
2078 | 0 | return *this; |
2079 | 0 | } |
2080 | | |
2081 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2082 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2083 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2084 | 0 | } |
2085 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2086 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2087 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2088 | 0 | } |
2089 | | |
2090 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2091 | 0 | return GetDescriptor(); |
2092 | 0 | } |
2093 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2094 | 0 | return default_instance().GetMetadata().descriptor; |
2095 | 0 | } |
2096 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2097 | 0 | return default_instance().GetMetadata().reflection; |
2098 | 0 | } |
2099 | 0 | static const EntityValue& default_instance() { |
2100 | 0 | return *internal_default_instance(); |
2101 | 0 | } |
2102 | 0 | static inline const EntityValue* internal_default_instance() { |
2103 | 0 | return reinterpret_cast<const EntityValue*>( |
2104 | 0 | &_EntityValue_default_instance_); |
2105 | 0 | } |
2106 | | static constexpr int kIndexInFileMessages = 12; |
2107 | 0 | friend void swap(EntityValue& a, EntityValue& b) { a.Swap(&b); } |
2108 | 0 | inline void Swap(EntityValue* other) { |
2109 | 0 | if (other == this) return; |
2110 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
2111 | 0 | InternalSwap(other); |
2112 | 0 | } else { |
2113 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2114 | 0 | } |
2115 | 0 | } |
2116 | 0 | void UnsafeArenaSwap(EntityValue* other) { |
2117 | 0 | if (other == this) return; |
2118 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2119 | 0 | InternalSwap(other); |
2120 | 0 | } |
2121 | | |
2122 | | // implements Message ---------------------------------------------- |
2123 | | |
2124 | 0 | EntityValue* New(::google::protobuf::Arena* arena = nullptr) const { |
2125 | 0 | return ::google::protobuf::Message::DefaultConstruct<EntityValue>(arena); |
2126 | 0 | } |
2127 | | using ::google::protobuf::Message::CopyFrom; |
2128 | | void CopyFrom(const EntityValue& from); |
2129 | | using ::google::protobuf::Message::MergeFrom; |
2130 | 0 | void MergeFrom(const EntityValue& from) { EntityValue::MergeImpl(*this, from); } |
2131 | | |
2132 | | private: |
2133 | | static void MergeImpl( |
2134 | | ::google::protobuf::MessageLite& to_msg, |
2135 | | const ::google::protobuf::MessageLite& from_msg); |
2136 | | |
2137 | | public: |
2138 | 0 | bool IsInitialized() const { |
2139 | 0 | return true; |
2140 | 0 | } |
2141 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
2142 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2143 | | private: |
2144 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
2145 | | static ::uint8_t* _InternalSerialize( |
2146 | | const MessageLite& msg, ::uint8_t* target, |
2147 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
2148 | | |
2149 | | public: |
2150 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
2151 | | ::uint8_t* _InternalSerialize( |
2152 | | ::uint8_t* target, |
2153 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2154 | | return _InternalSerialize(*this, target, stream); |
2155 | | } |
2156 | | #else // PROTOBUF_CUSTOM_VTABLE |
2157 | | ::size_t ByteSizeLong() const final; |
2158 | | ::uint8_t* _InternalSerialize( |
2159 | | ::uint8_t* target, |
2160 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
2161 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2162 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
2163 | | |
2164 | | private: |
2165 | | void SharedCtor(::google::protobuf::Arena* arena); |
2166 | | static void SharedDtor(MessageLite& self); |
2167 | | void InternalSwap(EntityValue* other); |
2168 | | private: |
2169 | | template <typename T> |
2170 | | friend ::absl::string_view( |
2171 | | ::google::protobuf::internal::GetAnyMessageName)(); |
2172 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.EntityValue"; } |
2173 | | |
2174 | | protected: |
2175 | | explicit EntityValue(::google::protobuf::Arena* arena); |
2176 | | EntityValue(::google::protobuf::Arena* arena, const EntityValue& from); |
2177 | | EntityValue(::google::protobuf::Arena* arena, EntityValue&& from) noexcept |
2178 | 0 | : EntityValue(arena) { |
2179 | 0 | *this = ::std::move(from); |
2180 | 0 | } |
2181 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
2182 | | static void* PlacementNew_(const void*, void* mem, |
2183 | | ::google::protobuf::Arena* arena); |
2184 | | static constexpr auto InternalNewImpl_(); |
2185 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
2186 | | |
2187 | | public: |
2188 | | ::google::protobuf::Metadata GetMetadata() const; |
2189 | | // nested types ---------------------------------------------------- |
2190 | | using Type = EntityValue_Type; |
2191 | | static constexpr Type ENTITY = EntityValue_Type_ENTITY; |
2192 | | static constexpr Type CHAR = EntityValue_Type_CHAR; |
2193 | | static constexpr Type PEREF = EntityValue_Type_PEREF; |
2194 | | static constexpr Type FUZZ = EntityValue_Type_FUZZ; |
2195 | 3.88k | static inline bool Type_IsValid(int value) { |
2196 | 3.88k | return EntityValue_Type_IsValid(value); |
2197 | 3.88k | } |
2198 | | static constexpr Type Type_MIN = EntityValue_Type_Type_MIN; |
2199 | | static constexpr Type Type_MAX = EntityValue_Type_Type_MAX; |
2200 | | static constexpr int Type_ARRAYSIZE = EntityValue_Type_Type_ARRAYSIZE; |
2201 | 0 | static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { |
2202 | 0 | return EntityValue_Type_descriptor(); |
2203 | 0 | } |
2204 | | template <typename T> |
2205 | | static inline const std::string& Type_Name(T value) { |
2206 | | return EntityValue_Type_Name(value); |
2207 | | } |
2208 | 0 | static inline bool Type_Parse(absl::string_view name, Type* value) { |
2209 | 0 | return EntityValue_Type_Parse(name, value); |
2210 | 0 | } |
2211 | | |
2212 | | // accessors ------------------------------------------------------- |
2213 | | enum : int { |
2214 | | kNameFieldNumber = 2, |
2215 | | kTypeFieldNumber = 1, |
2216 | | }; |
2217 | | // repeated string name = 2; |
2218 | | int name_size() const; |
2219 | | private: |
2220 | | int _internal_name_size() const; |
2221 | | |
2222 | | public: |
2223 | | void clear_name() ; |
2224 | | const std::string& name(int index) const; |
2225 | | std::string* mutable_name(int index); |
2226 | | template <typename Arg_ = const std::string&, typename... Args_> |
2227 | | void set_name(int index, Arg_&& value, Args_... args); |
2228 | | std::string* add_name(); |
2229 | | template <typename Arg_ = const std::string&, typename... Args_> |
2230 | | void add_name(Arg_&& value, Args_... args); |
2231 | | const ::google::protobuf::RepeatedPtrField<std::string>& name() const; |
2232 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_name(); |
2233 | | |
2234 | | private: |
2235 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_name() const; |
2236 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_name(); |
2237 | | |
2238 | | public: |
2239 | | // .xmlProtoFuzzer.EntityValue.Type type = 1; |
2240 | | void clear_type() ; |
2241 | | ::xmlProtoFuzzer::EntityValue_Type type() const; |
2242 | | void set_type(::xmlProtoFuzzer::EntityValue_Type value); |
2243 | | |
2244 | | private: |
2245 | | ::xmlProtoFuzzer::EntityValue_Type _internal_type() const; |
2246 | | void _internal_set_type(::xmlProtoFuzzer::EntityValue_Type value); |
2247 | | |
2248 | | public: |
2249 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.EntityValue) |
2250 | | private: |
2251 | | class _Internal; |
2252 | | friend class ::google::protobuf::internal::TcParser; |
2253 | | static const ::google::protobuf::internal::TcParseTable< |
2254 | | 1, 2, 0, |
2255 | | 39, 2> |
2256 | | _table_; |
2257 | | |
2258 | | friend class ::google::protobuf::MessageLite; |
2259 | | friend class ::google::protobuf::Arena; |
2260 | | template <typename T> |
2261 | | friend class ::google::protobuf::Arena::InternalHelper; |
2262 | | using InternalArenaConstructable_ = void; |
2263 | | using DestructorSkippable_ = void; |
2264 | | struct Impl_ { |
2265 | | inline explicit constexpr Impl_( |
2266 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2267 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2268 | | ::google::protobuf::Arena* arena); |
2269 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2270 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2271 | | const EntityValue& from_msg); |
2272 | | ::google::protobuf::RepeatedPtrField<std::string> name_; |
2273 | | int type_; |
2274 | | ::google::protobuf::internal::CachedSize _cached_size_; |
2275 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2276 | | }; |
2277 | | union { Impl_ _impl_; }; |
2278 | | friend struct ::TableStruct_xml_2eproto; |
2279 | | }; |
2280 | | // ------------------------------------------------------------------- |
2281 | | |
2282 | | class Encodings final : public ::google::protobuf::Message |
2283 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.Encodings) */ { |
2284 | | public: |
2285 | 0 | inline Encodings() : Encodings(nullptr) {} |
2286 | | ~Encodings() PROTOBUF_FINAL; |
2287 | | |
2288 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2289 | | void operator delete(Encodings* msg, std::destroying_delete_t) { |
2290 | | SharedDtor(*msg); |
2291 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Encodings)); |
2292 | | } |
2293 | | #endif |
2294 | | |
2295 | | template <typename = void> |
2296 | | explicit PROTOBUF_CONSTEXPR Encodings( |
2297 | | ::google::protobuf::internal::ConstantInitialized); |
2298 | | |
2299 | 0 | inline Encodings(const Encodings& from) : Encodings(nullptr, from) {} |
2300 | | inline Encodings(Encodings&& from) noexcept |
2301 | 0 | : Encodings(nullptr, std::move(from)) {} |
2302 | 0 | inline Encodings& operator=(const Encodings& from) { |
2303 | 0 | CopyFrom(from); |
2304 | 0 | return *this; |
2305 | 0 | } |
2306 | 0 | inline Encodings& operator=(Encodings&& from) noexcept { |
2307 | 0 | if (this == &from) return *this; |
2308 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
2309 | 0 | InternalSwap(&from); |
2310 | 0 | } else { |
2311 | 0 | CopyFrom(from); |
2312 | 0 | } |
2313 | 0 | return *this; |
2314 | 0 | } |
2315 | | |
2316 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2317 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2318 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2319 | 0 | } |
2320 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2321 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2322 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2323 | 0 | } |
2324 | | |
2325 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2326 | 0 | return GetDescriptor(); |
2327 | 0 | } |
2328 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2329 | 0 | return default_instance().GetMetadata().descriptor; |
2330 | 0 | } |
2331 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2332 | 0 | return default_instance().GetMetadata().reflection; |
2333 | 0 | } |
2334 | 0 | static const Encodings& default_instance() { |
2335 | 0 | return *internal_default_instance(); |
2336 | 0 | } |
2337 | 0 | static inline const Encodings* internal_default_instance() { |
2338 | 0 | return reinterpret_cast<const Encodings*>( |
2339 | 0 | &_Encodings_default_instance_); |
2340 | 0 | } |
2341 | | static constexpr int kIndexInFileMessages = 29; |
2342 | 0 | friend void swap(Encodings& a, Encodings& b) { a.Swap(&b); } |
2343 | 0 | inline void Swap(Encodings* other) { |
2344 | 0 | if (other == this) return; |
2345 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
2346 | 0 | InternalSwap(other); |
2347 | 0 | } else { |
2348 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2349 | 0 | } |
2350 | 0 | } |
2351 | 0 | void UnsafeArenaSwap(Encodings* other) { |
2352 | 0 | if (other == this) return; |
2353 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2354 | 0 | InternalSwap(other); |
2355 | 0 | } |
2356 | | |
2357 | | // implements Message ---------------------------------------------- |
2358 | | |
2359 | 0 | Encodings* New(::google::protobuf::Arena* arena = nullptr) const { |
2360 | 0 | return ::google::protobuf::Message::DefaultConstruct<Encodings>(arena); |
2361 | 0 | } |
2362 | | using ::google::protobuf::Message::CopyFrom; |
2363 | | void CopyFrom(const Encodings& from); |
2364 | | using ::google::protobuf::Message::MergeFrom; |
2365 | 0 | void MergeFrom(const Encodings& from) { Encodings::MergeImpl(*this, from); } |
2366 | | |
2367 | | private: |
2368 | | static void MergeImpl( |
2369 | | ::google::protobuf::MessageLite& to_msg, |
2370 | | const ::google::protobuf::MessageLite& from_msg); |
2371 | | |
2372 | | public: |
2373 | 0 | bool IsInitialized() const { |
2374 | 0 | return true; |
2375 | 0 | } |
2376 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
2377 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2378 | | private: |
2379 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
2380 | | static ::uint8_t* _InternalSerialize( |
2381 | | const MessageLite& msg, ::uint8_t* target, |
2382 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
2383 | | |
2384 | | public: |
2385 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
2386 | | ::uint8_t* _InternalSerialize( |
2387 | | ::uint8_t* target, |
2388 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2389 | | return _InternalSerialize(*this, target, stream); |
2390 | | } |
2391 | | #else // PROTOBUF_CUSTOM_VTABLE |
2392 | | ::size_t ByteSizeLong() const final; |
2393 | | ::uint8_t* _InternalSerialize( |
2394 | | ::uint8_t* target, |
2395 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
2396 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2397 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
2398 | | |
2399 | | private: |
2400 | | void SharedCtor(::google::protobuf::Arena* arena); |
2401 | | static void SharedDtor(MessageLite& self); |
2402 | | void InternalSwap(Encodings* other); |
2403 | | private: |
2404 | | template <typename T> |
2405 | | friend ::absl::string_view( |
2406 | | ::google::protobuf::internal::GetAnyMessageName)(); |
2407 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.Encodings"; } |
2408 | | |
2409 | | protected: |
2410 | | explicit Encodings(::google::protobuf::Arena* arena); |
2411 | | Encodings(::google::protobuf::Arena* arena, const Encodings& from); |
2412 | | Encodings(::google::protobuf::Arena* arena, Encodings&& from) noexcept |
2413 | 0 | : Encodings(arena) { |
2414 | 0 | *this = ::std::move(from); |
2415 | 0 | } |
2416 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
2417 | | static void* PlacementNew_(const void*, void* mem, |
2418 | | ::google::protobuf::Arena* arena); |
2419 | | static constexpr auto InternalNewImpl_(); |
2420 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
2421 | | |
2422 | | public: |
2423 | | ::google::protobuf::Metadata GetMetadata() const; |
2424 | | // nested types ---------------------------------------------------- |
2425 | | using Enc = Encodings_Enc; |
2426 | | static constexpr Enc BIG5 = Encodings_Enc_BIG5; |
2427 | | static constexpr Enc EUCJP = Encodings_Enc_EUCJP; |
2428 | | static constexpr Enc EUCKR = Encodings_Enc_EUCKR; |
2429 | | static constexpr Enc GB18030 = Encodings_Enc_GB18030; |
2430 | | static constexpr Enc ISO2022JP = Encodings_Enc_ISO2022JP; |
2431 | | static constexpr Enc ISO2022KR = Encodings_Enc_ISO2022KR; |
2432 | | static constexpr Enc ISO88591 = Encodings_Enc_ISO88591; |
2433 | | static constexpr Enc ISO88592 = Encodings_Enc_ISO88592; |
2434 | | static constexpr Enc ISO88593 = Encodings_Enc_ISO88593; |
2435 | | static constexpr Enc ISO88594 = Encodings_Enc_ISO88594; |
2436 | | static constexpr Enc ISO88595 = Encodings_Enc_ISO88595; |
2437 | | static constexpr Enc ISO88596 = Encodings_Enc_ISO88596; |
2438 | | static constexpr Enc ISO88597 = Encodings_Enc_ISO88597; |
2439 | | static constexpr Enc ISO88598 = Encodings_Enc_ISO88598; |
2440 | | static constexpr Enc ISO88599 = Encodings_Enc_ISO88599; |
2441 | | static constexpr Enc SHIFTJIS = Encodings_Enc_SHIFTJIS; |
2442 | | static constexpr Enc TIS620 = Encodings_Enc_TIS620; |
2443 | | static constexpr Enc USASCII = Encodings_Enc_USASCII; |
2444 | | static constexpr Enc UTF8 = Encodings_Enc_UTF8; |
2445 | | static constexpr Enc UTF16 = Encodings_Enc_UTF16; |
2446 | | static constexpr Enc UTF16BE = Encodings_Enc_UTF16BE; |
2447 | | static constexpr Enc UTF16LE = Encodings_Enc_UTF16LE; |
2448 | | static constexpr Enc WINDOWS31J = Encodings_Enc_WINDOWS31J; |
2449 | | static constexpr Enc WINDOWS1255 = Encodings_Enc_WINDOWS1255; |
2450 | | static constexpr Enc WINDOWS1256 = Encodings_Enc_WINDOWS1256; |
2451 | | static constexpr Enc FUZZ = Encodings_Enc_FUZZ; |
2452 | 8.25k | static inline bool Enc_IsValid(int value) { |
2453 | 8.25k | return Encodings_Enc_IsValid(value); |
2454 | 8.25k | } |
2455 | | static constexpr Enc Enc_MIN = Encodings_Enc_Enc_MIN; |
2456 | | static constexpr Enc Enc_MAX = Encodings_Enc_Enc_MAX; |
2457 | | static constexpr int Enc_ARRAYSIZE = Encodings_Enc_Enc_ARRAYSIZE; |
2458 | 0 | static inline const ::google::protobuf::EnumDescriptor* Enc_descriptor() { |
2459 | 0 | return Encodings_Enc_descriptor(); |
2460 | 0 | } |
2461 | | template <typename T> |
2462 | | static inline const std::string& Enc_Name(T value) { |
2463 | | return Encodings_Enc_Name(value); |
2464 | | } |
2465 | 0 | static inline bool Enc_Parse(absl::string_view name, Enc* value) { |
2466 | 0 | return Encodings_Enc_Parse(name, value); |
2467 | 0 | } |
2468 | | |
2469 | | // accessors ------------------------------------------------------- |
2470 | | enum : int { |
2471 | | kFuzzFieldNumber = 2, |
2472 | | kNameFieldNumber = 1, |
2473 | | }; |
2474 | | // string fuzz = 2; |
2475 | | void clear_fuzz() ; |
2476 | | const std::string& fuzz() const; |
2477 | | template <typename Arg_ = const std::string&, typename... Args_> |
2478 | | void set_fuzz(Arg_&& arg, Args_... args); |
2479 | | std::string* mutable_fuzz(); |
2480 | | PROTOBUF_NODISCARD std::string* release_fuzz(); |
2481 | | void set_allocated_fuzz(std::string* value); |
2482 | | |
2483 | | private: |
2484 | | const std::string& _internal_fuzz() const; |
2485 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_fuzz( |
2486 | | const std::string& value); |
2487 | | std::string* _internal_mutable_fuzz(); |
2488 | | |
2489 | | public: |
2490 | | // .xmlProtoFuzzer.Encodings.Enc name = 1; |
2491 | | void clear_name() ; |
2492 | | ::xmlProtoFuzzer::Encodings_Enc name() const; |
2493 | | void set_name(::xmlProtoFuzzer::Encodings_Enc value); |
2494 | | |
2495 | | private: |
2496 | | ::xmlProtoFuzzer::Encodings_Enc _internal_name() const; |
2497 | | void _internal_set_name(::xmlProtoFuzzer::Encodings_Enc value); |
2498 | | |
2499 | | public: |
2500 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.Encodings) |
2501 | | private: |
2502 | | class _Internal; |
2503 | | friend class ::google::protobuf::internal::TcParser; |
2504 | | static const ::google::protobuf::internal::TcParseTable< |
2505 | | 1, 2, 0, |
2506 | | 37, 2> |
2507 | | _table_; |
2508 | | |
2509 | | friend class ::google::protobuf::MessageLite; |
2510 | | friend class ::google::protobuf::Arena; |
2511 | | template <typename T> |
2512 | | friend class ::google::protobuf::Arena::InternalHelper; |
2513 | | using InternalArenaConstructable_ = void; |
2514 | | using DestructorSkippable_ = void; |
2515 | | struct Impl_ { |
2516 | | inline explicit constexpr Impl_( |
2517 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2518 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2519 | | ::google::protobuf::Arena* arena); |
2520 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2521 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2522 | | const Encodings& from_msg); |
2523 | | ::google::protobuf::internal::ArenaStringPtr fuzz_; |
2524 | | int name_; |
2525 | | ::google::protobuf::internal::CachedSize _cached_size_; |
2526 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2527 | | }; |
2528 | | union { Impl_ _impl_; }; |
2529 | | friend struct ::TableStruct_xml_2eproto; |
2530 | | }; |
2531 | | // ------------------------------------------------------------------- |
2532 | | |
2533 | | class ElementDecl final : public ::google::protobuf::Message |
2534 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.ElementDecl) */ { |
2535 | | public: |
2536 | 0 | inline ElementDecl() : ElementDecl(nullptr) {} |
2537 | | ~ElementDecl() PROTOBUF_FINAL; |
2538 | | |
2539 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2540 | | void operator delete(ElementDecl* msg, std::destroying_delete_t) { |
2541 | | SharedDtor(*msg); |
2542 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(ElementDecl)); |
2543 | | } |
2544 | | #endif |
2545 | | |
2546 | | template <typename = void> |
2547 | | explicit PROTOBUF_CONSTEXPR ElementDecl( |
2548 | | ::google::protobuf::internal::ConstantInitialized); |
2549 | | |
2550 | 0 | inline ElementDecl(const ElementDecl& from) : ElementDecl(nullptr, from) {} |
2551 | | inline ElementDecl(ElementDecl&& from) noexcept |
2552 | 0 | : ElementDecl(nullptr, std::move(from)) {} |
2553 | 0 | inline ElementDecl& operator=(const ElementDecl& from) { |
2554 | 0 | CopyFrom(from); |
2555 | 0 | return *this; |
2556 | 0 | } |
2557 | 0 | inline ElementDecl& operator=(ElementDecl&& from) noexcept { |
2558 | 0 | if (this == &from) return *this; |
2559 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
2560 | 0 | InternalSwap(&from); |
2561 | 0 | } else { |
2562 | 0 | CopyFrom(from); |
2563 | 0 | } |
2564 | 0 | return *this; |
2565 | 0 | } |
2566 | | |
2567 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2568 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2569 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2570 | 0 | } |
2571 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2572 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2573 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2574 | 0 | } |
2575 | | |
2576 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2577 | 0 | return GetDescriptor(); |
2578 | 0 | } |
2579 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2580 | 0 | return default_instance().GetMetadata().descriptor; |
2581 | 0 | } |
2582 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2583 | 0 | return default_instance().GetMetadata().reflection; |
2584 | 0 | } |
2585 | 0 | static const ElementDecl& default_instance() { |
2586 | 0 | return *internal_default_instance(); |
2587 | 0 | } |
2588 | 0 | static inline const ElementDecl* internal_default_instance() { |
2589 | 0 | return reinterpret_cast<const ElementDecl*>( |
2590 | 0 | &_ElementDecl_default_instance_); |
2591 | 0 | } |
2592 | | static constexpr int kIndexInFileMessages = 2; |
2593 | 0 | friend void swap(ElementDecl& a, ElementDecl& b) { a.Swap(&b); } |
2594 | 0 | inline void Swap(ElementDecl* other) { |
2595 | 0 | if (other == this) return; |
2596 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
2597 | 0 | InternalSwap(other); |
2598 | 0 | } else { |
2599 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2600 | 0 | } |
2601 | 0 | } |
2602 | 0 | void UnsafeArenaSwap(ElementDecl* other) { |
2603 | 0 | if (other == this) return; |
2604 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2605 | 0 | InternalSwap(other); |
2606 | 0 | } |
2607 | | |
2608 | | // implements Message ---------------------------------------------- |
2609 | | |
2610 | 0 | ElementDecl* New(::google::protobuf::Arena* arena = nullptr) const { |
2611 | 0 | return ::google::protobuf::Message::DefaultConstruct<ElementDecl>(arena); |
2612 | 0 | } |
2613 | | using ::google::protobuf::Message::CopyFrom; |
2614 | | void CopyFrom(const ElementDecl& from); |
2615 | | using ::google::protobuf::Message::MergeFrom; |
2616 | 0 | void MergeFrom(const ElementDecl& from) { ElementDecl::MergeImpl(*this, from); } |
2617 | | |
2618 | | private: |
2619 | | static void MergeImpl( |
2620 | | ::google::protobuf::MessageLite& to_msg, |
2621 | | const ::google::protobuf::MessageLite& from_msg); |
2622 | | |
2623 | | public: |
2624 | 0 | bool IsInitialized() const { |
2625 | 0 | return true; |
2626 | 0 | } |
2627 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
2628 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2629 | | private: |
2630 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
2631 | | static ::uint8_t* _InternalSerialize( |
2632 | | const MessageLite& msg, ::uint8_t* target, |
2633 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
2634 | | |
2635 | | public: |
2636 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
2637 | | ::uint8_t* _InternalSerialize( |
2638 | | ::uint8_t* target, |
2639 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2640 | | return _InternalSerialize(*this, target, stream); |
2641 | | } |
2642 | | #else // PROTOBUF_CUSTOM_VTABLE |
2643 | | ::size_t ByteSizeLong() const final; |
2644 | | ::uint8_t* _InternalSerialize( |
2645 | | ::uint8_t* target, |
2646 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
2647 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2648 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
2649 | | |
2650 | | private: |
2651 | | void SharedCtor(::google::protobuf::Arena* arena); |
2652 | | static void SharedDtor(MessageLite& self); |
2653 | | void InternalSwap(ElementDecl* other); |
2654 | | private: |
2655 | | template <typename T> |
2656 | | friend ::absl::string_view( |
2657 | | ::google::protobuf::internal::GetAnyMessageName)(); |
2658 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.ElementDecl"; } |
2659 | | |
2660 | | protected: |
2661 | | explicit ElementDecl(::google::protobuf::Arena* arena); |
2662 | | ElementDecl(::google::protobuf::Arena* arena, const ElementDecl& from); |
2663 | | ElementDecl(::google::protobuf::Arena* arena, ElementDecl&& from) noexcept |
2664 | 0 | : ElementDecl(arena) { |
2665 | 0 | *this = ::std::move(from); |
2666 | 0 | } |
2667 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
2668 | | static void* PlacementNew_(const void*, void* mem, |
2669 | | ::google::protobuf::Arena* arena); |
2670 | | static constexpr auto InternalNewImpl_(); |
2671 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
2672 | | |
2673 | | public: |
2674 | | ::google::protobuf::Metadata GetMetadata() const; |
2675 | | // nested types ---------------------------------------------------- |
2676 | | using ContentSpec = ElementDecl_ContentSpec; |
2677 | | static constexpr ContentSpec EMPTY = ElementDecl_ContentSpec_EMPTY; |
2678 | | static constexpr ContentSpec ANY = ElementDecl_ContentSpec_ANY; |
2679 | | static constexpr ContentSpec FUZZ = ElementDecl_ContentSpec_FUZZ; |
2680 | | static constexpr ContentSpec MIXED = ElementDecl_ContentSpec_MIXED; |
2681 | | static constexpr ContentSpec CHILDREN = ElementDecl_ContentSpec_CHILDREN; |
2682 | 5.83k | static inline bool ContentSpec_IsValid(int value) { |
2683 | 5.83k | return ElementDecl_ContentSpec_IsValid(value); |
2684 | 5.83k | } |
2685 | | static constexpr ContentSpec ContentSpec_MIN = ElementDecl_ContentSpec_ContentSpec_MIN; |
2686 | | static constexpr ContentSpec ContentSpec_MAX = ElementDecl_ContentSpec_ContentSpec_MAX; |
2687 | | static constexpr int ContentSpec_ARRAYSIZE = ElementDecl_ContentSpec_ContentSpec_ARRAYSIZE; |
2688 | 0 | static inline const ::google::protobuf::EnumDescriptor* ContentSpec_descriptor() { |
2689 | 0 | return ElementDecl_ContentSpec_descriptor(); |
2690 | 0 | } |
2691 | | template <typename T> |
2692 | | static inline const std::string& ContentSpec_Name(T value) { |
2693 | | return ElementDecl_ContentSpec_Name(value); |
2694 | | } |
2695 | 0 | static inline bool ContentSpec_Parse(absl::string_view name, ContentSpec* value) { |
2696 | 0 | return ElementDecl_ContentSpec_Parse(name, value); |
2697 | 0 | } |
2698 | | |
2699 | | // accessors ------------------------------------------------------- |
2700 | | enum : int { |
2701 | | kCdataFieldNumber = 3, |
2702 | | kNameFieldNumber = 1, |
2703 | | kSpecFieldNumber = 2, |
2704 | | }; |
2705 | | // repeated string cdata = 3; |
2706 | | int cdata_size() const; |
2707 | | private: |
2708 | | int _internal_cdata_size() const; |
2709 | | |
2710 | | public: |
2711 | | void clear_cdata() ; |
2712 | | const std::string& cdata(int index) const; |
2713 | | std::string* mutable_cdata(int index); |
2714 | | template <typename Arg_ = const std::string&, typename... Args_> |
2715 | | void set_cdata(int index, Arg_&& value, Args_... args); |
2716 | | std::string* add_cdata(); |
2717 | | template <typename Arg_ = const std::string&, typename... Args_> |
2718 | | void add_cdata(Arg_&& value, Args_... args); |
2719 | | const ::google::protobuf::RepeatedPtrField<std::string>& cdata() const; |
2720 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_cdata(); |
2721 | | |
2722 | | private: |
2723 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_cdata() const; |
2724 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_cdata(); |
2725 | | |
2726 | | public: |
2727 | | // string name = 1; |
2728 | | void clear_name() ; |
2729 | | const std::string& name() const; |
2730 | | template <typename Arg_ = const std::string&, typename... Args_> |
2731 | | void set_name(Arg_&& arg, Args_... args); |
2732 | | std::string* mutable_name(); |
2733 | | PROTOBUF_NODISCARD std::string* release_name(); |
2734 | | void set_allocated_name(std::string* value); |
2735 | | |
2736 | | private: |
2737 | | const std::string& _internal_name() const; |
2738 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
2739 | | const std::string& value); |
2740 | | std::string* _internal_mutable_name(); |
2741 | | |
2742 | | public: |
2743 | | // .xmlProtoFuzzer.ElementDecl.ContentSpec spec = 2; |
2744 | | void clear_spec() ; |
2745 | | ::xmlProtoFuzzer::ElementDecl_ContentSpec spec() const; |
2746 | | void set_spec(::xmlProtoFuzzer::ElementDecl_ContentSpec value); |
2747 | | |
2748 | | private: |
2749 | | ::xmlProtoFuzzer::ElementDecl_ContentSpec _internal_spec() const; |
2750 | | void _internal_set_spec(::xmlProtoFuzzer::ElementDecl_ContentSpec value); |
2751 | | |
2752 | | public: |
2753 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.ElementDecl) |
2754 | | private: |
2755 | | class _Internal; |
2756 | | friend class ::google::protobuf::internal::TcParser; |
2757 | | static const ::google::protobuf::internal::TcParseTable< |
2758 | | 2, 3, 0, |
2759 | | 44, 2> |
2760 | | _table_; |
2761 | | |
2762 | | friend class ::google::protobuf::MessageLite; |
2763 | | friend class ::google::protobuf::Arena; |
2764 | | template <typename T> |
2765 | | friend class ::google::protobuf::Arena::InternalHelper; |
2766 | | using InternalArenaConstructable_ = void; |
2767 | | using DestructorSkippable_ = void; |
2768 | | struct Impl_ { |
2769 | | inline explicit constexpr Impl_( |
2770 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2771 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2772 | | ::google::protobuf::Arena* arena); |
2773 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2774 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2775 | | const ElementDecl& from_msg); |
2776 | | ::google::protobuf::RepeatedPtrField<std::string> cdata_; |
2777 | | ::google::protobuf::internal::ArenaStringPtr name_; |
2778 | | int spec_; |
2779 | | ::google::protobuf::internal::CachedSize _cached_size_; |
2780 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2781 | | }; |
2782 | | union { Impl_ _impl_; }; |
2783 | | friend struct ::TableStruct_xml_2eproto; |
2784 | | }; |
2785 | | // ------------------------------------------------------------------- |
2786 | | |
2787 | | class CData final : public ::google::protobuf::Message |
2788 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.CData) */ { |
2789 | | public: |
2790 | 0 | inline CData() : CData(nullptr) {} |
2791 | | ~CData() PROTOBUF_FINAL; |
2792 | | |
2793 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2794 | | void operator delete(CData* msg, std::destroying_delete_t) { |
2795 | | SharedDtor(*msg); |
2796 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(CData)); |
2797 | | } |
2798 | | #endif |
2799 | | |
2800 | | template <typename = void> |
2801 | | explicit PROTOBUF_CONSTEXPR CData( |
2802 | | ::google::protobuf::internal::ConstantInitialized); |
2803 | | |
2804 | 0 | inline CData(const CData& from) : CData(nullptr, from) {} |
2805 | | inline CData(CData&& from) noexcept |
2806 | 0 | : CData(nullptr, std::move(from)) {} |
2807 | 0 | inline CData& operator=(const CData& from) { |
2808 | 0 | CopyFrom(from); |
2809 | 0 | return *this; |
2810 | 0 | } |
2811 | 0 | inline CData& operator=(CData&& from) noexcept { |
2812 | 0 | if (this == &from) return *this; |
2813 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
2814 | 0 | InternalSwap(&from); |
2815 | 0 | } else { |
2816 | 0 | CopyFrom(from); |
2817 | 0 | } |
2818 | 0 | return *this; |
2819 | 0 | } |
2820 | | |
2821 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
2822 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2823 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
2824 | 0 | } |
2825 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
2826 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
2827 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
2828 | 0 | } |
2829 | | |
2830 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
2831 | 0 | return GetDescriptor(); |
2832 | 0 | } |
2833 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
2834 | 0 | return default_instance().GetMetadata().descriptor; |
2835 | 0 | } |
2836 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
2837 | 0 | return default_instance().GetMetadata().reflection; |
2838 | 0 | } |
2839 | 0 | static const CData& default_instance() { |
2840 | 0 | return *internal_default_instance(); |
2841 | 0 | } |
2842 | 0 | static inline const CData* internal_default_instance() { |
2843 | 0 | return reinterpret_cast<const CData*>( |
2844 | 0 | &_CData_default_instance_); |
2845 | 0 | } |
2846 | | static constexpr int kIndexInFileMessages = 25; |
2847 | 0 | friend void swap(CData& a, CData& b) { a.Swap(&b); } |
2848 | 0 | inline void Swap(CData* other) { |
2849 | 0 | if (other == this) return; |
2850 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
2851 | 0 | InternalSwap(other); |
2852 | 0 | } else { |
2853 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
2854 | 0 | } |
2855 | 0 | } |
2856 | 0 | void UnsafeArenaSwap(CData* other) { |
2857 | 0 | if (other == this) return; |
2858 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
2859 | 0 | InternalSwap(other); |
2860 | 0 | } |
2861 | | |
2862 | | // implements Message ---------------------------------------------- |
2863 | | |
2864 | 0 | CData* New(::google::protobuf::Arena* arena = nullptr) const { |
2865 | 0 | return ::google::protobuf::Message::DefaultConstruct<CData>(arena); |
2866 | 0 | } |
2867 | | using ::google::protobuf::Message::CopyFrom; |
2868 | | void CopyFrom(const CData& from); |
2869 | | using ::google::protobuf::Message::MergeFrom; |
2870 | 0 | void MergeFrom(const CData& from) { CData::MergeImpl(*this, from); } |
2871 | | |
2872 | | private: |
2873 | | static void MergeImpl( |
2874 | | ::google::protobuf::MessageLite& to_msg, |
2875 | | const ::google::protobuf::MessageLite& from_msg); |
2876 | | |
2877 | | public: |
2878 | 0 | bool IsInitialized() const { |
2879 | 0 | return true; |
2880 | 0 | } |
2881 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
2882 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2883 | | private: |
2884 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
2885 | | static ::uint8_t* _InternalSerialize( |
2886 | | const MessageLite& msg, ::uint8_t* target, |
2887 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
2888 | | |
2889 | | public: |
2890 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
2891 | | ::uint8_t* _InternalSerialize( |
2892 | | ::uint8_t* target, |
2893 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
2894 | | return _InternalSerialize(*this, target, stream); |
2895 | | } |
2896 | | #else // PROTOBUF_CUSTOM_VTABLE |
2897 | | ::size_t ByteSizeLong() const final; |
2898 | | ::uint8_t* _InternalSerialize( |
2899 | | ::uint8_t* target, |
2900 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
2901 | | #endif // PROTOBUF_CUSTOM_VTABLE |
2902 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
2903 | | |
2904 | | private: |
2905 | | void SharedCtor(::google::protobuf::Arena* arena); |
2906 | | static void SharedDtor(MessageLite& self); |
2907 | | void InternalSwap(CData* other); |
2908 | | private: |
2909 | | template <typename T> |
2910 | | friend ::absl::string_view( |
2911 | | ::google::protobuf::internal::GetAnyMessageName)(); |
2912 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.CData"; } |
2913 | | |
2914 | | protected: |
2915 | | explicit CData(::google::protobuf::Arena* arena); |
2916 | | CData(::google::protobuf::Arena* arena, const CData& from); |
2917 | | CData(::google::protobuf::Arena* arena, CData&& from) noexcept |
2918 | 0 | : CData(arena) { |
2919 | 0 | *this = ::std::move(from); |
2920 | 0 | } |
2921 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
2922 | | static void* PlacementNew_(const void*, void* mem, |
2923 | | ::google::protobuf::Arena* arena); |
2924 | | static constexpr auto InternalNewImpl_(); |
2925 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
2926 | | |
2927 | | public: |
2928 | | ::google::protobuf::Metadata GetMetadata() const; |
2929 | | // nested types ---------------------------------------------------- |
2930 | | |
2931 | | // accessors ------------------------------------------------------- |
2932 | | enum : int { |
2933 | | kDataFieldNumber = 1, |
2934 | | }; |
2935 | | // string data = 1; |
2936 | | void clear_data() ; |
2937 | | const std::string& data() const; |
2938 | | template <typename Arg_ = const std::string&, typename... Args_> |
2939 | | void set_data(Arg_&& arg, Args_... args); |
2940 | | std::string* mutable_data(); |
2941 | | PROTOBUF_NODISCARD std::string* release_data(); |
2942 | | void set_allocated_data(std::string* value); |
2943 | | |
2944 | | private: |
2945 | | const std::string& _internal_data() const; |
2946 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_data( |
2947 | | const std::string& value); |
2948 | | std::string* _internal_mutable_data(); |
2949 | | |
2950 | | public: |
2951 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.CData) |
2952 | | private: |
2953 | | class _Internal; |
2954 | | friend class ::google::protobuf::internal::TcParser; |
2955 | | static const ::google::protobuf::internal::TcParseTable< |
2956 | | 0, 1, 0, |
2957 | | 33, 2> |
2958 | | _table_; |
2959 | | |
2960 | | friend class ::google::protobuf::MessageLite; |
2961 | | friend class ::google::protobuf::Arena; |
2962 | | template <typename T> |
2963 | | friend class ::google::protobuf::Arena::InternalHelper; |
2964 | | using InternalArenaConstructable_ = void; |
2965 | | using DestructorSkippable_ = void; |
2966 | | struct Impl_ { |
2967 | | inline explicit constexpr Impl_( |
2968 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
2969 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2970 | | ::google::protobuf::Arena* arena); |
2971 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
2972 | | ::google::protobuf::Arena* arena, const Impl_& from, |
2973 | | const CData& from_msg); |
2974 | | ::google::protobuf::internal::ArenaStringPtr data_; |
2975 | | ::google::protobuf::internal::CachedSize _cached_size_; |
2976 | | PROTOBUF_TSAN_DECLARE_MEMBER |
2977 | | }; |
2978 | | union { Impl_ _impl_; }; |
2979 | | friend struct ::TableStruct_xml_2eproto; |
2980 | | }; |
2981 | | // ------------------------------------------------------------------- |
2982 | | |
2983 | | class AttrType final : public ::google::protobuf::Message |
2984 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.AttrType) */ { |
2985 | | public: |
2986 | 0 | inline AttrType() : AttrType(nullptr) {} |
2987 | | ~AttrType() PROTOBUF_FINAL; |
2988 | | |
2989 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
2990 | | void operator delete(AttrType* msg, std::destroying_delete_t) { |
2991 | | SharedDtor(*msg); |
2992 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(AttrType)); |
2993 | | } |
2994 | | #endif |
2995 | | |
2996 | | template <typename = void> |
2997 | | explicit PROTOBUF_CONSTEXPR AttrType( |
2998 | | ::google::protobuf::internal::ConstantInitialized); |
2999 | | |
3000 | 0 | inline AttrType(const AttrType& from) : AttrType(nullptr, from) {} |
3001 | | inline AttrType(AttrType&& from) noexcept |
3002 | 0 | : AttrType(nullptr, std::move(from)) {} |
3003 | 0 | inline AttrType& operator=(const AttrType& from) { |
3004 | 0 | CopyFrom(from); |
3005 | 0 | return *this; |
3006 | 0 | } |
3007 | 0 | inline AttrType& operator=(AttrType&& from) noexcept { |
3008 | 0 | if (this == &from) return *this; |
3009 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
3010 | 0 | InternalSwap(&from); |
3011 | 0 | } else { |
3012 | 0 | CopyFrom(from); |
3013 | 0 | } |
3014 | 0 | return *this; |
3015 | 0 | } |
3016 | | |
3017 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
3018 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3019 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
3020 | 0 | } |
3021 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
3022 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3023 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
3024 | 0 | } |
3025 | | |
3026 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
3027 | 0 | return GetDescriptor(); |
3028 | 0 | } |
3029 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
3030 | 0 | return default_instance().GetMetadata().descriptor; |
3031 | 0 | } |
3032 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
3033 | 0 | return default_instance().GetMetadata().reflection; |
3034 | 0 | } |
3035 | 0 | static const AttrType& default_instance() { |
3036 | 0 | return *internal_default_instance(); |
3037 | 0 | } |
3038 | 0 | static inline const AttrType* internal_default_instance() { |
3039 | 0 | return reinterpret_cast<const AttrType*>( |
3040 | 0 | &_AttrType_default_instance_); |
3041 | 0 | } |
3042 | | static constexpr int kIndexInFileMessages = 3; |
3043 | 0 | friend void swap(AttrType& a, AttrType& b) { a.Swap(&b); } |
3044 | 0 | inline void Swap(AttrType* other) { |
3045 | 0 | if (other == this) return; |
3046 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
3047 | 0 | InternalSwap(other); |
3048 | 0 | } else { |
3049 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
3050 | 0 | } |
3051 | 0 | } |
3052 | 0 | void UnsafeArenaSwap(AttrType* other) { |
3053 | 0 | if (other == this) return; |
3054 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
3055 | 0 | InternalSwap(other); |
3056 | 0 | } |
3057 | | |
3058 | | // implements Message ---------------------------------------------- |
3059 | | |
3060 | 0 | AttrType* New(::google::protobuf::Arena* arena = nullptr) const { |
3061 | 0 | return ::google::protobuf::Message::DefaultConstruct<AttrType>(arena); |
3062 | 0 | } |
3063 | | using ::google::protobuf::Message::CopyFrom; |
3064 | | void CopyFrom(const AttrType& from); |
3065 | | using ::google::protobuf::Message::MergeFrom; |
3066 | 0 | void MergeFrom(const AttrType& from) { AttrType::MergeImpl(*this, from); } |
3067 | | |
3068 | | private: |
3069 | | static void MergeImpl( |
3070 | | ::google::protobuf::MessageLite& to_msg, |
3071 | | const ::google::protobuf::MessageLite& from_msg); |
3072 | | |
3073 | | public: |
3074 | 0 | bool IsInitialized() const { |
3075 | 0 | return true; |
3076 | 0 | } |
3077 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
3078 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3079 | | private: |
3080 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
3081 | | static ::uint8_t* _InternalSerialize( |
3082 | | const MessageLite& msg, ::uint8_t* target, |
3083 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
3084 | | |
3085 | | public: |
3086 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
3087 | | ::uint8_t* _InternalSerialize( |
3088 | | ::uint8_t* target, |
3089 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
3090 | | return _InternalSerialize(*this, target, stream); |
3091 | | } |
3092 | | #else // PROTOBUF_CUSTOM_VTABLE |
3093 | | ::size_t ByteSizeLong() const final; |
3094 | | ::uint8_t* _InternalSerialize( |
3095 | | ::uint8_t* target, |
3096 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
3097 | | #endif // PROTOBUF_CUSTOM_VTABLE |
3098 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
3099 | | |
3100 | | private: |
3101 | | void SharedCtor(::google::protobuf::Arena* arena); |
3102 | | static void SharedDtor(MessageLite& self); |
3103 | | void InternalSwap(AttrType* other); |
3104 | | private: |
3105 | | template <typename T> |
3106 | | friend ::absl::string_view( |
3107 | | ::google::protobuf::internal::GetAnyMessageName)(); |
3108 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.AttrType"; } |
3109 | | |
3110 | | protected: |
3111 | | explicit AttrType(::google::protobuf::Arena* arena); |
3112 | | AttrType(::google::protobuf::Arena* arena, const AttrType& from); |
3113 | | AttrType(::google::protobuf::Arena* arena, AttrType&& from) noexcept |
3114 | 0 | : AttrType(arena) { |
3115 | 0 | *this = ::std::move(from); |
3116 | 0 | } |
3117 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
3118 | | static void* PlacementNew_(const void*, void* mem, |
3119 | | ::google::protobuf::Arena* arena); |
3120 | | static constexpr auto InternalNewImpl_(); |
3121 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
3122 | | |
3123 | | public: |
3124 | | ::google::protobuf::Metadata GetMetadata() const; |
3125 | | // nested types ---------------------------------------------------- |
3126 | | using Type = AttrType_Type; |
3127 | | static constexpr Type CDATA = AttrType_Type_CDATA; |
3128 | | static constexpr Type ID = AttrType_Type_ID; |
3129 | | static constexpr Type IDREF = AttrType_Type_IDREF; |
3130 | | static constexpr Type IDREFS = AttrType_Type_IDREFS; |
3131 | | static constexpr Type ENTITY = AttrType_Type_ENTITY; |
3132 | | static constexpr Type ENTITIES = AttrType_Type_ENTITIES; |
3133 | | static constexpr Type NMTOKEN = AttrType_Type_NMTOKEN; |
3134 | | static constexpr Type NMTOKENS = AttrType_Type_NMTOKENS; |
3135 | 0 | static inline bool Type_IsValid(int value) { |
3136 | 0 | return AttrType_Type_IsValid(value); |
3137 | 0 | } |
3138 | | static constexpr Type Type_MIN = AttrType_Type_Type_MIN; |
3139 | | static constexpr Type Type_MAX = AttrType_Type_Type_MAX; |
3140 | | static constexpr int Type_ARRAYSIZE = AttrType_Type_Type_ARRAYSIZE; |
3141 | 0 | static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { |
3142 | 0 | return AttrType_Type_descriptor(); |
3143 | 0 | } |
3144 | | template <typename T> |
3145 | | static inline const std::string& Type_Name(T value) { |
3146 | | return AttrType_Type_Name(value); |
3147 | | } |
3148 | 0 | static inline bool Type_Parse(absl::string_view name, Type* value) { |
3149 | 0 | return AttrType_Type_Parse(name, value); |
3150 | 0 | } |
3151 | | |
3152 | | // accessors ------------------------------------------------------- |
3153 | | enum : int { |
3154 | | kTyFieldNumber = 1, |
3155 | | }; |
3156 | | // .xmlProtoFuzzer.AttrType.Type ty = 1; |
3157 | | void clear_ty() ; |
3158 | | ::xmlProtoFuzzer::AttrType_Type ty() const; |
3159 | | void set_ty(::xmlProtoFuzzer::AttrType_Type value); |
3160 | | |
3161 | | private: |
3162 | | ::xmlProtoFuzzer::AttrType_Type _internal_ty() const; |
3163 | | void _internal_set_ty(::xmlProtoFuzzer::AttrType_Type value); |
3164 | | |
3165 | | public: |
3166 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.AttrType) |
3167 | | private: |
3168 | | class _Internal; |
3169 | | friend class ::google::protobuf::internal::TcParser; |
3170 | | static const ::google::protobuf::internal::TcParseTable< |
3171 | | 0, 1, 0, |
3172 | | 0, 2> |
3173 | | _table_; |
3174 | | |
3175 | | friend class ::google::protobuf::MessageLite; |
3176 | | friend class ::google::protobuf::Arena; |
3177 | | template <typename T> |
3178 | | friend class ::google::protobuf::Arena::InternalHelper; |
3179 | | using InternalArenaConstructable_ = void; |
3180 | | using DestructorSkippable_ = void; |
3181 | | struct Impl_ { |
3182 | | inline explicit constexpr Impl_( |
3183 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
3184 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3185 | | ::google::protobuf::Arena* arena); |
3186 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3187 | | ::google::protobuf::Arena* arena, const Impl_& from, |
3188 | | const AttrType& from_msg); |
3189 | | int ty_; |
3190 | | ::google::protobuf::internal::CachedSize _cached_size_; |
3191 | | PROTOBUF_TSAN_DECLARE_MEMBER |
3192 | | }; |
3193 | | union { Impl_ _impl_; }; |
3194 | | friend struct ::TableStruct_xml_2eproto; |
3195 | | }; |
3196 | | // ------------------------------------------------------------------- |
3197 | | |
3198 | | class AttValue final : public ::google::protobuf::Message |
3199 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.AttValue) */ { |
3200 | | public: |
3201 | 0 | inline AttValue() : AttValue(nullptr) {} |
3202 | | ~AttValue() PROTOBUF_FINAL; |
3203 | | |
3204 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3205 | | void operator delete(AttValue* msg, std::destroying_delete_t) { |
3206 | | SharedDtor(*msg); |
3207 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(AttValue)); |
3208 | | } |
3209 | | #endif |
3210 | | |
3211 | | template <typename = void> |
3212 | | explicit PROTOBUF_CONSTEXPR AttValue( |
3213 | | ::google::protobuf::internal::ConstantInitialized); |
3214 | | |
3215 | 0 | inline AttValue(const AttValue& from) : AttValue(nullptr, from) {} |
3216 | | inline AttValue(AttValue&& from) noexcept |
3217 | 0 | : AttValue(nullptr, std::move(from)) {} |
3218 | 0 | inline AttValue& operator=(const AttValue& from) { |
3219 | 0 | CopyFrom(from); |
3220 | 0 | return *this; |
3221 | 0 | } |
3222 | 0 | inline AttValue& operator=(AttValue&& from) noexcept { |
3223 | 0 | if (this == &from) return *this; |
3224 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
3225 | 0 | InternalSwap(&from); |
3226 | 0 | } else { |
3227 | 0 | CopyFrom(from); |
3228 | 0 | } |
3229 | 0 | return *this; |
3230 | 0 | } |
3231 | | |
3232 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
3233 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3234 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
3235 | 0 | } |
3236 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
3237 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3238 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
3239 | 0 | } |
3240 | | |
3241 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
3242 | 0 | return GetDescriptor(); |
3243 | 0 | } |
3244 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
3245 | 0 | return default_instance().GetMetadata().descriptor; |
3246 | 0 | } |
3247 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
3248 | 0 | return default_instance().GetMetadata().reflection; |
3249 | 0 | } |
3250 | 0 | static const AttValue& default_instance() { |
3251 | 0 | return *internal_default_instance(); |
3252 | 0 | } |
3253 | 0 | static inline const AttValue* internal_default_instance() { |
3254 | 0 | return reinterpret_cast<const AttValue*>( |
3255 | 0 | &_AttValue_default_instance_); |
3256 | 0 | } |
3257 | | static constexpr int kIndexInFileMessages = 7; |
3258 | 0 | friend void swap(AttValue& a, AttValue& b) { a.Swap(&b); } |
3259 | 0 | inline void Swap(AttValue* other) { |
3260 | 0 | if (other == this) return; |
3261 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
3262 | 0 | InternalSwap(other); |
3263 | 0 | } else { |
3264 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
3265 | 0 | } |
3266 | 0 | } |
3267 | 0 | void UnsafeArenaSwap(AttValue* other) { |
3268 | 0 | if (other == this) return; |
3269 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
3270 | 0 | InternalSwap(other); |
3271 | 0 | } |
3272 | | |
3273 | | // implements Message ---------------------------------------------- |
3274 | | |
3275 | 0 | AttValue* New(::google::protobuf::Arena* arena = nullptr) const { |
3276 | 0 | return ::google::protobuf::Message::DefaultConstruct<AttValue>(arena); |
3277 | 0 | } |
3278 | | using ::google::protobuf::Message::CopyFrom; |
3279 | | void CopyFrom(const AttValue& from); |
3280 | | using ::google::protobuf::Message::MergeFrom; |
3281 | 0 | void MergeFrom(const AttValue& from) { AttValue::MergeImpl(*this, from); } |
3282 | | |
3283 | | private: |
3284 | | static void MergeImpl( |
3285 | | ::google::protobuf::MessageLite& to_msg, |
3286 | | const ::google::protobuf::MessageLite& from_msg); |
3287 | | |
3288 | | public: |
3289 | 0 | bool IsInitialized() const { |
3290 | 0 | return true; |
3291 | 0 | } |
3292 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
3293 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3294 | | private: |
3295 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
3296 | | static ::uint8_t* _InternalSerialize( |
3297 | | const MessageLite& msg, ::uint8_t* target, |
3298 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
3299 | | |
3300 | | public: |
3301 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
3302 | | ::uint8_t* _InternalSerialize( |
3303 | | ::uint8_t* target, |
3304 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
3305 | | return _InternalSerialize(*this, target, stream); |
3306 | | } |
3307 | | #else // PROTOBUF_CUSTOM_VTABLE |
3308 | | ::size_t ByteSizeLong() const final; |
3309 | | ::uint8_t* _InternalSerialize( |
3310 | | ::uint8_t* target, |
3311 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
3312 | | #endif // PROTOBUF_CUSTOM_VTABLE |
3313 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
3314 | | |
3315 | | private: |
3316 | | void SharedCtor(::google::protobuf::Arena* arena); |
3317 | | static void SharedDtor(MessageLite& self); |
3318 | | void InternalSwap(AttValue* other); |
3319 | | private: |
3320 | | template <typename T> |
3321 | | friend ::absl::string_view( |
3322 | | ::google::protobuf::internal::GetAnyMessageName)(); |
3323 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.AttValue"; } |
3324 | | |
3325 | | protected: |
3326 | | explicit AttValue(::google::protobuf::Arena* arena); |
3327 | | AttValue(::google::protobuf::Arena* arena, const AttValue& from); |
3328 | | AttValue(::google::protobuf::Arena* arena, AttValue&& from) noexcept |
3329 | 0 | : AttValue(arena) { |
3330 | 0 | *this = ::std::move(from); |
3331 | 0 | } |
3332 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
3333 | | static void* PlacementNew_(const void*, void* mem, |
3334 | | ::google::protobuf::Arena* arena); |
3335 | | static constexpr auto InternalNewImpl_(); |
3336 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
3337 | | |
3338 | | public: |
3339 | | ::google::protobuf::Metadata GetMetadata() const; |
3340 | | // nested types ---------------------------------------------------- |
3341 | | using Type = AttValue_Type; |
3342 | | static constexpr Type ENTITY = AttValue_Type_ENTITY; |
3343 | | static constexpr Type CHAR = AttValue_Type_CHAR; |
3344 | | static constexpr Type FUZZ = AttValue_Type_FUZZ; |
3345 | 5.94k | static inline bool Type_IsValid(int value) { |
3346 | 5.94k | return AttValue_Type_IsValid(value); |
3347 | 5.94k | } |
3348 | | static constexpr Type Type_MIN = AttValue_Type_Type_MIN; |
3349 | | static constexpr Type Type_MAX = AttValue_Type_Type_MAX; |
3350 | | static constexpr int Type_ARRAYSIZE = AttValue_Type_Type_ARRAYSIZE; |
3351 | 0 | static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { |
3352 | 0 | return AttValue_Type_descriptor(); |
3353 | 0 | } |
3354 | | template <typename T> |
3355 | | static inline const std::string& Type_Name(T value) { |
3356 | | return AttValue_Type_Name(value); |
3357 | | } |
3358 | 0 | static inline bool Type_Parse(absl::string_view name, Type* value) { |
3359 | 0 | return AttValue_Type_Parse(name, value); |
3360 | 0 | } |
3361 | | |
3362 | | // accessors ------------------------------------------------------- |
3363 | | enum : int { |
3364 | | kValueFieldNumber = 2, |
3365 | | kTypeFieldNumber = 1, |
3366 | | }; |
3367 | | // repeated string value = 2; |
3368 | | int value_size() const; |
3369 | | private: |
3370 | | int _internal_value_size() const; |
3371 | | |
3372 | | public: |
3373 | | void clear_value() ; |
3374 | | const std::string& value(int index) const; |
3375 | | std::string* mutable_value(int index); |
3376 | | template <typename Arg_ = const std::string&, typename... Args_> |
3377 | | void set_value(int index, Arg_&& value, Args_... args); |
3378 | | std::string* add_value(); |
3379 | | template <typename Arg_ = const std::string&, typename... Args_> |
3380 | | void add_value(Arg_&& value, Args_... args); |
3381 | | const ::google::protobuf::RepeatedPtrField<std::string>& value() const; |
3382 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_value(); |
3383 | | |
3384 | | private: |
3385 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_value() const; |
3386 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_value(); |
3387 | | |
3388 | | public: |
3389 | | // .xmlProtoFuzzer.AttValue.Type type = 1; |
3390 | | void clear_type() ; |
3391 | | ::xmlProtoFuzzer::AttValue_Type type() const; |
3392 | | void set_type(::xmlProtoFuzzer::AttValue_Type value); |
3393 | | |
3394 | | private: |
3395 | | ::xmlProtoFuzzer::AttValue_Type _internal_type() const; |
3396 | | void _internal_set_type(::xmlProtoFuzzer::AttValue_Type value); |
3397 | | |
3398 | | public: |
3399 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.AttValue) |
3400 | | private: |
3401 | | class _Internal; |
3402 | | friend class ::google::protobuf::internal::TcParser; |
3403 | | static const ::google::protobuf::internal::TcParseTable< |
3404 | | 1, 2, 0, |
3405 | | 37, 2> |
3406 | | _table_; |
3407 | | |
3408 | | friend class ::google::protobuf::MessageLite; |
3409 | | friend class ::google::protobuf::Arena; |
3410 | | template <typename T> |
3411 | | friend class ::google::protobuf::Arena::InternalHelper; |
3412 | | using InternalArenaConstructable_ = void; |
3413 | | using DestructorSkippable_ = void; |
3414 | | struct Impl_ { |
3415 | | inline explicit constexpr Impl_( |
3416 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
3417 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3418 | | ::google::protobuf::Arena* arena); |
3419 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3420 | | ::google::protobuf::Arena* arena, const Impl_& from, |
3421 | | const AttValue& from_msg); |
3422 | | ::google::protobuf::RepeatedPtrField<std::string> value_; |
3423 | | int type_; |
3424 | | ::google::protobuf::internal::CachedSize _cached_size_; |
3425 | | PROTOBUF_TSAN_DECLARE_MEMBER |
3426 | | }; |
3427 | | union { Impl_ _impl_; }; |
3428 | | friend struct ::TableStruct_xml_2eproto; |
3429 | | }; |
3430 | | // ------------------------------------------------------------------- |
3431 | | |
3432 | | class XmlDeclaration final : public ::google::protobuf::Message |
3433 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.XmlDeclaration) */ { |
3434 | | public: |
3435 | 0 | inline XmlDeclaration() : XmlDeclaration(nullptr) {} |
3436 | | ~XmlDeclaration() PROTOBUF_FINAL; |
3437 | | |
3438 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3439 | | void operator delete(XmlDeclaration* msg, std::destroying_delete_t) { |
3440 | | SharedDtor(*msg); |
3441 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(XmlDeclaration)); |
3442 | | } |
3443 | | #endif |
3444 | | |
3445 | | template <typename = void> |
3446 | | explicit PROTOBUF_CONSTEXPR XmlDeclaration( |
3447 | | ::google::protobuf::internal::ConstantInitialized); |
3448 | | |
3449 | 0 | inline XmlDeclaration(const XmlDeclaration& from) : XmlDeclaration(nullptr, from) {} |
3450 | | inline XmlDeclaration(XmlDeclaration&& from) noexcept |
3451 | 0 | : XmlDeclaration(nullptr, std::move(from)) {} |
3452 | 0 | inline XmlDeclaration& operator=(const XmlDeclaration& from) { |
3453 | 0 | CopyFrom(from); |
3454 | 0 | return *this; |
3455 | 0 | } |
3456 | 0 | inline XmlDeclaration& operator=(XmlDeclaration&& from) noexcept { |
3457 | 0 | if (this == &from) return *this; |
3458 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
3459 | 0 | InternalSwap(&from); |
3460 | 0 | } else { |
3461 | 0 | CopyFrom(from); |
3462 | 0 | } |
3463 | 0 | return *this; |
3464 | 0 | } |
3465 | | |
3466 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
3467 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3468 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
3469 | 0 | } |
3470 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
3471 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3472 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
3473 | 0 | } |
3474 | | |
3475 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
3476 | 0 | return GetDescriptor(); |
3477 | 0 | } |
3478 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
3479 | 0 | return default_instance().GetMetadata().descriptor; |
3480 | 0 | } |
3481 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
3482 | 0 | return default_instance().GetMetadata().reflection; |
3483 | 0 | } |
3484 | 0 | static const XmlDeclaration& default_instance() { |
3485 | 0 | return *internal_default_instance(); |
3486 | 0 | } |
3487 | 0 | static inline const XmlDeclaration* internal_default_instance() { |
3488 | 0 | return reinterpret_cast<const XmlDeclaration*>( |
3489 | 0 | &_XmlDeclaration_default_instance_); |
3490 | 0 | } |
3491 | | static constexpr int kIndexInFileMessages = 30; |
3492 | 0 | friend void swap(XmlDeclaration& a, XmlDeclaration& b) { a.Swap(&b); } |
3493 | 0 | inline void Swap(XmlDeclaration* other) { |
3494 | 0 | if (other == this) return; |
3495 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
3496 | 0 | InternalSwap(other); |
3497 | 0 | } else { |
3498 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
3499 | 0 | } |
3500 | 0 | } |
3501 | 0 | void UnsafeArenaSwap(XmlDeclaration* other) { |
3502 | 0 | if (other == this) return; |
3503 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
3504 | 0 | InternalSwap(other); |
3505 | 0 | } |
3506 | | |
3507 | | // implements Message ---------------------------------------------- |
3508 | | |
3509 | 0 | XmlDeclaration* New(::google::protobuf::Arena* arena = nullptr) const { |
3510 | 0 | return ::google::protobuf::Message::DefaultConstruct<XmlDeclaration>(arena); |
3511 | 0 | } |
3512 | | using ::google::protobuf::Message::CopyFrom; |
3513 | | void CopyFrom(const XmlDeclaration& from); |
3514 | | using ::google::protobuf::Message::MergeFrom; |
3515 | 0 | void MergeFrom(const XmlDeclaration& from) { XmlDeclaration::MergeImpl(*this, from); } |
3516 | | |
3517 | | private: |
3518 | | static void MergeImpl( |
3519 | | ::google::protobuf::MessageLite& to_msg, |
3520 | | const ::google::protobuf::MessageLite& from_msg); |
3521 | | |
3522 | | public: |
3523 | 0 | bool IsInitialized() const { |
3524 | 0 | return true; |
3525 | 0 | } |
3526 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
3527 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3528 | | private: |
3529 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
3530 | | static ::uint8_t* _InternalSerialize( |
3531 | | const MessageLite& msg, ::uint8_t* target, |
3532 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
3533 | | |
3534 | | public: |
3535 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
3536 | | ::uint8_t* _InternalSerialize( |
3537 | | ::uint8_t* target, |
3538 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
3539 | | return _InternalSerialize(*this, target, stream); |
3540 | | } |
3541 | | #else // PROTOBUF_CUSTOM_VTABLE |
3542 | | ::size_t ByteSizeLong() const final; |
3543 | | ::uint8_t* _InternalSerialize( |
3544 | | ::uint8_t* target, |
3545 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
3546 | | #endif // PROTOBUF_CUSTOM_VTABLE |
3547 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
3548 | | |
3549 | | private: |
3550 | | void SharedCtor(::google::protobuf::Arena* arena); |
3551 | | static void SharedDtor(MessageLite& self); |
3552 | | void InternalSwap(XmlDeclaration* other); |
3553 | | private: |
3554 | | template <typename T> |
3555 | | friend ::absl::string_view( |
3556 | | ::google::protobuf::internal::GetAnyMessageName)(); |
3557 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.XmlDeclaration"; } |
3558 | | |
3559 | | protected: |
3560 | | explicit XmlDeclaration(::google::protobuf::Arena* arena); |
3561 | | XmlDeclaration(::google::protobuf::Arena* arena, const XmlDeclaration& from); |
3562 | | XmlDeclaration(::google::protobuf::Arena* arena, XmlDeclaration&& from) noexcept |
3563 | 0 | : XmlDeclaration(arena) { |
3564 | 0 | *this = ::std::move(from); |
3565 | 0 | } |
3566 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
3567 | | static void* PlacementNew_(const void*, void* mem, |
3568 | | ::google::protobuf::Arena* arena); |
3569 | | static constexpr auto InternalNewImpl_(); |
3570 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
3571 | | |
3572 | | public: |
3573 | | ::google::protobuf::Metadata GetMetadata() const; |
3574 | | // nested types ---------------------------------------------------- |
3575 | | using Standalone = XmlDeclaration_Standalone; |
3576 | | static constexpr Standalone YES = XmlDeclaration_Standalone_YES; |
3577 | | static constexpr Standalone NO = XmlDeclaration_Standalone_NO; |
3578 | 0 | static inline bool Standalone_IsValid(int value) { |
3579 | 0 | return XmlDeclaration_Standalone_IsValid(value); |
3580 | 0 | } |
3581 | | static constexpr Standalone Standalone_MIN = XmlDeclaration_Standalone_Standalone_MIN; |
3582 | | static constexpr Standalone Standalone_MAX = XmlDeclaration_Standalone_Standalone_MAX; |
3583 | | static constexpr int Standalone_ARRAYSIZE = XmlDeclaration_Standalone_Standalone_ARRAYSIZE; |
3584 | 0 | static inline const ::google::protobuf::EnumDescriptor* Standalone_descriptor() { |
3585 | 0 | return XmlDeclaration_Standalone_descriptor(); |
3586 | 0 | } |
3587 | | template <typename T> |
3588 | | static inline const std::string& Standalone_Name(T value) { |
3589 | | return XmlDeclaration_Standalone_Name(value); |
3590 | | } |
3591 | 0 | static inline bool Standalone_Parse(absl::string_view name, Standalone* value) { |
3592 | 0 | return XmlDeclaration_Standalone_Parse(name, value); |
3593 | 0 | } |
3594 | | |
3595 | | // accessors ------------------------------------------------------- |
3596 | | enum : int { |
3597 | | kFuzzFieldNumber = 4, |
3598 | | kVerFieldNumber = 1, |
3599 | | kEncFieldNumber = 2, |
3600 | | kStandaloneFieldNumber = 3, |
3601 | | }; |
3602 | | // string fuzz = 4; |
3603 | | void clear_fuzz() ; |
3604 | | const std::string& fuzz() const; |
3605 | | template <typename Arg_ = const std::string&, typename... Args_> |
3606 | | void set_fuzz(Arg_&& arg, Args_... args); |
3607 | | std::string* mutable_fuzz(); |
3608 | | PROTOBUF_NODISCARD std::string* release_fuzz(); |
3609 | | void set_allocated_fuzz(std::string* value); |
3610 | | |
3611 | | private: |
3612 | | const std::string& _internal_fuzz() const; |
3613 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_fuzz( |
3614 | | const std::string& value); |
3615 | | std::string* _internal_mutable_fuzz(); |
3616 | | |
3617 | | public: |
3618 | | // .xmlProtoFuzzer.VersionNum ver = 1; |
3619 | | bool has_ver() const; |
3620 | | void clear_ver() ; |
3621 | | const ::xmlProtoFuzzer::VersionNum& ver() const; |
3622 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::VersionNum* release_ver(); |
3623 | | ::xmlProtoFuzzer::VersionNum* mutable_ver(); |
3624 | | void set_allocated_ver(::xmlProtoFuzzer::VersionNum* value); |
3625 | | void unsafe_arena_set_allocated_ver(::xmlProtoFuzzer::VersionNum* value); |
3626 | | ::xmlProtoFuzzer::VersionNum* unsafe_arena_release_ver(); |
3627 | | |
3628 | | private: |
3629 | | const ::xmlProtoFuzzer::VersionNum& _internal_ver() const; |
3630 | | ::xmlProtoFuzzer::VersionNum* _internal_mutable_ver(); |
3631 | | |
3632 | | public: |
3633 | | // .xmlProtoFuzzer.Encodings enc = 2; |
3634 | | bool has_enc() const; |
3635 | | void clear_enc() ; |
3636 | | const ::xmlProtoFuzzer::Encodings& enc() const; |
3637 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::Encodings* release_enc(); |
3638 | | ::xmlProtoFuzzer::Encodings* mutable_enc(); |
3639 | | void set_allocated_enc(::xmlProtoFuzzer::Encodings* value); |
3640 | | void unsafe_arena_set_allocated_enc(::xmlProtoFuzzer::Encodings* value); |
3641 | | ::xmlProtoFuzzer::Encodings* unsafe_arena_release_enc(); |
3642 | | |
3643 | | private: |
3644 | | const ::xmlProtoFuzzer::Encodings& _internal_enc() const; |
3645 | | ::xmlProtoFuzzer::Encodings* _internal_mutable_enc(); |
3646 | | |
3647 | | public: |
3648 | | // .xmlProtoFuzzer.XmlDeclaration.Standalone standalone = 3; |
3649 | | void clear_standalone() ; |
3650 | | ::xmlProtoFuzzer::XmlDeclaration_Standalone standalone() const; |
3651 | | void set_standalone(::xmlProtoFuzzer::XmlDeclaration_Standalone value); |
3652 | | |
3653 | | private: |
3654 | | ::xmlProtoFuzzer::XmlDeclaration_Standalone _internal_standalone() const; |
3655 | | void _internal_set_standalone(::xmlProtoFuzzer::XmlDeclaration_Standalone value); |
3656 | | |
3657 | | public: |
3658 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.XmlDeclaration) |
3659 | | private: |
3660 | | class _Internal; |
3661 | | friend class ::google::protobuf::internal::TcParser; |
3662 | | static const ::google::protobuf::internal::TcParseTable< |
3663 | | 2, 4, 2, |
3664 | | 42, 2> |
3665 | | _table_; |
3666 | | |
3667 | | friend class ::google::protobuf::MessageLite; |
3668 | | friend class ::google::protobuf::Arena; |
3669 | | template <typename T> |
3670 | | friend class ::google::protobuf::Arena::InternalHelper; |
3671 | | using InternalArenaConstructable_ = void; |
3672 | | using DestructorSkippable_ = void; |
3673 | | struct Impl_ { |
3674 | | inline explicit constexpr Impl_( |
3675 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
3676 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3677 | | ::google::protobuf::Arena* arena); |
3678 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3679 | | ::google::protobuf::Arena* arena, const Impl_& from, |
3680 | | const XmlDeclaration& from_msg); |
3681 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
3682 | | ::google::protobuf::internal::CachedSize _cached_size_; |
3683 | | ::google::protobuf::internal::ArenaStringPtr fuzz_; |
3684 | | ::xmlProtoFuzzer::VersionNum* ver_; |
3685 | | ::xmlProtoFuzzer::Encodings* enc_; |
3686 | | int standalone_; |
3687 | | PROTOBUF_TSAN_DECLARE_MEMBER |
3688 | | }; |
3689 | | union { Impl_ _impl_; }; |
3690 | | friend struct ::TableStruct_xml_2eproto; |
3691 | | }; |
3692 | | // ------------------------------------------------------------------- |
3693 | | |
3694 | | class ProcessingInstruction final : public ::google::protobuf::Message |
3695 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.ProcessingInstruction) */ { |
3696 | | public: |
3697 | 0 | inline ProcessingInstruction() : ProcessingInstruction(nullptr) {} |
3698 | | ~ProcessingInstruction() PROTOBUF_FINAL; |
3699 | | |
3700 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3701 | | void operator delete(ProcessingInstruction* msg, std::destroying_delete_t) { |
3702 | | SharedDtor(*msg); |
3703 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(ProcessingInstruction)); |
3704 | | } |
3705 | | #endif |
3706 | | |
3707 | | template <typename = void> |
3708 | | explicit PROTOBUF_CONSTEXPR ProcessingInstruction( |
3709 | | ::google::protobuf::internal::ConstantInitialized); |
3710 | | |
3711 | 0 | inline ProcessingInstruction(const ProcessingInstruction& from) : ProcessingInstruction(nullptr, from) {} |
3712 | | inline ProcessingInstruction(ProcessingInstruction&& from) noexcept |
3713 | 0 | : ProcessingInstruction(nullptr, std::move(from)) {} |
3714 | 0 | inline ProcessingInstruction& operator=(const ProcessingInstruction& from) { |
3715 | 0 | CopyFrom(from); |
3716 | 0 | return *this; |
3717 | 0 | } |
3718 | 0 | inline ProcessingInstruction& operator=(ProcessingInstruction&& from) noexcept { |
3719 | 0 | if (this == &from) return *this; |
3720 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
3721 | 0 | InternalSwap(&from); |
3722 | 0 | } else { |
3723 | 0 | CopyFrom(from); |
3724 | 0 | } |
3725 | 0 | return *this; |
3726 | 0 | } |
3727 | | |
3728 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
3729 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3730 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
3731 | 0 | } |
3732 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
3733 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3734 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
3735 | 0 | } |
3736 | | |
3737 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
3738 | 0 | return GetDescriptor(); |
3739 | 0 | } |
3740 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
3741 | 0 | return default_instance().GetMetadata().descriptor; |
3742 | 0 | } |
3743 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
3744 | 0 | return default_instance().GetMetadata().reflection; |
3745 | 0 | } |
3746 | 0 | static const ProcessingInstruction& default_instance() { |
3747 | 0 | return *internal_default_instance(); |
3748 | 0 | } |
3749 | 0 | static inline const ProcessingInstruction* internal_default_instance() { |
3750 | 0 | return reinterpret_cast<const ProcessingInstruction*>( |
3751 | 0 | &_ProcessingInstruction_default_instance_); |
3752 | 0 | } |
3753 | | static constexpr int kIndexInFileMessages = 24; |
3754 | 0 | friend void swap(ProcessingInstruction& a, ProcessingInstruction& b) { a.Swap(&b); } |
3755 | 0 | inline void Swap(ProcessingInstruction* other) { |
3756 | 0 | if (other == this) return; |
3757 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
3758 | 0 | InternalSwap(other); |
3759 | 0 | } else { |
3760 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
3761 | 0 | } |
3762 | 0 | } |
3763 | 0 | void UnsafeArenaSwap(ProcessingInstruction* other) { |
3764 | 0 | if (other == this) return; |
3765 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
3766 | 0 | InternalSwap(other); |
3767 | 0 | } |
3768 | | |
3769 | | // implements Message ---------------------------------------------- |
3770 | | |
3771 | 0 | ProcessingInstruction* New(::google::protobuf::Arena* arena = nullptr) const { |
3772 | 0 | return ::google::protobuf::Message::DefaultConstruct<ProcessingInstruction>(arena); |
3773 | 0 | } |
3774 | | using ::google::protobuf::Message::CopyFrom; |
3775 | | void CopyFrom(const ProcessingInstruction& from); |
3776 | | using ::google::protobuf::Message::MergeFrom; |
3777 | 0 | void MergeFrom(const ProcessingInstruction& from) { ProcessingInstruction::MergeImpl(*this, from); } |
3778 | | |
3779 | | private: |
3780 | | static void MergeImpl( |
3781 | | ::google::protobuf::MessageLite& to_msg, |
3782 | | const ::google::protobuf::MessageLite& from_msg); |
3783 | | |
3784 | | public: |
3785 | 0 | bool IsInitialized() const { |
3786 | 0 | return true; |
3787 | 0 | } |
3788 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
3789 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3790 | | private: |
3791 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
3792 | | static ::uint8_t* _InternalSerialize( |
3793 | | const MessageLite& msg, ::uint8_t* target, |
3794 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
3795 | | |
3796 | | public: |
3797 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
3798 | | ::uint8_t* _InternalSerialize( |
3799 | | ::uint8_t* target, |
3800 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
3801 | | return _InternalSerialize(*this, target, stream); |
3802 | | } |
3803 | | #else // PROTOBUF_CUSTOM_VTABLE |
3804 | | ::size_t ByteSizeLong() const final; |
3805 | | ::uint8_t* _InternalSerialize( |
3806 | | ::uint8_t* target, |
3807 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
3808 | | #endif // PROTOBUF_CUSTOM_VTABLE |
3809 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
3810 | | |
3811 | | private: |
3812 | | void SharedCtor(::google::protobuf::Arena* arena); |
3813 | | static void SharedDtor(MessageLite& self); |
3814 | | void InternalSwap(ProcessingInstruction* other); |
3815 | | private: |
3816 | | template <typename T> |
3817 | | friend ::absl::string_view( |
3818 | | ::google::protobuf::internal::GetAnyMessageName)(); |
3819 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.ProcessingInstruction"; } |
3820 | | |
3821 | | protected: |
3822 | | explicit ProcessingInstruction(::google::protobuf::Arena* arena); |
3823 | | ProcessingInstruction(::google::protobuf::Arena* arena, const ProcessingInstruction& from); |
3824 | | ProcessingInstruction(::google::protobuf::Arena* arena, ProcessingInstruction&& from) noexcept |
3825 | 0 | : ProcessingInstruction(arena) { |
3826 | 0 | *this = ::std::move(from); |
3827 | 0 | } |
3828 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
3829 | | static void* PlacementNew_(const void*, void* mem, |
3830 | | ::google::protobuf::Arena* arena); |
3831 | | static constexpr auto InternalNewImpl_(); |
3832 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
3833 | | |
3834 | | public: |
3835 | | ::google::protobuf::Metadata GetMetadata() const; |
3836 | | // nested types ---------------------------------------------------- |
3837 | | |
3838 | | // accessors ------------------------------------------------------- |
3839 | | enum : int { |
3840 | | kKvFieldNumber = 2, |
3841 | | kNameFieldNumber = 1, |
3842 | | }; |
3843 | | // repeated .xmlProtoFuzzer.KeyValue kv = 2; |
3844 | | int kv_size() const; |
3845 | | private: |
3846 | | int _internal_kv_size() const; |
3847 | | |
3848 | | public: |
3849 | | void clear_kv() ; |
3850 | | ::xmlProtoFuzzer::KeyValue* mutable_kv(int index); |
3851 | | ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>* mutable_kv(); |
3852 | | |
3853 | | private: |
3854 | | const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>& _internal_kv() const; |
3855 | | ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>* _internal_mutable_kv(); |
3856 | | public: |
3857 | | const ::xmlProtoFuzzer::KeyValue& kv(int index) const; |
3858 | | ::xmlProtoFuzzer::KeyValue* add_kv(); |
3859 | | const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>& kv() const; |
3860 | | // string name = 1; |
3861 | | void clear_name() ; |
3862 | | const std::string& name() const; |
3863 | | template <typename Arg_ = const std::string&, typename... Args_> |
3864 | | void set_name(Arg_&& arg, Args_... args); |
3865 | | std::string* mutable_name(); |
3866 | | PROTOBUF_NODISCARD std::string* release_name(); |
3867 | | void set_allocated_name(std::string* value); |
3868 | | |
3869 | | private: |
3870 | | const std::string& _internal_name() const; |
3871 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
3872 | | const std::string& value); |
3873 | | std::string* _internal_mutable_name(); |
3874 | | |
3875 | | public: |
3876 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.ProcessingInstruction) |
3877 | | private: |
3878 | | class _Internal; |
3879 | | friend class ::google::protobuf::internal::TcParser; |
3880 | | static const ::google::protobuf::internal::TcParseTable< |
3881 | | 1, 2, 1, |
3882 | | 49, 2> |
3883 | | _table_; |
3884 | | |
3885 | | friend class ::google::protobuf::MessageLite; |
3886 | | friend class ::google::protobuf::Arena; |
3887 | | template <typename T> |
3888 | | friend class ::google::protobuf::Arena::InternalHelper; |
3889 | | using InternalArenaConstructable_ = void; |
3890 | | using DestructorSkippable_ = void; |
3891 | | struct Impl_ { |
3892 | | inline explicit constexpr Impl_( |
3893 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
3894 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3895 | | ::google::protobuf::Arena* arena); |
3896 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
3897 | | ::google::protobuf::Arena* arena, const Impl_& from, |
3898 | | const ProcessingInstruction& from_msg); |
3899 | | ::google::protobuf::RepeatedPtrField< ::xmlProtoFuzzer::KeyValue > kv_; |
3900 | | ::google::protobuf::internal::ArenaStringPtr name_; |
3901 | | ::google::protobuf::internal::CachedSize _cached_size_; |
3902 | | PROTOBUF_TSAN_DECLARE_MEMBER |
3903 | | }; |
3904 | | union { Impl_ _impl_; }; |
3905 | | friend struct ::TableStruct_xml_2eproto; |
3906 | | }; |
3907 | | // ------------------------------------------------------------------- |
3908 | | |
3909 | | class PEDef final : public ::google::protobuf::Message |
3910 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.PEDef) */ { |
3911 | | public: |
3912 | 0 | inline PEDef() : PEDef(nullptr) {} |
3913 | | ~PEDef() PROTOBUF_FINAL; |
3914 | | |
3915 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
3916 | | void operator delete(PEDef* msg, std::destroying_delete_t) { |
3917 | | SharedDtor(*msg); |
3918 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(PEDef)); |
3919 | | } |
3920 | | #endif |
3921 | | |
3922 | | template <typename = void> |
3923 | | explicit PROTOBUF_CONSTEXPR PEDef( |
3924 | | ::google::protobuf::internal::ConstantInitialized); |
3925 | | |
3926 | 0 | inline PEDef(const PEDef& from) : PEDef(nullptr, from) {} |
3927 | | inline PEDef(PEDef&& from) noexcept |
3928 | 0 | : PEDef(nullptr, std::move(from)) {} |
3929 | 0 | inline PEDef& operator=(const PEDef& from) { |
3930 | 0 | CopyFrom(from); |
3931 | 0 | return *this; |
3932 | 0 | } |
3933 | 0 | inline PEDef& operator=(PEDef&& from) noexcept { |
3934 | 0 | if (this == &from) return *this; |
3935 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
3936 | 0 | InternalSwap(&from); |
3937 | 0 | } else { |
3938 | 0 | CopyFrom(from); |
3939 | 0 | } |
3940 | 0 | return *this; |
3941 | 0 | } |
3942 | | |
3943 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
3944 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3945 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
3946 | 0 | } |
3947 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
3948 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
3949 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
3950 | 0 | } |
3951 | | |
3952 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
3953 | 0 | return GetDescriptor(); |
3954 | 0 | } |
3955 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
3956 | 0 | return default_instance().GetMetadata().descriptor; |
3957 | 0 | } |
3958 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
3959 | 0 | return default_instance().GetMetadata().reflection; |
3960 | 0 | } |
3961 | 0 | static const PEDef& default_instance() { |
3962 | 0 | return *internal_default_instance(); |
3963 | 0 | } |
3964 | | enum PedefOneofCase { |
3965 | | kVal = 1, |
3966 | | kId = 2, |
3967 | | PEDEF_ONEOF_NOT_SET = 0, |
3968 | | }; |
3969 | 0 | static inline const PEDef* internal_default_instance() { |
3970 | 0 | return reinterpret_cast<const PEDef*>( |
3971 | 0 | &_PEDef_default_instance_); |
3972 | 0 | } |
3973 | | static constexpr int kIndexInFileMessages = 15; |
3974 | 0 | friend void swap(PEDef& a, PEDef& b) { a.Swap(&b); } |
3975 | 0 | inline void Swap(PEDef* other) { |
3976 | 0 | if (other == this) return; |
3977 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
3978 | 0 | InternalSwap(other); |
3979 | 0 | } else { |
3980 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
3981 | 0 | } |
3982 | 0 | } |
3983 | 0 | void UnsafeArenaSwap(PEDef* other) { |
3984 | 0 | if (other == this) return; |
3985 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
3986 | 0 | InternalSwap(other); |
3987 | 0 | } |
3988 | | |
3989 | | // implements Message ---------------------------------------------- |
3990 | | |
3991 | 0 | PEDef* New(::google::protobuf::Arena* arena = nullptr) const { |
3992 | 0 | return ::google::protobuf::Message::DefaultConstruct<PEDef>(arena); |
3993 | 0 | } |
3994 | | using ::google::protobuf::Message::CopyFrom; |
3995 | | void CopyFrom(const PEDef& from); |
3996 | | using ::google::protobuf::Message::MergeFrom; |
3997 | 0 | void MergeFrom(const PEDef& from) { PEDef::MergeImpl(*this, from); } |
3998 | | |
3999 | | private: |
4000 | | static void MergeImpl( |
4001 | | ::google::protobuf::MessageLite& to_msg, |
4002 | | const ::google::protobuf::MessageLite& from_msg); |
4003 | | |
4004 | | public: |
4005 | 0 | bool IsInitialized() const { |
4006 | 0 | return true; |
4007 | 0 | } |
4008 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
4009 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4010 | | private: |
4011 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
4012 | | static ::uint8_t* _InternalSerialize( |
4013 | | const MessageLite& msg, ::uint8_t* target, |
4014 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
4015 | | |
4016 | | public: |
4017 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
4018 | | ::uint8_t* _InternalSerialize( |
4019 | | ::uint8_t* target, |
4020 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
4021 | | return _InternalSerialize(*this, target, stream); |
4022 | | } |
4023 | | #else // PROTOBUF_CUSTOM_VTABLE |
4024 | | ::size_t ByteSizeLong() const final; |
4025 | | ::uint8_t* _InternalSerialize( |
4026 | | ::uint8_t* target, |
4027 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
4028 | | #endif // PROTOBUF_CUSTOM_VTABLE |
4029 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
4030 | | |
4031 | | private: |
4032 | | void SharedCtor(::google::protobuf::Arena* arena); |
4033 | | static void SharedDtor(MessageLite& self); |
4034 | | void InternalSwap(PEDef* other); |
4035 | | private: |
4036 | | template <typename T> |
4037 | | friend ::absl::string_view( |
4038 | | ::google::protobuf::internal::GetAnyMessageName)(); |
4039 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.PEDef"; } |
4040 | | |
4041 | | protected: |
4042 | | explicit PEDef(::google::protobuf::Arena* arena); |
4043 | | PEDef(::google::protobuf::Arena* arena, const PEDef& from); |
4044 | | PEDef(::google::protobuf::Arena* arena, PEDef&& from) noexcept |
4045 | 0 | : PEDef(arena) { |
4046 | 0 | *this = ::std::move(from); |
4047 | 0 | } |
4048 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
4049 | | static void* PlacementNew_(const void*, void* mem, |
4050 | | ::google::protobuf::Arena* arena); |
4051 | | static constexpr auto InternalNewImpl_(); |
4052 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
4053 | | |
4054 | | public: |
4055 | | ::google::protobuf::Metadata GetMetadata() const; |
4056 | | // nested types ---------------------------------------------------- |
4057 | | |
4058 | | // accessors ------------------------------------------------------- |
4059 | | enum : int { |
4060 | | kValFieldNumber = 1, |
4061 | | kIdFieldNumber = 2, |
4062 | | }; |
4063 | | // .xmlProtoFuzzer.EntityValue val = 1; |
4064 | | bool has_val() const; |
4065 | | private: |
4066 | | bool _internal_has_val() const; |
4067 | | |
4068 | | public: |
4069 | | void clear_val() ; |
4070 | | const ::xmlProtoFuzzer::EntityValue& val() const; |
4071 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::EntityValue* release_val(); |
4072 | | ::xmlProtoFuzzer::EntityValue* mutable_val(); |
4073 | | void set_allocated_val(::xmlProtoFuzzer::EntityValue* value); |
4074 | | void unsafe_arena_set_allocated_val(::xmlProtoFuzzer::EntityValue* value); |
4075 | | ::xmlProtoFuzzer::EntityValue* unsafe_arena_release_val(); |
4076 | | |
4077 | | private: |
4078 | | const ::xmlProtoFuzzer::EntityValue& _internal_val() const; |
4079 | | ::xmlProtoFuzzer::EntityValue* _internal_mutable_val(); |
4080 | | |
4081 | | public: |
4082 | | // .xmlProtoFuzzer.ExternalId id = 2; |
4083 | | bool has_id() const; |
4084 | | private: |
4085 | | bool _internal_has_id() const; |
4086 | | |
4087 | | public: |
4088 | | void clear_id() ; |
4089 | | const ::xmlProtoFuzzer::ExternalId& id() const; |
4090 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ExternalId* release_id(); |
4091 | | ::xmlProtoFuzzer::ExternalId* mutable_id(); |
4092 | | void set_allocated_id(::xmlProtoFuzzer::ExternalId* value); |
4093 | | void unsafe_arena_set_allocated_id(::xmlProtoFuzzer::ExternalId* value); |
4094 | | ::xmlProtoFuzzer::ExternalId* unsafe_arena_release_id(); |
4095 | | |
4096 | | private: |
4097 | | const ::xmlProtoFuzzer::ExternalId& _internal_id() const; |
4098 | | ::xmlProtoFuzzer::ExternalId* _internal_mutable_id(); |
4099 | | |
4100 | | public: |
4101 | | void clear_pedef_oneof(); |
4102 | | PedefOneofCase pedef_oneof_case() const; |
4103 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.PEDef) |
4104 | | private: |
4105 | | class _Internal; |
4106 | | void set_has_val(); |
4107 | | void set_has_id(); |
4108 | | inline bool has_pedef_oneof() const; |
4109 | | inline void clear_has_pedef_oneof(); |
4110 | | friend class ::google::protobuf::internal::TcParser; |
4111 | | static const ::google::protobuf::internal::TcParseTable< |
4112 | | 0, 2, 2, |
4113 | | 0, 2> |
4114 | | _table_; |
4115 | | |
4116 | | friend class ::google::protobuf::MessageLite; |
4117 | | friend class ::google::protobuf::Arena; |
4118 | | template <typename T> |
4119 | | friend class ::google::protobuf::Arena::InternalHelper; |
4120 | | using InternalArenaConstructable_ = void; |
4121 | | using DestructorSkippable_ = void; |
4122 | | struct Impl_ { |
4123 | | inline explicit constexpr Impl_( |
4124 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
4125 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
4126 | | ::google::protobuf::Arena* arena); |
4127 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
4128 | | ::google::protobuf::Arena* arena, const Impl_& from, |
4129 | | const PEDef& from_msg); |
4130 | | union PedefOneofUnion { |
4131 | 2.74k | constexpr PedefOneofUnion() : _constinit_{} {} |
4132 | | ::google::protobuf::internal::ConstantInitialized _constinit_; |
4133 | | ::xmlProtoFuzzer::EntityValue* val_; |
4134 | | ::xmlProtoFuzzer::ExternalId* id_; |
4135 | | } pedef_oneof_; |
4136 | | ::google::protobuf::internal::CachedSize _cached_size_; |
4137 | | ::uint32_t _oneof_case_[1]; |
4138 | | PROTOBUF_TSAN_DECLARE_MEMBER |
4139 | | }; |
4140 | | union { Impl_ _impl_; }; |
4141 | | friend struct ::TableStruct_xml_2eproto; |
4142 | | }; |
4143 | | // ------------------------------------------------------------------- |
4144 | | |
4145 | | class NotationDecl final : public ::google::protobuf::Message |
4146 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.NotationDecl) */ { |
4147 | | public: |
4148 | 0 | inline NotationDecl() : NotationDecl(nullptr) {} |
4149 | | ~NotationDecl() PROTOBUF_FINAL; |
4150 | | |
4151 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4152 | | void operator delete(NotationDecl* msg, std::destroying_delete_t) { |
4153 | | SharedDtor(*msg); |
4154 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(NotationDecl)); |
4155 | | } |
4156 | | #endif |
4157 | | |
4158 | | template <typename = void> |
4159 | | explicit PROTOBUF_CONSTEXPR NotationDecl( |
4160 | | ::google::protobuf::internal::ConstantInitialized); |
4161 | | |
4162 | 0 | inline NotationDecl(const NotationDecl& from) : NotationDecl(nullptr, from) {} |
4163 | | inline NotationDecl(NotationDecl&& from) noexcept |
4164 | 0 | : NotationDecl(nullptr, std::move(from)) {} |
4165 | 0 | inline NotationDecl& operator=(const NotationDecl& from) { |
4166 | 0 | CopyFrom(from); |
4167 | 0 | return *this; |
4168 | 0 | } |
4169 | 0 | inline NotationDecl& operator=(NotationDecl&& from) noexcept { |
4170 | 0 | if (this == &from) return *this; |
4171 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
4172 | 0 | InternalSwap(&from); |
4173 | 0 | } else { |
4174 | 0 | CopyFrom(from); |
4175 | 0 | } |
4176 | 0 | return *this; |
4177 | 0 | } |
4178 | | |
4179 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
4180 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4181 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
4182 | 0 | } |
4183 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
4184 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4185 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
4186 | 0 | } |
4187 | | |
4188 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
4189 | 0 | return GetDescriptor(); |
4190 | 0 | } |
4191 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
4192 | 0 | return default_instance().GetMetadata().descriptor; |
4193 | 0 | } |
4194 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
4195 | 0 | return default_instance().GetMetadata().reflection; |
4196 | 0 | } |
4197 | 0 | static const NotationDecl& default_instance() { |
4198 | 0 | return *internal_default_instance(); |
4199 | 0 | } |
4200 | | enum NotationOneofCase { |
4201 | | kExt = 2, |
4202 | | kPub = 3, |
4203 | | kFuzz = 4, |
4204 | | NOTATION_ONEOF_NOT_SET = 0, |
4205 | | }; |
4206 | 0 | static inline const NotationDecl* internal_default_instance() { |
4207 | 0 | return reinterpret_cast<const NotationDecl*>( |
4208 | 0 | &_NotationDecl_default_instance_); |
4209 | 0 | } |
4210 | | static constexpr int kIndexInFileMessages = 11; |
4211 | 0 | friend void swap(NotationDecl& a, NotationDecl& b) { a.Swap(&b); } |
4212 | 0 | inline void Swap(NotationDecl* other) { |
4213 | 0 | if (other == this) return; |
4214 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
4215 | 0 | InternalSwap(other); |
4216 | 0 | } else { |
4217 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
4218 | 0 | } |
4219 | 0 | } |
4220 | 0 | void UnsafeArenaSwap(NotationDecl* other) { |
4221 | 0 | if (other == this) return; |
4222 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
4223 | 0 | InternalSwap(other); |
4224 | 0 | } |
4225 | | |
4226 | | // implements Message ---------------------------------------------- |
4227 | | |
4228 | 0 | NotationDecl* New(::google::protobuf::Arena* arena = nullptr) const { |
4229 | 0 | return ::google::protobuf::Message::DefaultConstruct<NotationDecl>(arena); |
4230 | 0 | } |
4231 | | using ::google::protobuf::Message::CopyFrom; |
4232 | | void CopyFrom(const NotationDecl& from); |
4233 | | using ::google::protobuf::Message::MergeFrom; |
4234 | 0 | void MergeFrom(const NotationDecl& from) { NotationDecl::MergeImpl(*this, from); } |
4235 | | |
4236 | | private: |
4237 | | static void MergeImpl( |
4238 | | ::google::protobuf::MessageLite& to_msg, |
4239 | | const ::google::protobuf::MessageLite& from_msg); |
4240 | | |
4241 | | public: |
4242 | 0 | bool IsInitialized() const { |
4243 | 0 | return true; |
4244 | 0 | } |
4245 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
4246 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4247 | | private: |
4248 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
4249 | | static ::uint8_t* _InternalSerialize( |
4250 | | const MessageLite& msg, ::uint8_t* target, |
4251 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
4252 | | |
4253 | | public: |
4254 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
4255 | | ::uint8_t* _InternalSerialize( |
4256 | | ::uint8_t* target, |
4257 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
4258 | | return _InternalSerialize(*this, target, stream); |
4259 | | } |
4260 | | #else // PROTOBUF_CUSTOM_VTABLE |
4261 | | ::size_t ByteSizeLong() const final; |
4262 | | ::uint8_t* _InternalSerialize( |
4263 | | ::uint8_t* target, |
4264 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
4265 | | #endif // PROTOBUF_CUSTOM_VTABLE |
4266 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
4267 | | |
4268 | | private: |
4269 | | void SharedCtor(::google::protobuf::Arena* arena); |
4270 | | static void SharedDtor(MessageLite& self); |
4271 | | void InternalSwap(NotationDecl* other); |
4272 | | private: |
4273 | | template <typename T> |
4274 | | friend ::absl::string_view( |
4275 | | ::google::protobuf::internal::GetAnyMessageName)(); |
4276 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.NotationDecl"; } |
4277 | | |
4278 | | protected: |
4279 | | explicit NotationDecl(::google::protobuf::Arena* arena); |
4280 | | NotationDecl(::google::protobuf::Arena* arena, const NotationDecl& from); |
4281 | | NotationDecl(::google::protobuf::Arena* arena, NotationDecl&& from) noexcept |
4282 | 0 | : NotationDecl(arena) { |
4283 | 0 | *this = ::std::move(from); |
4284 | 0 | } |
4285 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
4286 | | static void* PlacementNew_(const void*, void* mem, |
4287 | | ::google::protobuf::Arena* arena); |
4288 | | static constexpr auto InternalNewImpl_(); |
4289 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
4290 | | |
4291 | | public: |
4292 | | ::google::protobuf::Metadata GetMetadata() const; |
4293 | | // nested types ---------------------------------------------------- |
4294 | | |
4295 | | // accessors ------------------------------------------------------- |
4296 | | enum : int { |
4297 | | kNameFieldNumber = 1, |
4298 | | kExtFieldNumber = 2, |
4299 | | kPubFieldNumber = 3, |
4300 | | kFuzzFieldNumber = 4, |
4301 | | }; |
4302 | | // string name = 1; |
4303 | | void clear_name() ; |
4304 | | const std::string& name() const; |
4305 | | template <typename Arg_ = const std::string&, typename... Args_> |
4306 | | void set_name(Arg_&& arg, Args_... args); |
4307 | | std::string* mutable_name(); |
4308 | | PROTOBUF_NODISCARD std::string* release_name(); |
4309 | | void set_allocated_name(std::string* value); |
4310 | | |
4311 | | private: |
4312 | | const std::string& _internal_name() const; |
4313 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
4314 | | const std::string& value); |
4315 | | std::string* _internal_mutable_name(); |
4316 | | |
4317 | | public: |
4318 | | // .xmlProtoFuzzer.ExternalId ext = 2; |
4319 | | bool has_ext() const; |
4320 | | private: |
4321 | | bool _internal_has_ext() const; |
4322 | | |
4323 | | public: |
4324 | | void clear_ext() ; |
4325 | | const ::xmlProtoFuzzer::ExternalId& ext() const; |
4326 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ExternalId* release_ext(); |
4327 | | ::xmlProtoFuzzer::ExternalId* mutable_ext(); |
4328 | | void set_allocated_ext(::xmlProtoFuzzer::ExternalId* value); |
4329 | | void unsafe_arena_set_allocated_ext(::xmlProtoFuzzer::ExternalId* value); |
4330 | | ::xmlProtoFuzzer::ExternalId* unsafe_arena_release_ext(); |
4331 | | |
4332 | | private: |
4333 | | const ::xmlProtoFuzzer::ExternalId& _internal_ext() const; |
4334 | | ::xmlProtoFuzzer::ExternalId* _internal_mutable_ext(); |
4335 | | |
4336 | | public: |
4337 | | // string pub = 3; |
4338 | | bool has_pub() const; |
4339 | | void clear_pub() ; |
4340 | | const std::string& pub() const; |
4341 | | template <typename Arg_ = const std::string&, typename... Args_> |
4342 | | void set_pub(Arg_&& arg, Args_... args); |
4343 | | std::string* mutable_pub(); |
4344 | | PROTOBUF_NODISCARD std::string* release_pub(); |
4345 | | void set_allocated_pub(std::string* value); |
4346 | | |
4347 | | private: |
4348 | | const std::string& _internal_pub() const; |
4349 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_pub( |
4350 | | const std::string& value); |
4351 | | std::string* _internal_mutable_pub(); |
4352 | | |
4353 | | public: |
4354 | | // string fuzz = 4; |
4355 | | bool has_fuzz() const; |
4356 | | void clear_fuzz() ; |
4357 | | const std::string& fuzz() const; |
4358 | | template <typename Arg_ = const std::string&, typename... Args_> |
4359 | | void set_fuzz(Arg_&& arg, Args_... args); |
4360 | | std::string* mutable_fuzz(); |
4361 | | PROTOBUF_NODISCARD std::string* release_fuzz(); |
4362 | | void set_allocated_fuzz(std::string* value); |
4363 | | |
4364 | | private: |
4365 | | const std::string& _internal_fuzz() const; |
4366 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_fuzz( |
4367 | | const std::string& value); |
4368 | | std::string* _internal_mutable_fuzz(); |
4369 | | |
4370 | | public: |
4371 | | void clear_notation_oneof(); |
4372 | | NotationOneofCase notation_oneof_case() const; |
4373 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.NotationDecl) |
4374 | | private: |
4375 | | class _Internal; |
4376 | | void set_has_ext(); |
4377 | | void set_has_pub(); |
4378 | | void set_has_fuzz(); |
4379 | | inline bool has_notation_oneof() const; |
4380 | | inline void clear_has_notation_oneof(); |
4381 | | friend class ::google::protobuf::internal::TcParser; |
4382 | | static const ::google::protobuf::internal::TcParseTable< |
4383 | | 0, 4, 1, |
4384 | | 47, 2> |
4385 | | _table_; |
4386 | | |
4387 | | friend class ::google::protobuf::MessageLite; |
4388 | | friend class ::google::protobuf::Arena; |
4389 | | template <typename T> |
4390 | | friend class ::google::protobuf::Arena::InternalHelper; |
4391 | | using InternalArenaConstructable_ = void; |
4392 | | using DestructorSkippable_ = void; |
4393 | | struct Impl_ { |
4394 | | inline explicit constexpr Impl_( |
4395 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
4396 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
4397 | | ::google::protobuf::Arena* arena); |
4398 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
4399 | | ::google::protobuf::Arena* arena, const Impl_& from, |
4400 | | const NotationDecl& from_msg); |
4401 | | ::google::protobuf::internal::ArenaStringPtr name_; |
4402 | | union NotationOneofUnion { |
4403 | 4.86k | constexpr NotationOneofUnion() : _constinit_{} {} |
4404 | | ::google::protobuf::internal::ConstantInitialized _constinit_; |
4405 | | ::xmlProtoFuzzer::ExternalId* ext_; |
4406 | | ::google::protobuf::internal::ArenaStringPtr pub_; |
4407 | | ::google::protobuf::internal::ArenaStringPtr fuzz_; |
4408 | | } notation_oneof_; |
4409 | | ::google::protobuf::internal::CachedSize _cached_size_; |
4410 | | ::uint32_t _oneof_case_[1]; |
4411 | | PROTOBUF_TSAN_DECLARE_MEMBER |
4412 | | }; |
4413 | | union { Impl_ _impl_; }; |
4414 | | friend struct ::TableStruct_xml_2eproto; |
4415 | | }; |
4416 | | // ------------------------------------------------------------------- |
4417 | | |
4418 | | class EntityDef final : public ::google::protobuf::Message |
4419 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.EntityDef) */ { |
4420 | | public: |
4421 | 0 | inline EntityDef() : EntityDef(nullptr) {} |
4422 | | ~EntityDef() PROTOBUF_FINAL; |
4423 | | |
4424 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4425 | | void operator delete(EntityDef* msg, std::destroying_delete_t) { |
4426 | | SharedDtor(*msg); |
4427 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(EntityDef)); |
4428 | | } |
4429 | | #endif |
4430 | | |
4431 | | template <typename = void> |
4432 | | explicit PROTOBUF_CONSTEXPR EntityDef( |
4433 | | ::google::protobuf::internal::ConstantInitialized); |
4434 | | |
4435 | 0 | inline EntityDef(const EntityDef& from) : EntityDef(nullptr, from) {} |
4436 | | inline EntityDef(EntityDef&& from) noexcept |
4437 | 0 | : EntityDef(nullptr, std::move(from)) {} |
4438 | 0 | inline EntityDef& operator=(const EntityDef& from) { |
4439 | 0 | CopyFrom(from); |
4440 | 0 | return *this; |
4441 | 0 | } |
4442 | 0 | inline EntityDef& operator=(EntityDef&& from) noexcept { |
4443 | 0 | if (this == &from) return *this; |
4444 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
4445 | 0 | InternalSwap(&from); |
4446 | 0 | } else { |
4447 | 0 | CopyFrom(from); |
4448 | 0 | } |
4449 | 0 | return *this; |
4450 | 0 | } |
4451 | | |
4452 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
4453 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4454 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
4455 | 0 | } |
4456 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
4457 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4458 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
4459 | 0 | } |
4460 | | |
4461 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
4462 | 0 | return GetDescriptor(); |
4463 | 0 | } |
4464 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
4465 | 0 | return default_instance().GetMetadata().descriptor; |
4466 | 0 | } |
4467 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
4468 | 0 | return default_instance().GetMetadata().reflection; |
4469 | 0 | } |
4470 | 0 | static const EntityDef& default_instance() { |
4471 | 0 | return *internal_default_instance(); |
4472 | 0 | } |
4473 | | enum EntityOneofCase { |
4474 | | kExt = 1, |
4475 | | kVal = 2, |
4476 | | ENTITY_ONEOF_NOT_SET = 0, |
4477 | | }; |
4478 | 0 | static inline const EntityDef* internal_default_instance() { |
4479 | 0 | return reinterpret_cast<const EntityDef*>( |
4480 | 0 | &_EntityDef_default_instance_); |
4481 | 0 | } |
4482 | | static constexpr int kIndexInFileMessages = 14; |
4483 | 0 | friend void swap(EntityDef& a, EntityDef& b) { a.Swap(&b); } |
4484 | 0 | inline void Swap(EntityDef* other) { |
4485 | 0 | if (other == this) return; |
4486 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
4487 | 0 | InternalSwap(other); |
4488 | 0 | } else { |
4489 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
4490 | 0 | } |
4491 | 0 | } |
4492 | 0 | void UnsafeArenaSwap(EntityDef* other) { |
4493 | 0 | if (other == this) return; |
4494 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
4495 | 0 | InternalSwap(other); |
4496 | 0 | } |
4497 | | |
4498 | | // implements Message ---------------------------------------------- |
4499 | | |
4500 | 0 | EntityDef* New(::google::protobuf::Arena* arena = nullptr) const { |
4501 | 0 | return ::google::protobuf::Message::DefaultConstruct<EntityDef>(arena); |
4502 | 0 | } |
4503 | | using ::google::protobuf::Message::CopyFrom; |
4504 | | void CopyFrom(const EntityDef& from); |
4505 | | using ::google::protobuf::Message::MergeFrom; |
4506 | 0 | void MergeFrom(const EntityDef& from) { EntityDef::MergeImpl(*this, from); } |
4507 | | |
4508 | | private: |
4509 | | static void MergeImpl( |
4510 | | ::google::protobuf::MessageLite& to_msg, |
4511 | | const ::google::protobuf::MessageLite& from_msg); |
4512 | | |
4513 | | public: |
4514 | 0 | bool IsInitialized() const { |
4515 | 0 | return true; |
4516 | 0 | } |
4517 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
4518 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4519 | | private: |
4520 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
4521 | | static ::uint8_t* _InternalSerialize( |
4522 | | const MessageLite& msg, ::uint8_t* target, |
4523 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
4524 | | |
4525 | | public: |
4526 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
4527 | | ::uint8_t* _InternalSerialize( |
4528 | | ::uint8_t* target, |
4529 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
4530 | | return _InternalSerialize(*this, target, stream); |
4531 | | } |
4532 | | #else // PROTOBUF_CUSTOM_VTABLE |
4533 | | ::size_t ByteSizeLong() const final; |
4534 | | ::uint8_t* _InternalSerialize( |
4535 | | ::uint8_t* target, |
4536 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
4537 | | #endif // PROTOBUF_CUSTOM_VTABLE |
4538 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
4539 | | |
4540 | | private: |
4541 | | void SharedCtor(::google::protobuf::Arena* arena); |
4542 | | static void SharedDtor(MessageLite& self); |
4543 | | void InternalSwap(EntityDef* other); |
4544 | | private: |
4545 | | template <typename T> |
4546 | | friend ::absl::string_view( |
4547 | | ::google::protobuf::internal::GetAnyMessageName)(); |
4548 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.EntityDef"; } |
4549 | | |
4550 | | protected: |
4551 | | explicit EntityDef(::google::protobuf::Arena* arena); |
4552 | | EntityDef(::google::protobuf::Arena* arena, const EntityDef& from); |
4553 | | EntityDef(::google::protobuf::Arena* arena, EntityDef&& from) noexcept |
4554 | 0 | : EntityDef(arena) { |
4555 | 0 | *this = ::std::move(from); |
4556 | 0 | } |
4557 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
4558 | | static void* PlacementNew_(const void*, void* mem, |
4559 | | ::google::protobuf::Arena* arena); |
4560 | | static constexpr auto InternalNewImpl_(); |
4561 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
4562 | | |
4563 | | public: |
4564 | | ::google::protobuf::Metadata GetMetadata() const; |
4565 | | // nested types ---------------------------------------------------- |
4566 | | |
4567 | | // accessors ------------------------------------------------------- |
4568 | | enum : int { |
4569 | | kNdataFieldNumber = 3, |
4570 | | kExtFieldNumber = 1, |
4571 | | kValFieldNumber = 2, |
4572 | | }; |
4573 | | // .xmlProtoFuzzer.NDataDecl ndata = 3; |
4574 | | bool has_ndata() const; |
4575 | | void clear_ndata() ; |
4576 | | const ::xmlProtoFuzzer::NDataDecl& ndata() const; |
4577 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::NDataDecl* release_ndata(); |
4578 | | ::xmlProtoFuzzer::NDataDecl* mutable_ndata(); |
4579 | | void set_allocated_ndata(::xmlProtoFuzzer::NDataDecl* value); |
4580 | | void unsafe_arena_set_allocated_ndata(::xmlProtoFuzzer::NDataDecl* value); |
4581 | | ::xmlProtoFuzzer::NDataDecl* unsafe_arena_release_ndata(); |
4582 | | |
4583 | | private: |
4584 | | const ::xmlProtoFuzzer::NDataDecl& _internal_ndata() const; |
4585 | | ::xmlProtoFuzzer::NDataDecl* _internal_mutable_ndata(); |
4586 | | |
4587 | | public: |
4588 | | // .xmlProtoFuzzer.ExternalId ext = 1; |
4589 | | bool has_ext() const; |
4590 | | private: |
4591 | | bool _internal_has_ext() const; |
4592 | | |
4593 | | public: |
4594 | | void clear_ext() ; |
4595 | | const ::xmlProtoFuzzer::ExternalId& ext() const; |
4596 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ExternalId* release_ext(); |
4597 | | ::xmlProtoFuzzer::ExternalId* mutable_ext(); |
4598 | | void set_allocated_ext(::xmlProtoFuzzer::ExternalId* value); |
4599 | | void unsafe_arena_set_allocated_ext(::xmlProtoFuzzer::ExternalId* value); |
4600 | | ::xmlProtoFuzzer::ExternalId* unsafe_arena_release_ext(); |
4601 | | |
4602 | | private: |
4603 | | const ::xmlProtoFuzzer::ExternalId& _internal_ext() const; |
4604 | | ::xmlProtoFuzzer::ExternalId* _internal_mutable_ext(); |
4605 | | |
4606 | | public: |
4607 | | // .xmlProtoFuzzer.EntityValue val = 2; |
4608 | | bool has_val() const; |
4609 | | private: |
4610 | | bool _internal_has_val() const; |
4611 | | |
4612 | | public: |
4613 | | void clear_val() ; |
4614 | | const ::xmlProtoFuzzer::EntityValue& val() const; |
4615 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::EntityValue* release_val(); |
4616 | | ::xmlProtoFuzzer::EntityValue* mutable_val(); |
4617 | | void set_allocated_val(::xmlProtoFuzzer::EntityValue* value); |
4618 | | void unsafe_arena_set_allocated_val(::xmlProtoFuzzer::EntityValue* value); |
4619 | | ::xmlProtoFuzzer::EntityValue* unsafe_arena_release_val(); |
4620 | | |
4621 | | private: |
4622 | | const ::xmlProtoFuzzer::EntityValue& _internal_val() const; |
4623 | | ::xmlProtoFuzzer::EntityValue* _internal_mutable_val(); |
4624 | | |
4625 | | public: |
4626 | | void clear_entity_oneof(); |
4627 | | EntityOneofCase entity_oneof_case() const; |
4628 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.EntityDef) |
4629 | | private: |
4630 | | class _Internal; |
4631 | | void set_has_ext(); |
4632 | | void set_has_val(); |
4633 | | inline bool has_entity_oneof() const; |
4634 | | inline void clear_has_entity_oneof(); |
4635 | | friend class ::google::protobuf::internal::TcParser; |
4636 | | static const ::google::protobuf::internal::TcParseTable< |
4637 | | 0, 3, 3, |
4638 | | 0, 2> |
4639 | | _table_; |
4640 | | |
4641 | | friend class ::google::protobuf::MessageLite; |
4642 | | friend class ::google::protobuf::Arena; |
4643 | | template <typename T> |
4644 | | friend class ::google::protobuf::Arena::InternalHelper; |
4645 | | using InternalArenaConstructable_ = void; |
4646 | | using DestructorSkippable_ = void; |
4647 | | struct Impl_ { |
4648 | | inline explicit constexpr Impl_( |
4649 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
4650 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
4651 | | ::google::protobuf::Arena* arena); |
4652 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
4653 | | ::google::protobuf::Arena* arena, const Impl_& from, |
4654 | | const EntityDef& from_msg); |
4655 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4656 | | ::google::protobuf::internal::CachedSize _cached_size_; |
4657 | | ::xmlProtoFuzzer::NDataDecl* ndata_; |
4658 | | union EntityOneofUnion { |
4659 | 7.52k | constexpr EntityOneofUnion() : _constinit_{} {} |
4660 | | ::google::protobuf::internal::ConstantInitialized _constinit_; |
4661 | | ::xmlProtoFuzzer::ExternalId* ext_; |
4662 | | ::xmlProtoFuzzer::EntityValue* val_; |
4663 | | } entity_oneof_; |
4664 | | ::uint32_t _oneof_case_[1]; |
4665 | | PROTOBUF_TSAN_DECLARE_MEMBER |
4666 | | }; |
4667 | | union { Impl_ _impl_; }; |
4668 | | friend struct ::TableStruct_xml_2eproto; |
4669 | | }; |
4670 | | // ------------------------------------------------------------------- |
4671 | | |
4672 | | class DefaultDecl final : public ::google::protobuf::Message |
4673 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.DefaultDecl) */ { |
4674 | | public: |
4675 | 0 | inline DefaultDecl() : DefaultDecl(nullptr) {} |
4676 | | ~DefaultDecl() PROTOBUF_FINAL; |
4677 | | |
4678 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4679 | | void operator delete(DefaultDecl* msg, std::destroying_delete_t) { |
4680 | | SharedDtor(*msg); |
4681 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(DefaultDecl)); |
4682 | | } |
4683 | | #endif |
4684 | | |
4685 | | template <typename = void> |
4686 | | explicit PROTOBUF_CONSTEXPR DefaultDecl( |
4687 | | ::google::protobuf::internal::ConstantInitialized); |
4688 | | |
4689 | 0 | inline DefaultDecl(const DefaultDecl& from) : DefaultDecl(nullptr, from) {} |
4690 | | inline DefaultDecl(DefaultDecl&& from) noexcept |
4691 | 0 | : DefaultDecl(nullptr, std::move(from)) {} |
4692 | 0 | inline DefaultDecl& operator=(const DefaultDecl& from) { |
4693 | 0 | CopyFrom(from); |
4694 | 0 | return *this; |
4695 | 0 | } |
4696 | 0 | inline DefaultDecl& operator=(DefaultDecl&& from) noexcept { |
4697 | 0 | if (this == &from) return *this; |
4698 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
4699 | 0 | InternalSwap(&from); |
4700 | 0 | } else { |
4701 | 0 | CopyFrom(from); |
4702 | 0 | } |
4703 | 0 | return *this; |
4704 | 0 | } |
4705 | | |
4706 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
4707 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4708 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
4709 | 0 | } |
4710 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
4711 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4712 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
4713 | 0 | } |
4714 | | |
4715 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
4716 | 0 | return GetDescriptor(); |
4717 | 0 | } |
4718 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
4719 | 0 | return default_instance().GetMetadata().descriptor; |
4720 | 0 | } |
4721 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
4722 | 0 | return default_instance().GetMetadata().reflection; |
4723 | 0 | } |
4724 | 0 | static const DefaultDecl& default_instance() { |
4725 | 0 | return *internal_default_instance(); |
4726 | 0 | } |
4727 | 0 | static inline const DefaultDecl* internal_default_instance() { |
4728 | 0 | return reinterpret_cast<const DefaultDecl*>( |
4729 | 0 | &_DefaultDecl_default_instance_); |
4730 | 0 | } |
4731 | | static constexpr int kIndexInFileMessages = 8; |
4732 | 0 | friend void swap(DefaultDecl& a, DefaultDecl& b) { a.Swap(&b); } |
4733 | 0 | inline void Swap(DefaultDecl* other) { |
4734 | 0 | if (other == this) return; |
4735 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
4736 | 0 | InternalSwap(other); |
4737 | 0 | } else { |
4738 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
4739 | 0 | } |
4740 | 0 | } |
4741 | 0 | void UnsafeArenaSwap(DefaultDecl* other) { |
4742 | 0 | if (other == this) return; |
4743 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
4744 | 0 | InternalSwap(other); |
4745 | 0 | } |
4746 | | |
4747 | | // implements Message ---------------------------------------------- |
4748 | | |
4749 | 0 | DefaultDecl* New(::google::protobuf::Arena* arena = nullptr) const { |
4750 | 0 | return ::google::protobuf::Message::DefaultConstruct<DefaultDecl>(arena); |
4751 | 0 | } |
4752 | | using ::google::protobuf::Message::CopyFrom; |
4753 | | void CopyFrom(const DefaultDecl& from); |
4754 | | using ::google::protobuf::Message::MergeFrom; |
4755 | 0 | void MergeFrom(const DefaultDecl& from) { DefaultDecl::MergeImpl(*this, from); } |
4756 | | |
4757 | | private: |
4758 | | static void MergeImpl( |
4759 | | ::google::protobuf::MessageLite& to_msg, |
4760 | | const ::google::protobuf::MessageLite& from_msg); |
4761 | | |
4762 | | public: |
4763 | 0 | bool IsInitialized() const { |
4764 | 0 | return true; |
4765 | 0 | } |
4766 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
4767 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4768 | | private: |
4769 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
4770 | | static ::uint8_t* _InternalSerialize( |
4771 | | const MessageLite& msg, ::uint8_t* target, |
4772 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
4773 | | |
4774 | | public: |
4775 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
4776 | | ::uint8_t* _InternalSerialize( |
4777 | | ::uint8_t* target, |
4778 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
4779 | | return _InternalSerialize(*this, target, stream); |
4780 | | } |
4781 | | #else // PROTOBUF_CUSTOM_VTABLE |
4782 | | ::size_t ByteSizeLong() const final; |
4783 | | ::uint8_t* _InternalSerialize( |
4784 | | ::uint8_t* target, |
4785 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
4786 | | #endif // PROTOBUF_CUSTOM_VTABLE |
4787 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
4788 | | |
4789 | | private: |
4790 | | void SharedCtor(::google::protobuf::Arena* arena); |
4791 | | static void SharedDtor(MessageLite& self); |
4792 | | void InternalSwap(DefaultDecl* other); |
4793 | | private: |
4794 | | template <typename T> |
4795 | | friend ::absl::string_view( |
4796 | | ::google::protobuf::internal::GetAnyMessageName)(); |
4797 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.DefaultDecl"; } |
4798 | | |
4799 | | protected: |
4800 | | explicit DefaultDecl(::google::protobuf::Arena* arena); |
4801 | | DefaultDecl(::google::protobuf::Arena* arena, const DefaultDecl& from); |
4802 | | DefaultDecl(::google::protobuf::Arena* arena, DefaultDecl&& from) noexcept |
4803 | 0 | : DefaultDecl(arena) { |
4804 | 0 | *this = ::std::move(from); |
4805 | 0 | } |
4806 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
4807 | | static void* PlacementNew_(const void*, void* mem, |
4808 | | ::google::protobuf::Arena* arena); |
4809 | | static constexpr auto InternalNewImpl_(); |
4810 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
4811 | | |
4812 | | public: |
4813 | | ::google::protobuf::Metadata GetMetadata() const; |
4814 | | // nested types ---------------------------------------------------- |
4815 | | using Type = DefaultDecl_Type; |
4816 | | static constexpr Type REQUIRED = DefaultDecl_Type_REQUIRED; |
4817 | | static constexpr Type IMPLIED = DefaultDecl_Type_IMPLIED; |
4818 | | static constexpr Type FIXED = DefaultDecl_Type_FIXED; |
4819 | | static constexpr Type FUZZ = DefaultDecl_Type_FUZZ; |
4820 | 20.6k | static inline bool Type_IsValid(int value) { |
4821 | 20.6k | return DefaultDecl_Type_IsValid(value); |
4822 | 20.6k | } |
4823 | | static constexpr Type Type_MIN = DefaultDecl_Type_Type_MIN; |
4824 | | static constexpr Type Type_MAX = DefaultDecl_Type_Type_MAX; |
4825 | | static constexpr int Type_ARRAYSIZE = DefaultDecl_Type_Type_ARRAYSIZE; |
4826 | 0 | static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { |
4827 | 0 | return DefaultDecl_Type_descriptor(); |
4828 | 0 | } |
4829 | | template <typename T> |
4830 | | static inline const std::string& Type_Name(T value) { |
4831 | | return DefaultDecl_Type_Name(value); |
4832 | | } |
4833 | 0 | static inline bool Type_Parse(absl::string_view name, Type* value) { |
4834 | 0 | return DefaultDecl_Type_Parse(name, value); |
4835 | 0 | } |
4836 | | |
4837 | | // accessors ------------------------------------------------------- |
4838 | | enum : int { |
4839 | | kAttFieldNumber = 2, |
4840 | | kTypeFieldNumber = 1, |
4841 | | }; |
4842 | | // .xmlProtoFuzzer.AttValue att = 2; |
4843 | | bool has_att() const; |
4844 | | void clear_att() ; |
4845 | | const ::xmlProtoFuzzer::AttValue& att() const; |
4846 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::AttValue* release_att(); |
4847 | | ::xmlProtoFuzzer::AttValue* mutable_att(); |
4848 | | void set_allocated_att(::xmlProtoFuzzer::AttValue* value); |
4849 | | void unsafe_arena_set_allocated_att(::xmlProtoFuzzer::AttValue* value); |
4850 | | ::xmlProtoFuzzer::AttValue* unsafe_arena_release_att(); |
4851 | | |
4852 | | private: |
4853 | | const ::xmlProtoFuzzer::AttValue& _internal_att() const; |
4854 | | ::xmlProtoFuzzer::AttValue* _internal_mutable_att(); |
4855 | | |
4856 | | public: |
4857 | | // .xmlProtoFuzzer.DefaultDecl.Type type = 1; |
4858 | | void clear_type() ; |
4859 | | ::xmlProtoFuzzer::DefaultDecl_Type type() const; |
4860 | | void set_type(::xmlProtoFuzzer::DefaultDecl_Type value); |
4861 | | |
4862 | | private: |
4863 | | ::xmlProtoFuzzer::DefaultDecl_Type _internal_type() const; |
4864 | | void _internal_set_type(::xmlProtoFuzzer::DefaultDecl_Type value); |
4865 | | |
4866 | | public: |
4867 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.DefaultDecl) |
4868 | | private: |
4869 | | class _Internal; |
4870 | | friend class ::google::protobuf::internal::TcParser; |
4871 | | static const ::google::protobuf::internal::TcParseTable< |
4872 | | 1, 2, 1, |
4873 | | 0, 2> |
4874 | | _table_; |
4875 | | |
4876 | | friend class ::google::protobuf::MessageLite; |
4877 | | friend class ::google::protobuf::Arena; |
4878 | | template <typename T> |
4879 | | friend class ::google::protobuf::Arena::InternalHelper; |
4880 | | using InternalArenaConstructable_ = void; |
4881 | | using DestructorSkippable_ = void; |
4882 | | struct Impl_ { |
4883 | | inline explicit constexpr Impl_( |
4884 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
4885 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
4886 | | ::google::protobuf::Arena* arena); |
4887 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
4888 | | ::google::protobuf::Arena* arena, const Impl_& from, |
4889 | | const DefaultDecl& from_msg); |
4890 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
4891 | | ::google::protobuf::internal::CachedSize _cached_size_; |
4892 | | ::xmlProtoFuzzer::AttValue* att_; |
4893 | | int type_; |
4894 | | PROTOBUF_TSAN_DECLARE_MEMBER |
4895 | | }; |
4896 | | union { Impl_ _impl_; }; |
4897 | | friend struct ::TableStruct_xml_2eproto; |
4898 | | }; |
4899 | | // ------------------------------------------------------------------- |
4900 | | |
4901 | | class Content final : public ::google::protobuf::Message |
4902 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.Content) */ { |
4903 | | public: |
4904 | 0 | inline Content() : Content(nullptr) {} |
4905 | | ~Content() PROTOBUF_FINAL; |
4906 | | |
4907 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
4908 | | void operator delete(Content* msg, std::destroying_delete_t) { |
4909 | | SharedDtor(*msg); |
4910 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Content)); |
4911 | | } |
4912 | | #endif |
4913 | | |
4914 | | template <typename = void> |
4915 | | explicit PROTOBUF_CONSTEXPR Content( |
4916 | | ::google::protobuf::internal::ConstantInitialized); |
4917 | | |
4918 | 0 | inline Content(const Content& from) : Content(nullptr, from) {} |
4919 | | inline Content(Content&& from) noexcept |
4920 | 0 | : Content(nullptr, std::move(from)) {} |
4921 | 0 | inline Content& operator=(const Content& from) { |
4922 | 0 | CopyFrom(from); |
4923 | 0 | return *this; |
4924 | 0 | } |
4925 | 0 | inline Content& operator=(Content&& from) noexcept { |
4926 | 0 | if (this == &from) return *this; |
4927 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
4928 | 0 | InternalSwap(&from); |
4929 | 0 | } else { |
4930 | 0 | CopyFrom(from); |
4931 | 0 | } |
4932 | 0 | return *this; |
4933 | 0 | } |
4934 | | |
4935 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
4936 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4937 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
4938 | 0 | } |
4939 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
4940 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
4941 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
4942 | 0 | } |
4943 | | |
4944 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
4945 | 0 | return GetDescriptor(); |
4946 | 0 | } |
4947 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
4948 | 0 | return default_instance().GetMetadata().descriptor; |
4949 | 0 | } |
4950 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
4951 | 0 | return default_instance().GetMetadata().reflection; |
4952 | 0 | } |
4953 | 0 | static const Content& default_instance() { |
4954 | 0 | return *internal_default_instance(); |
4955 | 0 | } |
4956 | | enum ContentOneofCase { |
4957 | | kStr = 1, |
4958 | | kE = 2, |
4959 | | kC = 3, |
4960 | | CONTENT_ONEOF_NOT_SET = 0, |
4961 | | }; |
4962 | 0 | static inline const Content* internal_default_instance() { |
4963 | 0 | return reinterpret_cast<const Content*>( |
4964 | 0 | &_Content_default_instance_); |
4965 | 0 | } |
4966 | | static constexpr int kIndexInFileMessages = 26; |
4967 | 0 | friend void swap(Content& a, Content& b) { a.Swap(&b); } |
4968 | 0 | inline void Swap(Content* other) { |
4969 | 0 | if (other == this) return; |
4970 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
4971 | 0 | InternalSwap(other); |
4972 | 0 | } else { |
4973 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
4974 | 0 | } |
4975 | 0 | } |
4976 | 0 | void UnsafeArenaSwap(Content* other) { |
4977 | 0 | if (other == this) return; |
4978 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
4979 | 0 | InternalSwap(other); |
4980 | 0 | } |
4981 | | |
4982 | | // implements Message ---------------------------------------------- |
4983 | | |
4984 | 0 | Content* New(::google::protobuf::Arena* arena = nullptr) const { |
4985 | 0 | return ::google::protobuf::Message::DefaultConstruct<Content>(arena); |
4986 | 0 | } |
4987 | | using ::google::protobuf::Message::CopyFrom; |
4988 | | void CopyFrom(const Content& from); |
4989 | | using ::google::protobuf::Message::MergeFrom; |
4990 | 0 | void MergeFrom(const Content& from) { Content::MergeImpl(*this, from); } |
4991 | | |
4992 | | private: |
4993 | | static void MergeImpl( |
4994 | | ::google::protobuf::MessageLite& to_msg, |
4995 | | const ::google::protobuf::MessageLite& from_msg); |
4996 | | |
4997 | | public: |
4998 | 0 | bool IsInitialized() const { |
4999 | 0 | return true; |
5000 | 0 | } |
5001 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
5002 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5003 | | private: |
5004 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
5005 | | static ::uint8_t* _InternalSerialize( |
5006 | | const MessageLite& msg, ::uint8_t* target, |
5007 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
5008 | | |
5009 | | public: |
5010 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
5011 | | ::uint8_t* _InternalSerialize( |
5012 | | ::uint8_t* target, |
5013 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
5014 | | return _InternalSerialize(*this, target, stream); |
5015 | | } |
5016 | | #else // PROTOBUF_CUSTOM_VTABLE |
5017 | | ::size_t ByteSizeLong() const final; |
5018 | | ::uint8_t* _InternalSerialize( |
5019 | | ::uint8_t* target, |
5020 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
5021 | | #endif // PROTOBUF_CUSTOM_VTABLE |
5022 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
5023 | | |
5024 | | private: |
5025 | | void SharedCtor(::google::protobuf::Arena* arena); |
5026 | | static void SharedDtor(MessageLite& self); |
5027 | | void InternalSwap(Content* other); |
5028 | | private: |
5029 | | template <typename T> |
5030 | | friend ::absl::string_view( |
5031 | | ::google::protobuf::internal::GetAnyMessageName)(); |
5032 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.Content"; } |
5033 | | |
5034 | | protected: |
5035 | | explicit Content(::google::protobuf::Arena* arena); |
5036 | | Content(::google::protobuf::Arena* arena, const Content& from); |
5037 | | Content(::google::protobuf::Arena* arena, Content&& from) noexcept |
5038 | 0 | : Content(arena) { |
5039 | 0 | *this = ::std::move(from); |
5040 | 0 | } |
5041 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
5042 | | static void* PlacementNew_(const void*, void* mem, |
5043 | | ::google::protobuf::Arena* arena); |
5044 | | static constexpr auto InternalNewImpl_(); |
5045 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
5046 | | |
5047 | | public: |
5048 | | ::google::protobuf::Metadata GetMetadata() const; |
5049 | | // nested types ---------------------------------------------------- |
5050 | | |
5051 | | // accessors ------------------------------------------------------- |
5052 | | enum : int { |
5053 | | kStrFieldNumber = 1, |
5054 | | kEFieldNumber = 2, |
5055 | | kCFieldNumber = 3, |
5056 | | }; |
5057 | | // string str = 1; |
5058 | | bool has_str() const; |
5059 | | void clear_str() ; |
5060 | | const std::string& str() const; |
5061 | | template <typename Arg_ = const std::string&, typename... Args_> |
5062 | | void set_str(Arg_&& arg, Args_... args); |
5063 | | std::string* mutable_str(); |
5064 | | PROTOBUF_NODISCARD std::string* release_str(); |
5065 | | void set_allocated_str(std::string* value); |
5066 | | |
5067 | | private: |
5068 | | const std::string& _internal_str() const; |
5069 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_str( |
5070 | | const std::string& value); |
5071 | | std::string* _internal_mutable_str(); |
5072 | | |
5073 | | public: |
5074 | | // .xmlProtoFuzzer.Element e = 2; |
5075 | | bool has_e() const; |
5076 | | private: |
5077 | | bool _internal_has_e() const; |
5078 | | |
5079 | | public: |
5080 | | void clear_e() ; |
5081 | | const ::xmlProtoFuzzer::Element& e() const; |
5082 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::Element* release_e(); |
5083 | | ::xmlProtoFuzzer::Element* mutable_e(); |
5084 | | void set_allocated_e(::xmlProtoFuzzer::Element* value); |
5085 | | void unsafe_arena_set_allocated_e(::xmlProtoFuzzer::Element* value); |
5086 | | ::xmlProtoFuzzer::Element* unsafe_arena_release_e(); |
5087 | | |
5088 | | private: |
5089 | | const ::xmlProtoFuzzer::Element& _internal_e() const; |
5090 | | ::xmlProtoFuzzer::Element* _internal_mutable_e(); |
5091 | | |
5092 | | public: |
5093 | | // .xmlProtoFuzzer.CData c = 3; |
5094 | | bool has_c() const; |
5095 | | private: |
5096 | | bool _internal_has_c() const; |
5097 | | |
5098 | | public: |
5099 | | void clear_c() ; |
5100 | | const ::xmlProtoFuzzer::CData& c() const; |
5101 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::CData* release_c(); |
5102 | | ::xmlProtoFuzzer::CData* mutable_c(); |
5103 | | void set_allocated_c(::xmlProtoFuzzer::CData* value); |
5104 | | void unsafe_arena_set_allocated_c(::xmlProtoFuzzer::CData* value); |
5105 | | ::xmlProtoFuzzer::CData* unsafe_arena_release_c(); |
5106 | | |
5107 | | private: |
5108 | | const ::xmlProtoFuzzer::CData& _internal_c() const; |
5109 | | ::xmlProtoFuzzer::CData* _internal_mutable_c(); |
5110 | | |
5111 | | public: |
5112 | | void clear_content_oneof(); |
5113 | | ContentOneofCase content_oneof_case() const; |
5114 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.Content) |
5115 | | private: |
5116 | | class _Internal; |
5117 | | void set_has_str(); |
5118 | | void set_has_e(); |
5119 | | void set_has_c(); |
5120 | | inline bool has_content_oneof() const; |
5121 | | inline void clear_has_content_oneof(); |
5122 | | friend class ::google::protobuf::internal::TcParser; |
5123 | | static const ::google::protobuf::internal::TcParseTable< |
5124 | | 0, 3, 2, |
5125 | | 34, 2> |
5126 | | _table_; |
5127 | | |
5128 | | friend class ::google::protobuf::MessageLite; |
5129 | | friend class ::google::protobuf::Arena; |
5130 | | template <typename T> |
5131 | | friend class ::google::protobuf::Arena::InternalHelper; |
5132 | | using InternalArenaConstructable_ = void; |
5133 | | using DestructorSkippable_ = void; |
5134 | | struct Impl_ { |
5135 | | inline explicit constexpr Impl_( |
5136 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
5137 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
5138 | | ::google::protobuf::Arena* arena); |
5139 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
5140 | | ::google::protobuf::Arena* arena, const Impl_& from, |
5141 | | const Content& from_msg); |
5142 | | union ContentOneofUnion { |
5143 | 14.2k | constexpr ContentOneofUnion() : _constinit_{} {} |
5144 | | ::google::protobuf::internal::ConstantInitialized _constinit_; |
5145 | | ::google::protobuf::internal::ArenaStringPtr str_; |
5146 | | ::xmlProtoFuzzer::Element* e_; |
5147 | | ::xmlProtoFuzzer::CData* c_; |
5148 | | } content_oneof_; |
5149 | | ::google::protobuf::internal::CachedSize _cached_size_; |
5150 | | ::uint32_t _oneof_case_[1]; |
5151 | | PROTOBUF_TSAN_DECLARE_MEMBER |
5152 | | }; |
5153 | | union { Impl_ _impl_; }; |
5154 | | friend struct ::TableStruct_xml_2eproto; |
5155 | | }; |
5156 | | // ------------------------------------------------------------------- |
5157 | | |
5158 | | class Element final : public ::google::protobuf::Message |
5159 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.Element) */ { |
5160 | | public: |
5161 | 0 | inline Element() : Element(nullptr) {} |
5162 | | ~Element() PROTOBUF_FINAL; |
5163 | | |
5164 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5165 | | void operator delete(Element* msg, std::destroying_delete_t) { |
5166 | | SharedDtor(*msg); |
5167 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Element)); |
5168 | | } |
5169 | | #endif |
5170 | | |
5171 | | template <typename = void> |
5172 | | explicit PROTOBUF_CONSTEXPR Element( |
5173 | | ::google::protobuf::internal::ConstantInitialized); |
5174 | | |
5175 | 0 | inline Element(const Element& from) : Element(nullptr, from) {} |
5176 | | inline Element(Element&& from) noexcept |
5177 | 0 | : Element(nullptr, std::move(from)) {} |
5178 | 0 | inline Element& operator=(const Element& from) { |
5179 | 0 | CopyFrom(from); |
5180 | 0 | return *this; |
5181 | 0 | } |
5182 | 0 | inline Element& operator=(Element&& from) noexcept { |
5183 | 0 | if (this == &from) return *this; |
5184 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
5185 | 0 | InternalSwap(&from); |
5186 | 0 | } else { |
5187 | 0 | CopyFrom(from); |
5188 | 0 | } |
5189 | 0 | return *this; |
5190 | 0 | } |
5191 | | |
5192 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
5193 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5194 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
5195 | 0 | } |
5196 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
5197 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5198 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
5199 | 0 | } |
5200 | | |
5201 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
5202 | 0 | return GetDescriptor(); |
5203 | 0 | } |
5204 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
5205 | 0 | return default_instance().GetMetadata().descriptor; |
5206 | 0 | } |
5207 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
5208 | 0 | return default_instance().GetMetadata().reflection; |
5209 | 0 | } |
5210 | 0 | static const Element& default_instance() { |
5211 | 0 | return *internal_default_instance(); |
5212 | 0 | } |
5213 | 0 | static inline const Element* internal_default_instance() { |
5214 | 0 | return reinterpret_cast<const Element*>( |
5215 | 0 | &_Element_default_instance_); |
5216 | 0 | } |
5217 | | static constexpr int kIndexInFileMessages = 27; |
5218 | 0 | friend void swap(Element& a, Element& b) { a.Swap(&b); } |
5219 | 0 | inline void Swap(Element* other) { |
5220 | 0 | if (other == this) return; |
5221 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
5222 | 0 | InternalSwap(other); |
5223 | 0 | } else { |
5224 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
5225 | 0 | } |
5226 | 0 | } |
5227 | 0 | void UnsafeArenaSwap(Element* other) { |
5228 | 0 | if (other == this) return; |
5229 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
5230 | 0 | InternalSwap(other); |
5231 | 0 | } |
5232 | | |
5233 | | // implements Message ---------------------------------------------- |
5234 | | |
5235 | 0 | Element* New(::google::protobuf::Arena* arena = nullptr) const { |
5236 | 0 | return ::google::protobuf::Message::DefaultConstruct<Element>(arena); |
5237 | 0 | } |
5238 | | using ::google::protobuf::Message::CopyFrom; |
5239 | | void CopyFrom(const Element& from); |
5240 | | using ::google::protobuf::Message::MergeFrom; |
5241 | 0 | void MergeFrom(const Element& from) { Element::MergeImpl(*this, from); } |
5242 | | |
5243 | | private: |
5244 | | static void MergeImpl( |
5245 | | ::google::protobuf::MessageLite& to_msg, |
5246 | | const ::google::protobuf::MessageLite& from_msg); |
5247 | | |
5248 | | public: |
5249 | 0 | bool IsInitialized() const { |
5250 | 0 | return true; |
5251 | 0 | } |
5252 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
5253 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5254 | | private: |
5255 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
5256 | | static ::uint8_t* _InternalSerialize( |
5257 | | const MessageLite& msg, ::uint8_t* target, |
5258 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
5259 | | |
5260 | | public: |
5261 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
5262 | | ::uint8_t* _InternalSerialize( |
5263 | | ::uint8_t* target, |
5264 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
5265 | | return _InternalSerialize(*this, target, stream); |
5266 | | } |
5267 | | #else // PROTOBUF_CUSTOM_VTABLE |
5268 | | ::size_t ByteSizeLong() const final; |
5269 | | ::uint8_t* _InternalSerialize( |
5270 | | ::uint8_t* target, |
5271 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
5272 | | #endif // PROTOBUF_CUSTOM_VTABLE |
5273 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
5274 | | |
5275 | | private: |
5276 | | void SharedCtor(::google::protobuf::Arena* arena); |
5277 | | static void SharedDtor(MessageLite& self); |
5278 | | void InternalSwap(Element* other); |
5279 | | private: |
5280 | | template <typename T> |
5281 | | friend ::absl::string_view( |
5282 | | ::google::protobuf::internal::GetAnyMessageName)(); |
5283 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.Element"; } |
5284 | | |
5285 | | protected: |
5286 | | explicit Element(::google::protobuf::Arena* arena); |
5287 | | Element(::google::protobuf::Arena* arena, const Element& from); |
5288 | | Element(::google::protobuf::Arena* arena, Element&& from) noexcept |
5289 | 0 | : Element(arena) { |
5290 | 0 | *this = ::std::move(from); |
5291 | 0 | } |
5292 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
5293 | | static void* PlacementNew_(const void*, void* mem, |
5294 | | ::google::protobuf::Arena* arena); |
5295 | | static constexpr auto InternalNewImpl_(); |
5296 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
5297 | | |
5298 | | public: |
5299 | | ::google::protobuf::Metadata GetMetadata() const; |
5300 | | // nested types ---------------------------------------------------- |
5301 | | using Type = Element_Type; |
5302 | | static constexpr Type PREDEFINED = Element_Type_PREDEFINED; |
5303 | | static constexpr Type FUZZ = Element_Type_FUZZ; |
5304 | 185k | static inline bool Type_IsValid(int value) { |
5305 | 185k | return Element_Type_IsValid(value); |
5306 | 185k | } |
5307 | | static constexpr Type Type_MIN = Element_Type_Type_MIN; |
5308 | | static constexpr Type Type_MAX = Element_Type_Type_MAX; |
5309 | | static constexpr int Type_ARRAYSIZE = Element_Type_Type_ARRAYSIZE; |
5310 | 0 | static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { |
5311 | 0 | return Element_Type_descriptor(); |
5312 | 0 | } |
5313 | | template <typename T> |
5314 | | static inline const std::string& Type_Name(T value) { |
5315 | | return Element_Type_Name(value); |
5316 | | } |
5317 | 0 | static inline bool Type_Parse(absl::string_view name, Type* value) { |
5318 | 0 | return Element_Type_Parse(name, value); |
5319 | 0 | } |
5320 | | using Id = Element_Id; |
5321 | | static constexpr Id XIINCLUDE = Element_Id_XIINCLUDE; |
5322 | | static constexpr Id XIFALLBACK = Element_Id_XIFALLBACK; |
5323 | | static constexpr Id XIHREF = Element_Id_XIHREF; |
5324 | | static constexpr Id XIPARSE = Element_Id_XIPARSE; |
5325 | | static constexpr Id XIXPOINTER = Element_Id_XIXPOINTER; |
5326 | | static constexpr Id XIENCODING = Element_Id_XIENCODING; |
5327 | | static constexpr Id XIACCEPT = Element_Id_XIACCEPT; |
5328 | | static constexpr Id XIACCEPTLANG = Element_Id_XIACCEPTLANG; |
5329 | 170k | static inline bool Id_IsValid(int value) { |
5330 | 170k | return Element_Id_IsValid(value); |
5331 | 170k | } |
5332 | | static constexpr Id Id_MIN = Element_Id_Id_MIN; |
5333 | | static constexpr Id Id_MAX = Element_Id_Id_MAX; |
5334 | | static constexpr int Id_ARRAYSIZE = Element_Id_Id_ARRAYSIZE; |
5335 | 0 | static inline const ::google::protobuf::EnumDescriptor* Id_descriptor() { |
5336 | 0 | return Element_Id_descriptor(); |
5337 | 0 | } |
5338 | | template <typename T> |
5339 | | static inline const std::string& Id_Name(T value) { |
5340 | | return Element_Id_Name(value); |
5341 | | } |
5342 | 0 | static inline bool Id_Parse(absl::string_view name, Id* value) { |
5343 | 0 | return Element_Id_Parse(name, value); |
5344 | 0 | } |
5345 | | |
5346 | | // accessors ------------------------------------------------------- |
5347 | | enum : int { |
5348 | | kKvFieldNumber = 4, |
5349 | | kNameFieldNumber = 3, |
5350 | | kChildpropFieldNumber = 6, |
5351 | | kContentFieldNumber = 5, |
5352 | | kTypeFieldNumber = 1, |
5353 | | kIdFieldNumber = 2, |
5354 | | }; |
5355 | | // repeated .xmlProtoFuzzer.KeyValue kv = 4; |
5356 | | int kv_size() const; |
5357 | | private: |
5358 | | int _internal_kv_size() const; |
5359 | | |
5360 | | public: |
5361 | | void clear_kv() ; |
5362 | | ::xmlProtoFuzzer::KeyValue* mutable_kv(int index); |
5363 | | ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>* mutable_kv(); |
5364 | | |
5365 | | private: |
5366 | | const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>& _internal_kv() const; |
5367 | | ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>* _internal_mutable_kv(); |
5368 | | public: |
5369 | | const ::xmlProtoFuzzer::KeyValue& kv(int index) const; |
5370 | | ::xmlProtoFuzzer::KeyValue* add_kv(); |
5371 | | const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>& kv() const; |
5372 | | // string name = 3; |
5373 | | void clear_name() ; |
5374 | | const std::string& name() const; |
5375 | | template <typename Arg_ = const std::string&, typename... Args_> |
5376 | | void set_name(Arg_&& arg, Args_... args); |
5377 | | std::string* mutable_name(); |
5378 | | PROTOBUF_NODISCARD std::string* release_name(); |
5379 | | void set_allocated_name(std::string* value); |
5380 | | |
5381 | | private: |
5382 | | const std::string& _internal_name() const; |
5383 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
5384 | | const std::string& value); |
5385 | | std::string* _internal_mutable_name(); |
5386 | | |
5387 | | public: |
5388 | | // string childprop = 6; |
5389 | | void clear_childprop() ; |
5390 | | const std::string& childprop() const; |
5391 | | template <typename Arg_ = const std::string&, typename... Args_> |
5392 | | void set_childprop(Arg_&& arg, Args_... args); |
5393 | | std::string* mutable_childprop(); |
5394 | | PROTOBUF_NODISCARD std::string* release_childprop(); |
5395 | | void set_allocated_childprop(std::string* value); |
5396 | | |
5397 | | private: |
5398 | | const std::string& _internal_childprop() const; |
5399 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_childprop( |
5400 | | const std::string& value); |
5401 | | std::string* _internal_mutable_childprop(); |
5402 | | |
5403 | | public: |
5404 | | // .xmlProtoFuzzer.Content content = 5; |
5405 | | bool has_content() const; |
5406 | | void clear_content() ; |
5407 | | const ::xmlProtoFuzzer::Content& content() const; |
5408 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::Content* release_content(); |
5409 | | ::xmlProtoFuzzer::Content* mutable_content(); |
5410 | | void set_allocated_content(::xmlProtoFuzzer::Content* value); |
5411 | | void unsafe_arena_set_allocated_content(::xmlProtoFuzzer::Content* value); |
5412 | | ::xmlProtoFuzzer::Content* unsafe_arena_release_content(); |
5413 | | |
5414 | | private: |
5415 | | const ::xmlProtoFuzzer::Content& _internal_content() const; |
5416 | | ::xmlProtoFuzzer::Content* _internal_mutable_content(); |
5417 | | |
5418 | | public: |
5419 | | // .xmlProtoFuzzer.Element.Type type = 1; |
5420 | | void clear_type() ; |
5421 | | ::xmlProtoFuzzer::Element_Type type() const; |
5422 | | void set_type(::xmlProtoFuzzer::Element_Type value); |
5423 | | |
5424 | | private: |
5425 | | ::xmlProtoFuzzer::Element_Type _internal_type() const; |
5426 | | void _internal_set_type(::xmlProtoFuzzer::Element_Type value); |
5427 | | |
5428 | | public: |
5429 | | // .xmlProtoFuzzer.Element.Id id = 2; |
5430 | | void clear_id() ; |
5431 | | ::xmlProtoFuzzer::Element_Id id() const; |
5432 | | void set_id(::xmlProtoFuzzer::Element_Id value); |
5433 | | |
5434 | | private: |
5435 | | ::xmlProtoFuzzer::Element_Id _internal_id() const; |
5436 | | void _internal_set_id(::xmlProtoFuzzer::Element_Id value); |
5437 | | |
5438 | | public: |
5439 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.Element) |
5440 | | private: |
5441 | | class _Internal; |
5442 | | friend class ::google::protobuf::internal::TcParser; |
5443 | | static const ::google::protobuf::internal::TcParseTable< |
5444 | | 3, 6, 2, |
5445 | | 44, 2> |
5446 | | _table_; |
5447 | | |
5448 | | friend class ::google::protobuf::MessageLite; |
5449 | | friend class ::google::protobuf::Arena; |
5450 | | template <typename T> |
5451 | | friend class ::google::protobuf::Arena::InternalHelper; |
5452 | | using InternalArenaConstructable_ = void; |
5453 | | using DestructorSkippable_ = void; |
5454 | | struct Impl_ { |
5455 | | inline explicit constexpr Impl_( |
5456 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
5457 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
5458 | | ::google::protobuf::Arena* arena); |
5459 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
5460 | | ::google::protobuf::Arena* arena, const Impl_& from, |
5461 | | const Element& from_msg); |
5462 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5463 | | ::google::protobuf::internal::CachedSize _cached_size_; |
5464 | | ::google::protobuf::RepeatedPtrField< ::xmlProtoFuzzer::KeyValue > kv_; |
5465 | | ::google::protobuf::internal::ArenaStringPtr name_; |
5466 | | ::google::protobuf::internal::ArenaStringPtr childprop_; |
5467 | | ::xmlProtoFuzzer::Content* content_; |
5468 | | int type_; |
5469 | | int id_; |
5470 | | PROTOBUF_TSAN_DECLARE_MEMBER |
5471 | | }; |
5472 | | union { Impl_ _impl_; }; |
5473 | | friend struct ::TableStruct_xml_2eproto; |
5474 | | }; |
5475 | | // ------------------------------------------------------------------- |
5476 | | |
5477 | | class Misc final : public ::google::protobuf::Message |
5478 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.Misc) */ { |
5479 | | public: |
5480 | 0 | inline Misc() : Misc(nullptr) {} |
5481 | | ~Misc() PROTOBUF_FINAL; |
5482 | | |
5483 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5484 | | void operator delete(Misc* msg, std::destroying_delete_t) { |
5485 | | SharedDtor(*msg); |
5486 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Misc)); |
5487 | | } |
5488 | | #endif |
5489 | | |
5490 | | template <typename = void> |
5491 | | explicit PROTOBUF_CONSTEXPR Misc( |
5492 | | ::google::protobuf::internal::ConstantInitialized); |
5493 | | |
5494 | 0 | inline Misc(const Misc& from) : Misc(nullptr, from) {} |
5495 | | inline Misc(Misc&& from) noexcept |
5496 | 0 | : Misc(nullptr, std::move(from)) {} |
5497 | 0 | inline Misc& operator=(const Misc& from) { |
5498 | 0 | CopyFrom(from); |
5499 | 0 | return *this; |
5500 | 0 | } |
5501 | 0 | inline Misc& operator=(Misc&& from) noexcept { |
5502 | 0 | if (this == &from) return *this; |
5503 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
5504 | 0 | InternalSwap(&from); |
5505 | 0 | } else { |
5506 | 0 | CopyFrom(from); |
5507 | 0 | } |
5508 | 0 | return *this; |
5509 | 0 | } |
5510 | | |
5511 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
5512 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5513 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
5514 | 0 | } |
5515 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
5516 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5517 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
5518 | 0 | } |
5519 | | |
5520 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
5521 | 0 | return GetDescriptor(); |
5522 | 0 | } |
5523 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
5524 | 0 | return default_instance().GetMetadata().descriptor; |
5525 | 0 | } |
5526 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
5527 | 0 | return default_instance().GetMetadata().reflection; |
5528 | 0 | } |
5529 | 0 | static const Misc& default_instance() { |
5530 | 0 | return *internal_default_instance(); |
5531 | 0 | } |
5532 | | enum MiscOneofCase { |
5533 | | kComment = 1, |
5534 | | kInst = 2, |
5535 | | MISC_ONEOF_NOT_SET = 0, |
5536 | | }; |
5537 | 0 | static inline const Misc* internal_default_instance() { |
5538 | 0 | return reinterpret_cast<const Misc*>( |
5539 | 0 | &_Misc_default_instance_); |
5540 | 0 | } |
5541 | | static constexpr int kIndexInFileMessages = 0; |
5542 | 0 | friend void swap(Misc& a, Misc& b) { a.Swap(&b); } |
5543 | 0 | inline void Swap(Misc* other) { |
5544 | 0 | if (other == this) return; |
5545 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
5546 | 0 | InternalSwap(other); |
5547 | 0 | } else { |
5548 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
5549 | 0 | } |
5550 | 0 | } |
5551 | 0 | void UnsafeArenaSwap(Misc* other) { |
5552 | 0 | if (other == this) return; |
5553 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
5554 | 0 | InternalSwap(other); |
5555 | 0 | } |
5556 | | |
5557 | | // implements Message ---------------------------------------------- |
5558 | | |
5559 | 0 | Misc* New(::google::protobuf::Arena* arena = nullptr) const { |
5560 | 0 | return ::google::protobuf::Message::DefaultConstruct<Misc>(arena); |
5561 | 0 | } |
5562 | | using ::google::protobuf::Message::CopyFrom; |
5563 | | void CopyFrom(const Misc& from); |
5564 | | using ::google::protobuf::Message::MergeFrom; |
5565 | 0 | void MergeFrom(const Misc& from) { Misc::MergeImpl(*this, from); } |
5566 | | |
5567 | | private: |
5568 | | static void MergeImpl( |
5569 | | ::google::protobuf::MessageLite& to_msg, |
5570 | | const ::google::protobuf::MessageLite& from_msg); |
5571 | | |
5572 | | public: |
5573 | 0 | bool IsInitialized() const { |
5574 | 0 | return true; |
5575 | 0 | } |
5576 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
5577 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5578 | | private: |
5579 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
5580 | | static ::uint8_t* _InternalSerialize( |
5581 | | const MessageLite& msg, ::uint8_t* target, |
5582 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
5583 | | |
5584 | | public: |
5585 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
5586 | | ::uint8_t* _InternalSerialize( |
5587 | | ::uint8_t* target, |
5588 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
5589 | | return _InternalSerialize(*this, target, stream); |
5590 | | } |
5591 | | #else // PROTOBUF_CUSTOM_VTABLE |
5592 | | ::size_t ByteSizeLong() const final; |
5593 | | ::uint8_t* _InternalSerialize( |
5594 | | ::uint8_t* target, |
5595 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
5596 | | #endif // PROTOBUF_CUSTOM_VTABLE |
5597 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
5598 | | |
5599 | | private: |
5600 | | void SharedCtor(::google::protobuf::Arena* arena); |
5601 | | static void SharedDtor(MessageLite& self); |
5602 | | void InternalSwap(Misc* other); |
5603 | | private: |
5604 | | template <typename T> |
5605 | | friend ::absl::string_view( |
5606 | | ::google::protobuf::internal::GetAnyMessageName)(); |
5607 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.Misc"; } |
5608 | | |
5609 | | protected: |
5610 | | explicit Misc(::google::protobuf::Arena* arena); |
5611 | | Misc(::google::protobuf::Arena* arena, const Misc& from); |
5612 | | Misc(::google::protobuf::Arena* arena, Misc&& from) noexcept |
5613 | 0 | : Misc(arena) { |
5614 | 0 | *this = ::std::move(from); |
5615 | 0 | } |
5616 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
5617 | | static void* PlacementNew_(const void*, void* mem, |
5618 | | ::google::protobuf::Arena* arena); |
5619 | | static constexpr auto InternalNewImpl_(); |
5620 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
5621 | | |
5622 | | public: |
5623 | | ::google::protobuf::Metadata GetMetadata() const; |
5624 | | // nested types ---------------------------------------------------- |
5625 | | |
5626 | | // accessors ------------------------------------------------------- |
5627 | | enum : int { |
5628 | | kCommentFieldNumber = 1, |
5629 | | kInstFieldNumber = 2, |
5630 | | }; |
5631 | | // string comment = 1; |
5632 | | bool has_comment() const; |
5633 | | void clear_comment() ; |
5634 | | const std::string& comment() const; |
5635 | | template <typename Arg_ = const std::string&, typename... Args_> |
5636 | | void set_comment(Arg_&& arg, Args_... args); |
5637 | | std::string* mutable_comment(); |
5638 | | PROTOBUF_NODISCARD std::string* release_comment(); |
5639 | | void set_allocated_comment(std::string* value); |
5640 | | |
5641 | | private: |
5642 | | const std::string& _internal_comment() const; |
5643 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment( |
5644 | | const std::string& value); |
5645 | | std::string* _internal_mutable_comment(); |
5646 | | |
5647 | | public: |
5648 | | // .xmlProtoFuzzer.ProcessingInstruction inst = 2; |
5649 | | bool has_inst() const; |
5650 | | private: |
5651 | | bool _internal_has_inst() const; |
5652 | | |
5653 | | public: |
5654 | | void clear_inst() ; |
5655 | | const ::xmlProtoFuzzer::ProcessingInstruction& inst() const; |
5656 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ProcessingInstruction* release_inst(); |
5657 | | ::xmlProtoFuzzer::ProcessingInstruction* mutable_inst(); |
5658 | | void set_allocated_inst(::xmlProtoFuzzer::ProcessingInstruction* value); |
5659 | | void unsafe_arena_set_allocated_inst(::xmlProtoFuzzer::ProcessingInstruction* value); |
5660 | | ::xmlProtoFuzzer::ProcessingInstruction* unsafe_arena_release_inst(); |
5661 | | |
5662 | | private: |
5663 | | const ::xmlProtoFuzzer::ProcessingInstruction& _internal_inst() const; |
5664 | | ::xmlProtoFuzzer::ProcessingInstruction* _internal_mutable_inst(); |
5665 | | |
5666 | | public: |
5667 | | void clear_misc_oneof(); |
5668 | | MiscOneofCase misc_oneof_case() const; |
5669 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.Misc) |
5670 | | private: |
5671 | | class _Internal; |
5672 | | void set_has_comment(); |
5673 | | void set_has_inst(); |
5674 | | inline bool has_misc_oneof() const; |
5675 | | inline void clear_has_misc_oneof(); |
5676 | | friend class ::google::protobuf::internal::TcParser; |
5677 | | static const ::google::protobuf::internal::TcParseTable< |
5678 | | 0, 2, 1, |
5679 | | 35, 2> |
5680 | | _table_; |
5681 | | |
5682 | | friend class ::google::protobuf::MessageLite; |
5683 | | friend class ::google::protobuf::Arena; |
5684 | | template <typename T> |
5685 | | friend class ::google::protobuf::Arena::InternalHelper; |
5686 | | using InternalArenaConstructable_ = void; |
5687 | | using DestructorSkippable_ = void; |
5688 | | struct Impl_ { |
5689 | | inline explicit constexpr Impl_( |
5690 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
5691 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
5692 | | ::google::protobuf::Arena* arena); |
5693 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
5694 | | ::google::protobuf::Arena* arena, const Impl_& from, |
5695 | | const Misc& from_msg); |
5696 | | union MiscOneofUnion { |
5697 | 5.30k | constexpr MiscOneofUnion() : _constinit_{} {} |
5698 | | ::google::protobuf::internal::ConstantInitialized _constinit_; |
5699 | | ::google::protobuf::internal::ArenaStringPtr comment_; |
5700 | | ::xmlProtoFuzzer::ProcessingInstruction* inst_; |
5701 | | } misc_oneof_; |
5702 | | ::google::protobuf::internal::CachedSize _cached_size_; |
5703 | | ::uint32_t _oneof_case_[1]; |
5704 | | PROTOBUF_TSAN_DECLARE_MEMBER |
5705 | | }; |
5706 | | union { Impl_ _impl_; }; |
5707 | | friend struct ::TableStruct_xml_2eproto; |
5708 | | }; |
5709 | | // ------------------------------------------------------------------- |
5710 | | |
5711 | | class EntityDecl final : public ::google::protobuf::Message |
5712 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.EntityDecl) */ { |
5713 | | public: |
5714 | 0 | inline EntityDecl() : EntityDecl(nullptr) {} |
5715 | | ~EntityDecl() PROTOBUF_FINAL; |
5716 | | |
5717 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5718 | | void operator delete(EntityDecl* msg, std::destroying_delete_t) { |
5719 | | SharedDtor(*msg); |
5720 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(EntityDecl)); |
5721 | | } |
5722 | | #endif |
5723 | | |
5724 | | template <typename = void> |
5725 | | explicit PROTOBUF_CONSTEXPR EntityDecl( |
5726 | | ::google::protobuf::internal::ConstantInitialized); |
5727 | | |
5728 | 0 | inline EntityDecl(const EntityDecl& from) : EntityDecl(nullptr, from) {} |
5729 | | inline EntityDecl(EntityDecl&& from) noexcept |
5730 | 0 | : EntityDecl(nullptr, std::move(from)) {} |
5731 | 0 | inline EntityDecl& operator=(const EntityDecl& from) { |
5732 | 0 | CopyFrom(from); |
5733 | 0 | return *this; |
5734 | 0 | } |
5735 | 0 | inline EntityDecl& operator=(EntityDecl&& from) noexcept { |
5736 | 0 | if (this == &from) return *this; |
5737 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
5738 | 0 | InternalSwap(&from); |
5739 | 0 | } else { |
5740 | 0 | CopyFrom(from); |
5741 | 0 | } |
5742 | 0 | return *this; |
5743 | 0 | } |
5744 | | |
5745 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
5746 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5747 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
5748 | 0 | } |
5749 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
5750 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
5751 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
5752 | 0 | } |
5753 | | |
5754 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
5755 | 0 | return GetDescriptor(); |
5756 | 0 | } |
5757 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
5758 | 0 | return default_instance().GetMetadata().descriptor; |
5759 | 0 | } |
5760 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
5761 | 0 | return default_instance().GetMetadata().reflection; |
5762 | 0 | } |
5763 | 0 | static const EntityDecl& default_instance() { |
5764 | 0 | return *internal_default_instance(); |
5765 | 0 | } |
5766 | 0 | static inline const EntityDecl* internal_default_instance() { |
5767 | 0 | return reinterpret_cast<const EntityDecl*>( |
5768 | 0 | &_EntityDecl_default_instance_); |
5769 | 0 | } |
5770 | | static constexpr int kIndexInFileMessages = 16; |
5771 | 0 | friend void swap(EntityDecl& a, EntityDecl& b) { a.Swap(&b); } |
5772 | 0 | inline void Swap(EntityDecl* other) { |
5773 | 0 | if (other == this) return; |
5774 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
5775 | 0 | InternalSwap(other); |
5776 | 0 | } else { |
5777 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
5778 | 0 | } |
5779 | 0 | } |
5780 | 0 | void UnsafeArenaSwap(EntityDecl* other) { |
5781 | 0 | if (other == this) return; |
5782 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
5783 | 0 | InternalSwap(other); |
5784 | 0 | } |
5785 | | |
5786 | | // implements Message ---------------------------------------------- |
5787 | | |
5788 | 0 | EntityDecl* New(::google::protobuf::Arena* arena = nullptr) const { |
5789 | 0 | return ::google::protobuf::Message::DefaultConstruct<EntityDecl>(arena); |
5790 | 0 | } |
5791 | | using ::google::protobuf::Message::CopyFrom; |
5792 | | void CopyFrom(const EntityDecl& from); |
5793 | | using ::google::protobuf::Message::MergeFrom; |
5794 | 0 | void MergeFrom(const EntityDecl& from) { EntityDecl::MergeImpl(*this, from); } |
5795 | | |
5796 | | private: |
5797 | | static void MergeImpl( |
5798 | | ::google::protobuf::MessageLite& to_msg, |
5799 | | const ::google::protobuf::MessageLite& from_msg); |
5800 | | |
5801 | | public: |
5802 | 0 | bool IsInitialized() const { |
5803 | 0 | return true; |
5804 | 0 | } |
5805 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
5806 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5807 | | private: |
5808 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
5809 | | static ::uint8_t* _InternalSerialize( |
5810 | | const MessageLite& msg, ::uint8_t* target, |
5811 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
5812 | | |
5813 | | public: |
5814 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
5815 | | ::uint8_t* _InternalSerialize( |
5816 | | ::uint8_t* target, |
5817 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
5818 | | return _InternalSerialize(*this, target, stream); |
5819 | | } |
5820 | | #else // PROTOBUF_CUSTOM_VTABLE |
5821 | | ::size_t ByteSizeLong() const final; |
5822 | | ::uint8_t* _InternalSerialize( |
5823 | | ::uint8_t* target, |
5824 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
5825 | | #endif // PROTOBUF_CUSTOM_VTABLE |
5826 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
5827 | | |
5828 | | private: |
5829 | | void SharedCtor(::google::protobuf::Arena* arena); |
5830 | | static void SharedDtor(MessageLite& self); |
5831 | | void InternalSwap(EntityDecl* other); |
5832 | | private: |
5833 | | template <typename T> |
5834 | | friend ::absl::string_view( |
5835 | | ::google::protobuf::internal::GetAnyMessageName)(); |
5836 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.EntityDecl"; } |
5837 | | |
5838 | | protected: |
5839 | | explicit EntityDecl(::google::protobuf::Arena* arena); |
5840 | | EntityDecl(::google::protobuf::Arena* arena, const EntityDecl& from); |
5841 | | EntityDecl(::google::protobuf::Arena* arena, EntityDecl&& from) noexcept |
5842 | 0 | : EntityDecl(arena) { |
5843 | 0 | *this = ::std::move(from); |
5844 | 0 | } |
5845 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
5846 | | static void* PlacementNew_(const void*, void* mem, |
5847 | | ::google::protobuf::Arena* arena); |
5848 | | static constexpr auto InternalNewImpl_(); |
5849 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
5850 | | |
5851 | | public: |
5852 | | ::google::protobuf::Metadata GetMetadata() const; |
5853 | | // nested types ---------------------------------------------------- |
5854 | | using Type = EntityDecl_Type; |
5855 | | static constexpr Type GEDECL = EntityDecl_Type_GEDECL; |
5856 | | static constexpr Type PEDECL = EntityDecl_Type_PEDECL; |
5857 | 10.9k | static inline bool Type_IsValid(int value) { |
5858 | 10.9k | return EntityDecl_Type_IsValid(value); |
5859 | 10.9k | } |
5860 | | static constexpr Type Type_MIN = EntityDecl_Type_Type_MIN; |
5861 | | static constexpr Type Type_MAX = EntityDecl_Type_Type_MAX; |
5862 | | static constexpr int Type_ARRAYSIZE = EntityDecl_Type_Type_ARRAYSIZE; |
5863 | 0 | static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { |
5864 | 0 | return EntityDecl_Type_descriptor(); |
5865 | 0 | } |
5866 | | template <typename T> |
5867 | | static inline const std::string& Type_Name(T value) { |
5868 | | return EntityDecl_Type_Name(value); |
5869 | | } |
5870 | 0 | static inline bool Type_Parse(absl::string_view name, Type* value) { |
5871 | 0 | return EntityDecl_Type_Parse(name, value); |
5872 | 0 | } |
5873 | | |
5874 | | // accessors ------------------------------------------------------- |
5875 | | enum : int { |
5876 | | kNameFieldNumber = 2, |
5877 | | kEntFieldNumber = 3, |
5878 | | kPedefFieldNumber = 4, |
5879 | | kTypeFieldNumber = 1, |
5880 | | }; |
5881 | | // string name = 2; |
5882 | | void clear_name() ; |
5883 | | const std::string& name() const; |
5884 | | template <typename Arg_ = const std::string&, typename... Args_> |
5885 | | void set_name(Arg_&& arg, Args_... args); |
5886 | | std::string* mutable_name(); |
5887 | | PROTOBUF_NODISCARD std::string* release_name(); |
5888 | | void set_allocated_name(std::string* value); |
5889 | | |
5890 | | private: |
5891 | | const std::string& _internal_name() const; |
5892 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
5893 | | const std::string& value); |
5894 | | std::string* _internal_mutable_name(); |
5895 | | |
5896 | | public: |
5897 | | // .xmlProtoFuzzer.EntityDef ent = 3; |
5898 | | bool has_ent() const; |
5899 | | void clear_ent() ; |
5900 | | const ::xmlProtoFuzzer::EntityDef& ent() const; |
5901 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::EntityDef* release_ent(); |
5902 | | ::xmlProtoFuzzer::EntityDef* mutable_ent(); |
5903 | | void set_allocated_ent(::xmlProtoFuzzer::EntityDef* value); |
5904 | | void unsafe_arena_set_allocated_ent(::xmlProtoFuzzer::EntityDef* value); |
5905 | | ::xmlProtoFuzzer::EntityDef* unsafe_arena_release_ent(); |
5906 | | |
5907 | | private: |
5908 | | const ::xmlProtoFuzzer::EntityDef& _internal_ent() const; |
5909 | | ::xmlProtoFuzzer::EntityDef* _internal_mutable_ent(); |
5910 | | |
5911 | | public: |
5912 | | // .xmlProtoFuzzer.PEDef pedef = 4; |
5913 | | bool has_pedef() const; |
5914 | | void clear_pedef() ; |
5915 | | const ::xmlProtoFuzzer::PEDef& pedef() const; |
5916 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::PEDef* release_pedef(); |
5917 | | ::xmlProtoFuzzer::PEDef* mutable_pedef(); |
5918 | | void set_allocated_pedef(::xmlProtoFuzzer::PEDef* value); |
5919 | | void unsafe_arena_set_allocated_pedef(::xmlProtoFuzzer::PEDef* value); |
5920 | | ::xmlProtoFuzzer::PEDef* unsafe_arena_release_pedef(); |
5921 | | |
5922 | | private: |
5923 | | const ::xmlProtoFuzzer::PEDef& _internal_pedef() const; |
5924 | | ::xmlProtoFuzzer::PEDef* _internal_mutable_pedef(); |
5925 | | |
5926 | | public: |
5927 | | // .xmlProtoFuzzer.EntityDecl.Type type = 1; |
5928 | | void clear_type() ; |
5929 | | ::xmlProtoFuzzer::EntityDecl_Type type() const; |
5930 | | void set_type(::xmlProtoFuzzer::EntityDecl_Type value); |
5931 | | |
5932 | | private: |
5933 | | ::xmlProtoFuzzer::EntityDecl_Type _internal_type() const; |
5934 | | void _internal_set_type(::xmlProtoFuzzer::EntityDecl_Type value); |
5935 | | |
5936 | | public: |
5937 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.EntityDecl) |
5938 | | private: |
5939 | | class _Internal; |
5940 | | friend class ::google::protobuf::internal::TcParser; |
5941 | | static const ::google::protobuf::internal::TcParseTable< |
5942 | | 2, 4, 2, |
5943 | | 38, 2> |
5944 | | _table_; |
5945 | | |
5946 | | friend class ::google::protobuf::MessageLite; |
5947 | | friend class ::google::protobuf::Arena; |
5948 | | template <typename T> |
5949 | | friend class ::google::protobuf::Arena::InternalHelper; |
5950 | | using InternalArenaConstructable_ = void; |
5951 | | using DestructorSkippable_ = void; |
5952 | | struct Impl_ { |
5953 | | inline explicit constexpr Impl_( |
5954 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
5955 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
5956 | | ::google::protobuf::Arena* arena); |
5957 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
5958 | | ::google::protobuf::Arena* arena, const Impl_& from, |
5959 | | const EntityDecl& from_msg); |
5960 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
5961 | | ::google::protobuf::internal::CachedSize _cached_size_; |
5962 | | ::google::protobuf::internal::ArenaStringPtr name_; |
5963 | | ::xmlProtoFuzzer::EntityDef* ent_; |
5964 | | ::xmlProtoFuzzer::PEDef* pedef_; |
5965 | | int type_; |
5966 | | PROTOBUF_TSAN_DECLARE_MEMBER |
5967 | | }; |
5968 | | union { Impl_ _impl_; }; |
5969 | | friend struct ::TableStruct_xml_2eproto; |
5970 | | }; |
5971 | | // ------------------------------------------------------------------- |
5972 | | |
5973 | | class AttrListDecl final : public ::google::protobuf::Message |
5974 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.AttrListDecl) */ { |
5975 | | public: |
5976 | 0 | inline AttrListDecl() : AttrListDecl(nullptr) {} |
5977 | | ~AttrListDecl() PROTOBUF_FINAL; |
5978 | | |
5979 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
5980 | | void operator delete(AttrListDecl* msg, std::destroying_delete_t) { |
5981 | | SharedDtor(*msg); |
5982 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(AttrListDecl)); |
5983 | | } |
5984 | | #endif |
5985 | | |
5986 | | template <typename = void> |
5987 | | explicit PROTOBUF_CONSTEXPR AttrListDecl( |
5988 | | ::google::protobuf::internal::ConstantInitialized); |
5989 | | |
5990 | 0 | inline AttrListDecl(const AttrListDecl& from) : AttrListDecl(nullptr, from) {} |
5991 | | inline AttrListDecl(AttrListDecl&& from) noexcept |
5992 | 0 | : AttrListDecl(nullptr, std::move(from)) {} |
5993 | 0 | inline AttrListDecl& operator=(const AttrListDecl& from) { |
5994 | 0 | CopyFrom(from); |
5995 | 0 | return *this; |
5996 | 0 | } |
5997 | 0 | inline AttrListDecl& operator=(AttrListDecl&& from) noexcept { |
5998 | 0 | if (this == &from) return *this; |
5999 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
6000 | 0 | InternalSwap(&from); |
6001 | 0 | } else { |
6002 | 0 | CopyFrom(from); |
6003 | 0 | } |
6004 | 0 | return *this; |
6005 | 0 | } |
6006 | | |
6007 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
6008 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6009 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
6010 | 0 | } |
6011 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
6012 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6013 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
6014 | 0 | } |
6015 | | |
6016 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
6017 | 0 | return GetDescriptor(); |
6018 | 0 | } |
6019 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
6020 | 0 | return default_instance().GetMetadata().descriptor; |
6021 | 0 | } |
6022 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
6023 | 0 | return default_instance().GetMetadata().reflection; |
6024 | 0 | } |
6025 | 0 | static const AttrListDecl& default_instance() { |
6026 | 0 | return *internal_default_instance(); |
6027 | 0 | } |
6028 | 0 | static inline const AttrListDecl* internal_default_instance() { |
6029 | 0 | return reinterpret_cast<const AttrListDecl*>( |
6030 | 0 | &_AttrListDecl_default_instance_); |
6031 | 0 | } |
6032 | | static constexpr int kIndexInFileMessages = 5; |
6033 | 0 | friend void swap(AttrListDecl& a, AttrListDecl& b) { a.Swap(&b); } |
6034 | 0 | inline void Swap(AttrListDecl* other) { |
6035 | 0 | if (other == this) return; |
6036 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
6037 | 0 | InternalSwap(other); |
6038 | 0 | } else { |
6039 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
6040 | 0 | } |
6041 | 0 | } |
6042 | 0 | void UnsafeArenaSwap(AttrListDecl* other) { |
6043 | 0 | if (other == this) return; |
6044 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
6045 | 0 | InternalSwap(other); |
6046 | 0 | } |
6047 | | |
6048 | | // implements Message ---------------------------------------------- |
6049 | | |
6050 | 0 | AttrListDecl* New(::google::protobuf::Arena* arena = nullptr) const { |
6051 | 0 | return ::google::protobuf::Message::DefaultConstruct<AttrListDecl>(arena); |
6052 | 0 | } |
6053 | | using ::google::protobuf::Message::CopyFrom; |
6054 | | void CopyFrom(const AttrListDecl& from); |
6055 | | using ::google::protobuf::Message::MergeFrom; |
6056 | 0 | void MergeFrom(const AttrListDecl& from) { AttrListDecl::MergeImpl(*this, from); } |
6057 | | |
6058 | | private: |
6059 | | static void MergeImpl( |
6060 | | ::google::protobuf::MessageLite& to_msg, |
6061 | | const ::google::protobuf::MessageLite& from_msg); |
6062 | | |
6063 | | public: |
6064 | 0 | bool IsInitialized() const { |
6065 | 0 | return true; |
6066 | 0 | } |
6067 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
6068 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6069 | | private: |
6070 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
6071 | | static ::uint8_t* _InternalSerialize( |
6072 | | const MessageLite& msg, ::uint8_t* target, |
6073 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
6074 | | |
6075 | | public: |
6076 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
6077 | | ::uint8_t* _InternalSerialize( |
6078 | | ::uint8_t* target, |
6079 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
6080 | | return _InternalSerialize(*this, target, stream); |
6081 | | } |
6082 | | #else // PROTOBUF_CUSTOM_VTABLE |
6083 | | ::size_t ByteSizeLong() const final; |
6084 | | ::uint8_t* _InternalSerialize( |
6085 | | ::uint8_t* target, |
6086 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
6087 | | #endif // PROTOBUF_CUSTOM_VTABLE |
6088 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
6089 | | |
6090 | | private: |
6091 | | void SharedCtor(::google::protobuf::Arena* arena); |
6092 | | static void SharedDtor(MessageLite& self); |
6093 | | void InternalSwap(AttrListDecl* other); |
6094 | | private: |
6095 | | template <typename T> |
6096 | | friend ::absl::string_view( |
6097 | | ::google::protobuf::internal::GetAnyMessageName)(); |
6098 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.AttrListDecl"; } |
6099 | | |
6100 | | protected: |
6101 | | explicit AttrListDecl(::google::protobuf::Arena* arena); |
6102 | | AttrListDecl(::google::protobuf::Arena* arena, const AttrListDecl& from); |
6103 | | AttrListDecl(::google::protobuf::Arena* arena, AttrListDecl&& from) noexcept |
6104 | 0 | : AttrListDecl(arena) { |
6105 | 0 | *this = ::std::move(from); |
6106 | 0 | } |
6107 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
6108 | | static void* PlacementNew_(const void*, void* mem, |
6109 | | ::google::protobuf::Arena* arena); |
6110 | | static constexpr auto InternalNewImpl_(); |
6111 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
6112 | | |
6113 | | public: |
6114 | | ::google::protobuf::Metadata GetMetadata() const; |
6115 | | // nested types ---------------------------------------------------- |
6116 | | |
6117 | | // accessors ------------------------------------------------------- |
6118 | | enum : int { |
6119 | | kNameFieldNumber = 1, |
6120 | | kAtypeFieldNumber = 2, |
6121 | | kEtypeFieldNumber = 3, |
6122 | | kDefFieldNumber = 4, |
6123 | | }; |
6124 | | // string name = 1; |
6125 | | void clear_name() ; |
6126 | | const std::string& name() const; |
6127 | | template <typename Arg_ = const std::string&, typename... Args_> |
6128 | | void set_name(Arg_&& arg, Args_... args); |
6129 | | std::string* mutable_name(); |
6130 | | PROTOBUF_NODISCARD std::string* release_name(); |
6131 | | void set_allocated_name(std::string* value); |
6132 | | |
6133 | | private: |
6134 | | const std::string& _internal_name() const; |
6135 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
6136 | | const std::string& value); |
6137 | | std::string* _internal_mutable_name(); |
6138 | | |
6139 | | public: |
6140 | | // .xmlProtoFuzzer.AttrType atype = 2; |
6141 | | bool has_atype() const; |
6142 | | void clear_atype() ; |
6143 | | const ::xmlProtoFuzzer::AttrType& atype() const; |
6144 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::AttrType* release_atype(); |
6145 | | ::xmlProtoFuzzer::AttrType* mutable_atype(); |
6146 | | void set_allocated_atype(::xmlProtoFuzzer::AttrType* value); |
6147 | | void unsafe_arena_set_allocated_atype(::xmlProtoFuzzer::AttrType* value); |
6148 | | ::xmlProtoFuzzer::AttrType* unsafe_arena_release_atype(); |
6149 | | |
6150 | | private: |
6151 | | const ::xmlProtoFuzzer::AttrType& _internal_atype() const; |
6152 | | ::xmlProtoFuzzer::AttrType* _internal_mutable_atype(); |
6153 | | |
6154 | | public: |
6155 | | // .xmlProtoFuzzer.EnumeratedType etype = 3; |
6156 | | bool has_etype() const; |
6157 | | void clear_etype() ; |
6158 | | const ::xmlProtoFuzzer::EnumeratedType& etype() const; |
6159 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::EnumeratedType* release_etype(); |
6160 | | ::xmlProtoFuzzer::EnumeratedType* mutable_etype(); |
6161 | | void set_allocated_etype(::xmlProtoFuzzer::EnumeratedType* value); |
6162 | | void unsafe_arena_set_allocated_etype(::xmlProtoFuzzer::EnumeratedType* value); |
6163 | | ::xmlProtoFuzzer::EnumeratedType* unsafe_arena_release_etype(); |
6164 | | |
6165 | | private: |
6166 | | const ::xmlProtoFuzzer::EnumeratedType& _internal_etype() const; |
6167 | | ::xmlProtoFuzzer::EnumeratedType* _internal_mutable_etype(); |
6168 | | |
6169 | | public: |
6170 | | // .xmlProtoFuzzer.DefaultDecl def = 4; |
6171 | | bool has_def() const; |
6172 | | void clear_def() ; |
6173 | | const ::xmlProtoFuzzer::DefaultDecl& def() const; |
6174 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::DefaultDecl* release_def(); |
6175 | | ::xmlProtoFuzzer::DefaultDecl* mutable_def(); |
6176 | | void set_allocated_def(::xmlProtoFuzzer::DefaultDecl* value); |
6177 | | void unsafe_arena_set_allocated_def(::xmlProtoFuzzer::DefaultDecl* value); |
6178 | | ::xmlProtoFuzzer::DefaultDecl* unsafe_arena_release_def(); |
6179 | | |
6180 | | private: |
6181 | | const ::xmlProtoFuzzer::DefaultDecl& _internal_def() const; |
6182 | | ::xmlProtoFuzzer::DefaultDecl* _internal_mutable_def(); |
6183 | | |
6184 | | public: |
6185 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.AttrListDecl) |
6186 | | private: |
6187 | | class _Internal; |
6188 | | friend class ::google::protobuf::internal::TcParser; |
6189 | | static const ::google::protobuf::internal::TcParseTable< |
6190 | | 2, 4, 3, |
6191 | | 40, 2> |
6192 | | _table_; |
6193 | | |
6194 | | friend class ::google::protobuf::MessageLite; |
6195 | | friend class ::google::protobuf::Arena; |
6196 | | template <typename T> |
6197 | | friend class ::google::protobuf::Arena::InternalHelper; |
6198 | | using InternalArenaConstructable_ = void; |
6199 | | using DestructorSkippable_ = void; |
6200 | | struct Impl_ { |
6201 | | inline explicit constexpr Impl_( |
6202 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
6203 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
6204 | | ::google::protobuf::Arena* arena); |
6205 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
6206 | | ::google::protobuf::Arena* arena, const Impl_& from, |
6207 | | const AttrListDecl& from_msg); |
6208 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
6209 | | ::google::protobuf::internal::CachedSize _cached_size_; |
6210 | | ::google::protobuf::internal::ArenaStringPtr name_; |
6211 | | ::xmlProtoFuzzer::AttrType* atype_; |
6212 | | ::xmlProtoFuzzer::EnumeratedType* etype_; |
6213 | | ::xmlProtoFuzzer::DefaultDecl* def_; |
6214 | | PROTOBUF_TSAN_DECLARE_MEMBER |
6215 | | }; |
6216 | | union { Impl_ _impl_; }; |
6217 | | friend struct ::TableStruct_xml_2eproto; |
6218 | | }; |
6219 | | // ------------------------------------------------------------------- |
6220 | | |
6221 | | class AttDef final : public ::google::protobuf::Message |
6222 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.AttDef) */ { |
6223 | | public: |
6224 | 0 | inline AttDef() : AttDef(nullptr) {} |
6225 | | ~AttDef() PROTOBUF_FINAL; |
6226 | | |
6227 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6228 | | void operator delete(AttDef* msg, std::destroying_delete_t) { |
6229 | | SharedDtor(*msg); |
6230 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(AttDef)); |
6231 | | } |
6232 | | #endif |
6233 | | |
6234 | | template <typename = void> |
6235 | | explicit PROTOBUF_CONSTEXPR AttDef( |
6236 | | ::google::protobuf::internal::ConstantInitialized); |
6237 | | |
6238 | 0 | inline AttDef(const AttDef& from) : AttDef(nullptr, from) {} |
6239 | | inline AttDef(AttDef&& from) noexcept |
6240 | 0 | : AttDef(nullptr, std::move(from)) {} |
6241 | 0 | inline AttDef& operator=(const AttDef& from) { |
6242 | 0 | CopyFrom(from); |
6243 | 0 | return *this; |
6244 | 0 | } |
6245 | 0 | inline AttDef& operator=(AttDef&& from) noexcept { |
6246 | 0 | if (this == &from) return *this; |
6247 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
6248 | 0 | InternalSwap(&from); |
6249 | 0 | } else { |
6250 | 0 | CopyFrom(from); |
6251 | 0 | } |
6252 | 0 | return *this; |
6253 | 0 | } |
6254 | | |
6255 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
6256 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6257 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
6258 | 0 | } |
6259 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
6260 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6261 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
6262 | 0 | } |
6263 | | |
6264 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
6265 | 0 | return GetDescriptor(); |
6266 | 0 | } |
6267 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
6268 | 0 | return default_instance().GetMetadata().descriptor; |
6269 | 0 | } |
6270 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
6271 | 0 | return default_instance().GetMetadata().reflection; |
6272 | 0 | } |
6273 | 0 | static const AttDef& default_instance() { |
6274 | 0 | return *internal_default_instance(); |
6275 | 0 | } |
6276 | 0 | static inline const AttDef* internal_default_instance() { |
6277 | 0 | return reinterpret_cast<const AttDef*>( |
6278 | 0 | &_AttDef_default_instance_); |
6279 | 0 | } |
6280 | | static constexpr int kIndexInFileMessages = 9; |
6281 | 0 | friend void swap(AttDef& a, AttDef& b) { a.Swap(&b); } |
6282 | 0 | inline void Swap(AttDef* other) { |
6283 | 0 | if (other == this) return; |
6284 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
6285 | 0 | InternalSwap(other); |
6286 | 0 | } else { |
6287 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
6288 | 0 | } |
6289 | 0 | } |
6290 | 0 | void UnsafeArenaSwap(AttDef* other) { |
6291 | 0 | if (other == this) return; |
6292 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
6293 | 0 | InternalSwap(other); |
6294 | 0 | } |
6295 | | |
6296 | | // implements Message ---------------------------------------------- |
6297 | | |
6298 | 0 | AttDef* New(::google::protobuf::Arena* arena = nullptr) const { |
6299 | 0 | return ::google::protobuf::Message::DefaultConstruct<AttDef>(arena); |
6300 | 0 | } |
6301 | | using ::google::protobuf::Message::CopyFrom; |
6302 | | void CopyFrom(const AttDef& from); |
6303 | | using ::google::protobuf::Message::MergeFrom; |
6304 | 0 | void MergeFrom(const AttDef& from) { AttDef::MergeImpl(*this, from); } |
6305 | | |
6306 | | private: |
6307 | | static void MergeImpl( |
6308 | | ::google::protobuf::MessageLite& to_msg, |
6309 | | const ::google::protobuf::MessageLite& from_msg); |
6310 | | |
6311 | | public: |
6312 | 0 | bool IsInitialized() const { |
6313 | 0 | return true; |
6314 | 0 | } |
6315 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
6316 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6317 | | private: |
6318 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
6319 | | static ::uint8_t* _InternalSerialize( |
6320 | | const MessageLite& msg, ::uint8_t* target, |
6321 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
6322 | | |
6323 | | public: |
6324 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
6325 | | ::uint8_t* _InternalSerialize( |
6326 | | ::uint8_t* target, |
6327 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
6328 | | return _InternalSerialize(*this, target, stream); |
6329 | | } |
6330 | | #else // PROTOBUF_CUSTOM_VTABLE |
6331 | | ::size_t ByteSizeLong() const final; |
6332 | | ::uint8_t* _InternalSerialize( |
6333 | | ::uint8_t* target, |
6334 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
6335 | | #endif // PROTOBUF_CUSTOM_VTABLE |
6336 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
6337 | | |
6338 | | private: |
6339 | | void SharedCtor(::google::protobuf::Arena* arena); |
6340 | | static void SharedDtor(MessageLite& self); |
6341 | | void InternalSwap(AttDef* other); |
6342 | | private: |
6343 | | template <typename T> |
6344 | | friend ::absl::string_view( |
6345 | | ::google::protobuf::internal::GetAnyMessageName)(); |
6346 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.AttDef"; } |
6347 | | |
6348 | | protected: |
6349 | | explicit AttDef(::google::protobuf::Arena* arena); |
6350 | | AttDef(::google::protobuf::Arena* arena, const AttDef& from); |
6351 | | AttDef(::google::protobuf::Arena* arena, AttDef&& from) noexcept |
6352 | 0 | : AttDef(arena) { |
6353 | 0 | *this = ::std::move(from); |
6354 | 0 | } |
6355 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
6356 | | static void* PlacementNew_(const void*, void* mem, |
6357 | | ::google::protobuf::Arena* arena); |
6358 | | static constexpr auto InternalNewImpl_(); |
6359 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
6360 | | |
6361 | | public: |
6362 | | ::google::protobuf::Metadata GetMetadata() const; |
6363 | | // nested types ---------------------------------------------------- |
6364 | | using Type = AttDef_Type; |
6365 | | static constexpr Type CDATA = AttDef_Type_CDATA; |
6366 | | static constexpr Type ID = AttDef_Type_ID; |
6367 | | static constexpr Type IDREF = AttDef_Type_IDREF; |
6368 | | static constexpr Type IDREFS = AttDef_Type_IDREFS; |
6369 | | static constexpr Type ENTITY = AttDef_Type_ENTITY; |
6370 | | static constexpr Type ENTITIES = AttDef_Type_ENTITIES; |
6371 | | static constexpr Type NMTOKEN = AttDef_Type_NMTOKEN; |
6372 | | static constexpr Type NMTOKENS = AttDef_Type_NMTOKENS; |
6373 | | static constexpr Type FUZZ = AttDef_Type_FUZZ; |
6374 | 20.7k | static inline bool Type_IsValid(int value) { |
6375 | 20.7k | return AttDef_Type_IsValid(value); |
6376 | 20.7k | } |
6377 | | static constexpr Type Type_MIN = AttDef_Type_Type_MIN; |
6378 | | static constexpr Type Type_MAX = AttDef_Type_Type_MAX; |
6379 | | static constexpr int Type_ARRAYSIZE = AttDef_Type_Type_ARRAYSIZE; |
6380 | 0 | static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { |
6381 | 0 | return AttDef_Type_descriptor(); |
6382 | 0 | } |
6383 | | template <typename T> |
6384 | | static inline const std::string& Type_Name(T value) { |
6385 | | return AttDef_Type_Name(value); |
6386 | | } |
6387 | 0 | static inline bool Type_Parse(absl::string_view name, Type* value) { |
6388 | 0 | return AttDef_Type_Parse(name, value); |
6389 | 0 | } |
6390 | | |
6391 | | // accessors ------------------------------------------------------- |
6392 | | enum : int { |
6393 | | kNameFieldNumber = 1, |
6394 | | kDefFieldNumber = 3, |
6395 | | kTypeFieldNumber = 2, |
6396 | | }; |
6397 | | // string name = 1; |
6398 | | void clear_name() ; |
6399 | | const std::string& name() const; |
6400 | | template <typename Arg_ = const std::string&, typename... Args_> |
6401 | | void set_name(Arg_&& arg, Args_... args); |
6402 | | std::string* mutable_name(); |
6403 | | PROTOBUF_NODISCARD std::string* release_name(); |
6404 | | void set_allocated_name(std::string* value); |
6405 | | |
6406 | | private: |
6407 | | const std::string& _internal_name() const; |
6408 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
6409 | | const std::string& value); |
6410 | | std::string* _internal_mutable_name(); |
6411 | | |
6412 | | public: |
6413 | | // .xmlProtoFuzzer.DefaultDecl def = 3; |
6414 | | bool has_def() const; |
6415 | | void clear_def() ; |
6416 | | const ::xmlProtoFuzzer::DefaultDecl& def() const; |
6417 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::DefaultDecl* release_def(); |
6418 | | ::xmlProtoFuzzer::DefaultDecl* mutable_def(); |
6419 | | void set_allocated_def(::xmlProtoFuzzer::DefaultDecl* value); |
6420 | | void unsafe_arena_set_allocated_def(::xmlProtoFuzzer::DefaultDecl* value); |
6421 | | ::xmlProtoFuzzer::DefaultDecl* unsafe_arena_release_def(); |
6422 | | |
6423 | | private: |
6424 | | const ::xmlProtoFuzzer::DefaultDecl& _internal_def() const; |
6425 | | ::xmlProtoFuzzer::DefaultDecl* _internal_mutable_def(); |
6426 | | |
6427 | | public: |
6428 | | // .xmlProtoFuzzer.AttDef.Type type = 2; |
6429 | | void clear_type() ; |
6430 | | ::xmlProtoFuzzer::AttDef_Type type() const; |
6431 | | void set_type(::xmlProtoFuzzer::AttDef_Type value); |
6432 | | |
6433 | | private: |
6434 | | ::xmlProtoFuzzer::AttDef_Type _internal_type() const; |
6435 | | void _internal_set_type(::xmlProtoFuzzer::AttDef_Type value); |
6436 | | |
6437 | | public: |
6438 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.AttDef) |
6439 | | private: |
6440 | | class _Internal; |
6441 | | friend class ::google::protobuf::internal::TcParser; |
6442 | | static const ::google::protobuf::internal::TcParseTable< |
6443 | | 2, 3, 1, |
6444 | | 34, 2> |
6445 | | _table_; |
6446 | | |
6447 | | friend class ::google::protobuf::MessageLite; |
6448 | | friend class ::google::protobuf::Arena; |
6449 | | template <typename T> |
6450 | | friend class ::google::protobuf::Arena::InternalHelper; |
6451 | | using InternalArenaConstructable_ = void; |
6452 | | using DestructorSkippable_ = void; |
6453 | | struct Impl_ { |
6454 | | inline explicit constexpr Impl_( |
6455 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
6456 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
6457 | | ::google::protobuf::Arena* arena); |
6458 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
6459 | | ::google::protobuf::Arena* arena, const Impl_& from, |
6460 | | const AttDef& from_msg); |
6461 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
6462 | | ::google::protobuf::internal::CachedSize _cached_size_; |
6463 | | ::google::protobuf::internal::ArenaStringPtr name_; |
6464 | | ::xmlProtoFuzzer::DefaultDecl* def_; |
6465 | | int type_; |
6466 | | PROTOBUF_TSAN_DECLARE_MEMBER |
6467 | | }; |
6468 | | union { Impl_ _impl_; }; |
6469 | | friend struct ::TableStruct_xml_2eproto; |
6470 | | }; |
6471 | | // ------------------------------------------------------------------- |
6472 | | |
6473 | | class AttListDecl final : public ::google::protobuf::Message |
6474 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.AttListDecl) */ { |
6475 | | public: |
6476 | 0 | inline AttListDecl() : AttListDecl(nullptr) {} |
6477 | | ~AttListDecl() PROTOBUF_FINAL; |
6478 | | |
6479 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6480 | | void operator delete(AttListDecl* msg, std::destroying_delete_t) { |
6481 | | SharedDtor(*msg); |
6482 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(AttListDecl)); |
6483 | | } |
6484 | | #endif |
6485 | | |
6486 | | template <typename = void> |
6487 | | explicit PROTOBUF_CONSTEXPR AttListDecl( |
6488 | | ::google::protobuf::internal::ConstantInitialized); |
6489 | | |
6490 | 0 | inline AttListDecl(const AttListDecl& from) : AttListDecl(nullptr, from) {} |
6491 | | inline AttListDecl(AttListDecl&& from) noexcept |
6492 | 0 | : AttListDecl(nullptr, std::move(from)) {} |
6493 | 0 | inline AttListDecl& operator=(const AttListDecl& from) { |
6494 | 0 | CopyFrom(from); |
6495 | 0 | return *this; |
6496 | 0 | } |
6497 | 0 | inline AttListDecl& operator=(AttListDecl&& from) noexcept { |
6498 | 0 | if (this == &from) return *this; |
6499 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
6500 | 0 | InternalSwap(&from); |
6501 | 0 | } else { |
6502 | 0 | CopyFrom(from); |
6503 | 0 | } |
6504 | 0 | return *this; |
6505 | 0 | } |
6506 | | |
6507 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
6508 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6509 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
6510 | 0 | } |
6511 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
6512 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6513 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
6514 | 0 | } |
6515 | | |
6516 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
6517 | 0 | return GetDescriptor(); |
6518 | 0 | } |
6519 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
6520 | 0 | return default_instance().GetMetadata().descriptor; |
6521 | 0 | } |
6522 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
6523 | 0 | return default_instance().GetMetadata().reflection; |
6524 | 0 | } |
6525 | 0 | static const AttListDecl& default_instance() { |
6526 | 0 | return *internal_default_instance(); |
6527 | 0 | } |
6528 | 0 | static inline const AttListDecl* internal_default_instance() { |
6529 | 0 | return reinterpret_cast<const AttListDecl*>( |
6530 | 0 | &_AttListDecl_default_instance_); |
6531 | 0 | } |
6532 | | static constexpr int kIndexInFileMessages = 10; |
6533 | 0 | friend void swap(AttListDecl& a, AttListDecl& b) { a.Swap(&b); } |
6534 | 0 | inline void Swap(AttListDecl* other) { |
6535 | 0 | if (other == this) return; |
6536 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
6537 | 0 | InternalSwap(other); |
6538 | 0 | } else { |
6539 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
6540 | 0 | } |
6541 | 0 | } |
6542 | 0 | void UnsafeArenaSwap(AttListDecl* other) { |
6543 | 0 | if (other == this) return; |
6544 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
6545 | 0 | InternalSwap(other); |
6546 | 0 | } |
6547 | | |
6548 | | // implements Message ---------------------------------------------- |
6549 | | |
6550 | 0 | AttListDecl* New(::google::protobuf::Arena* arena = nullptr) const { |
6551 | 0 | return ::google::protobuf::Message::DefaultConstruct<AttListDecl>(arena); |
6552 | 0 | } |
6553 | | using ::google::protobuf::Message::CopyFrom; |
6554 | | void CopyFrom(const AttListDecl& from); |
6555 | | using ::google::protobuf::Message::MergeFrom; |
6556 | 0 | void MergeFrom(const AttListDecl& from) { AttListDecl::MergeImpl(*this, from); } |
6557 | | |
6558 | | private: |
6559 | | static void MergeImpl( |
6560 | | ::google::protobuf::MessageLite& to_msg, |
6561 | | const ::google::protobuf::MessageLite& from_msg); |
6562 | | |
6563 | | public: |
6564 | 0 | bool IsInitialized() const { |
6565 | 0 | return true; |
6566 | 0 | } |
6567 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
6568 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6569 | | private: |
6570 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
6571 | | static ::uint8_t* _InternalSerialize( |
6572 | | const MessageLite& msg, ::uint8_t* target, |
6573 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
6574 | | |
6575 | | public: |
6576 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
6577 | | ::uint8_t* _InternalSerialize( |
6578 | | ::uint8_t* target, |
6579 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
6580 | | return _InternalSerialize(*this, target, stream); |
6581 | | } |
6582 | | #else // PROTOBUF_CUSTOM_VTABLE |
6583 | | ::size_t ByteSizeLong() const final; |
6584 | | ::uint8_t* _InternalSerialize( |
6585 | | ::uint8_t* target, |
6586 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
6587 | | #endif // PROTOBUF_CUSTOM_VTABLE |
6588 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
6589 | | |
6590 | | private: |
6591 | | void SharedCtor(::google::protobuf::Arena* arena); |
6592 | | static void SharedDtor(MessageLite& self); |
6593 | | void InternalSwap(AttListDecl* other); |
6594 | | private: |
6595 | | template <typename T> |
6596 | | friend ::absl::string_view( |
6597 | | ::google::protobuf::internal::GetAnyMessageName)(); |
6598 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.AttListDecl"; } |
6599 | | |
6600 | | protected: |
6601 | | explicit AttListDecl(::google::protobuf::Arena* arena); |
6602 | | AttListDecl(::google::protobuf::Arena* arena, const AttListDecl& from); |
6603 | | AttListDecl(::google::protobuf::Arena* arena, AttListDecl&& from) noexcept |
6604 | 0 | : AttListDecl(arena) { |
6605 | 0 | *this = ::std::move(from); |
6606 | 0 | } |
6607 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
6608 | | static void* PlacementNew_(const void*, void* mem, |
6609 | | ::google::protobuf::Arena* arena); |
6610 | | static constexpr auto InternalNewImpl_(); |
6611 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
6612 | | |
6613 | | public: |
6614 | | ::google::protobuf::Metadata GetMetadata() const; |
6615 | | // nested types ---------------------------------------------------- |
6616 | | |
6617 | | // accessors ------------------------------------------------------- |
6618 | | enum : int { |
6619 | | kAttdefsFieldNumber = 2, |
6620 | | kNameFieldNumber = 1, |
6621 | | }; |
6622 | | // repeated .xmlProtoFuzzer.AttDef attdefs = 2; |
6623 | | int attdefs_size() const; |
6624 | | private: |
6625 | | int _internal_attdefs_size() const; |
6626 | | |
6627 | | public: |
6628 | | void clear_attdefs() ; |
6629 | | ::xmlProtoFuzzer::AttDef* mutable_attdefs(int index); |
6630 | | ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::AttDef>* mutable_attdefs(); |
6631 | | |
6632 | | private: |
6633 | | const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::AttDef>& _internal_attdefs() const; |
6634 | | ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::AttDef>* _internal_mutable_attdefs(); |
6635 | | public: |
6636 | | const ::xmlProtoFuzzer::AttDef& attdefs(int index) const; |
6637 | | ::xmlProtoFuzzer::AttDef* add_attdefs(); |
6638 | | const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::AttDef>& attdefs() const; |
6639 | | // string name = 1; |
6640 | | void clear_name() ; |
6641 | | const std::string& name() const; |
6642 | | template <typename Arg_ = const std::string&, typename... Args_> |
6643 | | void set_name(Arg_&& arg, Args_... args); |
6644 | | std::string* mutable_name(); |
6645 | | PROTOBUF_NODISCARD std::string* release_name(); |
6646 | | void set_allocated_name(std::string* value); |
6647 | | |
6648 | | private: |
6649 | | const std::string& _internal_name() const; |
6650 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
6651 | | const std::string& value); |
6652 | | std::string* _internal_mutable_name(); |
6653 | | |
6654 | | public: |
6655 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.AttListDecl) |
6656 | | private: |
6657 | | class _Internal; |
6658 | | friend class ::google::protobuf::internal::TcParser; |
6659 | | static const ::google::protobuf::internal::TcParseTable< |
6660 | | 1, 2, 1, |
6661 | | 39, 2> |
6662 | | _table_; |
6663 | | |
6664 | | friend class ::google::protobuf::MessageLite; |
6665 | | friend class ::google::protobuf::Arena; |
6666 | | template <typename T> |
6667 | | friend class ::google::protobuf::Arena::InternalHelper; |
6668 | | using InternalArenaConstructable_ = void; |
6669 | | using DestructorSkippable_ = void; |
6670 | | struct Impl_ { |
6671 | | inline explicit constexpr Impl_( |
6672 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
6673 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
6674 | | ::google::protobuf::Arena* arena); |
6675 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
6676 | | ::google::protobuf::Arena* arena, const Impl_& from, |
6677 | | const AttListDecl& from_msg); |
6678 | | ::google::protobuf::RepeatedPtrField< ::xmlProtoFuzzer::AttDef > attdefs_; |
6679 | | ::google::protobuf::internal::ArenaStringPtr name_; |
6680 | | ::google::protobuf::internal::CachedSize _cached_size_; |
6681 | | PROTOBUF_TSAN_DECLARE_MEMBER |
6682 | | }; |
6683 | | union { Impl_ _impl_; }; |
6684 | | friend struct ::TableStruct_xml_2eproto; |
6685 | | }; |
6686 | | // ------------------------------------------------------------------- |
6687 | | |
6688 | | class ConditionalSect final : public ::google::protobuf::Message |
6689 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.ConditionalSect) */ { |
6690 | | public: |
6691 | 0 | inline ConditionalSect() : ConditionalSect(nullptr) {} |
6692 | | ~ConditionalSect() PROTOBUF_FINAL; |
6693 | | |
6694 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6695 | | void operator delete(ConditionalSect* msg, std::destroying_delete_t) { |
6696 | | SharedDtor(*msg); |
6697 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(ConditionalSect)); |
6698 | | } |
6699 | | #endif |
6700 | | |
6701 | | template <typename = void> |
6702 | | explicit PROTOBUF_CONSTEXPR ConditionalSect( |
6703 | | ::google::protobuf::internal::ConstantInitialized); |
6704 | | |
6705 | 0 | inline ConditionalSect(const ConditionalSect& from) : ConditionalSect(nullptr, from) {} |
6706 | | inline ConditionalSect(ConditionalSect&& from) noexcept |
6707 | 0 | : ConditionalSect(nullptr, std::move(from)) {} |
6708 | 0 | inline ConditionalSect& operator=(const ConditionalSect& from) { |
6709 | 0 | CopyFrom(from); |
6710 | 0 | return *this; |
6711 | 0 | } |
6712 | 0 | inline ConditionalSect& operator=(ConditionalSect&& from) noexcept { |
6713 | 0 | if (this == &from) return *this; |
6714 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
6715 | 0 | InternalSwap(&from); |
6716 | 0 | } else { |
6717 | 0 | CopyFrom(from); |
6718 | 0 | } |
6719 | 0 | return *this; |
6720 | 0 | } |
6721 | | |
6722 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
6723 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6724 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
6725 | 0 | } |
6726 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
6727 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6728 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
6729 | 0 | } |
6730 | | |
6731 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
6732 | 0 | return GetDescriptor(); |
6733 | 0 | } |
6734 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
6735 | 0 | return default_instance().GetMetadata().descriptor; |
6736 | 0 | } |
6737 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
6738 | 0 | return default_instance().GetMetadata().reflection; |
6739 | 0 | } |
6740 | 0 | static const ConditionalSect& default_instance() { |
6741 | 0 | return *internal_default_instance(); |
6742 | 0 | } |
6743 | 0 | static inline const ConditionalSect* internal_default_instance() { |
6744 | 0 | return reinterpret_cast<const ConditionalSect*>( |
6745 | 0 | &_ConditionalSect_default_instance_); |
6746 | 0 | } |
6747 | | static constexpr int kIndexInFileMessages = 17; |
6748 | 0 | friend void swap(ConditionalSect& a, ConditionalSect& b) { a.Swap(&b); } |
6749 | 0 | inline void Swap(ConditionalSect* other) { |
6750 | 0 | if (other == this) return; |
6751 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
6752 | 0 | InternalSwap(other); |
6753 | 0 | } else { |
6754 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
6755 | 0 | } |
6756 | 0 | } |
6757 | 0 | void UnsafeArenaSwap(ConditionalSect* other) { |
6758 | 0 | if (other == this) return; |
6759 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
6760 | 0 | InternalSwap(other); |
6761 | 0 | } |
6762 | | |
6763 | | // implements Message ---------------------------------------------- |
6764 | | |
6765 | 0 | ConditionalSect* New(::google::protobuf::Arena* arena = nullptr) const { |
6766 | 0 | return ::google::protobuf::Message::DefaultConstruct<ConditionalSect>(arena); |
6767 | 0 | } |
6768 | | using ::google::protobuf::Message::CopyFrom; |
6769 | | void CopyFrom(const ConditionalSect& from); |
6770 | | using ::google::protobuf::Message::MergeFrom; |
6771 | 0 | void MergeFrom(const ConditionalSect& from) { ConditionalSect::MergeImpl(*this, from); } |
6772 | | |
6773 | | private: |
6774 | | static void MergeImpl( |
6775 | | ::google::protobuf::MessageLite& to_msg, |
6776 | | const ::google::protobuf::MessageLite& from_msg); |
6777 | | |
6778 | | public: |
6779 | 0 | bool IsInitialized() const { |
6780 | 0 | return true; |
6781 | 0 | } |
6782 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
6783 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6784 | | private: |
6785 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
6786 | | static ::uint8_t* _InternalSerialize( |
6787 | | const MessageLite& msg, ::uint8_t* target, |
6788 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
6789 | | |
6790 | | public: |
6791 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
6792 | | ::uint8_t* _InternalSerialize( |
6793 | | ::uint8_t* target, |
6794 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
6795 | | return _InternalSerialize(*this, target, stream); |
6796 | | } |
6797 | | #else // PROTOBUF_CUSTOM_VTABLE |
6798 | | ::size_t ByteSizeLong() const final; |
6799 | | ::uint8_t* _InternalSerialize( |
6800 | | ::uint8_t* target, |
6801 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
6802 | | #endif // PROTOBUF_CUSTOM_VTABLE |
6803 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
6804 | | |
6805 | | private: |
6806 | | void SharedCtor(::google::protobuf::Arena* arena); |
6807 | | static void SharedDtor(MessageLite& self); |
6808 | | void InternalSwap(ConditionalSect* other); |
6809 | | private: |
6810 | | template <typename T> |
6811 | | friend ::absl::string_view( |
6812 | | ::google::protobuf::internal::GetAnyMessageName)(); |
6813 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.ConditionalSect"; } |
6814 | | |
6815 | | protected: |
6816 | | explicit ConditionalSect(::google::protobuf::Arena* arena); |
6817 | | ConditionalSect(::google::protobuf::Arena* arena, const ConditionalSect& from); |
6818 | | ConditionalSect(::google::protobuf::Arena* arena, ConditionalSect&& from) noexcept |
6819 | 0 | : ConditionalSect(arena) { |
6820 | 0 | *this = ::std::move(from); |
6821 | 0 | } |
6822 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
6823 | | static void* PlacementNew_(const void*, void* mem, |
6824 | | ::google::protobuf::Arena* arena); |
6825 | | static constexpr auto InternalNewImpl_(); |
6826 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
6827 | | |
6828 | | public: |
6829 | | ::google::protobuf::Metadata GetMetadata() const; |
6830 | | // nested types ---------------------------------------------------- |
6831 | | using Type = ConditionalSect_Type; |
6832 | | static constexpr Type INCLUDE = ConditionalSect_Type_INCLUDE; |
6833 | | static constexpr Type IGNORE = ConditionalSect_Type_IGNORE; |
6834 | | static constexpr Type FUZZ = ConditionalSect_Type_FUZZ; |
6835 | 9.07k | static inline bool Type_IsValid(int value) { |
6836 | 9.07k | return ConditionalSect_Type_IsValid(value); |
6837 | 9.07k | } |
6838 | | static constexpr Type Type_MIN = ConditionalSect_Type_Type_MIN; |
6839 | | static constexpr Type Type_MAX = ConditionalSect_Type_Type_MAX; |
6840 | | static constexpr int Type_ARRAYSIZE = ConditionalSect_Type_Type_ARRAYSIZE; |
6841 | 0 | static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { |
6842 | 0 | return ConditionalSect_Type_descriptor(); |
6843 | 0 | } |
6844 | | template <typename T> |
6845 | | static inline const std::string& Type_Name(T value) { |
6846 | | return ConditionalSect_Type_Name(value); |
6847 | | } |
6848 | 0 | static inline bool Type_Parse(absl::string_view name, Type* value) { |
6849 | 0 | return ConditionalSect_Type_Parse(name, value); |
6850 | 0 | } |
6851 | | |
6852 | | // accessors ------------------------------------------------------- |
6853 | | enum : int { |
6854 | | kIgnoresFieldNumber = 3, |
6855 | | kExtFieldNumber = 2, |
6856 | | kTypeFieldNumber = 1, |
6857 | | }; |
6858 | | // repeated string ignores = 3; |
6859 | | int ignores_size() const; |
6860 | | private: |
6861 | | int _internal_ignores_size() const; |
6862 | | |
6863 | | public: |
6864 | | void clear_ignores() ; |
6865 | | const std::string& ignores(int index) const; |
6866 | | std::string* mutable_ignores(int index); |
6867 | | template <typename Arg_ = const std::string&, typename... Args_> |
6868 | | void set_ignores(int index, Arg_&& value, Args_... args); |
6869 | | std::string* add_ignores(); |
6870 | | template <typename Arg_ = const std::string&, typename... Args_> |
6871 | | void add_ignores(Arg_&& value, Args_... args); |
6872 | | const ::google::protobuf::RepeatedPtrField<std::string>& ignores() const; |
6873 | | ::google::protobuf::RepeatedPtrField<std::string>* mutable_ignores(); |
6874 | | |
6875 | | private: |
6876 | | const ::google::protobuf::RepeatedPtrField<std::string>& _internal_ignores() const; |
6877 | | ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_ignores(); |
6878 | | |
6879 | | public: |
6880 | | // .xmlProtoFuzzer.ExtSubsetDecl ext = 2; |
6881 | | bool has_ext() const; |
6882 | | void clear_ext() ; |
6883 | | const ::xmlProtoFuzzer::ExtSubsetDecl& ext() const; |
6884 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ExtSubsetDecl* release_ext(); |
6885 | | ::xmlProtoFuzzer::ExtSubsetDecl* mutable_ext(); |
6886 | | void set_allocated_ext(::xmlProtoFuzzer::ExtSubsetDecl* value); |
6887 | | void unsafe_arena_set_allocated_ext(::xmlProtoFuzzer::ExtSubsetDecl* value); |
6888 | | ::xmlProtoFuzzer::ExtSubsetDecl* unsafe_arena_release_ext(); |
6889 | | |
6890 | | private: |
6891 | | const ::xmlProtoFuzzer::ExtSubsetDecl& _internal_ext() const; |
6892 | | ::xmlProtoFuzzer::ExtSubsetDecl* _internal_mutable_ext(); |
6893 | | |
6894 | | public: |
6895 | | // .xmlProtoFuzzer.ConditionalSect.Type type = 1; |
6896 | | void clear_type() ; |
6897 | | ::xmlProtoFuzzer::ConditionalSect_Type type() const; |
6898 | | void set_type(::xmlProtoFuzzer::ConditionalSect_Type value); |
6899 | | |
6900 | | private: |
6901 | | ::xmlProtoFuzzer::ConditionalSect_Type _internal_type() const; |
6902 | | void _internal_set_type(::xmlProtoFuzzer::ConditionalSect_Type value); |
6903 | | |
6904 | | public: |
6905 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.ConditionalSect) |
6906 | | private: |
6907 | | class _Internal; |
6908 | | friend class ::google::protobuf::internal::TcParser; |
6909 | | static const ::google::protobuf::internal::TcParseTable< |
6910 | | 2, 3, 1, |
6911 | | 46, 2> |
6912 | | _table_; |
6913 | | |
6914 | | friend class ::google::protobuf::MessageLite; |
6915 | | friend class ::google::protobuf::Arena; |
6916 | | template <typename T> |
6917 | | friend class ::google::protobuf::Arena::InternalHelper; |
6918 | | using InternalArenaConstructable_ = void; |
6919 | | using DestructorSkippable_ = void; |
6920 | | struct Impl_ { |
6921 | | inline explicit constexpr Impl_( |
6922 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
6923 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
6924 | | ::google::protobuf::Arena* arena); |
6925 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
6926 | | ::google::protobuf::Arena* arena, const Impl_& from, |
6927 | | const ConditionalSect& from_msg); |
6928 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
6929 | | ::google::protobuf::internal::CachedSize _cached_size_; |
6930 | | ::google::protobuf::RepeatedPtrField<std::string> ignores_; |
6931 | | ::xmlProtoFuzzer::ExtSubsetDecl* ext_; |
6932 | | int type_; |
6933 | | PROTOBUF_TSAN_DECLARE_MEMBER |
6934 | | }; |
6935 | | union { Impl_ _impl_; }; |
6936 | | friend struct ::TableStruct_xml_2eproto; |
6937 | | }; |
6938 | | // ------------------------------------------------------------------- |
6939 | | |
6940 | | class ExtSubsetDecl final : public ::google::protobuf::Message |
6941 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.ExtSubsetDecl) */ { |
6942 | | public: |
6943 | 0 | inline ExtSubsetDecl() : ExtSubsetDecl(nullptr) {} |
6944 | | ~ExtSubsetDecl() PROTOBUF_FINAL; |
6945 | | |
6946 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
6947 | | void operator delete(ExtSubsetDecl* msg, std::destroying_delete_t) { |
6948 | | SharedDtor(*msg); |
6949 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(ExtSubsetDecl)); |
6950 | | } |
6951 | | #endif |
6952 | | |
6953 | | template <typename = void> |
6954 | | explicit PROTOBUF_CONSTEXPR ExtSubsetDecl( |
6955 | | ::google::protobuf::internal::ConstantInitialized); |
6956 | | |
6957 | 0 | inline ExtSubsetDecl(const ExtSubsetDecl& from) : ExtSubsetDecl(nullptr, from) {} |
6958 | | inline ExtSubsetDecl(ExtSubsetDecl&& from) noexcept |
6959 | 0 | : ExtSubsetDecl(nullptr, std::move(from)) {} |
6960 | 0 | inline ExtSubsetDecl& operator=(const ExtSubsetDecl& from) { |
6961 | 0 | CopyFrom(from); |
6962 | 0 | return *this; |
6963 | 0 | } |
6964 | 0 | inline ExtSubsetDecl& operator=(ExtSubsetDecl&& from) noexcept { |
6965 | 0 | if (this == &from) return *this; |
6966 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
6967 | 0 | InternalSwap(&from); |
6968 | 0 | } else { |
6969 | 0 | CopyFrom(from); |
6970 | 0 | } |
6971 | 0 | return *this; |
6972 | 0 | } |
6973 | | |
6974 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
6975 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6976 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
6977 | 0 | } |
6978 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
6979 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
6980 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
6981 | 0 | } |
6982 | | |
6983 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
6984 | 0 | return GetDescriptor(); |
6985 | 0 | } |
6986 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
6987 | 0 | return default_instance().GetMetadata().descriptor; |
6988 | 0 | } |
6989 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
6990 | 0 | return default_instance().GetMetadata().reflection; |
6991 | 0 | } |
6992 | 0 | static const ExtSubsetDecl& default_instance() { |
6993 | 0 | return *internal_default_instance(); |
6994 | 0 | } |
6995 | 0 | static inline const ExtSubsetDecl* internal_default_instance() { |
6996 | 0 | return reinterpret_cast<const ExtSubsetDecl*>( |
6997 | 0 | &_ExtSubsetDecl_default_instance_); |
6998 | 0 | } |
6999 | | static constexpr int kIndexInFileMessages = 19; |
7000 | 0 | friend void swap(ExtSubsetDecl& a, ExtSubsetDecl& b) { a.Swap(&b); } |
7001 | 0 | inline void Swap(ExtSubsetDecl* other) { |
7002 | 0 | if (other == this) return; |
7003 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
7004 | 0 | InternalSwap(other); |
7005 | 0 | } else { |
7006 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
7007 | 0 | } |
7008 | 0 | } |
7009 | 0 | void UnsafeArenaSwap(ExtSubsetDecl* other) { |
7010 | 0 | if (other == this) return; |
7011 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
7012 | 0 | InternalSwap(other); |
7013 | 0 | } |
7014 | | |
7015 | | // implements Message ---------------------------------------------- |
7016 | | |
7017 | 0 | ExtSubsetDecl* New(::google::protobuf::Arena* arena = nullptr) const { |
7018 | 0 | return ::google::protobuf::Message::DefaultConstruct<ExtSubsetDecl>(arena); |
7019 | 0 | } |
7020 | | using ::google::protobuf::Message::CopyFrom; |
7021 | | void CopyFrom(const ExtSubsetDecl& from); |
7022 | | using ::google::protobuf::Message::MergeFrom; |
7023 | 0 | void MergeFrom(const ExtSubsetDecl& from) { ExtSubsetDecl::MergeImpl(*this, from); } |
7024 | | |
7025 | | private: |
7026 | | static void MergeImpl( |
7027 | | ::google::protobuf::MessageLite& to_msg, |
7028 | | const ::google::protobuf::MessageLite& from_msg); |
7029 | | |
7030 | | public: |
7031 | 0 | bool IsInitialized() const { |
7032 | 0 | return true; |
7033 | 0 | } |
7034 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
7035 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7036 | | private: |
7037 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
7038 | | static ::uint8_t* _InternalSerialize( |
7039 | | const MessageLite& msg, ::uint8_t* target, |
7040 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
7041 | | |
7042 | | public: |
7043 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
7044 | | ::uint8_t* _InternalSerialize( |
7045 | | ::uint8_t* target, |
7046 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
7047 | | return _InternalSerialize(*this, target, stream); |
7048 | | } |
7049 | | #else // PROTOBUF_CUSTOM_VTABLE |
7050 | | ::size_t ByteSizeLong() const final; |
7051 | | ::uint8_t* _InternalSerialize( |
7052 | | ::uint8_t* target, |
7053 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
7054 | | #endif // PROTOBUF_CUSTOM_VTABLE |
7055 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
7056 | | |
7057 | | private: |
7058 | | void SharedCtor(::google::protobuf::Arena* arena); |
7059 | | static void SharedDtor(MessageLite& self); |
7060 | | void InternalSwap(ExtSubsetDecl* other); |
7061 | | private: |
7062 | | template <typename T> |
7063 | | friend ::absl::string_view( |
7064 | | ::google::protobuf::internal::GetAnyMessageName)(); |
7065 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.ExtSubsetDecl"; } |
7066 | | |
7067 | | protected: |
7068 | | explicit ExtSubsetDecl(::google::protobuf::Arena* arena); |
7069 | | ExtSubsetDecl(::google::protobuf::Arena* arena, const ExtSubsetDecl& from); |
7070 | | ExtSubsetDecl(::google::protobuf::Arena* arena, ExtSubsetDecl&& from) noexcept |
7071 | 0 | : ExtSubsetDecl(arena) { |
7072 | 0 | *this = ::std::move(from); |
7073 | 0 | } |
7074 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
7075 | | static void* PlacementNew_(const void*, void* mem, |
7076 | | ::google::protobuf::Arena* arena); |
7077 | | static constexpr auto InternalNewImpl_(); |
7078 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
7079 | | |
7080 | | public: |
7081 | | ::google::protobuf::Metadata GetMetadata() const; |
7082 | | // nested types ---------------------------------------------------- |
7083 | | |
7084 | | // accessors ------------------------------------------------------- |
7085 | | enum : int { |
7086 | | kDeclsFieldNumber = 1, |
7087 | | }; |
7088 | | // repeated .xmlProtoFuzzer.OneExtSubsetDecl decls = 1; |
7089 | | int decls_size() const; |
7090 | | private: |
7091 | | int _internal_decls_size() const; |
7092 | | |
7093 | | public: |
7094 | | void clear_decls() ; |
7095 | | ::xmlProtoFuzzer::OneExtSubsetDecl* mutable_decls(int index); |
7096 | | ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::OneExtSubsetDecl>* mutable_decls(); |
7097 | | |
7098 | | private: |
7099 | | const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::OneExtSubsetDecl>& _internal_decls() const; |
7100 | | ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::OneExtSubsetDecl>* _internal_mutable_decls(); |
7101 | | public: |
7102 | | const ::xmlProtoFuzzer::OneExtSubsetDecl& decls(int index) const; |
7103 | | ::xmlProtoFuzzer::OneExtSubsetDecl* add_decls(); |
7104 | | const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::OneExtSubsetDecl>& decls() const; |
7105 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.ExtSubsetDecl) |
7106 | | private: |
7107 | | class _Internal; |
7108 | | friend class ::google::protobuf::internal::TcParser; |
7109 | | static const ::google::protobuf::internal::TcParseTable< |
7110 | | 0, 1, 1, |
7111 | | 0, 2> |
7112 | | _table_; |
7113 | | |
7114 | | friend class ::google::protobuf::MessageLite; |
7115 | | friend class ::google::protobuf::Arena; |
7116 | | template <typename T> |
7117 | | friend class ::google::protobuf::Arena::InternalHelper; |
7118 | | using InternalArenaConstructable_ = void; |
7119 | | using DestructorSkippable_ = void; |
7120 | | struct Impl_ { |
7121 | | inline explicit constexpr Impl_( |
7122 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
7123 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
7124 | | ::google::protobuf::Arena* arena); |
7125 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
7126 | | ::google::protobuf::Arena* arena, const Impl_& from, |
7127 | | const ExtSubsetDecl& from_msg); |
7128 | | ::google::protobuf::RepeatedPtrField< ::xmlProtoFuzzer::OneExtSubsetDecl > decls_; |
7129 | | ::google::protobuf::internal::CachedSize _cached_size_; |
7130 | | PROTOBUF_TSAN_DECLARE_MEMBER |
7131 | | }; |
7132 | | union { Impl_ _impl_; }; |
7133 | | friend struct ::TableStruct_xml_2eproto; |
7134 | | }; |
7135 | | // ------------------------------------------------------------------- |
7136 | | |
7137 | | class MarkupDecl final : public ::google::protobuf::Message |
7138 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.MarkupDecl) */ { |
7139 | | public: |
7140 | 0 | inline MarkupDecl() : MarkupDecl(nullptr) {} |
7141 | | ~MarkupDecl() PROTOBUF_FINAL; |
7142 | | |
7143 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7144 | | void operator delete(MarkupDecl* msg, std::destroying_delete_t) { |
7145 | | SharedDtor(*msg); |
7146 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(MarkupDecl)); |
7147 | | } |
7148 | | #endif |
7149 | | |
7150 | | template <typename = void> |
7151 | | explicit PROTOBUF_CONSTEXPR MarkupDecl( |
7152 | | ::google::protobuf::internal::ConstantInitialized); |
7153 | | |
7154 | 0 | inline MarkupDecl(const MarkupDecl& from) : MarkupDecl(nullptr, from) {} |
7155 | | inline MarkupDecl(MarkupDecl&& from) noexcept |
7156 | 0 | : MarkupDecl(nullptr, std::move(from)) {} |
7157 | 0 | inline MarkupDecl& operator=(const MarkupDecl& from) { |
7158 | 0 | CopyFrom(from); |
7159 | 0 | return *this; |
7160 | 0 | } |
7161 | 0 | inline MarkupDecl& operator=(MarkupDecl&& from) noexcept { |
7162 | 0 | if (this == &from) return *this; |
7163 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
7164 | 0 | InternalSwap(&from); |
7165 | 0 | } else { |
7166 | 0 | CopyFrom(from); |
7167 | 0 | } |
7168 | 0 | return *this; |
7169 | 0 | } |
7170 | | |
7171 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
7172 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7173 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
7174 | 0 | } |
7175 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
7176 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7177 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
7178 | 0 | } |
7179 | | |
7180 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
7181 | 0 | return GetDescriptor(); |
7182 | 0 | } |
7183 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
7184 | 0 | return default_instance().GetMetadata().descriptor; |
7185 | 0 | } |
7186 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
7187 | 0 | return default_instance().GetMetadata().reflection; |
7188 | 0 | } |
7189 | 0 | static const MarkupDecl& default_instance() { |
7190 | 0 | return *internal_default_instance(); |
7191 | 0 | } |
7192 | | enum MarkupOneofCase { |
7193 | | kE = 1, |
7194 | | kA = 2, |
7195 | | kN = 3, |
7196 | | kM = 4, |
7197 | | kEntity = 5, |
7198 | | kExt = 6, |
7199 | | MARKUP_ONEOF_NOT_SET = 0, |
7200 | | }; |
7201 | 0 | static inline const MarkupDecl* internal_default_instance() { |
7202 | 0 | return reinterpret_cast<const MarkupDecl*>( |
7203 | 0 | &_MarkupDecl_default_instance_); |
7204 | 0 | } |
7205 | | static constexpr int kIndexInFileMessages = 20; |
7206 | 0 | friend void swap(MarkupDecl& a, MarkupDecl& b) { a.Swap(&b); } |
7207 | 0 | inline void Swap(MarkupDecl* other) { |
7208 | 0 | if (other == this) return; |
7209 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
7210 | 0 | InternalSwap(other); |
7211 | 0 | } else { |
7212 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
7213 | 0 | } |
7214 | 0 | } |
7215 | 0 | void UnsafeArenaSwap(MarkupDecl* other) { |
7216 | 0 | if (other == this) return; |
7217 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
7218 | 0 | InternalSwap(other); |
7219 | 0 | } |
7220 | | |
7221 | | // implements Message ---------------------------------------------- |
7222 | | |
7223 | 0 | MarkupDecl* New(::google::protobuf::Arena* arena = nullptr) const { |
7224 | 0 | return ::google::protobuf::Message::DefaultConstruct<MarkupDecl>(arena); |
7225 | 0 | } |
7226 | | using ::google::protobuf::Message::CopyFrom; |
7227 | | void CopyFrom(const MarkupDecl& from); |
7228 | | using ::google::protobuf::Message::MergeFrom; |
7229 | 0 | void MergeFrom(const MarkupDecl& from) { MarkupDecl::MergeImpl(*this, from); } |
7230 | | |
7231 | | private: |
7232 | | static void MergeImpl( |
7233 | | ::google::protobuf::MessageLite& to_msg, |
7234 | | const ::google::protobuf::MessageLite& from_msg); |
7235 | | |
7236 | | public: |
7237 | 0 | bool IsInitialized() const { |
7238 | 0 | return true; |
7239 | 0 | } |
7240 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
7241 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7242 | | private: |
7243 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
7244 | | static ::uint8_t* _InternalSerialize( |
7245 | | const MessageLite& msg, ::uint8_t* target, |
7246 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
7247 | | |
7248 | | public: |
7249 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
7250 | | ::uint8_t* _InternalSerialize( |
7251 | | ::uint8_t* target, |
7252 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
7253 | | return _InternalSerialize(*this, target, stream); |
7254 | | } |
7255 | | #else // PROTOBUF_CUSTOM_VTABLE |
7256 | | ::size_t ByteSizeLong() const final; |
7257 | | ::uint8_t* _InternalSerialize( |
7258 | | ::uint8_t* target, |
7259 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
7260 | | #endif // PROTOBUF_CUSTOM_VTABLE |
7261 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
7262 | | |
7263 | | private: |
7264 | | void SharedCtor(::google::protobuf::Arena* arena); |
7265 | | static void SharedDtor(MessageLite& self); |
7266 | | void InternalSwap(MarkupDecl* other); |
7267 | | private: |
7268 | | template <typename T> |
7269 | | friend ::absl::string_view( |
7270 | | ::google::protobuf::internal::GetAnyMessageName)(); |
7271 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.MarkupDecl"; } |
7272 | | |
7273 | | protected: |
7274 | | explicit MarkupDecl(::google::protobuf::Arena* arena); |
7275 | | MarkupDecl(::google::protobuf::Arena* arena, const MarkupDecl& from); |
7276 | | MarkupDecl(::google::protobuf::Arena* arena, MarkupDecl&& from) noexcept |
7277 | 0 | : MarkupDecl(arena) { |
7278 | 0 | *this = ::std::move(from); |
7279 | 0 | } |
7280 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
7281 | | static void* PlacementNew_(const void*, void* mem, |
7282 | | ::google::protobuf::Arena* arena); |
7283 | | static constexpr auto InternalNewImpl_(); |
7284 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
7285 | | |
7286 | | public: |
7287 | | ::google::protobuf::Metadata GetMetadata() const; |
7288 | | // nested types ---------------------------------------------------- |
7289 | | |
7290 | | // accessors ------------------------------------------------------- |
7291 | | enum : int { |
7292 | | kEFieldNumber = 1, |
7293 | | kAFieldNumber = 2, |
7294 | | kNFieldNumber = 3, |
7295 | | kMFieldNumber = 4, |
7296 | | kEntityFieldNumber = 5, |
7297 | | kExtFieldNumber = 6, |
7298 | | }; |
7299 | | // .xmlProtoFuzzer.ElementDecl e = 1; |
7300 | | bool has_e() const; |
7301 | | private: |
7302 | | bool _internal_has_e() const; |
7303 | | |
7304 | | public: |
7305 | | void clear_e() ; |
7306 | | const ::xmlProtoFuzzer::ElementDecl& e() const; |
7307 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ElementDecl* release_e(); |
7308 | | ::xmlProtoFuzzer::ElementDecl* mutable_e(); |
7309 | | void set_allocated_e(::xmlProtoFuzzer::ElementDecl* value); |
7310 | | void unsafe_arena_set_allocated_e(::xmlProtoFuzzer::ElementDecl* value); |
7311 | | ::xmlProtoFuzzer::ElementDecl* unsafe_arena_release_e(); |
7312 | | |
7313 | | private: |
7314 | | const ::xmlProtoFuzzer::ElementDecl& _internal_e() const; |
7315 | | ::xmlProtoFuzzer::ElementDecl* _internal_mutable_e(); |
7316 | | |
7317 | | public: |
7318 | | // .xmlProtoFuzzer.AttListDecl a = 2; |
7319 | | bool has_a() const; |
7320 | | private: |
7321 | | bool _internal_has_a() const; |
7322 | | |
7323 | | public: |
7324 | | void clear_a() ; |
7325 | | const ::xmlProtoFuzzer::AttListDecl& a() const; |
7326 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::AttListDecl* release_a(); |
7327 | | ::xmlProtoFuzzer::AttListDecl* mutable_a(); |
7328 | | void set_allocated_a(::xmlProtoFuzzer::AttListDecl* value); |
7329 | | void unsafe_arena_set_allocated_a(::xmlProtoFuzzer::AttListDecl* value); |
7330 | | ::xmlProtoFuzzer::AttListDecl* unsafe_arena_release_a(); |
7331 | | |
7332 | | private: |
7333 | | const ::xmlProtoFuzzer::AttListDecl& _internal_a() const; |
7334 | | ::xmlProtoFuzzer::AttListDecl* _internal_mutable_a(); |
7335 | | |
7336 | | public: |
7337 | | // .xmlProtoFuzzer.NotationDecl n = 3; |
7338 | | bool has_n() const; |
7339 | | private: |
7340 | | bool _internal_has_n() const; |
7341 | | |
7342 | | public: |
7343 | | void clear_n() ; |
7344 | | const ::xmlProtoFuzzer::NotationDecl& n() const; |
7345 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::NotationDecl* release_n(); |
7346 | | ::xmlProtoFuzzer::NotationDecl* mutable_n(); |
7347 | | void set_allocated_n(::xmlProtoFuzzer::NotationDecl* value); |
7348 | | void unsafe_arena_set_allocated_n(::xmlProtoFuzzer::NotationDecl* value); |
7349 | | ::xmlProtoFuzzer::NotationDecl* unsafe_arena_release_n(); |
7350 | | |
7351 | | private: |
7352 | | const ::xmlProtoFuzzer::NotationDecl& _internal_n() const; |
7353 | | ::xmlProtoFuzzer::NotationDecl* _internal_mutable_n(); |
7354 | | |
7355 | | public: |
7356 | | // .xmlProtoFuzzer.Misc m = 4; |
7357 | | bool has_m() const; |
7358 | | private: |
7359 | | bool _internal_has_m() const; |
7360 | | |
7361 | | public: |
7362 | | void clear_m() ; |
7363 | | const ::xmlProtoFuzzer::Misc& m() const; |
7364 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::Misc* release_m(); |
7365 | | ::xmlProtoFuzzer::Misc* mutable_m(); |
7366 | | void set_allocated_m(::xmlProtoFuzzer::Misc* value); |
7367 | | void unsafe_arena_set_allocated_m(::xmlProtoFuzzer::Misc* value); |
7368 | | ::xmlProtoFuzzer::Misc* unsafe_arena_release_m(); |
7369 | | |
7370 | | private: |
7371 | | const ::xmlProtoFuzzer::Misc& _internal_m() const; |
7372 | | ::xmlProtoFuzzer::Misc* _internal_mutable_m(); |
7373 | | |
7374 | | public: |
7375 | | // .xmlProtoFuzzer.EntityDecl entity = 5; |
7376 | | bool has_entity() const; |
7377 | | private: |
7378 | | bool _internal_has_entity() const; |
7379 | | |
7380 | | public: |
7381 | | void clear_entity() ; |
7382 | | const ::xmlProtoFuzzer::EntityDecl& entity() const; |
7383 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::EntityDecl* release_entity(); |
7384 | | ::xmlProtoFuzzer::EntityDecl* mutable_entity(); |
7385 | | void set_allocated_entity(::xmlProtoFuzzer::EntityDecl* value); |
7386 | | void unsafe_arena_set_allocated_entity(::xmlProtoFuzzer::EntityDecl* value); |
7387 | | ::xmlProtoFuzzer::EntityDecl* unsafe_arena_release_entity(); |
7388 | | |
7389 | | private: |
7390 | | const ::xmlProtoFuzzer::EntityDecl& _internal_entity() const; |
7391 | | ::xmlProtoFuzzer::EntityDecl* _internal_mutable_entity(); |
7392 | | |
7393 | | public: |
7394 | | // .xmlProtoFuzzer.ExtSubsetDecl ext = 6; |
7395 | | bool has_ext() const; |
7396 | | private: |
7397 | | bool _internal_has_ext() const; |
7398 | | |
7399 | | public: |
7400 | | void clear_ext() ; |
7401 | | const ::xmlProtoFuzzer::ExtSubsetDecl& ext() const; |
7402 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ExtSubsetDecl* release_ext(); |
7403 | | ::xmlProtoFuzzer::ExtSubsetDecl* mutable_ext(); |
7404 | | void set_allocated_ext(::xmlProtoFuzzer::ExtSubsetDecl* value); |
7405 | | void unsafe_arena_set_allocated_ext(::xmlProtoFuzzer::ExtSubsetDecl* value); |
7406 | | ::xmlProtoFuzzer::ExtSubsetDecl* unsafe_arena_release_ext(); |
7407 | | |
7408 | | private: |
7409 | | const ::xmlProtoFuzzer::ExtSubsetDecl& _internal_ext() const; |
7410 | | ::xmlProtoFuzzer::ExtSubsetDecl* _internal_mutable_ext(); |
7411 | | |
7412 | | public: |
7413 | | void clear_markup_oneof(); |
7414 | | MarkupOneofCase markup_oneof_case() const; |
7415 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.MarkupDecl) |
7416 | | private: |
7417 | | class _Internal; |
7418 | | void set_has_e(); |
7419 | | void set_has_a(); |
7420 | | void set_has_n(); |
7421 | | void set_has_m(); |
7422 | | void set_has_entity(); |
7423 | | void set_has_ext(); |
7424 | | inline bool has_markup_oneof() const; |
7425 | | inline void clear_has_markup_oneof(); |
7426 | | friend class ::google::protobuf::internal::TcParser; |
7427 | | static const ::google::protobuf::internal::TcParseTable< |
7428 | | 0, 6, 6, |
7429 | | 0, 2> |
7430 | | _table_; |
7431 | | |
7432 | | friend class ::google::protobuf::MessageLite; |
7433 | | friend class ::google::protobuf::Arena; |
7434 | | template <typename T> |
7435 | | friend class ::google::protobuf::Arena::InternalHelper; |
7436 | | using InternalArenaConstructable_ = void; |
7437 | | using DestructorSkippable_ = void; |
7438 | | struct Impl_ { |
7439 | | inline explicit constexpr Impl_( |
7440 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
7441 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
7442 | | ::google::protobuf::Arena* arena); |
7443 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
7444 | | ::google::protobuf::Arena* arena, const Impl_& from, |
7445 | | const MarkupDecl& from_msg); |
7446 | | union MarkupOneofUnion { |
7447 | 42.7k | constexpr MarkupOneofUnion() : _constinit_{} {} |
7448 | | ::google::protobuf::internal::ConstantInitialized _constinit_; |
7449 | | ::xmlProtoFuzzer::ElementDecl* e_; |
7450 | | ::xmlProtoFuzzer::AttListDecl* a_; |
7451 | | ::xmlProtoFuzzer::NotationDecl* n_; |
7452 | | ::xmlProtoFuzzer::Misc* m_; |
7453 | | ::xmlProtoFuzzer::EntityDecl* entity_; |
7454 | | ::xmlProtoFuzzer::ExtSubsetDecl* ext_; |
7455 | | } markup_oneof_; |
7456 | | ::google::protobuf::internal::CachedSize _cached_size_; |
7457 | | ::uint32_t _oneof_case_[1]; |
7458 | | PROTOBUF_TSAN_DECLARE_MEMBER |
7459 | | }; |
7460 | | union { Impl_ _impl_; }; |
7461 | | friend struct ::TableStruct_xml_2eproto; |
7462 | | }; |
7463 | | // ------------------------------------------------------------------- |
7464 | | |
7465 | | class OneExtSubsetDecl final : public ::google::protobuf::Message |
7466 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.OneExtSubsetDecl) */ { |
7467 | | public: |
7468 | 0 | inline OneExtSubsetDecl() : OneExtSubsetDecl(nullptr) {} |
7469 | | ~OneExtSubsetDecl() PROTOBUF_FINAL; |
7470 | | |
7471 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7472 | | void operator delete(OneExtSubsetDecl* msg, std::destroying_delete_t) { |
7473 | | SharedDtor(*msg); |
7474 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(OneExtSubsetDecl)); |
7475 | | } |
7476 | | #endif |
7477 | | |
7478 | | template <typename = void> |
7479 | | explicit PROTOBUF_CONSTEXPR OneExtSubsetDecl( |
7480 | | ::google::protobuf::internal::ConstantInitialized); |
7481 | | |
7482 | 0 | inline OneExtSubsetDecl(const OneExtSubsetDecl& from) : OneExtSubsetDecl(nullptr, from) {} |
7483 | | inline OneExtSubsetDecl(OneExtSubsetDecl&& from) noexcept |
7484 | 0 | : OneExtSubsetDecl(nullptr, std::move(from)) {} |
7485 | 0 | inline OneExtSubsetDecl& operator=(const OneExtSubsetDecl& from) { |
7486 | 0 | CopyFrom(from); |
7487 | 0 | return *this; |
7488 | 0 | } |
7489 | 0 | inline OneExtSubsetDecl& operator=(OneExtSubsetDecl&& from) noexcept { |
7490 | 0 | if (this == &from) return *this; |
7491 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
7492 | 0 | InternalSwap(&from); |
7493 | 0 | } else { |
7494 | 0 | CopyFrom(from); |
7495 | 0 | } |
7496 | 0 | return *this; |
7497 | 0 | } |
7498 | | |
7499 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
7500 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7501 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
7502 | 0 | } |
7503 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
7504 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7505 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
7506 | 0 | } |
7507 | | |
7508 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
7509 | 0 | return GetDescriptor(); |
7510 | 0 | } |
7511 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
7512 | 0 | return default_instance().GetMetadata().descriptor; |
7513 | 0 | } |
7514 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
7515 | 0 | return default_instance().GetMetadata().reflection; |
7516 | 0 | } |
7517 | 0 | static const OneExtSubsetDecl& default_instance() { |
7518 | 0 | return *internal_default_instance(); |
7519 | 0 | } |
7520 | | enum ExtsubsetOneofCase { |
7521 | | kM = 1, |
7522 | | kC = 2, |
7523 | | EXTSUBSET_ONEOF_NOT_SET = 0, |
7524 | | }; |
7525 | 0 | static inline const OneExtSubsetDecl* internal_default_instance() { |
7526 | 0 | return reinterpret_cast<const OneExtSubsetDecl*>( |
7527 | 0 | &_OneExtSubsetDecl_default_instance_); |
7528 | 0 | } |
7529 | | static constexpr int kIndexInFileMessages = 18; |
7530 | 0 | friend void swap(OneExtSubsetDecl& a, OneExtSubsetDecl& b) { a.Swap(&b); } |
7531 | 0 | inline void Swap(OneExtSubsetDecl* other) { |
7532 | 0 | if (other == this) return; |
7533 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
7534 | 0 | InternalSwap(other); |
7535 | 0 | } else { |
7536 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
7537 | 0 | } |
7538 | 0 | } |
7539 | 0 | void UnsafeArenaSwap(OneExtSubsetDecl* other) { |
7540 | 0 | if (other == this) return; |
7541 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
7542 | 0 | InternalSwap(other); |
7543 | 0 | } |
7544 | | |
7545 | | // implements Message ---------------------------------------------- |
7546 | | |
7547 | 0 | OneExtSubsetDecl* New(::google::protobuf::Arena* arena = nullptr) const { |
7548 | 0 | return ::google::protobuf::Message::DefaultConstruct<OneExtSubsetDecl>(arena); |
7549 | 0 | } |
7550 | | using ::google::protobuf::Message::CopyFrom; |
7551 | | void CopyFrom(const OneExtSubsetDecl& from); |
7552 | | using ::google::protobuf::Message::MergeFrom; |
7553 | 0 | void MergeFrom(const OneExtSubsetDecl& from) { OneExtSubsetDecl::MergeImpl(*this, from); } |
7554 | | |
7555 | | private: |
7556 | | static void MergeImpl( |
7557 | | ::google::protobuf::MessageLite& to_msg, |
7558 | | const ::google::protobuf::MessageLite& from_msg); |
7559 | | |
7560 | | public: |
7561 | 0 | bool IsInitialized() const { |
7562 | 0 | return true; |
7563 | 0 | } |
7564 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
7565 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7566 | | private: |
7567 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
7568 | | static ::uint8_t* _InternalSerialize( |
7569 | | const MessageLite& msg, ::uint8_t* target, |
7570 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
7571 | | |
7572 | | public: |
7573 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
7574 | | ::uint8_t* _InternalSerialize( |
7575 | | ::uint8_t* target, |
7576 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
7577 | | return _InternalSerialize(*this, target, stream); |
7578 | | } |
7579 | | #else // PROTOBUF_CUSTOM_VTABLE |
7580 | | ::size_t ByteSizeLong() const final; |
7581 | | ::uint8_t* _InternalSerialize( |
7582 | | ::uint8_t* target, |
7583 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
7584 | | #endif // PROTOBUF_CUSTOM_VTABLE |
7585 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
7586 | | |
7587 | | private: |
7588 | | void SharedCtor(::google::protobuf::Arena* arena); |
7589 | | static void SharedDtor(MessageLite& self); |
7590 | | void InternalSwap(OneExtSubsetDecl* other); |
7591 | | private: |
7592 | | template <typename T> |
7593 | | friend ::absl::string_view( |
7594 | | ::google::protobuf::internal::GetAnyMessageName)(); |
7595 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.OneExtSubsetDecl"; } |
7596 | | |
7597 | | protected: |
7598 | | explicit OneExtSubsetDecl(::google::protobuf::Arena* arena); |
7599 | | OneExtSubsetDecl(::google::protobuf::Arena* arena, const OneExtSubsetDecl& from); |
7600 | | OneExtSubsetDecl(::google::protobuf::Arena* arena, OneExtSubsetDecl&& from) noexcept |
7601 | 0 | : OneExtSubsetDecl(arena) { |
7602 | 0 | *this = ::std::move(from); |
7603 | 0 | } |
7604 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
7605 | | static void* PlacementNew_(const void*, void* mem, |
7606 | | ::google::protobuf::Arena* arena); |
7607 | | static constexpr auto InternalNewImpl_(); |
7608 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
7609 | | |
7610 | | public: |
7611 | | ::google::protobuf::Metadata GetMetadata() const; |
7612 | | // nested types ---------------------------------------------------- |
7613 | | |
7614 | | // accessors ------------------------------------------------------- |
7615 | | enum : int { |
7616 | | kMFieldNumber = 1, |
7617 | | kCFieldNumber = 2, |
7618 | | }; |
7619 | | // .xmlProtoFuzzer.MarkupDecl m = 1; |
7620 | | bool has_m() const; |
7621 | | private: |
7622 | | bool _internal_has_m() const; |
7623 | | |
7624 | | public: |
7625 | | void clear_m() ; |
7626 | | const ::xmlProtoFuzzer::MarkupDecl& m() const; |
7627 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::MarkupDecl* release_m(); |
7628 | | ::xmlProtoFuzzer::MarkupDecl* mutable_m(); |
7629 | | void set_allocated_m(::xmlProtoFuzzer::MarkupDecl* value); |
7630 | | void unsafe_arena_set_allocated_m(::xmlProtoFuzzer::MarkupDecl* value); |
7631 | | ::xmlProtoFuzzer::MarkupDecl* unsafe_arena_release_m(); |
7632 | | |
7633 | | private: |
7634 | | const ::xmlProtoFuzzer::MarkupDecl& _internal_m() const; |
7635 | | ::xmlProtoFuzzer::MarkupDecl* _internal_mutable_m(); |
7636 | | |
7637 | | public: |
7638 | | // .xmlProtoFuzzer.ConditionalSect c = 2; |
7639 | | bool has_c() const; |
7640 | | private: |
7641 | | bool _internal_has_c() const; |
7642 | | |
7643 | | public: |
7644 | | void clear_c() ; |
7645 | | const ::xmlProtoFuzzer::ConditionalSect& c() const; |
7646 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ConditionalSect* release_c(); |
7647 | | ::xmlProtoFuzzer::ConditionalSect* mutable_c(); |
7648 | | void set_allocated_c(::xmlProtoFuzzer::ConditionalSect* value); |
7649 | | void unsafe_arena_set_allocated_c(::xmlProtoFuzzer::ConditionalSect* value); |
7650 | | ::xmlProtoFuzzer::ConditionalSect* unsafe_arena_release_c(); |
7651 | | |
7652 | | private: |
7653 | | const ::xmlProtoFuzzer::ConditionalSect& _internal_c() const; |
7654 | | ::xmlProtoFuzzer::ConditionalSect* _internal_mutable_c(); |
7655 | | |
7656 | | public: |
7657 | | void clear_extsubset_oneof(); |
7658 | | ExtsubsetOneofCase extsubset_oneof_case() const; |
7659 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.OneExtSubsetDecl) |
7660 | | private: |
7661 | | class _Internal; |
7662 | | void set_has_m(); |
7663 | | void set_has_c(); |
7664 | | inline bool has_extsubset_oneof() const; |
7665 | | inline void clear_has_extsubset_oneof(); |
7666 | | friend class ::google::protobuf::internal::TcParser; |
7667 | | static const ::google::protobuf::internal::TcParseTable< |
7668 | | 0, 2, 2, |
7669 | | 0, 2> |
7670 | | _table_; |
7671 | | |
7672 | | friend class ::google::protobuf::MessageLite; |
7673 | | friend class ::google::protobuf::Arena; |
7674 | | template <typename T> |
7675 | | friend class ::google::protobuf::Arena::InternalHelper; |
7676 | | using InternalArenaConstructable_ = void; |
7677 | | using DestructorSkippable_ = void; |
7678 | | struct Impl_ { |
7679 | | inline explicit constexpr Impl_( |
7680 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
7681 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
7682 | | ::google::protobuf::Arena* arena); |
7683 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
7684 | | ::google::protobuf::Arena* arena, const Impl_& from, |
7685 | | const OneExtSubsetDecl& from_msg); |
7686 | | union ExtsubsetOneofUnion { |
7687 | 46.4k | constexpr ExtsubsetOneofUnion() : _constinit_{} {} |
7688 | | ::google::protobuf::internal::ConstantInitialized _constinit_; |
7689 | | ::xmlProtoFuzzer::MarkupDecl* m_; |
7690 | | ::xmlProtoFuzzer::ConditionalSect* c_; |
7691 | | } extsubset_oneof_; |
7692 | | ::google::protobuf::internal::CachedSize _cached_size_; |
7693 | | ::uint32_t _oneof_case_[1]; |
7694 | | PROTOBUF_TSAN_DECLARE_MEMBER |
7695 | | }; |
7696 | | union { Impl_ _impl_; }; |
7697 | | friend struct ::TableStruct_xml_2eproto; |
7698 | | }; |
7699 | | // ------------------------------------------------------------------- |
7700 | | |
7701 | | class DocTypeDecl final : public ::google::protobuf::Message |
7702 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.DocTypeDecl) */ { |
7703 | | public: |
7704 | 0 | inline DocTypeDecl() : DocTypeDecl(nullptr) {} |
7705 | | ~DocTypeDecl() PROTOBUF_FINAL; |
7706 | | |
7707 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7708 | | void operator delete(DocTypeDecl* msg, std::destroying_delete_t) { |
7709 | | SharedDtor(*msg); |
7710 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(DocTypeDecl)); |
7711 | | } |
7712 | | #endif |
7713 | | |
7714 | | template <typename = void> |
7715 | | explicit PROTOBUF_CONSTEXPR DocTypeDecl( |
7716 | | ::google::protobuf::internal::ConstantInitialized); |
7717 | | |
7718 | 0 | inline DocTypeDecl(const DocTypeDecl& from) : DocTypeDecl(nullptr, from) {} |
7719 | | inline DocTypeDecl(DocTypeDecl&& from) noexcept |
7720 | 0 | : DocTypeDecl(nullptr, std::move(from)) {} |
7721 | 0 | inline DocTypeDecl& operator=(const DocTypeDecl& from) { |
7722 | 0 | CopyFrom(from); |
7723 | 0 | return *this; |
7724 | 0 | } |
7725 | 0 | inline DocTypeDecl& operator=(DocTypeDecl&& from) noexcept { |
7726 | 0 | if (this == &from) return *this; |
7727 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
7728 | 0 | InternalSwap(&from); |
7729 | 0 | } else { |
7730 | 0 | CopyFrom(from); |
7731 | 0 | } |
7732 | 0 | return *this; |
7733 | 0 | } |
7734 | | |
7735 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
7736 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7737 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
7738 | 0 | } |
7739 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
7740 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7741 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
7742 | 0 | } |
7743 | | |
7744 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
7745 | 0 | return GetDescriptor(); |
7746 | 0 | } |
7747 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
7748 | 0 | return default_instance().GetMetadata().descriptor; |
7749 | 0 | } |
7750 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
7751 | 0 | return default_instance().GetMetadata().reflection; |
7752 | 0 | } |
7753 | 0 | static const DocTypeDecl& default_instance() { |
7754 | 0 | return *internal_default_instance(); |
7755 | 0 | } |
7756 | 0 | static inline const DocTypeDecl* internal_default_instance() { |
7757 | 0 | return reinterpret_cast<const DocTypeDecl*>( |
7758 | 0 | &_DocTypeDecl_default_instance_); |
7759 | 0 | } |
7760 | | static constexpr int kIndexInFileMessages = 21; |
7761 | 0 | friend void swap(DocTypeDecl& a, DocTypeDecl& b) { a.Swap(&b); } |
7762 | 0 | inline void Swap(DocTypeDecl* other) { |
7763 | 0 | if (other == this) return; |
7764 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
7765 | 0 | InternalSwap(other); |
7766 | 0 | } else { |
7767 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
7768 | 0 | } |
7769 | 0 | } |
7770 | 0 | void UnsafeArenaSwap(DocTypeDecl* other) { |
7771 | 0 | if (other == this) return; |
7772 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
7773 | 0 | InternalSwap(other); |
7774 | 0 | } |
7775 | | |
7776 | | // implements Message ---------------------------------------------- |
7777 | | |
7778 | 0 | DocTypeDecl* New(::google::protobuf::Arena* arena = nullptr) const { |
7779 | 0 | return ::google::protobuf::Message::DefaultConstruct<DocTypeDecl>(arena); |
7780 | 0 | } |
7781 | | using ::google::protobuf::Message::CopyFrom; |
7782 | | void CopyFrom(const DocTypeDecl& from); |
7783 | | using ::google::protobuf::Message::MergeFrom; |
7784 | 0 | void MergeFrom(const DocTypeDecl& from) { DocTypeDecl::MergeImpl(*this, from); } |
7785 | | |
7786 | | private: |
7787 | | static void MergeImpl( |
7788 | | ::google::protobuf::MessageLite& to_msg, |
7789 | | const ::google::protobuf::MessageLite& from_msg); |
7790 | | |
7791 | | public: |
7792 | 0 | bool IsInitialized() const { |
7793 | 0 | return true; |
7794 | 0 | } |
7795 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
7796 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7797 | | private: |
7798 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
7799 | | static ::uint8_t* _InternalSerialize( |
7800 | | const MessageLite& msg, ::uint8_t* target, |
7801 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
7802 | | |
7803 | | public: |
7804 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
7805 | | ::uint8_t* _InternalSerialize( |
7806 | | ::uint8_t* target, |
7807 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
7808 | | return _InternalSerialize(*this, target, stream); |
7809 | | } |
7810 | | #else // PROTOBUF_CUSTOM_VTABLE |
7811 | | ::size_t ByteSizeLong() const final; |
7812 | | ::uint8_t* _InternalSerialize( |
7813 | | ::uint8_t* target, |
7814 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
7815 | | #endif // PROTOBUF_CUSTOM_VTABLE |
7816 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
7817 | | |
7818 | | private: |
7819 | | void SharedCtor(::google::protobuf::Arena* arena); |
7820 | | static void SharedDtor(MessageLite& self); |
7821 | | void InternalSwap(DocTypeDecl* other); |
7822 | | private: |
7823 | | template <typename T> |
7824 | | friend ::absl::string_view( |
7825 | | ::google::protobuf::internal::GetAnyMessageName)(); |
7826 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.DocTypeDecl"; } |
7827 | | |
7828 | | protected: |
7829 | | explicit DocTypeDecl(::google::protobuf::Arena* arena); |
7830 | | DocTypeDecl(::google::protobuf::Arena* arena, const DocTypeDecl& from); |
7831 | | DocTypeDecl(::google::protobuf::Arena* arena, DocTypeDecl&& from) noexcept |
7832 | 0 | : DocTypeDecl(arena) { |
7833 | 0 | *this = ::std::move(from); |
7834 | 0 | } |
7835 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
7836 | | static void* PlacementNew_(const void*, void* mem, |
7837 | | ::google::protobuf::Arena* arena); |
7838 | | static constexpr auto InternalNewImpl_(); |
7839 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
7840 | | |
7841 | | public: |
7842 | | ::google::protobuf::Metadata GetMetadata() const; |
7843 | | // nested types ---------------------------------------------------- |
7844 | | |
7845 | | // accessors ------------------------------------------------------- |
7846 | | enum : int { |
7847 | | kMdeclFieldNumber = 3, |
7848 | | kNameFieldNumber = 1, |
7849 | | kExtFieldNumber = 2, |
7850 | | }; |
7851 | | // repeated .xmlProtoFuzzer.MarkupDecl mdecl = 3; |
7852 | | int mdecl_size() const; |
7853 | | private: |
7854 | | int _internal_mdecl_size() const; |
7855 | | |
7856 | | public: |
7857 | | void clear_mdecl() ; |
7858 | | ::xmlProtoFuzzer::MarkupDecl* mutable_mdecl(int index); |
7859 | | ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::MarkupDecl>* mutable_mdecl(); |
7860 | | |
7861 | | private: |
7862 | | const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::MarkupDecl>& _internal_mdecl() const; |
7863 | | ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::MarkupDecl>* _internal_mutable_mdecl(); |
7864 | | public: |
7865 | | const ::xmlProtoFuzzer::MarkupDecl& mdecl(int index) const; |
7866 | | ::xmlProtoFuzzer::MarkupDecl* add_mdecl(); |
7867 | | const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::MarkupDecl>& mdecl() const; |
7868 | | // string name = 1; |
7869 | | void clear_name() ; |
7870 | | const std::string& name() const; |
7871 | | template <typename Arg_ = const std::string&, typename... Args_> |
7872 | | void set_name(Arg_&& arg, Args_... args); |
7873 | | std::string* mutable_name(); |
7874 | | PROTOBUF_NODISCARD std::string* release_name(); |
7875 | | void set_allocated_name(std::string* value); |
7876 | | |
7877 | | private: |
7878 | | const std::string& _internal_name() const; |
7879 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( |
7880 | | const std::string& value); |
7881 | | std::string* _internal_mutable_name(); |
7882 | | |
7883 | | public: |
7884 | | // .xmlProtoFuzzer.ExternalId ext = 2; |
7885 | | bool has_ext() const; |
7886 | | void clear_ext() ; |
7887 | | const ::xmlProtoFuzzer::ExternalId& ext() const; |
7888 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ExternalId* release_ext(); |
7889 | | ::xmlProtoFuzzer::ExternalId* mutable_ext(); |
7890 | | void set_allocated_ext(::xmlProtoFuzzer::ExternalId* value); |
7891 | | void unsafe_arena_set_allocated_ext(::xmlProtoFuzzer::ExternalId* value); |
7892 | | ::xmlProtoFuzzer::ExternalId* unsafe_arena_release_ext(); |
7893 | | |
7894 | | private: |
7895 | | const ::xmlProtoFuzzer::ExternalId& _internal_ext() const; |
7896 | | ::xmlProtoFuzzer::ExternalId* _internal_mutable_ext(); |
7897 | | |
7898 | | public: |
7899 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.DocTypeDecl) |
7900 | | private: |
7901 | | class _Internal; |
7902 | | friend class ::google::protobuf::internal::TcParser; |
7903 | | static const ::google::protobuf::internal::TcParseTable< |
7904 | | 2, 3, 2, |
7905 | | 39, 2> |
7906 | | _table_; |
7907 | | |
7908 | | friend class ::google::protobuf::MessageLite; |
7909 | | friend class ::google::protobuf::Arena; |
7910 | | template <typename T> |
7911 | | friend class ::google::protobuf::Arena::InternalHelper; |
7912 | | using InternalArenaConstructable_ = void; |
7913 | | using DestructorSkippable_ = void; |
7914 | | struct Impl_ { |
7915 | | inline explicit constexpr Impl_( |
7916 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
7917 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
7918 | | ::google::protobuf::Arena* arena); |
7919 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
7920 | | ::google::protobuf::Arena* arena, const Impl_& from, |
7921 | | const DocTypeDecl& from_msg); |
7922 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
7923 | | ::google::protobuf::internal::CachedSize _cached_size_; |
7924 | | ::google::protobuf::RepeatedPtrField< ::xmlProtoFuzzer::MarkupDecl > mdecl_; |
7925 | | ::google::protobuf::internal::ArenaStringPtr name_; |
7926 | | ::xmlProtoFuzzer::ExternalId* ext_; |
7927 | | PROTOBUF_TSAN_DECLARE_MEMBER |
7928 | | }; |
7929 | | union { Impl_ _impl_; }; |
7930 | | friend struct ::TableStruct_xml_2eproto; |
7931 | | }; |
7932 | | // ------------------------------------------------------------------- |
7933 | | |
7934 | | class Prolog final : public ::google::protobuf::Message |
7935 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.Prolog) */ { |
7936 | | public: |
7937 | 0 | inline Prolog() : Prolog(nullptr) {} |
7938 | | ~Prolog() PROTOBUF_FINAL; |
7939 | | |
7940 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
7941 | | void operator delete(Prolog* msg, std::destroying_delete_t) { |
7942 | | SharedDtor(*msg); |
7943 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(Prolog)); |
7944 | | } |
7945 | | #endif |
7946 | | |
7947 | | template <typename = void> |
7948 | | explicit PROTOBUF_CONSTEXPR Prolog( |
7949 | | ::google::protobuf::internal::ConstantInitialized); |
7950 | | |
7951 | 0 | inline Prolog(const Prolog& from) : Prolog(nullptr, from) {} |
7952 | | inline Prolog(Prolog&& from) noexcept |
7953 | 0 | : Prolog(nullptr, std::move(from)) {} |
7954 | 0 | inline Prolog& operator=(const Prolog& from) { |
7955 | 0 | CopyFrom(from); |
7956 | 0 | return *this; |
7957 | 0 | } |
7958 | 0 | inline Prolog& operator=(Prolog&& from) noexcept { |
7959 | 0 | if (this == &from) return *this; |
7960 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
7961 | 0 | InternalSwap(&from); |
7962 | 0 | } else { |
7963 | 0 | CopyFrom(from); |
7964 | 0 | } |
7965 | 0 | return *this; |
7966 | 0 | } |
7967 | | |
7968 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
7969 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7970 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
7971 | 0 | } |
7972 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
7973 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
7974 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
7975 | 0 | } |
7976 | | |
7977 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
7978 | 0 | return GetDescriptor(); |
7979 | 0 | } |
7980 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
7981 | 0 | return default_instance().GetMetadata().descriptor; |
7982 | 0 | } |
7983 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
7984 | 0 | return default_instance().GetMetadata().reflection; |
7985 | 0 | } |
7986 | 0 | static const Prolog& default_instance() { |
7987 | 0 | return *internal_default_instance(); |
7988 | 0 | } |
7989 | 0 | static inline const Prolog* internal_default_instance() { |
7990 | 0 | return reinterpret_cast<const Prolog*>( |
7991 | 0 | &_Prolog_default_instance_); |
7992 | 0 | } |
7993 | | static constexpr int kIndexInFileMessages = 22; |
7994 | 0 | friend void swap(Prolog& a, Prolog& b) { a.Swap(&b); } |
7995 | 0 | inline void Swap(Prolog* other) { |
7996 | 0 | if (other == this) return; |
7997 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
7998 | 0 | InternalSwap(other); |
7999 | 0 | } else { |
8000 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
8001 | 0 | } |
8002 | 0 | } |
8003 | 0 | void UnsafeArenaSwap(Prolog* other) { |
8004 | 0 | if (other == this) return; |
8005 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
8006 | 0 | InternalSwap(other); |
8007 | 0 | } |
8008 | | |
8009 | | // implements Message ---------------------------------------------- |
8010 | | |
8011 | 0 | Prolog* New(::google::protobuf::Arena* arena = nullptr) const { |
8012 | 0 | return ::google::protobuf::Message::DefaultConstruct<Prolog>(arena); |
8013 | 0 | } |
8014 | | using ::google::protobuf::Message::CopyFrom; |
8015 | | void CopyFrom(const Prolog& from); |
8016 | | using ::google::protobuf::Message::MergeFrom; |
8017 | 0 | void MergeFrom(const Prolog& from) { Prolog::MergeImpl(*this, from); } |
8018 | | |
8019 | | private: |
8020 | | static void MergeImpl( |
8021 | | ::google::protobuf::MessageLite& to_msg, |
8022 | | const ::google::protobuf::MessageLite& from_msg); |
8023 | | |
8024 | | public: |
8025 | 0 | bool IsInitialized() const { |
8026 | 0 | return true; |
8027 | 0 | } |
8028 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
8029 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8030 | | private: |
8031 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
8032 | | static ::uint8_t* _InternalSerialize( |
8033 | | const MessageLite& msg, ::uint8_t* target, |
8034 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
8035 | | |
8036 | | public: |
8037 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
8038 | | ::uint8_t* _InternalSerialize( |
8039 | | ::uint8_t* target, |
8040 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
8041 | | return _InternalSerialize(*this, target, stream); |
8042 | | } |
8043 | | #else // PROTOBUF_CUSTOM_VTABLE |
8044 | | ::size_t ByteSizeLong() const final; |
8045 | | ::uint8_t* _InternalSerialize( |
8046 | | ::uint8_t* target, |
8047 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
8048 | | #endif // PROTOBUF_CUSTOM_VTABLE |
8049 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
8050 | | |
8051 | | private: |
8052 | | void SharedCtor(::google::protobuf::Arena* arena); |
8053 | | static void SharedDtor(MessageLite& self); |
8054 | | void InternalSwap(Prolog* other); |
8055 | | private: |
8056 | | template <typename T> |
8057 | | friend ::absl::string_view( |
8058 | | ::google::protobuf::internal::GetAnyMessageName)(); |
8059 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.Prolog"; } |
8060 | | |
8061 | | protected: |
8062 | | explicit Prolog(::google::protobuf::Arena* arena); |
8063 | | Prolog(::google::protobuf::Arena* arena, const Prolog& from); |
8064 | | Prolog(::google::protobuf::Arena* arena, Prolog&& from) noexcept |
8065 | 0 | : Prolog(arena) { |
8066 | 0 | *this = ::std::move(from); |
8067 | 0 | } |
8068 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
8069 | | static void* PlacementNew_(const void*, void* mem, |
8070 | | ::google::protobuf::Arena* arena); |
8071 | | static constexpr auto InternalNewImpl_(); |
8072 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
8073 | | |
8074 | | public: |
8075 | | ::google::protobuf::Metadata GetMetadata() const; |
8076 | | // nested types ---------------------------------------------------- |
8077 | | |
8078 | | // accessors ------------------------------------------------------- |
8079 | | enum : int { |
8080 | | kMiscFieldNumber = 3, |
8081 | | kDeclFieldNumber = 1, |
8082 | | kDoctypeFieldNumber = 2, |
8083 | | }; |
8084 | | // repeated .xmlProtoFuzzer.Misc misc = 3; |
8085 | | int misc_size() const; |
8086 | | private: |
8087 | | int _internal_misc_size() const; |
8088 | | |
8089 | | public: |
8090 | | void clear_misc() ; |
8091 | | ::xmlProtoFuzzer::Misc* mutable_misc(int index); |
8092 | | ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Misc>* mutable_misc(); |
8093 | | |
8094 | | private: |
8095 | | const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Misc>& _internal_misc() const; |
8096 | | ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Misc>* _internal_mutable_misc(); |
8097 | | public: |
8098 | | const ::xmlProtoFuzzer::Misc& misc(int index) const; |
8099 | | ::xmlProtoFuzzer::Misc* add_misc(); |
8100 | | const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Misc>& misc() const; |
8101 | | // .xmlProtoFuzzer.XmlDeclaration decl = 1; |
8102 | | bool has_decl() const; |
8103 | | void clear_decl() ; |
8104 | | const ::xmlProtoFuzzer::XmlDeclaration& decl() const; |
8105 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::XmlDeclaration* release_decl(); |
8106 | | ::xmlProtoFuzzer::XmlDeclaration* mutable_decl(); |
8107 | | void set_allocated_decl(::xmlProtoFuzzer::XmlDeclaration* value); |
8108 | | void unsafe_arena_set_allocated_decl(::xmlProtoFuzzer::XmlDeclaration* value); |
8109 | | ::xmlProtoFuzzer::XmlDeclaration* unsafe_arena_release_decl(); |
8110 | | |
8111 | | private: |
8112 | | const ::xmlProtoFuzzer::XmlDeclaration& _internal_decl() const; |
8113 | | ::xmlProtoFuzzer::XmlDeclaration* _internal_mutable_decl(); |
8114 | | |
8115 | | public: |
8116 | | // .xmlProtoFuzzer.DocTypeDecl doctype = 2; |
8117 | | bool has_doctype() const; |
8118 | | void clear_doctype() ; |
8119 | | const ::xmlProtoFuzzer::DocTypeDecl& doctype() const; |
8120 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::DocTypeDecl* release_doctype(); |
8121 | | ::xmlProtoFuzzer::DocTypeDecl* mutable_doctype(); |
8122 | | void set_allocated_doctype(::xmlProtoFuzzer::DocTypeDecl* value); |
8123 | | void unsafe_arena_set_allocated_doctype(::xmlProtoFuzzer::DocTypeDecl* value); |
8124 | | ::xmlProtoFuzzer::DocTypeDecl* unsafe_arena_release_doctype(); |
8125 | | |
8126 | | private: |
8127 | | const ::xmlProtoFuzzer::DocTypeDecl& _internal_doctype() const; |
8128 | | ::xmlProtoFuzzer::DocTypeDecl* _internal_mutable_doctype(); |
8129 | | |
8130 | | public: |
8131 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.Prolog) |
8132 | | private: |
8133 | | class _Internal; |
8134 | | friend class ::google::protobuf::internal::TcParser; |
8135 | | static const ::google::protobuf::internal::TcParseTable< |
8136 | | 2, 3, 3, |
8137 | | 0, 2> |
8138 | | _table_; |
8139 | | |
8140 | | friend class ::google::protobuf::MessageLite; |
8141 | | friend class ::google::protobuf::Arena; |
8142 | | template <typename T> |
8143 | | friend class ::google::protobuf::Arena::InternalHelper; |
8144 | | using InternalArenaConstructable_ = void; |
8145 | | using DestructorSkippable_ = void; |
8146 | | struct Impl_ { |
8147 | | inline explicit constexpr Impl_( |
8148 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
8149 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
8150 | | ::google::protobuf::Arena* arena); |
8151 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
8152 | | ::google::protobuf::Arena* arena, const Impl_& from, |
8153 | | const Prolog& from_msg); |
8154 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
8155 | | ::google::protobuf::internal::CachedSize _cached_size_; |
8156 | | ::google::protobuf::RepeatedPtrField< ::xmlProtoFuzzer::Misc > misc_; |
8157 | | ::xmlProtoFuzzer::XmlDeclaration* decl_; |
8158 | | ::xmlProtoFuzzer::DocTypeDecl* doctype_; |
8159 | | PROTOBUF_TSAN_DECLARE_MEMBER |
8160 | | }; |
8161 | | union { Impl_ _impl_; }; |
8162 | | friend struct ::TableStruct_xml_2eproto; |
8163 | | }; |
8164 | | // ------------------------------------------------------------------- |
8165 | | |
8166 | | class XmlDocument final : public ::google::protobuf::Message |
8167 | | /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.XmlDocument) */ { |
8168 | | public: |
8169 | 8.46k | inline XmlDocument() : XmlDocument(nullptr) {} |
8170 | | ~XmlDocument() PROTOBUF_FINAL; |
8171 | | |
8172 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8173 | | void operator delete(XmlDocument* msg, std::destroying_delete_t) { |
8174 | | SharedDtor(*msg); |
8175 | | ::google::protobuf::internal::SizedDelete(msg, sizeof(XmlDocument)); |
8176 | | } |
8177 | | #endif |
8178 | | |
8179 | | template <typename = void> |
8180 | | explicit PROTOBUF_CONSTEXPR XmlDocument( |
8181 | | ::google::protobuf::internal::ConstantInitialized); |
8182 | | |
8183 | 0 | inline XmlDocument(const XmlDocument& from) : XmlDocument(nullptr, from) {} |
8184 | | inline XmlDocument(XmlDocument&& from) noexcept |
8185 | 0 | : XmlDocument(nullptr, std::move(from)) {} |
8186 | 0 | inline XmlDocument& operator=(const XmlDocument& from) { |
8187 | 0 | CopyFrom(from); |
8188 | 0 | return *this; |
8189 | 0 | } |
8190 | 0 | inline XmlDocument& operator=(XmlDocument&& from) noexcept { |
8191 | 0 | if (this == &from) return *this; |
8192 | 0 | if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { |
8193 | 0 | InternalSwap(&from); |
8194 | 0 | } else { |
8195 | 0 | CopyFrom(from); |
8196 | 0 | } |
8197 | 0 | return *this; |
8198 | 0 | } |
8199 | | |
8200 | | inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const |
8201 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8202 | 0 | return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); |
8203 | 0 | } |
8204 | | inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() |
8205 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8206 | 0 | return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
8207 | 0 | } |
8208 | | |
8209 | 0 | static const ::google::protobuf::Descriptor* descriptor() { |
8210 | 0 | return GetDescriptor(); |
8211 | 0 | } |
8212 | 0 | static const ::google::protobuf::Descriptor* GetDescriptor() { |
8213 | 0 | return default_instance().GetMetadata().descriptor; |
8214 | 0 | } |
8215 | 0 | static const ::google::protobuf::Reflection* GetReflection() { |
8216 | 0 | return default_instance().GetMetadata().reflection; |
8217 | 0 | } |
8218 | 0 | static const XmlDocument& default_instance() { |
8219 | 0 | return *internal_default_instance(); |
8220 | 0 | } |
8221 | 0 | static inline const XmlDocument* internal_default_instance() { |
8222 | 0 | return reinterpret_cast<const XmlDocument*>( |
8223 | 0 | &_XmlDocument_default_instance_); |
8224 | 0 | } |
8225 | | static constexpr int kIndexInFileMessages = 31; |
8226 | 0 | friend void swap(XmlDocument& a, XmlDocument& b) { a.Swap(&b); } |
8227 | 0 | inline void Swap(XmlDocument* other) { |
8228 | 0 | if (other == this) return; |
8229 | 0 | if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { |
8230 | 0 | InternalSwap(other); |
8231 | 0 | } else { |
8232 | 0 | ::google::protobuf::internal::GenericSwap(this, other); |
8233 | 0 | } |
8234 | 0 | } |
8235 | 0 | void UnsafeArenaSwap(XmlDocument* other) { |
8236 | 0 | if (other == this) return; |
8237 | 0 | ABSL_DCHECK(GetArena() == other->GetArena()); |
8238 | 0 | InternalSwap(other); |
8239 | 0 | } |
8240 | | |
8241 | | // implements Message ---------------------------------------------- |
8242 | | |
8243 | 0 | XmlDocument* New(::google::protobuf::Arena* arena = nullptr) const { |
8244 | 0 | return ::google::protobuf::Message::DefaultConstruct<XmlDocument>(arena); |
8245 | 0 | } |
8246 | | using ::google::protobuf::Message::CopyFrom; |
8247 | | void CopyFrom(const XmlDocument& from); |
8248 | | using ::google::protobuf::Message::MergeFrom; |
8249 | 0 | void MergeFrom(const XmlDocument& from) { XmlDocument::MergeImpl(*this, from); } |
8250 | | |
8251 | | private: |
8252 | | static void MergeImpl( |
8253 | | ::google::protobuf::MessageLite& to_msg, |
8254 | | const ::google::protobuf::MessageLite& from_msg); |
8255 | | |
8256 | | public: |
8257 | 0 | bool IsInitialized() const { |
8258 | 0 | return true; |
8259 | 0 | } |
8260 | | ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; |
8261 | | #if defined(PROTOBUF_CUSTOM_VTABLE) |
8262 | | private: |
8263 | | static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); |
8264 | | static ::uint8_t* _InternalSerialize( |
8265 | | const MessageLite& msg, ::uint8_t* target, |
8266 | | ::google::protobuf::io::EpsCopyOutputStream* stream); |
8267 | | |
8268 | | public: |
8269 | | ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } |
8270 | | ::uint8_t* _InternalSerialize( |
8271 | | ::uint8_t* target, |
8272 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const { |
8273 | | return _InternalSerialize(*this, target, stream); |
8274 | | } |
8275 | | #else // PROTOBUF_CUSTOM_VTABLE |
8276 | | ::size_t ByteSizeLong() const final; |
8277 | | ::uint8_t* _InternalSerialize( |
8278 | | ::uint8_t* target, |
8279 | | ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
8280 | | #endif // PROTOBUF_CUSTOM_VTABLE |
8281 | 0 | int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
8282 | | |
8283 | | private: |
8284 | | void SharedCtor(::google::protobuf::Arena* arena); |
8285 | | static void SharedDtor(MessageLite& self); |
8286 | | void InternalSwap(XmlDocument* other); |
8287 | | private: |
8288 | | template <typename T> |
8289 | | friend ::absl::string_view( |
8290 | | ::google::protobuf::internal::GetAnyMessageName)(); |
8291 | 0 | static ::absl::string_view FullMessageName() { return "xmlProtoFuzzer.XmlDocument"; } |
8292 | | |
8293 | | protected: |
8294 | | explicit XmlDocument(::google::protobuf::Arena* arena); |
8295 | | XmlDocument(::google::protobuf::Arena* arena, const XmlDocument& from); |
8296 | | XmlDocument(::google::protobuf::Arena* arena, XmlDocument&& from) noexcept |
8297 | 0 | : XmlDocument(arena) { |
8298 | 0 | *this = ::std::move(from); |
8299 | 0 | } |
8300 | | const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; |
8301 | | static void* PlacementNew_(const void*, void* mem, |
8302 | | ::google::protobuf::Arena* arena); |
8303 | | static constexpr auto InternalNewImpl_(); |
8304 | | static const ::google::protobuf::internal::ClassDataFull _class_data_; |
8305 | | |
8306 | | public: |
8307 | | ::google::protobuf::Metadata GetMetadata() const; |
8308 | | // nested types ---------------------------------------------------- |
8309 | | |
8310 | | // accessors ------------------------------------------------------- |
8311 | | enum : int { |
8312 | | kEFieldNumber = 2, |
8313 | | kPFieldNumber = 1, |
8314 | | }; |
8315 | | // repeated .xmlProtoFuzzer.Element e = 2; |
8316 | | int e_size() const; |
8317 | | private: |
8318 | | int _internal_e_size() const; |
8319 | | |
8320 | | public: |
8321 | | void clear_e() ; |
8322 | | ::xmlProtoFuzzer::Element* mutable_e(int index); |
8323 | | ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Element>* mutable_e(); |
8324 | | |
8325 | | private: |
8326 | | const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Element>& _internal_e() const; |
8327 | | ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Element>* _internal_mutable_e(); |
8328 | | public: |
8329 | | const ::xmlProtoFuzzer::Element& e(int index) const; |
8330 | | ::xmlProtoFuzzer::Element* add_e(); |
8331 | | const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Element>& e() const; |
8332 | | // .xmlProtoFuzzer.Prolog p = 1; |
8333 | | bool has_p() const; |
8334 | | void clear_p() ; |
8335 | | const ::xmlProtoFuzzer::Prolog& p() const; |
8336 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::Prolog* release_p(); |
8337 | | ::xmlProtoFuzzer::Prolog* mutable_p(); |
8338 | | void set_allocated_p(::xmlProtoFuzzer::Prolog* value); |
8339 | | void unsafe_arena_set_allocated_p(::xmlProtoFuzzer::Prolog* value); |
8340 | | ::xmlProtoFuzzer::Prolog* unsafe_arena_release_p(); |
8341 | | |
8342 | | private: |
8343 | | const ::xmlProtoFuzzer::Prolog& _internal_p() const; |
8344 | | ::xmlProtoFuzzer::Prolog* _internal_mutable_p(); |
8345 | | |
8346 | | public: |
8347 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.XmlDocument) |
8348 | | private: |
8349 | | class _Internal; |
8350 | | friend class ::google::protobuf::internal::TcParser; |
8351 | | static const ::google::protobuf::internal::TcParseTable< |
8352 | | 1, 2, 2, |
8353 | | 0, 2> |
8354 | | _table_; |
8355 | | |
8356 | | friend class ::google::protobuf::MessageLite; |
8357 | | friend class ::google::protobuf::Arena; |
8358 | | template <typename T> |
8359 | | friend class ::google::protobuf::Arena::InternalHelper; |
8360 | | using InternalArenaConstructable_ = void; |
8361 | | using DestructorSkippable_ = void; |
8362 | | struct Impl_ { |
8363 | | inline explicit constexpr Impl_( |
8364 | | ::google::protobuf::internal::ConstantInitialized) noexcept; |
8365 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
8366 | | ::google::protobuf::Arena* arena); |
8367 | | inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
8368 | | ::google::protobuf::Arena* arena, const Impl_& from, |
8369 | | const XmlDocument& from_msg); |
8370 | | ::google::protobuf::internal::HasBits<1> _has_bits_; |
8371 | | ::google::protobuf::internal::CachedSize _cached_size_; |
8372 | | ::google::protobuf::RepeatedPtrField< ::xmlProtoFuzzer::Element > e_; |
8373 | | ::xmlProtoFuzzer::Prolog* p_; |
8374 | | PROTOBUF_TSAN_DECLARE_MEMBER |
8375 | | }; |
8376 | | union { Impl_ _impl_; }; |
8377 | | friend struct ::TableStruct_xml_2eproto; |
8378 | | }; |
8379 | | |
8380 | | // =================================================================== |
8381 | | |
8382 | | |
8383 | | |
8384 | | |
8385 | | // =================================================================== |
8386 | | |
8387 | | |
8388 | | #ifdef __GNUC__ |
8389 | | #pragma GCC diagnostic push |
8390 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
8391 | | #endif // __GNUC__ |
8392 | | // ------------------------------------------------------------------- |
8393 | | |
8394 | | // Misc |
8395 | | |
8396 | | // string comment = 1; |
8397 | 0 | inline bool Misc::has_comment() const { |
8398 | 0 | return misc_oneof_case() == kComment; |
8399 | 0 | } |
8400 | 0 | inline void Misc::set_has_comment() { |
8401 | 0 | _impl_._oneof_case_[0] = kComment; |
8402 | 0 | } |
8403 | 0 | inline void Misc::clear_comment() { |
8404 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8405 | 0 | if (misc_oneof_case() == kComment) { |
8406 | 0 | _impl_.misc_oneof_.comment_.Destroy(); |
8407 | 0 | clear_has_misc_oneof(); |
8408 | 0 | } |
8409 | 0 | } |
8410 | | inline const std::string& Misc::comment() const |
8411 | 1.53k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8412 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Misc.comment) |
8413 | 1.53k | return _internal_comment(); |
8414 | 1.53k | } |
8415 | | template <typename Arg_, typename... Args_> |
8416 | | inline PROTOBUF_ALWAYS_INLINE void Misc::set_comment(Arg_&& arg, |
8417 | | Args_... args) { |
8418 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
8419 | | if (misc_oneof_case() != kComment) { |
8420 | | clear_misc_oneof(); |
8421 | | |
8422 | | set_has_comment(); |
8423 | | _impl_.misc_oneof_.comment_.InitDefault(); |
8424 | | } |
8425 | | _impl_.misc_oneof_.comment_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
8426 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Misc.comment) |
8427 | | } |
8428 | 0 | inline std::string* Misc::mutable_comment() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8429 | 0 | std::string* _s = _internal_mutable_comment(); |
8430 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Misc.comment) |
8431 | 0 | return _s; |
8432 | 0 | } |
8433 | 1.53k | inline const std::string& Misc::_internal_comment() const { |
8434 | 1.53k | ::google::protobuf::internal::TSanRead(&_impl_); |
8435 | 1.53k | if (misc_oneof_case() != kComment) { |
8436 | 0 | return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
8437 | 0 | } |
8438 | 1.53k | return _impl_.misc_oneof_.comment_.Get(); |
8439 | 1.53k | } |
8440 | 0 | inline void Misc::_internal_set_comment(const std::string& value) { |
8441 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8442 | 0 | if (misc_oneof_case() != kComment) { |
8443 | 0 | clear_misc_oneof(); |
8444 | 0 |
|
8445 | 0 | set_has_comment(); |
8446 | 0 | _impl_.misc_oneof_.comment_.InitDefault(); |
8447 | 0 | } |
8448 | 0 | _impl_.misc_oneof_.comment_.Set(value, GetArena()); |
8449 | 0 | } |
8450 | 0 | inline std::string* Misc::_internal_mutable_comment() { |
8451 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8452 | 0 | if (misc_oneof_case() != kComment) { |
8453 | 0 | clear_misc_oneof(); |
8454 | 0 |
|
8455 | 0 | set_has_comment(); |
8456 | 0 | _impl_.misc_oneof_.comment_.InitDefault(); |
8457 | 0 | } |
8458 | 0 | return _impl_.misc_oneof_.comment_.Mutable( GetArena()); |
8459 | 0 | } |
8460 | 0 | inline std::string* Misc::release_comment() { |
8461 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8462 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Misc.comment) |
8463 | 0 | if (misc_oneof_case() != kComment) { |
8464 | 0 | return nullptr; |
8465 | 0 | } |
8466 | 0 | clear_has_misc_oneof(); |
8467 | 0 | return _impl_.misc_oneof_.comment_.Release(); |
8468 | 0 | } |
8469 | 0 | inline void Misc::set_allocated_comment(std::string* value) { |
8470 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8471 | 0 | if (has_misc_oneof()) { |
8472 | 0 | clear_misc_oneof(); |
8473 | 0 | } |
8474 | 0 | if (value != nullptr) { |
8475 | 0 | set_has_comment(); |
8476 | 0 | _impl_.misc_oneof_.comment_.InitAllocated(value, GetArena()); |
8477 | 0 | } |
8478 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Misc.comment) |
8479 | 0 | } |
8480 | | |
8481 | | // .xmlProtoFuzzer.ProcessingInstruction inst = 2; |
8482 | 0 | inline bool Misc::has_inst() const { |
8483 | 0 | return misc_oneof_case() == kInst; |
8484 | 0 | } |
8485 | 0 | inline bool Misc::_internal_has_inst() const { |
8486 | 0 | return misc_oneof_case() == kInst; |
8487 | 0 | } |
8488 | 0 | inline void Misc::set_has_inst() { |
8489 | 0 | _impl_._oneof_case_[0] = kInst; |
8490 | 0 | } |
8491 | 0 | inline void Misc::clear_inst() { |
8492 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8493 | 0 | if (misc_oneof_case() == kInst) { |
8494 | 0 | if (GetArena() == nullptr) { |
8495 | 0 | delete _impl_.misc_oneof_.inst_; |
8496 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
8497 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.misc_oneof_.inst_); |
8498 | 0 | } |
8499 | 0 | clear_has_misc_oneof(); |
8500 | 0 | } |
8501 | 0 | } |
8502 | 0 | inline ::xmlProtoFuzzer::ProcessingInstruction* Misc::release_inst() { |
8503 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Misc.inst) |
8504 | 0 | if (misc_oneof_case() == kInst) { |
8505 | 0 | clear_has_misc_oneof(); |
8506 | 0 | auto* temp = _impl_.misc_oneof_.inst_; |
8507 | 0 | if (GetArena() != nullptr) { |
8508 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
8509 | 0 | } |
8510 | 0 | _impl_.misc_oneof_.inst_ = nullptr; |
8511 | 0 | return temp; |
8512 | 0 | } else { |
8513 | 0 | return nullptr; |
8514 | 0 | } |
8515 | 0 | } |
8516 | 1.61k | inline const ::xmlProtoFuzzer::ProcessingInstruction& Misc::_internal_inst() const { |
8517 | 1.61k | return misc_oneof_case() == kInst ? *_impl_.misc_oneof_.inst_ : reinterpret_cast<::xmlProtoFuzzer::ProcessingInstruction&>(::xmlProtoFuzzer::_ProcessingInstruction_default_instance_); |
8518 | 1.61k | } |
8519 | 1.61k | inline const ::xmlProtoFuzzer::ProcessingInstruction& Misc::inst() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8520 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Misc.inst) |
8521 | 1.61k | return _internal_inst(); |
8522 | 1.61k | } |
8523 | 0 | inline ::xmlProtoFuzzer::ProcessingInstruction* Misc::unsafe_arena_release_inst() { |
8524 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.Misc.inst) |
8525 | 0 | if (misc_oneof_case() == kInst) { |
8526 | 0 | clear_has_misc_oneof(); |
8527 | 0 | auto* temp = _impl_.misc_oneof_.inst_; |
8528 | 0 | _impl_.misc_oneof_.inst_ = nullptr; |
8529 | 0 | return temp; |
8530 | 0 | } else { |
8531 | 0 | return nullptr; |
8532 | 0 | } |
8533 | 0 | } |
8534 | 0 | inline void Misc::unsafe_arena_set_allocated_inst(::xmlProtoFuzzer::ProcessingInstruction* value) { |
8535 | 0 | // We rely on the oneof clear method to free the earlier contents |
8536 | 0 | // of this oneof. We can directly use the pointer we're given to |
8537 | 0 | // set the new value. |
8538 | 0 | clear_misc_oneof(); |
8539 | 0 | if (value) { |
8540 | 0 | set_has_inst(); |
8541 | 0 | _impl_.misc_oneof_.inst_ = value; |
8542 | 0 | } |
8543 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.Misc.inst) |
8544 | 0 | } |
8545 | 0 | inline ::xmlProtoFuzzer::ProcessingInstruction* Misc::_internal_mutable_inst() { |
8546 | 0 | if (misc_oneof_case() != kInst) { |
8547 | 0 | clear_misc_oneof(); |
8548 | 0 | set_has_inst(); |
8549 | 0 | _impl_.misc_oneof_.inst_ = |
8550 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::ProcessingInstruction>(GetArena()); |
8551 | 0 | } |
8552 | 0 | return _impl_.misc_oneof_.inst_; |
8553 | 0 | } |
8554 | 0 | inline ::xmlProtoFuzzer::ProcessingInstruction* Misc::mutable_inst() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8555 | 0 | ::xmlProtoFuzzer::ProcessingInstruction* _msg = _internal_mutable_inst(); |
8556 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Misc.inst) |
8557 | 0 | return _msg; |
8558 | 0 | } |
8559 | | |
8560 | 5.30k | inline bool Misc::has_misc_oneof() const { |
8561 | 5.30k | return misc_oneof_case() != MISC_ONEOF_NOT_SET; |
8562 | 5.30k | } |
8563 | 0 | inline void Misc::clear_has_misc_oneof() { |
8564 | 0 | _impl_._oneof_case_[0] = MISC_ONEOF_NOT_SET; |
8565 | 0 | } |
8566 | 16.8k | inline Misc::MiscOneofCase Misc::misc_oneof_case() const { |
8567 | 16.8k | return Misc::MiscOneofCase(_impl_._oneof_case_[0]); |
8568 | 16.8k | } |
8569 | | // ------------------------------------------------------------------- |
8570 | | |
8571 | | // PEReference |
8572 | | |
8573 | | // string name = 1; |
8574 | 0 | inline void PEReference::clear_name() { |
8575 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8576 | 0 | _impl_.name_.ClearToEmpty(); |
8577 | 0 | } |
8578 | | inline const std::string& PEReference::name() const |
8579 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8580 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.PEReference.name) |
8581 | 0 | return _internal_name(); |
8582 | 0 | } |
8583 | | template <typename Arg_, typename... Args_> |
8584 | | inline PROTOBUF_ALWAYS_INLINE void PEReference::set_name(Arg_&& arg, |
8585 | | Args_... args) { |
8586 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
8587 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
8588 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.PEReference.name) |
8589 | | } |
8590 | 0 | inline std::string* PEReference::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8591 | 0 | std::string* _s = _internal_mutable_name(); |
8592 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.PEReference.name) |
8593 | 0 | return _s; |
8594 | 0 | } |
8595 | 0 | inline const std::string& PEReference::_internal_name() const { |
8596 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
8597 | 0 | return _impl_.name_.Get(); |
8598 | 0 | } |
8599 | 0 | inline void PEReference::_internal_set_name(const std::string& value) { |
8600 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8601 | 0 | _impl_.name_.Set(value, GetArena()); |
8602 | 0 | } |
8603 | 0 | inline std::string* PEReference::_internal_mutable_name() { |
8604 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8605 | 0 | return _impl_.name_.Mutable( GetArena()); |
8606 | 0 | } |
8607 | 0 | inline std::string* PEReference::release_name() { |
8608 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8609 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.PEReference.name) |
8610 | 0 | return _impl_.name_.Release(); |
8611 | 0 | } |
8612 | 0 | inline void PEReference::set_allocated_name(std::string* value) { |
8613 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8614 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
8615 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
8616 | 0 | _impl_.name_.Set("", GetArena()); |
8617 | 0 | } |
8618 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.PEReference.name) |
8619 | 0 | } |
8620 | | |
8621 | | // ------------------------------------------------------------------- |
8622 | | |
8623 | | // ElementDecl |
8624 | | |
8625 | | // string name = 1; |
8626 | 0 | inline void ElementDecl::clear_name() { |
8627 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8628 | 0 | _impl_.name_.ClearToEmpty(); |
8629 | 0 | } |
8630 | | inline const std::string& ElementDecl::name() const |
8631 | 5.79k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8632 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ElementDecl.name) |
8633 | 5.79k | return _internal_name(); |
8634 | 5.79k | } |
8635 | | template <typename Arg_, typename... Args_> |
8636 | | inline PROTOBUF_ALWAYS_INLINE void ElementDecl::set_name(Arg_&& arg, |
8637 | | Args_... args) { |
8638 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
8639 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
8640 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ElementDecl.name) |
8641 | | } |
8642 | 0 | inline std::string* ElementDecl::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8643 | 0 | std::string* _s = _internal_mutable_name(); |
8644 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ElementDecl.name) |
8645 | 0 | return _s; |
8646 | 0 | } |
8647 | 5.79k | inline const std::string& ElementDecl::_internal_name() const { |
8648 | 5.79k | ::google::protobuf::internal::TSanRead(&_impl_); |
8649 | 5.79k | return _impl_.name_.Get(); |
8650 | 5.79k | } |
8651 | 0 | inline void ElementDecl::_internal_set_name(const std::string& value) { |
8652 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8653 | 0 | _impl_.name_.Set(value, GetArena()); |
8654 | 0 | } |
8655 | 0 | inline std::string* ElementDecl::_internal_mutable_name() { |
8656 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8657 | 0 | return _impl_.name_.Mutable( GetArena()); |
8658 | 0 | } |
8659 | 0 | inline std::string* ElementDecl::release_name() { |
8660 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8661 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.ElementDecl.name) |
8662 | 0 | return _impl_.name_.Release(); |
8663 | 0 | } |
8664 | 0 | inline void ElementDecl::set_allocated_name(std::string* value) { |
8665 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8666 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
8667 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
8668 | 0 | _impl_.name_.Set("", GetArena()); |
8669 | 0 | } |
8670 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.ElementDecl.name) |
8671 | 0 | } |
8672 | | |
8673 | | // .xmlProtoFuzzer.ElementDecl.ContentSpec spec = 2; |
8674 | 0 | inline void ElementDecl::clear_spec() { |
8675 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8676 | 0 | _impl_.spec_ = 0; |
8677 | 0 | } |
8678 | 11.6k | inline ::xmlProtoFuzzer::ElementDecl_ContentSpec ElementDecl::spec() const { |
8679 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ElementDecl.spec) |
8680 | 11.6k | return _internal_spec(); |
8681 | 11.6k | } |
8682 | 0 | inline void ElementDecl::set_spec(::xmlProtoFuzzer::ElementDecl_ContentSpec value) { |
8683 | 0 | _internal_set_spec(value); |
8684 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ElementDecl.spec) |
8685 | 0 | } |
8686 | 11.6k | inline ::xmlProtoFuzzer::ElementDecl_ContentSpec ElementDecl::_internal_spec() const { |
8687 | 11.6k | ::google::protobuf::internal::TSanRead(&_impl_); |
8688 | 11.6k | return static_cast<::xmlProtoFuzzer::ElementDecl_ContentSpec>(_impl_.spec_); |
8689 | 11.6k | } |
8690 | 0 | inline void ElementDecl::_internal_set_spec(::xmlProtoFuzzer::ElementDecl_ContentSpec value) { |
8691 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8692 | 0 | _impl_.spec_ = value; |
8693 | 0 | } |
8694 | | |
8695 | | // repeated string cdata = 3; |
8696 | 1.65k | inline int ElementDecl::_internal_cdata_size() const { |
8697 | 1.65k | return _internal_cdata().size(); |
8698 | 1.65k | } |
8699 | 1.65k | inline int ElementDecl::cdata_size() const { |
8700 | 1.65k | return _internal_cdata_size(); |
8701 | 1.65k | } |
8702 | 0 | inline void ElementDecl::clear_cdata() { |
8703 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8704 | 0 | _impl_.cdata_.Clear(); |
8705 | 0 | } |
8706 | 0 | inline std::string* ElementDecl::add_cdata() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8707 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8708 | 0 | std::string* _s = _internal_mutable_cdata()->Add(); |
8709 | 0 | // @@protoc_insertion_point(field_add_mutable:xmlProtoFuzzer.ElementDecl.cdata) |
8710 | 0 | return _s; |
8711 | 0 | } |
8712 | | inline const std::string& ElementDecl::cdata(int index) const |
8713 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8714 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ElementDecl.cdata) |
8715 | 0 | return _internal_cdata().Get(index); |
8716 | 0 | } |
8717 | | inline std::string* ElementDecl::mutable_cdata(int index) |
8718 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8719 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ElementDecl.cdata) |
8720 | 0 | return _internal_mutable_cdata()->Mutable(index); |
8721 | 0 | } |
8722 | | template <typename Arg_, typename... Args_> |
8723 | | inline void ElementDecl::set_cdata(int index, Arg_&& value, Args_... args) { |
8724 | | ::google::protobuf::internal::AssignToString( |
8725 | | *_internal_mutable_cdata()->Mutable(index), |
8726 | | std::forward<Arg_>(value), args... ); |
8727 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ElementDecl.cdata) |
8728 | | } |
8729 | | template <typename Arg_, typename... Args_> |
8730 | | inline void ElementDecl::add_cdata(Arg_&& value, Args_... args) { |
8731 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
8732 | | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_cdata(), |
8733 | | std::forward<Arg_>(value), |
8734 | | args... ); |
8735 | | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.ElementDecl.cdata) |
8736 | | } |
8737 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
8738 | 3.00k | ElementDecl::cdata() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8739 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.ElementDecl.cdata) |
8740 | 3.00k | return _internal_cdata(); |
8741 | 3.00k | } |
8742 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
8743 | 0 | ElementDecl::mutable_cdata() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8744 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.ElementDecl.cdata) |
8745 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8746 | 0 | return _internal_mutable_cdata(); |
8747 | 0 | } |
8748 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
8749 | 4.65k | ElementDecl::_internal_cdata() const { |
8750 | 4.65k | ::google::protobuf::internal::TSanRead(&_impl_); |
8751 | 4.65k | return _impl_.cdata_; |
8752 | 4.65k | } |
8753 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
8754 | 0 | ElementDecl::_internal_mutable_cdata() { |
8755 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
8756 | 0 | return &_impl_.cdata_; |
8757 | 0 | } |
8758 | | |
8759 | | // ------------------------------------------------------------------- |
8760 | | |
8761 | | // AttrType |
8762 | | |
8763 | | // .xmlProtoFuzzer.AttrType.Type ty = 1; |
8764 | 0 | inline void AttrType::clear_ty() { |
8765 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8766 | 0 | _impl_.ty_ = 0; |
8767 | 0 | } |
8768 | 0 | inline ::xmlProtoFuzzer::AttrType_Type AttrType::ty() const { |
8769 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttrType.ty) |
8770 | 0 | return _internal_ty(); |
8771 | 0 | } |
8772 | 0 | inline void AttrType::set_ty(::xmlProtoFuzzer::AttrType_Type value) { |
8773 | 0 | _internal_set_ty(value); |
8774 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttrType.ty) |
8775 | 0 | } |
8776 | 0 | inline ::xmlProtoFuzzer::AttrType_Type AttrType::_internal_ty() const { |
8777 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
8778 | 0 | return static_cast<::xmlProtoFuzzer::AttrType_Type>(_impl_.ty_); |
8779 | 0 | } |
8780 | 0 | inline void AttrType::_internal_set_ty(::xmlProtoFuzzer::AttrType_Type value) { |
8781 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8782 | 0 | _impl_.ty_ = value; |
8783 | 0 | } |
8784 | | |
8785 | | // ------------------------------------------------------------------- |
8786 | | |
8787 | | // EnumeratedType |
8788 | | |
8789 | | // repeated string names = 1; |
8790 | 0 | inline int EnumeratedType::_internal_names_size() const { |
8791 | 0 | return _internal_names().size(); |
8792 | 0 | } |
8793 | 0 | inline int EnumeratedType::names_size() const { |
8794 | 0 | return _internal_names_size(); |
8795 | 0 | } |
8796 | 0 | inline void EnumeratedType::clear_names() { |
8797 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8798 | 0 | _impl_.names_.Clear(); |
8799 | 0 | } |
8800 | 0 | inline std::string* EnumeratedType::add_names() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8801 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8802 | 0 | std::string* _s = _internal_mutable_names()->Add(); |
8803 | 0 | // @@protoc_insertion_point(field_add_mutable:xmlProtoFuzzer.EnumeratedType.names) |
8804 | 0 | return _s; |
8805 | 0 | } |
8806 | | inline const std::string& EnumeratedType::names(int index) const |
8807 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8808 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EnumeratedType.names) |
8809 | 0 | return _internal_names().Get(index); |
8810 | 0 | } |
8811 | | inline std::string* EnumeratedType::mutable_names(int index) |
8812 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8813 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EnumeratedType.names) |
8814 | 0 | return _internal_mutable_names()->Mutable(index); |
8815 | 0 | } |
8816 | | template <typename Arg_, typename... Args_> |
8817 | | inline void EnumeratedType::set_names(int index, Arg_&& value, Args_... args) { |
8818 | | ::google::protobuf::internal::AssignToString( |
8819 | | *_internal_mutable_names()->Mutable(index), |
8820 | | std::forward<Arg_>(value), args... ); |
8821 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.EnumeratedType.names) |
8822 | | } |
8823 | | template <typename Arg_, typename... Args_> |
8824 | | inline void EnumeratedType::add_names(Arg_&& value, Args_... args) { |
8825 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
8826 | | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_names(), |
8827 | | std::forward<Arg_>(value), |
8828 | | args... ); |
8829 | | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.EnumeratedType.names) |
8830 | | } |
8831 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
8832 | 0 | EnumeratedType::names() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8833 | 0 | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.EnumeratedType.names) |
8834 | 0 | return _internal_names(); |
8835 | 0 | } |
8836 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
8837 | 0 | EnumeratedType::mutable_names() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8838 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.EnumeratedType.names) |
8839 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8840 | 0 | return _internal_mutable_names(); |
8841 | 0 | } |
8842 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
8843 | 0 | EnumeratedType::_internal_names() const { |
8844 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
8845 | 0 | return _impl_.names_; |
8846 | 0 | } |
8847 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
8848 | 0 | EnumeratedType::_internal_mutable_names() { |
8849 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
8850 | 0 | return &_impl_.names_; |
8851 | 0 | } |
8852 | | |
8853 | | // ------------------------------------------------------------------- |
8854 | | |
8855 | | // AttrListDecl |
8856 | | |
8857 | | // string name = 1; |
8858 | 0 | inline void AttrListDecl::clear_name() { |
8859 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8860 | 0 | _impl_.name_.ClearToEmpty(); |
8861 | 0 | } |
8862 | | inline const std::string& AttrListDecl::name() const |
8863 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8864 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttrListDecl.name) |
8865 | 0 | return _internal_name(); |
8866 | 0 | } |
8867 | | template <typename Arg_, typename... Args_> |
8868 | | inline PROTOBUF_ALWAYS_INLINE void AttrListDecl::set_name(Arg_&& arg, |
8869 | | Args_... args) { |
8870 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
8871 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
8872 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttrListDecl.name) |
8873 | | } |
8874 | 0 | inline std::string* AttrListDecl::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8875 | 0 | std::string* _s = _internal_mutable_name(); |
8876 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttrListDecl.name) |
8877 | 0 | return _s; |
8878 | 0 | } |
8879 | 0 | inline const std::string& AttrListDecl::_internal_name() const { |
8880 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
8881 | 0 | return _impl_.name_.Get(); |
8882 | 0 | } |
8883 | 0 | inline void AttrListDecl::_internal_set_name(const std::string& value) { |
8884 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8885 | 0 | _impl_.name_.Set(value, GetArena()); |
8886 | 0 | } |
8887 | 0 | inline std::string* AttrListDecl::_internal_mutable_name() { |
8888 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8889 | 0 | return _impl_.name_.Mutable( GetArena()); |
8890 | 0 | } |
8891 | 0 | inline std::string* AttrListDecl::release_name() { |
8892 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8893 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.AttrListDecl.name) |
8894 | 0 | return _impl_.name_.Release(); |
8895 | 0 | } |
8896 | 0 | inline void AttrListDecl::set_allocated_name(std::string* value) { |
8897 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8898 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
8899 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
8900 | 0 | _impl_.name_.Set("", GetArena()); |
8901 | 0 | } |
8902 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.AttrListDecl.name) |
8903 | 0 | } |
8904 | | |
8905 | | // .xmlProtoFuzzer.AttrType atype = 2; |
8906 | 0 | inline bool AttrListDecl::has_atype() const { |
8907 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
8908 | 0 | PROTOBUF_ASSUME(!value || _impl_.atype_ != nullptr); |
8909 | 0 | return value; |
8910 | 0 | } |
8911 | 0 | inline void AttrListDecl::clear_atype() { |
8912 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8913 | 0 | if (_impl_.atype_ != nullptr) _impl_.atype_->Clear(); |
8914 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
8915 | 0 | } |
8916 | 0 | inline const ::xmlProtoFuzzer::AttrType& AttrListDecl::_internal_atype() const { |
8917 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
8918 | 0 | const ::xmlProtoFuzzer::AttrType* p = _impl_.atype_; |
8919 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::AttrType&>(::xmlProtoFuzzer::_AttrType_default_instance_); |
8920 | 0 | } |
8921 | 0 | inline const ::xmlProtoFuzzer::AttrType& AttrListDecl::atype() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8922 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttrListDecl.atype) |
8923 | 0 | return _internal_atype(); |
8924 | 0 | } |
8925 | 0 | inline void AttrListDecl::unsafe_arena_set_allocated_atype(::xmlProtoFuzzer::AttrType* value) { |
8926 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8927 | 0 | if (GetArena() == nullptr) { |
8928 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.atype_); |
8929 | 0 | } |
8930 | 0 | _impl_.atype_ = reinterpret_cast<::xmlProtoFuzzer::AttrType*>(value); |
8931 | 0 | if (value != nullptr) { |
8932 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
8933 | 0 | } else { |
8934 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
8935 | 0 | } |
8936 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.AttrListDecl.atype) |
8937 | 0 | } |
8938 | 0 | inline ::xmlProtoFuzzer::AttrType* AttrListDecl::release_atype() { |
8939 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8940 | 0 |
|
8941 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
8942 | 0 | ::xmlProtoFuzzer::AttrType* released = _impl_.atype_; |
8943 | 0 | _impl_.atype_ = nullptr; |
8944 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
8945 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
8946 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
8947 | 0 | if (GetArena() == nullptr) { |
8948 | 0 | delete old; |
8949 | 0 | } |
8950 | 0 | } else { |
8951 | 0 | if (GetArena() != nullptr) { |
8952 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
8953 | 0 | } |
8954 | 0 | } |
8955 | 0 | return released; |
8956 | 0 | } |
8957 | 0 | inline ::xmlProtoFuzzer::AttrType* AttrListDecl::unsafe_arena_release_atype() { |
8958 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8959 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.AttrListDecl.atype) |
8960 | 0 |
|
8961 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
8962 | 0 | ::xmlProtoFuzzer::AttrType* temp = _impl_.atype_; |
8963 | 0 | _impl_.atype_ = nullptr; |
8964 | 0 | return temp; |
8965 | 0 | } |
8966 | 0 | inline ::xmlProtoFuzzer::AttrType* AttrListDecl::_internal_mutable_atype() { |
8967 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8968 | 0 | if (_impl_.atype_ == nullptr) { |
8969 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::AttrType>(GetArena()); |
8970 | 0 | _impl_.atype_ = reinterpret_cast<::xmlProtoFuzzer::AttrType*>(p); |
8971 | 0 | } |
8972 | 0 | return _impl_.atype_; |
8973 | 0 | } |
8974 | 0 | inline ::xmlProtoFuzzer::AttrType* AttrListDecl::mutable_atype() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
8975 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
8976 | 0 | ::xmlProtoFuzzer::AttrType* _msg = _internal_mutable_atype(); |
8977 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttrListDecl.atype) |
8978 | 0 | return _msg; |
8979 | 0 | } |
8980 | 0 | inline void AttrListDecl::set_allocated_atype(::xmlProtoFuzzer::AttrType* value) { |
8981 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
8982 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
8983 | 0 | if (message_arena == nullptr) { |
8984 | 0 | delete (_impl_.atype_); |
8985 | 0 | } |
8986 | 0 |
|
8987 | 0 | if (value != nullptr) { |
8988 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
8989 | 0 | if (message_arena != submessage_arena) { |
8990 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
8991 | 0 | } |
8992 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
8993 | 0 | } else { |
8994 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
8995 | 0 | } |
8996 | 0 |
|
8997 | 0 | _impl_.atype_ = reinterpret_cast<::xmlProtoFuzzer::AttrType*>(value); |
8998 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.AttrListDecl.atype) |
8999 | 0 | } |
9000 | | |
9001 | | // .xmlProtoFuzzer.EnumeratedType etype = 3; |
9002 | 0 | inline bool AttrListDecl::has_etype() const { |
9003 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
9004 | 0 | PROTOBUF_ASSUME(!value || _impl_.etype_ != nullptr); |
9005 | 0 | return value; |
9006 | 0 | } |
9007 | 0 | inline void AttrListDecl::clear_etype() { |
9008 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9009 | 0 | if (_impl_.etype_ != nullptr) _impl_.etype_->Clear(); |
9010 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9011 | 0 | } |
9012 | 0 | inline const ::xmlProtoFuzzer::EnumeratedType& AttrListDecl::_internal_etype() const { |
9013 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
9014 | 0 | const ::xmlProtoFuzzer::EnumeratedType* p = _impl_.etype_; |
9015 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::EnumeratedType&>(::xmlProtoFuzzer::_EnumeratedType_default_instance_); |
9016 | 0 | } |
9017 | 0 | inline const ::xmlProtoFuzzer::EnumeratedType& AttrListDecl::etype() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9018 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttrListDecl.etype) |
9019 | 0 | return _internal_etype(); |
9020 | 0 | } |
9021 | 0 | inline void AttrListDecl::unsafe_arena_set_allocated_etype(::xmlProtoFuzzer::EnumeratedType* value) { |
9022 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9023 | 0 | if (GetArena() == nullptr) { |
9024 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.etype_); |
9025 | 0 | } |
9026 | 0 | _impl_.etype_ = reinterpret_cast<::xmlProtoFuzzer::EnumeratedType*>(value); |
9027 | 0 | if (value != nullptr) { |
9028 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
9029 | 0 | } else { |
9030 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9031 | 0 | } |
9032 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.AttrListDecl.etype) |
9033 | 0 | } |
9034 | 0 | inline ::xmlProtoFuzzer::EnumeratedType* AttrListDecl::release_etype() { |
9035 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9036 | 0 |
|
9037 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9038 | 0 | ::xmlProtoFuzzer::EnumeratedType* released = _impl_.etype_; |
9039 | 0 | _impl_.etype_ = nullptr; |
9040 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
9041 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
9042 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
9043 | 0 | if (GetArena() == nullptr) { |
9044 | 0 | delete old; |
9045 | 0 | } |
9046 | 0 | } else { |
9047 | 0 | if (GetArena() != nullptr) { |
9048 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
9049 | 0 | } |
9050 | 0 | } |
9051 | 0 | return released; |
9052 | 0 | } |
9053 | 0 | inline ::xmlProtoFuzzer::EnumeratedType* AttrListDecl::unsafe_arena_release_etype() { |
9054 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9055 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.AttrListDecl.etype) |
9056 | 0 |
|
9057 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9058 | 0 | ::xmlProtoFuzzer::EnumeratedType* temp = _impl_.etype_; |
9059 | 0 | _impl_.etype_ = nullptr; |
9060 | 0 | return temp; |
9061 | 0 | } |
9062 | 0 | inline ::xmlProtoFuzzer::EnumeratedType* AttrListDecl::_internal_mutable_etype() { |
9063 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9064 | 0 | if (_impl_.etype_ == nullptr) { |
9065 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::EnumeratedType>(GetArena()); |
9066 | 0 | _impl_.etype_ = reinterpret_cast<::xmlProtoFuzzer::EnumeratedType*>(p); |
9067 | 0 | } |
9068 | 0 | return _impl_.etype_; |
9069 | 0 | } |
9070 | 0 | inline ::xmlProtoFuzzer::EnumeratedType* AttrListDecl::mutable_etype() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9071 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
9072 | 0 | ::xmlProtoFuzzer::EnumeratedType* _msg = _internal_mutable_etype(); |
9073 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttrListDecl.etype) |
9074 | 0 | return _msg; |
9075 | 0 | } |
9076 | 0 | inline void AttrListDecl::set_allocated_etype(::xmlProtoFuzzer::EnumeratedType* value) { |
9077 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
9078 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9079 | 0 | if (message_arena == nullptr) { |
9080 | 0 | delete (_impl_.etype_); |
9081 | 0 | } |
9082 | 0 |
|
9083 | 0 | if (value != nullptr) { |
9084 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
9085 | 0 | if (message_arena != submessage_arena) { |
9086 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
9087 | 0 | } |
9088 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
9089 | 0 | } else { |
9090 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
9091 | 0 | } |
9092 | 0 |
|
9093 | 0 | _impl_.etype_ = reinterpret_cast<::xmlProtoFuzzer::EnumeratedType*>(value); |
9094 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.AttrListDecl.etype) |
9095 | 0 | } |
9096 | | |
9097 | | // .xmlProtoFuzzer.DefaultDecl def = 4; |
9098 | 0 | inline bool AttrListDecl::has_def() const { |
9099 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; |
9100 | 0 | PROTOBUF_ASSUME(!value || _impl_.def_ != nullptr); |
9101 | 0 | return value; |
9102 | 0 | } |
9103 | 0 | inline void AttrListDecl::clear_def() { |
9104 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9105 | 0 | if (_impl_.def_ != nullptr) _impl_.def_->Clear(); |
9106 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
9107 | 0 | } |
9108 | 0 | inline const ::xmlProtoFuzzer::DefaultDecl& AttrListDecl::_internal_def() const { |
9109 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
9110 | 0 | const ::xmlProtoFuzzer::DefaultDecl* p = _impl_.def_; |
9111 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::DefaultDecl&>(::xmlProtoFuzzer::_DefaultDecl_default_instance_); |
9112 | 0 | } |
9113 | 0 | inline const ::xmlProtoFuzzer::DefaultDecl& AttrListDecl::def() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9114 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttrListDecl.def) |
9115 | 0 | return _internal_def(); |
9116 | 0 | } |
9117 | 0 | inline void AttrListDecl::unsafe_arena_set_allocated_def(::xmlProtoFuzzer::DefaultDecl* value) { |
9118 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9119 | 0 | if (GetArena() == nullptr) { |
9120 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.def_); |
9121 | 0 | } |
9122 | 0 | _impl_.def_ = reinterpret_cast<::xmlProtoFuzzer::DefaultDecl*>(value); |
9123 | 0 | if (value != nullptr) { |
9124 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
9125 | 0 | } else { |
9126 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
9127 | 0 | } |
9128 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.AttrListDecl.def) |
9129 | 0 | } |
9130 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttrListDecl::release_def() { |
9131 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9132 | 0 |
|
9133 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
9134 | 0 | ::xmlProtoFuzzer::DefaultDecl* released = _impl_.def_; |
9135 | 0 | _impl_.def_ = nullptr; |
9136 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
9137 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
9138 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
9139 | 0 | if (GetArena() == nullptr) { |
9140 | 0 | delete old; |
9141 | 0 | } |
9142 | 0 | } else { |
9143 | 0 | if (GetArena() != nullptr) { |
9144 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
9145 | 0 | } |
9146 | 0 | } |
9147 | 0 | return released; |
9148 | 0 | } |
9149 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttrListDecl::unsafe_arena_release_def() { |
9150 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9151 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.AttrListDecl.def) |
9152 | 0 |
|
9153 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
9154 | 0 | ::xmlProtoFuzzer::DefaultDecl* temp = _impl_.def_; |
9155 | 0 | _impl_.def_ = nullptr; |
9156 | 0 | return temp; |
9157 | 0 | } |
9158 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttrListDecl::_internal_mutable_def() { |
9159 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9160 | 0 | if (_impl_.def_ == nullptr) { |
9161 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::DefaultDecl>(GetArena()); |
9162 | 0 | _impl_.def_ = reinterpret_cast<::xmlProtoFuzzer::DefaultDecl*>(p); |
9163 | 0 | } |
9164 | 0 | return _impl_.def_; |
9165 | 0 | } |
9166 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttrListDecl::mutable_def() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9167 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
9168 | 0 | ::xmlProtoFuzzer::DefaultDecl* _msg = _internal_mutable_def(); |
9169 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttrListDecl.def) |
9170 | 0 | return _msg; |
9171 | 0 | } |
9172 | 0 | inline void AttrListDecl::set_allocated_def(::xmlProtoFuzzer::DefaultDecl* value) { |
9173 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
9174 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9175 | 0 | if (message_arena == nullptr) { |
9176 | 0 | delete (_impl_.def_); |
9177 | 0 | } |
9178 | 0 |
|
9179 | 0 | if (value != nullptr) { |
9180 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
9181 | 0 | if (message_arena != submessage_arena) { |
9182 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
9183 | 0 | } |
9184 | 0 | _impl_._has_bits_[0] |= 0x00000004u; |
9185 | 0 | } else { |
9186 | 0 | _impl_._has_bits_[0] &= ~0x00000004u; |
9187 | 0 | } |
9188 | 0 |
|
9189 | 0 | _impl_.def_ = reinterpret_cast<::xmlProtoFuzzer::DefaultDecl*>(value); |
9190 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.AttrListDecl.def) |
9191 | 0 | } |
9192 | | |
9193 | | // ------------------------------------------------------------------- |
9194 | | |
9195 | | // ExternalId |
9196 | | |
9197 | | // .xmlProtoFuzzer.ExternalId.Type type = 1; |
9198 | 0 | inline void ExternalId::clear_type() { |
9199 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9200 | 0 | _impl_.type_ = 0; |
9201 | 0 | } |
9202 | 25.4k | inline ::xmlProtoFuzzer::ExternalId_Type ExternalId::type() const { |
9203 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ExternalId.type) |
9204 | 25.4k | return _internal_type(); |
9205 | 25.4k | } |
9206 | 0 | inline void ExternalId::set_type(::xmlProtoFuzzer::ExternalId_Type value) { |
9207 | 0 | _internal_set_type(value); |
9208 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ExternalId.type) |
9209 | 0 | } |
9210 | 30.0k | inline ::xmlProtoFuzzer::ExternalId_Type ExternalId::_internal_type() const { |
9211 | 30.0k | ::google::protobuf::internal::TSanRead(&_impl_); |
9212 | 30.0k | return static_cast<::xmlProtoFuzzer::ExternalId_Type>(_impl_.type_); |
9213 | 30.0k | } |
9214 | 0 | inline void ExternalId::_internal_set_type(::xmlProtoFuzzer::ExternalId_Type value) { |
9215 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9216 | 0 | _impl_.type_ = value; |
9217 | 0 | } |
9218 | | |
9219 | | // string system = 2; |
9220 | 0 | inline void ExternalId::clear_system() { |
9221 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9222 | 0 | _impl_.system_.ClearToEmpty(); |
9223 | 0 | } |
9224 | | inline const std::string& ExternalId::system() const |
9225 | 10.8k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9226 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ExternalId.system) |
9227 | 10.8k | return _internal_system(); |
9228 | 10.8k | } |
9229 | | template <typename Arg_, typename... Args_> |
9230 | | inline PROTOBUF_ALWAYS_INLINE void ExternalId::set_system(Arg_&& arg, |
9231 | | Args_... args) { |
9232 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
9233 | | _impl_.system_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
9234 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ExternalId.system) |
9235 | | } |
9236 | 0 | inline std::string* ExternalId::mutable_system() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9237 | 0 | std::string* _s = _internal_mutable_system(); |
9238 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ExternalId.system) |
9239 | 0 | return _s; |
9240 | 0 | } |
9241 | 15.0k | inline const std::string& ExternalId::_internal_system() const { |
9242 | 15.0k | ::google::protobuf::internal::TSanRead(&_impl_); |
9243 | 15.0k | return _impl_.system_.Get(); |
9244 | 15.0k | } |
9245 | 0 | inline void ExternalId::_internal_set_system(const std::string& value) { |
9246 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9247 | 0 | _impl_.system_.Set(value, GetArena()); |
9248 | 0 | } |
9249 | 0 | inline std::string* ExternalId::_internal_mutable_system() { |
9250 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9251 | 0 | return _impl_.system_.Mutable( GetArena()); |
9252 | 0 | } |
9253 | 0 | inline std::string* ExternalId::release_system() { |
9254 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9255 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.ExternalId.system) |
9256 | 0 | return _impl_.system_.Release(); |
9257 | 0 | } |
9258 | 0 | inline void ExternalId::set_allocated_system(std::string* value) { |
9259 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9260 | 0 | _impl_.system_.SetAllocated(value, GetArena()); |
9261 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.system_.IsDefault()) { |
9262 | 0 | _impl_.system_.Set("", GetArena()); |
9263 | 0 | } |
9264 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.ExternalId.system) |
9265 | 0 | } |
9266 | | |
9267 | | // string pub = 3; |
9268 | 0 | inline void ExternalId::clear_pub() { |
9269 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9270 | 0 | _impl_.pub_.ClearToEmpty(); |
9271 | 0 | } |
9272 | | inline const std::string& ExternalId::pub() const |
9273 | 2.13k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9274 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ExternalId.pub) |
9275 | 2.13k | return _internal_pub(); |
9276 | 2.13k | } |
9277 | | template <typename Arg_, typename... Args_> |
9278 | | inline PROTOBUF_ALWAYS_INLINE void ExternalId::set_pub(Arg_&& arg, |
9279 | | Args_... args) { |
9280 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
9281 | | _impl_.pub_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
9282 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ExternalId.pub) |
9283 | | } |
9284 | 0 | inline std::string* ExternalId::mutable_pub() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9285 | 0 | std::string* _s = _internal_mutable_pub(); |
9286 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ExternalId.pub) |
9287 | 0 | return _s; |
9288 | 0 | } |
9289 | 6.38k | inline const std::string& ExternalId::_internal_pub() const { |
9290 | 6.38k | ::google::protobuf::internal::TSanRead(&_impl_); |
9291 | 6.38k | return _impl_.pub_.Get(); |
9292 | 6.38k | } |
9293 | 0 | inline void ExternalId::_internal_set_pub(const std::string& value) { |
9294 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9295 | 0 | _impl_.pub_.Set(value, GetArena()); |
9296 | 0 | } |
9297 | 0 | inline std::string* ExternalId::_internal_mutable_pub() { |
9298 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9299 | 0 | return _impl_.pub_.Mutable( GetArena()); |
9300 | 0 | } |
9301 | 0 | inline std::string* ExternalId::release_pub() { |
9302 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9303 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.ExternalId.pub) |
9304 | 0 | return _impl_.pub_.Release(); |
9305 | 0 | } |
9306 | 0 | inline void ExternalId::set_allocated_pub(std::string* value) { |
9307 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9308 | 0 | _impl_.pub_.SetAllocated(value, GetArena()); |
9309 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.pub_.IsDefault()) { |
9310 | 0 | _impl_.pub_.Set("", GetArena()); |
9311 | 0 | } |
9312 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.ExternalId.pub) |
9313 | 0 | } |
9314 | | |
9315 | | // ------------------------------------------------------------------- |
9316 | | |
9317 | | // AttValue |
9318 | | |
9319 | | // .xmlProtoFuzzer.AttValue.Type type = 1; |
9320 | 0 | inline void AttValue::clear_type() { |
9321 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9322 | 0 | _impl_.type_ = 0; |
9323 | 0 | } |
9324 | 11.6k | inline ::xmlProtoFuzzer::AttValue_Type AttValue::type() const { |
9325 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttValue.type) |
9326 | 11.6k | return _internal_type(); |
9327 | 11.6k | } |
9328 | 0 | inline void AttValue::set_type(::xmlProtoFuzzer::AttValue_Type value) { |
9329 | 0 | _internal_set_type(value); |
9330 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttValue.type) |
9331 | 0 | } |
9332 | 14.8k | inline ::xmlProtoFuzzer::AttValue_Type AttValue::_internal_type() const { |
9333 | 14.8k | ::google::protobuf::internal::TSanRead(&_impl_); |
9334 | 14.8k | return static_cast<::xmlProtoFuzzer::AttValue_Type>(_impl_.type_); |
9335 | 14.8k | } |
9336 | 0 | inline void AttValue::_internal_set_type(::xmlProtoFuzzer::AttValue_Type value) { |
9337 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9338 | 0 | _impl_.type_ = value; |
9339 | 0 | } |
9340 | | |
9341 | | // repeated string value = 2; |
9342 | 0 | inline int AttValue::_internal_value_size() const { |
9343 | 0 | return _internal_value().size(); |
9344 | 0 | } |
9345 | 0 | inline int AttValue::value_size() const { |
9346 | 0 | return _internal_value_size(); |
9347 | 0 | } |
9348 | 0 | inline void AttValue::clear_value() { |
9349 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9350 | 0 | _impl_.value_.Clear(); |
9351 | 0 | } |
9352 | 0 | inline std::string* AttValue::add_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9353 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9354 | 0 | std::string* _s = _internal_mutable_value()->Add(); |
9355 | 0 | // @@protoc_insertion_point(field_add_mutable:xmlProtoFuzzer.AttValue.value) |
9356 | 0 | return _s; |
9357 | 0 | } |
9358 | | inline const std::string& AttValue::value(int index) const |
9359 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9360 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttValue.value) |
9361 | 0 | return _internal_value().Get(index); |
9362 | 0 | } |
9363 | | inline std::string* AttValue::mutable_value(int index) |
9364 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9365 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttValue.value) |
9366 | 0 | return _internal_mutable_value()->Mutable(index); |
9367 | 0 | } |
9368 | | template <typename Arg_, typename... Args_> |
9369 | | inline void AttValue::set_value(int index, Arg_&& value, Args_... args) { |
9370 | | ::google::protobuf::internal::AssignToString( |
9371 | | *_internal_mutable_value()->Mutable(index), |
9372 | | std::forward<Arg_>(value), args... ); |
9373 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttValue.value) |
9374 | | } |
9375 | | template <typename Arg_, typename... Args_> |
9376 | | inline void AttValue::add_value(Arg_&& value, Args_... args) { |
9377 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
9378 | | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_value(), |
9379 | | std::forward<Arg_>(value), |
9380 | | args... ); |
9381 | | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.AttValue.value) |
9382 | | } |
9383 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
9384 | 5.72k | AttValue::value() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9385 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.AttValue.value) |
9386 | 5.72k | return _internal_value(); |
9387 | 5.72k | } |
9388 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
9389 | 0 | AttValue::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9390 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.AttValue.value) |
9391 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9392 | 0 | return _internal_mutable_value(); |
9393 | 0 | } |
9394 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
9395 | 11.1k | AttValue::_internal_value() const { |
9396 | 11.1k | ::google::protobuf::internal::TSanRead(&_impl_); |
9397 | 11.1k | return _impl_.value_; |
9398 | 11.1k | } |
9399 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
9400 | 0 | AttValue::_internal_mutable_value() { |
9401 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
9402 | 0 | return &_impl_.value_; |
9403 | 0 | } |
9404 | | |
9405 | | // ------------------------------------------------------------------- |
9406 | | |
9407 | | // DefaultDecl |
9408 | | |
9409 | | // .xmlProtoFuzzer.DefaultDecl.Type type = 1; |
9410 | 0 | inline void DefaultDecl::clear_type() { |
9411 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9412 | 0 | _impl_.type_ = 0; |
9413 | 0 | } |
9414 | 41.2k | inline ::xmlProtoFuzzer::DefaultDecl_Type DefaultDecl::type() const { |
9415 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.DefaultDecl.type) |
9416 | 41.2k | return _internal_type(); |
9417 | 41.2k | } |
9418 | 0 | inline void DefaultDecl::set_type(::xmlProtoFuzzer::DefaultDecl_Type value) { |
9419 | 0 | _internal_set_type(value); |
9420 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.DefaultDecl.type) |
9421 | 0 | } |
9422 | 41.2k | inline ::xmlProtoFuzzer::DefaultDecl_Type DefaultDecl::_internal_type() const { |
9423 | 41.2k | ::google::protobuf::internal::TSanRead(&_impl_); |
9424 | 41.2k | return static_cast<::xmlProtoFuzzer::DefaultDecl_Type>(_impl_.type_); |
9425 | 41.2k | } |
9426 | 0 | inline void DefaultDecl::_internal_set_type(::xmlProtoFuzzer::DefaultDecl_Type value) { |
9427 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9428 | 0 | _impl_.type_ = value; |
9429 | 0 | } |
9430 | | |
9431 | | // .xmlProtoFuzzer.AttValue att = 2; |
9432 | 0 | inline bool DefaultDecl::has_att() const { |
9433 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
9434 | 0 | PROTOBUF_ASSUME(!value || _impl_.att_ != nullptr); |
9435 | 0 | return value; |
9436 | 0 | } |
9437 | 0 | inline void DefaultDecl::clear_att() { |
9438 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9439 | 0 | if (_impl_.att_ != nullptr) _impl_.att_->Clear(); |
9440 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9441 | 0 | } |
9442 | 5.94k | inline const ::xmlProtoFuzzer::AttValue& DefaultDecl::_internal_att() const { |
9443 | 5.94k | ::google::protobuf::internal::TSanRead(&_impl_); |
9444 | 5.94k | const ::xmlProtoFuzzer::AttValue* p = _impl_.att_; |
9445 | 5.94k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::AttValue&>(::xmlProtoFuzzer::_AttValue_default_instance_); |
9446 | 5.94k | } |
9447 | 5.94k | inline const ::xmlProtoFuzzer::AttValue& DefaultDecl::att() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9448 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.DefaultDecl.att) |
9449 | 5.94k | return _internal_att(); |
9450 | 5.94k | } |
9451 | 0 | inline void DefaultDecl::unsafe_arena_set_allocated_att(::xmlProtoFuzzer::AttValue* value) { |
9452 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9453 | 0 | if (GetArena() == nullptr) { |
9454 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.att_); |
9455 | 0 | } |
9456 | 0 | _impl_.att_ = reinterpret_cast<::xmlProtoFuzzer::AttValue*>(value); |
9457 | 0 | if (value != nullptr) { |
9458 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9459 | 0 | } else { |
9460 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9461 | 0 | } |
9462 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.DefaultDecl.att) |
9463 | 0 | } |
9464 | 0 | inline ::xmlProtoFuzzer::AttValue* DefaultDecl::release_att() { |
9465 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9466 | 0 |
|
9467 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9468 | 0 | ::xmlProtoFuzzer::AttValue* released = _impl_.att_; |
9469 | 0 | _impl_.att_ = nullptr; |
9470 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
9471 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
9472 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
9473 | 0 | if (GetArena() == nullptr) { |
9474 | 0 | delete old; |
9475 | 0 | } |
9476 | 0 | } else { |
9477 | 0 | if (GetArena() != nullptr) { |
9478 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
9479 | 0 | } |
9480 | 0 | } |
9481 | 0 | return released; |
9482 | 0 | } |
9483 | 0 | inline ::xmlProtoFuzzer::AttValue* DefaultDecl::unsafe_arena_release_att() { |
9484 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9485 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.DefaultDecl.att) |
9486 | 0 |
|
9487 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9488 | 0 | ::xmlProtoFuzzer::AttValue* temp = _impl_.att_; |
9489 | 0 | _impl_.att_ = nullptr; |
9490 | 0 | return temp; |
9491 | 0 | } |
9492 | 0 | inline ::xmlProtoFuzzer::AttValue* DefaultDecl::_internal_mutable_att() { |
9493 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9494 | 0 | if (_impl_.att_ == nullptr) { |
9495 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::AttValue>(GetArena()); |
9496 | 0 | _impl_.att_ = reinterpret_cast<::xmlProtoFuzzer::AttValue*>(p); |
9497 | 0 | } |
9498 | 0 | return _impl_.att_; |
9499 | 0 | } |
9500 | 0 | inline ::xmlProtoFuzzer::AttValue* DefaultDecl::mutable_att() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9501 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9502 | 0 | ::xmlProtoFuzzer::AttValue* _msg = _internal_mutable_att(); |
9503 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.DefaultDecl.att) |
9504 | 0 | return _msg; |
9505 | 0 | } |
9506 | 0 | inline void DefaultDecl::set_allocated_att(::xmlProtoFuzzer::AttValue* value) { |
9507 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
9508 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9509 | 0 | if (message_arena == nullptr) { |
9510 | 0 | delete (_impl_.att_); |
9511 | 0 | } |
9512 | 0 |
|
9513 | 0 | if (value != nullptr) { |
9514 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
9515 | 0 | if (message_arena != submessage_arena) { |
9516 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
9517 | 0 | } |
9518 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9519 | 0 | } else { |
9520 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9521 | 0 | } |
9522 | 0 |
|
9523 | 0 | _impl_.att_ = reinterpret_cast<::xmlProtoFuzzer::AttValue*>(value); |
9524 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.DefaultDecl.att) |
9525 | 0 | } |
9526 | | |
9527 | | // ------------------------------------------------------------------- |
9528 | | |
9529 | | // AttDef |
9530 | | |
9531 | | // string name = 1; |
9532 | 0 | inline void AttDef::clear_name() { |
9533 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9534 | 0 | _impl_.name_.ClearToEmpty(); |
9535 | 0 | } |
9536 | | inline const std::string& AttDef::name() const |
9537 | 20.6k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9538 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttDef.name) |
9539 | 20.6k | return _internal_name(); |
9540 | 20.6k | } |
9541 | | template <typename Arg_, typename... Args_> |
9542 | | inline PROTOBUF_ALWAYS_INLINE void AttDef::set_name(Arg_&& arg, |
9543 | | Args_... args) { |
9544 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
9545 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
9546 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttDef.name) |
9547 | | } |
9548 | 0 | inline std::string* AttDef::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9549 | 0 | std::string* _s = _internal_mutable_name(); |
9550 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttDef.name) |
9551 | 0 | return _s; |
9552 | 0 | } |
9553 | 20.6k | inline const std::string& AttDef::_internal_name() const { |
9554 | 20.6k | ::google::protobuf::internal::TSanRead(&_impl_); |
9555 | 20.6k | return _impl_.name_.Get(); |
9556 | 20.6k | } |
9557 | 0 | inline void AttDef::_internal_set_name(const std::string& value) { |
9558 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9559 | 0 | _impl_.name_.Set(value, GetArena()); |
9560 | 0 | } |
9561 | 0 | inline std::string* AttDef::_internal_mutable_name() { |
9562 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9563 | 0 | return _impl_.name_.Mutable( GetArena()); |
9564 | 0 | } |
9565 | 0 | inline std::string* AttDef::release_name() { |
9566 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9567 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.AttDef.name) |
9568 | 0 | return _impl_.name_.Release(); |
9569 | 0 | } |
9570 | 0 | inline void AttDef::set_allocated_name(std::string* value) { |
9571 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9572 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
9573 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
9574 | 0 | _impl_.name_.Set("", GetArena()); |
9575 | 0 | } |
9576 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.AttDef.name) |
9577 | 0 | } |
9578 | | |
9579 | | // .xmlProtoFuzzer.AttDef.Type type = 2; |
9580 | 0 | inline void AttDef::clear_type() { |
9581 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9582 | 0 | _impl_.type_ = 0; |
9583 | 0 | } |
9584 | 41.4k | inline ::xmlProtoFuzzer::AttDef_Type AttDef::type() const { |
9585 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttDef.type) |
9586 | 41.4k | return _internal_type(); |
9587 | 41.4k | } |
9588 | 0 | inline void AttDef::set_type(::xmlProtoFuzzer::AttDef_Type value) { |
9589 | 0 | _internal_set_type(value); |
9590 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttDef.type) |
9591 | 0 | } |
9592 | 41.4k | inline ::xmlProtoFuzzer::AttDef_Type AttDef::_internal_type() const { |
9593 | 41.4k | ::google::protobuf::internal::TSanRead(&_impl_); |
9594 | 41.4k | return static_cast<::xmlProtoFuzzer::AttDef_Type>(_impl_.type_); |
9595 | 41.4k | } |
9596 | 0 | inline void AttDef::_internal_set_type(::xmlProtoFuzzer::AttDef_Type value) { |
9597 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9598 | 0 | _impl_.type_ = value; |
9599 | 0 | } |
9600 | | |
9601 | | // .xmlProtoFuzzer.DefaultDecl def = 3; |
9602 | 0 | inline bool AttDef::has_def() const { |
9603 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
9604 | 0 | PROTOBUF_ASSUME(!value || _impl_.def_ != nullptr); |
9605 | 0 | return value; |
9606 | 0 | } |
9607 | 0 | inline void AttDef::clear_def() { |
9608 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9609 | 0 | if (_impl_.def_ != nullptr) _impl_.def_->Clear(); |
9610 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9611 | 0 | } |
9612 | 20.6k | inline const ::xmlProtoFuzzer::DefaultDecl& AttDef::_internal_def() const { |
9613 | 20.6k | ::google::protobuf::internal::TSanRead(&_impl_); |
9614 | 20.6k | const ::xmlProtoFuzzer::DefaultDecl* p = _impl_.def_; |
9615 | 20.6k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::DefaultDecl&>(::xmlProtoFuzzer::_DefaultDecl_default_instance_); |
9616 | 20.6k | } |
9617 | 20.6k | inline const ::xmlProtoFuzzer::DefaultDecl& AttDef::def() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9618 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttDef.def) |
9619 | 20.6k | return _internal_def(); |
9620 | 20.6k | } |
9621 | 0 | inline void AttDef::unsafe_arena_set_allocated_def(::xmlProtoFuzzer::DefaultDecl* value) { |
9622 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9623 | 0 | if (GetArena() == nullptr) { |
9624 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.def_); |
9625 | 0 | } |
9626 | 0 | _impl_.def_ = reinterpret_cast<::xmlProtoFuzzer::DefaultDecl*>(value); |
9627 | 0 | if (value != nullptr) { |
9628 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9629 | 0 | } else { |
9630 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9631 | 0 | } |
9632 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.AttDef.def) |
9633 | 0 | } |
9634 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttDef::release_def() { |
9635 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9636 | 0 |
|
9637 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9638 | 0 | ::xmlProtoFuzzer::DefaultDecl* released = _impl_.def_; |
9639 | 0 | _impl_.def_ = nullptr; |
9640 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
9641 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
9642 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
9643 | 0 | if (GetArena() == nullptr) { |
9644 | 0 | delete old; |
9645 | 0 | } |
9646 | 0 | } else { |
9647 | 0 | if (GetArena() != nullptr) { |
9648 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
9649 | 0 | } |
9650 | 0 | } |
9651 | 0 | return released; |
9652 | 0 | } |
9653 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttDef::unsafe_arena_release_def() { |
9654 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9655 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.AttDef.def) |
9656 | 0 |
|
9657 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9658 | 0 | ::xmlProtoFuzzer::DefaultDecl* temp = _impl_.def_; |
9659 | 0 | _impl_.def_ = nullptr; |
9660 | 0 | return temp; |
9661 | 0 | } |
9662 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttDef::_internal_mutable_def() { |
9663 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9664 | 0 | if (_impl_.def_ == nullptr) { |
9665 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::DefaultDecl>(GetArena()); |
9666 | 0 | _impl_.def_ = reinterpret_cast<::xmlProtoFuzzer::DefaultDecl*>(p); |
9667 | 0 | } |
9668 | 0 | return _impl_.def_; |
9669 | 0 | } |
9670 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttDef::mutable_def() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9671 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9672 | 0 | ::xmlProtoFuzzer::DefaultDecl* _msg = _internal_mutable_def(); |
9673 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttDef.def) |
9674 | 0 | return _msg; |
9675 | 0 | } |
9676 | 0 | inline void AttDef::set_allocated_def(::xmlProtoFuzzer::DefaultDecl* value) { |
9677 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
9678 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9679 | 0 | if (message_arena == nullptr) { |
9680 | 0 | delete (_impl_.def_); |
9681 | 0 | } |
9682 | 0 |
|
9683 | 0 | if (value != nullptr) { |
9684 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
9685 | 0 | if (message_arena != submessage_arena) { |
9686 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
9687 | 0 | } |
9688 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
9689 | 0 | } else { |
9690 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
9691 | 0 | } |
9692 | 0 |
|
9693 | 0 | _impl_.def_ = reinterpret_cast<::xmlProtoFuzzer::DefaultDecl*>(value); |
9694 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.AttDef.def) |
9695 | 0 | } |
9696 | | |
9697 | | // ------------------------------------------------------------------- |
9698 | | |
9699 | | // AttListDecl |
9700 | | |
9701 | | // string name = 1; |
9702 | 0 | inline void AttListDecl::clear_name() { |
9703 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9704 | 0 | _impl_.name_.ClearToEmpty(); |
9705 | 0 | } |
9706 | | inline const std::string& AttListDecl::name() const |
9707 | 5.09k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9708 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttListDecl.name) |
9709 | 5.09k | return _internal_name(); |
9710 | 5.09k | } |
9711 | | template <typename Arg_, typename... Args_> |
9712 | | inline PROTOBUF_ALWAYS_INLINE void AttListDecl::set_name(Arg_&& arg, |
9713 | | Args_... args) { |
9714 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
9715 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
9716 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttListDecl.name) |
9717 | | } |
9718 | 0 | inline std::string* AttListDecl::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9719 | 0 | std::string* _s = _internal_mutable_name(); |
9720 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttListDecl.name) |
9721 | 0 | return _s; |
9722 | 0 | } |
9723 | 5.09k | inline const std::string& AttListDecl::_internal_name() const { |
9724 | 5.09k | ::google::protobuf::internal::TSanRead(&_impl_); |
9725 | 5.09k | return _impl_.name_.Get(); |
9726 | 5.09k | } |
9727 | 0 | inline void AttListDecl::_internal_set_name(const std::string& value) { |
9728 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9729 | 0 | _impl_.name_.Set(value, GetArena()); |
9730 | 0 | } |
9731 | 0 | inline std::string* AttListDecl::_internal_mutable_name() { |
9732 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9733 | 0 | return _impl_.name_.Mutable( GetArena()); |
9734 | 0 | } |
9735 | 0 | inline std::string* AttListDecl::release_name() { |
9736 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9737 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.AttListDecl.name) |
9738 | 0 | return _impl_.name_.Release(); |
9739 | 0 | } |
9740 | 0 | inline void AttListDecl::set_allocated_name(std::string* value) { |
9741 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9742 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
9743 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
9744 | 0 | _impl_.name_.Set("", GetArena()); |
9745 | 0 | } |
9746 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.AttListDecl.name) |
9747 | 0 | } |
9748 | | |
9749 | | // repeated .xmlProtoFuzzer.AttDef attdefs = 2; |
9750 | 0 | inline int AttListDecl::_internal_attdefs_size() const { |
9751 | 0 | return _internal_attdefs().size(); |
9752 | 0 | } |
9753 | 0 | inline int AttListDecl::attdefs_size() const { |
9754 | 0 | return _internal_attdefs_size(); |
9755 | 0 | } |
9756 | 0 | inline void AttListDecl::clear_attdefs() { |
9757 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9758 | 0 | _impl_.attdefs_.Clear(); |
9759 | 0 | } |
9760 | | inline ::xmlProtoFuzzer::AttDef* AttListDecl::mutable_attdefs(int index) |
9761 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9762 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttListDecl.attdefs) |
9763 | 0 | return _internal_mutable_attdefs()->Mutable(index); |
9764 | 0 | } |
9765 | | inline ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::AttDef>* AttListDecl::mutable_attdefs() |
9766 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9767 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.AttListDecl.attdefs) |
9768 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9769 | 0 | return _internal_mutable_attdefs(); |
9770 | 0 | } |
9771 | | inline const ::xmlProtoFuzzer::AttDef& AttListDecl::attdefs(int index) const |
9772 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9773 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttListDecl.attdefs) |
9774 | 0 | return _internal_attdefs().Get(index); |
9775 | 0 | } |
9776 | 0 | inline ::xmlProtoFuzzer::AttDef* AttListDecl::add_attdefs() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9777 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9778 | 0 | ::xmlProtoFuzzer::AttDef* _add = _internal_mutable_attdefs()->Add(); |
9779 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.AttListDecl.attdefs) |
9780 | 0 | return _add; |
9781 | 0 | } |
9782 | | inline const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::AttDef>& AttListDecl::attdefs() const |
9783 | 5.09k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9784 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.AttListDecl.attdefs) |
9785 | 5.09k | return _internal_attdefs(); |
9786 | 5.09k | } |
9787 | | inline const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::AttDef>& |
9788 | 5.09k | AttListDecl::_internal_attdefs() const { |
9789 | 5.09k | ::google::protobuf::internal::TSanRead(&_impl_); |
9790 | 5.09k | return _impl_.attdefs_; |
9791 | 5.09k | } |
9792 | | inline ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::AttDef>* |
9793 | 0 | AttListDecl::_internal_mutable_attdefs() { |
9794 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
9795 | 0 | return &_impl_.attdefs_; |
9796 | 0 | } |
9797 | | |
9798 | | // ------------------------------------------------------------------- |
9799 | | |
9800 | | // NotationDecl |
9801 | | |
9802 | | // string name = 1; |
9803 | 0 | inline void NotationDecl::clear_name() { |
9804 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9805 | 0 | _impl_.name_.ClearToEmpty(); |
9806 | 0 | } |
9807 | | inline const std::string& NotationDecl::name() const |
9808 | 4.73k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9809 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.NotationDecl.name) |
9810 | 4.73k | return _internal_name(); |
9811 | 4.73k | } |
9812 | | template <typename Arg_, typename... Args_> |
9813 | | inline PROTOBUF_ALWAYS_INLINE void NotationDecl::set_name(Arg_&& arg, |
9814 | | Args_... args) { |
9815 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
9816 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
9817 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.NotationDecl.name) |
9818 | | } |
9819 | 0 | inline std::string* NotationDecl::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9820 | 0 | std::string* _s = _internal_mutable_name(); |
9821 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.NotationDecl.name) |
9822 | 0 | return _s; |
9823 | 0 | } |
9824 | 4.73k | inline const std::string& NotationDecl::_internal_name() const { |
9825 | 4.73k | ::google::protobuf::internal::TSanRead(&_impl_); |
9826 | 4.73k | return _impl_.name_.Get(); |
9827 | 4.73k | } |
9828 | 0 | inline void NotationDecl::_internal_set_name(const std::string& value) { |
9829 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9830 | 0 | _impl_.name_.Set(value, GetArena()); |
9831 | 0 | } |
9832 | 0 | inline std::string* NotationDecl::_internal_mutable_name() { |
9833 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9834 | 0 | return _impl_.name_.Mutable( GetArena()); |
9835 | 0 | } |
9836 | 0 | inline std::string* NotationDecl::release_name() { |
9837 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9838 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.NotationDecl.name) |
9839 | 0 | return _impl_.name_.Release(); |
9840 | 0 | } |
9841 | 0 | inline void NotationDecl::set_allocated_name(std::string* value) { |
9842 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9843 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
9844 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
9845 | 0 | _impl_.name_.Set("", GetArena()); |
9846 | 0 | } |
9847 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.NotationDecl.name) |
9848 | 0 | } |
9849 | | |
9850 | | // .xmlProtoFuzzer.ExternalId ext = 2; |
9851 | 0 | inline bool NotationDecl::has_ext() const { |
9852 | 0 | return notation_oneof_case() == kExt; |
9853 | 0 | } |
9854 | 0 | inline bool NotationDecl::_internal_has_ext() const { |
9855 | 0 | return notation_oneof_case() == kExt; |
9856 | 0 | } |
9857 | 0 | inline void NotationDecl::set_has_ext() { |
9858 | 0 | _impl_._oneof_case_[0] = kExt; |
9859 | 0 | } |
9860 | 0 | inline void NotationDecl::clear_ext() { |
9861 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9862 | 0 | if (notation_oneof_case() == kExt) { |
9863 | 0 | if (GetArena() == nullptr) { |
9864 | 0 | delete _impl_.notation_oneof_.ext_; |
9865 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
9866 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.notation_oneof_.ext_); |
9867 | 0 | } |
9868 | 0 | clear_has_notation_oneof(); |
9869 | 0 | } |
9870 | 0 | } |
9871 | 0 | inline ::xmlProtoFuzzer::ExternalId* NotationDecl::release_ext() { |
9872 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.NotationDecl.ext) |
9873 | 0 | if (notation_oneof_case() == kExt) { |
9874 | 0 | clear_has_notation_oneof(); |
9875 | 0 | auto* temp = _impl_.notation_oneof_.ext_; |
9876 | 0 | if (GetArena() != nullptr) { |
9877 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
9878 | 0 | } |
9879 | 0 | _impl_.notation_oneof_.ext_ = nullptr; |
9880 | 0 | return temp; |
9881 | 0 | } else { |
9882 | 0 | return nullptr; |
9883 | 0 | } |
9884 | 0 | } |
9885 | 1.05k | inline const ::xmlProtoFuzzer::ExternalId& NotationDecl::_internal_ext() const { |
9886 | 1.05k | return notation_oneof_case() == kExt ? *_impl_.notation_oneof_.ext_ : reinterpret_cast<::xmlProtoFuzzer::ExternalId&>(::xmlProtoFuzzer::_ExternalId_default_instance_); |
9887 | 1.05k | } |
9888 | 1.05k | inline const ::xmlProtoFuzzer::ExternalId& NotationDecl::ext() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9889 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.NotationDecl.ext) |
9890 | 1.05k | return _internal_ext(); |
9891 | 1.05k | } |
9892 | 0 | inline ::xmlProtoFuzzer::ExternalId* NotationDecl::unsafe_arena_release_ext() { |
9893 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.NotationDecl.ext) |
9894 | 0 | if (notation_oneof_case() == kExt) { |
9895 | 0 | clear_has_notation_oneof(); |
9896 | 0 | auto* temp = _impl_.notation_oneof_.ext_; |
9897 | 0 | _impl_.notation_oneof_.ext_ = nullptr; |
9898 | 0 | return temp; |
9899 | 0 | } else { |
9900 | 0 | return nullptr; |
9901 | 0 | } |
9902 | 0 | } |
9903 | 0 | inline void NotationDecl::unsafe_arena_set_allocated_ext(::xmlProtoFuzzer::ExternalId* value) { |
9904 | 0 | // We rely on the oneof clear method to free the earlier contents |
9905 | 0 | // of this oneof. We can directly use the pointer we're given to |
9906 | 0 | // set the new value. |
9907 | 0 | clear_notation_oneof(); |
9908 | 0 | if (value) { |
9909 | 0 | set_has_ext(); |
9910 | 0 | _impl_.notation_oneof_.ext_ = value; |
9911 | 0 | } |
9912 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.NotationDecl.ext) |
9913 | 0 | } |
9914 | 0 | inline ::xmlProtoFuzzer::ExternalId* NotationDecl::_internal_mutable_ext() { |
9915 | 0 | if (notation_oneof_case() != kExt) { |
9916 | 0 | clear_notation_oneof(); |
9917 | 0 | set_has_ext(); |
9918 | 0 | _impl_.notation_oneof_.ext_ = |
9919 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::ExternalId>(GetArena()); |
9920 | 0 | } |
9921 | 0 | return _impl_.notation_oneof_.ext_; |
9922 | 0 | } |
9923 | 0 | inline ::xmlProtoFuzzer::ExternalId* NotationDecl::mutable_ext() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9924 | 0 | ::xmlProtoFuzzer::ExternalId* _msg = _internal_mutable_ext(); |
9925 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.NotationDecl.ext) |
9926 | 0 | return _msg; |
9927 | 0 | } |
9928 | | |
9929 | | // string pub = 3; |
9930 | 0 | inline bool NotationDecl::has_pub() const { |
9931 | 0 | return notation_oneof_case() == kPub; |
9932 | 0 | } |
9933 | 0 | inline void NotationDecl::set_has_pub() { |
9934 | 0 | _impl_._oneof_case_[0] = kPub; |
9935 | 0 | } |
9936 | 0 | inline void NotationDecl::clear_pub() { |
9937 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9938 | 0 | if (notation_oneof_case() == kPub) { |
9939 | 0 | _impl_.notation_oneof_.pub_.Destroy(); |
9940 | 0 | clear_has_notation_oneof(); |
9941 | 0 | } |
9942 | 0 | } |
9943 | | inline const std::string& NotationDecl::pub() const |
9944 | 2.45k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9945 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.NotationDecl.pub) |
9946 | 2.45k | return _internal_pub(); |
9947 | 2.45k | } |
9948 | | template <typename Arg_, typename... Args_> |
9949 | | inline PROTOBUF_ALWAYS_INLINE void NotationDecl::set_pub(Arg_&& arg, |
9950 | | Args_... args) { |
9951 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
9952 | | if (notation_oneof_case() != kPub) { |
9953 | | clear_notation_oneof(); |
9954 | | |
9955 | | set_has_pub(); |
9956 | | _impl_.notation_oneof_.pub_.InitDefault(); |
9957 | | } |
9958 | | _impl_.notation_oneof_.pub_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
9959 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.NotationDecl.pub) |
9960 | | } |
9961 | 0 | inline std::string* NotationDecl::mutable_pub() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
9962 | 0 | std::string* _s = _internal_mutable_pub(); |
9963 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.NotationDecl.pub) |
9964 | 0 | return _s; |
9965 | 0 | } |
9966 | 2.45k | inline const std::string& NotationDecl::_internal_pub() const { |
9967 | 2.45k | ::google::protobuf::internal::TSanRead(&_impl_); |
9968 | 2.45k | if (notation_oneof_case() != kPub) { |
9969 | 0 | return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
9970 | 0 | } |
9971 | 2.45k | return _impl_.notation_oneof_.pub_.Get(); |
9972 | 2.45k | } |
9973 | 0 | inline void NotationDecl::_internal_set_pub(const std::string& value) { |
9974 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9975 | 0 | if (notation_oneof_case() != kPub) { |
9976 | 0 | clear_notation_oneof(); |
9977 | 0 |
|
9978 | 0 | set_has_pub(); |
9979 | 0 | _impl_.notation_oneof_.pub_.InitDefault(); |
9980 | 0 | } |
9981 | 0 | _impl_.notation_oneof_.pub_.Set(value, GetArena()); |
9982 | 0 | } |
9983 | 0 | inline std::string* NotationDecl::_internal_mutable_pub() { |
9984 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9985 | 0 | if (notation_oneof_case() != kPub) { |
9986 | 0 | clear_notation_oneof(); |
9987 | 0 |
|
9988 | 0 | set_has_pub(); |
9989 | 0 | _impl_.notation_oneof_.pub_.InitDefault(); |
9990 | 0 | } |
9991 | 0 | return _impl_.notation_oneof_.pub_.Mutable( GetArena()); |
9992 | 0 | } |
9993 | 0 | inline std::string* NotationDecl::release_pub() { |
9994 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
9995 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.NotationDecl.pub) |
9996 | 0 | if (notation_oneof_case() != kPub) { |
9997 | 0 | return nullptr; |
9998 | 0 | } |
9999 | 0 | clear_has_notation_oneof(); |
10000 | 0 | return _impl_.notation_oneof_.pub_.Release(); |
10001 | 0 | } |
10002 | 0 | inline void NotationDecl::set_allocated_pub(std::string* value) { |
10003 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10004 | 0 | if (has_notation_oneof()) { |
10005 | 0 | clear_notation_oneof(); |
10006 | 0 | } |
10007 | 0 | if (value != nullptr) { |
10008 | 0 | set_has_pub(); |
10009 | 0 | _impl_.notation_oneof_.pub_.InitAllocated(value, GetArena()); |
10010 | 0 | } |
10011 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.NotationDecl.pub) |
10012 | 0 | } |
10013 | | |
10014 | | // string fuzz = 4; |
10015 | 0 | inline bool NotationDecl::has_fuzz() const { |
10016 | 0 | return notation_oneof_case() == kFuzz; |
10017 | 0 | } |
10018 | 0 | inline void NotationDecl::set_has_fuzz() { |
10019 | 0 | _impl_._oneof_case_[0] = kFuzz; |
10020 | 0 | } |
10021 | 0 | inline void NotationDecl::clear_fuzz() { |
10022 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10023 | 0 | if (notation_oneof_case() == kFuzz) { |
10024 | 0 | _impl_.notation_oneof_.fuzz_.Destroy(); |
10025 | 0 | clear_has_notation_oneof(); |
10026 | 0 | } |
10027 | 0 | } |
10028 | | inline const std::string& NotationDecl::fuzz() const |
10029 | 501 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10030 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.NotationDecl.fuzz) |
10031 | 501 | return _internal_fuzz(); |
10032 | 501 | } |
10033 | | template <typename Arg_, typename... Args_> |
10034 | | inline PROTOBUF_ALWAYS_INLINE void NotationDecl::set_fuzz(Arg_&& arg, |
10035 | | Args_... args) { |
10036 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
10037 | | if (notation_oneof_case() != kFuzz) { |
10038 | | clear_notation_oneof(); |
10039 | | |
10040 | | set_has_fuzz(); |
10041 | | _impl_.notation_oneof_.fuzz_.InitDefault(); |
10042 | | } |
10043 | | _impl_.notation_oneof_.fuzz_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
10044 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.NotationDecl.fuzz) |
10045 | | } |
10046 | 0 | inline std::string* NotationDecl::mutable_fuzz() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10047 | 0 | std::string* _s = _internal_mutable_fuzz(); |
10048 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.NotationDecl.fuzz) |
10049 | 0 | return _s; |
10050 | 0 | } |
10051 | 501 | inline const std::string& NotationDecl::_internal_fuzz() const { |
10052 | 501 | ::google::protobuf::internal::TSanRead(&_impl_); |
10053 | 501 | if (notation_oneof_case() != kFuzz) { |
10054 | 0 | return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
10055 | 0 | } |
10056 | 501 | return _impl_.notation_oneof_.fuzz_.Get(); |
10057 | 501 | } |
10058 | 0 | inline void NotationDecl::_internal_set_fuzz(const std::string& value) { |
10059 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10060 | 0 | if (notation_oneof_case() != kFuzz) { |
10061 | 0 | clear_notation_oneof(); |
10062 | 0 |
|
10063 | 0 | set_has_fuzz(); |
10064 | 0 | _impl_.notation_oneof_.fuzz_.InitDefault(); |
10065 | 0 | } |
10066 | 0 | _impl_.notation_oneof_.fuzz_.Set(value, GetArena()); |
10067 | 0 | } |
10068 | 0 | inline std::string* NotationDecl::_internal_mutable_fuzz() { |
10069 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10070 | 0 | if (notation_oneof_case() != kFuzz) { |
10071 | 0 | clear_notation_oneof(); |
10072 | 0 |
|
10073 | 0 | set_has_fuzz(); |
10074 | 0 | _impl_.notation_oneof_.fuzz_.InitDefault(); |
10075 | 0 | } |
10076 | 0 | return _impl_.notation_oneof_.fuzz_.Mutable( GetArena()); |
10077 | 0 | } |
10078 | 0 | inline std::string* NotationDecl::release_fuzz() { |
10079 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10080 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.NotationDecl.fuzz) |
10081 | 0 | if (notation_oneof_case() != kFuzz) { |
10082 | 0 | return nullptr; |
10083 | 0 | } |
10084 | 0 | clear_has_notation_oneof(); |
10085 | 0 | return _impl_.notation_oneof_.fuzz_.Release(); |
10086 | 0 | } |
10087 | 0 | inline void NotationDecl::set_allocated_fuzz(std::string* value) { |
10088 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10089 | 0 | if (has_notation_oneof()) { |
10090 | 0 | clear_notation_oneof(); |
10091 | 0 | } |
10092 | 0 | if (value != nullptr) { |
10093 | 0 | set_has_fuzz(); |
10094 | 0 | _impl_.notation_oneof_.fuzz_.InitAllocated(value, GetArena()); |
10095 | 0 | } |
10096 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.NotationDecl.fuzz) |
10097 | 0 | } |
10098 | | |
10099 | 4.86k | inline bool NotationDecl::has_notation_oneof() const { |
10100 | 4.86k | return notation_oneof_case() != NOTATION_ONEOF_NOT_SET; |
10101 | 4.86k | } |
10102 | 0 | inline void NotationDecl::clear_has_notation_oneof() { |
10103 | 0 | _impl_._oneof_case_[0] = NOTATION_ONEOF_NOT_SET; |
10104 | 0 | } |
10105 | 17.7k | inline NotationDecl::NotationOneofCase NotationDecl::notation_oneof_case() const { |
10106 | 17.7k | return NotationDecl::NotationOneofCase(_impl_._oneof_case_[0]); |
10107 | 17.7k | } |
10108 | | // ------------------------------------------------------------------- |
10109 | | |
10110 | | // EntityValue |
10111 | | |
10112 | | // .xmlProtoFuzzer.EntityValue.Type type = 1; |
10113 | 0 | inline void EntityValue::clear_type() { |
10114 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10115 | 0 | _impl_.type_ = 0; |
10116 | 0 | } |
10117 | 7.74k | inline ::xmlProtoFuzzer::EntityValue_Type EntityValue::type() const { |
10118 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityValue.type) |
10119 | 7.74k | return _internal_type(); |
10120 | 7.74k | } |
10121 | 0 | inline void EntityValue::set_type(::xmlProtoFuzzer::EntityValue_Type value) { |
10122 | 0 | _internal_set_type(value); |
10123 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.EntityValue.type) |
10124 | 0 | } |
10125 | 10.2k | inline ::xmlProtoFuzzer::EntityValue_Type EntityValue::_internal_type() const { |
10126 | 10.2k | ::google::protobuf::internal::TSanRead(&_impl_); |
10127 | 10.2k | return static_cast<::xmlProtoFuzzer::EntityValue_Type>(_impl_.type_); |
10128 | 10.2k | } |
10129 | 0 | inline void EntityValue::_internal_set_type(::xmlProtoFuzzer::EntityValue_Type value) { |
10130 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10131 | 0 | _impl_.type_ = value; |
10132 | 0 | } |
10133 | | |
10134 | | // repeated string name = 2; |
10135 | 0 | inline int EntityValue::_internal_name_size() const { |
10136 | 0 | return _internal_name().size(); |
10137 | 0 | } |
10138 | 0 | inline int EntityValue::name_size() const { |
10139 | 0 | return _internal_name_size(); |
10140 | 0 | } |
10141 | 0 | inline void EntityValue::clear_name() { |
10142 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10143 | 0 | _impl_.name_.Clear(); |
10144 | 0 | } |
10145 | 0 | inline std::string* EntityValue::add_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10146 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10147 | 0 | std::string* _s = _internal_mutable_name()->Add(); |
10148 | 0 | // @@protoc_insertion_point(field_add_mutable:xmlProtoFuzzer.EntityValue.name) |
10149 | 0 | return _s; |
10150 | 0 | } |
10151 | | inline const std::string& EntityValue::name(int index) const |
10152 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10153 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityValue.name) |
10154 | 0 | return _internal_name().Get(index); |
10155 | 0 | } |
10156 | | inline std::string* EntityValue::mutable_name(int index) |
10157 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10158 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EntityValue.name) |
10159 | 0 | return _internal_mutable_name()->Mutable(index); |
10160 | 0 | } |
10161 | | template <typename Arg_, typename... Args_> |
10162 | | inline void EntityValue::set_name(int index, Arg_&& value, Args_... args) { |
10163 | | ::google::protobuf::internal::AssignToString( |
10164 | | *_internal_mutable_name()->Mutable(index), |
10165 | | std::forward<Arg_>(value), args... ); |
10166 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.EntityValue.name) |
10167 | | } |
10168 | | template <typename Arg_, typename... Args_> |
10169 | | inline void EntityValue::add_name(Arg_&& value, Args_... args) { |
10170 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
10171 | | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_name(), |
10172 | | std::forward<Arg_>(value), |
10173 | | args... ); |
10174 | | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.EntityValue.name) |
10175 | | } |
10176 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
10177 | 3.86k | EntityValue::name() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10178 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.EntityValue.name) |
10179 | 3.86k | return _internal_name(); |
10180 | 3.86k | } |
10181 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
10182 | 0 | EntityValue::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10183 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.EntityValue.name) |
10184 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10185 | 0 | return _internal_mutable_name(); |
10186 | 0 | } |
10187 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
10188 | 10.2k | EntityValue::_internal_name() const { |
10189 | 10.2k | ::google::protobuf::internal::TSanRead(&_impl_); |
10190 | 10.2k | return _impl_.name_; |
10191 | 10.2k | } |
10192 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
10193 | 0 | EntityValue::_internal_mutable_name() { |
10194 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
10195 | 0 | return &_impl_.name_; |
10196 | 0 | } |
10197 | | |
10198 | | // ------------------------------------------------------------------- |
10199 | | |
10200 | | // NDataDecl |
10201 | | |
10202 | | // string name = 1; |
10203 | 0 | inline void NDataDecl::clear_name() { |
10204 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10205 | 0 | _impl_.name_.ClearToEmpty(); |
10206 | 0 | } |
10207 | | inline const std::string& NDataDecl::name() const |
10208 | 1.94k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10209 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.NDataDecl.name) |
10210 | 1.94k | return _internal_name(); |
10211 | 1.94k | } |
10212 | | template <typename Arg_, typename... Args_> |
10213 | | inline PROTOBUF_ALWAYS_INLINE void NDataDecl::set_name(Arg_&& arg, |
10214 | | Args_... args) { |
10215 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
10216 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
10217 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.NDataDecl.name) |
10218 | | } |
10219 | 0 | inline std::string* NDataDecl::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10220 | 0 | std::string* _s = _internal_mutable_name(); |
10221 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.NDataDecl.name) |
10222 | 0 | return _s; |
10223 | 0 | } |
10224 | 4.71k | inline const std::string& NDataDecl::_internal_name() const { |
10225 | 4.71k | ::google::protobuf::internal::TSanRead(&_impl_); |
10226 | 4.71k | return _impl_.name_.Get(); |
10227 | 4.71k | } |
10228 | 0 | inline void NDataDecl::_internal_set_name(const std::string& value) { |
10229 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10230 | 0 | _impl_.name_.Set(value, GetArena()); |
10231 | 0 | } |
10232 | 0 | inline std::string* NDataDecl::_internal_mutable_name() { |
10233 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10234 | 0 | return _impl_.name_.Mutable( GetArena()); |
10235 | 0 | } |
10236 | 0 | inline std::string* NDataDecl::release_name() { |
10237 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10238 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.NDataDecl.name) |
10239 | 0 | return _impl_.name_.Release(); |
10240 | 0 | } |
10241 | 0 | inline void NDataDecl::set_allocated_name(std::string* value) { |
10242 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10243 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
10244 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
10245 | 0 | _impl_.name_.Set("", GetArena()); |
10246 | 0 | } |
10247 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.NDataDecl.name) |
10248 | 0 | } |
10249 | | |
10250 | | // ------------------------------------------------------------------- |
10251 | | |
10252 | | // EntityDef |
10253 | | |
10254 | | // .xmlProtoFuzzer.ExternalId ext = 1; |
10255 | 0 | inline bool EntityDef::has_ext() const { |
10256 | 0 | return entity_oneof_case() == kExt; |
10257 | 0 | } |
10258 | 0 | inline bool EntityDef::_internal_has_ext() const { |
10259 | 0 | return entity_oneof_case() == kExt; |
10260 | 0 | } |
10261 | 0 | inline void EntityDef::set_has_ext() { |
10262 | 0 | _impl_._oneof_case_[0] = kExt; |
10263 | 0 | } |
10264 | 0 | inline void EntityDef::clear_ext() { |
10265 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10266 | 0 | if (entity_oneof_case() == kExt) { |
10267 | 0 | if (GetArena() == nullptr) { |
10268 | 0 | delete _impl_.entity_oneof_.ext_; |
10269 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
10270 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.entity_oneof_.ext_); |
10271 | 0 | } |
10272 | 0 | clear_has_entity_oneof(); |
10273 | 0 | } |
10274 | 0 | } |
10275 | 0 | inline ::xmlProtoFuzzer::ExternalId* EntityDef::release_ext() { |
10276 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.EntityDef.ext) |
10277 | 0 | if (entity_oneof_case() == kExt) { |
10278 | 0 | clear_has_entity_oneof(); |
10279 | 0 | auto* temp = _impl_.entity_oneof_.ext_; |
10280 | 0 | if (GetArena() != nullptr) { |
10281 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
10282 | 0 | } |
10283 | 0 | _impl_.entity_oneof_.ext_ = nullptr; |
10284 | 0 | return temp; |
10285 | 0 | } else { |
10286 | 0 | return nullptr; |
10287 | 0 | } |
10288 | 0 | } |
10289 | 3.09k | inline const ::xmlProtoFuzzer::ExternalId& EntityDef::_internal_ext() const { |
10290 | 3.09k | return entity_oneof_case() == kExt ? *_impl_.entity_oneof_.ext_ : reinterpret_cast<::xmlProtoFuzzer::ExternalId&>(::xmlProtoFuzzer::_ExternalId_default_instance_); |
10291 | 3.09k | } |
10292 | 3.09k | inline const ::xmlProtoFuzzer::ExternalId& EntityDef::ext() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10293 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityDef.ext) |
10294 | 3.09k | return _internal_ext(); |
10295 | 3.09k | } |
10296 | 0 | inline ::xmlProtoFuzzer::ExternalId* EntityDef::unsafe_arena_release_ext() { |
10297 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.EntityDef.ext) |
10298 | 0 | if (entity_oneof_case() == kExt) { |
10299 | 0 | clear_has_entity_oneof(); |
10300 | 0 | auto* temp = _impl_.entity_oneof_.ext_; |
10301 | 0 | _impl_.entity_oneof_.ext_ = nullptr; |
10302 | 0 | return temp; |
10303 | 0 | } else { |
10304 | 0 | return nullptr; |
10305 | 0 | } |
10306 | 0 | } |
10307 | 0 | inline void EntityDef::unsafe_arena_set_allocated_ext(::xmlProtoFuzzer::ExternalId* value) { |
10308 | 0 | // We rely on the oneof clear method to free the earlier contents |
10309 | 0 | // of this oneof. We can directly use the pointer we're given to |
10310 | 0 | // set the new value. |
10311 | 0 | clear_entity_oneof(); |
10312 | 0 | if (value) { |
10313 | 0 | set_has_ext(); |
10314 | 0 | _impl_.entity_oneof_.ext_ = value; |
10315 | 0 | } |
10316 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.EntityDef.ext) |
10317 | 0 | } |
10318 | 0 | inline ::xmlProtoFuzzer::ExternalId* EntityDef::_internal_mutable_ext() { |
10319 | 0 | if (entity_oneof_case() != kExt) { |
10320 | 0 | clear_entity_oneof(); |
10321 | 0 | set_has_ext(); |
10322 | 0 | _impl_.entity_oneof_.ext_ = |
10323 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::ExternalId>(GetArena()); |
10324 | 0 | } |
10325 | 0 | return _impl_.entity_oneof_.ext_; |
10326 | 0 | } |
10327 | 0 | inline ::xmlProtoFuzzer::ExternalId* EntityDef::mutable_ext() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10328 | 0 | ::xmlProtoFuzzer::ExternalId* _msg = _internal_mutable_ext(); |
10329 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EntityDef.ext) |
10330 | 0 | return _msg; |
10331 | 0 | } |
10332 | | |
10333 | | // .xmlProtoFuzzer.EntityValue val = 2; |
10334 | 0 | inline bool EntityDef::has_val() const { |
10335 | 0 | return entity_oneof_case() == kVal; |
10336 | 0 | } |
10337 | 0 | inline bool EntityDef::_internal_has_val() const { |
10338 | 0 | return entity_oneof_case() == kVal; |
10339 | 0 | } |
10340 | 0 | inline void EntityDef::set_has_val() { |
10341 | 0 | _impl_._oneof_case_[0] = kVal; |
10342 | 0 | } |
10343 | 0 | inline void EntityDef::clear_val() { |
10344 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10345 | 0 | if (entity_oneof_case() == kVal) { |
10346 | 0 | if (GetArena() == nullptr) { |
10347 | 0 | delete _impl_.entity_oneof_.val_; |
10348 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
10349 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.entity_oneof_.val_); |
10350 | 0 | } |
10351 | 0 | clear_has_entity_oneof(); |
10352 | 0 | } |
10353 | 0 | } |
10354 | 0 | inline ::xmlProtoFuzzer::EntityValue* EntityDef::release_val() { |
10355 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.EntityDef.val) |
10356 | 0 | if (entity_oneof_case() == kVal) { |
10357 | 0 | clear_has_entity_oneof(); |
10358 | 0 | auto* temp = _impl_.entity_oneof_.val_; |
10359 | 0 | if (GetArena() != nullptr) { |
10360 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
10361 | 0 | } |
10362 | 0 | _impl_.entity_oneof_.val_ = nullptr; |
10363 | 0 | return temp; |
10364 | 0 | } else { |
10365 | 0 | return nullptr; |
10366 | 0 | } |
10367 | 0 | } |
10368 | 3.17k | inline const ::xmlProtoFuzzer::EntityValue& EntityDef::_internal_val() const { |
10369 | 3.17k | return entity_oneof_case() == kVal ? *_impl_.entity_oneof_.val_ : reinterpret_cast<::xmlProtoFuzzer::EntityValue&>(::xmlProtoFuzzer::_EntityValue_default_instance_); |
10370 | 3.17k | } |
10371 | 3.17k | inline const ::xmlProtoFuzzer::EntityValue& EntityDef::val() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10372 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityDef.val) |
10373 | 3.17k | return _internal_val(); |
10374 | 3.17k | } |
10375 | 0 | inline ::xmlProtoFuzzer::EntityValue* EntityDef::unsafe_arena_release_val() { |
10376 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.EntityDef.val) |
10377 | 0 | if (entity_oneof_case() == kVal) { |
10378 | 0 | clear_has_entity_oneof(); |
10379 | 0 | auto* temp = _impl_.entity_oneof_.val_; |
10380 | 0 | _impl_.entity_oneof_.val_ = nullptr; |
10381 | 0 | return temp; |
10382 | 0 | } else { |
10383 | 0 | return nullptr; |
10384 | 0 | } |
10385 | 0 | } |
10386 | 0 | inline void EntityDef::unsafe_arena_set_allocated_val(::xmlProtoFuzzer::EntityValue* value) { |
10387 | 0 | // We rely on the oneof clear method to free the earlier contents |
10388 | 0 | // of this oneof. We can directly use the pointer we're given to |
10389 | 0 | // set the new value. |
10390 | 0 | clear_entity_oneof(); |
10391 | 0 | if (value) { |
10392 | 0 | set_has_val(); |
10393 | 0 | _impl_.entity_oneof_.val_ = value; |
10394 | 0 | } |
10395 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.EntityDef.val) |
10396 | 0 | } |
10397 | 0 | inline ::xmlProtoFuzzer::EntityValue* EntityDef::_internal_mutable_val() { |
10398 | 0 | if (entity_oneof_case() != kVal) { |
10399 | 0 | clear_entity_oneof(); |
10400 | 0 | set_has_val(); |
10401 | 0 | _impl_.entity_oneof_.val_ = |
10402 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::EntityValue>(GetArena()); |
10403 | 0 | } |
10404 | 0 | return _impl_.entity_oneof_.val_; |
10405 | 0 | } |
10406 | 0 | inline ::xmlProtoFuzzer::EntityValue* EntityDef::mutable_val() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10407 | 0 | ::xmlProtoFuzzer::EntityValue* _msg = _internal_mutable_val(); |
10408 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EntityDef.val) |
10409 | 0 | return _msg; |
10410 | 0 | } |
10411 | | |
10412 | | // .xmlProtoFuzzer.NDataDecl ndata = 3; |
10413 | 0 | inline bool EntityDef::has_ndata() const { |
10414 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
10415 | 0 | PROTOBUF_ASSUME(!value || _impl_.ndata_ != nullptr); |
10416 | 0 | return value; |
10417 | 0 | } |
10418 | 0 | inline void EntityDef::clear_ndata() { |
10419 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10420 | 0 | if (_impl_.ndata_ != nullptr) _impl_.ndata_->Clear(); |
10421 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10422 | 0 | } |
10423 | 1.94k | inline const ::xmlProtoFuzzer::NDataDecl& EntityDef::_internal_ndata() const { |
10424 | 1.94k | ::google::protobuf::internal::TSanRead(&_impl_); |
10425 | 1.94k | const ::xmlProtoFuzzer::NDataDecl* p = _impl_.ndata_; |
10426 | 1.94k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::NDataDecl&>(::xmlProtoFuzzer::_NDataDecl_default_instance_); |
10427 | 1.94k | } |
10428 | 1.94k | inline const ::xmlProtoFuzzer::NDataDecl& EntityDef::ndata() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10429 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityDef.ndata) |
10430 | 1.94k | return _internal_ndata(); |
10431 | 1.94k | } |
10432 | 0 | inline void EntityDef::unsafe_arena_set_allocated_ndata(::xmlProtoFuzzer::NDataDecl* value) { |
10433 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10434 | 0 | if (GetArena() == nullptr) { |
10435 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ndata_); |
10436 | 0 | } |
10437 | 0 | _impl_.ndata_ = reinterpret_cast<::xmlProtoFuzzer::NDataDecl*>(value); |
10438 | 0 | if (value != nullptr) { |
10439 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10440 | 0 | } else { |
10441 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10442 | 0 | } |
10443 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.EntityDef.ndata) |
10444 | 0 | } |
10445 | 0 | inline ::xmlProtoFuzzer::NDataDecl* EntityDef::release_ndata() { |
10446 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10447 | 0 |
|
10448 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10449 | 0 | ::xmlProtoFuzzer::NDataDecl* released = _impl_.ndata_; |
10450 | 0 | _impl_.ndata_ = nullptr; |
10451 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
10452 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
10453 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
10454 | 0 | if (GetArena() == nullptr) { |
10455 | 0 | delete old; |
10456 | 0 | } |
10457 | 0 | } else { |
10458 | 0 | if (GetArena() != nullptr) { |
10459 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
10460 | 0 | } |
10461 | 0 | } |
10462 | 0 | return released; |
10463 | 0 | } |
10464 | 0 | inline ::xmlProtoFuzzer::NDataDecl* EntityDef::unsafe_arena_release_ndata() { |
10465 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10466 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.EntityDef.ndata) |
10467 | 0 |
|
10468 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10469 | 0 | ::xmlProtoFuzzer::NDataDecl* temp = _impl_.ndata_; |
10470 | 0 | _impl_.ndata_ = nullptr; |
10471 | 0 | return temp; |
10472 | 0 | } |
10473 | 0 | inline ::xmlProtoFuzzer::NDataDecl* EntityDef::_internal_mutable_ndata() { |
10474 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10475 | 0 | if (_impl_.ndata_ == nullptr) { |
10476 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::NDataDecl>(GetArena()); |
10477 | 0 | _impl_.ndata_ = reinterpret_cast<::xmlProtoFuzzer::NDataDecl*>(p); |
10478 | 0 | } |
10479 | 0 | return _impl_.ndata_; |
10480 | 0 | } |
10481 | 0 | inline ::xmlProtoFuzzer::NDataDecl* EntityDef::mutable_ndata() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10482 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10483 | 0 | ::xmlProtoFuzzer::NDataDecl* _msg = _internal_mutable_ndata(); |
10484 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EntityDef.ndata) |
10485 | 0 | return _msg; |
10486 | 0 | } |
10487 | 0 | inline void EntityDef::set_allocated_ndata(::xmlProtoFuzzer::NDataDecl* value) { |
10488 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
10489 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10490 | 0 | if (message_arena == nullptr) { |
10491 | 0 | delete (_impl_.ndata_); |
10492 | 0 | } |
10493 | 0 |
|
10494 | 0 | if (value != nullptr) { |
10495 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
10496 | 0 | if (message_arena != submessage_arena) { |
10497 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
10498 | 0 | } |
10499 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10500 | 0 | } else { |
10501 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10502 | 0 | } |
10503 | 0 |
|
10504 | 0 | _impl_.ndata_ = reinterpret_cast<::xmlProtoFuzzer::NDataDecl*>(value); |
10505 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.EntityDef.ndata) |
10506 | 0 | } |
10507 | | |
10508 | 7.52k | inline bool EntityDef::has_entity_oneof() const { |
10509 | 7.52k | return entity_oneof_case() != ENTITY_ONEOF_NOT_SET; |
10510 | 7.52k | } |
10511 | 0 | inline void EntityDef::clear_has_entity_oneof() { |
10512 | 0 | _impl_._oneof_case_[0] = ENTITY_ONEOF_NOT_SET; |
10513 | 0 | } |
10514 | 32.0k | inline EntityDef::EntityOneofCase EntityDef::entity_oneof_case() const { |
10515 | 32.0k | return EntityDef::EntityOneofCase(_impl_._oneof_case_[0]); |
10516 | 32.0k | } |
10517 | | // ------------------------------------------------------------------- |
10518 | | |
10519 | | // PEDef |
10520 | | |
10521 | | // .xmlProtoFuzzer.EntityValue val = 1; |
10522 | 0 | inline bool PEDef::has_val() const { |
10523 | 0 | return pedef_oneof_case() == kVal; |
10524 | 0 | } |
10525 | 0 | inline bool PEDef::_internal_has_val() const { |
10526 | 0 | return pedef_oneof_case() == kVal; |
10527 | 0 | } |
10528 | 0 | inline void PEDef::set_has_val() { |
10529 | 0 | _impl_._oneof_case_[0] = kVal; |
10530 | 0 | } |
10531 | 0 | inline void PEDef::clear_val() { |
10532 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10533 | 0 | if (pedef_oneof_case() == kVal) { |
10534 | 0 | if (GetArena() == nullptr) { |
10535 | 0 | delete _impl_.pedef_oneof_.val_; |
10536 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
10537 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.pedef_oneof_.val_); |
10538 | 0 | } |
10539 | 0 | clear_has_pedef_oneof(); |
10540 | 0 | } |
10541 | 0 | } |
10542 | 0 | inline ::xmlProtoFuzzer::EntityValue* PEDef::release_val() { |
10543 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.PEDef.val) |
10544 | 0 | if (pedef_oneof_case() == kVal) { |
10545 | 0 | clear_has_pedef_oneof(); |
10546 | 0 | auto* temp = _impl_.pedef_oneof_.val_; |
10547 | 0 | if (GetArena() != nullptr) { |
10548 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
10549 | 0 | } |
10550 | 0 | _impl_.pedef_oneof_.val_ = nullptr; |
10551 | 0 | return temp; |
10552 | 0 | } else { |
10553 | 0 | return nullptr; |
10554 | 0 | } |
10555 | 0 | } |
10556 | 703 | inline const ::xmlProtoFuzzer::EntityValue& PEDef::_internal_val() const { |
10557 | 703 | return pedef_oneof_case() == kVal ? *_impl_.pedef_oneof_.val_ : reinterpret_cast<::xmlProtoFuzzer::EntityValue&>(::xmlProtoFuzzer::_EntityValue_default_instance_); |
10558 | 703 | } |
10559 | 703 | inline const ::xmlProtoFuzzer::EntityValue& PEDef::val() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10560 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.PEDef.val) |
10561 | 703 | return _internal_val(); |
10562 | 703 | } |
10563 | 0 | inline ::xmlProtoFuzzer::EntityValue* PEDef::unsafe_arena_release_val() { |
10564 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.PEDef.val) |
10565 | 0 | if (pedef_oneof_case() == kVal) { |
10566 | 0 | clear_has_pedef_oneof(); |
10567 | 0 | auto* temp = _impl_.pedef_oneof_.val_; |
10568 | 0 | _impl_.pedef_oneof_.val_ = nullptr; |
10569 | 0 | return temp; |
10570 | 0 | } else { |
10571 | 0 | return nullptr; |
10572 | 0 | } |
10573 | 0 | } |
10574 | 0 | inline void PEDef::unsafe_arena_set_allocated_val(::xmlProtoFuzzer::EntityValue* value) { |
10575 | 0 | // We rely on the oneof clear method to free the earlier contents |
10576 | 0 | // of this oneof. We can directly use the pointer we're given to |
10577 | 0 | // set the new value. |
10578 | 0 | clear_pedef_oneof(); |
10579 | 0 | if (value) { |
10580 | 0 | set_has_val(); |
10581 | 0 | _impl_.pedef_oneof_.val_ = value; |
10582 | 0 | } |
10583 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.PEDef.val) |
10584 | 0 | } |
10585 | 0 | inline ::xmlProtoFuzzer::EntityValue* PEDef::_internal_mutable_val() { |
10586 | 0 | if (pedef_oneof_case() != kVal) { |
10587 | 0 | clear_pedef_oneof(); |
10588 | 0 | set_has_val(); |
10589 | 0 | _impl_.pedef_oneof_.val_ = |
10590 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::EntityValue>(GetArena()); |
10591 | 0 | } |
10592 | 0 | return _impl_.pedef_oneof_.val_; |
10593 | 0 | } |
10594 | 0 | inline ::xmlProtoFuzzer::EntityValue* PEDef::mutable_val() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10595 | 0 | ::xmlProtoFuzzer::EntityValue* _msg = _internal_mutable_val(); |
10596 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.PEDef.val) |
10597 | 0 | return _msg; |
10598 | 0 | } |
10599 | | |
10600 | | // .xmlProtoFuzzer.ExternalId id = 2; |
10601 | 0 | inline bool PEDef::has_id() const { |
10602 | 0 | return pedef_oneof_case() == kId; |
10603 | 0 | } |
10604 | 0 | inline bool PEDef::_internal_has_id() const { |
10605 | 0 | return pedef_oneof_case() == kId; |
10606 | 0 | } |
10607 | 0 | inline void PEDef::set_has_id() { |
10608 | 0 | _impl_._oneof_case_[0] = kId; |
10609 | 0 | } |
10610 | 0 | inline void PEDef::clear_id() { |
10611 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10612 | 0 | if (pedef_oneof_case() == kId) { |
10613 | 0 | if (GetArena() == nullptr) { |
10614 | 0 | delete _impl_.pedef_oneof_.id_; |
10615 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
10616 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.pedef_oneof_.id_); |
10617 | 0 | } |
10618 | 0 | clear_has_pedef_oneof(); |
10619 | 0 | } |
10620 | 0 | } |
10621 | 0 | inline ::xmlProtoFuzzer::ExternalId* PEDef::release_id() { |
10622 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.PEDef.id) |
10623 | 0 | if (pedef_oneof_case() == kId) { |
10624 | 0 | clear_has_pedef_oneof(); |
10625 | 0 | auto* temp = _impl_.pedef_oneof_.id_; |
10626 | 0 | if (GetArena() != nullptr) { |
10627 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
10628 | 0 | } |
10629 | 0 | _impl_.pedef_oneof_.id_ = nullptr; |
10630 | 0 | return temp; |
10631 | 0 | } else { |
10632 | 0 | return nullptr; |
10633 | 0 | } |
10634 | 0 | } |
10635 | 804 | inline const ::xmlProtoFuzzer::ExternalId& PEDef::_internal_id() const { |
10636 | 804 | return pedef_oneof_case() == kId ? *_impl_.pedef_oneof_.id_ : reinterpret_cast<::xmlProtoFuzzer::ExternalId&>(::xmlProtoFuzzer::_ExternalId_default_instance_); |
10637 | 804 | } |
10638 | 804 | inline const ::xmlProtoFuzzer::ExternalId& PEDef::id() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10639 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.PEDef.id) |
10640 | 804 | return _internal_id(); |
10641 | 804 | } |
10642 | 0 | inline ::xmlProtoFuzzer::ExternalId* PEDef::unsafe_arena_release_id() { |
10643 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.PEDef.id) |
10644 | 0 | if (pedef_oneof_case() == kId) { |
10645 | 0 | clear_has_pedef_oneof(); |
10646 | 0 | auto* temp = _impl_.pedef_oneof_.id_; |
10647 | 0 | _impl_.pedef_oneof_.id_ = nullptr; |
10648 | 0 | return temp; |
10649 | 0 | } else { |
10650 | 0 | return nullptr; |
10651 | 0 | } |
10652 | 0 | } |
10653 | 0 | inline void PEDef::unsafe_arena_set_allocated_id(::xmlProtoFuzzer::ExternalId* value) { |
10654 | 0 | // We rely on the oneof clear method to free the earlier contents |
10655 | 0 | // of this oneof. We can directly use the pointer we're given to |
10656 | 0 | // set the new value. |
10657 | 0 | clear_pedef_oneof(); |
10658 | 0 | if (value) { |
10659 | 0 | set_has_id(); |
10660 | 0 | _impl_.pedef_oneof_.id_ = value; |
10661 | 0 | } |
10662 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.PEDef.id) |
10663 | 0 | } |
10664 | 0 | inline ::xmlProtoFuzzer::ExternalId* PEDef::_internal_mutable_id() { |
10665 | 0 | if (pedef_oneof_case() != kId) { |
10666 | 0 | clear_pedef_oneof(); |
10667 | 0 | set_has_id(); |
10668 | 0 | _impl_.pedef_oneof_.id_ = |
10669 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::ExternalId>(GetArena()); |
10670 | 0 | } |
10671 | 0 | return _impl_.pedef_oneof_.id_; |
10672 | 0 | } |
10673 | 0 | inline ::xmlProtoFuzzer::ExternalId* PEDef::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10674 | 0 | ::xmlProtoFuzzer::ExternalId* _msg = _internal_mutable_id(); |
10675 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.PEDef.id) |
10676 | 0 | return _msg; |
10677 | 0 | } |
10678 | | |
10679 | 2.74k | inline bool PEDef::has_pedef_oneof() const { |
10680 | 2.74k | return pedef_oneof_case() != PEDEF_ONEOF_NOT_SET; |
10681 | 2.74k | } |
10682 | 0 | inline void PEDef::clear_has_pedef_oneof() { |
10683 | 0 | _impl_._oneof_case_[0] = PEDEF_ONEOF_NOT_SET; |
10684 | 0 | } |
10685 | 8.80k | inline PEDef::PedefOneofCase PEDef::pedef_oneof_case() const { |
10686 | 8.80k | return PEDef::PedefOneofCase(_impl_._oneof_case_[0]); |
10687 | 8.80k | } |
10688 | | // ------------------------------------------------------------------- |
10689 | | |
10690 | | // EntityDecl |
10691 | | |
10692 | | // .xmlProtoFuzzer.EntityDecl.Type type = 1; |
10693 | 0 | inline void EntityDecl::clear_type() { |
10694 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10695 | 0 | _impl_.type_ = 0; |
10696 | 0 | } |
10697 | 21.9k | inline ::xmlProtoFuzzer::EntityDecl_Type EntityDecl::type() const { |
10698 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityDecl.type) |
10699 | 21.9k | return _internal_type(); |
10700 | 21.9k | } |
10701 | 0 | inline void EntityDecl::set_type(::xmlProtoFuzzer::EntityDecl_Type value) { |
10702 | 0 | _internal_set_type(value); |
10703 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.EntityDecl.type) |
10704 | 0 | } |
10705 | 21.9k | inline ::xmlProtoFuzzer::EntityDecl_Type EntityDecl::_internal_type() const { |
10706 | 21.9k | ::google::protobuf::internal::TSanRead(&_impl_); |
10707 | 21.9k | return static_cast<::xmlProtoFuzzer::EntityDecl_Type>(_impl_.type_); |
10708 | 21.9k | } |
10709 | 0 | inline void EntityDecl::_internal_set_type(::xmlProtoFuzzer::EntityDecl_Type value) { |
10710 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10711 | 0 | _impl_.type_ = value; |
10712 | 0 | } |
10713 | | |
10714 | | // string name = 2; |
10715 | 0 | inline void EntityDecl::clear_name() { |
10716 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10717 | 0 | _impl_.name_.ClearToEmpty(); |
10718 | 0 | } |
10719 | | inline const std::string& EntityDecl::name() const |
10720 | 10.9k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10721 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityDecl.name) |
10722 | 10.9k | return _internal_name(); |
10723 | 10.9k | } |
10724 | | template <typename Arg_, typename... Args_> |
10725 | | inline PROTOBUF_ALWAYS_INLINE void EntityDecl::set_name(Arg_&& arg, |
10726 | | Args_... args) { |
10727 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
10728 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
10729 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.EntityDecl.name) |
10730 | | } |
10731 | 0 | inline std::string* EntityDecl::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10732 | 0 | std::string* _s = _internal_mutable_name(); |
10733 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EntityDecl.name) |
10734 | 0 | return _s; |
10735 | 0 | } |
10736 | 10.9k | inline const std::string& EntityDecl::_internal_name() const { |
10737 | 10.9k | ::google::protobuf::internal::TSanRead(&_impl_); |
10738 | 10.9k | return _impl_.name_.Get(); |
10739 | 10.9k | } |
10740 | 0 | inline void EntityDecl::_internal_set_name(const std::string& value) { |
10741 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10742 | 0 | _impl_.name_.Set(value, GetArena()); |
10743 | 0 | } |
10744 | 0 | inline std::string* EntityDecl::_internal_mutable_name() { |
10745 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10746 | 0 | return _impl_.name_.Mutable( GetArena()); |
10747 | 0 | } |
10748 | 0 | inline std::string* EntityDecl::release_name() { |
10749 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10750 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.EntityDecl.name) |
10751 | 0 | return _impl_.name_.Release(); |
10752 | 0 | } |
10753 | 0 | inline void EntityDecl::set_allocated_name(std::string* value) { |
10754 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10755 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
10756 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
10757 | 0 | _impl_.name_.Set("", GetArena()); |
10758 | 0 | } |
10759 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.EntityDecl.name) |
10760 | 0 | } |
10761 | | |
10762 | | // .xmlProtoFuzzer.EntityDef ent = 3; |
10763 | 0 | inline bool EntityDecl::has_ent() const { |
10764 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
10765 | 0 | PROTOBUF_ASSUME(!value || _impl_.ent_ != nullptr); |
10766 | 0 | return value; |
10767 | 0 | } |
10768 | 0 | inline void EntityDecl::clear_ent() { |
10769 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10770 | 0 | if (_impl_.ent_ != nullptr) _impl_.ent_->Clear(); |
10771 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10772 | 0 | } |
10773 | 8.45k | inline const ::xmlProtoFuzzer::EntityDef& EntityDecl::_internal_ent() const { |
10774 | 8.45k | ::google::protobuf::internal::TSanRead(&_impl_); |
10775 | 8.45k | const ::xmlProtoFuzzer::EntityDef* p = _impl_.ent_; |
10776 | 8.45k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::EntityDef&>(::xmlProtoFuzzer::_EntityDef_default_instance_); |
10777 | 8.45k | } |
10778 | 8.45k | inline const ::xmlProtoFuzzer::EntityDef& EntityDecl::ent() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10779 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityDecl.ent) |
10780 | 8.45k | return _internal_ent(); |
10781 | 8.45k | } |
10782 | 0 | inline void EntityDecl::unsafe_arena_set_allocated_ent(::xmlProtoFuzzer::EntityDef* value) { |
10783 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10784 | 0 | if (GetArena() == nullptr) { |
10785 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ent_); |
10786 | 0 | } |
10787 | 0 | _impl_.ent_ = reinterpret_cast<::xmlProtoFuzzer::EntityDef*>(value); |
10788 | 0 | if (value != nullptr) { |
10789 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10790 | 0 | } else { |
10791 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10792 | 0 | } |
10793 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.EntityDecl.ent) |
10794 | 0 | } |
10795 | 0 | inline ::xmlProtoFuzzer::EntityDef* EntityDecl::release_ent() { |
10796 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10797 | 0 |
|
10798 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10799 | 0 | ::xmlProtoFuzzer::EntityDef* released = _impl_.ent_; |
10800 | 0 | _impl_.ent_ = nullptr; |
10801 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
10802 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
10803 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
10804 | 0 | if (GetArena() == nullptr) { |
10805 | 0 | delete old; |
10806 | 0 | } |
10807 | 0 | } else { |
10808 | 0 | if (GetArena() != nullptr) { |
10809 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
10810 | 0 | } |
10811 | 0 | } |
10812 | 0 | return released; |
10813 | 0 | } |
10814 | 0 | inline ::xmlProtoFuzzer::EntityDef* EntityDecl::unsafe_arena_release_ent() { |
10815 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10816 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.EntityDecl.ent) |
10817 | 0 |
|
10818 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10819 | 0 | ::xmlProtoFuzzer::EntityDef* temp = _impl_.ent_; |
10820 | 0 | _impl_.ent_ = nullptr; |
10821 | 0 | return temp; |
10822 | 0 | } |
10823 | 0 | inline ::xmlProtoFuzzer::EntityDef* EntityDecl::_internal_mutable_ent() { |
10824 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10825 | 0 | if (_impl_.ent_ == nullptr) { |
10826 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::EntityDef>(GetArena()); |
10827 | 0 | _impl_.ent_ = reinterpret_cast<::xmlProtoFuzzer::EntityDef*>(p); |
10828 | 0 | } |
10829 | 0 | return _impl_.ent_; |
10830 | 0 | } |
10831 | 0 | inline ::xmlProtoFuzzer::EntityDef* EntityDecl::mutable_ent() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10832 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10833 | 0 | ::xmlProtoFuzzer::EntityDef* _msg = _internal_mutable_ent(); |
10834 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EntityDecl.ent) |
10835 | 0 | return _msg; |
10836 | 0 | } |
10837 | 0 | inline void EntityDecl::set_allocated_ent(::xmlProtoFuzzer::EntityDef* value) { |
10838 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
10839 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10840 | 0 | if (message_arena == nullptr) { |
10841 | 0 | delete (_impl_.ent_); |
10842 | 0 | } |
10843 | 0 |
|
10844 | 0 | if (value != nullptr) { |
10845 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
10846 | 0 | if (message_arena != submessage_arena) { |
10847 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
10848 | 0 | } |
10849 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
10850 | 0 | } else { |
10851 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10852 | 0 | } |
10853 | 0 |
|
10854 | 0 | _impl_.ent_ = reinterpret_cast<::xmlProtoFuzzer::EntityDef*>(value); |
10855 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.EntityDecl.ent) |
10856 | 0 | } |
10857 | | |
10858 | | // .xmlProtoFuzzer.PEDef pedef = 4; |
10859 | 0 | inline bool EntityDecl::has_pedef() const { |
10860 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
10861 | 0 | PROTOBUF_ASSUME(!value || _impl_.pedef_ != nullptr); |
10862 | 0 | return value; |
10863 | 0 | } |
10864 | 0 | inline void EntityDecl::clear_pedef() { |
10865 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10866 | 0 | if (_impl_.pedef_ != nullptr) _impl_.pedef_->Clear(); |
10867 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10868 | 0 | } |
10869 | 2.45k | inline const ::xmlProtoFuzzer::PEDef& EntityDecl::_internal_pedef() const { |
10870 | 2.45k | ::google::protobuf::internal::TSanRead(&_impl_); |
10871 | 2.45k | const ::xmlProtoFuzzer::PEDef* p = _impl_.pedef_; |
10872 | 2.45k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::PEDef&>(::xmlProtoFuzzer::_PEDef_default_instance_); |
10873 | 2.45k | } |
10874 | 2.45k | inline const ::xmlProtoFuzzer::PEDef& EntityDecl::pedef() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10875 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityDecl.pedef) |
10876 | 2.45k | return _internal_pedef(); |
10877 | 2.45k | } |
10878 | 0 | inline void EntityDecl::unsafe_arena_set_allocated_pedef(::xmlProtoFuzzer::PEDef* value) { |
10879 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10880 | 0 | if (GetArena() == nullptr) { |
10881 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pedef_); |
10882 | 0 | } |
10883 | 0 | _impl_.pedef_ = reinterpret_cast<::xmlProtoFuzzer::PEDef*>(value); |
10884 | 0 | if (value != nullptr) { |
10885 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10886 | 0 | } else { |
10887 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10888 | 0 | } |
10889 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.EntityDecl.pedef) |
10890 | 0 | } |
10891 | 0 | inline ::xmlProtoFuzzer::PEDef* EntityDecl::release_pedef() { |
10892 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10893 | 0 |
|
10894 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10895 | 0 | ::xmlProtoFuzzer::PEDef* released = _impl_.pedef_; |
10896 | 0 | _impl_.pedef_ = nullptr; |
10897 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
10898 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
10899 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
10900 | 0 | if (GetArena() == nullptr) { |
10901 | 0 | delete old; |
10902 | 0 | } |
10903 | 0 | } else { |
10904 | 0 | if (GetArena() != nullptr) { |
10905 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
10906 | 0 | } |
10907 | 0 | } |
10908 | 0 | return released; |
10909 | 0 | } |
10910 | 0 | inline ::xmlProtoFuzzer::PEDef* EntityDecl::unsafe_arena_release_pedef() { |
10911 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10912 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.EntityDecl.pedef) |
10913 | 0 |
|
10914 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10915 | 0 | ::xmlProtoFuzzer::PEDef* temp = _impl_.pedef_; |
10916 | 0 | _impl_.pedef_ = nullptr; |
10917 | 0 | return temp; |
10918 | 0 | } |
10919 | 0 | inline ::xmlProtoFuzzer::PEDef* EntityDecl::_internal_mutable_pedef() { |
10920 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10921 | 0 | if (_impl_.pedef_ == nullptr) { |
10922 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::PEDef>(GetArena()); |
10923 | 0 | _impl_.pedef_ = reinterpret_cast<::xmlProtoFuzzer::PEDef*>(p); |
10924 | 0 | } |
10925 | 0 | return _impl_.pedef_; |
10926 | 0 | } |
10927 | 0 | inline ::xmlProtoFuzzer::PEDef* EntityDecl::mutable_pedef() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10928 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10929 | 0 | ::xmlProtoFuzzer::PEDef* _msg = _internal_mutable_pedef(); |
10930 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EntityDecl.pedef) |
10931 | 0 | return _msg; |
10932 | 0 | } |
10933 | 0 | inline void EntityDecl::set_allocated_pedef(::xmlProtoFuzzer::PEDef* value) { |
10934 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
10935 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10936 | 0 | if (message_arena == nullptr) { |
10937 | 0 | delete (_impl_.pedef_); |
10938 | 0 | } |
10939 | 0 |
|
10940 | 0 | if (value != nullptr) { |
10941 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
10942 | 0 | if (message_arena != submessage_arena) { |
10943 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
10944 | 0 | } |
10945 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
10946 | 0 | } else { |
10947 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
10948 | 0 | } |
10949 | 0 |
|
10950 | 0 | _impl_.pedef_ = reinterpret_cast<::xmlProtoFuzzer::PEDef*>(value); |
10951 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.EntityDecl.pedef) |
10952 | 0 | } |
10953 | | |
10954 | | // ------------------------------------------------------------------- |
10955 | | |
10956 | | // ConditionalSect |
10957 | | |
10958 | | // .xmlProtoFuzzer.ConditionalSect.Type type = 1; |
10959 | 0 | inline void ConditionalSect::clear_type() { |
10960 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10961 | 0 | _impl_.type_ = 0; |
10962 | 0 | } |
10963 | 18.0k | inline ::xmlProtoFuzzer::ConditionalSect_Type ConditionalSect::type() const { |
10964 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ConditionalSect.type) |
10965 | 18.0k | return _internal_type(); |
10966 | 18.0k | } |
10967 | 0 | inline void ConditionalSect::set_type(::xmlProtoFuzzer::ConditionalSect_Type value) { |
10968 | 0 | _internal_set_type(value); |
10969 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ConditionalSect.type) |
10970 | 0 | } |
10971 | 18.0k | inline ::xmlProtoFuzzer::ConditionalSect_Type ConditionalSect::_internal_type() const { |
10972 | 18.0k | ::google::protobuf::internal::TSanRead(&_impl_); |
10973 | 18.0k | return static_cast<::xmlProtoFuzzer::ConditionalSect_Type>(_impl_.type_); |
10974 | 18.0k | } |
10975 | 0 | inline void ConditionalSect::_internal_set_type(::xmlProtoFuzzer::ConditionalSect_Type value) { |
10976 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10977 | 0 | _impl_.type_ = value; |
10978 | 0 | } |
10979 | | |
10980 | | // .xmlProtoFuzzer.ExtSubsetDecl ext = 2; |
10981 | 0 | inline bool ConditionalSect::has_ext() const { |
10982 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
10983 | 0 | PROTOBUF_ASSUME(!value || _impl_.ext_ != nullptr); |
10984 | 0 | return value; |
10985 | 0 | } |
10986 | 0 | inline void ConditionalSect::clear_ext() { |
10987 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
10988 | 0 | if (_impl_.ext_ != nullptr) _impl_.ext_->Clear(); |
10989 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
10990 | 0 | } |
10991 | 7.68k | inline const ::xmlProtoFuzzer::ExtSubsetDecl& ConditionalSect::_internal_ext() const { |
10992 | 7.68k | ::google::protobuf::internal::TSanRead(&_impl_); |
10993 | 7.68k | const ::xmlProtoFuzzer::ExtSubsetDecl* p = _impl_.ext_; |
10994 | 7.68k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::ExtSubsetDecl&>(::xmlProtoFuzzer::_ExtSubsetDecl_default_instance_); |
10995 | 7.68k | } |
10996 | 7.68k | inline const ::xmlProtoFuzzer::ExtSubsetDecl& ConditionalSect::ext() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
10997 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ConditionalSect.ext) |
10998 | 7.68k | return _internal_ext(); |
10999 | 7.68k | } |
11000 | 0 | inline void ConditionalSect::unsafe_arena_set_allocated_ext(::xmlProtoFuzzer::ExtSubsetDecl* value) { |
11001 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11002 | 0 | if (GetArena() == nullptr) { |
11003 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ext_); |
11004 | 0 | } |
11005 | 0 | _impl_.ext_ = reinterpret_cast<::xmlProtoFuzzer::ExtSubsetDecl*>(value); |
11006 | 0 | if (value != nullptr) { |
11007 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11008 | 0 | } else { |
11009 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11010 | 0 | } |
11011 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.ConditionalSect.ext) |
11012 | 0 | } |
11013 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* ConditionalSect::release_ext() { |
11014 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11015 | 0 |
|
11016 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11017 | 0 | ::xmlProtoFuzzer::ExtSubsetDecl* released = _impl_.ext_; |
11018 | 0 | _impl_.ext_ = nullptr; |
11019 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
11020 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
11021 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
11022 | 0 | if (GetArena() == nullptr) { |
11023 | 0 | delete old; |
11024 | 0 | } |
11025 | 0 | } else { |
11026 | 0 | if (GetArena() != nullptr) { |
11027 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
11028 | 0 | } |
11029 | 0 | } |
11030 | 0 | return released; |
11031 | 0 | } |
11032 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* ConditionalSect::unsafe_arena_release_ext() { |
11033 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11034 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.ConditionalSect.ext) |
11035 | 0 |
|
11036 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11037 | 0 | ::xmlProtoFuzzer::ExtSubsetDecl* temp = _impl_.ext_; |
11038 | 0 | _impl_.ext_ = nullptr; |
11039 | 0 | return temp; |
11040 | 0 | } |
11041 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* ConditionalSect::_internal_mutable_ext() { |
11042 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11043 | 0 | if (_impl_.ext_ == nullptr) { |
11044 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::ExtSubsetDecl>(GetArena()); |
11045 | 0 | _impl_.ext_ = reinterpret_cast<::xmlProtoFuzzer::ExtSubsetDecl*>(p); |
11046 | 0 | } |
11047 | 0 | return _impl_.ext_; |
11048 | 0 | } |
11049 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* ConditionalSect::mutable_ext() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11050 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11051 | 0 | ::xmlProtoFuzzer::ExtSubsetDecl* _msg = _internal_mutable_ext(); |
11052 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ConditionalSect.ext) |
11053 | 0 | return _msg; |
11054 | 0 | } |
11055 | 0 | inline void ConditionalSect::set_allocated_ext(::xmlProtoFuzzer::ExtSubsetDecl* value) { |
11056 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
11057 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11058 | 0 | if (message_arena == nullptr) { |
11059 | 0 | delete (_impl_.ext_); |
11060 | 0 | } |
11061 | 0 |
|
11062 | 0 | if (value != nullptr) { |
11063 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
11064 | 0 | if (message_arena != submessage_arena) { |
11065 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
11066 | 0 | } |
11067 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11068 | 0 | } else { |
11069 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11070 | 0 | } |
11071 | 0 |
|
11072 | 0 | _impl_.ext_ = reinterpret_cast<::xmlProtoFuzzer::ExtSubsetDecl*>(value); |
11073 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.ConditionalSect.ext) |
11074 | 0 | } |
11075 | | |
11076 | | // repeated string ignores = 3; |
11077 | 0 | inline int ConditionalSect::_internal_ignores_size() const { |
11078 | 0 | return _internal_ignores().size(); |
11079 | 0 | } |
11080 | 0 | inline int ConditionalSect::ignores_size() const { |
11081 | 0 | return _internal_ignores_size(); |
11082 | 0 | } |
11083 | 0 | inline void ConditionalSect::clear_ignores() { |
11084 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11085 | 0 | _impl_.ignores_.Clear(); |
11086 | 0 | } |
11087 | 0 | inline std::string* ConditionalSect::add_ignores() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11088 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11089 | 0 | std::string* _s = _internal_mutable_ignores()->Add(); |
11090 | 0 | // @@protoc_insertion_point(field_add_mutable:xmlProtoFuzzer.ConditionalSect.ignores) |
11091 | 0 | return _s; |
11092 | 0 | } |
11093 | | inline const std::string& ConditionalSect::ignores(int index) const |
11094 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11095 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ConditionalSect.ignores) |
11096 | 0 | return _internal_ignores().Get(index); |
11097 | 0 | } |
11098 | | inline std::string* ConditionalSect::mutable_ignores(int index) |
11099 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11100 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ConditionalSect.ignores) |
11101 | 0 | return _internal_mutable_ignores()->Mutable(index); |
11102 | 0 | } |
11103 | | template <typename Arg_, typename... Args_> |
11104 | | inline void ConditionalSect::set_ignores(int index, Arg_&& value, Args_... args) { |
11105 | | ::google::protobuf::internal::AssignToString( |
11106 | | *_internal_mutable_ignores()->Mutable(index), |
11107 | | std::forward<Arg_>(value), args... ); |
11108 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ConditionalSect.ignores) |
11109 | | } |
11110 | | template <typename Arg_, typename... Args_> |
11111 | | inline void ConditionalSect::add_ignores(Arg_&& value, Args_... args) { |
11112 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
11113 | | ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_ignores(), |
11114 | | std::forward<Arg_>(value), |
11115 | | args... ); |
11116 | | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.ConditionalSect.ignores) |
11117 | | } |
11118 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
11119 | 1.32k | ConditionalSect::ignores() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11120 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.ConditionalSect.ignores) |
11121 | 1.32k | return _internal_ignores(); |
11122 | 1.32k | } |
11123 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
11124 | 0 | ConditionalSect::mutable_ignores() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11125 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.ConditionalSect.ignores) |
11126 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11127 | 0 | return _internal_mutable_ignores(); |
11128 | 0 | } |
11129 | | inline const ::google::protobuf::RepeatedPtrField<std::string>& |
11130 | 1.32k | ConditionalSect::_internal_ignores() const { |
11131 | 1.32k | ::google::protobuf::internal::TSanRead(&_impl_); |
11132 | 1.32k | return _impl_.ignores_; |
11133 | 1.32k | } |
11134 | | inline ::google::protobuf::RepeatedPtrField<std::string>* |
11135 | 0 | ConditionalSect::_internal_mutable_ignores() { |
11136 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11137 | 0 | return &_impl_.ignores_; |
11138 | 0 | } |
11139 | | |
11140 | | // ------------------------------------------------------------------- |
11141 | | |
11142 | | // OneExtSubsetDecl |
11143 | | |
11144 | | // .xmlProtoFuzzer.MarkupDecl m = 1; |
11145 | 0 | inline bool OneExtSubsetDecl::has_m() const { |
11146 | 0 | return extsubset_oneof_case() == kM; |
11147 | 0 | } |
11148 | 0 | inline bool OneExtSubsetDecl::_internal_has_m() const { |
11149 | 0 | return extsubset_oneof_case() == kM; |
11150 | 0 | } |
11151 | 0 | inline void OneExtSubsetDecl::set_has_m() { |
11152 | 0 | _impl_._oneof_case_[0] = kM; |
11153 | 0 | } |
11154 | 0 | inline void OneExtSubsetDecl::clear_m() { |
11155 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11156 | 0 | if (extsubset_oneof_case() == kM) { |
11157 | 0 | if (GetArena() == nullptr) { |
11158 | 0 | delete _impl_.extsubset_oneof_.m_; |
11159 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
11160 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.extsubset_oneof_.m_); |
11161 | 0 | } |
11162 | 0 | clear_has_extsubset_oneof(); |
11163 | 0 | } |
11164 | 0 | } |
11165 | 0 | inline ::xmlProtoFuzzer::MarkupDecl* OneExtSubsetDecl::release_m() { |
11166 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.OneExtSubsetDecl.m) |
11167 | 0 | if (extsubset_oneof_case() == kM) { |
11168 | 0 | clear_has_extsubset_oneof(); |
11169 | 0 | auto* temp = _impl_.extsubset_oneof_.m_; |
11170 | 0 | if (GetArena() != nullptr) { |
11171 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
11172 | 0 | } |
11173 | 0 | _impl_.extsubset_oneof_.m_ = nullptr; |
11174 | 0 | return temp; |
11175 | 0 | } else { |
11176 | 0 | return nullptr; |
11177 | 0 | } |
11178 | 0 | } |
11179 | 23.7k | inline const ::xmlProtoFuzzer::MarkupDecl& OneExtSubsetDecl::_internal_m() const { |
11180 | 23.7k | return extsubset_oneof_case() == kM ? *_impl_.extsubset_oneof_.m_ : reinterpret_cast<::xmlProtoFuzzer::MarkupDecl&>(::xmlProtoFuzzer::_MarkupDecl_default_instance_); |
11181 | 23.7k | } |
11182 | 23.7k | inline const ::xmlProtoFuzzer::MarkupDecl& OneExtSubsetDecl::m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11183 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.OneExtSubsetDecl.m) |
11184 | 23.7k | return _internal_m(); |
11185 | 23.7k | } |
11186 | 0 | inline ::xmlProtoFuzzer::MarkupDecl* OneExtSubsetDecl::unsafe_arena_release_m() { |
11187 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.OneExtSubsetDecl.m) |
11188 | 0 | if (extsubset_oneof_case() == kM) { |
11189 | 0 | clear_has_extsubset_oneof(); |
11190 | 0 | auto* temp = _impl_.extsubset_oneof_.m_; |
11191 | 0 | _impl_.extsubset_oneof_.m_ = nullptr; |
11192 | 0 | return temp; |
11193 | 0 | } else { |
11194 | 0 | return nullptr; |
11195 | 0 | } |
11196 | 0 | } |
11197 | 0 | inline void OneExtSubsetDecl::unsafe_arena_set_allocated_m(::xmlProtoFuzzer::MarkupDecl* value) { |
11198 | 0 | // We rely on the oneof clear method to free the earlier contents |
11199 | 0 | // of this oneof. We can directly use the pointer we're given to |
11200 | 0 | // set the new value. |
11201 | 0 | clear_extsubset_oneof(); |
11202 | 0 | if (value) { |
11203 | 0 | set_has_m(); |
11204 | 0 | _impl_.extsubset_oneof_.m_ = value; |
11205 | 0 | } |
11206 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.OneExtSubsetDecl.m) |
11207 | 0 | } |
11208 | 0 | inline ::xmlProtoFuzzer::MarkupDecl* OneExtSubsetDecl::_internal_mutable_m() { |
11209 | 0 | if (extsubset_oneof_case() != kM) { |
11210 | 0 | clear_extsubset_oneof(); |
11211 | 0 | set_has_m(); |
11212 | 0 | _impl_.extsubset_oneof_.m_ = |
11213 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::MarkupDecl>(GetArena()); |
11214 | 0 | } |
11215 | 0 | return _impl_.extsubset_oneof_.m_; |
11216 | 0 | } |
11217 | 0 | inline ::xmlProtoFuzzer::MarkupDecl* OneExtSubsetDecl::mutable_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11218 | 0 | ::xmlProtoFuzzer::MarkupDecl* _msg = _internal_mutable_m(); |
11219 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.OneExtSubsetDecl.m) |
11220 | 0 | return _msg; |
11221 | 0 | } |
11222 | | |
11223 | | // .xmlProtoFuzzer.ConditionalSect c = 2; |
11224 | 0 | inline bool OneExtSubsetDecl::has_c() const { |
11225 | 0 | return extsubset_oneof_case() == kC; |
11226 | 0 | } |
11227 | 0 | inline bool OneExtSubsetDecl::_internal_has_c() const { |
11228 | 0 | return extsubset_oneof_case() == kC; |
11229 | 0 | } |
11230 | 0 | inline void OneExtSubsetDecl::set_has_c() { |
11231 | 0 | _impl_._oneof_case_[0] = kC; |
11232 | 0 | } |
11233 | 0 | inline void OneExtSubsetDecl::clear_c() { |
11234 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11235 | 0 | if (extsubset_oneof_case() == kC) { |
11236 | 0 | if (GetArena() == nullptr) { |
11237 | 0 | delete _impl_.extsubset_oneof_.c_; |
11238 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
11239 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.extsubset_oneof_.c_); |
11240 | 0 | } |
11241 | 0 | clear_has_extsubset_oneof(); |
11242 | 0 | } |
11243 | 0 | } |
11244 | 0 | inline ::xmlProtoFuzzer::ConditionalSect* OneExtSubsetDecl::release_c() { |
11245 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.OneExtSubsetDecl.c) |
11246 | 0 | if (extsubset_oneof_case() == kC) { |
11247 | 0 | clear_has_extsubset_oneof(); |
11248 | 0 | auto* temp = _impl_.extsubset_oneof_.c_; |
11249 | 0 | if (GetArena() != nullptr) { |
11250 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
11251 | 0 | } |
11252 | 0 | _impl_.extsubset_oneof_.c_ = nullptr; |
11253 | 0 | return temp; |
11254 | 0 | } else { |
11255 | 0 | return nullptr; |
11256 | 0 | } |
11257 | 0 | } |
11258 | 9.07k | inline const ::xmlProtoFuzzer::ConditionalSect& OneExtSubsetDecl::_internal_c() const { |
11259 | 9.07k | return extsubset_oneof_case() == kC ? *_impl_.extsubset_oneof_.c_ : reinterpret_cast<::xmlProtoFuzzer::ConditionalSect&>(::xmlProtoFuzzer::_ConditionalSect_default_instance_); |
11260 | 9.07k | } |
11261 | 9.07k | inline const ::xmlProtoFuzzer::ConditionalSect& OneExtSubsetDecl::c() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11262 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.OneExtSubsetDecl.c) |
11263 | 9.07k | return _internal_c(); |
11264 | 9.07k | } |
11265 | 0 | inline ::xmlProtoFuzzer::ConditionalSect* OneExtSubsetDecl::unsafe_arena_release_c() { |
11266 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.OneExtSubsetDecl.c) |
11267 | 0 | if (extsubset_oneof_case() == kC) { |
11268 | 0 | clear_has_extsubset_oneof(); |
11269 | 0 | auto* temp = _impl_.extsubset_oneof_.c_; |
11270 | 0 | _impl_.extsubset_oneof_.c_ = nullptr; |
11271 | 0 | return temp; |
11272 | 0 | } else { |
11273 | 0 | return nullptr; |
11274 | 0 | } |
11275 | 0 | } |
11276 | 0 | inline void OneExtSubsetDecl::unsafe_arena_set_allocated_c(::xmlProtoFuzzer::ConditionalSect* value) { |
11277 | 0 | // We rely on the oneof clear method to free the earlier contents |
11278 | 0 | // of this oneof. We can directly use the pointer we're given to |
11279 | 0 | // set the new value. |
11280 | 0 | clear_extsubset_oneof(); |
11281 | 0 | if (value) { |
11282 | 0 | set_has_c(); |
11283 | 0 | _impl_.extsubset_oneof_.c_ = value; |
11284 | 0 | } |
11285 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.OneExtSubsetDecl.c) |
11286 | 0 | } |
11287 | 0 | inline ::xmlProtoFuzzer::ConditionalSect* OneExtSubsetDecl::_internal_mutable_c() { |
11288 | 0 | if (extsubset_oneof_case() != kC) { |
11289 | 0 | clear_extsubset_oneof(); |
11290 | 0 | set_has_c(); |
11291 | 0 | _impl_.extsubset_oneof_.c_ = |
11292 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::ConditionalSect>(GetArena()); |
11293 | 0 | } |
11294 | 0 | return _impl_.extsubset_oneof_.c_; |
11295 | 0 | } |
11296 | 0 | inline ::xmlProtoFuzzer::ConditionalSect* OneExtSubsetDecl::mutable_c() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11297 | 0 | ::xmlProtoFuzzer::ConditionalSect* _msg = _internal_mutable_c(); |
11298 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.OneExtSubsetDecl.c) |
11299 | 0 | return _msg; |
11300 | 0 | } |
11301 | | |
11302 | 46.4k | inline bool OneExtSubsetDecl::has_extsubset_oneof() const { |
11303 | 46.4k | return extsubset_oneof_case() != EXTSUBSET_ONEOF_NOT_SET; |
11304 | 46.4k | } |
11305 | 0 | inline void OneExtSubsetDecl::clear_has_extsubset_oneof() { |
11306 | 0 | _impl_._oneof_case_[0] = EXTSUBSET_ONEOF_NOT_SET; |
11307 | 0 | } |
11308 | 157k | inline OneExtSubsetDecl::ExtsubsetOneofCase OneExtSubsetDecl::extsubset_oneof_case() const { |
11309 | 157k | return OneExtSubsetDecl::ExtsubsetOneofCase(_impl_._oneof_case_[0]); |
11310 | 157k | } |
11311 | | // ------------------------------------------------------------------- |
11312 | | |
11313 | | // ExtSubsetDecl |
11314 | | |
11315 | | // repeated .xmlProtoFuzzer.OneExtSubsetDecl decls = 1; |
11316 | 0 | inline int ExtSubsetDecl::_internal_decls_size() const { |
11317 | 0 | return _internal_decls().size(); |
11318 | 0 | } |
11319 | 0 | inline int ExtSubsetDecl::decls_size() const { |
11320 | 0 | return _internal_decls_size(); |
11321 | 0 | } |
11322 | 0 | inline void ExtSubsetDecl::clear_decls() { |
11323 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11324 | 0 | _impl_.decls_.Clear(); |
11325 | 0 | } |
11326 | | inline ::xmlProtoFuzzer::OneExtSubsetDecl* ExtSubsetDecl::mutable_decls(int index) |
11327 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11328 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ExtSubsetDecl.decls) |
11329 | 0 | return _internal_mutable_decls()->Mutable(index); |
11330 | 0 | } |
11331 | | inline ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::OneExtSubsetDecl>* ExtSubsetDecl::mutable_decls() |
11332 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11333 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.ExtSubsetDecl.decls) |
11334 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11335 | 0 | return _internal_mutable_decls(); |
11336 | 0 | } |
11337 | | inline const ::xmlProtoFuzzer::OneExtSubsetDecl& ExtSubsetDecl::decls(int index) const |
11338 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11339 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ExtSubsetDecl.decls) |
11340 | 0 | return _internal_decls().Get(index); |
11341 | 0 | } |
11342 | 0 | inline ::xmlProtoFuzzer::OneExtSubsetDecl* ExtSubsetDecl::add_decls() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11343 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11344 | 0 | ::xmlProtoFuzzer::OneExtSubsetDecl* _add = _internal_mutable_decls()->Add(); |
11345 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.ExtSubsetDecl.decls) |
11346 | 0 | return _add; |
11347 | 0 | } |
11348 | | inline const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::OneExtSubsetDecl>& ExtSubsetDecl::decls() const |
11349 | 13.9k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11350 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.ExtSubsetDecl.decls) |
11351 | 13.9k | return _internal_decls(); |
11352 | 13.9k | } |
11353 | | inline const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::OneExtSubsetDecl>& |
11354 | 13.9k | ExtSubsetDecl::_internal_decls() const { |
11355 | 13.9k | ::google::protobuf::internal::TSanRead(&_impl_); |
11356 | 13.9k | return _impl_.decls_; |
11357 | 13.9k | } |
11358 | | inline ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::OneExtSubsetDecl>* |
11359 | 0 | ExtSubsetDecl::_internal_mutable_decls() { |
11360 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
11361 | 0 | return &_impl_.decls_; |
11362 | 0 | } |
11363 | | |
11364 | | // ------------------------------------------------------------------- |
11365 | | |
11366 | | // MarkupDecl |
11367 | | |
11368 | | // .xmlProtoFuzzer.ElementDecl e = 1; |
11369 | 0 | inline bool MarkupDecl::has_e() const { |
11370 | 0 | return markup_oneof_case() == kE; |
11371 | 0 | } |
11372 | 0 | inline bool MarkupDecl::_internal_has_e() const { |
11373 | 0 | return markup_oneof_case() == kE; |
11374 | 0 | } |
11375 | 0 | inline void MarkupDecl::set_has_e() { |
11376 | 0 | _impl_._oneof_case_[0] = kE; |
11377 | 0 | } |
11378 | 0 | inline void MarkupDecl::clear_e() { |
11379 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11380 | 0 | if (markup_oneof_case() == kE) { |
11381 | 0 | if (GetArena() == nullptr) { |
11382 | 0 | delete _impl_.markup_oneof_.e_; |
11383 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
11384 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.markup_oneof_.e_); |
11385 | 0 | } |
11386 | 0 | clear_has_markup_oneof(); |
11387 | 0 | } |
11388 | 0 | } |
11389 | 0 | inline ::xmlProtoFuzzer::ElementDecl* MarkupDecl::release_e() { |
11390 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.MarkupDecl.e) |
11391 | 0 | if (markup_oneof_case() == kE) { |
11392 | 0 | clear_has_markup_oneof(); |
11393 | 0 | auto* temp = _impl_.markup_oneof_.e_; |
11394 | 0 | if (GetArena() != nullptr) { |
11395 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
11396 | 0 | } |
11397 | 0 | _impl_.markup_oneof_.e_ = nullptr; |
11398 | 0 | return temp; |
11399 | 0 | } else { |
11400 | 0 | return nullptr; |
11401 | 0 | } |
11402 | 0 | } |
11403 | 5.83k | inline const ::xmlProtoFuzzer::ElementDecl& MarkupDecl::_internal_e() const { |
11404 | 5.83k | return markup_oneof_case() == kE ? *_impl_.markup_oneof_.e_ : reinterpret_cast<::xmlProtoFuzzer::ElementDecl&>(::xmlProtoFuzzer::_ElementDecl_default_instance_); |
11405 | 5.83k | } |
11406 | 5.83k | inline const ::xmlProtoFuzzer::ElementDecl& MarkupDecl::e() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11407 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.MarkupDecl.e) |
11408 | 5.83k | return _internal_e(); |
11409 | 5.83k | } |
11410 | 0 | inline ::xmlProtoFuzzer::ElementDecl* MarkupDecl::unsafe_arena_release_e() { |
11411 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.MarkupDecl.e) |
11412 | 0 | if (markup_oneof_case() == kE) { |
11413 | 0 | clear_has_markup_oneof(); |
11414 | 0 | auto* temp = _impl_.markup_oneof_.e_; |
11415 | 0 | _impl_.markup_oneof_.e_ = nullptr; |
11416 | 0 | return temp; |
11417 | 0 | } else { |
11418 | 0 | return nullptr; |
11419 | 0 | } |
11420 | 0 | } |
11421 | 0 | inline void MarkupDecl::unsafe_arena_set_allocated_e(::xmlProtoFuzzer::ElementDecl* value) { |
11422 | 0 | // We rely on the oneof clear method to free the earlier contents |
11423 | 0 | // of this oneof. We can directly use the pointer we're given to |
11424 | 0 | // set the new value. |
11425 | 0 | clear_markup_oneof(); |
11426 | 0 | if (value) { |
11427 | 0 | set_has_e(); |
11428 | 0 | _impl_.markup_oneof_.e_ = value; |
11429 | 0 | } |
11430 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.MarkupDecl.e) |
11431 | 0 | } |
11432 | 0 | inline ::xmlProtoFuzzer::ElementDecl* MarkupDecl::_internal_mutable_e() { |
11433 | 0 | if (markup_oneof_case() != kE) { |
11434 | 0 | clear_markup_oneof(); |
11435 | 0 | set_has_e(); |
11436 | 0 | _impl_.markup_oneof_.e_ = |
11437 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::ElementDecl>(GetArena()); |
11438 | 0 | } |
11439 | 0 | return _impl_.markup_oneof_.e_; |
11440 | 0 | } |
11441 | 0 | inline ::xmlProtoFuzzer::ElementDecl* MarkupDecl::mutable_e() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11442 | 0 | ::xmlProtoFuzzer::ElementDecl* _msg = _internal_mutable_e(); |
11443 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.MarkupDecl.e) |
11444 | 0 | return _msg; |
11445 | 0 | } |
11446 | | |
11447 | | // .xmlProtoFuzzer.AttListDecl a = 2; |
11448 | 0 | inline bool MarkupDecl::has_a() const { |
11449 | 0 | return markup_oneof_case() == kA; |
11450 | 0 | } |
11451 | 0 | inline bool MarkupDecl::_internal_has_a() const { |
11452 | 0 | return markup_oneof_case() == kA; |
11453 | 0 | } |
11454 | 0 | inline void MarkupDecl::set_has_a() { |
11455 | 0 | _impl_._oneof_case_[0] = kA; |
11456 | 0 | } |
11457 | 0 | inline void MarkupDecl::clear_a() { |
11458 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11459 | 0 | if (markup_oneof_case() == kA) { |
11460 | 0 | if (GetArena() == nullptr) { |
11461 | 0 | delete _impl_.markup_oneof_.a_; |
11462 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
11463 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.markup_oneof_.a_); |
11464 | 0 | } |
11465 | 0 | clear_has_markup_oneof(); |
11466 | 0 | } |
11467 | 0 | } |
11468 | 0 | inline ::xmlProtoFuzzer::AttListDecl* MarkupDecl::release_a() { |
11469 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.MarkupDecl.a) |
11470 | 0 | if (markup_oneof_case() == kA) { |
11471 | 0 | clear_has_markup_oneof(); |
11472 | 0 | auto* temp = _impl_.markup_oneof_.a_; |
11473 | 0 | if (GetArena() != nullptr) { |
11474 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
11475 | 0 | } |
11476 | 0 | _impl_.markup_oneof_.a_ = nullptr; |
11477 | 0 | return temp; |
11478 | 0 | } else { |
11479 | 0 | return nullptr; |
11480 | 0 | } |
11481 | 0 | } |
11482 | 5.09k | inline const ::xmlProtoFuzzer::AttListDecl& MarkupDecl::_internal_a() const { |
11483 | 5.09k | return markup_oneof_case() == kA ? *_impl_.markup_oneof_.a_ : reinterpret_cast<::xmlProtoFuzzer::AttListDecl&>(::xmlProtoFuzzer::_AttListDecl_default_instance_); |
11484 | 5.09k | } |
11485 | 5.09k | inline const ::xmlProtoFuzzer::AttListDecl& MarkupDecl::a() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11486 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.MarkupDecl.a) |
11487 | 5.09k | return _internal_a(); |
11488 | 5.09k | } |
11489 | 0 | inline ::xmlProtoFuzzer::AttListDecl* MarkupDecl::unsafe_arena_release_a() { |
11490 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.MarkupDecl.a) |
11491 | 0 | if (markup_oneof_case() == kA) { |
11492 | 0 | clear_has_markup_oneof(); |
11493 | 0 | auto* temp = _impl_.markup_oneof_.a_; |
11494 | 0 | _impl_.markup_oneof_.a_ = nullptr; |
11495 | 0 | return temp; |
11496 | 0 | } else { |
11497 | 0 | return nullptr; |
11498 | 0 | } |
11499 | 0 | } |
11500 | 0 | inline void MarkupDecl::unsafe_arena_set_allocated_a(::xmlProtoFuzzer::AttListDecl* value) { |
11501 | 0 | // We rely on the oneof clear method to free the earlier contents |
11502 | 0 | // of this oneof. We can directly use the pointer we're given to |
11503 | 0 | // set the new value. |
11504 | 0 | clear_markup_oneof(); |
11505 | 0 | if (value) { |
11506 | 0 | set_has_a(); |
11507 | 0 | _impl_.markup_oneof_.a_ = value; |
11508 | 0 | } |
11509 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.MarkupDecl.a) |
11510 | 0 | } |
11511 | 0 | inline ::xmlProtoFuzzer::AttListDecl* MarkupDecl::_internal_mutable_a() { |
11512 | 0 | if (markup_oneof_case() != kA) { |
11513 | 0 | clear_markup_oneof(); |
11514 | 0 | set_has_a(); |
11515 | 0 | _impl_.markup_oneof_.a_ = |
11516 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::AttListDecl>(GetArena()); |
11517 | 0 | } |
11518 | 0 | return _impl_.markup_oneof_.a_; |
11519 | 0 | } |
11520 | 0 | inline ::xmlProtoFuzzer::AttListDecl* MarkupDecl::mutable_a() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11521 | 0 | ::xmlProtoFuzzer::AttListDecl* _msg = _internal_mutable_a(); |
11522 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.MarkupDecl.a) |
11523 | 0 | return _msg; |
11524 | 0 | } |
11525 | | |
11526 | | // .xmlProtoFuzzer.NotationDecl n = 3; |
11527 | 0 | inline bool MarkupDecl::has_n() const { |
11528 | 0 | return markup_oneof_case() == kN; |
11529 | 0 | } |
11530 | 0 | inline bool MarkupDecl::_internal_has_n() const { |
11531 | 0 | return markup_oneof_case() == kN; |
11532 | 0 | } |
11533 | 0 | inline void MarkupDecl::set_has_n() { |
11534 | 0 | _impl_._oneof_case_[0] = kN; |
11535 | 0 | } |
11536 | 0 | inline void MarkupDecl::clear_n() { |
11537 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11538 | 0 | if (markup_oneof_case() == kN) { |
11539 | 0 | if (GetArena() == nullptr) { |
11540 | 0 | delete _impl_.markup_oneof_.n_; |
11541 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
11542 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.markup_oneof_.n_); |
11543 | 0 | } |
11544 | 0 | clear_has_markup_oneof(); |
11545 | 0 | } |
11546 | 0 | } |
11547 | 0 | inline ::xmlProtoFuzzer::NotationDecl* MarkupDecl::release_n() { |
11548 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.MarkupDecl.n) |
11549 | 0 | if (markup_oneof_case() == kN) { |
11550 | 0 | clear_has_markup_oneof(); |
11551 | 0 | auto* temp = _impl_.markup_oneof_.n_; |
11552 | 0 | if (GetArena() != nullptr) { |
11553 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
11554 | 0 | } |
11555 | 0 | _impl_.markup_oneof_.n_ = nullptr; |
11556 | 0 | return temp; |
11557 | 0 | } else { |
11558 | 0 | return nullptr; |
11559 | 0 | } |
11560 | 0 | } |
11561 | 4.73k | inline const ::xmlProtoFuzzer::NotationDecl& MarkupDecl::_internal_n() const { |
11562 | 4.73k | return markup_oneof_case() == kN ? *_impl_.markup_oneof_.n_ : reinterpret_cast<::xmlProtoFuzzer::NotationDecl&>(::xmlProtoFuzzer::_NotationDecl_default_instance_); |
11563 | 4.73k | } |
11564 | 4.73k | inline const ::xmlProtoFuzzer::NotationDecl& MarkupDecl::n() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11565 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.MarkupDecl.n) |
11566 | 4.73k | return _internal_n(); |
11567 | 4.73k | } |
11568 | 0 | inline ::xmlProtoFuzzer::NotationDecl* MarkupDecl::unsafe_arena_release_n() { |
11569 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.MarkupDecl.n) |
11570 | 0 | if (markup_oneof_case() == kN) { |
11571 | 0 | clear_has_markup_oneof(); |
11572 | 0 | auto* temp = _impl_.markup_oneof_.n_; |
11573 | 0 | _impl_.markup_oneof_.n_ = nullptr; |
11574 | 0 | return temp; |
11575 | 0 | } else { |
11576 | 0 | return nullptr; |
11577 | 0 | } |
11578 | 0 | } |
11579 | 0 | inline void MarkupDecl::unsafe_arena_set_allocated_n(::xmlProtoFuzzer::NotationDecl* value) { |
11580 | 0 | // We rely on the oneof clear method to free the earlier contents |
11581 | 0 | // of this oneof. We can directly use the pointer we're given to |
11582 | 0 | // set the new value. |
11583 | 0 | clear_markup_oneof(); |
11584 | 0 | if (value) { |
11585 | 0 | set_has_n(); |
11586 | 0 | _impl_.markup_oneof_.n_ = value; |
11587 | 0 | } |
11588 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.MarkupDecl.n) |
11589 | 0 | } |
11590 | 0 | inline ::xmlProtoFuzzer::NotationDecl* MarkupDecl::_internal_mutable_n() { |
11591 | 0 | if (markup_oneof_case() != kN) { |
11592 | 0 | clear_markup_oneof(); |
11593 | 0 | set_has_n(); |
11594 | 0 | _impl_.markup_oneof_.n_ = |
11595 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::NotationDecl>(GetArena()); |
11596 | 0 | } |
11597 | 0 | return _impl_.markup_oneof_.n_; |
11598 | 0 | } |
11599 | 0 | inline ::xmlProtoFuzzer::NotationDecl* MarkupDecl::mutable_n() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11600 | 0 | ::xmlProtoFuzzer::NotationDecl* _msg = _internal_mutable_n(); |
11601 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.MarkupDecl.n) |
11602 | 0 | return _msg; |
11603 | 0 | } |
11604 | | |
11605 | | // .xmlProtoFuzzer.Misc m = 4; |
11606 | 0 | inline bool MarkupDecl::has_m() const { |
11607 | 0 | return markup_oneof_case() == kM; |
11608 | 0 | } |
11609 | 0 | inline bool MarkupDecl::_internal_has_m() const { |
11610 | 0 | return markup_oneof_case() == kM; |
11611 | 0 | } |
11612 | 0 | inline void MarkupDecl::set_has_m() { |
11613 | 0 | _impl_._oneof_case_[0] = kM; |
11614 | 0 | } |
11615 | 0 | inline void MarkupDecl::clear_m() { |
11616 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11617 | 0 | if (markup_oneof_case() == kM) { |
11618 | 0 | if (GetArena() == nullptr) { |
11619 | 0 | delete _impl_.markup_oneof_.m_; |
11620 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
11621 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.markup_oneof_.m_); |
11622 | 0 | } |
11623 | 0 | clear_has_markup_oneof(); |
11624 | 0 | } |
11625 | 0 | } |
11626 | 0 | inline ::xmlProtoFuzzer::Misc* MarkupDecl::release_m() { |
11627 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.MarkupDecl.m) |
11628 | 0 | if (markup_oneof_case() == kM) { |
11629 | 0 | clear_has_markup_oneof(); |
11630 | 0 | auto* temp = _impl_.markup_oneof_.m_; |
11631 | 0 | if (GetArena() != nullptr) { |
11632 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
11633 | 0 | } |
11634 | 0 | _impl_.markup_oneof_.m_ = nullptr; |
11635 | 0 | return temp; |
11636 | 0 | } else { |
11637 | 0 | return nullptr; |
11638 | 0 | } |
11639 | 0 | } |
11640 | 2.09k | inline const ::xmlProtoFuzzer::Misc& MarkupDecl::_internal_m() const { |
11641 | 2.09k | return markup_oneof_case() == kM ? *_impl_.markup_oneof_.m_ : reinterpret_cast<::xmlProtoFuzzer::Misc&>(::xmlProtoFuzzer::_Misc_default_instance_); |
11642 | 2.09k | } |
11643 | 2.09k | inline const ::xmlProtoFuzzer::Misc& MarkupDecl::m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11644 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.MarkupDecl.m) |
11645 | 2.09k | return _internal_m(); |
11646 | 2.09k | } |
11647 | 0 | inline ::xmlProtoFuzzer::Misc* MarkupDecl::unsafe_arena_release_m() { |
11648 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.MarkupDecl.m) |
11649 | 0 | if (markup_oneof_case() == kM) { |
11650 | 0 | clear_has_markup_oneof(); |
11651 | 0 | auto* temp = _impl_.markup_oneof_.m_; |
11652 | 0 | _impl_.markup_oneof_.m_ = nullptr; |
11653 | 0 | return temp; |
11654 | 0 | } else { |
11655 | 0 | return nullptr; |
11656 | 0 | } |
11657 | 0 | } |
11658 | 0 | inline void MarkupDecl::unsafe_arena_set_allocated_m(::xmlProtoFuzzer::Misc* value) { |
11659 | 0 | // We rely on the oneof clear method to free the earlier contents |
11660 | 0 | // of this oneof. We can directly use the pointer we're given to |
11661 | 0 | // set the new value. |
11662 | 0 | clear_markup_oneof(); |
11663 | 0 | if (value) { |
11664 | 0 | set_has_m(); |
11665 | 0 | _impl_.markup_oneof_.m_ = value; |
11666 | 0 | } |
11667 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.MarkupDecl.m) |
11668 | 0 | } |
11669 | 0 | inline ::xmlProtoFuzzer::Misc* MarkupDecl::_internal_mutable_m() { |
11670 | 0 | if (markup_oneof_case() != kM) { |
11671 | 0 | clear_markup_oneof(); |
11672 | 0 | set_has_m(); |
11673 | 0 | _impl_.markup_oneof_.m_ = |
11674 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::Misc>(GetArena()); |
11675 | 0 | } |
11676 | 0 | return _impl_.markup_oneof_.m_; |
11677 | 0 | } |
11678 | 0 | inline ::xmlProtoFuzzer::Misc* MarkupDecl::mutable_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11679 | 0 | ::xmlProtoFuzzer::Misc* _msg = _internal_mutable_m(); |
11680 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.MarkupDecl.m) |
11681 | 0 | return _msg; |
11682 | 0 | } |
11683 | | |
11684 | | // .xmlProtoFuzzer.EntityDecl entity = 5; |
11685 | 0 | inline bool MarkupDecl::has_entity() const { |
11686 | 0 | return markup_oneof_case() == kEntity; |
11687 | 0 | } |
11688 | 0 | inline bool MarkupDecl::_internal_has_entity() const { |
11689 | 0 | return markup_oneof_case() == kEntity; |
11690 | 0 | } |
11691 | 0 | inline void MarkupDecl::set_has_entity() { |
11692 | 0 | _impl_._oneof_case_[0] = kEntity; |
11693 | 0 | } |
11694 | 0 | inline void MarkupDecl::clear_entity() { |
11695 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11696 | 0 | if (markup_oneof_case() == kEntity) { |
11697 | 0 | if (GetArena() == nullptr) { |
11698 | 0 | delete _impl_.markup_oneof_.entity_; |
11699 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
11700 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.markup_oneof_.entity_); |
11701 | 0 | } |
11702 | 0 | clear_has_markup_oneof(); |
11703 | 0 | } |
11704 | 0 | } |
11705 | 0 | inline ::xmlProtoFuzzer::EntityDecl* MarkupDecl::release_entity() { |
11706 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.MarkupDecl.entity) |
11707 | 0 | if (markup_oneof_case() == kEntity) { |
11708 | 0 | clear_has_markup_oneof(); |
11709 | 0 | auto* temp = _impl_.markup_oneof_.entity_; |
11710 | 0 | if (GetArena() != nullptr) { |
11711 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
11712 | 0 | } |
11713 | 0 | _impl_.markup_oneof_.entity_ = nullptr; |
11714 | 0 | return temp; |
11715 | 0 | } else { |
11716 | 0 | return nullptr; |
11717 | 0 | } |
11718 | 0 | } |
11719 | 10.9k | inline const ::xmlProtoFuzzer::EntityDecl& MarkupDecl::_internal_entity() const { |
11720 | 10.9k | return markup_oneof_case() == kEntity ? *_impl_.markup_oneof_.entity_ : reinterpret_cast<::xmlProtoFuzzer::EntityDecl&>(::xmlProtoFuzzer::_EntityDecl_default_instance_); |
11721 | 10.9k | } |
11722 | 10.9k | inline const ::xmlProtoFuzzer::EntityDecl& MarkupDecl::entity() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11723 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.MarkupDecl.entity) |
11724 | 10.9k | return _internal_entity(); |
11725 | 10.9k | } |
11726 | 0 | inline ::xmlProtoFuzzer::EntityDecl* MarkupDecl::unsafe_arena_release_entity() { |
11727 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.MarkupDecl.entity) |
11728 | 0 | if (markup_oneof_case() == kEntity) { |
11729 | 0 | clear_has_markup_oneof(); |
11730 | 0 | auto* temp = _impl_.markup_oneof_.entity_; |
11731 | 0 | _impl_.markup_oneof_.entity_ = nullptr; |
11732 | 0 | return temp; |
11733 | 0 | } else { |
11734 | 0 | return nullptr; |
11735 | 0 | } |
11736 | 0 | } |
11737 | 0 | inline void MarkupDecl::unsafe_arena_set_allocated_entity(::xmlProtoFuzzer::EntityDecl* value) { |
11738 | 0 | // We rely on the oneof clear method to free the earlier contents |
11739 | 0 | // of this oneof. We can directly use the pointer we're given to |
11740 | 0 | // set the new value. |
11741 | 0 | clear_markup_oneof(); |
11742 | 0 | if (value) { |
11743 | 0 | set_has_entity(); |
11744 | 0 | _impl_.markup_oneof_.entity_ = value; |
11745 | 0 | } |
11746 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.MarkupDecl.entity) |
11747 | 0 | } |
11748 | 0 | inline ::xmlProtoFuzzer::EntityDecl* MarkupDecl::_internal_mutable_entity() { |
11749 | 0 | if (markup_oneof_case() != kEntity) { |
11750 | 0 | clear_markup_oneof(); |
11751 | 0 | set_has_entity(); |
11752 | 0 | _impl_.markup_oneof_.entity_ = |
11753 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::EntityDecl>(GetArena()); |
11754 | 0 | } |
11755 | 0 | return _impl_.markup_oneof_.entity_; |
11756 | 0 | } |
11757 | 0 | inline ::xmlProtoFuzzer::EntityDecl* MarkupDecl::mutable_entity() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11758 | 0 | ::xmlProtoFuzzer::EntityDecl* _msg = _internal_mutable_entity(); |
11759 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.MarkupDecl.entity) |
11760 | 0 | return _msg; |
11761 | 0 | } |
11762 | | |
11763 | | // .xmlProtoFuzzer.ExtSubsetDecl ext = 6; |
11764 | 0 | inline bool MarkupDecl::has_ext() const { |
11765 | 0 | return markup_oneof_case() == kExt; |
11766 | 0 | } |
11767 | 0 | inline bool MarkupDecl::_internal_has_ext() const { |
11768 | 0 | return markup_oneof_case() == kExt; |
11769 | 0 | } |
11770 | 0 | inline void MarkupDecl::set_has_ext() { |
11771 | 0 | _impl_._oneof_case_[0] = kExt; |
11772 | 0 | } |
11773 | 0 | inline void MarkupDecl::clear_ext() { |
11774 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11775 | 0 | if (markup_oneof_case() == kExt) { |
11776 | 0 | if (GetArena() == nullptr) { |
11777 | 0 | delete _impl_.markup_oneof_.ext_; |
11778 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
11779 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.markup_oneof_.ext_); |
11780 | 0 | } |
11781 | 0 | clear_has_markup_oneof(); |
11782 | 0 | } |
11783 | 0 | } |
11784 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* MarkupDecl::release_ext() { |
11785 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.MarkupDecl.ext) |
11786 | 0 | if (markup_oneof_case() == kExt) { |
11787 | 0 | clear_has_markup_oneof(); |
11788 | 0 | auto* temp = _impl_.markup_oneof_.ext_; |
11789 | 0 | if (GetArena() != nullptr) { |
11790 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
11791 | 0 | } |
11792 | 0 | _impl_.markup_oneof_.ext_ = nullptr; |
11793 | 0 | return temp; |
11794 | 0 | } else { |
11795 | 0 | return nullptr; |
11796 | 0 | } |
11797 | 0 | } |
11798 | 6.23k | inline const ::xmlProtoFuzzer::ExtSubsetDecl& MarkupDecl::_internal_ext() const { |
11799 | 6.23k | return markup_oneof_case() == kExt ? *_impl_.markup_oneof_.ext_ : reinterpret_cast<::xmlProtoFuzzer::ExtSubsetDecl&>(::xmlProtoFuzzer::_ExtSubsetDecl_default_instance_); |
11800 | 6.23k | } |
11801 | 6.23k | inline const ::xmlProtoFuzzer::ExtSubsetDecl& MarkupDecl::ext() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11802 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.MarkupDecl.ext) |
11803 | 6.23k | return _internal_ext(); |
11804 | 6.23k | } |
11805 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* MarkupDecl::unsafe_arena_release_ext() { |
11806 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.MarkupDecl.ext) |
11807 | 0 | if (markup_oneof_case() == kExt) { |
11808 | 0 | clear_has_markup_oneof(); |
11809 | 0 | auto* temp = _impl_.markup_oneof_.ext_; |
11810 | 0 | _impl_.markup_oneof_.ext_ = nullptr; |
11811 | 0 | return temp; |
11812 | 0 | } else { |
11813 | 0 | return nullptr; |
11814 | 0 | } |
11815 | 0 | } |
11816 | 0 | inline void MarkupDecl::unsafe_arena_set_allocated_ext(::xmlProtoFuzzer::ExtSubsetDecl* value) { |
11817 | 0 | // We rely on the oneof clear method to free the earlier contents |
11818 | 0 | // of this oneof. We can directly use the pointer we're given to |
11819 | 0 | // set the new value. |
11820 | 0 | clear_markup_oneof(); |
11821 | 0 | if (value) { |
11822 | 0 | set_has_ext(); |
11823 | 0 | _impl_.markup_oneof_.ext_ = value; |
11824 | 0 | } |
11825 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.MarkupDecl.ext) |
11826 | 0 | } |
11827 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* MarkupDecl::_internal_mutable_ext() { |
11828 | 0 | if (markup_oneof_case() != kExt) { |
11829 | 0 | clear_markup_oneof(); |
11830 | 0 | set_has_ext(); |
11831 | 0 | _impl_.markup_oneof_.ext_ = |
11832 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::ExtSubsetDecl>(GetArena()); |
11833 | 0 | } |
11834 | 0 | return _impl_.markup_oneof_.ext_; |
11835 | 0 | } |
11836 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* MarkupDecl::mutable_ext() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11837 | 0 | ::xmlProtoFuzzer::ExtSubsetDecl* _msg = _internal_mutable_ext(); |
11838 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.MarkupDecl.ext) |
11839 | 0 | return _msg; |
11840 | 0 | } |
11841 | | |
11842 | 42.7k | inline bool MarkupDecl::has_markup_oneof() const { |
11843 | 42.7k | return markup_oneof_case() != MARKUP_ONEOF_NOT_SET; |
11844 | 42.7k | } |
11845 | 0 | inline void MarkupDecl::clear_has_markup_oneof() { |
11846 | 0 | _impl_._oneof_case_[0] = MARKUP_ONEOF_NOT_SET; |
11847 | 0 | } |
11848 | 155k | inline MarkupDecl::MarkupOneofCase MarkupDecl::markup_oneof_case() const { |
11849 | 155k | return MarkupDecl::MarkupOneofCase(_impl_._oneof_case_[0]); |
11850 | 155k | } |
11851 | | // ------------------------------------------------------------------- |
11852 | | |
11853 | | // DocTypeDecl |
11854 | | |
11855 | | // string name = 1; |
11856 | 0 | inline void DocTypeDecl::clear_name() { |
11857 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11858 | 0 | _impl_.name_.ClearToEmpty(); |
11859 | 0 | } |
11860 | | inline const std::string& DocTypeDecl::name() const |
11861 | 8.25k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11862 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.DocTypeDecl.name) |
11863 | 8.25k | return _internal_name(); |
11864 | 8.25k | } |
11865 | | template <typename Arg_, typename... Args_> |
11866 | | inline PROTOBUF_ALWAYS_INLINE void DocTypeDecl::set_name(Arg_&& arg, |
11867 | | Args_... args) { |
11868 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
11869 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
11870 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.DocTypeDecl.name) |
11871 | | } |
11872 | 0 | inline std::string* DocTypeDecl::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11873 | 0 | std::string* _s = _internal_mutable_name(); |
11874 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.DocTypeDecl.name) |
11875 | 0 | return _s; |
11876 | 0 | } |
11877 | 8.25k | inline const std::string& DocTypeDecl::_internal_name() const { |
11878 | 8.25k | ::google::protobuf::internal::TSanRead(&_impl_); |
11879 | 8.25k | return _impl_.name_.Get(); |
11880 | 8.25k | } |
11881 | 0 | inline void DocTypeDecl::_internal_set_name(const std::string& value) { |
11882 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11883 | 0 | _impl_.name_.Set(value, GetArena()); |
11884 | 0 | } |
11885 | 0 | inline std::string* DocTypeDecl::_internal_mutable_name() { |
11886 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11887 | 0 | return _impl_.name_.Mutable( GetArena()); |
11888 | 0 | } |
11889 | 0 | inline std::string* DocTypeDecl::release_name() { |
11890 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11891 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.DocTypeDecl.name) |
11892 | 0 | return _impl_.name_.Release(); |
11893 | 0 | } |
11894 | 0 | inline void DocTypeDecl::set_allocated_name(std::string* value) { |
11895 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11896 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
11897 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
11898 | 0 | _impl_.name_.Set("", GetArena()); |
11899 | 0 | } |
11900 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.DocTypeDecl.name) |
11901 | 0 | } |
11902 | | |
11903 | | // .xmlProtoFuzzer.ExternalId ext = 2; |
11904 | 0 | inline bool DocTypeDecl::has_ext() const { |
11905 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
11906 | 0 | PROTOBUF_ASSUME(!value || _impl_.ext_ != nullptr); |
11907 | 0 | return value; |
11908 | 0 | } |
11909 | 0 | inline void DocTypeDecl::clear_ext() { |
11910 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11911 | 0 | if (_impl_.ext_ != nullptr) _impl_.ext_->Clear(); |
11912 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11913 | 0 | } |
11914 | 8.25k | inline const ::xmlProtoFuzzer::ExternalId& DocTypeDecl::_internal_ext() const { |
11915 | 8.25k | ::google::protobuf::internal::TSanRead(&_impl_); |
11916 | 8.25k | const ::xmlProtoFuzzer::ExternalId* p = _impl_.ext_; |
11917 | 8.25k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::ExternalId&>(::xmlProtoFuzzer::_ExternalId_default_instance_); |
11918 | 8.25k | } |
11919 | 8.25k | inline const ::xmlProtoFuzzer::ExternalId& DocTypeDecl::ext() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11920 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.DocTypeDecl.ext) |
11921 | 8.25k | return _internal_ext(); |
11922 | 8.25k | } |
11923 | 0 | inline void DocTypeDecl::unsafe_arena_set_allocated_ext(::xmlProtoFuzzer::ExternalId* value) { |
11924 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11925 | 0 | if (GetArena() == nullptr) { |
11926 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ext_); |
11927 | 0 | } |
11928 | 0 | _impl_.ext_ = reinterpret_cast<::xmlProtoFuzzer::ExternalId*>(value); |
11929 | 0 | if (value != nullptr) { |
11930 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11931 | 0 | } else { |
11932 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11933 | 0 | } |
11934 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.DocTypeDecl.ext) |
11935 | 0 | } |
11936 | 0 | inline ::xmlProtoFuzzer::ExternalId* DocTypeDecl::release_ext() { |
11937 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11938 | 0 |
|
11939 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11940 | 0 | ::xmlProtoFuzzer::ExternalId* released = _impl_.ext_; |
11941 | 0 | _impl_.ext_ = nullptr; |
11942 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
11943 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
11944 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
11945 | 0 | if (GetArena() == nullptr) { |
11946 | 0 | delete old; |
11947 | 0 | } |
11948 | 0 | } else { |
11949 | 0 | if (GetArena() != nullptr) { |
11950 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
11951 | 0 | } |
11952 | 0 | } |
11953 | 0 | return released; |
11954 | 0 | } |
11955 | 0 | inline ::xmlProtoFuzzer::ExternalId* DocTypeDecl::unsafe_arena_release_ext() { |
11956 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11957 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.DocTypeDecl.ext) |
11958 | 0 |
|
11959 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11960 | 0 | ::xmlProtoFuzzer::ExternalId* temp = _impl_.ext_; |
11961 | 0 | _impl_.ext_ = nullptr; |
11962 | 0 | return temp; |
11963 | 0 | } |
11964 | 0 | inline ::xmlProtoFuzzer::ExternalId* DocTypeDecl::_internal_mutable_ext() { |
11965 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11966 | 0 | if (_impl_.ext_ == nullptr) { |
11967 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::ExternalId>(GetArena()); |
11968 | 0 | _impl_.ext_ = reinterpret_cast<::xmlProtoFuzzer::ExternalId*>(p); |
11969 | 0 | } |
11970 | 0 | return _impl_.ext_; |
11971 | 0 | } |
11972 | 0 | inline ::xmlProtoFuzzer::ExternalId* DocTypeDecl::mutable_ext() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
11973 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11974 | 0 | ::xmlProtoFuzzer::ExternalId* _msg = _internal_mutable_ext(); |
11975 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.DocTypeDecl.ext) |
11976 | 0 | return _msg; |
11977 | 0 | } |
11978 | 0 | inline void DocTypeDecl::set_allocated_ext(::xmlProtoFuzzer::ExternalId* value) { |
11979 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
11980 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
11981 | 0 | if (message_arena == nullptr) { |
11982 | 0 | delete (_impl_.ext_); |
11983 | 0 | } |
11984 | 0 |
|
11985 | 0 | if (value != nullptr) { |
11986 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
11987 | 0 | if (message_arena != submessage_arena) { |
11988 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
11989 | 0 | } |
11990 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
11991 | 0 | } else { |
11992 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
11993 | 0 | } |
11994 | 0 |
|
11995 | 0 | _impl_.ext_ = reinterpret_cast<::xmlProtoFuzzer::ExternalId*>(value); |
11996 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.DocTypeDecl.ext) |
11997 | 0 | } |
11998 | | |
11999 | | // repeated .xmlProtoFuzzer.MarkupDecl mdecl = 3; |
12000 | 0 | inline int DocTypeDecl::_internal_mdecl_size() const { |
12001 | 0 | return _internal_mdecl().size(); |
12002 | 0 | } |
12003 | 0 | inline int DocTypeDecl::mdecl_size() const { |
12004 | 0 | return _internal_mdecl_size(); |
12005 | 0 | } |
12006 | 0 | inline void DocTypeDecl::clear_mdecl() { |
12007 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12008 | 0 | _impl_.mdecl_.Clear(); |
12009 | 0 | } |
12010 | | inline ::xmlProtoFuzzer::MarkupDecl* DocTypeDecl::mutable_mdecl(int index) |
12011 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12012 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.DocTypeDecl.mdecl) |
12013 | 0 | return _internal_mutable_mdecl()->Mutable(index); |
12014 | 0 | } |
12015 | | inline ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::MarkupDecl>* DocTypeDecl::mutable_mdecl() |
12016 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12017 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.DocTypeDecl.mdecl) |
12018 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12019 | 0 | return _internal_mutable_mdecl(); |
12020 | 0 | } |
12021 | | inline const ::xmlProtoFuzzer::MarkupDecl& DocTypeDecl::mdecl(int index) const |
12022 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12023 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.DocTypeDecl.mdecl) |
12024 | 0 | return _internal_mdecl().Get(index); |
12025 | 0 | } |
12026 | 0 | inline ::xmlProtoFuzzer::MarkupDecl* DocTypeDecl::add_mdecl() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12027 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12028 | 0 | ::xmlProtoFuzzer::MarkupDecl* _add = _internal_mutable_mdecl()->Add(); |
12029 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.DocTypeDecl.mdecl) |
12030 | 0 | return _add; |
12031 | 0 | } |
12032 | | inline const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::MarkupDecl>& DocTypeDecl::mdecl() const |
12033 | 8.25k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12034 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.DocTypeDecl.mdecl) |
12035 | 8.25k | return _internal_mdecl(); |
12036 | 8.25k | } |
12037 | | inline const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::MarkupDecl>& |
12038 | 8.25k | DocTypeDecl::_internal_mdecl() const { |
12039 | 8.25k | ::google::protobuf::internal::TSanRead(&_impl_); |
12040 | 8.25k | return _impl_.mdecl_; |
12041 | 8.25k | } |
12042 | | inline ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::MarkupDecl>* |
12043 | 0 | DocTypeDecl::_internal_mutable_mdecl() { |
12044 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12045 | 0 | return &_impl_.mdecl_; |
12046 | 0 | } |
12047 | | |
12048 | | // ------------------------------------------------------------------- |
12049 | | |
12050 | | // Prolog |
12051 | | |
12052 | | // .xmlProtoFuzzer.XmlDeclaration decl = 1; |
12053 | 0 | inline bool Prolog::has_decl() const { |
12054 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
12055 | 0 | PROTOBUF_ASSUME(!value || _impl_.decl_ != nullptr); |
12056 | 0 | return value; |
12057 | 0 | } |
12058 | 0 | inline void Prolog::clear_decl() { |
12059 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12060 | 0 | if (_impl_.decl_ != nullptr) _impl_.decl_->Clear(); |
12061 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12062 | 0 | } |
12063 | 8.25k | inline const ::xmlProtoFuzzer::XmlDeclaration& Prolog::_internal_decl() const { |
12064 | 8.25k | ::google::protobuf::internal::TSanRead(&_impl_); |
12065 | 8.25k | const ::xmlProtoFuzzer::XmlDeclaration* p = _impl_.decl_; |
12066 | 8.25k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::XmlDeclaration&>(::xmlProtoFuzzer::_XmlDeclaration_default_instance_); |
12067 | 8.25k | } |
12068 | 8.25k | inline const ::xmlProtoFuzzer::XmlDeclaration& Prolog::decl() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12069 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Prolog.decl) |
12070 | 8.25k | return _internal_decl(); |
12071 | 8.25k | } |
12072 | 0 | inline void Prolog::unsafe_arena_set_allocated_decl(::xmlProtoFuzzer::XmlDeclaration* value) { |
12073 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12074 | 0 | if (GetArena() == nullptr) { |
12075 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.decl_); |
12076 | 0 | } |
12077 | 0 | _impl_.decl_ = reinterpret_cast<::xmlProtoFuzzer::XmlDeclaration*>(value); |
12078 | 0 | if (value != nullptr) { |
12079 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12080 | 0 | } else { |
12081 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12082 | 0 | } |
12083 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.Prolog.decl) |
12084 | 0 | } |
12085 | 0 | inline ::xmlProtoFuzzer::XmlDeclaration* Prolog::release_decl() { |
12086 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12087 | 0 |
|
12088 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12089 | 0 | ::xmlProtoFuzzer::XmlDeclaration* released = _impl_.decl_; |
12090 | 0 | _impl_.decl_ = nullptr; |
12091 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
12092 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
12093 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
12094 | 0 | if (GetArena() == nullptr) { |
12095 | 0 | delete old; |
12096 | 0 | } |
12097 | 0 | } else { |
12098 | 0 | if (GetArena() != nullptr) { |
12099 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
12100 | 0 | } |
12101 | 0 | } |
12102 | 0 | return released; |
12103 | 0 | } |
12104 | 0 | inline ::xmlProtoFuzzer::XmlDeclaration* Prolog::unsafe_arena_release_decl() { |
12105 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12106 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Prolog.decl) |
12107 | 0 |
|
12108 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12109 | 0 | ::xmlProtoFuzzer::XmlDeclaration* temp = _impl_.decl_; |
12110 | 0 | _impl_.decl_ = nullptr; |
12111 | 0 | return temp; |
12112 | 0 | } |
12113 | 0 | inline ::xmlProtoFuzzer::XmlDeclaration* Prolog::_internal_mutable_decl() { |
12114 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12115 | 0 | if (_impl_.decl_ == nullptr) { |
12116 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::XmlDeclaration>(GetArena()); |
12117 | 0 | _impl_.decl_ = reinterpret_cast<::xmlProtoFuzzer::XmlDeclaration*>(p); |
12118 | 0 | } |
12119 | 0 | return _impl_.decl_; |
12120 | 0 | } |
12121 | 0 | inline ::xmlProtoFuzzer::XmlDeclaration* Prolog::mutable_decl() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12122 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12123 | 0 | ::xmlProtoFuzzer::XmlDeclaration* _msg = _internal_mutable_decl(); |
12124 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Prolog.decl) |
12125 | 0 | return _msg; |
12126 | 0 | } |
12127 | 0 | inline void Prolog::set_allocated_decl(::xmlProtoFuzzer::XmlDeclaration* value) { |
12128 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
12129 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12130 | 0 | if (message_arena == nullptr) { |
12131 | 0 | delete (_impl_.decl_); |
12132 | 0 | } |
12133 | 0 |
|
12134 | 0 | if (value != nullptr) { |
12135 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
12136 | 0 | if (message_arena != submessage_arena) { |
12137 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
12138 | 0 | } |
12139 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12140 | 0 | } else { |
12141 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12142 | 0 | } |
12143 | 0 |
|
12144 | 0 | _impl_.decl_ = reinterpret_cast<::xmlProtoFuzzer::XmlDeclaration*>(value); |
12145 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Prolog.decl) |
12146 | 0 | } |
12147 | | |
12148 | | // .xmlProtoFuzzer.DocTypeDecl doctype = 2; |
12149 | 0 | inline bool Prolog::has_doctype() const { |
12150 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
12151 | 0 | PROTOBUF_ASSUME(!value || _impl_.doctype_ != nullptr); |
12152 | 0 | return value; |
12153 | 0 | } |
12154 | 0 | inline void Prolog::clear_doctype() { |
12155 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12156 | 0 | if (_impl_.doctype_ != nullptr) _impl_.doctype_->Clear(); |
12157 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12158 | 0 | } |
12159 | 8.25k | inline const ::xmlProtoFuzzer::DocTypeDecl& Prolog::_internal_doctype() const { |
12160 | 8.25k | ::google::protobuf::internal::TSanRead(&_impl_); |
12161 | 8.25k | const ::xmlProtoFuzzer::DocTypeDecl* p = _impl_.doctype_; |
12162 | 8.25k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::DocTypeDecl&>(::xmlProtoFuzzer::_DocTypeDecl_default_instance_); |
12163 | 8.25k | } |
12164 | 8.25k | inline const ::xmlProtoFuzzer::DocTypeDecl& Prolog::doctype() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12165 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Prolog.doctype) |
12166 | 8.25k | return _internal_doctype(); |
12167 | 8.25k | } |
12168 | 0 | inline void Prolog::unsafe_arena_set_allocated_doctype(::xmlProtoFuzzer::DocTypeDecl* value) { |
12169 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12170 | 0 | if (GetArena() == nullptr) { |
12171 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.doctype_); |
12172 | 0 | } |
12173 | 0 | _impl_.doctype_ = reinterpret_cast<::xmlProtoFuzzer::DocTypeDecl*>(value); |
12174 | 0 | if (value != nullptr) { |
12175 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12176 | 0 | } else { |
12177 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12178 | 0 | } |
12179 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.Prolog.doctype) |
12180 | 0 | } |
12181 | 0 | inline ::xmlProtoFuzzer::DocTypeDecl* Prolog::release_doctype() { |
12182 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12183 | 0 |
|
12184 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12185 | 0 | ::xmlProtoFuzzer::DocTypeDecl* released = _impl_.doctype_; |
12186 | 0 | _impl_.doctype_ = nullptr; |
12187 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
12188 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
12189 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
12190 | 0 | if (GetArena() == nullptr) { |
12191 | 0 | delete old; |
12192 | 0 | } |
12193 | 0 | } else { |
12194 | 0 | if (GetArena() != nullptr) { |
12195 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
12196 | 0 | } |
12197 | 0 | } |
12198 | 0 | return released; |
12199 | 0 | } |
12200 | 0 | inline ::xmlProtoFuzzer::DocTypeDecl* Prolog::unsafe_arena_release_doctype() { |
12201 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12202 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Prolog.doctype) |
12203 | 0 |
|
12204 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12205 | 0 | ::xmlProtoFuzzer::DocTypeDecl* temp = _impl_.doctype_; |
12206 | 0 | _impl_.doctype_ = nullptr; |
12207 | 0 | return temp; |
12208 | 0 | } |
12209 | 0 | inline ::xmlProtoFuzzer::DocTypeDecl* Prolog::_internal_mutable_doctype() { |
12210 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12211 | 0 | if (_impl_.doctype_ == nullptr) { |
12212 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::DocTypeDecl>(GetArena()); |
12213 | 0 | _impl_.doctype_ = reinterpret_cast<::xmlProtoFuzzer::DocTypeDecl*>(p); |
12214 | 0 | } |
12215 | 0 | return _impl_.doctype_; |
12216 | 0 | } |
12217 | 0 | inline ::xmlProtoFuzzer::DocTypeDecl* Prolog::mutable_doctype() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12218 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12219 | 0 | ::xmlProtoFuzzer::DocTypeDecl* _msg = _internal_mutable_doctype(); |
12220 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Prolog.doctype) |
12221 | 0 | return _msg; |
12222 | 0 | } |
12223 | 0 | inline void Prolog::set_allocated_doctype(::xmlProtoFuzzer::DocTypeDecl* value) { |
12224 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
12225 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12226 | 0 | if (message_arena == nullptr) { |
12227 | 0 | delete (_impl_.doctype_); |
12228 | 0 | } |
12229 | 0 |
|
12230 | 0 | if (value != nullptr) { |
12231 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
12232 | 0 | if (message_arena != submessage_arena) { |
12233 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
12234 | 0 | } |
12235 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
12236 | 0 | } else { |
12237 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
12238 | 0 | } |
12239 | 0 |
|
12240 | 0 | _impl_.doctype_ = reinterpret_cast<::xmlProtoFuzzer::DocTypeDecl*>(value); |
12241 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Prolog.doctype) |
12242 | 0 | } |
12243 | | |
12244 | | // repeated .xmlProtoFuzzer.Misc misc = 3; |
12245 | 0 | inline int Prolog::_internal_misc_size() const { |
12246 | 0 | return _internal_misc().size(); |
12247 | 0 | } |
12248 | 0 | inline int Prolog::misc_size() const { |
12249 | 0 | return _internal_misc_size(); |
12250 | 0 | } |
12251 | 0 | inline void Prolog::clear_misc() { |
12252 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12253 | 0 | _impl_.misc_.Clear(); |
12254 | 0 | } |
12255 | | inline ::xmlProtoFuzzer::Misc* Prolog::mutable_misc(int index) |
12256 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12257 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Prolog.misc) |
12258 | 0 | return _internal_mutable_misc()->Mutable(index); |
12259 | 0 | } |
12260 | | inline ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Misc>* Prolog::mutable_misc() |
12261 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12262 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.Prolog.misc) |
12263 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12264 | 0 | return _internal_mutable_misc(); |
12265 | 0 | } |
12266 | | inline const ::xmlProtoFuzzer::Misc& Prolog::misc(int index) const |
12267 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12268 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Prolog.misc) |
12269 | 0 | return _internal_misc().Get(index); |
12270 | 0 | } |
12271 | 0 | inline ::xmlProtoFuzzer::Misc* Prolog::add_misc() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12272 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12273 | 0 | ::xmlProtoFuzzer::Misc* _add = _internal_mutable_misc()->Add(); |
12274 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.Prolog.misc) |
12275 | 0 | return _add; |
12276 | 0 | } |
12277 | | inline const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Misc>& Prolog::misc() const |
12278 | 8.25k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12279 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.Prolog.misc) |
12280 | 8.25k | return _internal_misc(); |
12281 | 8.25k | } |
12282 | | inline const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Misc>& |
12283 | 8.25k | Prolog::_internal_misc() const { |
12284 | 8.25k | ::google::protobuf::internal::TSanRead(&_impl_); |
12285 | 8.25k | return _impl_.misc_; |
12286 | 8.25k | } |
12287 | | inline ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Misc>* |
12288 | 0 | Prolog::_internal_mutable_misc() { |
12289 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12290 | 0 | return &_impl_.misc_; |
12291 | 0 | } |
12292 | | |
12293 | | // ------------------------------------------------------------------- |
12294 | | |
12295 | | // KeyValue |
12296 | | |
12297 | | // .xmlProtoFuzzer.KeyValue.XmlNamespace type = 1; |
12298 | 0 | inline void KeyValue::clear_type() { |
12299 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12300 | 0 | _impl_.type_ = 0; |
12301 | 0 | } |
12302 | 42.9k | inline ::xmlProtoFuzzer::KeyValue_XmlNamespace KeyValue::type() const { |
12303 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.KeyValue.type) |
12304 | 42.9k | return _internal_type(); |
12305 | 42.9k | } |
12306 | 0 | inline void KeyValue::set_type(::xmlProtoFuzzer::KeyValue_XmlNamespace value) { |
12307 | 0 | _internal_set_type(value); |
12308 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.KeyValue.type) |
12309 | 0 | } |
12310 | 58.0k | inline ::xmlProtoFuzzer::KeyValue_XmlNamespace KeyValue::_internal_type() const { |
12311 | 58.0k | ::google::protobuf::internal::TSanRead(&_impl_); |
12312 | 58.0k | return static_cast<::xmlProtoFuzzer::KeyValue_XmlNamespace>(_impl_.type_); |
12313 | 58.0k | } |
12314 | 0 | inline void KeyValue::_internal_set_type(::xmlProtoFuzzer::KeyValue_XmlNamespace value) { |
12315 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12316 | 0 | _impl_.type_ = value; |
12317 | 0 | } |
12318 | | |
12319 | | // string key = 2; |
12320 | 0 | inline void KeyValue::clear_key() { |
12321 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12322 | 0 | _impl_.key_.ClearToEmpty(); |
12323 | 0 | } |
12324 | | inline const std::string& KeyValue::key() const |
12325 | 7.56k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12326 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.KeyValue.key) |
12327 | 7.56k | return _internal_key(); |
12328 | 7.56k | } |
12329 | | template <typename Arg_, typename... Args_> |
12330 | | inline PROTOBUF_ALWAYS_INLINE void KeyValue::set_key(Arg_&& arg, |
12331 | | Args_... args) { |
12332 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
12333 | | _impl_.key_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
12334 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.KeyValue.key) |
12335 | | } |
12336 | 0 | inline std::string* KeyValue::mutable_key() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12337 | 0 | std::string* _s = _internal_mutable_key(); |
12338 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.KeyValue.key) |
12339 | 0 | return _s; |
12340 | 0 | } |
12341 | 21.4k | inline const std::string& KeyValue::_internal_key() const { |
12342 | 21.4k | ::google::protobuf::internal::TSanRead(&_impl_); |
12343 | 21.4k | return _impl_.key_.Get(); |
12344 | 21.4k | } |
12345 | 0 | inline void KeyValue::_internal_set_key(const std::string& value) { |
12346 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12347 | 0 | _impl_.key_.Set(value, GetArena()); |
12348 | 0 | } |
12349 | 0 | inline std::string* KeyValue::_internal_mutable_key() { |
12350 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12351 | 0 | return _impl_.key_.Mutable( GetArena()); |
12352 | 0 | } |
12353 | 0 | inline std::string* KeyValue::release_key() { |
12354 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12355 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.KeyValue.key) |
12356 | 0 | return _impl_.key_.Release(); |
12357 | 0 | } |
12358 | 0 | inline void KeyValue::set_allocated_key(std::string* value) { |
12359 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12360 | 0 | _impl_.key_.SetAllocated(value, GetArena()); |
12361 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.key_.IsDefault()) { |
12362 | 0 | _impl_.key_.Set("", GetArena()); |
12363 | 0 | } |
12364 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.KeyValue.key) |
12365 | 0 | } |
12366 | | |
12367 | | // string value = 3; |
12368 | 0 | inline void KeyValue::clear_value() { |
12369 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12370 | 0 | _impl_.value_.ClearToEmpty(); |
12371 | 0 | } |
12372 | | inline const std::string& KeyValue::value() const |
12373 | 21.4k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12374 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.KeyValue.value) |
12375 | 21.4k | return _internal_value(); |
12376 | 21.4k | } |
12377 | | template <typename Arg_, typename... Args_> |
12378 | | inline PROTOBUF_ALWAYS_INLINE void KeyValue::set_value(Arg_&& arg, |
12379 | | Args_... args) { |
12380 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
12381 | | _impl_.value_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
12382 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.KeyValue.value) |
12383 | | } |
12384 | 0 | inline std::string* KeyValue::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12385 | 0 | std::string* _s = _internal_mutable_value(); |
12386 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.KeyValue.value) |
12387 | 0 | return _s; |
12388 | 0 | } |
12389 | 33.6k | inline const std::string& KeyValue::_internal_value() const { |
12390 | 33.6k | ::google::protobuf::internal::TSanRead(&_impl_); |
12391 | 33.6k | return _impl_.value_.Get(); |
12392 | 33.6k | } |
12393 | 0 | inline void KeyValue::_internal_set_value(const std::string& value) { |
12394 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12395 | 0 | _impl_.value_.Set(value, GetArena()); |
12396 | 0 | } |
12397 | 0 | inline std::string* KeyValue::_internal_mutable_value() { |
12398 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12399 | 0 | return _impl_.value_.Mutable( GetArena()); |
12400 | 0 | } |
12401 | 0 | inline std::string* KeyValue::release_value() { |
12402 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12403 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.KeyValue.value) |
12404 | 0 | return _impl_.value_.Release(); |
12405 | 0 | } |
12406 | 0 | inline void KeyValue::set_allocated_value(std::string* value) { |
12407 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12408 | 0 | _impl_.value_.SetAllocated(value, GetArena()); |
12409 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.value_.IsDefault()) { |
12410 | 0 | _impl_.value_.Set("", GetArena()); |
12411 | 0 | } |
12412 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.KeyValue.value) |
12413 | 0 | } |
12414 | | |
12415 | | // ------------------------------------------------------------------- |
12416 | | |
12417 | | // ProcessingInstruction |
12418 | | |
12419 | | // string name = 1; |
12420 | 0 | inline void ProcessingInstruction::clear_name() { |
12421 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12422 | 0 | _impl_.name_.ClearToEmpty(); |
12423 | 0 | } |
12424 | | inline const std::string& ProcessingInstruction::name() const |
12425 | 1.61k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12426 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ProcessingInstruction.name) |
12427 | 1.61k | return _internal_name(); |
12428 | 1.61k | } |
12429 | | template <typename Arg_, typename... Args_> |
12430 | | inline PROTOBUF_ALWAYS_INLINE void ProcessingInstruction::set_name(Arg_&& arg, |
12431 | | Args_... args) { |
12432 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
12433 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
12434 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ProcessingInstruction.name) |
12435 | | } |
12436 | 0 | inline std::string* ProcessingInstruction::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12437 | 0 | std::string* _s = _internal_mutable_name(); |
12438 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ProcessingInstruction.name) |
12439 | 0 | return _s; |
12440 | 0 | } |
12441 | 1.61k | inline const std::string& ProcessingInstruction::_internal_name() const { |
12442 | 1.61k | ::google::protobuf::internal::TSanRead(&_impl_); |
12443 | 1.61k | return _impl_.name_.Get(); |
12444 | 1.61k | } |
12445 | 0 | inline void ProcessingInstruction::_internal_set_name(const std::string& value) { |
12446 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12447 | 0 | _impl_.name_.Set(value, GetArena()); |
12448 | 0 | } |
12449 | 0 | inline std::string* ProcessingInstruction::_internal_mutable_name() { |
12450 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12451 | 0 | return _impl_.name_.Mutable( GetArena()); |
12452 | 0 | } |
12453 | 0 | inline std::string* ProcessingInstruction::release_name() { |
12454 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12455 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.ProcessingInstruction.name) |
12456 | 0 | return _impl_.name_.Release(); |
12457 | 0 | } |
12458 | 0 | inline void ProcessingInstruction::set_allocated_name(std::string* value) { |
12459 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12460 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
12461 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
12462 | 0 | _impl_.name_.Set("", GetArena()); |
12463 | 0 | } |
12464 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.ProcessingInstruction.name) |
12465 | 0 | } |
12466 | | |
12467 | | // repeated .xmlProtoFuzzer.KeyValue kv = 2; |
12468 | 0 | inline int ProcessingInstruction::_internal_kv_size() const { |
12469 | 0 | return _internal_kv().size(); |
12470 | 0 | } |
12471 | 0 | inline int ProcessingInstruction::kv_size() const { |
12472 | 0 | return _internal_kv_size(); |
12473 | 0 | } |
12474 | 0 | inline void ProcessingInstruction::clear_kv() { |
12475 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12476 | 0 | _impl_.kv_.Clear(); |
12477 | 0 | } |
12478 | | inline ::xmlProtoFuzzer::KeyValue* ProcessingInstruction::mutable_kv(int index) |
12479 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12480 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ProcessingInstruction.kv) |
12481 | 0 | return _internal_mutable_kv()->Mutable(index); |
12482 | 0 | } |
12483 | | inline ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>* ProcessingInstruction::mutable_kv() |
12484 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12485 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.ProcessingInstruction.kv) |
12486 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12487 | 0 | return _internal_mutable_kv(); |
12488 | 0 | } |
12489 | | inline const ::xmlProtoFuzzer::KeyValue& ProcessingInstruction::kv(int index) const |
12490 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12491 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ProcessingInstruction.kv) |
12492 | 0 | return _internal_kv().Get(index); |
12493 | 0 | } |
12494 | 0 | inline ::xmlProtoFuzzer::KeyValue* ProcessingInstruction::add_kv() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12495 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12496 | 0 | ::xmlProtoFuzzer::KeyValue* _add = _internal_mutable_kv()->Add(); |
12497 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.ProcessingInstruction.kv) |
12498 | 0 | return _add; |
12499 | 0 | } |
12500 | | inline const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>& ProcessingInstruction::kv() const |
12501 | 1.61k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12502 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.ProcessingInstruction.kv) |
12503 | 1.61k | return _internal_kv(); |
12504 | 1.61k | } |
12505 | | inline const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>& |
12506 | 1.61k | ProcessingInstruction::_internal_kv() const { |
12507 | 1.61k | ::google::protobuf::internal::TSanRead(&_impl_); |
12508 | 1.61k | return _impl_.kv_; |
12509 | 1.61k | } |
12510 | | inline ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>* |
12511 | 0 | ProcessingInstruction::_internal_mutable_kv() { |
12512 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12513 | 0 | return &_impl_.kv_; |
12514 | 0 | } |
12515 | | |
12516 | | // ------------------------------------------------------------------- |
12517 | | |
12518 | | // CData |
12519 | | |
12520 | | // string data = 1; |
12521 | 0 | inline void CData::clear_data() { |
12522 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12523 | 0 | _impl_.data_.ClearToEmpty(); |
12524 | 0 | } |
12525 | | inline const std::string& CData::data() const |
12526 | 2.28k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12527 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.CData.data) |
12528 | 2.28k | return _internal_data(); |
12529 | 2.28k | } |
12530 | | template <typename Arg_, typename... Args_> |
12531 | | inline PROTOBUF_ALWAYS_INLINE void CData::set_data(Arg_&& arg, |
12532 | | Args_... args) { |
12533 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
12534 | | _impl_.data_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
12535 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.CData.data) |
12536 | | } |
12537 | 0 | inline std::string* CData::mutable_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12538 | 0 | std::string* _s = _internal_mutable_data(); |
12539 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.CData.data) |
12540 | 0 | return _s; |
12541 | 0 | } |
12542 | 2.28k | inline const std::string& CData::_internal_data() const { |
12543 | 2.28k | ::google::protobuf::internal::TSanRead(&_impl_); |
12544 | 2.28k | return _impl_.data_.Get(); |
12545 | 2.28k | } |
12546 | 0 | inline void CData::_internal_set_data(const std::string& value) { |
12547 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12548 | 0 | _impl_.data_.Set(value, GetArena()); |
12549 | 0 | } |
12550 | 0 | inline std::string* CData::_internal_mutable_data() { |
12551 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12552 | 0 | return _impl_.data_.Mutable( GetArena()); |
12553 | 0 | } |
12554 | 0 | inline std::string* CData::release_data() { |
12555 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12556 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.CData.data) |
12557 | 0 | return _impl_.data_.Release(); |
12558 | 0 | } |
12559 | 0 | inline void CData::set_allocated_data(std::string* value) { |
12560 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12561 | 0 | _impl_.data_.SetAllocated(value, GetArena()); |
12562 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.data_.IsDefault()) { |
12563 | 0 | _impl_.data_.Set("", GetArena()); |
12564 | 0 | } |
12565 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.CData.data) |
12566 | 0 | } |
12567 | | |
12568 | | // ------------------------------------------------------------------- |
12569 | | |
12570 | | // Content |
12571 | | |
12572 | | // string str = 1; |
12573 | 0 | inline bool Content::has_str() const { |
12574 | 0 | return content_oneof_case() == kStr; |
12575 | 0 | } |
12576 | 0 | inline void Content::set_has_str() { |
12577 | 0 | _impl_._oneof_case_[0] = kStr; |
12578 | 0 | } |
12579 | 0 | inline void Content::clear_str() { |
12580 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12581 | 0 | if (content_oneof_case() == kStr) { |
12582 | 0 | _impl_.content_oneof_.str_.Destroy(); |
12583 | 0 | clear_has_content_oneof(); |
12584 | 0 | } |
12585 | 0 | } |
12586 | | inline const std::string& Content::str() const |
12587 | 2.06k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12588 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Content.str) |
12589 | 2.06k | return _internal_str(); |
12590 | 2.06k | } |
12591 | | template <typename Arg_, typename... Args_> |
12592 | | inline PROTOBUF_ALWAYS_INLINE void Content::set_str(Arg_&& arg, |
12593 | | Args_... args) { |
12594 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
12595 | | if (content_oneof_case() != kStr) { |
12596 | | clear_content_oneof(); |
12597 | | |
12598 | | set_has_str(); |
12599 | | _impl_.content_oneof_.str_.InitDefault(); |
12600 | | } |
12601 | | _impl_.content_oneof_.str_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
12602 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Content.str) |
12603 | | } |
12604 | 0 | inline std::string* Content::mutable_str() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12605 | 0 | std::string* _s = _internal_mutable_str(); |
12606 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Content.str) |
12607 | 0 | return _s; |
12608 | 0 | } |
12609 | 2.06k | inline const std::string& Content::_internal_str() const { |
12610 | 2.06k | ::google::protobuf::internal::TSanRead(&_impl_); |
12611 | 2.06k | if (content_oneof_case() != kStr) { |
12612 | 0 | return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); |
12613 | 0 | } |
12614 | 2.06k | return _impl_.content_oneof_.str_.Get(); |
12615 | 2.06k | } |
12616 | 0 | inline void Content::_internal_set_str(const std::string& value) { |
12617 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12618 | 0 | if (content_oneof_case() != kStr) { |
12619 | 0 | clear_content_oneof(); |
12620 | 0 |
|
12621 | 0 | set_has_str(); |
12622 | 0 | _impl_.content_oneof_.str_.InitDefault(); |
12623 | 0 | } |
12624 | 0 | _impl_.content_oneof_.str_.Set(value, GetArena()); |
12625 | 0 | } |
12626 | 0 | inline std::string* Content::_internal_mutable_str() { |
12627 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12628 | 0 | if (content_oneof_case() != kStr) { |
12629 | 0 | clear_content_oneof(); |
12630 | 0 |
|
12631 | 0 | set_has_str(); |
12632 | 0 | _impl_.content_oneof_.str_.InitDefault(); |
12633 | 0 | } |
12634 | 0 | return _impl_.content_oneof_.str_.Mutable( GetArena()); |
12635 | 0 | } |
12636 | 0 | inline std::string* Content::release_str() { |
12637 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12638 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Content.str) |
12639 | 0 | if (content_oneof_case() != kStr) { |
12640 | 0 | return nullptr; |
12641 | 0 | } |
12642 | 0 | clear_has_content_oneof(); |
12643 | 0 | return _impl_.content_oneof_.str_.Release(); |
12644 | 0 | } |
12645 | 0 | inline void Content::set_allocated_str(std::string* value) { |
12646 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12647 | 0 | if (has_content_oneof()) { |
12648 | 0 | clear_content_oneof(); |
12649 | 0 | } |
12650 | 0 | if (value != nullptr) { |
12651 | 0 | set_has_str(); |
12652 | 0 | _impl_.content_oneof_.str_.InitAllocated(value, GetArena()); |
12653 | 0 | } |
12654 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Content.str) |
12655 | 0 | } |
12656 | | |
12657 | | // .xmlProtoFuzzer.Element e = 2; |
12658 | 0 | inline bool Content::has_e() const { |
12659 | 0 | return content_oneof_case() == kE; |
12660 | 0 | } |
12661 | 0 | inline bool Content::_internal_has_e() const { |
12662 | 0 | return content_oneof_case() == kE; |
12663 | 0 | } |
12664 | 0 | inline void Content::set_has_e() { |
12665 | 0 | _impl_._oneof_case_[0] = kE; |
12666 | 0 | } |
12667 | 0 | inline void Content::clear_e() { |
12668 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12669 | 0 | if (content_oneof_case() == kE) { |
12670 | 0 | if (GetArena() == nullptr) { |
12671 | 0 | delete _impl_.content_oneof_.e_; |
12672 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
12673 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.content_oneof_.e_); |
12674 | 0 | } |
12675 | 0 | clear_has_content_oneof(); |
12676 | 0 | } |
12677 | 0 | } |
12678 | 0 | inline ::xmlProtoFuzzer::Element* Content::release_e() { |
12679 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Content.e) |
12680 | 0 | if (content_oneof_case() == kE) { |
12681 | 0 | clear_has_content_oneof(); |
12682 | 0 | auto* temp = _impl_.content_oneof_.e_; |
12683 | 0 | if (GetArena() != nullptr) { |
12684 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
12685 | 0 | } |
12686 | 0 | _impl_.content_oneof_.e_ = nullptr; |
12687 | 0 | return temp; |
12688 | 0 | } else { |
12689 | 0 | return nullptr; |
12690 | 0 | } |
12691 | 0 | } |
12692 | 2.84k | inline const ::xmlProtoFuzzer::Element& Content::_internal_e() const { |
12693 | 2.84k | return content_oneof_case() == kE ? *_impl_.content_oneof_.e_ : reinterpret_cast<::xmlProtoFuzzer::Element&>(::xmlProtoFuzzer::_Element_default_instance_); |
12694 | 2.84k | } |
12695 | 2.84k | inline const ::xmlProtoFuzzer::Element& Content::e() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12696 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Content.e) |
12697 | 2.84k | return _internal_e(); |
12698 | 2.84k | } |
12699 | 0 | inline ::xmlProtoFuzzer::Element* Content::unsafe_arena_release_e() { |
12700 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.Content.e) |
12701 | 0 | if (content_oneof_case() == kE) { |
12702 | 0 | clear_has_content_oneof(); |
12703 | 0 | auto* temp = _impl_.content_oneof_.e_; |
12704 | 0 | _impl_.content_oneof_.e_ = nullptr; |
12705 | 0 | return temp; |
12706 | 0 | } else { |
12707 | 0 | return nullptr; |
12708 | 0 | } |
12709 | 0 | } |
12710 | 0 | inline void Content::unsafe_arena_set_allocated_e(::xmlProtoFuzzer::Element* value) { |
12711 | 0 | // We rely on the oneof clear method to free the earlier contents |
12712 | 0 | // of this oneof. We can directly use the pointer we're given to |
12713 | 0 | // set the new value. |
12714 | 0 | clear_content_oneof(); |
12715 | 0 | if (value) { |
12716 | 0 | set_has_e(); |
12717 | 0 | _impl_.content_oneof_.e_ = value; |
12718 | 0 | } |
12719 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.Content.e) |
12720 | 0 | } |
12721 | 0 | inline ::xmlProtoFuzzer::Element* Content::_internal_mutable_e() { |
12722 | 0 | if (content_oneof_case() != kE) { |
12723 | 0 | clear_content_oneof(); |
12724 | 0 | set_has_e(); |
12725 | 0 | _impl_.content_oneof_.e_ = |
12726 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::Element>(GetArena()); |
12727 | 0 | } |
12728 | 0 | return _impl_.content_oneof_.e_; |
12729 | 0 | } |
12730 | 0 | inline ::xmlProtoFuzzer::Element* Content::mutable_e() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12731 | 0 | ::xmlProtoFuzzer::Element* _msg = _internal_mutable_e(); |
12732 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Content.e) |
12733 | 0 | return _msg; |
12734 | 0 | } |
12735 | | |
12736 | | // .xmlProtoFuzzer.CData c = 3; |
12737 | 0 | inline bool Content::has_c() const { |
12738 | 0 | return content_oneof_case() == kC; |
12739 | 0 | } |
12740 | 0 | inline bool Content::_internal_has_c() const { |
12741 | 0 | return content_oneof_case() == kC; |
12742 | 0 | } |
12743 | 0 | inline void Content::set_has_c() { |
12744 | 0 | _impl_._oneof_case_[0] = kC; |
12745 | 0 | } |
12746 | 0 | inline void Content::clear_c() { |
12747 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12748 | 0 | if (content_oneof_case() == kC) { |
12749 | 0 | if (GetArena() == nullptr) { |
12750 | 0 | delete _impl_.content_oneof_.c_; |
12751 | 0 | } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { |
12752 | 0 | ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.content_oneof_.c_); |
12753 | 0 | } |
12754 | 0 | clear_has_content_oneof(); |
12755 | 0 | } |
12756 | 0 | } |
12757 | 0 | inline ::xmlProtoFuzzer::CData* Content::release_c() { |
12758 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Content.c) |
12759 | 0 | if (content_oneof_case() == kC) { |
12760 | 0 | clear_has_content_oneof(); |
12761 | 0 | auto* temp = _impl_.content_oneof_.c_; |
12762 | 0 | if (GetArena() != nullptr) { |
12763 | 0 | temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); |
12764 | 0 | } |
12765 | 0 | _impl_.content_oneof_.c_ = nullptr; |
12766 | 0 | return temp; |
12767 | 0 | } else { |
12768 | 0 | return nullptr; |
12769 | 0 | } |
12770 | 0 | } |
12771 | 2.28k | inline const ::xmlProtoFuzzer::CData& Content::_internal_c() const { |
12772 | 2.28k | return content_oneof_case() == kC ? *_impl_.content_oneof_.c_ : reinterpret_cast<::xmlProtoFuzzer::CData&>(::xmlProtoFuzzer::_CData_default_instance_); |
12773 | 2.28k | } |
12774 | 2.28k | inline const ::xmlProtoFuzzer::CData& Content::c() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12775 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Content.c) |
12776 | 2.28k | return _internal_c(); |
12777 | 2.28k | } |
12778 | 0 | inline ::xmlProtoFuzzer::CData* Content::unsafe_arena_release_c() { |
12779 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.Content.c) |
12780 | 0 | if (content_oneof_case() == kC) { |
12781 | 0 | clear_has_content_oneof(); |
12782 | 0 | auto* temp = _impl_.content_oneof_.c_; |
12783 | 0 | _impl_.content_oneof_.c_ = nullptr; |
12784 | 0 | return temp; |
12785 | 0 | } else { |
12786 | 0 | return nullptr; |
12787 | 0 | } |
12788 | 0 | } |
12789 | 0 | inline void Content::unsafe_arena_set_allocated_c(::xmlProtoFuzzer::CData* value) { |
12790 | 0 | // We rely on the oneof clear method to free the earlier contents |
12791 | 0 | // of this oneof. We can directly use the pointer we're given to |
12792 | 0 | // set the new value. |
12793 | 0 | clear_content_oneof(); |
12794 | 0 | if (value) { |
12795 | 0 | set_has_c(); |
12796 | 0 | _impl_.content_oneof_.c_ = value; |
12797 | 0 | } |
12798 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.Content.c) |
12799 | 0 | } |
12800 | 0 | inline ::xmlProtoFuzzer::CData* Content::_internal_mutable_c() { |
12801 | 0 | if (content_oneof_case() != kC) { |
12802 | 0 | clear_content_oneof(); |
12803 | 0 | set_has_c(); |
12804 | 0 | _impl_.content_oneof_.c_ = |
12805 | 0 | ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::CData>(GetArena()); |
12806 | 0 | } |
12807 | 0 | return _impl_.content_oneof_.c_; |
12808 | 0 | } |
12809 | 0 | inline ::xmlProtoFuzzer::CData* Content::mutable_c() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12810 | 0 | ::xmlProtoFuzzer::CData* _msg = _internal_mutable_c(); |
12811 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Content.c) |
12812 | 0 | return _msg; |
12813 | 0 | } |
12814 | | |
12815 | 14.2k | inline bool Content::has_content_oneof() const { |
12816 | 14.2k | return content_oneof_case() != CONTENT_ONEOF_NOT_SET; |
12817 | 14.2k | } |
12818 | 0 | inline void Content::clear_has_content_oneof() { |
12819 | 0 | _impl_._oneof_case_[0] = CONTENT_ONEOF_NOT_SET; |
12820 | 0 | } |
12821 | 215k | inline Content::ContentOneofCase Content::content_oneof_case() const { |
12822 | 215k | return Content::ContentOneofCase(_impl_._oneof_case_[0]); |
12823 | 215k | } |
12824 | | // ------------------------------------------------------------------- |
12825 | | |
12826 | | // Element |
12827 | | |
12828 | | // .xmlProtoFuzzer.Element.Type type = 1; |
12829 | 0 | inline void Element::clear_type() { |
12830 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12831 | 0 | _impl_.type_ = 0; |
12832 | 0 | } |
12833 | 370k | inline ::xmlProtoFuzzer::Element_Type Element::type() const { |
12834 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Element.type) |
12835 | 370k | return _internal_type(); |
12836 | 370k | } |
12837 | 0 | inline void Element::set_type(::xmlProtoFuzzer::Element_Type value) { |
12838 | 0 | _internal_set_type(value); |
12839 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Element.type) |
12840 | 0 | } |
12841 | 370k | inline ::xmlProtoFuzzer::Element_Type Element::_internal_type() const { |
12842 | 370k | ::google::protobuf::internal::TSanRead(&_impl_); |
12843 | 370k | return static_cast<::xmlProtoFuzzer::Element_Type>(_impl_.type_); |
12844 | 370k | } |
12845 | 0 | inline void Element::_internal_set_type(::xmlProtoFuzzer::Element_Type value) { |
12846 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12847 | 0 | _impl_.type_ = value; |
12848 | 0 | } |
12849 | | |
12850 | | // .xmlProtoFuzzer.Element.Id id = 2; |
12851 | 0 | inline void Element::clear_id() { |
12852 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12853 | 0 | _impl_.id_ = 0; |
12854 | 0 | } |
12855 | 341k | inline ::xmlProtoFuzzer::Element_Id Element::id() const { |
12856 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Element.id) |
12857 | 341k | return _internal_id(); |
12858 | 341k | } |
12859 | 0 | inline void Element::set_id(::xmlProtoFuzzer::Element_Id value) { |
12860 | 0 | _internal_set_id(value); |
12861 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Element.id) |
12862 | 0 | } |
12863 | 341k | inline ::xmlProtoFuzzer::Element_Id Element::_internal_id() const { |
12864 | 341k | ::google::protobuf::internal::TSanRead(&_impl_); |
12865 | 341k | return static_cast<::xmlProtoFuzzer::Element_Id>(_impl_.id_); |
12866 | 341k | } |
12867 | 0 | inline void Element::_internal_set_id(::xmlProtoFuzzer::Element_Id value) { |
12868 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12869 | 0 | _impl_.id_ = value; |
12870 | 0 | } |
12871 | | |
12872 | | // string name = 3; |
12873 | 0 | inline void Element::clear_name() { |
12874 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12875 | 0 | _impl_.name_.ClearToEmpty(); |
12876 | 0 | } |
12877 | | inline const std::string& Element::name() const |
12878 | 185k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12879 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Element.name) |
12880 | 185k | return _internal_name(); |
12881 | 185k | } |
12882 | | template <typename Arg_, typename... Args_> |
12883 | | inline PROTOBUF_ALWAYS_INLINE void Element::set_name(Arg_&& arg, |
12884 | | Args_... args) { |
12885 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
12886 | | _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
12887 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Element.name) |
12888 | | } |
12889 | 0 | inline std::string* Element::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12890 | 0 | std::string* _s = _internal_mutable_name(); |
12891 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Element.name) |
12892 | 0 | return _s; |
12893 | 0 | } |
12894 | 185k | inline const std::string& Element::_internal_name() const { |
12895 | 185k | ::google::protobuf::internal::TSanRead(&_impl_); |
12896 | 185k | return _impl_.name_.Get(); |
12897 | 185k | } |
12898 | 0 | inline void Element::_internal_set_name(const std::string& value) { |
12899 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12900 | 0 | _impl_.name_.Set(value, GetArena()); |
12901 | 0 | } |
12902 | 0 | inline std::string* Element::_internal_mutable_name() { |
12903 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12904 | 0 | return _impl_.name_.Mutable( GetArena()); |
12905 | 0 | } |
12906 | 0 | inline std::string* Element::release_name() { |
12907 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12908 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Element.name) |
12909 | 0 | return _impl_.name_.Release(); |
12910 | 0 | } |
12911 | 0 | inline void Element::set_allocated_name(std::string* value) { |
12912 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12913 | 0 | _impl_.name_.SetAllocated(value, GetArena()); |
12914 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { |
12915 | 0 | _impl_.name_.Set("", GetArena()); |
12916 | 0 | } |
12917 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Element.name) |
12918 | 0 | } |
12919 | | |
12920 | | // repeated .xmlProtoFuzzer.KeyValue kv = 4; |
12921 | 0 | inline int Element::_internal_kv_size() const { |
12922 | 0 | return _internal_kv().size(); |
12923 | 0 | } |
12924 | 0 | inline int Element::kv_size() const { |
12925 | 0 | return _internal_kv_size(); |
12926 | 0 | } |
12927 | 0 | inline void Element::clear_kv() { |
12928 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12929 | 0 | _impl_.kv_.Clear(); |
12930 | 0 | } |
12931 | | inline ::xmlProtoFuzzer::KeyValue* Element::mutable_kv(int index) |
12932 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12933 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Element.kv) |
12934 | 0 | return _internal_mutable_kv()->Mutable(index); |
12935 | 0 | } |
12936 | | inline ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>* Element::mutable_kv() |
12937 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12938 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.Element.kv) |
12939 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12940 | 0 | return _internal_mutable_kv(); |
12941 | 0 | } |
12942 | | inline const ::xmlProtoFuzzer::KeyValue& Element::kv(int index) const |
12943 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12944 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Element.kv) |
12945 | 0 | return _internal_kv().Get(index); |
12946 | 0 | } |
12947 | 0 | inline ::xmlProtoFuzzer::KeyValue* Element::add_kv() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12948 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12949 | 0 | ::xmlProtoFuzzer::KeyValue* _add = _internal_mutable_kv()->Add(); |
12950 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.Element.kv) |
12951 | 0 | return _add; |
12952 | 0 | } |
12953 | | inline const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>& Element::kv() const |
12954 | 185k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12955 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.Element.kv) |
12956 | 185k | return _internal_kv(); |
12957 | 185k | } |
12958 | | inline const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>& |
12959 | 185k | Element::_internal_kv() const { |
12960 | 185k | ::google::protobuf::internal::TSanRead(&_impl_); |
12961 | 185k | return _impl_.kv_; |
12962 | 185k | } |
12963 | | inline ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::KeyValue>* |
12964 | 0 | Element::_internal_mutable_kv() { |
12965 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
12966 | 0 | return &_impl_.kv_; |
12967 | 0 | } |
12968 | | |
12969 | | // .xmlProtoFuzzer.Content content = 5; |
12970 | 0 | inline bool Element::has_content() const { |
12971 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
12972 | 0 | PROTOBUF_ASSUME(!value || _impl_.content_ != nullptr); |
12973 | 0 | return value; |
12974 | 0 | } |
12975 | 0 | inline void Element::clear_content() { |
12976 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12977 | 0 | if (_impl_.content_ != nullptr) _impl_.content_->Clear(); |
12978 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12979 | 0 | } |
12980 | 185k | inline const ::xmlProtoFuzzer::Content& Element::_internal_content() const { |
12981 | 185k | ::google::protobuf::internal::TSanRead(&_impl_); |
12982 | 185k | const ::xmlProtoFuzzer::Content* p = _impl_.content_; |
12983 | 185k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::Content&>(::xmlProtoFuzzer::_Content_default_instance_); |
12984 | 185k | } |
12985 | 185k | inline const ::xmlProtoFuzzer::Content& Element::content() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
12986 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Element.content) |
12987 | 185k | return _internal_content(); |
12988 | 185k | } |
12989 | 0 | inline void Element::unsafe_arena_set_allocated_content(::xmlProtoFuzzer::Content* value) { |
12990 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
12991 | 0 | if (GetArena() == nullptr) { |
12992 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.content_); |
12993 | 0 | } |
12994 | 0 | _impl_.content_ = reinterpret_cast<::xmlProtoFuzzer::Content*>(value); |
12995 | 0 | if (value != nullptr) { |
12996 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
12997 | 0 | } else { |
12998 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
12999 | 0 | } |
13000 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.Element.content) |
13001 | 0 | } |
13002 | 0 | inline ::xmlProtoFuzzer::Content* Element::release_content() { |
13003 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13004 | 0 |
|
13005 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13006 | 0 | ::xmlProtoFuzzer::Content* released = _impl_.content_; |
13007 | 0 | _impl_.content_ = nullptr; |
13008 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
13009 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
13010 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13011 | 0 | if (GetArena() == nullptr) { |
13012 | 0 | delete old; |
13013 | 0 | } |
13014 | 0 | } else { |
13015 | 0 | if (GetArena() != nullptr) { |
13016 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13017 | 0 | } |
13018 | 0 | } |
13019 | 0 | return released; |
13020 | 0 | } |
13021 | 0 | inline ::xmlProtoFuzzer::Content* Element::unsafe_arena_release_content() { |
13022 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13023 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Element.content) |
13024 | 0 |
|
13025 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13026 | 0 | ::xmlProtoFuzzer::Content* temp = _impl_.content_; |
13027 | 0 | _impl_.content_ = nullptr; |
13028 | 0 | return temp; |
13029 | 0 | } |
13030 | 0 | inline ::xmlProtoFuzzer::Content* Element::_internal_mutable_content() { |
13031 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13032 | 0 | if (_impl_.content_ == nullptr) { |
13033 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::Content>(GetArena()); |
13034 | 0 | _impl_.content_ = reinterpret_cast<::xmlProtoFuzzer::Content*>(p); |
13035 | 0 | } |
13036 | 0 | return _impl_.content_; |
13037 | 0 | } |
13038 | 0 | inline ::xmlProtoFuzzer::Content* Element::mutable_content() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13039 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13040 | 0 | ::xmlProtoFuzzer::Content* _msg = _internal_mutable_content(); |
13041 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Element.content) |
13042 | 0 | return _msg; |
13043 | 0 | } |
13044 | 0 | inline void Element::set_allocated_content(::xmlProtoFuzzer::Content* value) { |
13045 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
13046 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13047 | 0 | if (message_arena == nullptr) { |
13048 | 0 | delete (_impl_.content_); |
13049 | 0 | } |
13050 | 0 |
|
13051 | 0 | if (value != nullptr) { |
13052 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
13053 | 0 | if (message_arena != submessage_arena) { |
13054 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
13055 | 0 | } |
13056 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13057 | 0 | } else { |
13058 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13059 | 0 | } |
13060 | 0 |
|
13061 | 0 | _impl_.content_ = reinterpret_cast<::xmlProtoFuzzer::Content*>(value); |
13062 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Element.content) |
13063 | 0 | } |
13064 | | |
13065 | | // string childprop = 6; |
13066 | 0 | inline void Element::clear_childprop() { |
13067 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13068 | 0 | _impl_.childprop_.ClearToEmpty(); |
13069 | 0 | } |
13070 | | inline const std::string& Element::childprop() const |
13071 | 170k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13072 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Element.childprop) |
13073 | 170k | return _internal_childprop(); |
13074 | 170k | } |
13075 | | template <typename Arg_, typename... Args_> |
13076 | | inline PROTOBUF_ALWAYS_INLINE void Element::set_childprop(Arg_&& arg, |
13077 | | Args_... args) { |
13078 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
13079 | | _impl_.childprop_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
13080 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Element.childprop) |
13081 | | } |
13082 | 0 | inline std::string* Element::mutable_childprop() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13083 | 0 | std::string* _s = _internal_mutable_childprop(); |
13084 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Element.childprop) |
13085 | 0 | return _s; |
13086 | 0 | } |
13087 | 170k | inline const std::string& Element::_internal_childprop() const { |
13088 | 170k | ::google::protobuf::internal::TSanRead(&_impl_); |
13089 | 170k | return _impl_.childprop_.Get(); |
13090 | 170k | } |
13091 | 0 | inline void Element::_internal_set_childprop(const std::string& value) { |
13092 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13093 | 0 | _impl_.childprop_.Set(value, GetArena()); |
13094 | 0 | } |
13095 | 0 | inline std::string* Element::_internal_mutable_childprop() { |
13096 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13097 | 0 | return _impl_.childprop_.Mutable( GetArena()); |
13098 | 0 | } |
13099 | 0 | inline std::string* Element::release_childprop() { |
13100 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13101 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Element.childprop) |
13102 | 0 | return _impl_.childprop_.Release(); |
13103 | 0 | } |
13104 | 0 | inline void Element::set_allocated_childprop(std::string* value) { |
13105 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13106 | 0 | _impl_.childprop_.SetAllocated(value, GetArena()); |
13107 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.childprop_.IsDefault()) { |
13108 | 0 | _impl_.childprop_.Set("", GetArena()); |
13109 | 0 | } |
13110 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Element.childprop) |
13111 | 0 | } |
13112 | | |
13113 | | // ------------------------------------------------------------------- |
13114 | | |
13115 | | // VersionNum |
13116 | | |
13117 | | // .xmlProtoFuzzer.VersionNum.Type type = 1; |
13118 | 0 | inline void VersionNum::clear_type() { |
13119 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13120 | 0 | _impl_.type_ = 0; |
13121 | 0 | } |
13122 | 16.5k | inline ::xmlProtoFuzzer::VersionNum_Type VersionNum::type() const { |
13123 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.VersionNum.type) |
13124 | 16.5k | return _internal_type(); |
13125 | 16.5k | } |
13126 | 0 | inline void VersionNum::set_type(::xmlProtoFuzzer::VersionNum_Type value) { |
13127 | 0 | _internal_set_type(value); |
13128 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.VersionNum.type) |
13129 | 0 | } |
13130 | 16.5k | inline ::xmlProtoFuzzer::VersionNum_Type VersionNum::_internal_type() const { |
13131 | 16.5k | ::google::protobuf::internal::TSanRead(&_impl_); |
13132 | 16.5k | return static_cast<::xmlProtoFuzzer::VersionNum_Type>(_impl_.type_); |
13133 | 16.5k | } |
13134 | 0 | inline void VersionNum::_internal_set_type(::xmlProtoFuzzer::VersionNum_Type value) { |
13135 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13136 | 0 | _impl_.type_ = value; |
13137 | 0 | } |
13138 | | |
13139 | | // uint64 major = 2; |
13140 | 0 | inline void VersionNum::clear_major() { |
13141 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13142 | 0 | _impl_.major_ = ::uint64_t{0u}; |
13143 | 0 | } |
13144 | 149 | inline ::uint64_t VersionNum::major() const { |
13145 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.VersionNum.major) |
13146 | 149 | return _internal_major(); |
13147 | 149 | } |
13148 | 0 | inline void VersionNum::set_major(::uint64_t value) { |
13149 | 0 | _internal_set_major(value); |
13150 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.VersionNum.major) |
13151 | 0 | } |
13152 | 149 | inline ::uint64_t VersionNum::_internal_major() const { |
13153 | 149 | ::google::protobuf::internal::TSanRead(&_impl_); |
13154 | 149 | return _impl_.major_; |
13155 | 149 | } |
13156 | 0 | inline void VersionNum::_internal_set_major(::uint64_t value) { |
13157 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13158 | 0 | _impl_.major_ = value; |
13159 | 0 | } |
13160 | | |
13161 | | // uint64 minor = 3; |
13162 | 0 | inline void VersionNum::clear_minor() { |
13163 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13164 | 0 | _impl_.minor_ = ::uint64_t{0u}; |
13165 | 0 | } |
13166 | 149 | inline ::uint64_t VersionNum::minor() const { |
13167 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.VersionNum.minor) |
13168 | 149 | return _internal_minor(); |
13169 | 149 | } |
13170 | 0 | inline void VersionNum::set_minor(::uint64_t value) { |
13171 | 0 | _internal_set_minor(value); |
13172 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.VersionNum.minor) |
13173 | 0 | } |
13174 | 149 | inline ::uint64_t VersionNum::_internal_minor() const { |
13175 | 149 | ::google::protobuf::internal::TSanRead(&_impl_); |
13176 | 149 | return _impl_.minor_; |
13177 | 149 | } |
13178 | 0 | inline void VersionNum::_internal_set_minor(::uint64_t value) { |
13179 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13180 | 0 | _impl_.minor_ = value; |
13181 | 0 | } |
13182 | | |
13183 | | // ------------------------------------------------------------------- |
13184 | | |
13185 | | // Encodings |
13186 | | |
13187 | | // .xmlProtoFuzzer.Encodings.Enc name = 1; |
13188 | 0 | inline void Encodings::clear_name() { |
13189 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13190 | 0 | _impl_.name_ = 0; |
13191 | 0 | } |
13192 | 15.8k | inline ::xmlProtoFuzzer::Encodings_Enc Encodings::name() const { |
13193 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Encodings.name) |
13194 | 15.8k | return _internal_name(); |
13195 | 15.8k | } |
13196 | 0 | inline void Encodings::set_name(::xmlProtoFuzzer::Encodings_Enc value) { |
13197 | 0 | _internal_set_name(value); |
13198 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Encodings.name) |
13199 | 0 | } |
13200 | 15.8k | inline ::xmlProtoFuzzer::Encodings_Enc Encodings::_internal_name() const { |
13201 | 15.8k | ::google::protobuf::internal::TSanRead(&_impl_); |
13202 | 15.8k | return static_cast<::xmlProtoFuzzer::Encodings_Enc>(_impl_.name_); |
13203 | 15.8k | } |
13204 | 0 | inline void Encodings::_internal_set_name(::xmlProtoFuzzer::Encodings_Enc value) { |
13205 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13206 | 0 | _impl_.name_ = value; |
13207 | 0 | } |
13208 | | |
13209 | | // string fuzz = 2; |
13210 | 0 | inline void Encodings::clear_fuzz() { |
13211 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13212 | 0 | _impl_.fuzz_.ClearToEmpty(); |
13213 | 0 | } |
13214 | | inline const std::string& Encodings::fuzz() const |
13215 | 142 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13216 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Encodings.fuzz) |
13217 | 142 | return _internal_fuzz(); |
13218 | 142 | } |
13219 | | template <typename Arg_, typename... Args_> |
13220 | | inline PROTOBUF_ALWAYS_INLINE void Encodings::set_fuzz(Arg_&& arg, |
13221 | | Args_... args) { |
13222 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
13223 | | _impl_.fuzz_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
13224 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Encodings.fuzz) |
13225 | | } |
13226 | 0 | inline std::string* Encodings::mutable_fuzz() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13227 | 0 | std::string* _s = _internal_mutable_fuzz(); |
13228 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Encodings.fuzz) |
13229 | 0 | return _s; |
13230 | 0 | } |
13231 | 142 | inline const std::string& Encodings::_internal_fuzz() const { |
13232 | 142 | ::google::protobuf::internal::TSanRead(&_impl_); |
13233 | 142 | return _impl_.fuzz_.Get(); |
13234 | 142 | } |
13235 | 0 | inline void Encodings::_internal_set_fuzz(const std::string& value) { |
13236 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13237 | 0 | _impl_.fuzz_.Set(value, GetArena()); |
13238 | 0 | } |
13239 | 0 | inline std::string* Encodings::_internal_mutable_fuzz() { |
13240 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13241 | 0 | return _impl_.fuzz_.Mutable( GetArena()); |
13242 | 0 | } |
13243 | 0 | inline std::string* Encodings::release_fuzz() { |
13244 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13245 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Encodings.fuzz) |
13246 | 0 | return _impl_.fuzz_.Release(); |
13247 | 0 | } |
13248 | 0 | inline void Encodings::set_allocated_fuzz(std::string* value) { |
13249 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13250 | 0 | _impl_.fuzz_.SetAllocated(value, GetArena()); |
13251 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.fuzz_.IsDefault()) { |
13252 | 0 | _impl_.fuzz_.Set("", GetArena()); |
13253 | 0 | } |
13254 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Encodings.fuzz) |
13255 | 0 | } |
13256 | | |
13257 | | // ------------------------------------------------------------------- |
13258 | | |
13259 | | // XmlDeclaration |
13260 | | |
13261 | | // .xmlProtoFuzzer.VersionNum ver = 1; |
13262 | 0 | inline bool XmlDeclaration::has_ver() const { |
13263 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13264 | 0 | PROTOBUF_ASSUME(!value || _impl_.ver_ != nullptr); |
13265 | 0 | return value; |
13266 | 0 | } |
13267 | 0 | inline void XmlDeclaration::clear_ver() { |
13268 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13269 | 0 | if (_impl_.ver_ != nullptr) _impl_.ver_->Clear(); |
13270 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13271 | 0 | } |
13272 | 8.25k | inline const ::xmlProtoFuzzer::VersionNum& XmlDeclaration::_internal_ver() const { |
13273 | 8.25k | ::google::protobuf::internal::TSanRead(&_impl_); |
13274 | 8.25k | const ::xmlProtoFuzzer::VersionNum* p = _impl_.ver_; |
13275 | 8.25k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::VersionNum&>(::xmlProtoFuzzer::_VersionNum_default_instance_); |
13276 | 8.25k | } |
13277 | 8.25k | inline const ::xmlProtoFuzzer::VersionNum& XmlDeclaration::ver() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13278 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.XmlDeclaration.ver) |
13279 | 8.25k | return _internal_ver(); |
13280 | 8.25k | } |
13281 | 0 | inline void XmlDeclaration::unsafe_arena_set_allocated_ver(::xmlProtoFuzzer::VersionNum* value) { |
13282 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13283 | 0 | if (GetArena() == nullptr) { |
13284 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ver_); |
13285 | 0 | } |
13286 | 0 | _impl_.ver_ = reinterpret_cast<::xmlProtoFuzzer::VersionNum*>(value); |
13287 | 0 | if (value != nullptr) { |
13288 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13289 | 0 | } else { |
13290 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13291 | 0 | } |
13292 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.XmlDeclaration.ver) |
13293 | 0 | } |
13294 | 0 | inline ::xmlProtoFuzzer::VersionNum* XmlDeclaration::release_ver() { |
13295 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13296 | 0 |
|
13297 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13298 | 0 | ::xmlProtoFuzzer::VersionNum* released = _impl_.ver_; |
13299 | 0 | _impl_.ver_ = nullptr; |
13300 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
13301 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
13302 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13303 | 0 | if (GetArena() == nullptr) { |
13304 | 0 | delete old; |
13305 | 0 | } |
13306 | 0 | } else { |
13307 | 0 | if (GetArena() != nullptr) { |
13308 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13309 | 0 | } |
13310 | 0 | } |
13311 | 0 | return released; |
13312 | 0 | } |
13313 | 0 | inline ::xmlProtoFuzzer::VersionNum* XmlDeclaration::unsafe_arena_release_ver() { |
13314 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13315 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.XmlDeclaration.ver) |
13316 | 0 |
|
13317 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13318 | 0 | ::xmlProtoFuzzer::VersionNum* temp = _impl_.ver_; |
13319 | 0 | _impl_.ver_ = nullptr; |
13320 | 0 | return temp; |
13321 | 0 | } |
13322 | 0 | inline ::xmlProtoFuzzer::VersionNum* XmlDeclaration::_internal_mutable_ver() { |
13323 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13324 | 0 | if (_impl_.ver_ == nullptr) { |
13325 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::VersionNum>(GetArena()); |
13326 | 0 | _impl_.ver_ = reinterpret_cast<::xmlProtoFuzzer::VersionNum*>(p); |
13327 | 0 | } |
13328 | 0 | return _impl_.ver_; |
13329 | 0 | } |
13330 | 0 | inline ::xmlProtoFuzzer::VersionNum* XmlDeclaration::mutable_ver() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13331 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13332 | 0 | ::xmlProtoFuzzer::VersionNum* _msg = _internal_mutable_ver(); |
13333 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.XmlDeclaration.ver) |
13334 | 0 | return _msg; |
13335 | 0 | } |
13336 | 0 | inline void XmlDeclaration::set_allocated_ver(::xmlProtoFuzzer::VersionNum* value) { |
13337 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
13338 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13339 | 0 | if (message_arena == nullptr) { |
13340 | 0 | delete (_impl_.ver_); |
13341 | 0 | } |
13342 | 0 |
|
13343 | 0 | if (value != nullptr) { |
13344 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
13345 | 0 | if (message_arena != submessage_arena) { |
13346 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
13347 | 0 | } |
13348 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13349 | 0 | } else { |
13350 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13351 | 0 | } |
13352 | 0 |
|
13353 | 0 | _impl_.ver_ = reinterpret_cast<::xmlProtoFuzzer::VersionNum*>(value); |
13354 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.XmlDeclaration.ver) |
13355 | 0 | } |
13356 | | |
13357 | | // .xmlProtoFuzzer.Encodings enc = 2; |
13358 | 0 | inline bool XmlDeclaration::has_enc() const { |
13359 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; |
13360 | 0 | PROTOBUF_ASSUME(!value || _impl_.enc_ != nullptr); |
13361 | 0 | return value; |
13362 | 0 | } |
13363 | 0 | inline void XmlDeclaration::clear_enc() { |
13364 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13365 | 0 | if (_impl_.enc_ != nullptr) _impl_.enc_->Clear(); |
13366 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13367 | 0 | } |
13368 | 8.25k | inline const ::xmlProtoFuzzer::Encodings& XmlDeclaration::_internal_enc() const { |
13369 | 8.25k | ::google::protobuf::internal::TSanRead(&_impl_); |
13370 | 8.25k | const ::xmlProtoFuzzer::Encodings* p = _impl_.enc_; |
13371 | 8.25k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::Encodings&>(::xmlProtoFuzzer::_Encodings_default_instance_); |
13372 | 8.25k | } |
13373 | 8.25k | inline const ::xmlProtoFuzzer::Encodings& XmlDeclaration::enc() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13374 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.XmlDeclaration.enc) |
13375 | 8.25k | return _internal_enc(); |
13376 | 8.25k | } |
13377 | 0 | inline void XmlDeclaration::unsafe_arena_set_allocated_enc(::xmlProtoFuzzer::Encodings* value) { |
13378 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13379 | 0 | if (GetArena() == nullptr) { |
13380 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.enc_); |
13381 | 0 | } |
13382 | 0 | _impl_.enc_ = reinterpret_cast<::xmlProtoFuzzer::Encodings*>(value); |
13383 | 0 | if (value != nullptr) { |
13384 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13385 | 0 | } else { |
13386 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13387 | 0 | } |
13388 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.XmlDeclaration.enc) |
13389 | 0 | } |
13390 | 0 | inline ::xmlProtoFuzzer::Encodings* XmlDeclaration::release_enc() { |
13391 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13392 | 0 |
|
13393 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13394 | 0 | ::xmlProtoFuzzer::Encodings* released = _impl_.enc_; |
13395 | 0 | _impl_.enc_ = nullptr; |
13396 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
13397 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
13398 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13399 | 0 | if (GetArena() == nullptr) { |
13400 | 0 | delete old; |
13401 | 0 | } |
13402 | 0 | } else { |
13403 | 0 | if (GetArena() != nullptr) { |
13404 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13405 | 0 | } |
13406 | 0 | } |
13407 | 0 | return released; |
13408 | 0 | } |
13409 | 0 | inline ::xmlProtoFuzzer::Encodings* XmlDeclaration::unsafe_arena_release_enc() { |
13410 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13411 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.XmlDeclaration.enc) |
13412 | 0 |
|
13413 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13414 | 0 | ::xmlProtoFuzzer::Encodings* temp = _impl_.enc_; |
13415 | 0 | _impl_.enc_ = nullptr; |
13416 | 0 | return temp; |
13417 | 0 | } |
13418 | 0 | inline ::xmlProtoFuzzer::Encodings* XmlDeclaration::_internal_mutable_enc() { |
13419 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13420 | 0 | if (_impl_.enc_ == nullptr) { |
13421 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::Encodings>(GetArena()); |
13422 | 0 | _impl_.enc_ = reinterpret_cast<::xmlProtoFuzzer::Encodings*>(p); |
13423 | 0 | } |
13424 | 0 | return _impl_.enc_; |
13425 | 0 | } |
13426 | 0 | inline ::xmlProtoFuzzer::Encodings* XmlDeclaration::mutable_enc() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13427 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13428 | 0 | ::xmlProtoFuzzer::Encodings* _msg = _internal_mutable_enc(); |
13429 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.XmlDeclaration.enc) |
13430 | 0 | return _msg; |
13431 | 0 | } |
13432 | 0 | inline void XmlDeclaration::set_allocated_enc(::xmlProtoFuzzer::Encodings* value) { |
13433 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
13434 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13435 | 0 | if (message_arena == nullptr) { |
13436 | 0 | delete (_impl_.enc_); |
13437 | 0 | } |
13438 | 0 |
|
13439 | 0 | if (value != nullptr) { |
13440 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
13441 | 0 | if (message_arena != submessage_arena) { |
13442 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
13443 | 0 | } |
13444 | 0 | _impl_._has_bits_[0] |= 0x00000002u; |
13445 | 0 | } else { |
13446 | 0 | _impl_._has_bits_[0] &= ~0x00000002u; |
13447 | 0 | } |
13448 | 0 |
|
13449 | 0 | _impl_.enc_ = reinterpret_cast<::xmlProtoFuzzer::Encodings*>(value); |
13450 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.XmlDeclaration.enc) |
13451 | 0 | } |
13452 | | |
13453 | | // .xmlProtoFuzzer.XmlDeclaration.Standalone standalone = 3; |
13454 | 0 | inline void XmlDeclaration::clear_standalone() { |
13455 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13456 | 0 | _impl_.standalone_ = 0; |
13457 | 0 | } |
13458 | 8.25k | inline ::xmlProtoFuzzer::XmlDeclaration_Standalone XmlDeclaration::standalone() const { |
13459 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.XmlDeclaration.standalone) |
13460 | 8.25k | return _internal_standalone(); |
13461 | 8.25k | } |
13462 | 0 | inline void XmlDeclaration::set_standalone(::xmlProtoFuzzer::XmlDeclaration_Standalone value) { |
13463 | 0 | _internal_set_standalone(value); |
13464 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.XmlDeclaration.standalone) |
13465 | 0 | } |
13466 | 8.25k | inline ::xmlProtoFuzzer::XmlDeclaration_Standalone XmlDeclaration::_internal_standalone() const { |
13467 | 8.25k | ::google::protobuf::internal::TSanRead(&_impl_); |
13468 | 8.25k | return static_cast<::xmlProtoFuzzer::XmlDeclaration_Standalone>(_impl_.standalone_); |
13469 | 8.25k | } |
13470 | 0 | inline void XmlDeclaration::_internal_set_standalone(::xmlProtoFuzzer::XmlDeclaration_Standalone value) { |
13471 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13472 | 0 | _impl_.standalone_ = value; |
13473 | 0 | } |
13474 | | |
13475 | | // string fuzz = 4; |
13476 | 0 | inline void XmlDeclaration::clear_fuzz() { |
13477 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13478 | 0 | _impl_.fuzz_.ClearToEmpty(); |
13479 | 0 | } |
13480 | | inline const std::string& XmlDeclaration::fuzz() const |
13481 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13482 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.XmlDeclaration.fuzz) |
13483 | 0 | return _internal_fuzz(); |
13484 | 0 | } |
13485 | | template <typename Arg_, typename... Args_> |
13486 | | inline PROTOBUF_ALWAYS_INLINE void XmlDeclaration::set_fuzz(Arg_&& arg, |
13487 | | Args_... args) { |
13488 | | ::google::protobuf::internal::TSanWrite(&_impl_); |
13489 | | _impl_.fuzz_.Set(static_cast<Arg_&&>(arg), args..., GetArena()); |
13490 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.XmlDeclaration.fuzz) |
13491 | | } |
13492 | 0 | inline std::string* XmlDeclaration::mutable_fuzz() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13493 | 0 | std::string* _s = _internal_mutable_fuzz(); |
13494 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.XmlDeclaration.fuzz) |
13495 | 0 | return _s; |
13496 | 0 | } |
13497 | 0 | inline const std::string& XmlDeclaration::_internal_fuzz() const { |
13498 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13499 | 0 | return _impl_.fuzz_.Get(); |
13500 | 0 | } |
13501 | 0 | inline void XmlDeclaration::_internal_set_fuzz(const std::string& value) { |
13502 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13503 | 0 | _impl_.fuzz_.Set(value, GetArena()); |
13504 | 0 | } |
13505 | 0 | inline std::string* XmlDeclaration::_internal_mutable_fuzz() { |
13506 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13507 | 0 | return _impl_.fuzz_.Mutable( GetArena()); |
13508 | 0 | } |
13509 | 0 | inline std::string* XmlDeclaration::release_fuzz() { |
13510 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13511 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.XmlDeclaration.fuzz) |
13512 | 0 | return _impl_.fuzz_.Release(); |
13513 | 0 | } |
13514 | 0 | inline void XmlDeclaration::set_allocated_fuzz(std::string* value) { |
13515 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13516 | 0 | _impl_.fuzz_.SetAllocated(value, GetArena()); |
13517 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.fuzz_.IsDefault()) { |
13518 | 0 | _impl_.fuzz_.Set("", GetArena()); |
13519 | 0 | } |
13520 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.XmlDeclaration.fuzz) |
13521 | 0 | } |
13522 | | |
13523 | | // ------------------------------------------------------------------- |
13524 | | |
13525 | | // XmlDocument |
13526 | | |
13527 | | // .xmlProtoFuzzer.Prolog p = 1; |
13528 | 0 | inline bool XmlDocument::has_p() const { |
13529 | 0 | bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; |
13530 | 0 | PROTOBUF_ASSUME(!value || _impl_.p_ != nullptr); |
13531 | 0 | return value; |
13532 | 0 | } |
13533 | 0 | inline void XmlDocument::clear_p() { |
13534 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13535 | 0 | if (_impl_.p_ != nullptr) _impl_.p_->Clear(); |
13536 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13537 | 0 | } |
13538 | 8.25k | inline const ::xmlProtoFuzzer::Prolog& XmlDocument::_internal_p() const { |
13539 | 8.25k | ::google::protobuf::internal::TSanRead(&_impl_); |
13540 | 8.25k | const ::xmlProtoFuzzer::Prolog* p = _impl_.p_; |
13541 | 8.25k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::Prolog&>(::xmlProtoFuzzer::_Prolog_default_instance_); |
13542 | 8.25k | } |
13543 | 8.25k | inline const ::xmlProtoFuzzer::Prolog& XmlDocument::p() const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13544 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.XmlDocument.p) |
13545 | 8.25k | return _internal_p(); |
13546 | 8.25k | } |
13547 | 0 | inline void XmlDocument::unsafe_arena_set_allocated_p(::xmlProtoFuzzer::Prolog* value) { |
13548 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13549 | 0 | if (GetArena() == nullptr) { |
13550 | 0 | delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.p_); |
13551 | 0 | } |
13552 | 0 | _impl_.p_ = reinterpret_cast<::xmlProtoFuzzer::Prolog*>(value); |
13553 | 0 | if (value != nullptr) { |
13554 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13555 | 0 | } else { |
13556 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13557 | 0 | } |
13558 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.XmlDocument.p) |
13559 | 0 | } |
13560 | 0 | inline ::xmlProtoFuzzer::Prolog* XmlDocument::release_p() { |
13561 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13562 | 0 |
|
13563 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13564 | 0 | ::xmlProtoFuzzer::Prolog* released = _impl_.p_; |
13565 | 0 | _impl_.p_ = nullptr; |
13566 | 0 | if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { |
13567 | 0 | auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); |
13568 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13569 | 0 | if (GetArena() == nullptr) { |
13570 | 0 | delete old; |
13571 | 0 | } |
13572 | 0 | } else { |
13573 | 0 | if (GetArena() != nullptr) { |
13574 | 0 | released = ::google::protobuf::internal::DuplicateIfNonNull(released); |
13575 | 0 | } |
13576 | 0 | } |
13577 | 0 | return released; |
13578 | 0 | } |
13579 | 0 | inline ::xmlProtoFuzzer::Prolog* XmlDocument::unsafe_arena_release_p() { |
13580 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13581 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.XmlDocument.p) |
13582 | 0 |
|
13583 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13584 | 0 | ::xmlProtoFuzzer::Prolog* temp = _impl_.p_; |
13585 | 0 | _impl_.p_ = nullptr; |
13586 | 0 | return temp; |
13587 | 0 | } |
13588 | 0 | inline ::xmlProtoFuzzer::Prolog* XmlDocument::_internal_mutable_p() { |
13589 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13590 | 0 | if (_impl_.p_ == nullptr) { |
13591 | 0 | auto* p = ::google::protobuf::Message::DefaultConstruct<::xmlProtoFuzzer::Prolog>(GetArena()); |
13592 | 0 | _impl_.p_ = reinterpret_cast<::xmlProtoFuzzer::Prolog*>(p); |
13593 | 0 | } |
13594 | 0 | return _impl_.p_; |
13595 | 0 | } |
13596 | 0 | inline ::xmlProtoFuzzer::Prolog* XmlDocument::mutable_p() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13597 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13598 | 0 | ::xmlProtoFuzzer::Prolog* _msg = _internal_mutable_p(); |
13599 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.XmlDocument.p) |
13600 | 0 | return _msg; |
13601 | 0 | } |
13602 | 0 | inline void XmlDocument::set_allocated_p(::xmlProtoFuzzer::Prolog* value) { |
13603 | 0 | ::google::protobuf::Arena* message_arena = GetArena(); |
13604 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13605 | 0 | if (message_arena == nullptr) { |
13606 | 0 | delete (_impl_.p_); |
13607 | 0 | } |
13608 | 0 |
|
13609 | 0 | if (value != nullptr) { |
13610 | 0 | ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); |
13611 | 0 | if (message_arena != submessage_arena) { |
13612 | 0 | value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); |
13613 | 0 | } |
13614 | 0 | _impl_._has_bits_[0] |= 0x00000001u; |
13615 | 0 | } else { |
13616 | 0 | _impl_._has_bits_[0] &= ~0x00000001u; |
13617 | 0 | } |
13618 | 0 |
|
13619 | 0 | _impl_.p_ = reinterpret_cast<::xmlProtoFuzzer::Prolog*>(value); |
13620 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.XmlDocument.p) |
13621 | 0 | } |
13622 | | |
13623 | | // repeated .xmlProtoFuzzer.Element e = 2; |
13624 | 0 | inline int XmlDocument::_internal_e_size() const { |
13625 | 0 | return _internal_e().size(); |
13626 | 0 | } |
13627 | 0 | inline int XmlDocument::e_size() const { |
13628 | 0 | return _internal_e_size(); |
13629 | 0 | } |
13630 | 0 | inline void XmlDocument::clear_e() { |
13631 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13632 | 0 | _impl_.e_.Clear(); |
13633 | 0 | } |
13634 | | inline ::xmlProtoFuzzer::Element* XmlDocument::mutable_e(int index) |
13635 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13636 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.XmlDocument.e) |
13637 | 0 | return _internal_mutable_e()->Mutable(index); |
13638 | 0 | } |
13639 | | inline ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Element>* XmlDocument::mutable_e() |
13640 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13641 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.XmlDocument.e) |
13642 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13643 | 0 | return _internal_mutable_e(); |
13644 | 0 | } |
13645 | | inline const ::xmlProtoFuzzer::Element& XmlDocument::e(int index) const |
13646 | 0 | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13647 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.XmlDocument.e) |
13648 | 0 | return _internal_e().Get(index); |
13649 | 0 | } |
13650 | 0 | inline ::xmlProtoFuzzer::Element* XmlDocument::add_e() ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13651 | 0 | ::google::protobuf::internal::TSanWrite(&_impl_); |
13652 | 0 | ::xmlProtoFuzzer::Element* _add = _internal_mutable_e()->Add(); |
13653 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.XmlDocument.e) |
13654 | 0 | return _add; |
13655 | 0 | } |
13656 | | inline const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Element>& XmlDocument::e() const |
13657 | 8.25k | ABSL_ATTRIBUTE_LIFETIME_BOUND { |
13658 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.XmlDocument.e) |
13659 | 8.25k | return _internal_e(); |
13660 | 8.25k | } |
13661 | | inline const ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Element>& |
13662 | 8.25k | XmlDocument::_internal_e() const { |
13663 | 8.25k | ::google::protobuf::internal::TSanRead(&_impl_); |
13664 | 8.25k | return _impl_.e_; |
13665 | 8.25k | } |
13666 | | inline ::google::protobuf::RepeatedPtrField<::xmlProtoFuzzer::Element>* |
13667 | 0 | XmlDocument::_internal_mutable_e() { |
13668 | 0 | ::google::protobuf::internal::TSanRead(&_impl_); |
13669 | 0 | return &_impl_.e_; |
13670 | 0 | } |
13671 | | |
13672 | | #ifdef __GNUC__ |
13673 | | #pragma GCC diagnostic pop |
13674 | | #endif // __GNUC__ |
13675 | | |
13676 | | // @@protoc_insertion_point(namespace_scope) |
13677 | | } // namespace xmlProtoFuzzer |
13678 | | |
13679 | | |
13680 | | namespace google { |
13681 | | namespace protobuf { |
13682 | | |
13683 | | template <> |
13684 | | struct is_proto_enum<::xmlProtoFuzzer::ElementDecl_ContentSpec> : std::true_type {}; |
13685 | | template <> |
13686 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::ElementDecl_ContentSpec>() { |
13687 | 0 | return ::xmlProtoFuzzer::ElementDecl_ContentSpec_descriptor(); |
13688 | 0 | } |
13689 | | template <> |
13690 | | struct is_proto_enum<::xmlProtoFuzzer::AttrType_Type> : std::true_type {}; |
13691 | | template <> |
13692 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::AttrType_Type>() { |
13693 | 0 | return ::xmlProtoFuzzer::AttrType_Type_descriptor(); |
13694 | 0 | } |
13695 | | template <> |
13696 | | struct is_proto_enum<::xmlProtoFuzzer::ExternalId_Type> : std::true_type {}; |
13697 | | template <> |
13698 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::ExternalId_Type>() { |
13699 | 0 | return ::xmlProtoFuzzer::ExternalId_Type_descriptor(); |
13700 | 0 | } |
13701 | | template <> |
13702 | | struct is_proto_enum<::xmlProtoFuzzer::AttValue_Type> : std::true_type {}; |
13703 | | template <> |
13704 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::AttValue_Type>() { |
13705 | 0 | return ::xmlProtoFuzzer::AttValue_Type_descriptor(); |
13706 | 0 | } |
13707 | | template <> |
13708 | | struct is_proto_enum<::xmlProtoFuzzer::DefaultDecl_Type> : std::true_type {}; |
13709 | | template <> |
13710 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::DefaultDecl_Type>() { |
13711 | 0 | return ::xmlProtoFuzzer::DefaultDecl_Type_descriptor(); |
13712 | 0 | } |
13713 | | template <> |
13714 | | struct is_proto_enum<::xmlProtoFuzzer::AttDef_Type> : std::true_type {}; |
13715 | | template <> |
13716 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::AttDef_Type>() { |
13717 | 0 | return ::xmlProtoFuzzer::AttDef_Type_descriptor(); |
13718 | 0 | } |
13719 | | template <> |
13720 | | struct is_proto_enum<::xmlProtoFuzzer::EntityValue_Type> : std::true_type {}; |
13721 | | template <> |
13722 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::EntityValue_Type>() { |
13723 | 0 | return ::xmlProtoFuzzer::EntityValue_Type_descriptor(); |
13724 | 0 | } |
13725 | | template <> |
13726 | | struct is_proto_enum<::xmlProtoFuzzer::EntityDecl_Type> : std::true_type {}; |
13727 | | template <> |
13728 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::EntityDecl_Type>() { |
13729 | 0 | return ::xmlProtoFuzzer::EntityDecl_Type_descriptor(); |
13730 | 0 | } |
13731 | | template <> |
13732 | | struct is_proto_enum<::xmlProtoFuzzer::ConditionalSect_Type> : std::true_type {}; |
13733 | | template <> |
13734 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::ConditionalSect_Type>() { |
13735 | 0 | return ::xmlProtoFuzzer::ConditionalSect_Type_descriptor(); |
13736 | 0 | } |
13737 | | template <> |
13738 | | struct is_proto_enum<::xmlProtoFuzzer::KeyValue_XmlNamespace> : std::true_type {}; |
13739 | | template <> |
13740 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::KeyValue_XmlNamespace>() { |
13741 | 0 | return ::xmlProtoFuzzer::KeyValue_XmlNamespace_descriptor(); |
13742 | 0 | } |
13743 | | template <> |
13744 | | struct is_proto_enum<::xmlProtoFuzzer::Element_Type> : std::true_type {}; |
13745 | | template <> |
13746 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::Element_Type>() { |
13747 | 0 | return ::xmlProtoFuzzer::Element_Type_descriptor(); |
13748 | 0 | } |
13749 | | template <> |
13750 | | struct is_proto_enum<::xmlProtoFuzzer::Element_Id> : std::true_type {}; |
13751 | | template <> |
13752 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::Element_Id>() { |
13753 | 0 | return ::xmlProtoFuzzer::Element_Id_descriptor(); |
13754 | 0 | } |
13755 | | template <> |
13756 | | struct is_proto_enum<::xmlProtoFuzzer::VersionNum_Type> : std::true_type {}; |
13757 | | template <> |
13758 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::VersionNum_Type>() { |
13759 | 0 | return ::xmlProtoFuzzer::VersionNum_Type_descriptor(); |
13760 | 0 | } |
13761 | | template <> |
13762 | | struct is_proto_enum<::xmlProtoFuzzer::Encodings_Enc> : std::true_type {}; |
13763 | | template <> |
13764 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::Encodings_Enc>() { |
13765 | 0 | return ::xmlProtoFuzzer::Encodings_Enc_descriptor(); |
13766 | 0 | } |
13767 | | template <> |
13768 | | struct is_proto_enum<::xmlProtoFuzzer::XmlDeclaration_Standalone> : std::true_type {}; |
13769 | | template <> |
13770 | 0 | inline const EnumDescriptor* GetEnumDescriptor<::xmlProtoFuzzer::XmlDeclaration_Standalone>() { |
13771 | 0 | return ::xmlProtoFuzzer::XmlDeclaration_Standalone_descriptor(); |
13772 | 0 | } |
13773 | | |
13774 | | } // namespace protobuf |
13775 | | } // namespace google |
13776 | | |
13777 | | // @@protoc_insertion_point(global_scope) |
13778 | | |
13779 | | #include "google/protobuf/port_undef.inc" |
13780 | | |
13781 | | #endif // xml_2eproto_2epb_2eh |