Line | Count | Source (jump to first uncovered line) |
1 | | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | | // source: xml.proto |
3 | | |
4 | | #ifndef GOOGLE_PROTOBUF_INCLUDED_xml_2eproto |
5 | | #define GOOGLE_PROTOBUF_INCLUDED_xml_2eproto |
6 | | |
7 | | #include <limits> |
8 | | #include <string> |
9 | | |
10 | | #include <google/protobuf/port_def.inc> |
11 | | #if PROTOBUF_VERSION < 3021000 |
12 | | #error This file was generated by a newer version of protoc which is |
13 | | #error incompatible with your Protocol Buffer headers. Please update |
14 | | #error your headers. |
15 | | #endif |
16 | | #if 3021007 < PROTOBUF_MIN_PROTOC_VERSION |
17 | | #error This file was generated by an older version of protoc which is |
18 | | #error incompatible with your Protocol Buffer headers. Please |
19 | | #error regenerate this file with a newer version of protoc. |
20 | | #endif |
21 | | |
22 | | #include <google/protobuf/port_undef.inc> |
23 | | #include <google/protobuf/io/coded_stream.h> |
24 | | #include <google/protobuf/arena.h> |
25 | | #include <google/protobuf/arenastring.h> |
26 | | #include <google/protobuf/generated_message_util.h> |
27 | | #include <google/protobuf/metadata_lite.h> |
28 | | #include <google/protobuf/generated_message_reflection.h> |
29 | | #include <google/protobuf/message.h> |
30 | | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
31 | | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
32 | | #include <google/protobuf/generated_enum_reflection.h> |
33 | | #include <google/protobuf/unknown_field_set.h> |
34 | | // @@protoc_insertion_point(includes) |
35 | | #include <google/protobuf/port_def.inc> |
36 | | #define PROTOBUF_INTERNAL_EXPORT_xml_2eproto |
37 | | PROTOBUF_NAMESPACE_OPEN |
38 | | namespace internal { |
39 | | class AnyMetadata; |
40 | | } // namespace internal |
41 | | PROTOBUF_NAMESPACE_CLOSE |
42 | | |
43 | | // Internal implementation detail -- do not use these members. |
44 | | struct TableStruct_xml_2eproto { |
45 | | static const uint32_t offsets[]; |
46 | | }; |
47 | | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_xml_2eproto; |
48 | | namespace xmlProtoFuzzer { |
49 | | class AttDef; |
50 | | struct AttDefDefaultTypeInternal; |
51 | | extern AttDefDefaultTypeInternal _AttDef_default_instance_; |
52 | | class AttListDecl; |
53 | | struct AttListDeclDefaultTypeInternal; |
54 | | extern AttListDeclDefaultTypeInternal _AttListDecl_default_instance_; |
55 | | class AttValue; |
56 | | struct AttValueDefaultTypeInternal; |
57 | | extern AttValueDefaultTypeInternal _AttValue_default_instance_; |
58 | | class AttrListDecl; |
59 | | struct AttrListDeclDefaultTypeInternal; |
60 | | extern AttrListDeclDefaultTypeInternal _AttrListDecl_default_instance_; |
61 | | class AttrType; |
62 | | struct AttrTypeDefaultTypeInternal; |
63 | | extern AttrTypeDefaultTypeInternal _AttrType_default_instance_; |
64 | | class CData; |
65 | | struct CDataDefaultTypeInternal; |
66 | | extern CDataDefaultTypeInternal _CData_default_instance_; |
67 | | class ConditionalSect; |
68 | | struct ConditionalSectDefaultTypeInternal; |
69 | | extern ConditionalSectDefaultTypeInternal _ConditionalSect_default_instance_; |
70 | | class Content; |
71 | | struct ContentDefaultTypeInternal; |
72 | | extern ContentDefaultTypeInternal _Content_default_instance_; |
73 | | class DefaultDecl; |
74 | | struct DefaultDeclDefaultTypeInternal; |
75 | | extern DefaultDeclDefaultTypeInternal _DefaultDecl_default_instance_; |
76 | | class DocTypeDecl; |
77 | | struct DocTypeDeclDefaultTypeInternal; |
78 | | extern DocTypeDeclDefaultTypeInternal _DocTypeDecl_default_instance_; |
79 | | class Element; |
80 | | struct ElementDefaultTypeInternal; |
81 | | extern ElementDefaultTypeInternal _Element_default_instance_; |
82 | | class ElementDecl; |
83 | | struct ElementDeclDefaultTypeInternal; |
84 | | extern ElementDeclDefaultTypeInternal _ElementDecl_default_instance_; |
85 | | class Encodings; |
86 | | struct EncodingsDefaultTypeInternal; |
87 | | extern EncodingsDefaultTypeInternal _Encodings_default_instance_; |
88 | | class EntityDecl; |
89 | | struct EntityDeclDefaultTypeInternal; |
90 | | extern EntityDeclDefaultTypeInternal _EntityDecl_default_instance_; |
91 | | class EntityDef; |
92 | | struct EntityDefDefaultTypeInternal; |
93 | | extern EntityDefDefaultTypeInternal _EntityDef_default_instance_; |
94 | | class EntityValue; |
95 | | struct EntityValueDefaultTypeInternal; |
96 | | extern EntityValueDefaultTypeInternal _EntityValue_default_instance_; |
97 | | class EnumeratedType; |
98 | | struct EnumeratedTypeDefaultTypeInternal; |
99 | | extern EnumeratedTypeDefaultTypeInternal _EnumeratedType_default_instance_; |
100 | | class ExtSubsetDecl; |
101 | | struct ExtSubsetDeclDefaultTypeInternal; |
102 | | extern ExtSubsetDeclDefaultTypeInternal _ExtSubsetDecl_default_instance_; |
103 | | class ExternalId; |
104 | | struct ExternalIdDefaultTypeInternal; |
105 | | extern ExternalIdDefaultTypeInternal _ExternalId_default_instance_; |
106 | | class KeyValue; |
107 | | struct KeyValueDefaultTypeInternal; |
108 | | extern KeyValueDefaultTypeInternal _KeyValue_default_instance_; |
109 | | class MarkupDecl; |
110 | | struct MarkupDeclDefaultTypeInternal; |
111 | | extern MarkupDeclDefaultTypeInternal _MarkupDecl_default_instance_; |
112 | | class Misc; |
113 | | struct MiscDefaultTypeInternal; |
114 | | extern MiscDefaultTypeInternal _Misc_default_instance_; |
115 | | class NDataDecl; |
116 | | struct NDataDeclDefaultTypeInternal; |
117 | | extern NDataDeclDefaultTypeInternal _NDataDecl_default_instance_; |
118 | | class NotationDecl; |
119 | | struct NotationDeclDefaultTypeInternal; |
120 | | extern NotationDeclDefaultTypeInternal _NotationDecl_default_instance_; |
121 | | class OneExtSubsetDecl; |
122 | | struct OneExtSubsetDeclDefaultTypeInternal; |
123 | | extern OneExtSubsetDeclDefaultTypeInternal _OneExtSubsetDecl_default_instance_; |
124 | | class PEDef; |
125 | | struct PEDefDefaultTypeInternal; |
126 | | extern PEDefDefaultTypeInternal _PEDef_default_instance_; |
127 | | class PEReference; |
128 | | struct PEReferenceDefaultTypeInternal; |
129 | | extern PEReferenceDefaultTypeInternal _PEReference_default_instance_; |
130 | | class ProcessingInstruction; |
131 | | struct ProcessingInstructionDefaultTypeInternal; |
132 | | extern ProcessingInstructionDefaultTypeInternal _ProcessingInstruction_default_instance_; |
133 | | class Prolog; |
134 | | struct PrologDefaultTypeInternal; |
135 | | extern PrologDefaultTypeInternal _Prolog_default_instance_; |
136 | | class VersionNum; |
137 | | struct VersionNumDefaultTypeInternal; |
138 | | extern VersionNumDefaultTypeInternal _VersionNum_default_instance_; |
139 | | class XmlDeclaration; |
140 | | struct XmlDeclarationDefaultTypeInternal; |
141 | | extern XmlDeclarationDefaultTypeInternal _XmlDeclaration_default_instance_; |
142 | | class XmlDocument; |
143 | | struct XmlDocumentDefaultTypeInternal; |
144 | | extern XmlDocumentDefaultTypeInternal _XmlDocument_default_instance_; |
145 | | } // namespace xmlProtoFuzzer |
146 | | PROTOBUF_NAMESPACE_OPEN |
147 | | template<> ::xmlProtoFuzzer::AttDef* Arena::CreateMaybeMessage<::xmlProtoFuzzer::AttDef>(Arena*); |
148 | | template<> ::xmlProtoFuzzer::AttListDecl* Arena::CreateMaybeMessage<::xmlProtoFuzzer::AttListDecl>(Arena*); |
149 | | template<> ::xmlProtoFuzzer::AttValue* Arena::CreateMaybeMessage<::xmlProtoFuzzer::AttValue>(Arena*); |
150 | | template<> ::xmlProtoFuzzer::AttrListDecl* Arena::CreateMaybeMessage<::xmlProtoFuzzer::AttrListDecl>(Arena*); |
151 | | template<> ::xmlProtoFuzzer::AttrType* Arena::CreateMaybeMessage<::xmlProtoFuzzer::AttrType>(Arena*); |
152 | | template<> ::xmlProtoFuzzer::CData* Arena::CreateMaybeMessage<::xmlProtoFuzzer::CData>(Arena*); |
153 | | template<> ::xmlProtoFuzzer::ConditionalSect* Arena::CreateMaybeMessage<::xmlProtoFuzzer::ConditionalSect>(Arena*); |
154 | | template<> ::xmlProtoFuzzer::Content* Arena::CreateMaybeMessage<::xmlProtoFuzzer::Content>(Arena*); |
155 | | template<> ::xmlProtoFuzzer::DefaultDecl* Arena::CreateMaybeMessage<::xmlProtoFuzzer::DefaultDecl>(Arena*); |
156 | | template<> ::xmlProtoFuzzer::DocTypeDecl* Arena::CreateMaybeMessage<::xmlProtoFuzzer::DocTypeDecl>(Arena*); |
157 | | template<> ::xmlProtoFuzzer::Element* Arena::CreateMaybeMessage<::xmlProtoFuzzer::Element>(Arena*); |
158 | | template<> ::xmlProtoFuzzer::ElementDecl* Arena::CreateMaybeMessage<::xmlProtoFuzzer::ElementDecl>(Arena*); |
159 | | template<> ::xmlProtoFuzzer::Encodings* Arena::CreateMaybeMessage<::xmlProtoFuzzer::Encodings>(Arena*); |
160 | | template<> ::xmlProtoFuzzer::EntityDecl* Arena::CreateMaybeMessage<::xmlProtoFuzzer::EntityDecl>(Arena*); |
161 | | template<> ::xmlProtoFuzzer::EntityDef* Arena::CreateMaybeMessage<::xmlProtoFuzzer::EntityDef>(Arena*); |
162 | | template<> ::xmlProtoFuzzer::EntityValue* Arena::CreateMaybeMessage<::xmlProtoFuzzer::EntityValue>(Arena*); |
163 | | template<> ::xmlProtoFuzzer::EnumeratedType* Arena::CreateMaybeMessage<::xmlProtoFuzzer::EnumeratedType>(Arena*); |
164 | | template<> ::xmlProtoFuzzer::ExtSubsetDecl* Arena::CreateMaybeMessage<::xmlProtoFuzzer::ExtSubsetDecl>(Arena*); |
165 | | template<> ::xmlProtoFuzzer::ExternalId* Arena::CreateMaybeMessage<::xmlProtoFuzzer::ExternalId>(Arena*); |
166 | | template<> ::xmlProtoFuzzer::KeyValue* Arena::CreateMaybeMessage<::xmlProtoFuzzer::KeyValue>(Arena*); |
167 | | template<> ::xmlProtoFuzzer::MarkupDecl* Arena::CreateMaybeMessage<::xmlProtoFuzzer::MarkupDecl>(Arena*); |
168 | | template<> ::xmlProtoFuzzer::Misc* Arena::CreateMaybeMessage<::xmlProtoFuzzer::Misc>(Arena*); |
169 | | template<> ::xmlProtoFuzzer::NDataDecl* Arena::CreateMaybeMessage<::xmlProtoFuzzer::NDataDecl>(Arena*); |
170 | | template<> ::xmlProtoFuzzer::NotationDecl* Arena::CreateMaybeMessage<::xmlProtoFuzzer::NotationDecl>(Arena*); |
171 | | template<> ::xmlProtoFuzzer::OneExtSubsetDecl* Arena::CreateMaybeMessage<::xmlProtoFuzzer::OneExtSubsetDecl>(Arena*); |
172 | | template<> ::xmlProtoFuzzer::PEDef* Arena::CreateMaybeMessage<::xmlProtoFuzzer::PEDef>(Arena*); |
173 | | template<> ::xmlProtoFuzzer::PEReference* Arena::CreateMaybeMessage<::xmlProtoFuzzer::PEReference>(Arena*); |
174 | | template<> ::xmlProtoFuzzer::ProcessingInstruction* Arena::CreateMaybeMessage<::xmlProtoFuzzer::ProcessingInstruction>(Arena*); |
175 | | template<> ::xmlProtoFuzzer::Prolog* Arena::CreateMaybeMessage<::xmlProtoFuzzer::Prolog>(Arena*); |
176 | | template<> ::xmlProtoFuzzer::VersionNum* Arena::CreateMaybeMessage<::xmlProtoFuzzer::VersionNum>(Arena*); |
177 | | template<> ::xmlProtoFuzzer::XmlDeclaration* Arena::CreateMaybeMessage<::xmlProtoFuzzer::XmlDeclaration>(Arena*); |
178 | | template<> ::xmlProtoFuzzer::XmlDocument* Arena::CreateMaybeMessage<::xmlProtoFuzzer::XmlDocument>(Arena*); |
179 | | PROTOBUF_NAMESPACE_CLOSE |
180 | | namespace xmlProtoFuzzer { |
181 | | |
182 | | enum ElementDecl_ContentSpec : int { |
183 | | ElementDecl_ContentSpec_EMPTY = 0, |
184 | | ElementDecl_ContentSpec_ANY = 1, |
185 | | ElementDecl_ContentSpec_FUZZ = 2, |
186 | | ElementDecl_ContentSpec_MIXED = 3, |
187 | | ElementDecl_ContentSpec_CHILDREN = 4, |
188 | | ElementDecl_ContentSpec_ElementDecl_ContentSpec_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
189 | | ElementDecl_ContentSpec_ElementDecl_ContentSpec_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
190 | | }; |
191 | | bool ElementDecl_ContentSpec_IsValid(int value); |
192 | | constexpr ElementDecl_ContentSpec ElementDecl_ContentSpec_ContentSpec_MIN = ElementDecl_ContentSpec_EMPTY; |
193 | | constexpr ElementDecl_ContentSpec ElementDecl_ContentSpec_ContentSpec_MAX = ElementDecl_ContentSpec_CHILDREN; |
194 | | constexpr int ElementDecl_ContentSpec_ContentSpec_ARRAYSIZE = ElementDecl_ContentSpec_ContentSpec_MAX + 1; |
195 | | |
196 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ElementDecl_ContentSpec_descriptor(); |
197 | | template<typename T> |
198 | | inline const std::string& ElementDecl_ContentSpec_Name(T enum_t_value) { |
199 | | static_assert(::std::is_same<T, ElementDecl_ContentSpec>::value || |
200 | | ::std::is_integral<T>::value, |
201 | | "Incorrect type passed to function ElementDecl_ContentSpec_Name."); |
202 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
203 | | ElementDecl_ContentSpec_descriptor(), enum_t_value); |
204 | | } |
205 | | inline bool ElementDecl_ContentSpec_Parse( |
206 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ElementDecl_ContentSpec* value) { |
207 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ElementDecl_ContentSpec>( |
208 | 0 | ElementDecl_ContentSpec_descriptor(), name, value); |
209 | 0 | } |
210 | | enum AttrType_Type : int { |
211 | | AttrType_Type_CDATA = 0, |
212 | | AttrType_Type_ID = 1, |
213 | | AttrType_Type_IDREF = 2, |
214 | | AttrType_Type_IDREFS = 3, |
215 | | AttrType_Type_ENTITY = 4, |
216 | | AttrType_Type_ENTITIES = 5, |
217 | | AttrType_Type_NMTOKEN = 6, |
218 | | AttrType_Type_NMTOKENS = 7, |
219 | | AttrType_Type_AttrType_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
220 | | AttrType_Type_AttrType_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
221 | | }; |
222 | | bool AttrType_Type_IsValid(int value); |
223 | | constexpr AttrType_Type AttrType_Type_Type_MIN = AttrType_Type_CDATA; |
224 | | constexpr AttrType_Type AttrType_Type_Type_MAX = AttrType_Type_NMTOKENS; |
225 | | constexpr int AttrType_Type_Type_ARRAYSIZE = AttrType_Type_Type_MAX + 1; |
226 | | |
227 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AttrType_Type_descriptor(); |
228 | | template<typename T> |
229 | | inline const std::string& AttrType_Type_Name(T enum_t_value) { |
230 | | static_assert(::std::is_same<T, AttrType_Type>::value || |
231 | | ::std::is_integral<T>::value, |
232 | | "Incorrect type passed to function AttrType_Type_Name."); |
233 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
234 | | AttrType_Type_descriptor(), enum_t_value); |
235 | | } |
236 | | inline bool AttrType_Type_Parse( |
237 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AttrType_Type* value) { |
238 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<AttrType_Type>( |
239 | 0 | AttrType_Type_descriptor(), name, value); |
240 | 0 | } |
241 | | enum ExternalId_Type : int { |
242 | | ExternalId_Type_SYSTEM = 0, |
243 | | ExternalId_Type_PUBLIC = 1, |
244 | | ExternalId_Type_FUZZ = 2, |
245 | | ExternalId_Type_ExternalId_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
246 | | ExternalId_Type_ExternalId_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
247 | | }; |
248 | | bool ExternalId_Type_IsValid(int value); |
249 | | constexpr ExternalId_Type ExternalId_Type_Type_MIN = ExternalId_Type_SYSTEM; |
250 | | constexpr ExternalId_Type ExternalId_Type_Type_MAX = ExternalId_Type_FUZZ; |
251 | | constexpr int ExternalId_Type_Type_ARRAYSIZE = ExternalId_Type_Type_MAX + 1; |
252 | | |
253 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ExternalId_Type_descriptor(); |
254 | | template<typename T> |
255 | | inline const std::string& ExternalId_Type_Name(T enum_t_value) { |
256 | | static_assert(::std::is_same<T, ExternalId_Type>::value || |
257 | | ::std::is_integral<T>::value, |
258 | | "Incorrect type passed to function ExternalId_Type_Name."); |
259 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
260 | | ExternalId_Type_descriptor(), enum_t_value); |
261 | | } |
262 | | inline bool ExternalId_Type_Parse( |
263 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ExternalId_Type* value) { |
264 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ExternalId_Type>( |
265 | 0 | ExternalId_Type_descriptor(), name, value); |
266 | 0 | } |
267 | | enum AttValue_Type : int { |
268 | | AttValue_Type_ENTITY = 0, |
269 | | AttValue_Type_CHAR = 1, |
270 | | AttValue_Type_FUZZ = 2, |
271 | | AttValue_Type_AttValue_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
272 | | AttValue_Type_AttValue_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
273 | | }; |
274 | | bool AttValue_Type_IsValid(int value); |
275 | | constexpr AttValue_Type AttValue_Type_Type_MIN = AttValue_Type_ENTITY; |
276 | | constexpr AttValue_Type AttValue_Type_Type_MAX = AttValue_Type_FUZZ; |
277 | | constexpr int AttValue_Type_Type_ARRAYSIZE = AttValue_Type_Type_MAX + 1; |
278 | | |
279 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AttValue_Type_descriptor(); |
280 | | template<typename T> |
281 | | inline const std::string& AttValue_Type_Name(T enum_t_value) { |
282 | | static_assert(::std::is_same<T, AttValue_Type>::value || |
283 | | ::std::is_integral<T>::value, |
284 | | "Incorrect type passed to function AttValue_Type_Name."); |
285 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
286 | | AttValue_Type_descriptor(), enum_t_value); |
287 | | } |
288 | | inline bool AttValue_Type_Parse( |
289 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AttValue_Type* value) { |
290 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<AttValue_Type>( |
291 | 0 | AttValue_Type_descriptor(), name, value); |
292 | 0 | } |
293 | | enum DefaultDecl_Type : int { |
294 | | DefaultDecl_Type_REQUIRED = 0, |
295 | | DefaultDecl_Type_IMPLIED = 1, |
296 | | DefaultDecl_Type_FIXED = 2, |
297 | | DefaultDecl_Type_FUZZ = 3, |
298 | | DefaultDecl_Type_DefaultDecl_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
299 | | DefaultDecl_Type_DefaultDecl_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
300 | | }; |
301 | | bool DefaultDecl_Type_IsValid(int value); |
302 | | constexpr DefaultDecl_Type DefaultDecl_Type_Type_MIN = DefaultDecl_Type_REQUIRED; |
303 | | constexpr DefaultDecl_Type DefaultDecl_Type_Type_MAX = DefaultDecl_Type_FUZZ; |
304 | | constexpr int DefaultDecl_Type_Type_ARRAYSIZE = DefaultDecl_Type_Type_MAX + 1; |
305 | | |
306 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DefaultDecl_Type_descriptor(); |
307 | | template<typename T> |
308 | | inline const std::string& DefaultDecl_Type_Name(T enum_t_value) { |
309 | | static_assert(::std::is_same<T, DefaultDecl_Type>::value || |
310 | | ::std::is_integral<T>::value, |
311 | | "Incorrect type passed to function DefaultDecl_Type_Name."); |
312 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
313 | | DefaultDecl_Type_descriptor(), enum_t_value); |
314 | | } |
315 | | inline bool DefaultDecl_Type_Parse( |
316 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DefaultDecl_Type* value) { |
317 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<DefaultDecl_Type>( |
318 | 0 | DefaultDecl_Type_descriptor(), name, value); |
319 | 0 | } |
320 | | enum AttDef_Type : int { |
321 | | AttDef_Type_CDATA = 0, |
322 | | AttDef_Type_ID = 1, |
323 | | AttDef_Type_IDREF = 2, |
324 | | AttDef_Type_IDREFS = 3, |
325 | | AttDef_Type_ENTITY = 4, |
326 | | AttDef_Type_ENTITIES = 5, |
327 | | AttDef_Type_NMTOKEN = 6, |
328 | | AttDef_Type_NMTOKENS = 7, |
329 | | AttDef_Type_FUZZ = 8, |
330 | | AttDef_Type_AttDef_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
331 | | AttDef_Type_AttDef_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
332 | | }; |
333 | | bool AttDef_Type_IsValid(int value); |
334 | | constexpr AttDef_Type AttDef_Type_Type_MIN = AttDef_Type_CDATA; |
335 | | constexpr AttDef_Type AttDef_Type_Type_MAX = AttDef_Type_FUZZ; |
336 | | constexpr int AttDef_Type_Type_ARRAYSIZE = AttDef_Type_Type_MAX + 1; |
337 | | |
338 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* AttDef_Type_descriptor(); |
339 | | template<typename T> |
340 | | inline const std::string& AttDef_Type_Name(T enum_t_value) { |
341 | | static_assert(::std::is_same<T, AttDef_Type>::value || |
342 | | ::std::is_integral<T>::value, |
343 | | "Incorrect type passed to function AttDef_Type_Name."); |
344 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
345 | | AttDef_Type_descriptor(), enum_t_value); |
346 | | } |
347 | | inline bool AttDef_Type_Parse( |
348 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, AttDef_Type* value) { |
349 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<AttDef_Type>( |
350 | 0 | AttDef_Type_descriptor(), name, value); |
351 | 0 | } |
352 | | enum EntityValue_Type : int { |
353 | | EntityValue_Type_ENTITY = 0, |
354 | | EntityValue_Type_CHAR = 1, |
355 | | EntityValue_Type_PEREF = 2, |
356 | | EntityValue_Type_FUZZ = 3, |
357 | | EntityValue_Type_EntityValue_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
358 | | EntityValue_Type_EntityValue_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
359 | | }; |
360 | | bool EntityValue_Type_IsValid(int value); |
361 | | constexpr EntityValue_Type EntityValue_Type_Type_MIN = EntityValue_Type_ENTITY; |
362 | | constexpr EntityValue_Type EntityValue_Type_Type_MAX = EntityValue_Type_FUZZ; |
363 | | constexpr int EntityValue_Type_Type_ARRAYSIZE = EntityValue_Type_Type_MAX + 1; |
364 | | |
365 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EntityValue_Type_descriptor(); |
366 | | template<typename T> |
367 | | inline const std::string& EntityValue_Type_Name(T enum_t_value) { |
368 | | static_assert(::std::is_same<T, EntityValue_Type>::value || |
369 | | ::std::is_integral<T>::value, |
370 | | "Incorrect type passed to function EntityValue_Type_Name."); |
371 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
372 | | EntityValue_Type_descriptor(), enum_t_value); |
373 | | } |
374 | | inline bool EntityValue_Type_Parse( |
375 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EntityValue_Type* value) { |
376 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<EntityValue_Type>( |
377 | 0 | EntityValue_Type_descriptor(), name, value); |
378 | 0 | } |
379 | | enum EntityDecl_Type : int { |
380 | | EntityDecl_Type_GEDECL = 0, |
381 | | EntityDecl_Type_PEDECL = 1, |
382 | | EntityDecl_Type_EntityDecl_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
383 | | EntityDecl_Type_EntityDecl_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
384 | | }; |
385 | | bool EntityDecl_Type_IsValid(int value); |
386 | | constexpr EntityDecl_Type EntityDecl_Type_Type_MIN = EntityDecl_Type_GEDECL; |
387 | | constexpr EntityDecl_Type EntityDecl_Type_Type_MAX = EntityDecl_Type_PEDECL; |
388 | | constexpr int EntityDecl_Type_Type_ARRAYSIZE = EntityDecl_Type_Type_MAX + 1; |
389 | | |
390 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* EntityDecl_Type_descriptor(); |
391 | | template<typename T> |
392 | | inline const std::string& EntityDecl_Type_Name(T enum_t_value) { |
393 | | static_assert(::std::is_same<T, EntityDecl_Type>::value || |
394 | | ::std::is_integral<T>::value, |
395 | | "Incorrect type passed to function EntityDecl_Type_Name."); |
396 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
397 | | EntityDecl_Type_descriptor(), enum_t_value); |
398 | | } |
399 | | inline bool EntityDecl_Type_Parse( |
400 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, EntityDecl_Type* value) { |
401 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<EntityDecl_Type>( |
402 | 0 | EntityDecl_Type_descriptor(), name, value); |
403 | 0 | } |
404 | | enum ConditionalSect_Type : int { |
405 | | ConditionalSect_Type_INCLUDE = 0, |
406 | | ConditionalSect_Type_IGNORE = 1, |
407 | | ConditionalSect_Type_FUZZ = 2, |
408 | | ConditionalSect_Type_ConditionalSect_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
409 | | ConditionalSect_Type_ConditionalSect_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
410 | | }; |
411 | | bool ConditionalSect_Type_IsValid(int value); |
412 | | constexpr ConditionalSect_Type ConditionalSect_Type_Type_MIN = ConditionalSect_Type_INCLUDE; |
413 | | constexpr ConditionalSect_Type ConditionalSect_Type_Type_MAX = ConditionalSect_Type_FUZZ; |
414 | | constexpr int ConditionalSect_Type_Type_ARRAYSIZE = ConditionalSect_Type_Type_MAX + 1; |
415 | | |
416 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ConditionalSect_Type_descriptor(); |
417 | | template<typename T> |
418 | | inline const std::string& ConditionalSect_Type_Name(T enum_t_value) { |
419 | | static_assert(::std::is_same<T, ConditionalSect_Type>::value || |
420 | | ::std::is_integral<T>::value, |
421 | | "Incorrect type passed to function ConditionalSect_Type_Name."); |
422 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
423 | | ConditionalSect_Type_descriptor(), enum_t_value); |
424 | | } |
425 | | inline bool ConditionalSect_Type_Parse( |
426 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ConditionalSect_Type* value) { |
427 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ConditionalSect_Type>( |
428 | 0 | ConditionalSect_Type_descriptor(), name, value); |
429 | 0 | } |
430 | | enum KeyValue_XmlNamespace : int { |
431 | | KeyValue_XmlNamespace_ATTRIBUTES = 0, |
432 | | KeyValue_XmlNamespace_BASE = 1, |
433 | | KeyValue_XmlNamespace_CATALOG = 2, |
434 | | KeyValue_XmlNamespace_ID = 3, |
435 | | KeyValue_XmlNamespace_LANG = 4, |
436 | | KeyValue_XmlNamespace_LINK = 5, |
437 | | KeyValue_XmlNamespace_SPACE = 6, |
438 | | KeyValue_XmlNamespace_SPECIAL = 7, |
439 | | KeyValue_XmlNamespace_TEST = 8, |
440 | | KeyValue_XmlNamespace_FUZZ = 9, |
441 | | KeyValue_XmlNamespace_KeyValue_XmlNamespace_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
442 | | KeyValue_XmlNamespace_KeyValue_XmlNamespace_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
443 | | }; |
444 | | bool KeyValue_XmlNamespace_IsValid(int value); |
445 | | constexpr KeyValue_XmlNamespace KeyValue_XmlNamespace_XmlNamespace_MIN = KeyValue_XmlNamespace_ATTRIBUTES; |
446 | | constexpr KeyValue_XmlNamespace KeyValue_XmlNamespace_XmlNamespace_MAX = KeyValue_XmlNamespace_FUZZ; |
447 | | constexpr int KeyValue_XmlNamespace_XmlNamespace_ARRAYSIZE = KeyValue_XmlNamespace_XmlNamespace_MAX + 1; |
448 | | |
449 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* KeyValue_XmlNamespace_descriptor(); |
450 | | template<typename T> |
451 | | inline const std::string& KeyValue_XmlNamespace_Name(T enum_t_value) { |
452 | | static_assert(::std::is_same<T, KeyValue_XmlNamespace>::value || |
453 | | ::std::is_integral<T>::value, |
454 | | "Incorrect type passed to function KeyValue_XmlNamespace_Name."); |
455 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
456 | | KeyValue_XmlNamespace_descriptor(), enum_t_value); |
457 | | } |
458 | | inline bool KeyValue_XmlNamespace_Parse( |
459 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, KeyValue_XmlNamespace* value) { |
460 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<KeyValue_XmlNamespace>( |
461 | 0 | KeyValue_XmlNamespace_descriptor(), name, value); |
462 | 0 | } |
463 | | enum Element_Type : int { |
464 | | Element_Type_PREDEFINED = 0, |
465 | | Element_Type_FUZZ = 1, |
466 | | Element_Type_Element_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
467 | | Element_Type_Element_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
468 | | }; |
469 | | bool Element_Type_IsValid(int value); |
470 | | constexpr Element_Type Element_Type_Type_MIN = Element_Type_PREDEFINED; |
471 | | constexpr Element_Type Element_Type_Type_MAX = Element_Type_FUZZ; |
472 | | constexpr int Element_Type_Type_ARRAYSIZE = Element_Type_Type_MAX + 1; |
473 | | |
474 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Element_Type_descriptor(); |
475 | | template<typename T> |
476 | | inline const std::string& Element_Type_Name(T enum_t_value) { |
477 | | static_assert(::std::is_same<T, Element_Type>::value || |
478 | | ::std::is_integral<T>::value, |
479 | | "Incorrect type passed to function Element_Type_Name."); |
480 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
481 | | Element_Type_descriptor(), enum_t_value); |
482 | | } |
483 | | inline bool Element_Type_Parse( |
484 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Element_Type* value) { |
485 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Element_Type>( |
486 | 0 | Element_Type_descriptor(), name, value); |
487 | 0 | } |
488 | | enum Element_Id : int { |
489 | | Element_Id_XIINCLUDE = 0, |
490 | | Element_Id_XIFALLBACK = 1, |
491 | | Element_Id_XIHREF = 2, |
492 | | Element_Id_XIPARSE = 3, |
493 | | Element_Id_XIXPOINTER = 4, |
494 | | Element_Id_XIENCODING = 5, |
495 | | Element_Id_XIACCEPT = 6, |
496 | | Element_Id_XIACCEPTLANG = 7, |
497 | | Element_Id_Element_Id_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
498 | | Element_Id_Element_Id_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
499 | | }; |
500 | | bool Element_Id_IsValid(int value); |
501 | | constexpr Element_Id Element_Id_Id_MIN = Element_Id_XIINCLUDE; |
502 | | constexpr Element_Id Element_Id_Id_MAX = Element_Id_XIACCEPTLANG; |
503 | | constexpr int Element_Id_Id_ARRAYSIZE = Element_Id_Id_MAX + 1; |
504 | | |
505 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Element_Id_descriptor(); |
506 | | template<typename T> |
507 | | inline const std::string& Element_Id_Name(T enum_t_value) { |
508 | | static_assert(::std::is_same<T, Element_Id>::value || |
509 | | ::std::is_integral<T>::value, |
510 | | "Incorrect type passed to function Element_Id_Name."); |
511 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
512 | | Element_Id_descriptor(), enum_t_value); |
513 | | } |
514 | | inline bool Element_Id_Parse( |
515 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Element_Id* value) { |
516 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Element_Id>( |
517 | 0 | Element_Id_descriptor(), name, value); |
518 | 0 | } |
519 | | enum VersionNum_Type : int { |
520 | | VersionNum_Type_STANDARD = 0, |
521 | | VersionNum_Type_FUZZ = 1, |
522 | | VersionNum_Type_VersionNum_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
523 | | VersionNum_Type_VersionNum_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
524 | | }; |
525 | | bool VersionNum_Type_IsValid(int value); |
526 | | constexpr VersionNum_Type VersionNum_Type_Type_MIN = VersionNum_Type_STANDARD; |
527 | | constexpr VersionNum_Type VersionNum_Type_Type_MAX = VersionNum_Type_FUZZ; |
528 | | constexpr int VersionNum_Type_Type_ARRAYSIZE = VersionNum_Type_Type_MAX + 1; |
529 | | |
530 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* VersionNum_Type_descriptor(); |
531 | | template<typename T> |
532 | | inline const std::string& VersionNum_Type_Name(T enum_t_value) { |
533 | | static_assert(::std::is_same<T, VersionNum_Type>::value || |
534 | | ::std::is_integral<T>::value, |
535 | | "Incorrect type passed to function VersionNum_Type_Name."); |
536 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
537 | | VersionNum_Type_descriptor(), enum_t_value); |
538 | | } |
539 | | inline bool VersionNum_Type_Parse( |
540 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, VersionNum_Type* value) { |
541 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<VersionNum_Type>( |
542 | 0 | VersionNum_Type_descriptor(), name, value); |
543 | 0 | } |
544 | | enum Encodings_Enc : int { |
545 | | Encodings_Enc_BIG5 = 0, |
546 | | Encodings_Enc_EUCJP = 1, |
547 | | Encodings_Enc_EUCKR = 2, |
548 | | Encodings_Enc_GB18030 = 3, |
549 | | Encodings_Enc_ISO2022JP = 4, |
550 | | Encodings_Enc_ISO2022KR = 5, |
551 | | Encodings_Enc_ISO88591 = 6, |
552 | | Encodings_Enc_ISO88592 = 7, |
553 | | Encodings_Enc_ISO88593 = 8, |
554 | | Encodings_Enc_ISO88594 = 9, |
555 | | Encodings_Enc_ISO88595 = 10, |
556 | | Encodings_Enc_ISO88596 = 11, |
557 | | Encodings_Enc_ISO88597 = 12, |
558 | | Encodings_Enc_ISO88598 = 13, |
559 | | Encodings_Enc_ISO88599 = 14, |
560 | | Encodings_Enc_SHIFTJIS = 15, |
561 | | Encodings_Enc_TIS620 = 16, |
562 | | Encodings_Enc_USASCII = 17, |
563 | | Encodings_Enc_UTF8 = 18, |
564 | | Encodings_Enc_UTF16 = 19, |
565 | | Encodings_Enc_UTF16BE = 20, |
566 | | Encodings_Enc_UTF16LE = 21, |
567 | | Encodings_Enc_WINDOWS31J = 22, |
568 | | Encodings_Enc_WINDOWS1255 = 23, |
569 | | Encodings_Enc_WINDOWS1256 = 24, |
570 | | Encodings_Enc_FUZZ = 25, |
571 | | Encodings_Enc_Encodings_Enc_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
572 | | Encodings_Enc_Encodings_Enc_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
573 | | }; |
574 | | bool Encodings_Enc_IsValid(int value); |
575 | | constexpr Encodings_Enc Encodings_Enc_Enc_MIN = Encodings_Enc_BIG5; |
576 | | constexpr Encodings_Enc Encodings_Enc_Enc_MAX = Encodings_Enc_FUZZ; |
577 | | constexpr int Encodings_Enc_Enc_ARRAYSIZE = Encodings_Enc_Enc_MAX + 1; |
578 | | |
579 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* Encodings_Enc_descriptor(); |
580 | | template<typename T> |
581 | | inline const std::string& Encodings_Enc_Name(T enum_t_value) { |
582 | | static_assert(::std::is_same<T, Encodings_Enc>::value || |
583 | | ::std::is_integral<T>::value, |
584 | | "Incorrect type passed to function Encodings_Enc_Name."); |
585 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
586 | | Encodings_Enc_descriptor(), enum_t_value); |
587 | | } |
588 | | inline bool Encodings_Enc_Parse( |
589 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, Encodings_Enc* value) { |
590 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Encodings_Enc>( |
591 | 0 | Encodings_Enc_descriptor(), name, value); |
592 | 0 | } |
593 | | enum XmlDeclaration_Standalone : int { |
594 | | XmlDeclaration_Standalone_YES = 0, |
595 | | XmlDeclaration_Standalone_NO = 1, |
596 | | XmlDeclaration_Standalone_XmlDeclaration_Standalone_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(), |
597 | | XmlDeclaration_Standalone_XmlDeclaration_Standalone_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max() |
598 | | }; |
599 | | bool XmlDeclaration_Standalone_IsValid(int value); |
600 | | constexpr XmlDeclaration_Standalone XmlDeclaration_Standalone_Standalone_MIN = XmlDeclaration_Standalone_YES; |
601 | | constexpr XmlDeclaration_Standalone XmlDeclaration_Standalone_Standalone_MAX = XmlDeclaration_Standalone_NO; |
602 | | constexpr int XmlDeclaration_Standalone_Standalone_ARRAYSIZE = XmlDeclaration_Standalone_Standalone_MAX + 1; |
603 | | |
604 | | const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* XmlDeclaration_Standalone_descriptor(); |
605 | | template<typename T> |
606 | | inline const std::string& XmlDeclaration_Standalone_Name(T enum_t_value) { |
607 | | static_assert(::std::is_same<T, XmlDeclaration_Standalone>::value || |
608 | | ::std::is_integral<T>::value, |
609 | | "Incorrect type passed to function XmlDeclaration_Standalone_Name."); |
610 | | return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( |
611 | | XmlDeclaration_Standalone_descriptor(), enum_t_value); |
612 | | } |
613 | | inline bool XmlDeclaration_Standalone_Parse( |
614 | 0 | ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, XmlDeclaration_Standalone* value) { |
615 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<XmlDeclaration_Standalone>( |
616 | 0 | XmlDeclaration_Standalone_descriptor(), name, value); |
617 | 0 | } |
618 | | // =================================================================== |
619 | | |
620 | | class Misc final : |
621 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.Misc) */ { |
622 | | public: |
623 | 0 | inline Misc() : Misc(nullptr) {} |
624 | | ~Misc() override; |
625 | | explicit PROTOBUF_CONSTEXPR Misc(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
626 | | |
627 | | Misc(const Misc& from); |
628 | | Misc(Misc&& from) noexcept |
629 | 0 | : Misc() { |
630 | 0 | *this = ::std::move(from); |
631 | 0 | } |
632 | | |
633 | 0 | inline Misc& operator=(const Misc& from) { |
634 | 0 | CopyFrom(from); |
635 | 0 | return *this; |
636 | 0 | } |
637 | 0 | inline Misc& operator=(Misc&& from) noexcept { |
638 | 0 | if (this == &from) return *this; |
639 | 0 | if (GetOwningArena() == from.GetOwningArena() |
640 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
641 | 0 | && GetOwningArena() != nullptr |
642 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
643 | 0 | ) { |
644 | 0 | InternalSwap(&from); |
645 | 0 | } else { |
646 | 0 | CopyFrom(from); |
647 | 0 | } |
648 | 0 | return *this; |
649 | 0 | } |
650 | | |
651 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
652 | 0 | return GetDescriptor(); |
653 | 0 | } |
654 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
655 | 0 | return default_instance().GetMetadata().descriptor; |
656 | 0 | } |
657 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
658 | 0 | return default_instance().GetMetadata().reflection; |
659 | 0 | } |
660 | 0 | static const Misc& default_instance() { |
661 | 0 | return *internal_default_instance(); |
662 | 0 | } |
663 | | enum MiscOneofCase { |
664 | | kComment = 1, |
665 | | kInst = 2, |
666 | | MISC_ONEOF_NOT_SET = 0, |
667 | | }; |
668 | | |
669 | 0 | static inline const Misc* internal_default_instance() { |
670 | 0 | return reinterpret_cast<const Misc*>( |
671 | 0 | &_Misc_default_instance_); |
672 | 0 | } |
673 | | static constexpr int kIndexInFileMessages = |
674 | | 0; |
675 | | |
676 | 0 | friend void swap(Misc& a, Misc& b) { |
677 | 0 | a.Swap(&b); |
678 | 0 | } |
679 | 0 | inline void Swap(Misc* other) { |
680 | 0 | if (other == this) return; |
681 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
682 | 0 | if (GetOwningArena() != nullptr && |
683 | 0 | GetOwningArena() == other->GetOwningArena()) { |
684 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
685 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
686 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
687 | 0 | InternalSwap(other); |
688 | 0 | } else { |
689 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
690 | 0 | } |
691 | 0 | } |
692 | 0 | void UnsafeArenaSwap(Misc* other) { |
693 | 0 | if (other == this) return; |
694 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
695 | 0 | InternalSwap(other); |
696 | 0 | } |
697 | | |
698 | | // implements Message ---------------------------------------------- |
699 | | |
700 | 4.89k | Misc* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
701 | 4.89k | return CreateMaybeMessage<Misc>(arena); |
702 | 4.89k | } |
703 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
704 | | void CopyFrom(const Misc& from); |
705 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
706 | 0 | void MergeFrom( const Misc& from) { |
707 | 0 | Misc::MergeImpl(*this, from); |
708 | 0 | } |
709 | | private: |
710 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
711 | | public: |
712 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
713 | | bool IsInitialized() const final; |
714 | | |
715 | | size_t ByteSizeLong() const final; |
716 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
717 | | uint8_t* _InternalSerialize( |
718 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
719 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
720 | | |
721 | | private: |
722 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
723 | | void SharedDtor(); |
724 | | void SetCachedSize(int size) const final; |
725 | | void InternalSwap(Misc* other); |
726 | | |
727 | | private: |
728 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
729 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
730 | 0 | return "xmlProtoFuzzer.Misc"; |
731 | 0 | } |
732 | | protected: |
733 | | explicit Misc(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
734 | | bool is_message_owned = false); |
735 | | public: |
736 | | |
737 | | static const ClassData _class_data_; |
738 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
739 | | |
740 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
741 | | |
742 | | // nested types ---------------------------------------------------- |
743 | | |
744 | | // accessors ------------------------------------------------------- |
745 | | |
746 | | enum : int { |
747 | | kCommentFieldNumber = 1, |
748 | | kInstFieldNumber = 2, |
749 | | }; |
750 | | // string comment = 1; |
751 | | bool has_comment() const; |
752 | | private: |
753 | | bool _internal_has_comment() const; |
754 | | public: |
755 | | void clear_comment(); |
756 | | const std::string& comment() const; |
757 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
758 | | void set_comment(ArgT0&& arg0, ArgT... args); |
759 | | std::string* mutable_comment(); |
760 | | PROTOBUF_NODISCARD std::string* release_comment(); |
761 | | void set_allocated_comment(std::string* comment); |
762 | | private: |
763 | | const std::string& _internal_comment() const; |
764 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_comment(const std::string& value); |
765 | | std::string* _internal_mutable_comment(); |
766 | | public: |
767 | | |
768 | | // .xmlProtoFuzzer.ProcessingInstruction inst = 2; |
769 | | bool has_inst() const; |
770 | | private: |
771 | | bool _internal_has_inst() const; |
772 | | public: |
773 | | void clear_inst(); |
774 | | const ::xmlProtoFuzzer::ProcessingInstruction& inst() const; |
775 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ProcessingInstruction* release_inst(); |
776 | | ::xmlProtoFuzzer::ProcessingInstruction* mutable_inst(); |
777 | | void set_allocated_inst(::xmlProtoFuzzer::ProcessingInstruction* inst); |
778 | | private: |
779 | | const ::xmlProtoFuzzer::ProcessingInstruction& _internal_inst() const; |
780 | | ::xmlProtoFuzzer::ProcessingInstruction* _internal_mutable_inst(); |
781 | | public: |
782 | | void unsafe_arena_set_allocated_inst( |
783 | | ::xmlProtoFuzzer::ProcessingInstruction* inst); |
784 | | ::xmlProtoFuzzer::ProcessingInstruction* unsafe_arena_release_inst(); |
785 | | |
786 | | void clear_misc_oneof(); |
787 | | MiscOneofCase misc_oneof_case() const; |
788 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.Misc) |
789 | | private: |
790 | | class _Internal; |
791 | | void set_has_comment(); |
792 | | void set_has_inst(); |
793 | | |
794 | | inline bool has_misc_oneof() const; |
795 | | inline void clear_has_misc_oneof(); |
796 | | |
797 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
798 | | typedef void InternalArenaConstructable_; |
799 | | typedef void DestructorSkippable_; |
800 | | struct Impl_ { |
801 | | union MiscOneofUnion { |
802 | 4.89k | constexpr MiscOneofUnion() : _constinit_{} {} |
803 | | ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; |
804 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr comment_; |
805 | | ::xmlProtoFuzzer::ProcessingInstruction* inst_; |
806 | | } misc_oneof_; |
807 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
808 | | uint32_t _oneof_case_[1]; |
809 | | |
810 | | }; |
811 | | union { Impl_ _impl_; }; |
812 | | friend struct ::TableStruct_xml_2eproto; |
813 | | }; |
814 | | // ------------------------------------------------------------------- |
815 | | |
816 | | class PEReference final : |
817 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.PEReference) */ { |
818 | | public: |
819 | 0 | inline PEReference() : PEReference(nullptr) {} |
820 | | ~PEReference() override; |
821 | | explicit PROTOBUF_CONSTEXPR PEReference(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
822 | | |
823 | | PEReference(const PEReference& from); |
824 | | PEReference(PEReference&& from) noexcept |
825 | 0 | : PEReference() { |
826 | 0 | *this = ::std::move(from); |
827 | 0 | } |
828 | | |
829 | 0 | inline PEReference& operator=(const PEReference& from) { |
830 | 0 | CopyFrom(from); |
831 | 0 | return *this; |
832 | 0 | } |
833 | 0 | inline PEReference& operator=(PEReference&& from) noexcept { |
834 | 0 | if (this == &from) return *this; |
835 | 0 | if (GetOwningArena() == from.GetOwningArena() |
836 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
837 | 0 | && GetOwningArena() != nullptr |
838 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
839 | 0 | ) { |
840 | 0 | InternalSwap(&from); |
841 | 0 | } else { |
842 | 0 | CopyFrom(from); |
843 | 0 | } |
844 | 0 | return *this; |
845 | 0 | } |
846 | | |
847 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
848 | 0 | return GetDescriptor(); |
849 | 0 | } |
850 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
851 | 0 | return default_instance().GetMetadata().descriptor; |
852 | 0 | } |
853 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
854 | 0 | return default_instance().GetMetadata().reflection; |
855 | 0 | } |
856 | 0 | static const PEReference& default_instance() { |
857 | 0 | return *internal_default_instance(); |
858 | 0 | } |
859 | 0 | static inline const PEReference* internal_default_instance() { |
860 | 0 | return reinterpret_cast<const PEReference*>( |
861 | 0 | &_PEReference_default_instance_); |
862 | 0 | } |
863 | | static constexpr int kIndexInFileMessages = |
864 | | 1; |
865 | | |
866 | 0 | friend void swap(PEReference& a, PEReference& b) { |
867 | 0 | a.Swap(&b); |
868 | 0 | } |
869 | 0 | inline void Swap(PEReference* other) { |
870 | 0 | if (other == this) return; |
871 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
872 | 0 | if (GetOwningArena() != nullptr && |
873 | 0 | GetOwningArena() == other->GetOwningArena()) { |
874 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
875 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
876 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
877 | 0 | InternalSwap(other); |
878 | 0 | } else { |
879 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
880 | 0 | } |
881 | 0 | } |
882 | 0 | void UnsafeArenaSwap(PEReference* other) { |
883 | 0 | if (other == this) return; |
884 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
885 | 0 | InternalSwap(other); |
886 | 0 | } |
887 | | |
888 | | // implements Message ---------------------------------------------- |
889 | | |
890 | 0 | PEReference* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
891 | 0 | return CreateMaybeMessage<PEReference>(arena); |
892 | 0 | } |
893 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
894 | | void CopyFrom(const PEReference& from); |
895 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
896 | 0 | void MergeFrom( const PEReference& from) { |
897 | 0 | PEReference::MergeImpl(*this, from); |
898 | 0 | } |
899 | | private: |
900 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
901 | | public: |
902 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
903 | | bool IsInitialized() const final; |
904 | | |
905 | | size_t ByteSizeLong() const final; |
906 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
907 | | uint8_t* _InternalSerialize( |
908 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
909 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
910 | | |
911 | | private: |
912 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
913 | | void SharedDtor(); |
914 | | void SetCachedSize(int size) const final; |
915 | | void InternalSwap(PEReference* other); |
916 | | |
917 | | private: |
918 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
919 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
920 | 0 | return "xmlProtoFuzzer.PEReference"; |
921 | 0 | } |
922 | | protected: |
923 | | explicit PEReference(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
924 | | bool is_message_owned = false); |
925 | | public: |
926 | | |
927 | | static const ClassData _class_data_; |
928 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
929 | | |
930 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
931 | | |
932 | | // nested types ---------------------------------------------------- |
933 | | |
934 | | // accessors ------------------------------------------------------- |
935 | | |
936 | | enum : int { |
937 | | kNameFieldNumber = 1, |
938 | | }; |
939 | | // string name = 1; |
940 | | void clear_name(); |
941 | | const std::string& name() const; |
942 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
943 | | void set_name(ArgT0&& arg0, ArgT... args); |
944 | | std::string* mutable_name(); |
945 | | PROTOBUF_NODISCARD std::string* release_name(); |
946 | | void set_allocated_name(std::string* name); |
947 | | private: |
948 | | const std::string& _internal_name() const; |
949 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
950 | | std::string* _internal_mutable_name(); |
951 | | public: |
952 | | |
953 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.PEReference) |
954 | | private: |
955 | | class _Internal; |
956 | | |
957 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
958 | | typedef void InternalArenaConstructable_; |
959 | | typedef void DestructorSkippable_; |
960 | | struct Impl_ { |
961 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
962 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
963 | | }; |
964 | | union { Impl_ _impl_; }; |
965 | | friend struct ::TableStruct_xml_2eproto; |
966 | | }; |
967 | | // ------------------------------------------------------------------- |
968 | | |
969 | | class ElementDecl final : |
970 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.ElementDecl) */ { |
971 | | public: |
972 | 0 | inline ElementDecl() : ElementDecl(nullptr) {} |
973 | | ~ElementDecl() override; |
974 | | explicit PROTOBUF_CONSTEXPR ElementDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
975 | | |
976 | | ElementDecl(const ElementDecl& from); |
977 | | ElementDecl(ElementDecl&& from) noexcept |
978 | 0 | : ElementDecl() { |
979 | 0 | *this = ::std::move(from); |
980 | 0 | } |
981 | | |
982 | 0 | inline ElementDecl& operator=(const ElementDecl& from) { |
983 | 0 | CopyFrom(from); |
984 | 0 | return *this; |
985 | 0 | } |
986 | 0 | inline ElementDecl& operator=(ElementDecl&& from) noexcept { |
987 | 0 | if (this == &from) return *this; |
988 | 0 | if (GetOwningArena() == from.GetOwningArena() |
989 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
990 | 0 | && GetOwningArena() != nullptr |
991 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
992 | 0 | ) { |
993 | 0 | InternalSwap(&from); |
994 | 0 | } else { |
995 | 0 | CopyFrom(from); |
996 | 0 | } |
997 | 0 | return *this; |
998 | 0 | } |
999 | | |
1000 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1001 | 0 | return GetDescriptor(); |
1002 | 0 | } |
1003 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1004 | 0 | return default_instance().GetMetadata().descriptor; |
1005 | 0 | } |
1006 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1007 | 0 | return default_instance().GetMetadata().reflection; |
1008 | 0 | } |
1009 | 0 | static const ElementDecl& default_instance() { |
1010 | 0 | return *internal_default_instance(); |
1011 | 0 | } |
1012 | 0 | static inline const ElementDecl* internal_default_instance() { |
1013 | 0 | return reinterpret_cast<const ElementDecl*>( |
1014 | 0 | &_ElementDecl_default_instance_); |
1015 | 0 | } |
1016 | | static constexpr int kIndexInFileMessages = |
1017 | | 2; |
1018 | | |
1019 | 0 | friend void swap(ElementDecl& a, ElementDecl& b) { |
1020 | 0 | a.Swap(&b); |
1021 | 0 | } |
1022 | 0 | inline void Swap(ElementDecl* other) { |
1023 | 0 | if (other == this) return; |
1024 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1025 | 0 | if (GetOwningArena() != nullptr && |
1026 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1027 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1028 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1029 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1030 | 0 | InternalSwap(other); |
1031 | 0 | } else { |
1032 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1033 | 0 | } |
1034 | 0 | } |
1035 | 0 | void UnsafeArenaSwap(ElementDecl* other) { |
1036 | 0 | if (other == this) return; |
1037 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1038 | 0 | InternalSwap(other); |
1039 | 0 | } |
1040 | | |
1041 | | // implements Message ---------------------------------------------- |
1042 | | |
1043 | 5.73k | ElementDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1044 | 5.73k | return CreateMaybeMessage<ElementDecl>(arena); |
1045 | 5.73k | } |
1046 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1047 | | void CopyFrom(const ElementDecl& from); |
1048 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1049 | 0 | void MergeFrom( const ElementDecl& from) { |
1050 | 0 | ElementDecl::MergeImpl(*this, from); |
1051 | 0 | } |
1052 | | private: |
1053 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1054 | | public: |
1055 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1056 | | bool IsInitialized() const final; |
1057 | | |
1058 | | size_t ByteSizeLong() const final; |
1059 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1060 | | uint8_t* _InternalSerialize( |
1061 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1062 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1063 | | |
1064 | | private: |
1065 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1066 | | void SharedDtor(); |
1067 | | void SetCachedSize(int size) const final; |
1068 | | void InternalSwap(ElementDecl* other); |
1069 | | |
1070 | | private: |
1071 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1072 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1073 | 0 | return "xmlProtoFuzzer.ElementDecl"; |
1074 | 0 | } |
1075 | | protected: |
1076 | | explicit ElementDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1077 | | bool is_message_owned = false); |
1078 | | public: |
1079 | | |
1080 | | static const ClassData _class_data_; |
1081 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1082 | | |
1083 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1084 | | |
1085 | | // nested types ---------------------------------------------------- |
1086 | | |
1087 | | typedef ElementDecl_ContentSpec ContentSpec; |
1088 | | static constexpr ContentSpec EMPTY = |
1089 | | ElementDecl_ContentSpec_EMPTY; |
1090 | | static constexpr ContentSpec ANY = |
1091 | | ElementDecl_ContentSpec_ANY; |
1092 | | static constexpr ContentSpec FUZZ = |
1093 | | ElementDecl_ContentSpec_FUZZ; |
1094 | | static constexpr ContentSpec MIXED = |
1095 | | ElementDecl_ContentSpec_MIXED; |
1096 | | static constexpr ContentSpec CHILDREN = |
1097 | | ElementDecl_ContentSpec_CHILDREN; |
1098 | 5.70k | static inline bool ContentSpec_IsValid(int value) { |
1099 | 5.70k | return ElementDecl_ContentSpec_IsValid(value); |
1100 | 5.70k | } |
1101 | | static constexpr ContentSpec ContentSpec_MIN = |
1102 | | ElementDecl_ContentSpec_ContentSpec_MIN; |
1103 | | static constexpr ContentSpec ContentSpec_MAX = |
1104 | | ElementDecl_ContentSpec_ContentSpec_MAX; |
1105 | | static constexpr int ContentSpec_ARRAYSIZE = |
1106 | | ElementDecl_ContentSpec_ContentSpec_ARRAYSIZE; |
1107 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
1108 | 0 | ContentSpec_descriptor() { |
1109 | 0 | return ElementDecl_ContentSpec_descriptor(); |
1110 | 0 | } |
1111 | | template<typename T> |
1112 | | static inline const std::string& ContentSpec_Name(T enum_t_value) { |
1113 | | static_assert(::std::is_same<T, ContentSpec>::value || |
1114 | | ::std::is_integral<T>::value, |
1115 | | "Incorrect type passed to function ContentSpec_Name."); |
1116 | | return ElementDecl_ContentSpec_Name(enum_t_value); |
1117 | | } |
1118 | | static inline bool ContentSpec_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
1119 | 0 | ContentSpec* value) { |
1120 | 0 | return ElementDecl_ContentSpec_Parse(name, value); |
1121 | 0 | } |
1122 | | |
1123 | | // accessors ------------------------------------------------------- |
1124 | | |
1125 | | enum : int { |
1126 | | kCdataFieldNumber = 3, |
1127 | | kNameFieldNumber = 1, |
1128 | | kSpecFieldNumber = 2, |
1129 | | }; |
1130 | | // repeated string cdata = 3; |
1131 | | int cdata_size() const; |
1132 | | private: |
1133 | | int _internal_cdata_size() const; |
1134 | | public: |
1135 | | void clear_cdata(); |
1136 | | const std::string& cdata(int index) const; |
1137 | | std::string* mutable_cdata(int index); |
1138 | | void set_cdata(int index, const std::string& value); |
1139 | | void set_cdata(int index, std::string&& value); |
1140 | | void set_cdata(int index, const char* value); |
1141 | | void set_cdata(int index, const char* value, size_t size); |
1142 | | std::string* add_cdata(); |
1143 | | void add_cdata(const std::string& value); |
1144 | | void add_cdata(std::string&& value); |
1145 | | void add_cdata(const char* value); |
1146 | | void add_cdata(const char* value, size_t size); |
1147 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& cdata() const; |
1148 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_cdata(); |
1149 | | private: |
1150 | | const std::string& _internal_cdata(int index) const; |
1151 | | std::string* _internal_add_cdata(); |
1152 | | public: |
1153 | | |
1154 | | // string name = 1; |
1155 | | void clear_name(); |
1156 | | const std::string& name() const; |
1157 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
1158 | | void set_name(ArgT0&& arg0, ArgT... args); |
1159 | | std::string* mutable_name(); |
1160 | | PROTOBUF_NODISCARD std::string* release_name(); |
1161 | | void set_allocated_name(std::string* name); |
1162 | | private: |
1163 | | const std::string& _internal_name() const; |
1164 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
1165 | | std::string* _internal_mutable_name(); |
1166 | | public: |
1167 | | |
1168 | | // .xmlProtoFuzzer.ElementDecl.ContentSpec spec = 2; |
1169 | | void clear_spec(); |
1170 | | ::xmlProtoFuzzer::ElementDecl_ContentSpec spec() const; |
1171 | | void set_spec(::xmlProtoFuzzer::ElementDecl_ContentSpec value); |
1172 | | private: |
1173 | | ::xmlProtoFuzzer::ElementDecl_ContentSpec _internal_spec() const; |
1174 | | void _internal_set_spec(::xmlProtoFuzzer::ElementDecl_ContentSpec value); |
1175 | | public: |
1176 | | |
1177 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.ElementDecl) |
1178 | | private: |
1179 | | class _Internal; |
1180 | | |
1181 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1182 | | typedef void InternalArenaConstructable_; |
1183 | | typedef void DestructorSkippable_; |
1184 | | struct Impl_ { |
1185 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> cdata_; |
1186 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
1187 | | int spec_; |
1188 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1189 | | }; |
1190 | | union { Impl_ _impl_; }; |
1191 | | friend struct ::TableStruct_xml_2eproto; |
1192 | | }; |
1193 | | // ------------------------------------------------------------------- |
1194 | | |
1195 | | class AttrType final : |
1196 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.AttrType) */ { |
1197 | | public: |
1198 | 0 | inline AttrType() : AttrType(nullptr) {} |
1199 | | ~AttrType() override; |
1200 | | explicit PROTOBUF_CONSTEXPR AttrType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1201 | | |
1202 | | AttrType(const AttrType& from); |
1203 | | AttrType(AttrType&& from) noexcept |
1204 | 0 | : AttrType() { |
1205 | 0 | *this = ::std::move(from); |
1206 | 0 | } |
1207 | | |
1208 | 0 | inline AttrType& operator=(const AttrType& from) { |
1209 | 0 | CopyFrom(from); |
1210 | 0 | return *this; |
1211 | 0 | } |
1212 | 0 | inline AttrType& operator=(AttrType&& from) noexcept { |
1213 | 0 | if (this == &from) return *this; |
1214 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1215 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1216 | 0 | && GetOwningArena() != nullptr |
1217 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1218 | 0 | ) { |
1219 | 0 | InternalSwap(&from); |
1220 | 0 | } else { |
1221 | 0 | CopyFrom(from); |
1222 | 0 | } |
1223 | 0 | return *this; |
1224 | 0 | } |
1225 | | |
1226 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1227 | 0 | return GetDescriptor(); |
1228 | 0 | } |
1229 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1230 | 0 | return default_instance().GetMetadata().descriptor; |
1231 | 0 | } |
1232 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1233 | 0 | return default_instance().GetMetadata().reflection; |
1234 | 0 | } |
1235 | 0 | static const AttrType& default_instance() { |
1236 | 0 | return *internal_default_instance(); |
1237 | 0 | } |
1238 | 0 | static inline const AttrType* internal_default_instance() { |
1239 | 0 | return reinterpret_cast<const AttrType*>( |
1240 | 0 | &_AttrType_default_instance_); |
1241 | 0 | } |
1242 | | static constexpr int kIndexInFileMessages = |
1243 | | 3; |
1244 | | |
1245 | 0 | friend void swap(AttrType& a, AttrType& b) { |
1246 | 0 | a.Swap(&b); |
1247 | 0 | } |
1248 | 0 | inline void Swap(AttrType* other) { |
1249 | 0 | if (other == this) return; |
1250 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1251 | 0 | if (GetOwningArena() != nullptr && |
1252 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1253 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1254 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1255 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1256 | 0 | InternalSwap(other); |
1257 | 0 | } else { |
1258 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1259 | 0 | } |
1260 | 0 | } |
1261 | 0 | void UnsafeArenaSwap(AttrType* other) { |
1262 | 0 | if (other == this) return; |
1263 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1264 | 0 | InternalSwap(other); |
1265 | 0 | } |
1266 | | |
1267 | | // implements Message ---------------------------------------------- |
1268 | | |
1269 | 0 | AttrType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1270 | 0 | return CreateMaybeMessage<AttrType>(arena); |
1271 | 0 | } |
1272 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1273 | | void CopyFrom(const AttrType& from); |
1274 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1275 | 0 | void MergeFrom( const AttrType& from) { |
1276 | 0 | AttrType::MergeImpl(*this, from); |
1277 | 0 | } |
1278 | | private: |
1279 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1280 | | public: |
1281 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1282 | | bool IsInitialized() const final; |
1283 | | |
1284 | | size_t ByteSizeLong() const final; |
1285 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1286 | | uint8_t* _InternalSerialize( |
1287 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1288 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1289 | | |
1290 | | private: |
1291 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1292 | | void SharedDtor(); |
1293 | | void SetCachedSize(int size) const final; |
1294 | | void InternalSwap(AttrType* other); |
1295 | | |
1296 | | private: |
1297 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1298 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1299 | 0 | return "xmlProtoFuzzer.AttrType"; |
1300 | 0 | } |
1301 | | protected: |
1302 | | explicit AttrType(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1303 | | bool is_message_owned = false); |
1304 | | public: |
1305 | | |
1306 | | static const ClassData _class_data_; |
1307 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1308 | | |
1309 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1310 | | |
1311 | | // nested types ---------------------------------------------------- |
1312 | | |
1313 | | typedef AttrType_Type Type; |
1314 | | static constexpr Type CDATA = |
1315 | | AttrType_Type_CDATA; |
1316 | | static constexpr Type ID = |
1317 | | AttrType_Type_ID; |
1318 | | static constexpr Type IDREF = |
1319 | | AttrType_Type_IDREF; |
1320 | | static constexpr Type IDREFS = |
1321 | | AttrType_Type_IDREFS; |
1322 | | static constexpr Type ENTITY = |
1323 | | AttrType_Type_ENTITY; |
1324 | | static constexpr Type ENTITIES = |
1325 | | AttrType_Type_ENTITIES; |
1326 | | static constexpr Type NMTOKEN = |
1327 | | AttrType_Type_NMTOKEN; |
1328 | | static constexpr Type NMTOKENS = |
1329 | | AttrType_Type_NMTOKENS; |
1330 | 0 | static inline bool Type_IsValid(int value) { |
1331 | 0 | return AttrType_Type_IsValid(value); |
1332 | 0 | } |
1333 | | static constexpr Type Type_MIN = |
1334 | | AttrType_Type_Type_MIN; |
1335 | | static constexpr Type Type_MAX = |
1336 | | AttrType_Type_Type_MAX; |
1337 | | static constexpr int Type_ARRAYSIZE = |
1338 | | AttrType_Type_Type_ARRAYSIZE; |
1339 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
1340 | 0 | Type_descriptor() { |
1341 | 0 | return AttrType_Type_descriptor(); |
1342 | 0 | } |
1343 | | template<typename T> |
1344 | | static inline const std::string& Type_Name(T enum_t_value) { |
1345 | | static_assert(::std::is_same<T, Type>::value || |
1346 | | ::std::is_integral<T>::value, |
1347 | | "Incorrect type passed to function Type_Name."); |
1348 | | return AttrType_Type_Name(enum_t_value); |
1349 | | } |
1350 | | static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
1351 | 0 | Type* value) { |
1352 | 0 | return AttrType_Type_Parse(name, value); |
1353 | 0 | } |
1354 | | |
1355 | | // accessors ------------------------------------------------------- |
1356 | | |
1357 | | enum : int { |
1358 | | kTyFieldNumber = 1, |
1359 | | }; |
1360 | | // .xmlProtoFuzzer.AttrType.Type ty = 1; |
1361 | | void clear_ty(); |
1362 | | ::xmlProtoFuzzer::AttrType_Type ty() const; |
1363 | | void set_ty(::xmlProtoFuzzer::AttrType_Type value); |
1364 | | private: |
1365 | | ::xmlProtoFuzzer::AttrType_Type _internal_ty() const; |
1366 | | void _internal_set_ty(::xmlProtoFuzzer::AttrType_Type value); |
1367 | | public: |
1368 | | |
1369 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.AttrType) |
1370 | | private: |
1371 | | class _Internal; |
1372 | | |
1373 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1374 | | typedef void InternalArenaConstructable_; |
1375 | | typedef void DestructorSkippable_; |
1376 | | struct Impl_ { |
1377 | | int ty_; |
1378 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1379 | | }; |
1380 | | union { Impl_ _impl_; }; |
1381 | | friend struct ::TableStruct_xml_2eproto; |
1382 | | }; |
1383 | | // ------------------------------------------------------------------- |
1384 | | |
1385 | | class EnumeratedType final : |
1386 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.EnumeratedType) */ { |
1387 | | public: |
1388 | 0 | inline EnumeratedType() : EnumeratedType(nullptr) {} |
1389 | | ~EnumeratedType() override; |
1390 | | explicit PROTOBUF_CONSTEXPR EnumeratedType(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1391 | | |
1392 | | EnumeratedType(const EnumeratedType& from); |
1393 | | EnumeratedType(EnumeratedType&& from) noexcept |
1394 | 0 | : EnumeratedType() { |
1395 | 0 | *this = ::std::move(from); |
1396 | 0 | } |
1397 | | |
1398 | 0 | inline EnumeratedType& operator=(const EnumeratedType& from) { |
1399 | 0 | CopyFrom(from); |
1400 | 0 | return *this; |
1401 | 0 | } |
1402 | 0 | inline EnumeratedType& operator=(EnumeratedType&& from) noexcept { |
1403 | 0 | if (this == &from) return *this; |
1404 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1405 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1406 | 0 | && GetOwningArena() != nullptr |
1407 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1408 | 0 | ) { |
1409 | 0 | InternalSwap(&from); |
1410 | 0 | } else { |
1411 | 0 | CopyFrom(from); |
1412 | 0 | } |
1413 | 0 | return *this; |
1414 | 0 | } |
1415 | | |
1416 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1417 | 0 | return GetDescriptor(); |
1418 | 0 | } |
1419 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1420 | 0 | return default_instance().GetMetadata().descriptor; |
1421 | 0 | } |
1422 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1423 | 0 | return default_instance().GetMetadata().reflection; |
1424 | 0 | } |
1425 | 0 | static const EnumeratedType& default_instance() { |
1426 | 0 | return *internal_default_instance(); |
1427 | 0 | } |
1428 | 0 | static inline const EnumeratedType* internal_default_instance() { |
1429 | 0 | return reinterpret_cast<const EnumeratedType*>( |
1430 | 0 | &_EnumeratedType_default_instance_); |
1431 | 0 | } |
1432 | | static constexpr int kIndexInFileMessages = |
1433 | | 4; |
1434 | | |
1435 | 0 | friend void swap(EnumeratedType& a, EnumeratedType& b) { |
1436 | 0 | a.Swap(&b); |
1437 | 0 | } |
1438 | 0 | inline void Swap(EnumeratedType* other) { |
1439 | 0 | if (other == this) return; |
1440 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1441 | 0 | if (GetOwningArena() != nullptr && |
1442 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1443 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1444 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1445 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1446 | 0 | InternalSwap(other); |
1447 | 0 | } else { |
1448 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1449 | 0 | } |
1450 | 0 | } |
1451 | 0 | void UnsafeArenaSwap(EnumeratedType* other) { |
1452 | 0 | if (other == this) return; |
1453 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1454 | 0 | InternalSwap(other); |
1455 | 0 | } |
1456 | | |
1457 | | // implements Message ---------------------------------------------- |
1458 | | |
1459 | 0 | EnumeratedType* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1460 | 0 | return CreateMaybeMessage<EnumeratedType>(arena); |
1461 | 0 | } |
1462 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1463 | | void CopyFrom(const EnumeratedType& from); |
1464 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1465 | 0 | void MergeFrom( const EnumeratedType& from) { |
1466 | 0 | EnumeratedType::MergeImpl(*this, from); |
1467 | 0 | } |
1468 | | private: |
1469 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1470 | | public: |
1471 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1472 | | bool IsInitialized() const final; |
1473 | | |
1474 | | size_t ByteSizeLong() const final; |
1475 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1476 | | uint8_t* _InternalSerialize( |
1477 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1478 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1479 | | |
1480 | | private: |
1481 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1482 | | void SharedDtor(); |
1483 | | void SetCachedSize(int size) const final; |
1484 | | void InternalSwap(EnumeratedType* other); |
1485 | | |
1486 | | private: |
1487 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1488 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1489 | 0 | return "xmlProtoFuzzer.EnumeratedType"; |
1490 | 0 | } |
1491 | | protected: |
1492 | | explicit EnumeratedType(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1493 | | bool is_message_owned = false); |
1494 | | public: |
1495 | | |
1496 | | static const ClassData _class_data_; |
1497 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1498 | | |
1499 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1500 | | |
1501 | | // nested types ---------------------------------------------------- |
1502 | | |
1503 | | // accessors ------------------------------------------------------- |
1504 | | |
1505 | | enum : int { |
1506 | | kNamesFieldNumber = 1, |
1507 | | }; |
1508 | | // repeated string names = 1; |
1509 | | int names_size() const; |
1510 | | private: |
1511 | | int _internal_names_size() const; |
1512 | | public: |
1513 | | void clear_names(); |
1514 | | const std::string& names(int index) const; |
1515 | | std::string* mutable_names(int index); |
1516 | | void set_names(int index, const std::string& value); |
1517 | | void set_names(int index, std::string&& value); |
1518 | | void set_names(int index, const char* value); |
1519 | | void set_names(int index, const char* value, size_t size); |
1520 | | std::string* add_names(); |
1521 | | void add_names(const std::string& value); |
1522 | | void add_names(std::string&& value); |
1523 | | void add_names(const char* value); |
1524 | | void add_names(const char* value, size_t size); |
1525 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& names() const; |
1526 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_names(); |
1527 | | private: |
1528 | | const std::string& _internal_names(int index) const; |
1529 | | std::string* _internal_add_names(); |
1530 | | public: |
1531 | | |
1532 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.EnumeratedType) |
1533 | | private: |
1534 | | class _Internal; |
1535 | | |
1536 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1537 | | typedef void InternalArenaConstructable_; |
1538 | | typedef void DestructorSkippable_; |
1539 | | struct Impl_ { |
1540 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> names_; |
1541 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1542 | | }; |
1543 | | union { Impl_ _impl_; }; |
1544 | | friend struct ::TableStruct_xml_2eproto; |
1545 | | }; |
1546 | | // ------------------------------------------------------------------- |
1547 | | |
1548 | | class AttrListDecl final : |
1549 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.AttrListDecl) */ { |
1550 | | public: |
1551 | 0 | inline AttrListDecl() : AttrListDecl(nullptr) {} |
1552 | | ~AttrListDecl() override; |
1553 | | explicit PROTOBUF_CONSTEXPR AttrListDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1554 | | |
1555 | | AttrListDecl(const AttrListDecl& from); |
1556 | | AttrListDecl(AttrListDecl&& from) noexcept |
1557 | 0 | : AttrListDecl() { |
1558 | 0 | *this = ::std::move(from); |
1559 | 0 | } |
1560 | | |
1561 | 0 | inline AttrListDecl& operator=(const AttrListDecl& from) { |
1562 | 0 | CopyFrom(from); |
1563 | 0 | return *this; |
1564 | 0 | } |
1565 | 0 | inline AttrListDecl& operator=(AttrListDecl&& from) noexcept { |
1566 | 0 | if (this == &from) return *this; |
1567 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1568 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1569 | 0 | && GetOwningArena() != nullptr |
1570 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1571 | 0 | ) { |
1572 | 0 | InternalSwap(&from); |
1573 | 0 | } else { |
1574 | 0 | CopyFrom(from); |
1575 | 0 | } |
1576 | 0 | return *this; |
1577 | 0 | } |
1578 | | |
1579 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1580 | 0 | return GetDescriptor(); |
1581 | 0 | } |
1582 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1583 | 0 | return default_instance().GetMetadata().descriptor; |
1584 | 0 | } |
1585 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1586 | 0 | return default_instance().GetMetadata().reflection; |
1587 | 0 | } |
1588 | 0 | static const AttrListDecl& default_instance() { |
1589 | 0 | return *internal_default_instance(); |
1590 | 0 | } |
1591 | 0 | static inline const AttrListDecl* internal_default_instance() { |
1592 | 0 | return reinterpret_cast<const AttrListDecl*>( |
1593 | 0 | &_AttrListDecl_default_instance_); |
1594 | 0 | } |
1595 | | static constexpr int kIndexInFileMessages = |
1596 | | 5; |
1597 | | |
1598 | 0 | friend void swap(AttrListDecl& a, AttrListDecl& b) { |
1599 | 0 | a.Swap(&b); |
1600 | 0 | } |
1601 | 0 | inline void Swap(AttrListDecl* other) { |
1602 | 0 | if (other == this) return; |
1603 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1604 | 0 | if (GetOwningArena() != nullptr && |
1605 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1606 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1607 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1608 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1609 | 0 | InternalSwap(other); |
1610 | 0 | } else { |
1611 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1612 | 0 | } |
1613 | 0 | } |
1614 | 0 | void UnsafeArenaSwap(AttrListDecl* other) { |
1615 | 0 | if (other == this) return; |
1616 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1617 | 0 | InternalSwap(other); |
1618 | 0 | } |
1619 | | |
1620 | | // implements Message ---------------------------------------------- |
1621 | | |
1622 | 0 | AttrListDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1623 | 0 | return CreateMaybeMessage<AttrListDecl>(arena); |
1624 | 0 | } |
1625 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1626 | | void CopyFrom(const AttrListDecl& from); |
1627 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1628 | 0 | void MergeFrom( const AttrListDecl& from) { |
1629 | 0 | AttrListDecl::MergeImpl(*this, from); |
1630 | 0 | } |
1631 | | private: |
1632 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1633 | | public: |
1634 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1635 | | bool IsInitialized() const final; |
1636 | | |
1637 | | size_t ByteSizeLong() const final; |
1638 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1639 | | uint8_t* _InternalSerialize( |
1640 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1641 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1642 | | |
1643 | | private: |
1644 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1645 | | void SharedDtor(); |
1646 | | void SetCachedSize(int size) const final; |
1647 | | void InternalSwap(AttrListDecl* other); |
1648 | | |
1649 | | private: |
1650 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1651 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1652 | 0 | return "xmlProtoFuzzer.AttrListDecl"; |
1653 | 0 | } |
1654 | | protected: |
1655 | | explicit AttrListDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1656 | | bool is_message_owned = false); |
1657 | | public: |
1658 | | |
1659 | | static const ClassData _class_data_; |
1660 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1661 | | |
1662 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1663 | | |
1664 | | // nested types ---------------------------------------------------- |
1665 | | |
1666 | | // accessors ------------------------------------------------------- |
1667 | | |
1668 | | enum : int { |
1669 | | kNameFieldNumber = 1, |
1670 | | kAtypeFieldNumber = 2, |
1671 | | kEtypeFieldNumber = 3, |
1672 | | kDefFieldNumber = 4, |
1673 | | }; |
1674 | | // string name = 1; |
1675 | | void clear_name(); |
1676 | | const std::string& name() const; |
1677 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
1678 | | void set_name(ArgT0&& arg0, ArgT... args); |
1679 | | std::string* mutable_name(); |
1680 | | PROTOBUF_NODISCARD std::string* release_name(); |
1681 | | void set_allocated_name(std::string* name); |
1682 | | private: |
1683 | | const std::string& _internal_name() const; |
1684 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
1685 | | std::string* _internal_mutable_name(); |
1686 | | public: |
1687 | | |
1688 | | // .xmlProtoFuzzer.AttrType atype = 2; |
1689 | | bool has_atype() const; |
1690 | | private: |
1691 | | bool _internal_has_atype() const; |
1692 | | public: |
1693 | | void clear_atype(); |
1694 | | const ::xmlProtoFuzzer::AttrType& atype() const; |
1695 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::AttrType* release_atype(); |
1696 | | ::xmlProtoFuzzer::AttrType* mutable_atype(); |
1697 | | void set_allocated_atype(::xmlProtoFuzzer::AttrType* atype); |
1698 | | private: |
1699 | | const ::xmlProtoFuzzer::AttrType& _internal_atype() const; |
1700 | | ::xmlProtoFuzzer::AttrType* _internal_mutable_atype(); |
1701 | | public: |
1702 | | void unsafe_arena_set_allocated_atype( |
1703 | | ::xmlProtoFuzzer::AttrType* atype); |
1704 | | ::xmlProtoFuzzer::AttrType* unsafe_arena_release_atype(); |
1705 | | |
1706 | | // .xmlProtoFuzzer.EnumeratedType etype = 3; |
1707 | | bool has_etype() const; |
1708 | | private: |
1709 | | bool _internal_has_etype() const; |
1710 | | public: |
1711 | | void clear_etype(); |
1712 | | const ::xmlProtoFuzzer::EnumeratedType& etype() const; |
1713 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::EnumeratedType* release_etype(); |
1714 | | ::xmlProtoFuzzer::EnumeratedType* mutable_etype(); |
1715 | | void set_allocated_etype(::xmlProtoFuzzer::EnumeratedType* etype); |
1716 | | private: |
1717 | | const ::xmlProtoFuzzer::EnumeratedType& _internal_etype() const; |
1718 | | ::xmlProtoFuzzer::EnumeratedType* _internal_mutable_etype(); |
1719 | | public: |
1720 | | void unsafe_arena_set_allocated_etype( |
1721 | | ::xmlProtoFuzzer::EnumeratedType* etype); |
1722 | | ::xmlProtoFuzzer::EnumeratedType* unsafe_arena_release_etype(); |
1723 | | |
1724 | | // .xmlProtoFuzzer.DefaultDecl def = 4; |
1725 | | bool has_def() const; |
1726 | | private: |
1727 | | bool _internal_has_def() const; |
1728 | | public: |
1729 | | void clear_def(); |
1730 | | const ::xmlProtoFuzzer::DefaultDecl& def() const; |
1731 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::DefaultDecl* release_def(); |
1732 | | ::xmlProtoFuzzer::DefaultDecl* mutable_def(); |
1733 | | void set_allocated_def(::xmlProtoFuzzer::DefaultDecl* def); |
1734 | | private: |
1735 | | const ::xmlProtoFuzzer::DefaultDecl& _internal_def() const; |
1736 | | ::xmlProtoFuzzer::DefaultDecl* _internal_mutable_def(); |
1737 | | public: |
1738 | | void unsafe_arena_set_allocated_def( |
1739 | | ::xmlProtoFuzzer::DefaultDecl* def); |
1740 | | ::xmlProtoFuzzer::DefaultDecl* unsafe_arena_release_def(); |
1741 | | |
1742 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.AttrListDecl) |
1743 | | private: |
1744 | | class _Internal; |
1745 | | |
1746 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1747 | | typedef void InternalArenaConstructable_; |
1748 | | typedef void DestructorSkippable_; |
1749 | | struct Impl_ { |
1750 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
1751 | | ::xmlProtoFuzzer::AttrType* atype_; |
1752 | | ::xmlProtoFuzzer::EnumeratedType* etype_; |
1753 | | ::xmlProtoFuzzer::DefaultDecl* def_; |
1754 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1755 | | }; |
1756 | | union { Impl_ _impl_; }; |
1757 | | friend struct ::TableStruct_xml_2eproto; |
1758 | | }; |
1759 | | // ------------------------------------------------------------------- |
1760 | | |
1761 | | class ExternalId final : |
1762 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.ExternalId) */ { |
1763 | | public: |
1764 | 0 | inline ExternalId() : ExternalId(nullptr) {} |
1765 | | ~ExternalId() override; |
1766 | | explicit PROTOBUF_CONSTEXPR ExternalId(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1767 | | |
1768 | | ExternalId(const ExternalId& from); |
1769 | | ExternalId(ExternalId&& from) noexcept |
1770 | 0 | : ExternalId() { |
1771 | 0 | *this = ::std::move(from); |
1772 | 0 | } |
1773 | | |
1774 | 0 | inline ExternalId& operator=(const ExternalId& from) { |
1775 | 0 | CopyFrom(from); |
1776 | 0 | return *this; |
1777 | 0 | } |
1778 | 0 | inline ExternalId& operator=(ExternalId&& from) noexcept { |
1779 | 0 | if (this == &from) return *this; |
1780 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1781 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1782 | 0 | && GetOwningArena() != nullptr |
1783 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1784 | 0 | ) { |
1785 | 0 | InternalSwap(&from); |
1786 | 0 | } else { |
1787 | 0 | CopyFrom(from); |
1788 | 0 | } |
1789 | 0 | return *this; |
1790 | 0 | } |
1791 | | |
1792 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1793 | 0 | return GetDescriptor(); |
1794 | 0 | } |
1795 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1796 | 0 | return default_instance().GetMetadata().descriptor; |
1797 | 0 | } |
1798 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1799 | 0 | return default_instance().GetMetadata().reflection; |
1800 | 0 | } |
1801 | 0 | static const ExternalId& default_instance() { |
1802 | 0 | return *internal_default_instance(); |
1803 | 0 | } |
1804 | 0 | static inline const ExternalId* internal_default_instance() { |
1805 | 0 | return reinterpret_cast<const ExternalId*>( |
1806 | 0 | &_ExternalId_default_instance_); |
1807 | 0 | } |
1808 | | static constexpr int kIndexInFileMessages = |
1809 | | 6; |
1810 | | |
1811 | 0 | friend void swap(ExternalId& a, ExternalId& b) { |
1812 | 0 | a.Swap(&b); |
1813 | 0 | } |
1814 | 0 | inline void Swap(ExternalId* other) { |
1815 | 0 | if (other == this) return; |
1816 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
1817 | 0 | if (GetOwningArena() != nullptr && |
1818 | 0 | GetOwningArena() == other->GetOwningArena()) { |
1819 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
1820 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
1821 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
1822 | 0 | InternalSwap(other); |
1823 | 0 | } else { |
1824 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
1825 | 0 | } |
1826 | 0 | } |
1827 | 0 | void UnsafeArenaSwap(ExternalId* other) { |
1828 | 0 | if (other == this) return; |
1829 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
1830 | 0 | InternalSwap(other); |
1831 | 0 | } |
1832 | | |
1833 | | // implements Message ---------------------------------------------- |
1834 | | |
1835 | 7.21k | ExternalId* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
1836 | 7.21k | return CreateMaybeMessage<ExternalId>(arena); |
1837 | 7.21k | } |
1838 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
1839 | | void CopyFrom(const ExternalId& from); |
1840 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
1841 | 0 | void MergeFrom( const ExternalId& from) { |
1842 | 0 | ExternalId::MergeImpl(*this, from); |
1843 | 0 | } |
1844 | | private: |
1845 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
1846 | | public: |
1847 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1848 | | bool IsInitialized() const final; |
1849 | | |
1850 | | size_t ByteSizeLong() const final; |
1851 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1852 | | uint8_t* _InternalSerialize( |
1853 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
1854 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
1855 | | |
1856 | | private: |
1857 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
1858 | | void SharedDtor(); |
1859 | | void SetCachedSize(int size) const final; |
1860 | | void InternalSwap(ExternalId* other); |
1861 | | |
1862 | | private: |
1863 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1864 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1865 | 0 | return "xmlProtoFuzzer.ExternalId"; |
1866 | 0 | } |
1867 | | protected: |
1868 | | explicit ExternalId(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
1869 | | bool is_message_owned = false); |
1870 | | public: |
1871 | | |
1872 | | static const ClassData _class_data_; |
1873 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
1874 | | |
1875 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1876 | | |
1877 | | // nested types ---------------------------------------------------- |
1878 | | |
1879 | | typedef ExternalId_Type Type; |
1880 | | static constexpr Type SYSTEM = |
1881 | | ExternalId_Type_SYSTEM; |
1882 | | static constexpr Type PUBLIC = |
1883 | | ExternalId_Type_PUBLIC; |
1884 | | static constexpr Type FUZZ = |
1885 | | ExternalId_Type_FUZZ; |
1886 | 14.5k | static inline bool Type_IsValid(int value) { |
1887 | 14.5k | return ExternalId_Type_IsValid(value); |
1888 | 14.5k | } |
1889 | | static constexpr Type Type_MIN = |
1890 | | ExternalId_Type_Type_MIN; |
1891 | | static constexpr Type Type_MAX = |
1892 | | ExternalId_Type_Type_MAX; |
1893 | | static constexpr int Type_ARRAYSIZE = |
1894 | | ExternalId_Type_Type_ARRAYSIZE; |
1895 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
1896 | 0 | Type_descriptor() { |
1897 | 0 | return ExternalId_Type_descriptor(); |
1898 | 0 | } |
1899 | | template<typename T> |
1900 | | static inline const std::string& Type_Name(T enum_t_value) { |
1901 | | static_assert(::std::is_same<T, Type>::value || |
1902 | | ::std::is_integral<T>::value, |
1903 | | "Incorrect type passed to function Type_Name."); |
1904 | | return ExternalId_Type_Name(enum_t_value); |
1905 | | } |
1906 | | static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
1907 | 0 | Type* value) { |
1908 | 0 | return ExternalId_Type_Parse(name, value); |
1909 | 0 | } |
1910 | | |
1911 | | // accessors ------------------------------------------------------- |
1912 | | |
1913 | | enum : int { |
1914 | | kSystemFieldNumber = 2, |
1915 | | kPubFieldNumber = 3, |
1916 | | kTypeFieldNumber = 1, |
1917 | | }; |
1918 | | // string system = 2; |
1919 | | void clear_system(); |
1920 | | const std::string& system() const; |
1921 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
1922 | | void set_system(ArgT0&& arg0, ArgT... args); |
1923 | | std::string* mutable_system(); |
1924 | | PROTOBUF_NODISCARD std::string* release_system(); |
1925 | | void set_allocated_system(std::string* system); |
1926 | | private: |
1927 | | const std::string& _internal_system() const; |
1928 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_system(const std::string& value); |
1929 | | std::string* _internal_mutable_system(); |
1930 | | public: |
1931 | | |
1932 | | // string pub = 3; |
1933 | | void clear_pub(); |
1934 | | const std::string& pub() const; |
1935 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
1936 | | void set_pub(ArgT0&& arg0, ArgT... args); |
1937 | | std::string* mutable_pub(); |
1938 | | PROTOBUF_NODISCARD std::string* release_pub(); |
1939 | | void set_allocated_pub(std::string* pub); |
1940 | | private: |
1941 | | const std::string& _internal_pub() const; |
1942 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_pub(const std::string& value); |
1943 | | std::string* _internal_mutable_pub(); |
1944 | | public: |
1945 | | |
1946 | | // .xmlProtoFuzzer.ExternalId.Type type = 1; |
1947 | | void clear_type(); |
1948 | | ::xmlProtoFuzzer::ExternalId_Type type() const; |
1949 | | void set_type(::xmlProtoFuzzer::ExternalId_Type value); |
1950 | | private: |
1951 | | ::xmlProtoFuzzer::ExternalId_Type _internal_type() const; |
1952 | | void _internal_set_type(::xmlProtoFuzzer::ExternalId_Type value); |
1953 | | public: |
1954 | | |
1955 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.ExternalId) |
1956 | | private: |
1957 | | class _Internal; |
1958 | | |
1959 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
1960 | | typedef void InternalArenaConstructable_; |
1961 | | typedef void DestructorSkippable_; |
1962 | | struct Impl_ { |
1963 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr system_; |
1964 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pub_; |
1965 | | int type_; |
1966 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1967 | | }; |
1968 | | union { Impl_ _impl_; }; |
1969 | | friend struct ::TableStruct_xml_2eproto; |
1970 | | }; |
1971 | | // ------------------------------------------------------------------- |
1972 | | |
1973 | | class AttValue final : |
1974 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.AttValue) */ { |
1975 | | public: |
1976 | 0 | inline AttValue() : AttValue(nullptr) {} |
1977 | | ~AttValue() override; |
1978 | | explicit PROTOBUF_CONSTEXPR AttValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
1979 | | |
1980 | | AttValue(const AttValue& from); |
1981 | | AttValue(AttValue&& from) noexcept |
1982 | 0 | : AttValue() { |
1983 | 0 | *this = ::std::move(from); |
1984 | 0 | } |
1985 | | |
1986 | 0 | inline AttValue& operator=(const AttValue& from) { |
1987 | 0 | CopyFrom(from); |
1988 | 0 | return *this; |
1989 | 0 | } |
1990 | 0 | inline AttValue& operator=(AttValue&& from) noexcept { |
1991 | 0 | if (this == &from) return *this; |
1992 | 0 | if (GetOwningArena() == from.GetOwningArena() |
1993 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
1994 | 0 | && GetOwningArena() != nullptr |
1995 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
1996 | 0 | ) { |
1997 | 0 | InternalSwap(&from); |
1998 | 0 | } else { |
1999 | 0 | CopyFrom(from); |
2000 | 0 | } |
2001 | 0 | return *this; |
2002 | 0 | } |
2003 | | |
2004 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2005 | 0 | return GetDescriptor(); |
2006 | 0 | } |
2007 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2008 | 0 | return default_instance().GetMetadata().descriptor; |
2009 | 0 | } |
2010 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2011 | 0 | return default_instance().GetMetadata().reflection; |
2012 | 0 | } |
2013 | 0 | static const AttValue& default_instance() { |
2014 | 0 | return *internal_default_instance(); |
2015 | 0 | } |
2016 | 0 | static inline const AttValue* internal_default_instance() { |
2017 | 0 | return reinterpret_cast<const AttValue*>( |
2018 | 0 | &_AttValue_default_instance_); |
2019 | 0 | } |
2020 | | static constexpr int kIndexInFileMessages = |
2021 | | 7; |
2022 | | |
2023 | 0 | friend void swap(AttValue& a, AttValue& b) { |
2024 | 0 | a.Swap(&b); |
2025 | 0 | } |
2026 | 0 | inline void Swap(AttValue* other) { |
2027 | 0 | if (other == this) return; |
2028 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2029 | 0 | if (GetOwningArena() != nullptr && |
2030 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2031 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2032 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2033 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2034 | 0 | InternalSwap(other); |
2035 | 0 | } else { |
2036 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2037 | 0 | } |
2038 | 0 | } |
2039 | 0 | void UnsafeArenaSwap(AttValue* other) { |
2040 | 0 | if (other == this) return; |
2041 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2042 | 0 | InternalSwap(other); |
2043 | 0 | } |
2044 | | |
2045 | | // implements Message ---------------------------------------------- |
2046 | | |
2047 | 2.69k | AttValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2048 | 2.69k | return CreateMaybeMessage<AttValue>(arena); |
2049 | 2.69k | } |
2050 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2051 | | void CopyFrom(const AttValue& from); |
2052 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2053 | 0 | void MergeFrom( const AttValue& from) { |
2054 | 0 | AttValue::MergeImpl(*this, from); |
2055 | 0 | } |
2056 | | private: |
2057 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2058 | | public: |
2059 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2060 | | bool IsInitialized() const final; |
2061 | | |
2062 | | size_t ByteSizeLong() const final; |
2063 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2064 | | uint8_t* _InternalSerialize( |
2065 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2066 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2067 | | |
2068 | | private: |
2069 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
2070 | | void SharedDtor(); |
2071 | | void SetCachedSize(int size) const final; |
2072 | | void InternalSwap(AttValue* other); |
2073 | | |
2074 | | private: |
2075 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2076 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2077 | 0 | return "xmlProtoFuzzer.AttValue"; |
2078 | 0 | } |
2079 | | protected: |
2080 | | explicit AttValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2081 | | bool is_message_owned = false); |
2082 | | public: |
2083 | | |
2084 | | static const ClassData _class_data_; |
2085 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2086 | | |
2087 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2088 | | |
2089 | | // nested types ---------------------------------------------------- |
2090 | | |
2091 | | typedef AttValue_Type Type; |
2092 | | static constexpr Type ENTITY = |
2093 | | AttValue_Type_ENTITY; |
2094 | | static constexpr Type CHAR = |
2095 | | AttValue_Type_CHAR; |
2096 | | static constexpr Type FUZZ = |
2097 | | AttValue_Type_FUZZ; |
2098 | 3.16k | static inline bool Type_IsValid(int value) { |
2099 | 3.16k | return AttValue_Type_IsValid(value); |
2100 | 3.16k | } |
2101 | | static constexpr Type Type_MIN = |
2102 | | AttValue_Type_Type_MIN; |
2103 | | static constexpr Type Type_MAX = |
2104 | | AttValue_Type_Type_MAX; |
2105 | | static constexpr int Type_ARRAYSIZE = |
2106 | | AttValue_Type_Type_ARRAYSIZE; |
2107 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
2108 | 0 | Type_descriptor() { |
2109 | 0 | return AttValue_Type_descriptor(); |
2110 | 0 | } |
2111 | | template<typename T> |
2112 | | static inline const std::string& Type_Name(T enum_t_value) { |
2113 | | static_assert(::std::is_same<T, Type>::value || |
2114 | | ::std::is_integral<T>::value, |
2115 | | "Incorrect type passed to function Type_Name."); |
2116 | | return AttValue_Type_Name(enum_t_value); |
2117 | | } |
2118 | | static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
2119 | 0 | Type* value) { |
2120 | 0 | return AttValue_Type_Parse(name, value); |
2121 | 0 | } |
2122 | | |
2123 | | // accessors ------------------------------------------------------- |
2124 | | |
2125 | | enum : int { |
2126 | | kValueFieldNumber = 2, |
2127 | | kTypeFieldNumber = 1, |
2128 | | }; |
2129 | | // repeated string value = 2; |
2130 | | int value_size() const; |
2131 | | private: |
2132 | | int _internal_value_size() const; |
2133 | | public: |
2134 | | void clear_value(); |
2135 | | const std::string& value(int index) const; |
2136 | | std::string* mutable_value(int index); |
2137 | | void set_value(int index, const std::string& value); |
2138 | | void set_value(int index, std::string&& value); |
2139 | | void set_value(int index, const char* value); |
2140 | | void set_value(int index, const char* value, size_t size); |
2141 | | std::string* add_value(); |
2142 | | void add_value(const std::string& value); |
2143 | | void add_value(std::string&& value); |
2144 | | void add_value(const char* value); |
2145 | | void add_value(const char* value, size_t size); |
2146 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& value() const; |
2147 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_value(); |
2148 | | private: |
2149 | | const std::string& _internal_value(int index) const; |
2150 | | std::string* _internal_add_value(); |
2151 | | public: |
2152 | | |
2153 | | // .xmlProtoFuzzer.AttValue.Type type = 1; |
2154 | | void clear_type(); |
2155 | | ::xmlProtoFuzzer::AttValue_Type type() const; |
2156 | | void set_type(::xmlProtoFuzzer::AttValue_Type value); |
2157 | | private: |
2158 | | ::xmlProtoFuzzer::AttValue_Type _internal_type() const; |
2159 | | void _internal_set_type(::xmlProtoFuzzer::AttValue_Type value); |
2160 | | public: |
2161 | | |
2162 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.AttValue) |
2163 | | private: |
2164 | | class _Internal; |
2165 | | |
2166 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2167 | | typedef void InternalArenaConstructable_; |
2168 | | typedef void DestructorSkippable_; |
2169 | | struct Impl_ { |
2170 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> value_; |
2171 | | int type_; |
2172 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2173 | | }; |
2174 | | union { Impl_ _impl_; }; |
2175 | | friend struct ::TableStruct_xml_2eproto; |
2176 | | }; |
2177 | | // ------------------------------------------------------------------- |
2178 | | |
2179 | | class DefaultDecl final : |
2180 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.DefaultDecl) */ { |
2181 | | public: |
2182 | 0 | inline DefaultDecl() : DefaultDecl(nullptr) {} |
2183 | | ~DefaultDecl() override; |
2184 | | explicit PROTOBUF_CONSTEXPR DefaultDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
2185 | | |
2186 | | DefaultDecl(const DefaultDecl& from); |
2187 | | DefaultDecl(DefaultDecl&& from) noexcept |
2188 | 0 | : DefaultDecl() { |
2189 | 0 | *this = ::std::move(from); |
2190 | 0 | } |
2191 | | |
2192 | 0 | inline DefaultDecl& operator=(const DefaultDecl& from) { |
2193 | 0 | CopyFrom(from); |
2194 | 0 | return *this; |
2195 | 0 | } |
2196 | 0 | inline DefaultDecl& operator=(DefaultDecl&& from) noexcept { |
2197 | 0 | if (this == &from) return *this; |
2198 | 0 | if (GetOwningArena() == from.GetOwningArena() |
2199 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2200 | 0 | && GetOwningArena() != nullptr |
2201 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2202 | 0 | ) { |
2203 | 0 | InternalSwap(&from); |
2204 | 0 | } else { |
2205 | 0 | CopyFrom(from); |
2206 | 0 | } |
2207 | 0 | return *this; |
2208 | 0 | } |
2209 | | |
2210 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2211 | 0 | return GetDescriptor(); |
2212 | 0 | } |
2213 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2214 | 0 | return default_instance().GetMetadata().descriptor; |
2215 | 0 | } |
2216 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2217 | 0 | return default_instance().GetMetadata().reflection; |
2218 | 0 | } |
2219 | 0 | static const DefaultDecl& default_instance() { |
2220 | 0 | return *internal_default_instance(); |
2221 | 0 | } |
2222 | 4.58k | static inline const DefaultDecl* internal_default_instance() { |
2223 | 4.58k | return reinterpret_cast<const DefaultDecl*>( |
2224 | 4.58k | &_DefaultDecl_default_instance_); |
2225 | 4.58k | } |
2226 | | static constexpr int kIndexInFileMessages = |
2227 | | 8; |
2228 | | |
2229 | 0 | friend void swap(DefaultDecl& a, DefaultDecl& b) { |
2230 | 0 | a.Swap(&b); |
2231 | 0 | } |
2232 | 0 | inline void Swap(DefaultDecl* other) { |
2233 | 0 | if (other == this) return; |
2234 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2235 | 0 | if (GetOwningArena() != nullptr && |
2236 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2237 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2238 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2239 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2240 | 0 | InternalSwap(other); |
2241 | 0 | } else { |
2242 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2243 | 0 | } |
2244 | 0 | } |
2245 | 0 | void UnsafeArenaSwap(DefaultDecl* other) { |
2246 | 0 | if (other == this) return; |
2247 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2248 | 0 | InternalSwap(other); |
2249 | 0 | } |
2250 | | |
2251 | | // implements Message ---------------------------------------------- |
2252 | | |
2253 | 4.58k | DefaultDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2254 | 4.58k | return CreateMaybeMessage<DefaultDecl>(arena); |
2255 | 4.58k | } |
2256 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2257 | | void CopyFrom(const DefaultDecl& from); |
2258 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2259 | 0 | void MergeFrom( const DefaultDecl& from) { |
2260 | 0 | DefaultDecl::MergeImpl(*this, from); |
2261 | 0 | } |
2262 | | private: |
2263 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2264 | | public: |
2265 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2266 | | bool IsInitialized() const final; |
2267 | | |
2268 | | size_t ByteSizeLong() const final; |
2269 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2270 | | uint8_t* _InternalSerialize( |
2271 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2272 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2273 | | |
2274 | | private: |
2275 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
2276 | | void SharedDtor(); |
2277 | | void SetCachedSize(int size) const final; |
2278 | | void InternalSwap(DefaultDecl* other); |
2279 | | |
2280 | | private: |
2281 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2282 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2283 | 0 | return "xmlProtoFuzzer.DefaultDecl"; |
2284 | 0 | } |
2285 | | protected: |
2286 | | explicit DefaultDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2287 | | bool is_message_owned = false); |
2288 | | public: |
2289 | | |
2290 | | static const ClassData _class_data_; |
2291 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2292 | | |
2293 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2294 | | |
2295 | | // nested types ---------------------------------------------------- |
2296 | | |
2297 | | typedef DefaultDecl_Type Type; |
2298 | | static constexpr Type REQUIRED = |
2299 | | DefaultDecl_Type_REQUIRED; |
2300 | | static constexpr Type IMPLIED = |
2301 | | DefaultDecl_Type_IMPLIED; |
2302 | | static constexpr Type FIXED = |
2303 | | DefaultDecl_Type_FIXED; |
2304 | | static constexpr Type FUZZ = |
2305 | | DefaultDecl_Type_FUZZ; |
2306 | 18.7k | static inline bool Type_IsValid(int value) { |
2307 | 18.7k | return DefaultDecl_Type_IsValid(value); |
2308 | 18.7k | } |
2309 | | static constexpr Type Type_MIN = |
2310 | | DefaultDecl_Type_Type_MIN; |
2311 | | static constexpr Type Type_MAX = |
2312 | | DefaultDecl_Type_Type_MAX; |
2313 | | static constexpr int Type_ARRAYSIZE = |
2314 | | DefaultDecl_Type_Type_ARRAYSIZE; |
2315 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
2316 | 0 | Type_descriptor() { |
2317 | 0 | return DefaultDecl_Type_descriptor(); |
2318 | 0 | } |
2319 | | template<typename T> |
2320 | | static inline const std::string& Type_Name(T enum_t_value) { |
2321 | | static_assert(::std::is_same<T, Type>::value || |
2322 | | ::std::is_integral<T>::value, |
2323 | | "Incorrect type passed to function Type_Name."); |
2324 | | return DefaultDecl_Type_Name(enum_t_value); |
2325 | | } |
2326 | | static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
2327 | 0 | Type* value) { |
2328 | 0 | return DefaultDecl_Type_Parse(name, value); |
2329 | 0 | } |
2330 | | |
2331 | | // accessors ------------------------------------------------------- |
2332 | | |
2333 | | enum : int { |
2334 | | kAttFieldNumber = 2, |
2335 | | kTypeFieldNumber = 1, |
2336 | | }; |
2337 | | // .xmlProtoFuzzer.AttValue att = 2; |
2338 | | bool has_att() const; |
2339 | | private: |
2340 | | bool _internal_has_att() const; |
2341 | | public: |
2342 | | void clear_att(); |
2343 | | const ::xmlProtoFuzzer::AttValue& att() const; |
2344 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::AttValue* release_att(); |
2345 | | ::xmlProtoFuzzer::AttValue* mutable_att(); |
2346 | | void set_allocated_att(::xmlProtoFuzzer::AttValue* att); |
2347 | | private: |
2348 | | const ::xmlProtoFuzzer::AttValue& _internal_att() const; |
2349 | | ::xmlProtoFuzzer::AttValue* _internal_mutable_att(); |
2350 | | public: |
2351 | | void unsafe_arena_set_allocated_att( |
2352 | | ::xmlProtoFuzzer::AttValue* att); |
2353 | | ::xmlProtoFuzzer::AttValue* unsafe_arena_release_att(); |
2354 | | |
2355 | | // .xmlProtoFuzzer.DefaultDecl.Type type = 1; |
2356 | | void clear_type(); |
2357 | | ::xmlProtoFuzzer::DefaultDecl_Type type() const; |
2358 | | void set_type(::xmlProtoFuzzer::DefaultDecl_Type value); |
2359 | | private: |
2360 | | ::xmlProtoFuzzer::DefaultDecl_Type _internal_type() const; |
2361 | | void _internal_set_type(::xmlProtoFuzzer::DefaultDecl_Type value); |
2362 | | public: |
2363 | | |
2364 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.DefaultDecl) |
2365 | | private: |
2366 | | class _Internal; |
2367 | | |
2368 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2369 | | typedef void InternalArenaConstructable_; |
2370 | | typedef void DestructorSkippable_; |
2371 | | struct Impl_ { |
2372 | | ::xmlProtoFuzzer::AttValue* att_; |
2373 | | int type_; |
2374 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2375 | | }; |
2376 | | union { Impl_ _impl_; }; |
2377 | | friend struct ::TableStruct_xml_2eproto; |
2378 | | }; |
2379 | | // ------------------------------------------------------------------- |
2380 | | |
2381 | | class AttDef final : |
2382 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.AttDef) */ { |
2383 | | public: |
2384 | 0 | inline AttDef() : AttDef(nullptr) {} |
2385 | | ~AttDef() override; |
2386 | | explicit PROTOBUF_CONSTEXPR AttDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
2387 | | |
2388 | | AttDef(const AttDef& from); |
2389 | | AttDef(AttDef&& from) noexcept |
2390 | 0 | : AttDef() { |
2391 | 0 | *this = ::std::move(from); |
2392 | 0 | } |
2393 | | |
2394 | 0 | inline AttDef& operator=(const AttDef& from) { |
2395 | 0 | CopyFrom(from); |
2396 | 0 | return *this; |
2397 | 0 | } |
2398 | 0 | inline AttDef& operator=(AttDef&& from) noexcept { |
2399 | 0 | if (this == &from) return *this; |
2400 | 0 | if (GetOwningArena() == from.GetOwningArena() |
2401 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2402 | 0 | && GetOwningArena() != nullptr |
2403 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2404 | 0 | ) { |
2405 | 0 | InternalSwap(&from); |
2406 | 0 | } else { |
2407 | 0 | CopyFrom(from); |
2408 | 0 | } |
2409 | 0 | return *this; |
2410 | 0 | } |
2411 | | |
2412 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2413 | 0 | return GetDescriptor(); |
2414 | 0 | } |
2415 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2416 | 0 | return default_instance().GetMetadata().descriptor; |
2417 | 0 | } |
2418 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2419 | 0 | return default_instance().GetMetadata().reflection; |
2420 | 0 | } |
2421 | 0 | static const AttDef& default_instance() { |
2422 | 0 | return *internal_default_instance(); |
2423 | 0 | } |
2424 | 19.2k | static inline const AttDef* internal_default_instance() { |
2425 | 19.2k | return reinterpret_cast<const AttDef*>( |
2426 | 19.2k | &_AttDef_default_instance_); |
2427 | 19.2k | } |
2428 | | static constexpr int kIndexInFileMessages = |
2429 | | 9; |
2430 | | |
2431 | 0 | friend void swap(AttDef& a, AttDef& b) { |
2432 | 0 | a.Swap(&b); |
2433 | 0 | } |
2434 | 0 | inline void Swap(AttDef* other) { |
2435 | 0 | if (other == this) return; |
2436 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2437 | 0 | if (GetOwningArena() != nullptr && |
2438 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2439 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2440 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2441 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2442 | 0 | InternalSwap(other); |
2443 | 0 | } else { |
2444 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2445 | 0 | } |
2446 | 0 | } |
2447 | 0 | void UnsafeArenaSwap(AttDef* other) { |
2448 | 0 | if (other == this) return; |
2449 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2450 | 0 | InternalSwap(other); |
2451 | 0 | } |
2452 | | |
2453 | | // implements Message ---------------------------------------------- |
2454 | | |
2455 | 19.2k | AttDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2456 | 19.2k | return CreateMaybeMessage<AttDef>(arena); |
2457 | 19.2k | } |
2458 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2459 | | void CopyFrom(const AttDef& from); |
2460 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2461 | 0 | void MergeFrom( const AttDef& from) { |
2462 | 0 | AttDef::MergeImpl(*this, from); |
2463 | 0 | } |
2464 | | private: |
2465 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2466 | | public: |
2467 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2468 | | bool IsInitialized() const final; |
2469 | | |
2470 | | size_t ByteSizeLong() const final; |
2471 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2472 | | uint8_t* _InternalSerialize( |
2473 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2474 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2475 | | |
2476 | | private: |
2477 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
2478 | | void SharedDtor(); |
2479 | | void SetCachedSize(int size) const final; |
2480 | | void InternalSwap(AttDef* other); |
2481 | | |
2482 | | private: |
2483 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2484 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2485 | 0 | return "xmlProtoFuzzer.AttDef"; |
2486 | 0 | } |
2487 | | protected: |
2488 | | explicit AttDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2489 | | bool is_message_owned = false); |
2490 | | public: |
2491 | | |
2492 | | static const ClassData _class_data_; |
2493 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2494 | | |
2495 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2496 | | |
2497 | | // nested types ---------------------------------------------------- |
2498 | | |
2499 | | typedef AttDef_Type Type; |
2500 | | static constexpr Type CDATA = |
2501 | | AttDef_Type_CDATA; |
2502 | | static constexpr Type ID = |
2503 | | AttDef_Type_ID; |
2504 | | static constexpr Type IDREF = |
2505 | | AttDef_Type_IDREF; |
2506 | | static constexpr Type IDREFS = |
2507 | | AttDef_Type_IDREFS; |
2508 | | static constexpr Type ENTITY = |
2509 | | AttDef_Type_ENTITY; |
2510 | | static constexpr Type ENTITIES = |
2511 | | AttDef_Type_ENTITIES; |
2512 | | static constexpr Type NMTOKEN = |
2513 | | AttDef_Type_NMTOKEN; |
2514 | | static constexpr Type NMTOKENS = |
2515 | | AttDef_Type_NMTOKENS; |
2516 | | static constexpr Type FUZZ = |
2517 | | AttDef_Type_FUZZ; |
2518 | 18.8k | static inline bool Type_IsValid(int value) { |
2519 | 18.8k | return AttDef_Type_IsValid(value); |
2520 | 18.8k | } |
2521 | | static constexpr Type Type_MIN = |
2522 | | AttDef_Type_Type_MIN; |
2523 | | static constexpr Type Type_MAX = |
2524 | | AttDef_Type_Type_MAX; |
2525 | | static constexpr int Type_ARRAYSIZE = |
2526 | | AttDef_Type_Type_ARRAYSIZE; |
2527 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
2528 | 0 | Type_descriptor() { |
2529 | 0 | return AttDef_Type_descriptor(); |
2530 | 0 | } |
2531 | | template<typename T> |
2532 | | static inline const std::string& Type_Name(T enum_t_value) { |
2533 | | static_assert(::std::is_same<T, Type>::value || |
2534 | | ::std::is_integral<T>::value, |
2535 | | "Incorrect type passed to function Type_Name."); |
2536 | | return AttDef_Type_Name(enum_t_value); |
2537 | | } |
2538 | | static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
2539 | 0 | Type* value) { |
2540 | 0 | return AttDef_Type_Parse(name, value); |
2541 | 0 | } |
2542 | | |
2543 | | // accessors ------------------------------------------------------- |
2544 | | |
2545 | | enum : int { |
2546 | | kNameFieldNumber = 1, |
2547 | | kDefFieldNumber = 3, |
2548 | | kTypeFieldNumber = 2, |
2549 | | }; |
2550 | | // string name = 1; |
2551 | | void clear_name(); |
2552 | | const std::string& name() const; |
2553 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
2554 | | void set_name(ArgT0&& arg0, ArgT... args); |
2555 | | std::string* mutable_name(); |
2556 | | PROTOBUF_NODISCARD std::string* release_name(); |
2557 | | void set_allocated_name(std::string* name); |
2558 | | private: |
2559 | | const std::string& _internal_name() const; |
2560 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
2561 | | std::string* _internal_mutable_name(); |
2562 | | public: |
2563 | | |
2564 | | // .xmlProtoFuzzer.DefaultDecl def = 3; |
2565 | | bool has_def() const; |
2566 | | private: |
2567 | | bool _internal_has_def() const; |
2568 | | public: |
2569 | | void clear_def(); |
2570 | | const ::xmlProtoFuzzer::DefaultDecl& def() const; |
2571 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::DefaultDecl* release_def(); |
2572 | | ::xmlProtoFuzzer::DefaultDecl* mutable_def(); |
2573 | | void set_allocated_def(::xmlProtoFuzzer::DefaultDecl* def); |
2574 | | private: |
2575 | | const ::xmlProtoFuzzer::DefaultDecl& _internal_def() const; |
2576 | | ::xmlProtoFuzzer::DefaultDecl* _internal_mutable_def(); |
2577 | | public: |
2578 | | void unsafe_arena_set_allocated_def( |
2579 | | ::xmlProtoFuzzer::DefaultDecl* def); |
2580 | | ::xmlProtoFuzzer::DefaultDecl* unsafe_arena_release_def(); |
2581 | | |
2582 | | // .xmlProtoFuzzer.AttDef.Type type = 2; |
2583 | | void clear_type(); |
2584 | | ::xmlProtoFuzzer::AttDef_Type type() const; |
2585 | | void set_type(::xmlProtoFuzzer::AttDef_Type value); |
2586 | | private: |
2587 | | ::xmlProtoFuzzer::AttDef_Type _internal_type() const; |
2588 | | void _internal_set_type(::xmlProtoFuzzer::AttDef_Type value); |
2589 | | public: |
2590 | | |
2591 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.AttDef) |
2592 | | private: |
2593 | | class _Internal; |
2594 | | |
2595 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2596 | | typedef void InternalArenaConstructable_; |
2597 | | typedef void DestructorSkippable_; |
2598 | | struct Impl_ { |
2599 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
2600 | | ::xmlProtoFuzzer::DefaultDecl* def_; |
2601 | | int type_; |
2602 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2603 | | }; |
2604 | | union { Impl_ _impl_; }; |
2605 | | friend struct ::TableStruct_xml_2eproto; |
2606 | | }; |
2607 | | // ------------------------------------------------------------------- |
2608 | | |
2609 | | class AttListDecl final : |
2610 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.AttListDecl) */ { |
2611 | | public: |
2612 | 0 | inline AttListDecl() : AttListDecl(nullptr) {} |
2613 | | ~AttListDecl() override; |
2614 | | explicit PROTOBUF_CONSTEXPR AttListDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
2615 | | |
2616 | | AttListDecl(const AttListDecl& from); |
2617 | | AttListDecl(AttListDecl&& from) noexcept |
2618 | 0 | : AttListDecl() { |
2619 | 0 | *this = ::std::move(from); |
2620 | 0 | } |
2621 | | |
2622 | 0 | inline AttListDecl& operator=(const AttListDecl& from) { |
2623 | 0 | CopyFrom(from); |
2624 | 0 | return *this; |
2625 | 0 | } |
2626 | 0 | inline AttListDecl& operator=(AttListDecl&& from) noexcept { |
2627 | 0 | if (this == &from) return *this; |
2628 | 0 | if (GetOwningArena() == from.GetOwningArena() |
2629 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2630 | 0 | && GetOwningArena() != nullptr |
2631 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2632 | 0 | ) { |
2633 | 0 | InternalSwap(&from); |
2634 | 0 | } else { |
2635 | 0 | CopyFrom(from); |
2636 | 0 | } |
2637 | 0 | return *this; |
2638 | 0 | } |
2639 | | |
2640 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2641 | 0 | return GetDescriptor(); |
2642 | 0 | } |
2643 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2644 | 0 | return default_instance().GetMetadata().descriptor; |
2645 | 0 | } |
2646 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2647 | 0 | return default_instance().GetMetadata().reflection; |
2648 | 0 | } |
2649 | 0 | static const AttListDecl& default_instance() { |
2650 | 0 | return *internal_default_instance(); |
2651 | 0 | } |
2652 | 0 | static inline const AttListDecl* internal_default_instance() { |
2653 | 0 | return reinterpret_cast<const AttListDecl*>( |
2654 | 0 | &_AttListDecl_default_instance_); |
2655 | 0 | } |
2656 | | static constexpr int kIndexInFileMessages = |
2657 | | 10; |
2658 | | |
2659 | 0 | friend void swap(AttListDecl& a, AttListDecl& b) { |
2660 | 0 | a.Swap(&b); |
2661 | 0 | } |
2662 | 0 | inline void Swap(AttListDecl* other) { |
2663 | 0 | if (other == this) return; |
2664 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2665 | 0 | if (GetOwningArena() != nullptr && |
2666 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2667 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2668 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2669 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2670 | 0 | InternalSwap(other); |
2671 | 0 | } else { |
2672 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2673 | 0 | } |
2674 | 0 | } |
2675 | 0 | void UnsafeArenaSwap(AttListDecl* other) { |
2676 | 0 | if (other == this) return; |
2677 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2678 | 0 | InternalSwap(other); |
2679 | 0 | } |
2680 | | |
2681 | | // implements Message ---------------------------------------------- |
2682 | | |
2683 | 3.92k | AttListDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2684 | 3.92k | return CreateMaybeMessage<AttListDecl>(arena); |
2685 | 3.92k | } |
2686 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2687 | | void CopyFrom(const AttListDecl& from); |
2688 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2689 | 0 | void MergeFrom( const AttListDecl& from) { |
2690 | 0 | AttListDecl::MergeImpl(*this, from); |
2691 | 0 | } |
2692 | | private: |
2693 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2694 | | public: |
2695 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2696 | | bool IsInitialized() const final; |
2697 | | |
2698 | | size_t ByteSizeLong() const final; |
2699 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2700 | | uint8_t* _InternalSerialize( |
2701 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2702 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2703 | | |
2704 | | private: |
2705 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
2706 | | void SharedDtor(); |
2707 | | void SetCachedSize(int size) const final; |
2708 | | void InternalSwap(AttListDecl* other); |
2709 | | |
2710 | | private: |
2711 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2712 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2713 | 0 | return "xmlProtoFuzzer.AttListDecl"; |
2714 | 0 | } |
2715 | | protected: |
2716 | | explicit AttListDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2717 | | bool is_message_owned = false); |
2718 | | public: |
2719 | | |
2720 | | static const ClassData _class_data_; |
2721 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2722 | | |
2723 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2724 | | |
2725 | | // nested types ---------------------------------------------------- |
2726 | | |
2727 | | // accessors ------------------------------------------------------- |
2728 | | |
2729 | | enum : int { |
2730 | | kAttdefsFieldNumber = 2, |
2731 | | kNameFieldNumber = 1, |
2732 | | }; |
2733 | | // repeated .xmlProtoFuzzer.AttDef attdefs = 2; |
2734 | | int attdefs_size() const; |
2735 | | private: |
2736 | | int _internal_attdefs_size() const; |
2737 | | public: |
2738 | | void clear_attdefs(); |
2739 | | ::xmlProtoFuzzer::AttDef* mutable_attdefs(int index); |
2740 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::AttDef >* |
2741 | | mutable_attdefs(); |
2742 | | private: |
2743 | | const ::xmlProtoFuzzer::AttDef& _internal_attdefs(int index) const; |
2744 | | ::xmlProtoFuzzer::AttDef* _internal_add_attdefs(); |
2745 | | public: |
2746 | | const ::xmlProtoFuzzer::AttDef& attdefs(int index) const; |
2747 | | ::xmlProtoFuzzer::AttDef* add_attdefs(); |
2748 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::AttDef >& |
2749 | | attdefs() const; |
2750 | | |
2751 | | // string name = 1; |
2752 | | void clear_name(); |
2753 | | const std::string& name() const; |
2754 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
2755 | | void set_name(ArgT0&& arg0, ArgT... args); |
2756 | | std::string* mutable_name(); |
2757 | | PROTOBUF_NODISCARD std::string* release_name(); |
2758 | | void set_allocated_name(std::string* name); |
2759 | | private: |
2760 | | const std::string& _internal_name() const; |
2761 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
2762 | | std::string* _internal_mutable_name(); |
2763 | | public: |
2764 | | |
2765 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.AttListDecl) |
2766 | | private: |
2767 | | class _Internal; |
2768 | | |
2769 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2770 | | typedef void InternalArenaConstructable_; |
2771 | | typedef void DestructorSkippable_; |
2772 | | struct Impl_ { |
2773 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::AttDef > attdefs_; |
2774 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
2775 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
2776 | | }; |
2777 | | union { Impl_ _impl_; }; |
2778 | | friend struct ::TableStruct_xml_2eproto; |
2779 | | }; |
2780 | | // ------------------------------------------------------------------- |
2781 | | |
2782 | | class NotationDecl final : |
2783 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.NotationDecl) */ { |
2784 | | public: |
2785 | 0 | inline NotationDecl() : NotationDecl(nullptr) {} |
2786 | | ~NotationDecl() override; |
2787 | | explicit PROTOBUF_CONSTEXPR NotationDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
2788 | | |
2789 | | NotationDecl(const NotationDecl& from); |
2790 | | NotationDecl(NotationDecl&& from) noexcept |
2791 | 0 | : NotationDecl() { |
2792 | 0 | *this = ::std::move(from); |
2793 | 0 | } |
2794 | | |
2795 | 0 | inline NotationDecl& operator=(const NotationDecl& from) { |
2796 | 0 | CopyFrom(from); |
2797 | 0 | return *this; |
2798 | 0 | } |
2799 | 0 | inline NotationDecl& operator=(NotationDecl&& from) noexcept { |
2800 | 0 | if (this == &from) return *this; |
2801 | 0 | if (GetOwningArena() == from.GetOwningArena() |
2802 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
2803 | 0 | && GetOwningArena() != nullptr |
2804 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
2805 | 0 | ) { |
2806 | 0 | InternalSwap(&from); |
2807 | 0 | } else { |
2808 | 0 | CopyFrom(from); |
2809 | 0 | } |
2810 | 0 | return *this; |
2811 | 0 | } |
2812 | | |
2813 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
2814 | 0 | return GetDescriptor(); |
2815 | 0 | } |
2816 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
2817 | 0 | return default_instance().GetMetadata().descriptor; |
2818 | 0 | } |
2819 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
2820 | 0 | return default_instance().GetMetadata().reflection; |
2821 | 0 | } |
2822 | 0 | static const NotationDecl& default_instance() { |
2823 | 0 | return *internal_default_instance(); |
2824 | 0 | } |
2825 | | enum NotationOneofCase { |
2826 | | kExt = 2, |
2827 | | kPub = 3, |
2828 | | kFuzz = 4, |
2829 | | NOTATION_ONEOF_NOT_SET = 0, |
2830 | | }; |
2831 | | |
2832 | 0 | static inline const NotationDecl* internal_default_instance() { |
2833 | 0 | return reinterpret_cast<const NotationDecl*>( |
2834 | 0 | &_NotationDecl_default_instance_); |
2835 | 0 | } |
2836 | | static constexpr int kIndexInFileMessages = |
2837 | | 11; |
2838 | | |
2839 | 0 | friend void swap(NotationDecl& a, NotationDecl& b) { |
2840 | 0 | a.Swap(&b); |
2841 | 0 | } |
2842 | 0 | inline void Swap(NotationDecl* other) { |
2843 | 0 | if (other == this) return; |
2844 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
2845 | 0 | if (GetOwningArena() != nullptr && |
2846 | 0 | GetOwningArena() == other->GetOwningArena()) { |
2847 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
2848 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
2849 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
2850 | 0 | InternalSwap(other); |
2851 | 0 | } else { |
2852 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
2853 | 0 | } |
2854 | 0 | } |
2855 | 0 | void UnsafeArenaSwap(NotationDecl* other) { |
2856 | 0 | if (other == this) return; |
2857 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
2858 | 0 | InternalSwap(other); |
2859 | 0 | } |
2860 | | |
2861 | | // implements Message ---------------------------------------------- |
2862 | | |
2863 | 5.63k | NotationDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
2864 | 5.63k | return CreateMaybeMessage<NotationDecl>(arena); |
2865 | 5.63k | } |
2866 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
2867 | | void CopyFrom(const NotationDecl& from); |
2868 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
2869 | 0 | void MergeFrom( const NotationDecl& from) { |
2870 | 0 | NotationDecl::MergeImpl(*this, from); |
2871 | 0 | } |
2872 | | private: |
2873 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
2874 | | public: |
2875 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
2876 | | bool IsInitialized() const final; |
2877 | | |
2878 | | size_t ByteSizeLong() const final; |
2879 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
2880 | | uint8_t* _InternalSerialize( |
2881 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
2882 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
2883 | | |
2884 | | private: |
2885 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
2886 | | void SharedDtor(); |
2887 | | void SetCachedSize(int size) const final; |
2888 | | void InternalSwap(NotationDecl* other); |
2889 | | |
2890 | | private: |
2891 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
2892 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
2893 | 0 | return "xmlProtoFuzzer.NotationDecl"; |
2894 | 0 | } |
2895 | | protected: |
2896 | | explicit NotationDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
2897 | | bool is_message_owned = false); |
2898 | | public: |
2899 | | |
2900 | | static const ClassData _class_data_; |
2901 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
2902 | | |
2903 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
2904 | | |
2905 | | // nested types ---------------------------------------------------- |
2906 | | |
2907 | | // accessors ------------------------------------------------------- |
2908 | | |
2909 | | enum : int { |
2910 | | kNameFieldNumber = 1, |
2911 | | kExtFieldNumber = 2, |
2912 | | kPubFieldNumber = 3, |
2913 | | kFuzzFieldNumber = 4, |
2914 | | }; |
2915 | | // string name = 1; |
2916 | | void clear_name(); |
2917 | | const std::string& name() const; |
2918 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
2919 | | void set_name(ArgT0&& arg0, ArgT... args); |
2920 | | std::string* mutable_name(); |
2921 | | PROTOBUF_NODISCARD std::string* release_name(); |
2922 | | void set_allocated_name(std::string* name); |
2923 | | private: |
2924 | | const std::string& _internal_name() const; |
2925 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
2926 | | std::string* _internal_mutable_name(); |
2927 | | public: |
2928 | | |
2929 | | // .xmlProtoFuzzer.ExternalId ext = 2; |
2930 | | bool has_ext() const; |
2931 | | private: |
2932 | | bool _internal_has_ext() const; |
2933 | | public: |
2934 | | void clear_ext(); |
2935 | | const ::xmlProtoFuzzer::ExternalId& ext() const; |
2936 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ExternalId* release_ext(); |
2937 | | ::xmlProtoFuzzer::ExternalId* mutable_ext(); |
2938 | | void set_allocated_ext(::xmlProtoFuzzer::ExternalId* ext); |
2939 | | private: |
2940 | | const ::xmlProtoFuzzer::ExternalId& _internal_ext() const; |
2941 | | ::xmlProtoFuzzer::ExternalId* _internal_mutable_ext(); |
2942 | | public: |
2943 | | void unsafe_arena_set_allocated_ext( |
2944 | | ::xmlProtoFuzzer::ExternalId* ext); |
2945 | | ::xmlProtoFuzzer::ExternalId* unsafe_arena_release_ext(); |
2946 | | |
2947 | | // string pub = 3; |
2948 | | bool has_pub() const; |
2949 | | private: |
2950 | | bool _internal_has_pub() const; |
2951 | | public: |
2952 | | void clear_pub(); |
2953 | | const std::string& pub() const; |
2954 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
2955 | | void set_pub(ArgT0&& arg0, ArgT... args); |
2956 | | std::string* mutable_pub(); |
2957 | | PROTOBUF_NODISCARD std::string* release_pub(); |
2958 | | void set_allocated_pub(std::string* pub); |
2959 | | private: |
2960 | | const std::string& _internal_pub() const; |
2961 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_pub(const std::string& value); |
2962 | | std::string* _internal_mutable_pub(); |
2963 | | public: |
2964 | | |
2965 | | // string fuzz = 4; |
2966 | | bool has_fuzz() const; |
2967 | | private: |
2968 | | bool _internal_has_fuzz() const; |
2969 | | public: |
2970 | | void clear_fuzz(); |
2971 | | const std::string& fuzz() const; |
2972 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
2973 | | void set_fuzz(ArgT0&& arg0, ArgT... args); |
2974 | | std::string* mutable_fuzz(); |
2975 | | PROTOBUF_NODISCARD std::string* release_fuzz(); |
2976 | | void set_allocated_fuzz(std::string* fuzz); |
2977 | | private: |
2978 | | const std::string& _internal_fuzz() const; |
2979 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_fuzz(const std::string& value); |
2980 | | std::string* _internal_mutable_fuzz(); |
2981 | | public: |
2982 | | |
2983 | | void clear_notation_oneof(); |
2984 | | NotationOneofCase notation_oneof_case() const; |
2985 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.NotationDecl) |
2986 | | private: |
2987 | | class _Internal; |
2988 | | void set_has_ext(); |
2989 | | void set_has_pub(); |
2990 | | void set_has_fuzz(); |
2991 | | |
2992 | | inline bool has_notation_oneof() const; |
2993 | | inline void clear_has_notation_oneof(); |
2994 | | |
2995 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
2996 | | typedef void InternalArenaConstructable_; |
2997 | | typedef void DestructorSkippable_; |
2998 | | struct Impl_ { |
2999 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
3000 | | union NotationOneofUnion { |
3001 | 5.63k | constexpr NotationOneofUnion() : _constinit_{} {} |
3002 | | ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; |
3003 | | ::xmlProtoFuzzer::ExternalId* ext_; |
3004 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pub_; |
3005 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fuzz_; |
3006 | | } notation_oneof_; |
3007 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3008 | | uint32_t _oneof_case_[1]; |
3009 | | |
3010 | | }; |
3011 | | union { Impl_ _impl_; }; |
3012 | | friend struct ::TableStruct_xml_2eproto; |
3013 | | }; |
3014 | | // ------------------------------------------------------------------- |
3015 | | |
3016 | | class EntityValue final : |
3017 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.EntityValue) */ { |
3018 | | public: |
3019 | 0 | inline EntityValue() : EntityValue(nullptr) {} |
3020 | | ~EntityValue() override; |
3021 | | explicit PROTOBUF_CONSTEXPR EntityValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
3022 | | |
3023 | | EntityValue(const EntityValue& from); |
3024 | | EntityValue(EntityValue&& from) noexcept |
3025 | 0 | : EntityValue() { |
3026 | 0 | *this = ::std::move(from); |
3027 | 0 | } |
3028 | | |
3029 | 0 | inline EntityValue& operator=(const EntityValue& from) { |
3030 | 0 | CopyFrom(from); |
3031 | 0 | return *this; |
3032 | 0 | } |
3033 | 0 | inline EntityValue& operator=(EntityValue&& from) noexcept { |
3034 | 0 | if (this == &from) return *this; |
3035 | 0 | if (GetOwningArena() == from.GetOwningArena() |
3036 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3037 | 0 | && GetOwningArena() != nullptr |
3038 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3039 | 0 | ) { |
3040 | 0 | InternalSwap(&from); |
3041 | 0 | } else { |
3042 | 0 | CopyFrom(from); |
3043 | 0 | } |
3044 | 0 | return *this; |
3045 | 0 | } |
3046 | | |
3047 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3048 | 0 | return GetDescriptor(); |
3049 | 0 | } |
3050 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3051 | 0 | return default_instance().GetMetadata().descriptor; |
3052 | 0 | } |
3053 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3054 | 0 | return default_instance().GetMetadata().reflection; |
3055 | 0 | } |
3056 | 0 | static const EntityValue& default_instance() { |
3057 | 0 | return *internal_default_instance(); |
3058 | 0 | } |
3059 | 0 | static inline const EntityValue* internal_default_instance() { |
3060 | 0 | return reinterpret_cast<const EntityValue*>( |
3061 | 0 | &_EntityValue_default_instance_); |
3062 | 0 | } |
3063 | | static constexpr int kIndexInFileMessages = |
3064 | | 12; |
3065 | | |
3066 | 0 | friend void swap(EntityValue& a, EntityValue& b) { |
3067 | 0 | a.Swap(&b); |
3068 | 0 | } |
3069 | 0 | inline void Swap(EntityValue* other) { |
3070 | 0 | if (other == this) return; |
3071 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3072 | 0 | if (GetOwningArena() != nullptr && |
3073 | 0 | GetOwningArena() == other->GetOwningArena()) { |
3074 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3075 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
3076 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3077 | 0 | InternalSwap(other); |
3078 | 0 | } else { |
3079 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3080 | 0 | } |
3081 | 0 | } |
3082 | 0 | void UnsafeArenaSwap(EntityValue* other) { |
3083 | 0 | if (other == this) return; |
3084 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
3085 | 0 | InternalSwap(other); |
3086 | 0 | } |
3087 | | |
3088 | | // implements Message ---------------------------------------------- |
3089 | | |
3090 | 4.36k | EntityValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
3091 | 4.36k | return CreateMaybeMessage<EntityValue>(arena); |
3092 | 4.36k | } |
3093 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
3094 | | void CopyFrom(const EntityValue& from); |
3095 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
3096 | 0 | void MergeFrom( const EntityValue& from) { |
3097 | 0 | EntityValue::MergeImpl(*this, from); |
3098 | 0 | } |
3099 | | private: |
3100 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
3101 | | public: |
3102 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3103 | | bool IsInitialized() const final; |
3104 | | |
3105 | | size_t ByteSizeLong() const final; |
3106 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3107 | | uint8_t* _InternalSerialize( |
3108 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3109 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
3110 | | |
3111 | | private: |
3112 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
3113 | | void SharedDtor(); |
3114 | | void SetCachedSize(int size) const final; |
3115 | | void InternalSwap(EntityValue* other); |
3116 | | |
3117 | | private: |
3118 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3119 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3120 | 0 | return "xmlProtoFuzzer.EntityValue"; |
3121 | 0 | } |
3122 | | protected: |
3123 | | explicit EntityValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
3124 | | bool is_message_owned = false); |
3125 | | public: |
3126 | | |
3127 | | static const ClassData _class_data_; |
3128 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
3129 | | |
3130 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3131 | | |
3132 | | // nested types ---------------------------------------------------- |
3133 | | |
3134 | | typedef EntityValue_Type Type; |
3135 | | static constexpr Type ENTITY = |
3136 | | EntityValue_Type_ENTITY; |
3137 | | static constexpr Type CHAR = |
3138 | | EntityValue_Type_CHAR; |
3139 | | static constexpr Type PEREF = |
3140 | | EntityValue_Type_PEREF; |
3141 | | static constexpr Type FUZZ = |
3142 | | EntityValue_Type_FUZZ; |
3143 | 4.19k | static inline bool Type_IsValid(int value) { |
3144 | 4.19k | return EntityValue_Type_IsValid(value); |
3145 | 4.19k | } |
3146 | | static constexpr Type Type_MIN = |
3147 | | EntityValue_Type_Type_MIN; |
3148 | | static constexpr Type Type_MAX = |
3149 | | EntityValue_Type_Type_MAX; |
3150 | | static constexpr int Type_ARRAYSIZE = |
3151 | | EntityValue_Type_Type_ARRAYSIZE; |
3152 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
3153 | 0 | Type_descriptor() { |
3154 | 0 | return EntityValue_Type_descriptor(); |
3155 | 0 | } |
3156 | | template<typename T> |
3157 | | static inline const std::string& Type_Name(T enum_t_value) { |
3158 | | static_assert(::std::is_same<T, Type>::value || |
3159 | | ::std::is_integral<T>::value, |
3160 | | "Incorrect type passed to function Type_Name."); |
3161 | | return EntityValue_Type_Name(enum_t_value); |
3162 | | } |
3163 | | static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
3164 | 0 | Type* value) { |
3165 | 0 | return EntityValue_Type_Parse(name, value); |
3166 | 0 | } |
3167 | | |
3168 | | // accessors ------------------------------------------------------- |
3169 | | |
3170 | | enum : int { |
3171 | | kNameFieldNumber = 2, |
3172 | | kTypeFieldNumber = 1, |
3173 | | }; |
3174 | | // repeated string name = 2; |
3175 | | int name_size() const; |
3176 | | private: |
3177 | | int _internal_name_size() const; |
3178 | | public: |
3179 | | void clear_name(); |
3180 | | const std::string& name(int index) const; |
3181 | | std::string* mutable_name(int index); |
3182 | | void set_name(int index, const std::string& value); |
3183 | | void set_name(int index, std::string&& value); |
3184 | | void set_name(int index, const char* value); |
3185 | | void set_name(int index, const char* value, size_t size); |
3186 | | std::string* add_name(); |
3187 | | void add_name(const std::string& value); |
3188 | | void add_name(std::string&& value); |
3189 | | void add_name(const char* value); |
3190 | | void add_name(const char* value, size_t size); |
3191 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& name() const; |
3192 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_name(); |
3193 | | private: |
3194 | | const std::string& _internal_name(int index) const; |
3195 | | std::string* _internal_add_name(); |
3196 | | public: |
3197 | | |
3198 | | // .xmlProtoFuzzer.EntityValue.Type type = 1; |
3199 | | void clear_type(); |
3200 | | ::xmlProtoFuzzer::EntityValue_Type type() const; |
3201 | | void set_type(::xmlProtoFuzzer::EntityValue_Type value); |
3202 | | private: |
3203 | | ::xmlProtoFuzzer::EntityValue_Type _internal_type() const; |
3204 | | void _internal_set_type(::xmlProtoFuzzer::EntityValue_Type value); |
3205 | | public: |
3206 | | |
3207 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.EntityValue) |
3208 | | private: |
3209 | | class _Internal; |
3210 | | |
3211 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3212 | | typedef void InternalArenaConstructable_; |
3213 | | typedef void DestructorSkippable_; |
3214 | | struct Impl_ { |
3215 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> name_; |
3216 | | int type_; |
3217 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3218 | | }; |
3219 | | union { Impl_ _impl_; }; |
3220 | | friend struct ::TableStruct_xml_2eproto; |
3221 | | }; |
3222 | | // ------------------------------------------------------------------- |
3223 | | |
3224 | | class NDataDecl final : |
3225 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.NDataDecl) */ { |
3226 | | public: |
3227 | 0 | inline NDataDecl() : NDataDecl(nullptr) {} |
3228 | | ~NDataDecl() override; |
3229 | | explicit PROTOBUF_CONSTEXPR NDataDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
3230 | | |
3231 | | NDataDecl(const NDataDecl& from); |
3232 | | NDataDecl(NDataDecl&& from) noexcept |
3233 | 0 | : NDataDecl() { |
3234 | 0 | *this = ::std::move(from); |
3235 | 0 | } |
3236 | | |
3237 | 0 | inline NDataDecl& operator=(const NDataDecl& from) { |
3238 | 0 | CopyFrom(from); |
3239 | 0 | return *this; |
3240 | 0 | } |
3241 | 0 | inline NDataDecl& operator=(NDataDecl&& from) noexcept { |
3242 | 0 | if (this == &from) return *this; |
3243 | 0 | if (GetOwningArena() == from.GetOwningArena() |
3244 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3245 | 0 | && GetOwningArena() != nullptr |
3246 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3247 | 0 | ) { |
3248 | 0 | InternalSwap(&from); |
3249 | 0 | } else { |
3250 | 0 | CopyFrom(from); |
3251 | 0 | } |
3252 | 0 | return *this; |
3253 | 0 | } |
3254 | | |
3255 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3256 | 0 | return GetDescriptor(); |
3257 | 0 | } |
3258 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3259 | 0 | return default_instance().GetMetadata().descriptor; |
3260 | 0 | } |
3261 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3262 | 0 | return default_instance().GetMetadata().reflection; |
3263 | 0 | } |
3264 | 0 | static const NDataDecl& default_instance() { |
3265 | 0 | return *internal_default_instance(); |
3266 | 0 | } |
3267 | 0 | static inline const NDataDecl* internal_default_instance() { |
3268 | 0 | return reinterpret_cast<const NDataDecl*>( |
3269 | 0 | &_NDataDecl_default_instance_); |
3270 | 0 | } |
3271 | | static constexpr int kIndexInFileMessages = |
3272 | | 13; |
3273 | | |
3274 | 0 | friend void swap(NDataDecl& a, NDataDecl& b) { |
3275 | 0 | a.Swap(&b); |
3276 | 0 | } |
3277 | 0 | inline void Swap(NDataDecl* other) { |
3278 | 0 | if (other == this) return; |
3279 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3280 | 0 | if (GetOwningArena() != nullptr && |
3281 | 0 | GetOwningArena() == other->GetOwningArena()) { |
3282 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3283 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
3284 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3285 | 0 | InternalSwap(other); |
3286 | 0 | } else { |
3287 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3288 | 0 | } |
3289 | 0 | } |
3290 | 0 | void UnsafeArenaSwap(NDataDecl* other) { |
3291 | 0 | if (other == this) return; |
3292 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
3293 | 0 | InternalSwap(other); |
3294 | 0 | } |
3295 | | |
3296 | | // implements Message ---------------------------------------------- |
3297 | | |
3298 | 1.71k | NDataDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
3299 | 1.71k | return CreateMaybeMessage<NDataDecl>(arena); |
3300 | 1.71k | } |
3301 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
3302 | | void CopyFrom(const NDataDecl& from); |
3303 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
3304 | 0 | void MergeFrom( const NDataDecl& from) { |
3305 | 0 | NDataDecl::MergeImpl(*this, from); |
3306 | 0 | } |
3307 | | private: |
3308 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
3309 | | public: |
3310 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3311 | | bool IsInitialized() const final; |
3312 | | |
3313 | | size_t ByteSizeLong() const final; |
3314 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3315 | | uint8_t* _InternalSerialize( |
3316 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3317 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
3318 | | |
3319 | | private: |
3320 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
3321 | | void SharedDtor(); |
3322 | | void SetCachedSize(int size) const final; |
3323 | | void InternalSwap(NDataDecl* other); |
3324 | | |
3325 | | private: |
3326 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3327 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3328 | 0 | return "xmlProtoFuzzer.NDataDecl"; |
3329 | 0 | } |
3330 | | protected: |
3331 | | explicit NDataDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
3332 | | bool is_message_owned = false); |
3333 | | public: |
3334 | | |
3335 | | static const ClassData _class_data_; |
3336 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
3337 | | |
3338 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3339 | | |
3340 | | // nested types ---------------------------------------------------- |
3341 | | |
3342 | | // accessors ------------------------------------------------------- |
3343 | | |
3344 | | enum : int { |
3345 | | kNameFieldNumber = 1, |
3346 | | }; |
3347 | | // string name = 1; |
3348 | | void clear_name(); |
3349 | | const std::string& name() const; |
3350 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
3351 | | void set_name(ArgT0&& arg0, ArgT... args); |
3352 | | std::string* mutable_name(); |
3353 | | PROTOBUF_NODISCARD std::string* release_name(); |
3354 | | void set_allocated_name(std::string* name); |
3355 | | private: |
3356 | | const std::string& _internal_name() const; |
3357 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
3358 | | std::string* _internal_mutable_name(); |
3359 | | public: |
3360 | | |
3361 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.NDataDecl) |
3362 | | private: |
3363 | | class _Internal; |
3364 | | |
3365 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3366 | | typedef void InternalArenaConstructable_; |
3367 | | typedef void DestructorSkippable_; |
3368 | | struct Impl_ { |
3369 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
3370 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3371 | | }; |
3372 | | union { Impl_ _impl_; }; |
3373 | | friend struct ::TableStruct_xml_2eproto; |
3374 | | }; |
3375 | | // ------------------------------------------------------------------- |
3376 | | |
3377 | | class EntityDef final : |
3378 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.EntityDef) */ { |
3379 | | public: |
3380 | 0 | inline EntityDef() : EntityDef(nullptr) {} |
3381 | | ~EntityDef() override; |
3382 | | explicit PROTOBUF_CONSTEXPR EntityDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
3383 | | |
3384 | | EntityDef(const EntityDef& from); |
3385 | | EntityDef(EntityDef&& from) noexcept |
3386 | 0 | : EntityDef() { |
3387 | 0 | *this = ::std::move(from); |
3388 | 0 | } |
3389 | | |
3390 | 0 | inline EntityDef& operator=(const EntityDef& from) { |
3391 | 0 | CopyFrom(from); |
3392 | 0 | return *this; |
3393 | 0 | } |
3394 | 0 | inline EntityDef& operator=(EntityDef&& from) noexcept { |
3395 | 0 | if (this == &from) return *this; |
3396 | 0 | if (GetOwningArena() == from.GetOwningArena() |
3397 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3398 | 0 | && GetOwningArena() != nullptr |
3399 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3400 | 0 | ) { |
3401 | 0 | InternalSwap(&from); |
3402 | 0 | } else { |
3403 | 0 | CopyFrom(from); |
3404 | 0 | } |
3405 | 0 | return *this; |
3406 | 0 | } |
3407 | | |
3408 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3409 | 0 | return GetDescriptor(); |
3410 | 0 | } |
3411 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3412 | 0 | return default_instance().GetMetadata().descriptor; |
3413 | 0 | } |
3414 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3415 | 0 | return default_instance().GetMetadata().reflection; |
3416 | 0 | } |
3417 | 0 | static const EntityDef& default_instance() { |
3418 | 0 | return *internal_default_instance(); |
3419 | 0 | } |
3420 | | enum EntityOneofCase { |
3421 | | kExt = 1, |
3422 | | kVal = 2, |
3423 | | ENTITY_ONEOF_NOT_SET = 0, |
3424 | | }; |
3425 | | |
3426 | 11.8k | static inline const EntityDef* internal_default_instance() { |
3427 | 11.8k | return reinterpret_cast<const EntityDef*>( |
3428 | 11.8k | &_EntityDef_default_instance_); |
3429 | 11.8k | } |
3430 | | static constexpr int kIndexInFileMessages = |
3431 | | 14; |
3432 | | |
3433 | 0 | friend void swap(EntityDef& a, EntityDef& b) { |
3434 | 0 | a.Swap(&b); |
3435 | 0 | } |
3436 | 0 | inline void Swap(EntityDef* other) { |
3437 | 0 | if (other == this) return; |
3438 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3439 | 0 | if (GetOwningArena() != nullptr && |
3440 | 0 | GetOwningArena() == other->GetOwningArena()) { |
3441 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3442 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
3443 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3444 | 0 | InternalSwap(other); |
3445 | 0 | } else { |
3446 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3447 | 0 | } |
3448 | 0 | } |
3449 | 0 | void UnsafeArenaSwap(EntityDef* other) { |
3450 | 0 | if (other == this) return; |
3451 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
3452 | 0 | InternalSwap(other); |
3453 | 0 | } |
3454 | | |
3455 | | // implements Message ---------------------------------------------- |
3456 | | |
3457 | 7.68k | EntityDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
3458 | 7.68k | return CreateMaybeMessage<EntityDef>(arena); |
3459 | 7.68k | } |
3460 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
3461 | | void CopyFrom(const EntityDef& from); |
3462 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
3463 | 0 | void MergeFrom( const EntityDef& from) { |
3464 | 0 | EntityDef::MergeImpl(*this, from); |
3465 | 0 | } |
3466 | | private: |
3467 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
3468 | | public: |
3469 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3470 | | bool IsInitialized() const final; |
3471 | | |
3472 | | size_t ByteSizeLong() const final; |
3473 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3474 | | uint8_t* _InternalSerialize( |
3475 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3476 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
3477 | | |
3478 | | private: |
3479 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
3480 | | void SharedDtor(); |
3481 | | void SetCachedSize(int size) const final; |
3482 | | void InternalSwap(EntityDef* other); |
3483 | | |
3484 | | private: |
3485 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3486 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3487 | 0 | return "xmlProtoFuzzer.EntityDef"; |
3488 | 0 | } |
3489 | | protected: |
3490 | | explicit EntityDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
3491 | | bool is_message_owned = false); |
3492 | | public: |
3493 | | |
3494 | | static const ClassData _class_data_; |
3495 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
3496 | | |
3497 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3498 | | |
3499 | | // nested types ---------------------------------------------------- |
3500 | | |
3501 | | // accessors ------------------------------------------------------- |
3502 | | |
3503 | | enum : int { |
3504 | | kNdataFieldNumber = 3, |
3505 | | kExtFieldNumber = 1, |
3506 | | kValFieldNumber = 2, |
3507 | | }; |
3508 | | // .xmlProtoFuzzer.NDataDecl ndata = 3; |
3509 | | bool has_ndata() const; |
3510 | | private: |
3511 | | bool _internal_has_ndata() const; |
3512 | | public: |
3513 | | void clear_ndata(); |
3514 | | const ::xmlProtoFuzzer::NDataDecl& ndata() const; |
3515 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::NDataDecl* release_ndata(); |
3516 | | ::xmlProtoFuzzer::NDataDecl* mutable_ndata(); |
3517 | | void set_allocated_ndata(::xmlProtoFuzzer::NDataDecl* ndata); |
3518 | | private: |
3519 | | const ::xmlProtoFuzzer::NDataDecl& _internal_ndata() const; |
3520 | | ::xmlProtoFuzzer::NDataDecl* _internal_mutable_ndata(); |
3521 | | public: |
3522 | | void unsafe_arena_set_allocated_ndata( |
3523 | | ::xmlProtoFuzzer::NDataDecl* ndata); |
3524 | | ::xmlProtoFuzzer::NDataDecl* unsafe_arena_release_ndata(); |
3525 | | |
3526 | | // .xmlProtoFuzzer.ExternalId ext = 1; |
3527 | | bool has_ext() const; |
3528 | | private: |
3529 | | bool _internal_has_ext() const; |
3530 | | public: |
3531 | | void clear_ext(); |
3532 | | const ::xmlProtoFuzzer::ExternalId& ext() const; |
3533 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ExternalId* release_ext(); |
3534 | | ::xmlProtoFuzzer::ExternalId* mutable_ext(); |
3535 | | void set_allocated_ext(::xmlProtoFuzzer::ExternalId* ext); |
3536 | | private: |
3537 | | const ::xmlProtoFuzzer::ExternalId& _internal_ext() const; |
3538 | | ::xmlProtoFuzzer::ExternalId* _internal_mutable_ext(); |
3539 | | public: |
3540 | | void unsafe_arena_set_allocated_ext( |
3541 | | ::xmlProtoFuzzer::ExternalId* ext); |
3542 | | ::xmlProtoFuzzer::ExternalId* unsafe_arena_release_ext(); |
3543 | | |
3544 | | // .xmlProtoFuzzer.EntityValue val = 2; |
3545 | | bool has_val() const; |
3546 | | private: |
3547 | | bool _internal_has_val() const; |
3548 | | public: |
3549 | | void clear_val(); |
3550 | | const ::xmlProtoFuzzer::EntityValue& val() const; |
3551 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::EntityValue* release_val(); |
3552 | | ::xmlProtoFuzzer::EntityValue* mutable_val(); |
3553 | | void set_allocated_val(::xmlProtoFuzzer::EntityValue* val); |
3554 | | private: |
3555 | | const ::xmlProtoFuzzer::EntityValue& _internal_val() const; |
3556 | | ::xmlProtoFuzzer::EntityValue* _internal_mutable_val(); |
3557 | | public: |
3558 | | void unsafe_arena_set_allocated_val( |
3559 | | ::xmlProtoFuzzer::EntityValue* val); |
3560 | | ::xmlProtoFuzzer::EntityValue* unsafe_arena_release_val(); |
3561 | | |
3562 | | void clear_entity_oneof(); |
3563 | | EntityOneofCase entity_oneof_case() const; |
3564 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.EntityDef) |
3565 | | private: |
3566 | | class _Internal; |
3567 | | void set_has_ext(); |
3568 | | void set_has_val(); |
3569 | | |
3570 | | inline bool has_entity_oneof() const; |
3571 | | inline void clear_has_entity_oneof(); |
3572 | | |
3573 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3574 | | typedef void InternalArenaConstructable_; |
3575 | | typedef void DestructorSkippable_; |
3576 | | struct Impl_ { |
3577 | | ::xmlProtoFuzzer::NDataDecl* ndata_; |
3578 | | union EntityOneofUnion { |
3579 | 7.68k | constexpr EntityOneofUnion() : _constinit_{} {} |
3580 | | ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; |
3581 | | ::xmlProtoFuzzer::ExternalId* ext_; |
3582 | | ::xmlProtoFuzzer::EntityValue* val_; |
3583 | | } entity_oneof_; |
3584 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3585 | | uint32_t _oneof_case_[1]; |
3586 | | |
3587 | | }; |
3588 | | union { Impl_ _impl_; }; |
3589 | | friend struct ::TableStruct_xml_2eproto; |
3590 | | }; |
3591 | | // ------------------------------------------------------------------- |
3592 | | |
3593 | | class PEDef final : |
3594 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.PEDef) */ { |
3595 | | public: |
3596 | 0 | inline PEDef() : PEDef(nullptr) {} |
3597 | | ~PEDef() override; |
3598 | | explicit PROTOBUF_CONSTEXPR PEDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
3599 | | |
3600 | | PEDef(const PEDef& from); |
3601 | | PEDef(PEDef&& from) noexcept |
3602 | 0 | : PEDef() { |
3603 | 0 | *this = ::std::move(from); |
3604 | 0 | } |
3605 | | |
3606 | 0 | inline PEDef& operator=(const PEDef& from) { |
3607 | 0 | CopyFrom(from); |
3608 | 0 | return *this; |
3609 | 0 | } |
3610 | 0 | inline PEDef& operator=(PEDef&& from) noexcept { |
3611 | 0 | if (this == &from) return *this; |
3612 | 0 | if (GetOwningArena() == from.GetOwningArena() |
3613 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3614 | 0 | && GetOwningArena() != nullptr |
3615 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3616 | 0 | ) { |
3617 | 0 | InternalSwap(&from); |
3618 | 0 | } else { |
3619 | 0 | CopyFrom(from); |
3620 | 0 | } |
3621 | 0 | return *this; |
3622 | 0 | } |
3623 | | |
3624 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3625 | 0 | return GetDescriptor(); |
3626 | 0 | } |
3627 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3628 | 0 | return default_instance().GetMetadata().descriptor; |
3629 | 0 | } |
3630 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3631 | 0 | return default_instance().GetMetadata().reflection; |
3632 | 0 | } |
3633 | 0 | static const PEDef& default_instance() { |
3634 | 0 | return *internal_default_instance(); |
3635 | 0 | } |
3636 | | enum PedefOneofCase { |
3637 | | kVal = 1, |
3638 | | kId = 2, |
3639 | | PEDEF_ONEOF_NOT_SET = 0, |
3640 | | }; |
3641 | | |
3642 | 0 | static inline const PEDef* internal_default_instance() { |
3643 | 0 | return reinterpret_cast<const PEDef*>( |
3644 | 0 | &_PEDef_default_instance_); |
3645 | 0 | } |
3646 | | static constexpr int kIndexInFileMessages = |
3647 | | 15; |
3648 | | |
3649 | 0 | friend void swap(PEDef& a, PEDef& b) { |
3650 | 0 | a.Swap(&b); |
3651 | 0 | } |
3652 | 0 | inline void Swap(PEDef* other) { |
3653 | 0 | if (other == this) return; |
3654 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3655 | 0 | if (GetOwningArena() != nullptr && |
3656 | 0 | GetOwningArena() == other->GetOwningArena()) { |
3657 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3658 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
3659 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3660 | 0 | InternalSwap(other); |
3661 | 0 | } else { |
3662 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3663 | 0 | } |
3664 | 0 | } |
3665 | 0 | void UnsafeArenaSwap(PEDef* other) { |
3666 | 0 | if (other == this) return; |
3667 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
3668 | 0 | InternalSwap(other); |
3669 | 0 | } |
3670 | | |
3671 | | // implements Message ---------------------------------------------- |
3672 | | |
3673 | 3.42k | PEDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
3674 | 3.42k | return CreateMaybeMessage<PEDef>(arena); |
3675 | 3.42k | } |
3676 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
3677 | | void CopyFrom(const PEDef& from); |
3678 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
3679 | 0 | void MergeFrom( const PEDef& from) { |
3680 | 0 | PEDef::MergeImpl(*this, from); |
3681 | 0 | } |
3682 | | private: |
3683 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
3684 | | public: |
3685 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3686 | | bool IsInitialized() const final; |
3687 | | |
3688 | | size_t ByteSizeLong() const final; |
3689 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3690 | | uint8_t* _InternalSerialize( |
3691 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3692 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
3693 | | |
3694 | | private: |
3695 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
3696 | | void SharedDtor(); |
3697 | | void SetCachedSize(int size) const final; |
3698 | | void InternalSwap(PEDef* other); |
3699 | | |
3700 | | private: |
3701 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3702 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3703 | 0 | return "xmlProtoFuzzer.PEDef"; |
3704 | 0 | } |
3705 | | protected: |
3706 | | explicit PEDef(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
3707 | | bool is_message_owned = false); |
3708 | | public: |
3709 | | |
3710 | | static const ClassData _class_data_; |
3711 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
3712 | | |
3713 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3714 | | |
3715 | | // nested types ---------------------------------------------------- |
3716 | | |
3717 | | // accessors ------------------------------------------------------- |
3718 | | |
3719 | | enum : int { |
3720 | | kValFieldNumber = 1, |
3721 | | kIdFieldNumber = 2, |
3722 | | }; |
3723 | | // .xmlProtoFuzzer.EntityValue val = 1; |
3724 | | bool has_val() const; |
3725 | | private: |
3726 | | bool _internal_has_val() const; |
3727 | | public: |
3728 | | void clear_val(); |
3729 | | const ::xmlProtoFuzzer::EntityValue& val() const; |
3730 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::EntityValue* release_val(); |
3731 | | ::xmlProtoFuzzer::EntityValue* mutable_val(); |
3732 | | void set_allocated_val(::xmlProtoFuzzer::EntityValue* val); |
3733 | | private: |
3734 | | const ::xmlProtoFuzzer::EntityValue& _internal_val() const; |
3735 | | ::xmlProtoFuzzer::EntityValue* _internal_mutable_val(); |
3736 | | public: |
3737 | | void unsafe_arena_set_allocated_val( |
3738 | | ::xmlProtoFuzzer::EntityValue* val); |
3739 | | ::xmlProtoFuzzer::EntityValue* unsafe_arena_release_val(); |
3740 | | |
3741 | | // .xmlProtoFuzzer.ExternalId id = 2; |
3742 | | bool has_id() const; |
3743 | | private: |
3744 | | bool _internal_has_id() const; |
3745 | | public: |
3746 | | void clear_id(); |
3747 | | const ::xmlProtoFuzzer::ExternalId& id() const; |
3748 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ExternalId* release_id(); |
3749 | | ::xmlProtoFuzzer::ExternalId* mutable_id(); |
3750 | | void set_allocated_id(::xmlProtoFuzzer::ExternalId* id); |
3751 | | private: |
3752 | | const ::xmlProtoFuzzer::ExternalId& _internal_id() const; |
3753 | | ::xmlProtoFuzzer::ExternalId* _internal_mutable_id(); |
3754 | | public: |
3755 | | void unsafe_arena_set_allocated_id( |
3756 | | ::xmlProtoFuzzer::ExternalId* id); |
3757 | | ::xmlProtoFuzzer::ExternalId* unsafe_arena_release_id(); |
3758 | | |
3759 | | void clear_pedef_oneof(); |
3760 | | PedefOneofCase pedef_oneof_case() const; |
3761 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.PEDef) |
3762 | | private: |
3763 | | class _Internal; |
3764 | | void set_has_val(); |
3765 | | void set_has_id(); |
3766 | | |
3767 | | inline bool has_pedef_oneof() const; |
3768 | | inline void clear_has_pedef_oneof(); |
3769 | | |
3770 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
3771 | | typedef void InternalArenaConstructable_; |
3772 | | typedef void DestructorSkippable_; |
3773 | | struct Impl_ { |
3774 | | union PedefOneofUnion { |
3775 | 3.42k | constexpr PedefOneofUnion() : _constinit_{} {} |
3776 | | ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; |
3777 | | ::xmlProtoFuzzer::EntityValue* val_; |
3778 | | ::xmlProtoFuzzer::ExternalId* id_; |
3779 | | } pedef_oneof_; |
3780 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
3781 | | uint32_t _oneof_case_[1]; |
3782 | | |
3783 | | }; |
3784 | | union { Impl_ _impl_; }; |
3785 | | friend struct ::TableStruct_xml_2eproto; |
3786 | | }; |
3787 | | // ------------------------------------------------------------------- |
3788 | | |
3789 | | class EntityDecl final : |
3790 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.EntityDecl) */ { |
3791 | | public: |
3792 | 0 | inline EntityDecl() : EntityDecl(nullptr) {} |
3793 | | ~EntityDecl() override; |
3794 | | explicit PROTOBUF_CONSTEXPR EntityDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
3795 | | |
3796 | | EntityDecl(const EntityDecl& from); |
3797 | | EntityDecl(EntityDecl&& from) noexcept |
3798 | 0 | : EntityDecl() { |
3799 | 0 | *this = ::std::move(from); |
3800 | 0 | } |
3801 | | |
3802 | 0 | inline EntityDecl& operator=(const EntityDecl& from) { |
3803 | 0 | CopyFrom(from); |
3804 | 0 | return *this; |
3805 | 0 | } |
3806 | 0 | inline EntityDecl& operator=(EntityDecl&& from) noexcept { |
3807 | 0 | if (this == &from) return *this; |
3808 | 0 | if (GetOwningArena() == from.GetOwningArena() |
3809 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
3810 | 0 | && GetOwningArena() != nullptr |
3811 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
3812 | 0 | ) { |
3813 | 0 | InternalSwap(&from); |
3814 | 0 | } else { |
3815 | 0 | CopyFrom(from); |
3816 | 0 | } |
3817 | 0 | return *this; |
3818 | 0 | } |
3819 | | |
3820 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
3821 | 0 | return GetDescriptor(); |
3822 | 0 | } |
3823 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
3824 | 0 | return default_instance().GetMetadata().descriptor; |
3825 | 0 | } |
3826 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
3827 | 0 | return default_instance().GetMetadata().reflection; |
3828 | 0 | } |
3829 | 0 | static const EntityDecl& default_instance() { |
3830 | 0 | return *internal_default_instance(); |
3831 | 0 | } |
3832 | 26.1k | static inline const EntityDecl* internal_default_instance() { |
3833 | 26.1k | return reinterpret_cast<const EntityDecl*>( |
3834 | 26.1k | &_EntityDecl_default_instance_); |
3835 | 26.1k | } |
3836 | | static constexpr int kIndexInFileMessages = |
3837 | | 16; |
3838 | | |
3839 | 0 | friend void swap(EntityDecl& a, EntityDecl& b) { |
3840 | 0 | a.Swap(&b); |
3841 | 0 | } |
3842 | 0 | inline void Swap(EntityDecl* other) { |
3843 | 0 | if (other == this) return; |
3844 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
3845 | 0 | if (GetOwningArena() != nullptr && |
3846 | 0 | GetOwningArena() == other->GetOwningArena()) { |
3847 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
3848 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
3849 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
3850 | 0 | InternalSwap(other); |
3851 | 0 | } else { |
3852 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
3853 | 0 | } |
3854 | 0 | } |
3855 | 0 | void UnsafeArenaSwap(EntityDecl* other) { |
3856 | 0 | if (other == this) return; |
3857 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
3858 | 0 | InternalSwap(other); |
3859 | 0 | } |
3860 | | |
3861 | | // implements Message ---------------------------------------------- |
3862 | | |
3863 | 13.0k | EntityDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
3864 | 13.0k | return CreateMaybeMessage<EntityDecl>(arena); |
3865 | 13.0k | } |
3866 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
3867 | | void CopyFrom(const EntityDecl& from); |
3868 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
3869 | 0 | void MergeFrom( const EntityDecl& from) { |
3870 | 0 | EntityDecl::MergeImpl(*this, from); |
3871 | 0 | } |
3872 | | private: |
3873 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
3874 | | public: |
3875 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
3876 | | bool IsInitialized() const final; |
3877 | | |
3878 | | size_t ByteSizeLong() const final; |
3879 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
3880 | | uint8_t* _InternalSerialize( |
3881 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
3882 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
3883 | | |
3884 | | private: |
3885 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
3886 | | void SharedDtor(); |
3887 | | void SetCachedSize(int size) const final; |
3888 | | void InternalSwap(EntityDecl* other); |
3889 | | |
3890 | | private: |
3891 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
3892 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
3893 | 0 | return "xmlProtoFuzzer.EntityDecl"; |
3894 | 0 | } |
3895 | | protected: |
3896 | | explicit EntityDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
3897 | | bool is_message_owned = false); |
3898 | | public: |
3899 | | |
3900 | | static const ClassData _class_data_; |
3901 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
3902 | | |
3903 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
3904 | | |
3905 | | // nested types ---------------------------------------------------- |
3906 | | |
3907 | | typedef EntityDecl_Type Type; |
3908 | | static constexpr Type GEDECL = |
3909 | | EntityDecl_Type_GEDECL; |
3910 | | static constexpr Type PEDECL = |
3911 | | EntityDecl_Type_PEDECL; |
3912 | 12.4k | static inline bool Type_IsValid(int value) { |
3913 | 12.4k | return EntityDecl_Type_IsValid(value); |
3914 | 12.4k | } |
3915 | | static constexpr Type Type_MIN = |
3916 | | EntityDecl_Type_Type_MIN; |
3917 | | static constexpr Type Type_MAX = |
3918 | | EntityDecl_Type_Type_MAX; |
3919 | | static constexpr int Type_ARRAYSIZE = |
3920 | | EntityDecl_Type_Type_ARRAYSIZE; |
3921 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
3922 | 0 | Type_descriptor() { |
3923 | 0 | return EntityDecl_Type_descriptor(); |
3924 | 0 | } |
3925 | | template<typename T> |
3926 | | static inline const std::string& Type_Name(T enum_t_value) { |
3927 | | static_assert(::std::is_same<T, Type>::value || |
3928 | | ::std::is_integral<T>::value, |
3929 | | "Incorrect type passed to function Type_Name."); |
3930 | | return EntityDecl_Type_Name(enum_t_value); |
3931 | | } |
3932 | | static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
3933 | 0 | Type* value) { |
3934 | 0 | return EntityDecl_Type_Parse(name, value); |
3935 | 0 | } |
3936 | | |
3937 | | // accessors ------------------------------------------------------- |
3938 | | |
3939 | | enum : int { |
3940 | | kNameFieldNumber = 2, |
3941 | | kEntFieldNumber = 3, |
3942 | | kPedefFieldNumber = 4, |
3943 | | kTypeFieldNumber = 1, |
3944 | | }; |
3945 | | // string name = 2; |
3946 | | void clear_name(); |
3947 | | const std::string& name() const; |
3948 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
3949 | | void set_name(ArgT0&& arg0, ArgT... args); |
3950 | | std::string* mutable_name(); |
3951 | | PROTOBUF_NODISCARD std::string* release_name(); |
3952 | | void set_allocated_name(std::string* name); |
3953 | | private: |
3954 | | const std::string& _internal_name() const; |
3955 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
3956 | | std::string* _internal_mutable_name(); |
3957 | | public: |
3958 | | |
3959 | | // .xmlProtoFuzzer.EntityDef ent = 3; |
3960 | | bool has_ent() const; |
3961 | | private: |
3962 | | bool _internal_has_ent() const; |
3963 | | public: |
3964 | | void clear_ent(); |
3965 | | const ::xmlProtoFuzzer::EntityDef& ent() const; |
3966 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::EntityDef* release_ent(); |
3967 | | ::xmlProtoFuzzer::EntityDef* mutable_ent(); |
3968 | | void set_allocated_ent(::xmlProtoFuzzer::EntityDef* ent); |
3969 | | private: |
3970 | | const ::xmlProtoFuzzer::EntityDef& _internal_ent() const; |
3971 | | ::xmlProtoFuzzer::EntityDef* _internal_mutable_ent(); |
3972 | | public: |
3973 | | void unsafe_arena_set_allocated_ent( |
3974 | | ::xmlProtoFuzzer::EntityDef* ent); |
3975 | | ::xmlProtoFuzzer::EntityDef* unsafe_arena_release_ent(); |
3976 | | |
3977 | | // .xmlProtoFuzzer.PEDef pedef = 4; |
3978 | | bool has_pedef() const; |
3979 | | private: |
3980 | | bool _internal_has_pedef() const; |
3981 | | public: |
3982 | | void clear_pedef(); |
3983 | | const ::xmlProtoFuzzer::PEDef& pedef() const; |
3984 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::PEDef* release_pedef(); |
3985 | | ::xmlProtoFuzzer::PEDef* mutable_pedef(); |
3986 | | void set_allocated_pedef(::xmlProtoFuzzer::PEDef* pedef); |
3987 | | private: |
3988 | | const ::xmlProtoFuzzer::PEDef& _internal_pedef() const; |
3989 | | ::xmlProtoFuzzer::PEDef* _internal_mutable_pedef(); |
3990 | | public: |
3991 | | void unsafe_arena_set_allocated_pedef( |
3992 | | ::xmlProtoFuzzer::PEDef* pedef); |
3993 | | ::xmlProtoFuzzer::PEDef* unsafe_arena_release_pedef(); |
3994 | | |
3995 | | // .xmlProtoFuzzer.EntityDecl.Type type = 1; |
3996 | | void clear_type(); |
3997 | | ::xmlProtoFuzzer::EntityDecl_Type type() const; |
3998 | | void set_type(::xmlProtoFuzzer::EntityDecl_Type value); |
3999 | | private: |
4000 | | ::xmlProtoFuzzer::EntityDecl_Type _internal_type() const; |
4001 | | void _internal_set_type(::xmlProtoFuzzer::EntityDecl_Type value); |
4002 | | public: |
4003 | | |
4004 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.EntityDecl) |
4005 | | private: |
4006 | | class _Internal; |
4007 | | |
4008 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
4009 | | typedef void InternalArenaConstructable_; |
4010 | | typedef void DestructorSkippable_; |
4011 | | struct Impl_ { |
4012 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
4013 | | ::xmlProtoFuzzer::EntityDef* ent_; |
4014 | | ::xmlProtoFuzzer::PEDef* pedef_; |
4015 | | int type_; |
4016 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4017 | | }; |
4018 | | union { Impl_ _impl_; }; |
4019 | | friend struct ::TableStruct_xml_2eproto; |
4020 | | }; |
4021 | | // ------------------------------------------------------------------- |
4022 | | |
4023 | | class ConditionalSect final : |
4024 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.ConditionalSect) */ { |
4025 | | public: |
4026 | 0 | inline ConditionalSect() : ConditionalSect(nullptr) {} |
4027 | | ~ConditionalSect() override; |
4028 | | explicit PROTOBUF_CONSTEXPR ConditionalSect(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
4029 | | |
4030 | | ConditionalSect(const ConditionalSect& from); |
4031 | | ConditionalSect(ConditionalSect&& from) noexcept |
4032 | 0 | : ConditionalSect() { |
4033 | 0 | *this = ::std::move(from); |
4034 | 0 | } |
4035 | | |
4036 | 0 | inline ConditionalSect& operator=(const ConditionalSect& from) { |
4037 | 0 | CopyFrom(from); |
4038 | 0 | return *this; |
4039 | 0 | } |
4040 | 0 | inline ConditionalSect& operator=(ConditionalSect&& from) noexcept { |
4041 | 0 | if (this == &from) return *this; |
4042 | 0 | if (GetOwningArena() == from.GetOwningArena() |
4043 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
4044 | 0 | && GetOwningArena() != nullptr |
4045 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
4046 | 0 | ) { |
4047 | 0 | InternalSwap(&from); |
4048 | 0 | } else { |
4049 | 0 | CopyFrom(from); |
4050 | 0 | } |
4051 | 0 | return *this; |
4052 | 0 | } |
4053 | | |
4054 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4055 | 0 | return GetDescriptor(); |
4056 | 0 | } |
4057 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4058 | 0 | return default_instance().GetMetadata().descriptor; |
4059 | 0 | } |
4060 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4061 | 0 | return default_instance().GetMetadata().reflection; |
4062 | 0 | } |
4063 | 0 | static const ConditionalSect& default_instance() { |
4064 | 0 | return *internal_default_instance(); |
4065 | 0 | } |
4066 | 7.30k | static inline const ConditionalSect* internal_default_instance() { |
4067 | 7.30k | return reinterpret_cast<const ConditionalSect*>( |
4068 | 7.30k | &_ConditionalSect_default_instance_); |
4069 | 7.30k | } |
4070 | | static constexpr int kIndexInFileMessages = |
4071 | | 17; |
4072 | | |
4073 | 0 | friend void swap(ConditionalSect& a, ConditionalSect& b) { |
4074 | 0 | a.Swap(&b); |
4075 | 0 | } |
4076 | 0 | inline void Swap(ConditionalSect* other) { |
4077 | 0 | if (other == this) return; |
4078 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
4079 | 0 | if (GetOwningArena() != nullptr && |
4080 | 0 | GetOwningArena() == other->GetOwningArena()) { |
4081 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
4082 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
4083 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
4084 | 0 | InternalSwap(other); |
4085 | 0 | } else { |
4086 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
4087 | 0 | } |
4088 | 0 | } |
4089 | 0 | void UnsafeArenaSwap(ConditionalSect* other) { |
4090 | 0 | if (other == this) return; |
4091 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
4092 | 0 | InternalSwap(other); |
4093 | 0 | } |
4094 | | |
4095 | | // implements Message ---------------------------------------------- |
4096 | | |
4097 | 7.30k | ConditionalSect* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
4098 | 7.30k | return CreateMaybeMessage<ConditionalSect>(arena); |
4099 | 7.30k | } |
4100 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
4101 | | void CopyFrom(const ConditionalSect& from); |
4102 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
4103 | 0 | void MergeFrom( const ConditionalSect& from) { |
4104 | 0 | ConditionalSect::MergeImpl(*this, from); |
4105 | 0 | } |
4106 | | private: |
4107 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
4108 | | public: |
4109 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4110 | | bool IsInitialized() const final; |
4111 | | |
4112 | | size_t ByteSizeLong() const final; |
4113 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4114 | | uint8_t* _InternalSerialize( |
4115 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4116 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
4117 | | |
4118 | | private: |
4119 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
4120 | | void SharedDtor(); |
4121 | | void SetCachedSize(int size) const final; |
4122 | | void InternalSwap(ConditionalSect* other); |
4123 | | |
4124 | | private: |
4125 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4126 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
4127 | 0 | return "xmlProtoFuzzer.ConditionalSect"; |
4128 | 0 | } |
4129 | | protected: |
4130 | | explicit ConditionalSect(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4131 | | bool is_message_owned = false); |
4132 | | public: |
4133 | | |
4134 | | static const ClassData _class_data_; |
4135 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
4136 | | |
4137 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
4138 | | |
4139 | | // nested types ---------------------------------------------------- |
4140 | | |
4141 | | typedef ConditionalSect_Type Type; |
4142 | | static constexpr Type INCLUDE = |
4143 | | ConditionalSect_Type_INCLUDE; |
4144 | | static constexpr Type IGNORE = |
4145 | | ConditionalSect_Type_IGNORE; |
4146 | | static constexpr Type FUZZ = |
4147 | | ConditionalSect_Type_FUZZ; |
4148 | 7.06k | static inline bool Type_IsValid(int value) { |
4149 | 7.06k | return ConditionalSect_Type_IsValid(value); |
4150 | 7.06k | } |
4151 | | static constexpr Type Type_MIN = |
4152 | | ConditionalSect_Type_Type_MIN; |
4153 | | static constexpr Type Type_MAX = |
4154 | | ConditionalSect_Type_Type_MAX; |
4155 | | static constexpr int Type_ARRAYSIZE = |
4156 | | ConditionalSect_Type_Type_ARRAYSIZE; |
4157 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
4158 | 0 | Type_descriptor() { |
4159 | 0 | return ConditionalSect_Type_descriptor(); |
4160 | 0 | } |
4161 | | template<typename T> |
4162 | | static inline const std::string& Type_Name(T enum_t_value) { |
4163 | | static_assert(::std::is_same<T, Type>::value || |
4164 | | ::std::is_integral<T>::value, |
4165 | | "Incorrect type passed to function Type_Name."); |
4166 | | return ConditionalSect_Type_Name(enum_t_value); |
4167 | | } |
4168 | | static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
4169 | 0 | Type* value) { |
4170 | 0 | return ConditionalSect_Type_Parse(name, value); |
4171 | 0 | } |
4172 | | |
4173 | | // accessors ------------------------------------------------------- |
4174 | | |
4175 | | enum : int { |
4176 | | kIgnoresFieldNumber = 3, |
4177 | | kExtFieldNumber = 2, |
4178 | | kTypeFieldNumber = 1, |
4179 | | }; |
4180 | | // repeated string ignores = 3; |
4181 | | int ignores_size() const; |
4182 | | private: |
4183 | | int _internal_ignores_size() const; |
4184 | | public: |
4185 | | void clear_ignores(); |
4186 | | const std::string& ignores(int index) const; |
4187 | | std::string* mutable_ignores(int index); |
4188 | | void set_ignores(int index, const std::string& value); |
4189 | | void set_ignores(int index, std::string&& value); |
4190 | | void set_ignores(int index, const char* value); |
4191 | | void set_ignores(int index, const char* value, size_t size); |
4192 | | std::string* add_ignores(); |
4193 | | void add_ignores(const std::string& value); |
4194 | | void add_ignores(std::string&& value); |
4195 | | void add_ignores(const char* value); |
4196 | | void add_ignores(const char* value, size_t size); |
4197 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& ignores() const; |
4198 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_ignores(); |
4199 | | private: |
4200 | | const std::string& _internal_ignores(int index) const; |
4201 | | std::string* _internal_add_ignores(); |
4202 | | public: |
4203 | | |
4204 | | // .xmlProtoFuzzer.ExtSubsetDecl ext = 2; |
4205 | | bool has_ext() const; |
4206 | | private: |
4207 | | bool _internal_has_ext() const; |
4208 | | public: |
4209 | | void clear_ext(); |
4210 | | const ::xmlProtoFuzzer::ExtSubsetDecl& ext() const; |
4211 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ExtSubsetDecl* release_ext(); |
4212 | | ::xmlProtoFuzzer::ExtSubsetDecl* mutable_ext(); |
4213 | | void set_allocated_ext(::xmlProtoFuzzer::ExtSubsetDecl* ext); |
4214 | | private: |
4215 | | const ::xmlProtoFuzzer::ExtSubsetDecl& _internal_ext() const; |
4216 | | ::xmlProtoFuzzer::ExtSubsetDecl* _internal_mutable_ext(); |
4217 | | public: |
4218 | | void unsafe_arena_set_allocated_ext( |
4219 | | ::xmlProtoFuzzer::ExtSubsetDecl* ext); |
4220 | | ::xmlProtoFuzzer::ExtSubsetDecl* unsafe_arena_release_ext(); |
4221 | | |
4222 | | // .xmlProtoFuzzer.ConditionalSect.Type type = 1; |
4223 | | void clear_type(); |
4224 | | ::xmlProtoFuzzer::ConditionalSect_Type type() const; |
4225 | | void set_type(::xmlProtoFuzzer::ConditionalSect_Type value); |
4226 | | private: |
4227 | | ::xmlProtoFuzzer::ConditionalSect_Type _internal_type() const; |
4228 | | void _internal_set_type(::xmlProtoFuzzer::ConditionalSect_Type value); |
4229 | | public: |
4230 | | |
4231 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.ConditionalSect) |
4232 | | private: |
4233 | | class _Internal; |
4234 | | |
4235 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
4236 | | typedef void InternalArenaConstructable_; |
4237 | | typedef void DestructorSkippable_; |
4238 | | struct Impl_ { |
4239 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> ignores_; |
4240 | | ::xmlProtoFuzzer::ExtSubsetDecl* ext_; |
4241 | | int type_; |
4242 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4243 | | }; |
4244 | | union { Impl_ _impl_; }; |
4245 | | friend struct ::TableStruct_xml_2eproto; |
4246 | | }; |
4247 | | // ------------------------------------------------------------------- |
4248 | | |
4249 | | class OneExtSubsetDecl final : |
4250 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.OneExtSubsetDecl) */ { |
4251 | | public: |
4252 | 0 | inline OneExtSubsetDecl() : OneExtSubsetDecl(nullptr) {} |
4253 | | ~OneExtSubsetDecl() override; |
4254 | | explicit PROTOBUF_CONSTEXPR OneExtSubsetDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
4255 | | |
4256 | | OneExtSubsetDecl(const OneExtSubsetDecl& from); |
4257 | | OneExtSubsetDecl(OneExtSubsetDecl&& from) noexcept |
4258 | 0 | : OneExtSubsetDecl() { |
4259 | 0 | *this = ::std::move(from); |
4260 | 0 | } |
4261 | | |
4262 | 0 | inline OneExtSubsetDecl& operator=(const OneExtSubsetDecl& from) { |
4263 | 0 | CopyFrom(from); |
4264 | 0 | return *this; |
4265 | 0 | } |
4266 | 0 | inline OneExtSubsetDecl& operator=(OneExtSubsetDecl&& from) noexcept { |
4267 | 0 | if (this == &from) return *this; |
4268 | 0 | if (GetOwningArena() == from.GetOwningArena() |
4269 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
4270 | 0 | && GetOwningArena() != nullptr |
4271 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
4272 | 0 | ) { |
4273 | 0 | InternalSwap(&from); |
4274 | 0 | } else { |
4275 | 0 | CopyFrom(from); |
4276 | 0 | } |
4277 | 0 | return *this; |
4278 | 0 | } |
4279 | | |
4280 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4281 | 0 | return GetDescriptor(); |
4282 | 0 | } |
4283 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4284 | 0 | return default_instance().GetMetadata().descriptor; |
4285 | 0 | } |
4286 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4287 | 0 | return default_instance().GetMetadata().reflection; |
4288 | 0 | } |
4289 | 0 | static const OneExtSubsetDecl& default_instance() { |
4290 | 0 | return *internal_default_instance(); |
4291 | 0 | } |
4292 | | enum ExtsubsetOneofCase { |
4293 | | kM = 1, |
4294 | | kC = 2, |
4295 | | EXTSUBSET_ONEOF_NOT_SET = 0, |
4296 | | }; |
4297 | | |
4298 | 0 | static inline const OneExtSubsetDecl* internal_default_instance() { |
4299 | 0 | return reinterpret_cast<const OneExtSubsetDecl*>( |
4300 | 0 | &_OneExtSubsetDecl_default_instance_); |
4301 | 0 | } |
4302 | | static constexpr int kIndexInFileMessages = |
4303 | | 18; |
4304 | | |
4305 | 0 | friend void swap(OneExtSubsetDecl& a, OneExtSubsetDecl& b) { |
4306 | 0 | a.Swap(&b); |
4307 | 0 | } |
4308 | 0 | inline void Swap(OneExtSubsetDecl* other) { |
4309 | 0 | if (other == this) return; |
4310 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
4311 | 0 | if (GetOwningArena() != nullptr && |
4312 | 0 | GetOwningArena() == other->GetOwningArena()) { |
4313 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
4314 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
4315 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
4316 | 0 | InternalSwap(other); |
4317 | 0 | } else { |
4318 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
4319 | 0 | } |
4320 | 0 | } |
4321 | 0 | void UnsafeArenaSwap(OneExtSubsetDecl* other) { |
4322 | 0 | if (other == this) return; |
4323 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
4324 | 0 | InternalSwap(other); |
4325 | 0 | } |
4326 | | |
4327 | | // implements Message ---------------------------------------------- |
4328 | | |
4329 | 34.5k | OneExtSubsetDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
4330 | 34.5k | return CreateMaybeMessage<OneExtSubsetDecl>(arena); |
4331 | 34.5k | } |
4332 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
4333 | | void CopyFrom(const OneExtSubsetDecl& from); |
4334 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
4335 | 0 | void MergeFrom( const OneExtSubsetDecl& from) { |
4336 | 0 | OneExtSubsetDecl::MergeImpl(*this, from); |
4337 | 0 | } |
4338 | | private: |
4339 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
4340 | | public: |
4341 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4342 | | bool IsInitialized() const final; |
4343 | | |
4344 | | size_t ByteSizeLong() const final; |
4345 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4346 | | uint8_t* _InternalSerialize( |
4347 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4348 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
4349 | | |
4350 | | private: |
4351 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
4352 | | void SharedDtor(); |
4353 | | void SetCachedSize(int size) const final; |
4354 | | void InternalSwap(OneExtSubsetDecl* other); |
4355 | | |
4356 | | private: |
4357 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4358 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
4359 | 0 | return "xmlProtoFuzzer.OneExtSubsetDecl"; |
4360 | 0 | } |
4361 | | protected: |
4362 | | explicit OneExtSubsetDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4363 | | bool is_message_owned = false); |
4364 | | public: |
4365 | | |
4366 | | static const ClassData _class_data_; |
4367 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
4368 | | |
4369 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
4370 | | |
4371 | | // nested types ---------------------------------------------------- |
4372 | | |
4373 | | // accessors ------------------------------------------------------- |
4374 | | |
4375 | | enum : int { |
4376 | | kMFieldNumber = 1, |
4377 | | kCFieldNumber = 2, |
4378 | | }; |
4379 | | // .xmlProtoFuzzer.MarkupDecl m = 1; |
4380 | | bool has_m() const; |
4381 | | private: |
4382 | | bool _internal_has_m() const; |
4383 | | public: |
4384 | | void clear_m(); |
4385 | | const ::xmlProtoFuzzer::MarkupDecl& m() const; |
4386 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::MarkupDecl* release_m(); |
4387 | | ::xmlProtoFuzzer::MarkupDecl* mutable_m(); |
4388 | | void set_allocated_m(::xmlProtoFuzzer::MarkupDecl* m); |
4389 | | private: |
4390 | | const ::xmlProtoFuzzer::MarkupDecl& _internal_m() const; |
4391 | | ::xmlProtoFuzzer::MarkupDecl* _internal_mutable_m(); |
4392 | | public: |
4393 | | void unsafe_arena_set_allocated_m( |
4394 | | ::xmlProtoFuzzer::MarkupDecl* m); |
4395 | | ::xmlProtoFuzzer::MarkupDecl* unsafe_arena_release_m(); |
4396 | | |
4397 | | // .xmlProtoFuzzer.ConditionalSect c = 2; |
4398 | | bool has_c() const; |
4399 | | private: |
4400 | | bool _internal_has_c() const; |
4401 | | public: |
4402 | | void clear_c(); |
4403 | | const ::xmlProtoFuzzer::ConditionalSect& c() const; |
4404 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ConditionalSect* release_c(); |
4405 | | ::xmlProtoFuzzer::ConditionalSect* mutable_c(); |
4406 | | void set_allocated_c(::xmlProtoFuzzer::ConditionalSect* c); |
4407 | | private: |
4408 | | const ::xmlProtoFuzzer::ConditionalSect& _internal_c() const; |
4409 | | ::xmlProtoFuzzer::ConditionalSect* _internal_mutable_c(); |
4410 | | public: |
4411 | | void unsafe_arena_set_allocated_c( |
4412 | | ::xmlProtoFuzzer::ConditionalSect* c); |
4413 | | ::xmlProtoFuzzer::ConditionalSect* unsafe_arena_release_c(); |
4414 | | |
4415 | | void clear_extsubset_oneof(); |
4416 | | ExtsubsetOneofCase extsubset_oneof_case() const; |
4417 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.OneExtSubsetDecl) |
4418 | | private: |
4419 | | class _Internal; |
4420 | | void set_has_m(); |
4421 | | void set_has_c(); |
4422 | | |
4423 | | inline bool has_extsubset_oneof() const; |
4424 | | inline void clear_has_extsubset_oneof(); |
4425 | | |
4426 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
4427 | | typedef void InternalArenaConstructable_; |
4428 | | typedef void DestructorSkippable_; |
4429 | | struct Impl_ { |
4430 | | union ExtsubsetOneofUnion { |
4431 | 34.5k | constexpr ExtsubsetOneofUnion() : _constinit_{} {} |
4432 | | ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; |
4433 | | ::xmlProtoFuzzer::MarkupDecl* m_; |
4434 | | ::xmlProtoFuzzer::ConditionalSect* c_; |
4435 | | } extsubset_oneof_; |
4436 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4437 | | uint32_t _oneof_case_[1]; |
4438 | | |
4439 | | }; |
4440 | | union { Impl_ _impl_; }; |
4441 | | friend struct ::TableStruct_xml_2eproto; |
4442 | | }; |
4443 | | // ------------------------------------------------------------------- |
4444 | | |
4445 | | class ExtSubsetDecl final : |
4446 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.ExtSubsetDecl) */ { |
4447 | | public: |
4448 | 0 | inline ExtSubsetDecl() : ExtSubsetDecl(nullptr) {} |
4449 | | ~ExtSubsetDecl() override; |
4450 | | explicit PROTOBUF_CONSTEXPR ExtSubsetDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
4451 | | |
4452 | | ExtSubsetDecl(const ExtSubsetDecl& from); |
4453 | | ExtSubsetDecl(ExtSubsetDecl&& from) noexcept |
4454 | 0 | : ExtSubsetDecl() { |
4455 | 0 | *this = ::std::move(from); |
4456 | 0 | } |
4457 | | |
4458 | 0 | inline ExtSubsetDecl& operator=(const ExtSubsetDecl& from) { |
4459 | 0 | CopyFrom(from); |
4460 | 0 | return *this; |
4461 | 0 | } |
4462 | 0 | inline ExtSubsetDecl& operator=(ExtSubsetDecl&& from) noexcept { |
4463 | 0 | if (this == &from) return *this; |
4464 | 0 | if (GetOwningArena() == from.GetOwningArena() |
4465 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
4466 | 0 | && GetOwningArena() != nullptr |
4467 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
4468 | 0 | ) { |
4469 | 0 | InternalSwap(&from); |
4470 | 0 | } else { |
4471 | 0 | CopyFrom(from); |
4472 | 0 | } |
4473 | 0 | return *this; |
4474 | 0 | } |
4475 | | |
4476 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4477 | 0 | return GetDescriptor(); |
4478 | 0 | } |
4479 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4480 | 0 | return default_instance().GetMetadata().descriptor; |
4481 | 0 | } |
4482 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4483 | 0 | return default_instance().GetMetadata().reflection; |
4484 | 0 | } |
4485 | 0 | static const ExtSubsetDecl& default_instance() { |
4486 | 0 | return *internal_default_instance(); |
4487 | 0 | } |
4488 | 0 | static inline const ExtSubsetDecl* internal_default_instance() { |
4489 | 0 | return reinterpret_cast<const ExtSubsetDecl*>( |
4490 | 0 | &_ExtSubsetDecl_default_instance_); |
4491 | 0 | } |
4492 | | static constexpr int kIndexInFileMessages = |
4493 | | 19; |
4494 | | |
4495 | 0 | friend void swap(ExtSubsetDecl& a, ExtSubsetDecl& b) { |
4496 | 0 | a.Swap(&b); |
4497 | 0 | } |
4498 | 0 | inline void Swap(ExtSubsetDecl* other) { |
4499 | 0 | if (other == this) return; |
4500 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
4501 | 0 | if (GetOwningArena() != nullptr && |
4502 | 0 | GetOwningArena() == other->GetOwningArena()) { |
4503 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
4504 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
4505 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
4506 | 0 | InternalSwap(other); |
4507 | 0 | } else { |
4508 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
4509 | 0 | } |
4510 | 0 | } |
4511 | 0 | void UnsafeArenaSwap(ExtSubsetDecl* other) { |
4512 | 0 | if (other == this) return; |
4513 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
4514 | 0 | InternalSwap(other); |
4515 | 0 | } |
4516 | | |
4517 | | // implements Message ---------------------------------------------- |
4518 | | |
4519 | 8.80k | ExtSubsetDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
4520 | 8.80k | return CreateMaybeMessage<ExtSubsetDecl>(arena); |
4521 | 8.80k | } |
4522 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
4523 | | void CopyFrom(const ExtSubsetDecl& from); |
4524 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
4525 | 0 | void MergeFrom( const ExtSubsetDecl& from) { |
4526 | 0 | ExtSubsetDecl::MergeImpl(*this, from); |
4527 | 0 | } |
4528 | | private: |
4529 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
4530 | | public: |
4531 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4532 | | bool IsInitialized() const final; |
4533 | | |
4534 | | size_t ByteSizeLong() const final; |
4535 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4536 | | uint8_t* _InternalSerialize( |
4537 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4538 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
4539 | | |
4540 | | private: |
4541 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
4542 | | void SharedDtor(); |
4543 | | void SetCachedSize(int size) const final; |
4544 | | void InternalSwap(ExtSubsetDecl* other); |
4545 | | |
4546 | | private: |
4547 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4548 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
4549 | 0 | return "xmlProtoFuzzer.ExtSubsetDecl"; |
4550 | 0 | } |
4551 | | protected: |
4552 | | explicit ExtSubsetDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4553 | | bool is_message_owned = false); |
4554 | | public: |
4555 | | |
4556 | | static const ClassData _class_data_; |
4557 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
4558 | | |
4559 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
4560 | | |
4561 | | // nested types ---------------------------------------------------- |
4562 | | |
4563 | | // accessors ------------------------------------------------------- |
4564 | | |
4565 | | enum : int { |
4566 | | kDeclsFieldNumber = 1, |
4567 | | }; |
4568 | | // repeated .xmlProtoFuzzer.OneExtSubsetDecl decls = 1; |
4569 | | int decls_size() const; |
4570 | | private: |
4571 | | int _internal_decls_size() const; |
4572 | | public: |
4573 | | void clear_decls(); |
4574 | | ::xmlProtoFuzzer::OneExtSubsetDecl* mutable_decls(int index); |
4575 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::OneExtSubsetDecl >* |
4576 | | mutable_decls(); |
4577 | | private: |
4578 | | const ::xmlProtoFuzzer::OneExtSubsetDecl& _internal_decls(int index) const; |
4579 | | ::xmlProtoFuzzer::OneExtSubsetDecl* _internal_add_decls(); |
4580 | | public: |
4581 | | const ::xmlProtoFuzzer::OneExtSubsetDecl& decls(int index) const; |
4582 | | ::xmlProtoFuzzer::OneExtSubsetDecl* add_decls(); |
4583 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::OneExtSubsetDecl >& |
4584 | | decls() const; |
4585 | | |
4586 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.ExtSubsetDecl) |
4587 | | private: |
4588 | | class _Internal; |
4589 | | |
4590 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
4591 | | typedef void InternalArenaConstructable_; |
4592 | | typedef void DestructorSkippable_; |
4593 | | struct Impl_ { |
4594 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::OneExtSubsetDecl > decls_; |
4595 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4596 | | }; |
4597 | | union { Impl_ _impl_; }; |
4598 | | friend struct ::TableStruct_xml_2eproto; |
4599 | | }; |
4600 | | // ------------------------------------------------------------------- |
4601 | | |
4602 | | class MarkupDecl final : |
4603 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.MarkupDecl) */ { |
4604 | | public: |
4605 | 0 | inline MarkupDecl() : MarkupDecl(nullptr) {} |
4606 | | ~MarkupDecl() override; |
4607 | | explicit PROTOBUF_CONSTEXPR MarkupDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
4608 | | |
4609 | | MarkupDecl(const MarkupDecl& from); |
4610 | | MarkupDecl(MarkupDecl&& from) noexcept |
4611 | 0 | : MarkupDecl() { |
4612 | 0 | *this = ::std::move(from); |
4613 | 0 | } |
4614 | | |
4615 | 0 | inline MarkupDecl& operator=(const MarkupDecl& from) { |
4616 | 0 | CopyFrom(from); |
4617 | 0 | return *this; |
4618 | 0 | } |
4619 | 0 | inline MarkupDecl& operator=(MarkupDecl&& from) noexcept { |
4620 | 0 | if (this == &from) return *this; |
4621 | 0 | if (GetOwningArena() == from.GetOwningArena() |
4622 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
4623 | 0 | && GetOwningArena() != nullptr |
4624 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
4625 | 0 | ) { |
4626 | 0 | InternalSwap(&from); |
4627 | 0 | } else { |
4628 | 0 | CopyFrom(from); |
4629 | 0 | } |
4630 | 0 | return *this; |
4631 | 0 | } |
4632 | | |
4633 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4634 | 0 | return GetDescriptor(); |
4635 | 0 | } |
4636 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4637 | 0 | return default_instance().GetMetadata().descriptor; |
4638 | 0 | } |
4639 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4640 | 0 | return default_instance().GetMetadata().reflection; |
4641 | 0 | } |
4642 | 0 | static const MarkupDecl& default_instance() { |
4643 | 0 | return *internal_default_instance(); |
4644 | 0 | } |
4645 | | enum MarkupOneofCase { |
4646 | | kE = 1, |
4647 | | kA = 2, |
4648 | | kN = 3, |
4649 | | kM = 4, |
4650 | | kEntity = 5, |
4651 | | kExt = 6, |
4652 | | MARKUP_ONEOF_NOT_SET = 0, |
4653 | | }; |
4654 | | |
4655 | 0 | static inline const MarkupDecl* internal_default_instance() { |
4656 | 0 | return reinterpret_cast<const MarkupDecl*>( |
4657 | 0 | &_MarkupDecl_default_instance_); |
4658 | 0 | } |
4659 | | static constexpr int kIndexInFileMessages = |
4660 | | 20; |
4661 | | |
4662 | 0 | friend void swap(MarkupDecl& a, MarkupDecl& b) { |
4663 | 0 | a.Swap(&b); |
4664 | 0 | } |
4665 | 0 | inline void Swap(MarkupDecl* other) { |
4666 | 0 | if (other == this) return; |
4667 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
4668 | 0 | if (GetOwningArena() != nullptr && |
4669 | 0 | GetOwningArena() == other->GetOwningArena()) { |
4670 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
4671 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
4672 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
4673 | 0 | InternalSwap(other); |
4674 | 0 | } else { |
4675 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
4676 | 0 | } |
4677 | 0 | } |
4678 | 0 | void UnsafeArenaSwap(MarkupDecl* other) { |
4679 | 0 | if (other == this) return; |
4680 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
4681 | 0 | InternalSwap(other); |
4682 | 0 | } |
4683 | | |
4684 | | // implements Message ---------------------------------------------- |
4685 | | |
4686 | 42.0k | MarkupDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
4687 | 42.0k | return CreateMaybeMessage<MarkupDecl>(arena); |
4688 | 42.0k | } |
4689 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
4690 | | void CopyFrom(const MarkupDecl& from); |
4691 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
4692 | 0 | void MergeFrom( const MarkupDecl& from) { |
4693 | 0 | MarkupDecl::MergeImpl(*this, from); |
4694 | 0 | } |
4695 | | private: |
4696 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
4697 | | public: |
4698 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4699 | | bool IsInitialized() const final; |
4700 | | |
4701 | | size_t ByteSizeLong() const final; |
4702 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4703 | | uint8_t* _InternalSerialize( |
4704 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4705 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
4706 | | |
4707 | | private: |
4708 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
4709 | | void SharedDtor(); |
4710 | | void SetCachedSize(int size) const final; |
4711 | | void InternalSwap(MarkupDecl* other); |
4712 | | |
4713 | | private: |
4714 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4715 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
4716 | 0 | return "xmlProtoFuzzer.MarkupDecl"; |
4717 | 0 | } |
4718 | | protected: |
4719 | | explicit MarkupDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4720 | | bool is_message_owned = false); |
4721 | | public: |
4722 | | |
4723 | | static const ClassData _class_data_; |
4724 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
4725 | | |
4726 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
4727 | | |
4728 | | // nested types ---------------------------------------------------- |
4729 | | |
4730 | | // accessors ------------------------------------------------------- |
4731 | | |
4732 | | enum : int { |
4733 | | kEFieldNumber = 1, |
4734 | | kAFieldNumber = 2, |
4735 | | kNFieldNumber = 3, |
4736 | | kMFieldNumber = 4, |
4737 | | kEntityFieldNumber = 5, |
4738 | | kExtFieldNumber = 6, |
4739 | | }; |
4740 | | // .xmlProtoFuzzer.ElementDecl e = 1; |
4741 | | bool has_e() const; |
4742 | | private: |
4743 | | bool _internal_has_e() const; |
4744 | | public: |
4745 | | void clear_e(); |
4746 | | const ::xmlProtoFuzzer::ElementDecl& e() const; |
4747 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ElementDecl* release_e(); |
4748 | | ::xmlProtoFuzzer::ElementDecl* mutable_e(); |
4749 | | void set_allocated_e(::xmlProtoFuzzer::ElementDecl* e); |
4750 | | private: |
4751 | | const ::xmlProtoFuzzer::ElementDecl& _internal_e() const; |
4752 | | ::xmlProtoFuzzer::ElementDecl* _internal_mutable_e(); |
4753 | | public: |
4754 | | void unsafe_arena_set_allocated_e( |
4755 | | ::xmlProtoFuzzer::ElementDecl* e); |
4756 | | ::xmlProtoFuzzer::ElementDecl* unsafe_arena_release_e(); |
4757 | | |
4758 | | // .xmlProtoFuzzer.AttListDecl a = 2; |
4759 | | bool has_a() const; |
4760 | | private: |
4761 | | bool _internal_has_a() const; |
4762 | | public: |
4763 | | void clear_a(); |
4764 | | const ::xmlProtoFuzzer::AttListDecl& a() const; |
4765 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::AttListDecl* release_a(); |
4766 | | ::xmlProtoFuzzer::AttListDecl* mutable_a(); |
4767 | | void set_allocated_a(::xmlProtoFuzzer::AttListDecl* a); |
4768 | | private: |
4769 | | const ::xmlProtoFuzzer::AttListDecl& _internal_a() const; |
4770 | | ::xmlProtoFuzzer::AttListDecl* _internal_mutable_a(); |
4771 | | public: |
4772 | | void unsafe_arena_set_allocated_a( |
4773 | | ::xmlProtoFuzzer::AttListDecl* a); |
4774 | | ::xmlProtoFuzzer::AttListDecl* unsafe_arena_release_a(); |
4775 | | |
4776 | | // .xmlProtoFuzzer.NotationDecl n = 3; |
4777 | | bool has_n() const; |
4778 | | private: |
4779 | | bool _internal_has_n() const; |
4780 | | public: |
4781 | | void clear_n(); |
4782 | | const ::xmlProtoFuzzer::NotationDecl& n() const; |
4783 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::NotationDecl* release_n(); |
4784 | | ::xmlProtoFuzzer::NotationDecl* mutable_n(); |
4785 | | void set_allocated_n(::xmlProtoFuzzer::NotationDecl* n); |
4786 | | private: |
4787 | | const ::xmlProtoFuzzer::NotationDecl& _internal_n() const; |
4788 | | ::xmlProtoFuzzer::NotationDecl* _internal_mutable_n(); |
4789 | | public: |
4790 | | void unsafe_arena_set_allocated_n( |
4791 | | ::xmlProtoFuzzer::NotationDecl* n); |
4792 | | ::xmlProtoFuzzer::NotationDecl* unsafe_arena_release_n(); |
4793 | | |
4794 | | // .xmlProtoFuzzer.Misc m = 4; |
4795 | | bool has_m() const; |
4796 | | private: |
4797 | | bool _internal_has_m() const; |
4798 | | public: |
4799 | | void clear_m(); |
4800 | | const ::xmlProtoFuzzer::Misc& m() const; |
4801 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::Misc* release_m(); |
4802 | | ::xmlProtoFuzzer::Misc* mutable_m(); |
4803 | | void set_allocated_m(::xmlProtoFuzzer::Misc* m); |
4804 | | private: |
4805 | | const ::xmlProtoFuzzer::Misc& _internal_m() const; |
4806 | | ::xmlProtoFuzzer::Misc* _internal_mutable_m(); |
4807 | | public: |
4808 | | void unsafe_arena_set_allocated_m( |
4809 | | ::xmlProtoFuzzer::Misc* m); |
4810 | | ::xmlProtoFuzzer::Misc* unsafe_arena_release_m(); |
4811 | | |
4812 | | // .xmlProtoFuzzer.EntityDecl entity = 5; |
4813 | | bool has_entity() const; |
4814 | | private: |
4815 | | bool _internal_has_entity() const; |
4816 | | public: |
4817 | | void clear_entity(); |
4818 | | const ::xmlProtoFuzzer::EntityDecl& entity() const; |
4819 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::EntityDecl* release_entity(); |
4820 | | ::xmlProtoFuzzer::EntityDecl* mutable_entity(); |
4821 | | void set_allocated_entity(::xmlProtoFuzzer::EntityDecl* entity); |
4822 | | private: |
4823 | | const ::xmlProtoFuzzer::EntityDecl& _internal_entity() const; |
4824 | | ::xmlProtoFuzzer::EntityDecl* _internal_mutable_entity(); |
4825 | | public: |
4826 | | void unsafe_arena_set_allocated_entity( |
4827 | | ::xmlProtoFuzzer::EntityDecl* entity); |
4828 | | ::xmlProtoFuzzer::EntityDecl* unsafe_arena_release_entity(); |
4829 | | |
4830 | | // .xmlProtoFuzzer.ExtSubsetDecl ext = 6; |
4831 | | bool has_ext() const; |
4832 | | private: |
4833 | | bool _internal_has_ext() const; |
4834 | | public: |
4835 | | void clear_ext(); |
4836 | | const ::xmlProtoFuzzer::ExtSubsetDecl& ext() const; |
4837 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ExtSubsetDecl* release_ext(); |
4838 | | ::xmlProtoFuzzer::ExtSubsetDecl* mutable_ext(); |
4839 | | void set_allocated_ext(::xmlProtoFuzzer::ExtSubsetDecl* ext); |
4840 | | private: |
4841 | | const ::xmlProtoFuzzer::ExtSubsetDecl& _internal_ext() const; |
4842 | | ::xmlProtoFuzzer::ExtSubsetDecl* _internal_mutable_ext(); |
4843 | | public: |
4844 | | void unsafe_arena_set_allocated_ext( |
4845 | | ::xmlProtoFuzzer::ExtSubsetDecl* ext); |
4846 | | ::xmlProtoFuzzer::ExtSubsetDecl* unsafe_arena_release_ext(); |
4847 | | |
4848 | | void clear_markup_oneof(); |
4849 | | MarkupOneofCase markup_oneof_case() const; |
4850 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.MarkupDecl) |
4851 | | private: |
4852 | | class _Internal; |
4853 | | void set_has_e(); |
4854 | | void set_has_a(); |
4855 | | void set_has_n(); |
4856 | | void set_has_m(); |
4857 | | void set_has_entity(); |
4858 | | void set_has_ext(); |
4859 | | |
4860 | | inline bool has_markup_oneof() const; |
4861 | | inline void clear_has_markup_oneof(); |
4862 | | |
4863 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
4864 | | typedef void InternalArenaConstructable_; |
4865 | | typedef void DestructorSkippable_; |
4866 | | struct Impl_ { |
4867 | | union MarkupOneofUnion { |
4868 | 42.0k | constexpr MarkupOneofUnion() : _constinit_{} {} |
4869 | | ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; |
4870 | | ::xmlProtoFuzzer::ElementDecl* e_; |
4871 | | ::xmlProtoFuzzer::AttListDecl* a_; |
4872 | | ::xmlProtoFuzzer::NotationDecl* n_; |
4873 | | ::xmlProtoFuzzer::Misc* m_; |
4874 | | ::xmlProtoFuzzer::EntityDecl* entity_; |
4875 | | ::xmlProtoFuzzer::ExtSubsetDecl* ext_; |
4876 | | } markup_oneof_; |
4877 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
4878 | | uint32_t _oneof_case_[1]; |
4879 | | |
4880 | | }; |
4881 | | union { Impl_ _impl_; }; |
4882 | | friend struct ::TableStruct_xml_2eproto; |
4883 | | }; |
4884 | | // ------------------------------------------------------------------- |
4885 | | |
4886 | | class DocTypeDecl final : |
4887 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.DocTypeDecl) */ { |
4888 | | public: |
4889 | 0 | inline DocTypeDecl() : DocTypeDecl(nullptr) {} |
4890 | | ~DocTypeDecl() override; |
4891 | | explicit PROTOBUF_CONSTEXPR DocTypeDecl(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
4892 | | |
4893 | | DocTypeDecl(const DocTypeDecl& from); |
4894 | | DocTypeDecl(DocTypeDecl&& from) noexcept |
4895 | 0 | : DocTypeDecl() { |
4896 | 0 | *this = ::std::move(from); |
4897 | 0 | } |
4898 | | |
4899 | 0 | inline DocTypeDecl& operator=(const DocTypeDecl& from) { |
4900 | 0 | CopyFrom(from); |
4901 | 0 | return *this; |
4902 | 0 | } |
4903 | 0 | inline DocTypeDecl& operator=(DocTypeDecl&& from) noexcept { |
4904 | 0 | if (this == &from) return *this; |
4905 | 0 | if (GetOwningArena() == from.GetOwningArena() |
4906 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
4907 | 0 | && GetOwningArena() != nullptr |
4908 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
4909 | 0 | ) { |
4910 | 0 | InternalSwap(&from); |
4911 | 0 | } else { |
4912 | 0 | CopyFrom(from); |
4913 | 0 | } |
4914 | 0 | return *this; |
4915 | 0 | } |
4916 | | |
4917 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
4918 | 0 | return GetDescriptor(); |
4919 | 0 | } |
4920 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
4921 | 0 | return default_instance().GetMetadata().descriptor; |
4922 | 0 | } |
4923 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
4924 | 0 | return default_instance().GetMetadata().reflection; |
4925 | 0 | } |
4926 | 0 | static const DocTypeDecl& default_instance() { |
4927 | 0 | return *internal_default_instance(); |
4928 | 0 | } |
4929 | 7.75k | static inline const DocTypeDecl* internal_default_instance() { |
4930 | 7.75k | return reinterpret_cast<const DocTypeDecl*>( |
4931 | 7.75k | &_DocTypeDecl_default_instance_); |
4932 | 7.75k | } |
4933 | | static constexpr int kIndexInFileMessages = |
4934 | | 21; |
4935 | | |
4936 | 0 | friend void swap(DocTypeDecl& a, DocTypeDecl& b) { |
4937 | 0 | a.Swap(&b); |
4938 | 0 | } |
4939 | 0 | inline void Swap(DocTypeDecl* other) { |
4940 | 0 | if (other == this) return; |
4941 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
4942 | 0 | if (GetOwningArena() != nullptr && |
4943 | 0 | GetOwningArena() == other->GetOwningArena()) { |
4944 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
4945 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
4946 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
4947 | 0 | InternalSwap(other); |
4948 | 0 | } else { |
4949 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
4950 | 0 | } |
4951 | 0 | } |
4952 | 0 | void UnsafeArenaSwap(DocTypeDecl* other) { |
4953 | 0 | if (other == this) return; |
4954 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
4955 | 0 | InternalSwap(other); |
4956 | 0 | } |
4957 | | |
4958 | | // implements Message ---------------------------------------------- |
4959 | | |
4960 | 7.75k | DocTypeDecl* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
4961 | 7.75k | return CreateMaybeMessage<DocTypeDecl>(arena); |
4962 | 7.75k | } |
4963 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
4964 | | void CopyFrom(const DocTypeDecl& from); |
4965 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
4966 | 0 | void MergeFrom( const DocTypeDecl& from) { |
4967 | 0 | DocTypeDecl::MergeImpl(*this, from); |
4968 | 0 | } |
4969 | | private: |
4970 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
4971 | | public: |
4972 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
4973 | | bool IsInitialized() const final; |
4974 | | |
4975 | | size_t ByteSizeLong() const final; |
4976 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
4977 | | uint8_t* _InternalSerialize( |
4978 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
4979 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
4980 | | |
4981 | | private: |
4982 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
4983 | | void SharedDtor(); |
4984 | | void SetCachedSize(int size) const final; |
4985 | | void InternalSwap(DocTypeDecl* other); |
4986 | | |
4987 | | private: |
4988 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
4989 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
4990 | 0 | return "xmlProtoFuzzer.DocTypeDecl"; |
4991 | 0 | } |
4992 | | protected: |
4993 | | explicit DocTypeDecl(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
4994 | | bool is_message_owned = false); |
4995 | | public: |
4996 | | |
4997 | | static const ClassData _class_data_; |
4998 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
4999 | | |
5000 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
5001 | | |
5002 | | // nested types ---------------------------------------------------- |
5003 | | |
5004 | | // accessors ------------------------------------------------------- |
5005 | | |
5006 | | enum : int { |
5007 | | kMdeclFieldNumber = 3, |
5008 | | kNameFieldNumber = 1, |
5009 | | kExtFieldNumber = 2, |
5010 | | }; |
5011 | | // repeated .xmlProtoFuzzer.MarkupDecl mdecl = 3; |
5012 | | int mdecl_size() const; |
5013 | | private: |
5014 | | int _internal_mdecl_size() const; |
5015 | | public: |
5016 | | void clear_mdecl(); |
5017 | | ::xmlProtoFuzzer::MarkupDecl* mutable_mdecl(int index); |
5018 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::MarkupDecl >* |
5019 | | mutable_mdecl(); |
5020 | | private: |
5021 | | const ::xmlProtoFuzzer::MarkupDecl& _internal_mdecl(int index) const; |
5022 | | ::xmlProtoFuzzer::MarkupDecl* _internal_add_mdecl(); |
5023 | | public: |
5024 | | const ::xmlProtoFuzzer::MarkupDecl& mdecl(int index) const; |
5025 | | ::xmlProtoFuzzer::MarkupDecl* add_mdecl(); |
5026 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::MarkupDecl >& |
5027 | | mdecl() const; |
5028 | | |
5029 | | // string name = 1; |
5030 | | void clear_name(); |
5031 | | const std::string& name() const; |
5032 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
5033 | | void set_name(ArgT0&& arg0, ArgT... args); |
5034 | | std::string* mutable_name(); |
5035 | | PROTOBUF_NODISCARD std::string* release_name(); |
5036 | | void set_allocated_name(std::string* name); |
5037 | | private: |
5038 | | const std::string& _internal_name() const; |
5039 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
5040 | | std::string* _internal_mutable_name(); |
5041 | | public: |
5042 | | |
5043 | | // .xmlProtoFuzzer.ExternalId ext = 2; |
5044 | | bool has_ext() const; |
5045 | | private: |
5046 | | bool _internal_has_ext() const; |
5047 | | public: |
5048 | | void clear_ext(); |
5049 | | const ::xmlProtoFuzzer::ExternalId& ext() const; |
5050 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::ExternalId* release_ext(); |
5051 | | ::xmlProtoFuzzer::ExternalId* mutable_ext(); |
5052 | | void set_allocated_ext(::xmlProtoFuzzer::ExternalId* ext); |
5053 | | private: |
5054 | | const ::xmlProtoFuzzer::ExternalId& _internal_ext() const; |
5055 | | ::xmlProtoFuzzer::ExternalId* _internal_mutable_ext(); |
5056 | | public: |
5057 | | void unsafe_arena_set_allocated_ext( |
5058 | | ::xmlProtoFuzzer::ExternalId* ext); |
5059 | | ::xmlProtoFuzzer::ExternalId* unsafe_arena_release_ext(); |
5060 | | |
5061 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.DocTypeDecl) |
5062 | | private: |
5063 | | class _Internal; |
5064 | | |
5065 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
5066 | | typedef void InternalArenaConstructable_; |
5067 | | typedef void DestructorSkippable_; |
5068 | | struct Impl_ { |
5069 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::MarkupDecl > mdecl_; |
5070 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
5071 | | ::xmlProtoFuzzer::ExternalId* ext_; |
5072 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
5073 | | }; |
5074 | | union { Impl_ _impl_; }; |
5075 | | friend struct ::TableStruct_xml_2eproto; |
5076 | | }; |
5077 | | // ------------------------------------------------------------------- |
5078 | | |
5079 | | class Prolog final : |
5080 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.Prolog) */ { |
5081 | | public: |
5082 | 0 | inline Prolog() : Prolog(nullptr) {} |
5083 | | ~Prolog() override; |
5084 | | explicit PROTOBUF_CONSTEXPR Prolog(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
5085 | | |
5086 | | Prolog(const Prolog& from); |
5087 | | Prolog(Prolog&& from) noexcept |
5088 | 0 | : Prolog() { |
5089 | 0 | *this = ::std::move(from); |
5090 | 0 | } |
5091 | | |
5092 | 0 | inline Prolog& operator=(const Prolog& from) { |
5093 | 0 | CopyFrom(from); |
5094 | 0 | return *this; |
5095 | 0 | } |
5096 | 0 | inline Prolog& operator=(Prolog&& from) noexcept { |
5097 | 0 | if (this == &from) return *this; |
5098 | 0 | if (GetOwningArena() == from.GetOwningArena() |
5099 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
5100 | 0 | && GetOwningArena() != nullptr |
5101 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
5102 | 0 | ) { |
5103 | 0 | InternalSwap(&from); |
5104 | 0 | } else { |
5105 | 0 | CopyFrom(from); |
5106 | 0 | } |
5107 | 0 | return *this; |
5108 | 0 | } |
5109 | | |
5110 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
5111 | 0 | return GetDescriptor(); |
5112 | 0 | } |
5113 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
5114 | 0 | return default_instance().GetMetadata().descriptor; |
5115 | 0 | } |
5116 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
5117 | 0 | return default_instance().GetMetadata().reflection; |
5118 | 0 | } |
5119 | 0 | static const Prolog& default_instance() { |
5120 | 0 | return *internal_default_instance(); |
5121 | 0 | } |
5122 | 16.4k | static inline const Prolog* internal_default_instance() { |
5123 | 16.4k | return reinterpret_cast<const Prolog*>( |
5124 | 16.4k | &_Prolog_default_instance_); |
5125 | 16.4k | } |
5126 | | static constexpr int kIndexInFileMessages = |
5127 | | 22; |
5128 | | |
5129 | 0 | friend void swap(Prolog& a, Prolog& b) { |
5130 | 0 | a.Swap(&b); |
5131 | 0 | } |
5132 | 0 | inline void Swap(Prolog* other) { |
5133 | 0 | if (other == this) return; |
5134 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
5135 | 0 | if (GetOwningArena() != nullptr && |
5136 | 0 | GetOwningArena() == other->GetOwningArena()) { |
5137 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
5138 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
5139 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
5140 | 0 | InternalSwap(other); |
5141 | 0 | } else { |
5142 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
5143 | 0 | } |
5144 | 0 | } |
5145 | 0 | void UnsafeArenaSwap(Prolog* other) { |
5146 | 0 | if (other == this) return; |
5147 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
5148 | 0 | InternalSwap(other); |
5149 | 0 | } |
5150 | | |
5151 | | // implements Message ---------------------------------------------- |
5152 | | |
5153 | 8.20k | Prolog* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
5154 | 8.20k | return CreateMaybeMessage<Prolog>(arena); |
5155 | 8.20k | } |
5156 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
5157 | | void CopyFrom(const Prolog& from); |
5158 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
5159 | 0 | void MergeFrom( const Prolog& from) { |
5160 | 0 | Prolog::MergeImpl(*this, from); |
5161 | 0 | } |
5162 | | private: |
5163 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
5164 | | public: |
5165 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
5166 | | bool IsInitialized() const final; |
5167 | | |
5168 | | size_t ByteSizeLong() const final; |
5169 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
5170 | | uint8_t* _InternalSerialize( |
5171 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
5172 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
5173 | | |
5174 | | private: |
5175 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
5176 | | void SharedDtor(); |
5177 | | void SetCachedSize(int size) const final; |
5178 | | void InternalSwap(Prolog* other); |
5179 | | |
5180 | | private: |
5181 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
5182 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
5183 | 0 | return "xmlProtoFuzzer.Prolog"; |
5184 | 0 | } |
5185 | | protected: |
5186 | | explicit Prolog(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
5187 | | bool is_message_owned = false); |
5188 | | public: |
5189 | | |
5190 | | static const ClassData _class_data_; |
5191 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
5192 | | |
5193 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
5194 | | |
5195 | | // nested types ---------------------------------------------------- |
5196 | | |
5197 | | // accessors ------------------------------------------------------- |
5198 | | |
5199 | | enum : int { |
5200 | | kMiscFieldNumber = 3, |
5201 | | kDeclFieldNumber = 1, |
5202 | | kDoctypeFieldNumber = 2, |
5203 | | }; |
5204 | | // repeated .xmlProtoFuzzer.Misc misc = 3; |
5205 | | int misc_size() const; |
5206 | | private: |
5207 | | int _internal_misc_size() const; |
5208 | | public: |
5209 | | void clear_misc(); |
5210 | | ::xmlProtoFuzzer::Misc* mutable_misc(int index); |
5211 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::Misc >* |
5212 | | mutable_misc(); |
5213 | | private: |
5214 | | const ::xmlProtoFuzzer::Misc& _internal_misc(int index) const; |
5215 | | ::xmlProtoFuzzer::Misc* _internal_add_misc(); |
5216 | | public: |
5217 | | const ::xmlProtoFuzzer::Misc& misc(int index) const; |
5218 | | ::xmlProtoFuzzer::Misc* add_misc(); |
5219 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::Misc >& |
5220 | | misc() const; |
5221 | | |
5222 | | // .xmlProtoFuzzer.XmlDeclaration decl = 1; |
5223 | | bool has_decl() const; |
5224 | | private: |
5225 | | bool _internal_has_decl() const; |
5226 | | public: |
5227 | | void clear_decl(); |
5228 | | const ::xmlProtoFuzzer::XmlDeclaration& decl() const; |
5229 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::XmlDeclaration* release_decl(); |
5230 | | ::xmlProtoFuzzer::XmlDeclaration* mutable_decl(); |
5231 | | void set_allocated_decl(::xmlProtoFuzzer::XmlDeclaration* decl); |
5232 | | private: |
5233 | | const ::xmlProtoFuzzer::XmlDeclaration& _internal_decl() const; |
5234 | | ::xmlProtoFuzzer::XmlDeclaration* _internal_mutable_decl(); |
5235 | | public: |
5236 | | void unsafe_arena_set_allocated_decl( |
5237 | | ::xmlProtoFuzzer::XmlDeclaration* decl); |
5238 | | ::xmlProtoFuzzer::XmlDeclaration* unsafe_arena_release_decl(); |
5239 | | |
5240 | | // .xmlProtoFuzzer.DocTypeDecl doctype = 2; |
5241 | | bool has_doctype() const; |
5242 | | private: |
5243 | | bool _internal_has_doctype() const; |
5244 | | public: |
5245 | | void clear_doctype(); |
5246 | | const ::xmlProtoFuzzer::DocTypeDecl& doctype() const; |
5247 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::DocTypeDecl* release_doctype(); |
5248 | | ::xmlProtoFuzzer::DocTypeDecl* mutable_doctype(); |
5249 | | void set_allocated_doctype(::xmlProtoFuzzer::DocTypeDecl* doctype); |
5250 | | private: |
5251 | | const ::xmlProtoFuzzer::DocTypeDecl& _internal_doctype() const; |
5252 | | ::xmlProtoFuzzer::DocTypeDecl* _internal_mutable_doctype(); |
5253 | | public: |
5254 | | void unsafe_arena_set_allocated_doctype( |
5255 | | ::xmlProtoFuzzer::DocTypeDecl* doctype); |
5256 | | ::xmlProtoFuzzer::DocTypeDecl* unsafe_arena_release_doctype(); |
5257 | | |
5258 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.Prolog) |
5259 | | private: |
5260 | | class _Internal; |
5261 | | |
5262 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
5263 | | typedef void InternalArenaConstructable_; |
5264 | | typedef void DestructorSkippable_; |
5265 | | struct Impl_ { |
5266 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::Misc > misc_; |
5267 | | ::xmlProtoFuzzer::XmlDeclaration* decl_; |
5268 | | ::xmlProtoFuzzer::DocTypeDecl* doctype_; |
5269 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
5270 | | }; |
5271 | | union { Impl_ _impl_; }; |
5272 | | friend struct ::TableStruct_xml_2eproto; |
5273 | | }; |
5274 | | // ------------------------------------------------------------------- |
5275 | | |
5276 | | class KeyValue final : |
5277 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.KeyValue) */ { |
5278 | | public: |
5279 | 0 | inline KeyValue() : KeyValue(nullptr) {} |
5280 | | ~KeyValue() override; |
5281 | | explicit PROTOBUF_CONSTEXPR KeyValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
5282 | | |
5283 | | KeyValue(const KeyValue& from); |
5284 | | KeyValue(KeyValue&& from) noexcept |
5285 | 0 | : KeyValue() { |
5286 | 0 | *this = ::std::move(from); |
5287 | 0 | } |
5288 | | |
5289 | 0 | inline KeyValue& operator=(const KeyValue& from) { |
5290 | 0 | CopyFrom(from); |
5291 | 0 | return *this; |
5292 | 0 | } |
5293 | 0 | inline KeyValue& operator=(KeyValue&& from) noexcept { |
5294 | 0 | if (this == &from) return *this; |
5295 | 0 | if (GetOwningArena() == from.GetOwningArena() |
5296 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
5297 | 0 | && GetOwningArena() != nullptr |
5298 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
5299 | 0 | ) { |
5300 | 0 | InternalSwap(&from); |
5301 | 0 | } else { |
5302 | 0 | CopyFrom(from); |
5303 | 0 | } |
5304 | 0 | return *this; |
5305 | 0 | } |
5306 | | |
5307 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
5308 | 0 | return GetDescriptor(); |
5309 | 0 | } |
5310 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
5311 | 0 | return default_instance().GetMetadata().descriptor; |
5312 | 0 | } |
5313 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
5314 | 0 | return default_instance().GetMetadata().reflection; |
5315 | 0 | } |
5316 | 0 | static const KeyValue& default_instance() { |
5317 | 0 | return *internal_default_instance(); |
5318 | 0 | } |
5319 | 0 | static inline const KeyValue* internal_default_instance() { |
5320 | 0 | return reinterpret_cast<const KeyValue*>( |
5321 | 0 | &_KeyValue_default_instance_); |
5322 | 0 | } |
5323 | | static constexpr int kIndexInFileMessages = |
5324 | | 23; |
5325 | | |
5326 | 0 | friend void swap(KeyValue& a, KeyValue& b) { |
5327 | 0 | a.Swap(&b); |
5328 | 0 | } |
5329 | 0 | inline void Swap(KeyValue* other) { |
5330 | 0 | if (other == this) return; |
5331 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
5332 | 0 | if (GetOwningArena() != nullptr && |
5333 | 0 | GetOwningArena() == other->GetOwningArena()) { |
5334 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
5335 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
5336 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
5337 | 0 | InternalSwap(other); |
5338 | 0 | } else { |
5339 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
5340 | 0 | } |
5341 | 0 | } |
5342 | 0 | void UnsafeArenaSwap(KeyValue* other) { |
5343 | 0 | if (other == this) return; |
5344 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
5345 | 0 | InternalSwap(other); |
5346 | 0 | } |
5347 | | |
5348 | | // implements Message ---------------------------------------------- |
5349 | | |
5350 | 34.2k | KeyValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
5351 | 34.2k | return CreateMaybeMessage<KeyValue>(arena); |
5352 | 34.2k | } |
5353 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
5354 | | void CopyFrom(const KeyValue& from); |
5355 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
5356 | 0 | void MergeFrom( const KeyValue& from) { |
5357 | 0 | KeyValue::MergeImpl(*this, from); |
5358 | 0 | } |
5359 | | private: |
5360 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
5361 | | public: |
5362 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
5363 | | bool IsInitialized() const final; |
5364 | | |
5365 | | size_t ByteSizeLong() const final; |
5366 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
5367 | | uint8_t* _InternalSerialize( |
5368 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
5369 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
5370 | | |
5371 | | private: |
5372 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
5373 | | void SharedDtor(); |
5374 | | void SetCachedSize(int size) const final; |
5375 | | void InternalSwap(KeyValue* other); |
5376 | | |
5377 | | private: |
5378 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
5379 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
5380 | 0 | return "xmlProtoFuzzer.KeyValue"; |
5381 | 0 | } |
5382 | | protected: |
5383 | | explicit KeyValue(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
5384 | | bool is_message_owned = false); |
5385 | | public: |
5386 | | |
5387 | | static const ClassData _class_data_; |
5388 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
5389 | | |
5390 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
5391 | | |
5392 | | // nested types ---------------------------------------------------- |
5393 | | |
5394 | | typedef KeyValue_XmlNamespace XmlNamespace; |
5395 | | static constexpr XmlNamespace ATTRIBUTES = |
5396 | | KeyValue_XmlNamespace_ATTRIBUTES; |
5397 | | static constexpr XmlNamespace BASE = |
5398 | | KeyValue_XmlNamespace_BASE; |
5399 | | static constexpr XmlNamespace CATALOG = |
5400 | | KeyValue_XmlNamespace_CATALOG; |
5401 | | static constexpr XmlNamespace ID = |
5402 | | KeyValue_XmlNamespace_ID; |
5403 | | static constexpr XmlNamespace LANG = |
5404 | | KeyValue_XmlNamespace_LANG; |
5405 | | static constexpr XmlNamespace LINK = |
5406 | | KeyValue_XmlNamespace_LINK; |
5407 | | static constexpr XmlNamespace SPACE = |
5408 | | KeyValue_XmlNamespace_SPACE; |
5409 | | static constexpr XmlNamespace SPECIAL = |
5410 | | KeyValue_XmlNamespace_SPECIAL; |
5411 | | static constexpr XmlNamespace TEST = |
5412 | | KeyValue_XmlNamespace_TEST; |
5413 | | static constexpr XmlNamespace FUZZ = |
5414 | | KeyValue_XmlNamespace_FUZZ; |
5415 | 31.7k | static inline bool XmlNamespace_IsValid(int value) { |
5416 | 31.7k | return KeyValue_XmlNamespace_IsValid(value); |
5417 | 31.7k | } |
5418 | | static constexpr XmlNamespace XmlNamespace_MIN = |
5419 | | KeyValue_XmlNamespace_XmlNamespace_MIN; |
5420 | | static constexpr XmlNamespace XmlNamespace_MAX = |
5421 | | KeyValue_XmlNamespace_XmlNamespace_MAX; |
5422 | | static constexpr int XmlNamespace_ARRAYSIZE = |
5423 | | KeyValue_XmlNamespace_XmlNamespace_ARRAYSIZE; |
5424 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
5425 | 0 | XmlNamespace_descriptor() { |
5426 | 0 | return KeyValue_XmlNamespace_descriptor(); |
5427 | 0 | } |
5428 | | template<typename T> |
5429 | | static inline const std::string& XmlNamespace_Name(T enum_t_value) { |
5430 | | static_assert(::std::is_same<T, XmlNamespace>::value || |
5431 | | ::std::is_integral<T>::value, |
5432 | | "Incorrect type passed to function XmlNamespace_Name."); |
5433 | | return KeyValue_XmlNamespace_Name(enum_t_value); |
5434 | | } |
5435 | | static inline bool XmlNamespace_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
5436 | 0 | XmlNamespace* value) { |
5437 | 0 | return KeyValue_XmlNamespace_Parse(name, value); |
5438 | 0 | } |
5439 | | |
5440 | | // accessors ------------------------------------------------------- |
5441 | | |
5442 | | enum : int { |
5443 | | kKeyFieldNumber = 2, |
5444 | | kValueFieldNumber = 3, |
5445 | | kTypeFieldNumber = 1, |
5446 | | }; |
5447 | | // string key = 2; |
5448 | | void clear_key(); |
5449 | | const std::string& key() const; |
5450 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
5451 | | void set_key(ArgT0&& arg0, ArgT... args); |
5452 | | std::string* mutable_key(); |
5453 | | PROTOBUF_NODISCARD std::string* release_key(); |
5454 | | void set_allocated_key(std::string* key); |
5455 | | private: |
5456 | | const std::string& _internal_key() const; |
5457 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(const std::string& value); |
5458 | | std::string* _internal_mutable_key(); |
5459 | | public: |
5460 | | |
5461 | | // string value = 3; |
5462 | | void clear_value(); |
5463 | | const std::string& value() const; |
5464 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
5465 | | void set_value(ArgT0&& arg0, ArgT... args); |
5466 | | std::string* mutable_value(); |
5467 | | PROTOBUF_NODISCARD std::string* release_value(); |
5468 | | void set_allocated_value(std::string* value); |
5469 | | private: |
5470 | | const std::string& _internal_value() const; |
5471 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_value(const std::string& value); |
5472 | | std::string* _internal_mutable_value(); |
5473 | | public: |
5474 | | |
5475 | | // .xmlProtoFuzzer.KeyValue.XmlNamespace type = 1; |
5476 | | void clear_type(); |
5477 | | ::xmlProtoFuzzer::KeyValue_XmlNamespace type() const; |
5478 | | void set_type(::xmlProtoFuzzer::KeyValue_XmlNamespace value); |
5479 | | private: |
5480 | | ::xmlProtoFuzzer::KeyValue_XmlNamespace _internal_type() const; |
5481 | | void _internal_set_type(::xmlProtoFuzzer::KeyValue_XmlNamespace value); |
5482 | | public: |
5483 | | |
5484 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.KeyValue) |
5485 | | private: |
5486 | | class _Internal; |
5487 | | |
5488 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
5489 | | typedef void InternalArenaConstructable_; |
5490 | | typedef void DestructorSkippable_; |
5491 | | struct Impl_ { |
5492 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_; |
5493 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_; |
5494 | | int type_; |
5495 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
5496 | | }; |
5497 | | union { Impl_ _impl_; }; |
5498 | | friend struct ::TableStruct_xml_2eproto; |
5499 | | }; |
5500 | | // ------------------------------------------------------------------- |
5501 | | |
5502 | | class ProcessingInstruction final : |
5503 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.ProcessingInstruction) */ { |
5504 | | public: |
5505 | 0 | inline ProcessingInstruction() : ProcessingInstruction(nullptr) {} |
5506 | | ~ProcessingInstruction() override; |
5507 | | explicit PROTOBUF_CONSTEXPR ProcessingInstruction(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
5508 | | |
5509 | | ProcessingInstruction(const ProcessingInstruction& from); |
5510 | | ProcessingInstruction(ProcessingInstruction&& from) noexcept |
5511 | 0 | : ProcessingInstruction() { |
5512 | 0 | *this = ::std::move(from); |
5513 | 0 | } |
5514 | | |
5515 | 0 | inline ProcessingInstruction& operator=(const ProcessingInstruction& from) { |
5516 | 0 | CopyFrom(from); |
5517 | 0 | return *this; |
5518 | 0 | } |
5519 | 0 | inline ProcessingInstruction& operator=(ProcessingInstruction&& from) noexcept { |
5520 | 0 | if (this == &from) return *this; |
5521 | 0 | if (GetOwningArena() == from.GetOwningArena() |
5522 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
5523 | 0 | && GetOwningArena() != nullptr |
5524 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
5525 | 0 | ) { |
5526 | 0 | InternalSwap(&from); |
5527 | 0 | } else { |
5528 | 0 | CopyFrom(from); |
5529 | 0 | } |
5530 | 0 | return *this; |
5531 | 0 | } |
5532 | | |
5533 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
5534 | 0 | return GetDescriptor(); |
5535 | 0 | } |
5536 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
5537 | 0 | return default_instance().GetMetadata().descriptor; |
5538 | 0 | } |
5539 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
5540 | 0 | return default_instance().GetMetadata().reflection; |
5541 | 0 | } |
5542 | 0 | static const ProcessingInstruction& default_instance() { |
5543 | 0 | return *internal_default_instance(); |
5544 | 0 | } |
5545 | 0 | static inline const ProcessingInstruction* internal_default_instance() { |
5546 | 0 | return reinterpret_cast<const ProcessingInstruction*>( |
5547 | 0 | &_ProcessingInstruction_default_instance_); |
5548 | 0 | } |
5549 | | static constexpr int kIndexInFileMessages = |
5550 | | 24; |
5551 | | |
5552 | 0 | friend void swap(ProcessingInstruction& a, ProcessingInstruction& b) { |
5553 | 0 | a.Swap(&b); |
5554 | 0 | } |
5555 | 0 | inline void Swap(ProcessingInstruction* other) { |
5556 | 0 | if (other == this) return; |
5557 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
5558 | 0 | if (GetOwningArena() != nullptr && |
5559 | 0 | GetOwningArena() == other->GetOwningArena()) { |
5560 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
5561 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
5562 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
5563 | 0 | InternalSwap(other); |
5564 | 0 | } else { |
5565 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
5566 | 0 | } |
5567 | 0 | } |
5568 | 0 | void UnsafeArenaSwap(ProcessingInstruction* other) { |
5569 | 0 | if (other == this) return; |
5570 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
5571 | 0 | InternalSwap(other); |
5572 | 0 | } |
5573 | | |
5574 | | // implements Message ---------------------------------------------- |
5575 | | |
5576 | 1.51k | ProcessingInstruction* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
5577 | 1.51k | return CreateMaybeMessage<ProcessingInstruction>(arena); |
5578 | 1.51k | } |
5579 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
5580 | | void CopyFrom(const ProcessingInstruction& from); |
5581 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
5582 | 0 | void MergeFrom( const ProcessingInstruction& from) { |
5583 | 0 | ProcessingInstruction::MergeImpl(*this, from); |
5584 | 0 | } |
5585 | | private: |
5586 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
5587 | | public: |
5588 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
5589 | | bool IsInitialized() const final; |
5590 | | |
5591 | | size_t ByteSizeLong() const final; |
5592 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
5593 | | uint8_t* _InternalSerialize( |
5594 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
5595 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
5596 | | |
5597 | | private: |
5598 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
5599 | | void SharedDtor(); |
5600 | | void SetCachedSize(int size) const final; |
5601 | | void InternalSwap(ProcessingInstruction* other); |
5602 | | |
5603 | | private: |
5604 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
5605 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
5606 | 0 | return "xmlProtoFuzzer.ProcessingInstruction"; |
5607 | 0 | } |
5608 | | protected: |
5609 | | explicit ProcessingInstruction(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
5610 | | bool is_message_owned = false); |
5611 | | public: |
5612 | | |
5613 | | static const ClassData _class_data_; |
5614 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
5615 | | |
5616 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
5617 | | |
5618 | | // nested types ---------------------------------------------------- |
5619 | | |
5620 | | // accessors ------------------------------------------------------- |
5621 | | |
5622 | | enum : int { |
5623 | | kKvFieldNumber = 2, |
5624 | | kNameFieldNumber = 1, |
5625 | | }; |
5626 | | // repeated .xmlProtoFuzzer.KeyValue kv = 2; |
5627 | | int kv_size() const; |
5628 | | private: |
5629 | | int _internal_kv_size() const; |
5630 | | public: |
5631 | | void clear_kv(); |
5632 | | ::xmlProtoFuzzer::KeyValue* mutable_kv(int index); |
5633 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::KeyValue >* |
5634 | | mutable_kv(); |
5635 | | private: |
5636 | | const ::xmlProtoFuzzer::KeyValue& _internal_kv(int index) const; |
5637 | | ::xmlProtoFuzzer::KeyValue* _internal_add_kv(); |
5638 | | public: |
5639 | | const ::xmlProtoFuzzer::KeyValue& kv(int index) const; |
5640 | | ::xmlProtoFuzzer::KeyValue* add_kv(); |
5641 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::KeyValue >& |
5642 | | kv() const; |
5643 | | |
5644 | | // string name = 1; |
5645 | | void clear_name(); |
5646 | | const std::string& name() const; |
5647 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
5648 | | void set_name(ArgT0&& arg0, ArgT... args); |
5649 | | std::string* mutable_name(); |
5650 | | PROTOBUF_NODISCARD std::string* release_name(); |
5651 | | void set_allocated_name(std::string* name); |
5652 | | private: |
5653 | | const std::string& _internal_name() const; |
5654 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
5655 | | std::string* _internal_mutable_name(); |
5656 | | public: |
5657 | | |
5658 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.ProcessingInstruction) |
5659 | | private: |
5660 | | class _Internal; |
5661 | | |
5662 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
5663 | | typedef void InternalArenaConstructable_; |
5664 | | typedef void DestructorSkippable_; |
5665 | | struct Impl_ { |
5666 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::KeyValue > kv_; |
5667 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
5668 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
5669 | | }; |
5670 | | union { Impl_ _impl_; }; |
5671 | | friend struct ::TableStruct_xml_2eproto; |
5672 | | }; |
5673 | | // ------------------------------------------------------------------- |
5674 | | |
5675 | | class CData final : |
5676 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.CData) */ { |
5677 | | public: |
5678 | 0 | inline CData() : CData(nullptr) {} |
5679 | | ~CData() override; |
5680 | | explicit PROTOBUF_CONSTEXPR CData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
5681 | | |
5682 | | CData(const CData& from); |
5683 | | CData(CData&& from) noexcept |
5684 | 0 | : CData() { |
5685 | 0 | *this = ::std::move(from); |
5686 | 0 | } |
5687 | | |
5688 | 0 | inline CData& operator=(const CData& from) { |
5689 | 0 | CopyFrom(from); |
5690 | 0 | return *this; |
5691 | 0 | } |
5692 | 0 | inline CData& operator=(CData&& from) noexcept { |
5693 | 0 | if (this == &from) return *this; |
5694 | 0 | if (GetOwningArena() == from.GetOwningArena() |
5695 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
5696 | 0 | && GetOwningArena() != nullptr |
5697 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
5698 | 0 | ) { |
5699 | 0 | InternalSwap(&from); |
5700 | 0 | } else { |
5701 | 0 | CopyFrom(from); |
5702 | 0 | } |
5703 | 0 | return *this; |
5704 | 0 | } |
5705 | | |
5706 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
5707 | 0 | return GetDescriptor(); |
5708 | 0 | } |
5709 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
5710 | 0 | return default_instance().GetMetadata().descriptor; |
5711 | 0 | } |
5712 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
5713 | 0 | return default_instance().GetMetadata().reflection; |
5714 | 0 | } |
5715 | 0 | static const CData& default_instance() { |
5716 | 0 | return *internal_default_instance(); |
5717 | 0 | } |
5718 | 0 | static inline const CData* internal_default_instance() { |
5719 | 0 | return reinterpret_cast<const CData*>( |
5720 | 0 | &_CData_default_instance_); |
5721 | 0 | } |
5722 | | static constexpr int kIndexInFileMessages = |
5723 | | 25; |
5724 | | |
5725 | 0 | friend void swap(CData& a, CData& b) { |
5726 | 0 | a.Swap(&b); |
5727 | 0 | } |
5728 | 0 | inline void Swap(CData* other) { |
5729 | 0 | if (other == this) return; |
5730 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
5731 | 0 | if (GetOwningArena() != nullptr && |
5732 | 0 | GetOwningArena() == other->GetOwningArena()) { |
5733 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
5734 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
5735 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
5736 | 0 | InternalSwap(other); |
5737 | 0 | } else { |
5738 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
5739 | 0 | } |
5740 | 0 | } |
5741 | 0 | void UnsafeArenaSwap(CData* other) { |
5742 | 0 | if (other == this) return; |
5743 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
5744 | 0 | InternalSwap(other); |
5745 | 0 | } |
5746 | | |
5747 | | // implements Message ---------------------------------------------- |
5748 | | |
5749 | 3.65k | CData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
5750 | 3.65k | return CreateMaybeMessage<CData>(arena); |
5751 | 3.65k | } |
5752 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
5753 | | void CopyFrom(const CData& from); |
5754 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
5755 | 0 | void MergeFrom( const CData& from) { |
5756 | 0 | CData::MergeImpl(*this, from); |
5757 | 0 | } |
5758 | | private: |
5759 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
5760 | | public: |
5761 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
5762 | | bool IsInitialized() const final; |
5763 | | |
5764 | | size_t ByteSizeLong() const final; |
5765 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
5766 | | uint8_t* _InternalSerialize( |
5767 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
5768 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
5769 | | |
5770 | | private: |
5771 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
5772 | | void SharedDtor(); |
5773 | | void SetCachedSize(int size) const final; |
5774 | | void InternalSwap(CData* other); |
5775 | | |
5776 | | private: |
5777 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
5778 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
5779 | 0 | return "xmlProtoFuzzer.CData"; |
5780 | 0 | } |
5781 | | protected: |
5782 | | explicit CData(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
5783 | | bool is_message_owned = false); |
5784 | | public: |
5785 | | |
5786 | | static const ClassData _class_data_; |
5787 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
5788 | | |
5789 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
5790 | | |
5791 | | // nested types ---------------------------------------------------- |
5792 | | |
5793 | | // accessors ------------------------------------------------------- |
5794 | | |
5795 | | enum : int { |
5796 | | kDataFieldNumber = 1, |
5797 | | }; |
5798 | | // string data = 1; |
5799 | | void clear_data(); |
5800 | | const std::string& data() const; |
5801 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
5802 | | void set_data(ArgT0&& arg0, ArgT... args); |
5803 | | std::string* mutable_data(); |
5804 | | PROTOBUF_NODISCARD std::string* release_data(); |
5805 | | void set_allocated_data(std::string* data); |
5806 | | private: |
5807 | | const std::string& _internal_data() const; |
5808 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_data(const std::string& value); |
5809 | | std::string* _internal_mutable_data(); |
5810 | | public: |
5811 | | |
5812 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.CData) |
5813 | | private: |
5814 | | class _Internal; |
5815 | | |
5816 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
5817 | | typedef void InternalArenaConstructable_; |
5818 | | typedef void DestructorSkippable_; |
5819 | | struct Impl_ { |
5820 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr data_; |
5821 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
5822 | | }; |
5823 | | union { Impl_ _impl_; }; |
5824 | | friend struct ::TableStruct_xml_2eproto; |
5825 | | }; |
5826 | | // ------------------------------------------------------------------- |
5827 | | |
5828 | | class Content final : |
5829 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.Content) */ { |
5830 | | public: |
5831 | 0 | inline Content() : Content(nullptr) {} |
5832 | | ~Content() override; |
5833 | | explicit PROTOBUF_CONSTEXPR Content(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
5834 | | |
5835 | | Content(const Content& from); |
5836 | | Content(Content&& from) noexcept |
5837 | 0 | : Content() { |
5838 | 0 | *this = ::std::move(from); |
5839 | 0 | } |
5840 | | |
5841 | 0 | inline Content& operator=(const Content& from) { |
5842 | 0 | CopyFrom(from); |
5843 | 0 | return *this; |
5844 | 0 | } |
5845 | 0 | inline Content& operator=(Content&& from) noexcept { |
5846 | 0 | if (this == &from) return *this; |
5847 | 0 | if (GetOwningArena() == from.GetOwningArena() |
5848 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
5849 | 0 | && GetOwningArena() != nullptr |
5850 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
5851 | 0 | ) { |
5852 | 0 | InternalSwap(&from); |
5853 | 0 | } else { |
5854 | 0 | CopyFrom(from); |
5855 | 0 | } |
5856 | 0 | return *this; |
5857 | 0 | } |
5858 | | |
5859 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
5860 | 0 | return GetDescriptor(); |
5861 | 0 | } |
5862 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
5863 | 0 | return default_instance().GetMetadata().descriptor; |
5864 | 0 | } |
5865 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
5866 | 0 | return default_instance().GetMetadata().reflection; |
5867 | 0 | } |
5868 | 0 | static const Content& default_instance() { |
5869 | 0 | return *internal_default_instance(); |
5870 | 0 | } |
5871 | | enum ContentOneofCase { |
5872 | | kStr = 1, |
5873 | | kE = 2, |
5874 | | kC = 3, |
5875 | | CONTENT_ONEOF_NOT_SET = 0, |
5876 | | }; |
5877 | | |
5878 | 0 | static inline const Content* internal_default_instance() { |
5879 | 0 | return reinterpret_cast<const Content*>( |
5880 | 0 | &_Content_default_instance_); |
5881 | 0 | } |
5882 | | static constexpr int kIndexInFileMessages = |
5883 | | 26; |
5884 | | |
5885 | 0 | friend void swap(Content& a, Content& b) { |
5886 | 0 | a.Swap(&b); |
5887 | 0 | } |
5888 | 0 | inline void Swap(Content* other) { |
5889 | 0 | if (other == this) return; |
5890 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
5891 | 0 | if (GetOwningArena() != nullptr && |
5892 | 0 | GetOwningArena() == other->GetOwningArena()) { |
5893 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
5894 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
5895 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
5896 | 0 | InternalSwap(other); |
5897 | 0 | } else { |
5898 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
5899 | 0 | } |
5900 | 0 | } |
5901 | 0 | void UnsafeArenaSwap(Content* other) { |
5902 | 0 | if (other == this) return; |
5903 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
5904 | 0 | InternalSwap(other); |
5905 | 0 | } |
5906 | | |
5907 | | // implements Message ---------------------------------------------- |
5908 | | |
5909 | 21.2k | Content* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
5910 | 21.2k | return CreateMaybeMessage<Content>(arena); |
5911 | 21.2k | } |
5912 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
5913 | | void CopyFrom(const Content& from); |
5914 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
5915 | 0 | void MergeFrom( const Content& from) { |
5916 | 0 | Content::MergeImpl(*this, from); |
5917 | 0 | } |
5918 | | private: |
5919 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
5920 | | public: |
5921 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
5922 | | bool IsInitialized() const final; |
5923 | | |
5924 | | size_t ByteSizeLong() const final; |
5925 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
5926 | | uint8_t* _InternalSerialize( |
5927 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
5928 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
5929 | | |
5930 | | private: |
5931 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
5932 | | void SharedDtor(); |
5933 | | void SetCachedSize(int size) const final; |
5934 | | void InternalSwap(Content* other); |
5935 | | |
5936 | | private: |
5937 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
5938 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
5939 | 0 | return "xmlProtoFuzzer.Content"; |
5940 | 0 | } |
5941 | | protected: |
5942 | | explicit Content(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
5943 | | bool is_message_owned = false); |
5944 | | public: |
5945 | | |
5946 | | static const ClassData _class_data_; |
5947 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
5948 | | |
5949 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
5950 | | |
5951 | | // nested types ---------------------------------------------------- |
5952 | | |
5953 | | // accessors ------------------------------------------------------- |
5954 | | |
5955 | | enum : int { |
5956 | | kStrFieldNumber = 1, |
5957 | | kEFieldNumber = 2, |
5958 | | kCFieldNumber = 3, |
5959 | | }; |
5960 | | // string str = 1; |
5961 | | bool has_str() const; |
5962 | | private: |
5963 | | bool _internal_has_str() const; |
5964 | | public: |
5965 | | void clear_str(); |
5966 | | const std::string& str() const; |
5967 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
5968 | | void set_str(ArgT0&& arg0, ArgT... args); |
5969 | | std::string* mutable_str(); |
5970 | | PROTOBUF_NODISCARD std::string* release_str(); |
5971 | | void set_allocated_str(std::string* str); |
5972 | | private: |
5973 | | const std::string& _internal_str() const; |
5974 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_str(const std::string& value); |
5975 | | std::string* _internal_mutable_str(); |
5976 | | public: |
5977 | | |
5978 | | // .xmlProtoFuzzer.Element e = 2; |
5979 | | bool has_e() const; |
5980 | | private: |
5981 | | bool _internal_has_e() const; |
5982 | | public: |
5983 | | void clear_e(); |
5984 | | const ::xmlProtoFuzzer::Element& e() const; |
5985 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::Element* release_e(); |
5986 | | ::xmlProtoFuzzer::Element* mutable_e(); |
5987 | | void set_allocated_e(::xmlProtoFuzzer::Element* e); |
5988 | | private: |
5989 | | const ::xmlProtoFuzzer::Element& _internal_e() const; |
5990 | | ::xmlProtoFuzzer::Element* _internal_mutable_e(); |
5991 | | public: |
5992 | | void unsafe_arena_set_allocated_e( |
5993 | | ::xmlProtoFuzzer::Element* e); |
5994 | | ::xmlProtoFuzzer::Element* unsafe_arena_release_e(); |
5995 | | |
5996 | | // .xmlProtoFuzzer.CData c = 3; |
5997 | | bool has_c() const; |
5998 | | private: |
5999 | | bool _internal_has_c() const; |
6000 | | public: |
6001 | | void clear_c(); |
6002 | | const ::xmlProtoFuzzer::CData& c() const; |
6003 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::CData* release_c(); |
6004 | | ::xmlProtoFuzzer::CData* mutable_c(); |
6005 | | void set_allocated_c(::xmlProtoFuzzer::CData* c); |
6006 | | private: |
6007 | | const ::xmlProtoFuzzer::CData& _internal_c() const; |
6008 | | ::xmlProtoFuzzer::CData* _internal_mutable_c(); |
6009 | | public: |
6010 | | void unsafe_arena_set_allocated_c( |
6011 | | ::xmlProtoFuzzer::CData* c); |
6012 | | ::xmlProtoFuzzer::CData* unsafe_arena_release_c(); |
6013 | | |
6014 | | void clear_content_oneof(); |
6015 | | ContentOneofCase content_oneof_case() const; |
6016 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.Content) |
6017 | | private: |
6018 | | class _Internal; |
6019 | | void set_has_str(); |
6020 | | void set_has_e(); |
6021 | | void set_has_c(); |
6022 | | |
6023 | | inline bool has_content_oneof() const; |
6024 | | inline void clear_has_content_oneof(); |
6025 | | |
6026 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
6027 | | typedef void InternalArenaConstructable_; |
6028 | | typedef void DestructorSkippable_; |
6029 | | struct Impl_ { |
6030 | | union ContentOneofUnion { |
6031 | 21.2k | constexpr ContentOneofUnion() : _constinit_{} {} |
6032 | | ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_; |
6033 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr str_; |
6034 | | ::xmlProtoFuzzer::Element* e_; |
6035 | | ::xmlProtoFuzzer::CData* c_; |
6036 | | } content_oneof_; |
6037 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
6038 | | uint32_t _oneof_case_[1]; |
6039 | | |
6040 | | }; |
6041 | | union { Impl_ _impl_; }; |
6042 | | friend struct ::TableStruct_xml_2eproto; |
6043 | | }; |
6044 | | // ------------------------------------------------------------------- |
6045 | | |
6046 | | class Element final : |
6047 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.Element) */ { |
6048 | | public: |
6049 | 0 | inline Element() : Element(nullptr) {} |
6050 | | ~Element() override; |
6051 | | explicit PROTOBUF_CONSTEXPR Element(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
6052 | | |
6053 | | Element(const Element& from); |
6054 | | Element(Element&& from) noexcept |
6055 | 0 | : Element() { |
6056 | 0 | *this = ::std::move(from); |
6057 | 0 | } |
6058 | | |
6059 | 0 | inline Element& operator=(const Element& from) { |
6060 | 0 | CopyFrom(from); |
6061 | 0 | return *this; |
6062 | 0 | } |
6063 | 0 | inline Element& operator=(Element&& from) noexcept { |
6064 | 0 | if (this == &from) return *this; |
6065 | 0 | if (GetOwningArena() == from.GetOwningArena() |
6066 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
6067 | 0 | && GetOwningArena() != nullptr |
6068 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
6069 | 0 | ) { |
6070 | 0 | InternalSwap(&from); |
6071 | 0 | } else { |
6072 | 0 | CopyFrom(from); |
6073 | 0 | } |
6074 | 0 | return *this; |
6075 | 0 | } |
6076 | | |
6077 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
6078 | 0 | return GetDescriptor(); |
6079 | 0 | } |
6080 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
6081 | 0 | return default_instance().GetMetadata().descriptor; |
6082 | 0 | } |
6083 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
6084 | 0 | return default_instance().GetMetadata().reflection; |
6085 | 0 | } |
6086 | 0 | static const Element& default_instance() { |
6087 | 0 | return *internal_default_instance(); |
6088 | 0 | } |
6089 | 417k | static inline const Element* internal_default_instance() { |
6090 | 417k | return reinterpret_cast<const Element*>( |
6091 | 417k | &_Element_default_instance_); |
6092 | 417k | } |
6093 | | static constexpr int kIndexInFileMessages = |
6094 | | 27; |
6095 | | |
6096 | 0 | friend void swap(Element& a, Element& b) { |
6097 | 0 | a.Swap(&b); |
6098 | 0 | } |
6099 | 0 | inline void Swap(Element* other) { |
6100 | 0 | if (other == this) return; |
6101 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
6102 | 0 | if (GetOwningArena() != nullptr && |
6103 | 0 | GetOwningArena() == other->GetOwningArena()) { |
6104 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
6105 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
6106 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
6107 | 0 | InternalSwap(other); |
6108 | 0 | } else { |
6109 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
6110 | 0 | } |
6111 | 0 | } |
6112 | 0 | void UnsafeArenaSwap(Element* other) { |
6113 | 0 | if (other == this) return; |
6114 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
6115 | 0 | InternalSwap(other); |
6116 | 0 | } |
6117 | | |
6118 | | // implements Message ---------------------------------------------- |
6119 | | |
6120 | 417k | Element* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
6121 | 417k | return CreateMaybeMessage<Element>(arena); |
6122 | 417k | } |
6123 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
6124 | | void CopyFrom(const Element& from); |
6125 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
6126 | 0 | void MergeFrom( const Element& from) { |
6127 | 0 | Element::MergeImpl(*this, from); |
6128 | 0 | } |
6129 | | private: |
6130 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
6131 | | public: |
6132 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
6133 | | bool IsInitialized() const final; |
6134 | | |
6135 | | size_t ByteSizeLong() const final; |
6136 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
6137 | | uint8_t* _InternalSerialize( |
6138 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
6139 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
6140 | | |
6141 | | private: |
6142 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
6143 | | void SharedDtor(); |
6144 | | void SetCachedSize(int size) const final; |
6145 | | void InternalSwap(Element* other); |
6146 | | |
6147 | | private: |
6148 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
6149 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
6150 | 0 | return "xmlProtoFuzzer.Element"; |
6151 | 0 | } |
6152 | | protected: |
6153 | | explicit Element(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
6154 | | bool is_message_owned = false); |
6155 | | public: |
6156 | | |
6157 | | static const ClassData _class_data_; |
6158 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
6159 | | |
6160 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
6161 | | |
6162 | | // nested types ---------------------------------------------------- |
6163 | | |
6164 | | typedef Element_Type Type; |
6165 | | static constexpr Type PREDEFINED = |
6166 | | Element_Type_PREDEFINED; |
6167 | | static constexpr Type FUZZ = |
6168 | | Element_Type_FUZZ; |
6169 | 410k | static inline bool Type_IsValid(int value) { |
6170 | 410k | return Element_Type_IsValid(value); |
6171 | 410k | } |
6172 | | static constexpr Type Type_MIN = |
6173 | | Element_Type_Type_MIN; |
6174 | | static constexpr Type Type_MAX = |
6175 | | Element_Type_Type_MAX; |
6176 | | static constexpr int Type_ARRAYSIZE = |
6177 | | Element_Type_Type_ARRAYSIZE; |
6178 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
6179 | 0 | Type_descriptor() { |
6180 | 0 | return Element_Type_descriptor(); |
6181 | 0 | } |
6182 | | template<typename T> |
6183 | | static inline const std::string& Type_Name(T enum_t_value) { |
6184 | | static_assert(::std::is_same<T, Type>::value || |
6185 | | ::std::is_integral<T>::value, |
6186 | | "Incorrect type passed to function Type_Name."); |
6187 | | return Element_Type_Name(enum_t_value); |
6188 | | } |
6189 | | static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
6190 | 0 | Type* value) { |
6191 | 0 | return Element_Type_Parse(name, value); |
6192 | 0 | } |
6193 | | |
6194 | | typedef Element_Id Id; |
6195 | | static constexpr Id XIINCLUDE = |
6196 | | Element_Id_XIINCLUDE; |
6197 | | static constexpr Id XIFALLBACK = |
6198 | | Element_Id_XIFALLBACK; |
6199 | | static constexpr Id XIHREF = |
6200 | | Element_Id_XIHREF; |
6201 | | static constexpr Id XIPARSE = |
6202 | | Element_Id_XIPARSE; |
6203 | | static constexpr Id XIXPOINTER = |
6204 | | Element_Id_XIXPOINTER; |
6205 | | static constexpr Id XIENCODING = |
6206 | | Element_Id_XIENCODING; |
6207 | | static constexpr Id XIACCEPT = |
6208 | | Element_Id_XIACCEPT; |
6209 | | static constexpr Id XIACCEPTLANG = |
6210 | | Element_Id_XIACCEPTLANG; |
6211 | 391k | static inline bool Id_IsValid(int value) { |
6212 | 391k | return Element_Id_IsValid(value); |
6213 | 391k | } |
6214 | | static constexpr Id Id_MIN = |
6215 | | Element_Id_Id_MIN; |
6216 | | static constexpr Id Id_MAX = |
6217 | | Element_Id_Id_MAX; |
6218 | | static constexpr int Id_ARRAYSIZE = |
6219 | | Element_Id_Id_ARRAYSIZE; |
6220 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
6221 | 0 | Id_descriptor() { |
6222 | 0 | return Element_Id_descriptor(); |
6223 | 0 | } |
6224 | | template<typename T> |
6225 | | static inline const std::string& Id_Name(T enum_t_value) { |
6226 | | static_assert(::std::is_same<T, Id>::value || |
6227 | | ::std::is_integral<T>::value, |
6228 | | "Incorrect type passed to function Id_Name."); |
6229 | | return Element_Id_Name(enum_t_value); |
6230 | | } |
6231 | | static inline bool Id_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
6232 | 0 | Id* value) { |
6233 | 0 | return Element_Id_Parse(name, value); |
6234 | 0 | } |
6235 | | |
6236 | | // accessors ------------------------------------------------------- |
6237 | | |
6238 | | enum : int { |
6239 | | kKvFieldNumber = 4, |
6240 | | kNameFieldNumber = 3, |
6241 | | kChildpropFieldNumber = 6, |
6242 | | kContentFieldNumber = 5, |
6243 | | kTypeFieldNumber = 1, |
6244 | | kIdFieldNumber = 2, |
6245 | | }; |
6246 | | // repeated .xmlProtoFuzzer.KeyValue kv = 4; |
6247 | | int kv_size() const; |
6248 | | private: |
6249 | | int _internal_kv_size() const; |
6250 | | public: |
6251 | | void clear_kv(); |
6252 | | ::xmlProtoFuzzer::KeyValue* mutable_kv(int index); |
6253 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::KeyValue >* |
6254 | | mutable_kv(); |
6255 | | private: |
6256 | | const ::xmlProtoFuzzer::KeyValue& _internal_kv(int index) const; |
6257 | | ::xmlProtoFuzzer::KeyValue* _internal_add_kv(); |
6258 | | public: |
6259 | | const ::xmlProtoFuzzer::KeyValue& kv(int index) const; |
6260 | | ::xmlProtoFuzzer::KeyValue* add_kv(); |
6261 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::KeyValue >& |
6262 | | kv() const; |
6263 | | |
6264 | | // string name = 3; |
6265 | | void clear_name(); |
6266 | | const std::string& name() const; |
6267 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
6268 | | void set_name(ArgT0&& arg0, ArgT... args); |
6269 | | std::string* mutable_name(); |
6270 | | PROTOBUF_NODISCARD std::string* release_name(); |
6271 | | void set_allocated_name(std::string* name); |
6272 | | private: |
6273 | | const std::string& _internal_name() const; |
6274 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value); |
6275 | | std::string* _internal_mutable_name(); |
6276 | | public: |
6277 | | |
6278 | | // string childprop = 6; |
6279 | | void clear_childprop(); |
6280 | | const std::string& childprop() const; |
6281 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
6282 | | void set_childprop(ArgT0&& arg0, ArgT... args); |
6283 | | std::string* mutable_childprop(); |
6284 | | PROTOBUF_NODISCARD std::string* release_childprop(); |
6285 | | void set_allocated_childprop(std::string* childprop); |
6286 | | private: |
6287 | | const std::string& _internal_childprop() const; |
6288 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_childprop(const std::string& value); |
6289 | | std::string* _internal_mutable_childprop(); |
6290 | | public: |
6291 | | |
6292 | | // .xmlProtoFuzzer.Content content = 5; |
6293 | | bool has_content() const; |
6294 | | private: |
6295 | | bool _internal_has_content() const; |
6296 | | public: |
6297 | | void clear_content(); |
6298 | | const ::xmlProtoFuzzer::Content& content() const; |
6299 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::Content* release_content(); |
6300 | | ::xmlProtoFuzzer::Content* mutable_content(); |
6301 | | void set_allocated_content(::xmlProtoFuzzer::Content* content); |
6302 | | private: |
6303 | | const ::xmlProtoFuzzer::Content& _internal_content() const; |
6304 | | ::xmlProtoFuzzer::Content* _internal_mutable_content(); |
6305 | | public: |
6306 | | void unsafe_arena_set_allocated_content( |
6307 | | ::xmlProtoFuzzer::Content* content); |
6308 | | ::xmlProtoFuzzer::Content* unsafe_arena_release_content(); |
6309 | | |
6310 | | // .xmlProtoFuzzer.Element.Type type = 1; |
6311 | | void clear_type(); |
6312 | | ::xmlProtoFuzzer::Element_Type type() const; |
6313 | | void set_type(::xmlProtoFuzzer::Element_Type value); |
6314 | | private: |
6315 | | ::xmlProtoFuzzer::Element_Type _internal_type() const; |
6316 | | void _internal_set_type(::xmlProtoFuzzer::Element_Type value); |
6317 | | public: |
6318 | | |
6319 | | // .xmlProtoFuzzer.Element.Id id = 2; |
6320 | | void clear_id(); |
6321 | | ::xmlProtoFuzzer::Element_Id id() const; |
6322 | | void set_id(::xmlProtoFuzzer::Element_Id value); |
6323 | | private: |
6324 | | ::xmlProtoFuzzer::Element_Id _internal_id() const; |
6325 | | void _internal_set_id(::xmlProtoFuzzer::Element_Id value); |
6326 | | public: |
6327 | | |
6328 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.Element) |
6329 | | private: |
6330 | | class _Internal; |
6331 | | |
6332 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
6333 | | typedef void InternalArenaConstructable_; |
6334 | | typedef void DestructorSkippable_; |
6335 | | struct Impl_ { |
6336 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::KeyValue > kv_; |
6337 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
6338 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr childprop_; |
6339 | | ::xmlProtoFuzzer::Content* content_; |
6340 | | int type_; |
6341 | | int id_; |
6342 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
6343 | | }; |
6344 | | union { Impl_ _impl_; }; |
6345 | | friend struct ::TableStruct_xml_2eproto; |
6346 | | }; |
6347 | | // ------------------------------------------------------------------- |
6348 | | |
6349 | | class VersionNum final : |
6350 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.VersionNum) */ { |
6351 | | public: |
6352 | 0 | inline VersionNum() : VersionNum(nullptr) {} |
6353 | | ~VersionNum() override; |
6354 | | explicit PROTOBUF_CONSTEXPR VersionNum(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
6355 | | |
6356 | | VersionNum(const VersionNum& from); |
6357 | | VersionNum(VersionNum&& from) noexcept |
6358 | 0 | : VersionNum() { |
6359 | 0 | *this = ::std::move(from); |
6360 | 0 | } |
6361 | | |
6362 | 0 | inline VersionNum& operator=(const VersionNum& from) { |
6363 | 0 | CopyFrom(from); |
6364 | 0 | return *this; |
6365 | 0 | } |
6366 | 0 | inline VersionNum& operator=(VersionNum&& from) noexcept { |
6367 | 0 | if (this == &from) return *this; |
6368 | 0 | if (GetOwningArena() == from.GetOwningArena() |
6369 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
6370 | 0 | && GetOwningArena() != nullptr |
6371 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
6372 | 0 | ) { |
6373 | 0 | InternalSwap(&from); |
6374 | 0 | } else { |
6375 | 0 | CopyFrom(from); |
6376 | 0 | } |
6377 | 0 | return *this; |
6378 | 0 | } |
6379 | | |
6380 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
6381 | 0 | return GetDescriptor(); |
6382 | 0 | } |
6383 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
6384 | 0 | return default_instance().GetMetadata().descriptor; |
6385 | 0 | } |
6386 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
6387 | 0 | return default_instance().GetMetadata().reflection; |
6388 | 0 | } |
6389 | 0 | static const VersionNum& default_instance() { |
6390 | 0 | return *internal_default_instance(); |
6391 | 0 | } |
6392 | 0 | static inline const VersionNum* internal_default_instance() { |
6393 | 0 | return reinterpret_cast<const VersionNum*>( |
6394 | 0 | &_VersionNum_default_instance_); |
6395 | 0 | } |
6396 | | static constexpr int kIndexInFileMessages = |
6397 | | 28; |
6398 | | |
6399 | 0 | friend void swap(VersionNum& a, VersionNum& b) { |
6400 | 0 | a.Swap(&b); |
6401 | 0 | } |
6402 | 0 | inline void Swap(VersionNum* other) { |
6403 | 0 | if (other == this) return; |
6404 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
6405 | 0 | if (GetOwningArena() != nullptr && |
6406 | 0 | GetOwningArena() == other->GetOwningArena()) { |
6407 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
6408 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
6409 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
6410 | 0 | InternalSwap(other); |
6411 | 0 | } else { |
6412 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
6413 | 0 | } |
6414 | 0 | } |
6415 | 0 | void UnsafeArenaSwap(VersionNum* other) { |
6416 | 0 | if (other == this) return; |
6417 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
6418 | 0 | InternalSwap(other); |
6419 | 0 | } |
6420 | | |
6421 | | // implements Message ---------------------------------------------- |
6422 | | |
6423 | 224 | VersionNum* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
6424 | 224 | return CreateMaybeMessage<VersionNum>(arena); |
6425 | 224 | } |
6426 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
6427 | | void CopyFrom(const VersionNum& from); |
6428 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
6429 | 0 | void MergeFrom( const VersionNum& from) { |
6430 | 0 | VersionNum::MergeImpl(*this, from); |
6431 | 0 | } |
6432 | | private: |
6433 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
6434 | | public: |
6435 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
6436 | | bool IsInitialized() const final; |
6437 | | |
6438 | | size_t ByteSizeLong() const final; |
6439 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
6440 | | uint8_t* _InternalSerialize( |
6441 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
6442 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
6443 | | |
6444 | | private: |
6445 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
6446 | | void SharedDtor(); |
6447 | | void SetCachedSize(int size) const final; |
6448 | | void InternalSwap(VersionNum* other); |
6449 | | |
6450 | | private: |
6451 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
6452 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
6453 | 0 | return "xmlProtoFuzzer.VersionNum"; |
6454 | 0 | } |
6455 | | protected: |
6456 | | explicit VersionNum(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
6457 | | bool is_message_owned = false); |
6458 | | public: |
6459 | | |
6460 | | static const ClassData _class_data_; |
6461 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
6462 | | |
6463 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
6464 | | |
6465 | | // nested types ---------------------------------------------------- |
6466 | | |
6467 | | typedef VersionNum_Type Type; |
6468 | | static constexpr Type STANDARD = |
6469 | | VersionNum_Type_STANDARD; |
6470 | | static constexpr Type FUZZ = |
6471 | | VersionNum_Type_FUZZ; |
6472 | 8.51k | static inline bool Type_IsValid(int value) { |
6473 | 8.51k | return VersionNum_Type_IsValid(value); |
6474 | 8.51k | } |
6475 | | static constexpr Type Type_MIN = |
6476 | | VersionNum_Type_Type_MIN; |
6477 | | static constexpr Type Type_MAX = |
6478 | | VersionNum_Type_Type_MAX; |
6479 | | static constexpr int Type_ARRAYSIZE = |
6480 | | VersionNum_Type_Type_ARRAYSIZE; |
6481 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
6482 | 0 | Type_descriptor() { |
6483 | 0 | return VersionNum_Type_descriptor(); |
6484 | 0 | } |
6485 | | template<typename T> |
6486 | | static inline const std::string& Type_Name(T enum_t_value) { |
6487 | | static_assert(::std::is_same<T, Type>::value || |
6488 | | ::std::is_integral<T>::value, |
6489 | | "Incorrect type passed to function Type_Name."); |
6490 | | return VersionNum_Type_Name(enum_t_value); |
6491 | | } |
6492 | | static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
6493 | 0 | Type* value) { |
6494 | 0 | return VersionNum_Type_Parse(name, value); |
6495 | 0 | } |
6496 | | |
6497 | | // accessors ------------------------------------------------------- |
6498 | | |
6499 | | enum : int { |
6500 | | kMajorFieldNumber = 2, |
6501 | | kMinorFieldNumber = 3, |
6502 | | kTypeFieldNumber = 1, |
6503 | | }; |
6504 | | // uint64 major = 2; |
6505 | | void clear_major(); |
6506 | | uint64_t major() const; |
6507 | | void set_major(uint64_t value); |
6508 | | private: |
6509 | | uint64_t _internal_major() const; |
6510 | | void _internal_set_major(uint64_t value); |
6511 | | public: |
6512 | | |
6513 | | // uint64 minor = 3; |
6514 | | void clear_minor(); |
6515 | | uint64_t minor() const; |
6516 | | void set_minor(uint64_t value); |
6517 | | private: |
6518 | | uint64_t _internal_minor() const; |
6519 | | void _internal_set_minor(uint64_t value); |
6520 | | public: |
6521 | | |
6522 | | // .xmlProtoFuzzer.VersionNum.Type type = 1; |
6523 | | void clear_type(); |
6524 | | ::xmlProtoFuzzer::VersionNum_Type type() const; |
6525 | | void set_type(::xmlProtoFuzzer::VersionNum_Type value); |
6526 | | private: |
6527 | | ::xmlProtoFuzzer::VersionNum_Type _internal_type() const; |
6528 | | void _internal_set_type(::xmlProtoFuzzer::VersionNum_Type value); |
6529 | | public: |
6530 | | |
6531 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.VersionNum) |
6532 | | private: |
6533 | | class _Internal; |
6534 | | |
6535 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
6536 | | typedef void InternalArenaConstructable_; |
6537 | | typedef void DestructorSkippable_; |
6538 | | struct Impl_ { |
6539 | | uint64_t major_; |
6540 | | uint64_t minor_; |
6541 | | int type_; |
6542 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
6543 | | }; |
6544 | | union { Impl_ _impl_; }; |
6545 | | friend struct ::TableStruct_xml_2eproto; |
6546 | | }; |
6547 | | // ------------------------------------------------------------------- |
6548 | | |
6549 | | class Encodings final : |
6550 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.Encodings) */ { |
6551 | | public: |
6552 | 0 | inline Encodings() : Encodings(nullptr) {} |
6553 | | ~Encodings() override; |
6554 | | explicit PROTOBUF_CONSTEXPR Encodings(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
6555 | | |
6556 | | Encodings(const Encodings& from); |
6557 | | Encodings(Encodings&& from) noexcept |
6558 | 0 | : Encodings() { |
6559 | 0 | *this = ::std::move(from); |
6560 | 0 | } |
6561 | | |
6562 | 0 | inline Encodings& operator=(const Encodings& from) { |
6563 | 0 | CopyFrom(from); |
6564 | 0 | return *this; |
6565 | 0 | } |
6566 | 0 | inline Encodings& operator=(Encodings&& from) noexcept { |
6567 | 0 | if (this == &from) return *this; |
6568 | 0 | if (GetOwningArena() == from.GetOwningArena() |
6569 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
6570 | 0 | && GetOwningArena() != nullptr |
6571 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
6572 | 0 | ) { |
6573 | 0 | InternalSwap(&from); |
6574 | 0 | } else { |
6575 | 0 | CopyFrom(from); |
6576 | 0 | } |
6577 | 0 | return *this; |
6578 | 0 | } |
6579 | | |
6580 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
6581 | 0 | return GetDescriptor(); |
6582 | 0 | } |
6583 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
6584 | 0 | return default_instance().GetMetadata().descriptor; |
6585 | 0 | } |
6586 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
6587 | 0 | return default_instance().GetMetadata().reflection; |
6588 | 0 | } |
6589 | 0 | static const Encodings& default_instance() { |
6590 | 0 | return *internal_default_instance(); |
6591 | 0 | } |
6592 | 0 | static inline const Encodings* internal_default_instance() { |
6593 | 0 | return reinterpret_cast<const Encodings*>( |
6594 | 0 | &_Encodings_default_instance_); |
6595 | 0 | } |
6596 | | static constexpr int kIndexInFileMessages = |
6597 | | 29; |
6598 | | |
6599 | 0 | friend void swap(Encodings& a, Encodings& b) { |
6600 | 0 | a.Swap(&b); |
6601 | 0 | } |
6602 | 0 | inline void Swap(Encodings* other) { |
6603 | 0 | if (other == this) return; |
6604 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
6605 | 0 | if (GetOwningArena() != nullptr && |
6606 | 0 | GetOwningArena() == other->GetOwningArena()) { |
6607 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
6608 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
6609 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
6610 | 0 | InternalSwap(other); |
6611 | 0 | } else { |
6612 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
6613 | 0 | } |
6614 | 0 | } |
6615 | 0 | void UnsafeArenaSwap(Encodings* other) { |
6616 | 0 | if (other == this) return; |
6617 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
6618 | 0 | InternalSwap(other); |
6619 | 0 | } |
6620 | | |
6621 | | // implements Message ---------------------------------------------- |
6622 | | |
6623 | 1.75k | Encodings* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
6624 | 1.75k | return CreateMaybeMessage<Encodings>(arena); |
6625 | 1.75k | } |
6626 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
6627 | | void CopyFrom(const Encodings& from); |
6628 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
6629 | 0 | void MergeFrom( const Encodings& from) { |
6630 | 0 | Encodings::MergeImpl(*this, from); |
6631 | 0 | } |
6632 | | private: |
6633 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
6634 | | public: |
6635 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
6636 | | bool IsInitialized() const final; |
6637 | | |
6638 | | size_t ByteSizeLong() const final; |
6639 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
6640 | | uint8_t* _InternalSerialize( |
6641 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
6642 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
6643 | | |
6644 | | private: |
6645 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
6646 | | void SharedDtor(); |
6647 | | void SetCachedSize(int size) const final; |
6648 | | void InternalSwap(Encodings* other); |
6649 | | |
6650 | | private: |
6651 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
6652 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
6653 | 0 | return "xmlProtoFuzzer.Encodings"; |
6654 | 0 | } |
6655 | | protected: |
6656 | | explicit Encodings(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
6657 | | bool is_message_owned = false); |
6658 | | public: |
6659 | | |
6660 | | static const ClassData _class_data_; |
6661 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
6662 | | |
6663 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
6664 | | |
6665 | | // nested types ---------------------------------------------------- |
6666 | | |
6667 | | typedef Encodings_Enc Enc; |
6668 | | static constexpr Enc BIG5 = |
6669 | | Encodings_Enc_BIG5; |
6670 | | static constexpr Enc EUCJP = |
6671 | | Encodings_Enc_EUCJP; |
6672 | | static constexpr Enc EUCKR = |
6673 | | Encodings_Enc_EUCKR; |
6674 | | static constexpr Enc GB18030 = |
6675 | | Encodings_Enc_GB18030; |
6676 | | static constexpr Enc ISO2022JP = |
6677 | | Encodings_Enc_ISO2022JP; |
6678 | | static constexpr Enc ISO2022KR = |
6679 | | Encodings_Enc_ISO2022KR; |
6680 | | static constexpr Enc ISO88591 = |
6681 | | Encodings_Enc_ISO88591; |
6682 | | static constexpr Enc ISO88592 = |
6683 | | Encodings_Enc_ISO88592; |
6684 | | static constexpr Enc ISO88593 = |
6685 | | Encodings_Enc_ISO88593; |
6686 | | static constexpr Enc ISO88594 = |
6687 | | Encodings_Enc_ISO88594; |
6688 | | static constexpr Enc ISO88595 = |
6689 | | Encodings_Enc_ISO88595; |
6690 | | static constexpr Enc ISO88596 = |
6691 | | Encodings_Enc_ISO88596; |
6692 | | static constexpr Enc ISO88597 = |
6693 | | Encodings_Enc_ISO88597; |
6694 | | static constexpr Enc ISO88598 = |
6695 | | Encodings_Enc_ISO88598; |
6696 | | static constexpr Enc ISO88599 = |
6697 | | Encodings_Enc_ISO88599; |
6698 | | static constexpr Enc SHIFTJIS = |
6699 | | Encodings_Enc_SHIFTJIS; |
6700 | | static constexpr Enc TIS620 = |
6701 | | Encodings_Enc_TIS620; |
6702 | | static constexpr Enc USASCII = |
6703 | | Encodings_Enc_USASCII; |
6704 | | static constexpr Enc UTF8 = |
6705 | | Encodings_Enc_UTF8; |
6706 | | static constexpr Enc UTF16 = |
6707 | | Encodings_Enc_UTF16; |
6708 | | static constexpr Enc UTF16BE = |
6709 | | Encodings_Enc_UTF16BE; |
6710 | | static constexpr Enc UTF16LE = |
6711 | | Encodings_Enc_UTF16LE; |
6712 | | static constexpr Enc WINDOWS31J = |
6713 | | Encodings_Enc_WINDOWS31J; |
6714 | | static constexpr Enc WINDOWS1255 = |
6715 | | Encodings_Enc_WINDOWS1255; |
6716 | | static constexpr Enc WINDOWS1256 = |
6717 | | Encodings_Enc_WINDOWS1256; |
6718 | | static constexpr Enc FUZZ = |
6719 | | Encodings_Enc_FUZZ; |
6720 | 8.51k | static inline bool Enc_IsValid(int value) { |
6721 | 8.51k | return Encodings_Enc_IsValid(value); |
6722 | 8.51k | } |
6723 | | static constexpr Enc Enc_MIN = |
6724 | | Encodings_Enc_Enc_MIN; |
6725 | | static constexpr Enc Enc_MAX = |
6726 | | Encodings_Enc_Enc_MAX; |
6727 | | static constexpr int Enc_ARRAYSIZE = |
6728 | | Encodings_Enc_Enc_ARRAYSIZE; |
6729 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
6730 | 0 | Enc_descriptor() { |
6731 | 0 | return Encodings_Enc_descriptor(); |
6732 | 0 | } |
6733 | | template<typename T> |
6734 | | static inline const std::string& Enc_Name(T enum_t_value) { |
6735 | | static_assert(::std::is_same<T, Enc>::value || |
6736 | | ::std::is_integral<T>::value, |
6737 | | "Incorrect type passed to function Enc_Name."); |
6738 | | return Encodings_Enc_Name(enum_t_value); |
6739 | | } |
6740 | | static inline bool Enc_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
6741 | 0 | Enc* value) { |
6742 | 0 | return Encodings_Enc_Parse(name, value); |
6743 | 0 | } |
6744 | | |
6745 | | // accessors ------------------------------------------------------- |
6746 | | |
6747 | | enum : int { |
6748 | | kFuzzFieldNumber = 2, |
6749 | | kNameFieldNumber = 1, |
6750 | | }; |
6751 | | // string fuzz = 2; |
6752 | | void clear_fuzz(); |
6753 | | const std::string& fuzz() const; |
6754 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
6755 | | void set_fuzz(ArgT0&& arg0, ArgT... args); |
6756 | | std::string* mutable_fuzz(); |
6757 | | PROTOBUF_NODISCARD std::string* release_fuzz(); |
6758 | | void set_allocated_fuzz(std::string* fuzz); |
6759 | | private: |
6760 | | const std::string& _internal_fuzz() const; |
6761 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_fuzz(const std::string& value); |
6762 | | std::string* _internal_mutable_fuzz(); |
6763 | | public: |
6764 | | |
6765 | | // .xmlProtoFuzzer.Encodings.Enc name = 1; |
6766 | | void clear_name(); |
6767 | | ::xmlProtoFuzzer::Encodings_Enc name() const; |
6768 | | void set_name(::xmlProtoFuzzer::Encodings_Enc value); |
6769 | | private: |
6770 | | ::xmlProtoFuzzer::Encodings_Enc _internal_name() const; |
6771 | | void _internal_set_name(::xmlProtoFuzzer::Encodings_Enc value); |
6772 | | public: |
6773 | | |
6774 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.Encodings) |
6775 | | private: |
6776 | | class _Internal; |
6777 | | |
6778 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
6779 | | typedef void InternalArenaConstructable_; |
6780 | | typedef void DestructorSkippable_; |
6781 | | struct Impl_ { |
6782 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fuzz_; |
6783 | | int name_; |
6784 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
6785 | | }; |
6786 | | union { Impl_ _impl_; }; |
6787 | | friend struct ::TableStruct_xml_2eproto; |
6788 | | }; |
6789 | | // ------------------------------------------------------------------- |
6790 | | |
6791 | | class XmlDeclaration final : |
6792 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.XmlDeclaration) */ { |
6793 | | public: |
6794 | 0 | inline XmlDeclaration() : XmlDeclaration(nullptr) {} |
6795 | | ~XmlDeclaration() override; |
6796 | | explicit PROTOBUF_CONSTEXPR XmlDeclaration(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
6797 | | |
6798 | | XmlDeclaration(const XmlDeclaration& from); |
6799 | | XmlDeclaration(XmlDeclaration&& from) noexcept |
6800 | 0 | : XmlDeclaration() { |
6801 | 0 | *this = ::std::move(from); |
6802 | 0 | } |
6803 | | |
6804 | 0 | inline XmlDeclaration& operator=(const XmlDeclaration& from) { |
6805 | 0 | CopyFrom(from); |
6806 | 0 | return *this; |
6807 | 0 | } |
6808 | 0 | inline XmlDeclaration& operator=(XmlDeclaration&& from) noexcept { |
6809 | 0 | if (this == &from) return *this; |
6810 | 0 | if (GetOwningArena() == from.GetOwningArena() |
6811 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
6812 | 0 | && GetOwningArena() != nullptr |
6813 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
6814 | 0 | ) { |
6815 | 0 | InternalSwap(&from); |
6816 | 0 | } else { |
6817 | 0 | CopyFrom(from); |
6818 | 0 | } |
6819 | 0 | return *this; |
6820 | 0 | } |
6821 | | |
6822 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
6823 | 0 | return GetDescriptor(); |
6824 | 0 | } |
6825 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
6826 | 0 | return default_instance().GetMetadata().descriptor; |
6827 | 0 | } |
6828 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
6829 | 0 | return default_instance().GetMetadata().reflection; |
6830 | 0 | } |
6831 | 0 | static const XmlDeclaration& default_instance() { |
6832 | 0 | return *internal_default_instance(); |
6833 | 0 | } |
6834 | 4.23k | static inline const XmlDeclaration* internal_default_instance() { |
6835 | 4.23k | return reinterpret_cast<const XmlDeclaration*>( |
6836 | 4.23k | &_XmlDeclaration_default_instance_); |
6837 | 4.23k | } |
6838 | | static constexpr int kIndexInFileMessages = |
6839 | | 30; |
6840 | | |
6841 | 0 | friend void swap(XmlDeclaration& a, XmlDeclaration& b) { |
6842 | 0 | a.Swap(&b); |
6843 | 0 | } |
6844 | 0 | inline void Swap(XmlDeclaration* other) { |
6845 | 0 | if (other == this) return; |
6846 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
6847 | 0 | if (GetOwningArena() != nullptr && |
6848 | 0 | GetOwningArena() == other->GetOwningArena()) { |
6849 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
6850 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
6851 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
6852 | 0 | InternalSwap(other); |
6853 | 0 | } else { |
6854 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
6855 | 0 | } |
6856 | 0 | } |
6857 | 0 | void UnsafeArenaSwap(XmlDeclaration* other) { |
6858 | 0 | if (other == this) return; |
6859 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
6860 | 0 | InternalSwap(other); |
6861 | 0 | } |
6862 | | |
6863 | | // implements Message ---------------------------------------------- |
6864 | | |
6865 | 2.11k | XmlDeclaration* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
6866 | 2.11k | return CreateMaybeMessage<XmlDeclaration>(arena); |
6867 | 2.11k | } |
6868 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
6869 | | void CopyFrom(const XmlDeclaration& from); |
6870 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
6871 | 0 | void MergeFrom( const XmlDeclaration& from) { |
6872 | 0 | XmlDeclaration::MergeImpl(*this, from); |
6873 | 0 | } |
6874 | | private: |
6875 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
6876 | | public: |
6877 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
6878 | | bool IsInitialized() const final; |
6879 | | |
6880 | | size_t ByteSizeLong() const final; |
6881 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
6882 | | uint8_t* _InternalSerialize( |
6883 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
6884 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
6885 | | |
6886 | | private: |
6887 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
6888 | | void SharedDtor(); |
6889 | | void SetCachedSize(int size) const final; |
6890 | | void InternalSwap(XmlDeclaration* other); |
6891 | | |
6892 | | private: |
6893 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
6894 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
6895 | 0 | return "xmlProtoFuzzer.XmlDeclaration"; |
6896 | 0 | } |
6897 | | protected: |
6898 | | explicit XmlDeclaration(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
6899 | | bool is_message_owned = false); |
6900 | | public: |
6901 | | |
6902 | | static const ClassData _class_data_; |
6903 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
6904 | | |
6905 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
6906 | | |
6907 | | // nested types ---------------------------------------------------- |
6908 | | |
6909 | | typedef XmlDeclaration_Standalone Standalone; |
6910 | | static constexpr Standalone YES = |
6911 | | XmlDeclaration_Standalone_YES; |
6912 | | static constexpr Standalone NO = |
6913 | | XmlDeclaration_Standalone_NO; |
6914 | 0 | static inline bool Standalone_IsValid(int value) { |
6915 | 0 | return XmlDeclaration_Standalone_IsValid(value); |
6916 | 0 | } |
6917 | | static constexpr Standalone Standalone_MIN = |
6918 | | XmlDeclaration_Standalone_Standalone_MIN; |
6919 | | static constexpr Standalone Standalone_MAX = |
6920 | | XmlDeclaration_Standalone_Standalone_MAX; |
6921 | | static constexpr int Standalone_ARRAYSIZE = |
6922 | | XmlDeclaration_Standalone_Standalone_ARRAYSIZE; |
6923 | | static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* |
6924 | 0 | Standalone_descriptor() { |
6925 | 0 | return XmlDeclaration_Standalone_descriptor(); |
6926 | 0 | } |
6927 | | template<typename T> |
6928 | | static inline const std::string& Standalone_Name(T enum_t_value) { |
6929 | | static_assert(::std::is_same<T, Standalone>::value || |
6930 | | ::std::is_integral<T>::value, |
6931 | | "Incorrect type passed to function Standalone_Name."); |
6932 | | return XmlDeclaration_Standalone_Name(enum_t_value); |
6933 | | } |
6934 | | static inline bool Standalone_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, |
6935 | 0 | Standalone* value) { |
6936 | 0 | return XmlDeclaration_Standalone_Parse(name, value); |
6937 | 0 | } |
6938 | | |
6939 | | // accessors ------------------------------------------------------- |
6940 | | |
6941 | | enum : int { |
6942 | | kFuzzFieldNumber = 4, |
6943 | | kVerFieldNumber = 1, |
6944 | | kEncFieldNumber = 2, |
6945 | | kStandaloneFieldNumber = 3, |
6946 | | }; |
6947 | | // string fuzz = 4; |
6948 | | void clear_fuzz(); |
6949 | | const std::string& fuzz() const; |
6950 | | template <typename ArgT0 = const std::string&, typename... ArgT> |
6951 | | void set_fuzz(ArgT0&& arg0, ArgT... args); |
6952 | | std::string* mutable_fuzz(); |
6953 | | PROTOBUF_NODISCARD std::string* release_fuzz(); |
6954 | | void set_allocated_fuzz(std::string* fuzz); |
6955 | | private: |
6956 | | const std::string& _internal_fuzz() const; |
6957 | | inline PROTOBUF_ALWAYS_INLINE void _internal_set_fuzz(const std::string& value); |
6958 | | std::string* _internal_mutable_fuzz(); |
6959 | | public: |
6960 | | |
6961 | | // .xmlProtoFuzzer.VersionNum ver = 1; |
6962 | | bool has_ver() const; |
6963 | | private: |
6964 | | bool _internal_has_ver() const; |
6965 | | public: |
6966 | | void clear_ver(); |
6967 | | const ::xmlProtoFuzzer::VersionNum& ver() const; |
6968 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::VersionNum* release_ver(); |
6969 | | ::xmlProtoFuzzer::VersionNum* mutable_ver(); |
6970 | | void set_allocated_ver(::xmlProtoFuzzer::VersionNum* ver); |
6971 | | private: |
6972 | | const ::xmlProtoFuzzer::VersionNum& _internal_ver() const; |
6973 | | ::xmlProtoFuzzer::VersionNum* _internal_mutable_ver(); |
6974 | | public: |
6975 | | void unsafe_arena_set_allocated_ver( |
6976 | | ::xmlProtoFuzzer::VersionNum* ver); |
6977 | | ::xmlProtoFuzzer::VersionNum* unsafe_arena_release_ver(); |
6978 | | |
6979 | | // .xmlProtoFuzzer.Encodings enc = 2; |
6980 | | bool has_enc() const; |
6981 | | private: |
6982 | | bool _internal_has_enc() const; |
6983 | | public: |
6984 | | void clear_enc(); |
6985 | | const ::xmlProtoFuzzer::Encodings& enc() const; |
6986 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::Encodings* release_enc(); |
6987 | | ::xmlProtoFuzzer::Encodings* mutable_enc(); |
6988 | | void set_allocated_enc(::xmlProtoFuzzer::Encodings* enc); |
6989 | | private: |
6990 | | const ::xmlProtoFuzzer::Encodings& _internal_enc() const; |
6991 | | ::xmlProtoFuzzer::Encodings* _internal_mutable_enc(); |
6992 | | public: |
6993 | | void unsafe_arena_set_allocated_enc( |
6994 | | ::xmlProtoFuzzer::Encodings* enc); |
6995 | | ::xmlProtoFuzzer::Encodings* unsafe_arena_release_enc(); |
6996 | | |
6997 | | // .xmlProtoFuzzer.XmlDeclaration.Standalone standalone = 3; |
6998 | | void clear_standalone(); |
6999 | | ::xmlProtoFuzzer::XmlDeclaration_Standalone standalone() const; |
7000 | | void set_standalone(::xmlProtoFuzzer::XmlDeclaration_Standalone value); |
7001 | | private: |
7002 | | ::xmlProtoFuzzer::XmlDeclaration_Standalone _internal_standalone() const; |
7003 | | void _internal_set_standalone(::xmlProtoFuzzer::XmlDeclaration_Standalone value); |
7004 | | public: |
7005 | | |
7006 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.XmlDeclaration) |
7007 | | private: |
7008 | | class _Internal; |
7009 | | |
7010 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
7011 | | typedef void InternalArenaConstructable_; |
7012 | | typedef void DestructorSkippable_; |
7013 | | struct Impl_ { |
7014 | | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr fuzz_; |
7015 | | ::xmlProtoFuzzer::VersionNum* ver_; |
7016 | | ::xmlProtoFuzzer::Encodings* enc_; |
7017 | | int standalone_; |
7018 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
7019 | | }; |
7020 | | union { Impl_ _impl_; }; |
7021 | | friend struct ::TableStruct_xml_2eproto; |
7022 | | }; |
7023 | | // ------------------------------------------------------------------- |
7024 | | |
7025 | | class XmlDocument final : |
7026 | | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:xmlProtoFuzzer.XmlDocument) */ { |
7027 | | public: |
7028 | 8.78k | inline XmlDocument() : XmlDocument(nullptr) {} |
7029 | | ~XmlDocument() override; |
7030 | | explicit PROTOBUF_CONSTEXPR XmlDocument(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized); |
7031 | | |
7032 | | XmlDocument(const XmlDocument& from); |
7033 | | XmlDocument(XmlDocument&& from) noexcept |
7034 | 0 | : XmlDocument() { |
7035 | 0 | *this = ::std::move(from); |
7036 | 0 | } |
7037 | | |
7038 | 0 | inline XmlDocument& operator=(const XmlDocument& from) { |
7039 | 0 | CopyFrom(from); |
7040 | 0 | return *this; |
7041 | 0 | } |
7042 | 0 | inline XmlDocument& operator=(XmlDocument&& from) noexcept { |
7043 | 0 | if (this == &from) return *this; |
7044 | 0 | if (GetOwningArena() == from.GetOwningArena() |
7045 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
7046 | 0 | && GetOwningArena() != nullptr |
7047 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
7048 | 0 | ) { |
7049 | 0 | InternalSwap(&from); |
7050 | 0 | } else { |
7051 | 0 | CopyFrom(from); |
7052 | 0 | } |
7053 | 0 | return *this; |
7054 | 0 | } |
7055 | | |
7056 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
7057 | 0 | return GetDescriptor(); |
7058 | 0 | } |
7059 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
7060 | 0 | return default_instance().GetMetadata().descriptor; |
7061 | 0 | } |
7062 | 0 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
7063 | 0 | return default_instance().GetMetadata().reflection; |
7064 | 0 | } |
7065 | 0 | static const XmlDocument& default_instance() { |
7066 | 0 | return *internal_default_instance(); |
7067 | 0 | } |
7068 | 8.78k | static inline const XmlDocument* internal_default_instance() { |
7069 | 8.78k | return reinterpret_cast<const XmlDocument*>( |
7070 | 8.78k | &_XmlDocument_default_instance_); |
7071 | 8.78k | } |
7072 | | static constexpr int kIndexInFileMessages = |
7073 | | 31; |
7074 | | |
7075 | 0 | friend void swap(XmlDocument& a, XmlDocument& b) { |
7076 | 0 | a.Swap(&b); |
7077 | 0 | } |
7078 | 0 | inline void Swap(XmlDocument* other) { |
7079 | 0 | if (other == this) return; |
7080 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
7081 | 0 | if (GetOwningArena() != nullptr && |
7082 | 0 | GetOwningArena() == other->GetOwningArena()) { |
7083 | 0 | #else // PROTOBUF_FORCE_COPY_IN_SWAP |
7084 | 0 | if (GetOwningArena() == other->GetOwningArena()) { |
7085 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
7086 | 0 | InternalSwap(other); |
7087 | 0 | } else { |
7088 | 0 | ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); |
7089 | 0 | } |
7090 | 0 | } |
7091 | 0 | void UnsafeArenaSwap(XmlDocument* other) { |
7092 | 0 | if (other == this) return; |
7093 | 0 | GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena()); |
7094 | 0 | InternalSwap(other); |
7095 | 0 | } |
7096 | | |
7097 | | // implements Message ---------------------------------------------- |
7098 | | |
7099 | 0 | XmlDocument* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final { |
7100 | 0 | return CreateMaybeMessage<XmlDocument>(arena); |
7101 | 0 | } |
7102 | | using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom; |
7103 | | void CopyFrom(const XmlDocument& from); |
7104 | | using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom; |
7105 | 0 | void MergeFrom( const XmlDocument& from) { |
7106 | 0 | XmlDocument::MergeImpl(*this, from); |
7107 | 0 | } |
7108 | | private: |
7109 | | static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg); |
7110 | | public: |
7111 | | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
7112 | | bool IsInitialized() const final; |
7113 | | |
7114 | | size_t ByteSizeLong() const final; |
7115 | | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
7116 | | uint8_t* _InternalSerialize( |
7117 | | uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final; |
7118 | 0 | int GetCachedSize() const final { return _impl_._cached_size_.Get(); } |
7119 | | |
7120 | | private: |
7121 | | void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned); |
7122 | | void SharedDtor(); |
7123 | | void SetCachedSize(int size) const final; |
7124 | | void InternalSwap(XmlDocument* other); |
7125 | | |
7126 | | private: |
7127 | | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
7128 | 0 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
7129 | 0 | return "xmlProtoFuzzer.XmlDocument"; |
7130 | 0 | } |
7131 | | protected: |
7132 | | explicit XmlDocument(::PROTOBUF_NAMESPACE_ID::Arena* arena, |
7133 | | bool is_message_owned = false); |
7134 | | public: |
7135 | | |
7136 | | static const ClassData _class_data_; |
7137 | | const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final; |
7138 | | |
7139 | | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
7140 | | |
7141 | | // nested types ---------------------------------------------------- |
7142 | | |
7143 | | // accessors ------------------------------------------------------- |
7144 | | |
7145 | | enum : int { |
7146 | | kEFieldNumber = 2, |
7147 | | kPFieldNumber = 1, |
7148 | | }; |
7149 | | // repeated .xmlProtoFuzzer.Element e = 2; |
7150 | | int e_size() const; |
7151 | | private: |
7152 | | int _internal_e_size() const; |
7153 | | public: |
7154 | | void clear_e(); |
7155 | | ::xmlProtoFuzzer::Element* mutable_e(int index); |
7156 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::Element >* |
7157 | | mutable_e(); |
7158 | | private: |
7159 | | const ::xmlProtoFuzzer::Element& _internal_e(int index) const; |
7160 | | ::xmlProtoFuzzer::Element* _internal_add_e(); |
7161 | | public: |
7162 | | const ::xmlProtoFuzzer::Element& e(int index) const; |
7163 | | ::xmlProtoFuzzer::Element* add_e(); |
7164 | | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::Element >& |
7165 | | e() const; |
7166 | | |
7167 | | // .xmlProtoFuzzer.Prolog p = 1; |
7168 | | bool has_p() const; |
7169 | | private: |
7170 | | bool _internal_has_p() const; |
7171 | | public: |
7172 | | void clear_p(); |
7173 | | const ::xmlProtoFuzzer::Prolog& p() const; |
7174 | | PROTOBUF_NODISCARD ::xmlProtoFuzzer::Prolog* release_p(); |
7175 | | ::xmlProtoFuzzer::Prolog* mutable_p(); |
7176 | | void set_allocated_p(::xmlProtoFuzzer::Prolog* p); |
7177 | | private: |
7178 | | const ::xmlProtoFuzzer::Prolog& _internal_p() const; |
7179 | | ::xmlProtoFuzzer::Prolog* _internal_mutable_p(); |
7180 | | public: |
7181 | | void unsafe_arena_set_allocated_p( |
7182 | | ::xmlProtoFuzzer::Prolog* p); |
7183 | | ::xmlProtoFuzzer::Prolog* unsafe_arena_release_p(); |
7184 | | |
7185 | | // @@protoc_insertion_point(class_scope:xmlProtoFuzzer.XmlDocument) |
7186 | | private: |
7187 | | class _Internal; |
7188 | | |
7189 | | template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper; |
7190 | | typedef void InternalArenaConstructable_; |
7191 | | typedef void DestructorSkippable_; |
7192 | | struct Impl_ { |
7193 | | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::Element > e_; |
7194 | | ::xmlProtoFuzzer::Prolog* p_; |
7195 | | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
7196 | | }; |
7197 | | union { Impl_ _impl_; }; |
7198 | | friend struct ::TableStruct_xml_2eproto; |
7199 | | }; |
7200 | | // =================================================================== |
7201 | | |
7202 | | |
7203 | | // =================================================================== |
7204 | | |
7205 | | #ifdef __GNUC__ |
7206 | | #pragma GCC diagnostic push |
7207 | | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
7208 | | #endif // __GNUC__ |
7209 | | // Misc |
7210 | | |
7211 | | // string comment = 1; |
7212 | 1.72k | inline bool Misc::_internal_has_comment() const { |
7213 | 1.72k | return misc_oneof_case() == kComment; |
7214 | 1.72k | } |
7215 | 0 | inline bool Misc::has_comment() const { |
7216 | 0 | return _internal_has_comment(); |
7217 | 0 | } |
7218 | 0 | inline void Misc::set_has_comment() { |
7219 | 0 | _impl_._oneof_case_[0] = kComment; |
7220 | 0 | } |
7221 | 0 | inline void Misc::clear_comment() { |
7222 | 0 | if (_internal_has_comment()) { |
7223 | 0 | _impl_.misc_oneof_.comment_.Destroy(); |
7224 | 0 | clear_has_misc_oneof(); |
7225 | 0 | } |
7226 | 0 | } |
7227 | 1.72k | inline const std::string& Misc::comment() const { |
7228 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Misc.comment) |
7229 | 1.72k | return _internal_comment(); |
7230 | 1.72k | } |
7231 | | template <typename ArgT0, typename... ArgT> |
7232 | | inline void Misc::set_comment(ArgT0&& arg0, ArgT... args) { |
7233 | | if (!_internal_has_comment()) { |
7234 | | clear_misc_oneof(); |
7235 | | set_has_comment(); |
7236 | | _impl_.misc_oneof_.comment_.InitDefault(); |
7237 | | } |
7238 | | _impl_.misc_oneof_.comment_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
7239 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Misc.comment) |
7240 | | } |
7241 | 0 | inline std::string* Misc::mutable_comment() { |
7242 | 0 | std::string* _s = _internal_mutable_comment(); |
7243 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Misc.comment) |
7244 | 0 | return _s; |
7245 | 0 | } |
7246 | 1.72k | inline const std::string& Misc::_internal_comment() const { |
7247 | 1.72k | if (_internal_has_comment()) { |
7248 | 1.72k | return _impl_.misc_oneof_.comment_.Get(); |
7249 | 1.72k | } |
7250 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); |
7251 | 1.72k | } |
7252 | 0 | inline void Misc::_internal_set_comment(const std::string& value) { |
7253 | 0 | if (!_internal_has_comment()) { |
7254 | 0 | clear_misc_oneof(); |
7255 | 0 | set_has_comment(); |
7256 | 0 | _impl_.misc_oneof_.comment_.InitDefault(); |
7257 | 0 | } |
7258 | 0 | _impl_.misc_oneof_.comment_.Set(value, GetArenaForAllocation()); |
7259 | 0 | } |
7260 | 0 | inline std::string* Misc::_internal_mutable_comment() { |
7261 | 0 | if (!_internal_has_comment()) { |
7262 | 0 | clear_misc_oneof(); |
7263 | 0 | set_has_comment(); |
7264 | 0 | _impl_.misc_oneof_.comment_.InitDefault(); |
7265 | 0 | } |
7266 | 0 | return _impl_.misc_oneof_.comment_.Mutable( GetArenaForAllocation()); |
7267 | 0 | } |
7268 | 0 | inline std::string* Misc::release_comment() { |
7269 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Misc.comment) |
7270 | 0 | if (_internal_has_comment()) { |
7271 | 0 | clear_has_misc_oneof(); |
7272 | 0 | return _impl_.misc_oneof_.comment_.Release(); |
7273 | 0 | } else { |
7274 | 0 | return nullptr; |
7275 | 0 | } |
7276 | 0 | } |
7277 | 0 | inline void Misc::set_allocated_comment(std::string* comment) { |
7278 | 0 | if (has_misc_oneof()) { |
7279 | 0 | clear_misc_oneof(); |
7280 | 0 | } |
7281 | 0 | if (comment != nullptr) { |
7282 | 0 | set_has_comment(); |
7283 | 0 | _impl_.misc_oneof_.comment_.InitAllocated(comment, GetArenaForAllocation()); |
7284 | 0 | } |
7285 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Misc.comment) |
7286 | 0 | } |
7287 | | |
7288 | | // .xmlProtoFuzzer.ProcessingInstruction inst = 2; |
7289 | 1.37k | inline bool Misc::_internal_has_inst() const { |
7290 | 1.37k | return misc_oneof_case() == kInst; |
7291 | 1.37k | } |
7292 | 0 | inline bool Misc::has_inst() const { |
7293 | 0 | return _internal_has_inst(); |
7294 | 0 | } |
7295 | 0 | inline void Misc::set_has_inst() { |
7296 | 0 | _impl_._oneof_case_[0] = kInst; |
7297 | 0 | } |
7298 | 0 | inline void Misc::clear_inst() { |
7299 | 0 | if (_internal_has_inst()) { |
7300 | 0 | if (GetArenaForAllocation() == nullptr) { |
7301 | 0 | delete _impl_.misc_oneof_.inst_; |
7302 | 0 | } |
7303 | 0 | clear_has_misc_oneof(); |
7304 | 0 | } |
7305 | 0 | } |
7306 | 0 | inline ::xmlProtoFuzzer::ProcessingInstruction* Misc::release_inst() { |
7307 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Misc.inst) |
7308 | 0 | if (_internal_has_inst()) { |
7309 | 0 | clear_has_misc_oneof(); |
7310 | 0 | ::xmlProtoFuzzer::ProcessingInstruction* temp = _impl_.misc_oneof_.inst_; |
7311 | 0 | if (GetArenaForAllocation() != nullptr) { |
7312 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
7313 | 0 | } |
7314 | 0 | _impl_.misc_oneof_.inst_ = nullptr; |
7315 | 0 | return temp; |
7316 | 0 | } else { |
7317 | 0 | return nullptr; |
7318 | 0 | } |
7319 | 0 | } |
7320 | 1.37k | inline const ::xmlProtoFuzzer::ProcessingInstruction& Misc::_internal_inst() const { |
7321 | 1.37k | return _internal_has_inst() |
7322 | 1.37k | ? *_impl_.misc_oneof_.inst_ |
7323 | 1.37k | : reinterpret_cast< ::xmlProtoFuzzer::ProcessingInstruction&>(::xmlProtoFuzzer::_ProcessingInstruction_default_instance_); |
7324 | 1.37k | } |
7325 | 1.37k | inline const ::xmlProtoFuzzer::ProcessingInstruction& Misc::inst() const { |
7326 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Misc.inst) |
7327 | 1.37k | return _internal_inst(); |
7328 | 1.37k | } |
7329 | 0 | inline ::xmlProtoFuzzer::ProcessingInstruction* Misc::unsafe_arena_release_inst() { |
7330 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.Misc.inst) |
7331 | 0 | if (_internal_has_inst()) { |
7332 | 0 | clear_has_misc_oneof(); |
7333 | 0 | ::xmlProtoFuzzer::ProcessingInstruction* temp = _impl_.misc_oneof_.inst_; |
7334 | 0 | _impl_.misc_oneof_.inst_ = nullptr; |
7335 | 0 | return temp; |
7336 | 0 | } else { |
7337 | 0 | return nullptr; |
7338 | 0 | } |
7339 | 0 | } |
7340 | 0 | inline void Misc::unsafe_arena_set_allocated_inst(::xmlProtoFuzzer::ProcessingInstruction* inst) { |
7341 | 0 | clear_misc_oneof(); |
7342 | 0 | if (inst) { |
7343 | 0 | set_has_inst(); |
7344 | 0 | _impl_.misc_oneof_.inst_ = inst; |
7345 | 0 | } |
7346 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.Misc.inst) |
7347 | 0 | } |
7348 | 0 | inline ::xmlProtoFuzzer::ProcessingInstruction* Misc::_internal_mutable_inst() { |
7349 | 0 | if (!_internal_has_inst()) { |
7350 | 0 | clear_misc_oneof(); |
7351 | 0 | set_has_inst(); |
7352 | 0 | _impl_.misc_oneof_.inst_ = CreateMaybeMessage< ::xmlProtoFuzzer::ProcessingInstruction >(GetArenaForAllocation()); |
7353 | 0 | } |
7354 | 0 | return _impl_.misc_oneof_.inst_; |
7355 | 0 | } |
7356 | 0 | inline ::xmlProtoFuzzer::ProcessingInstruction* Misc::mutable_inst() { |
7357 | 0 | ::xmlProtoFuzzer::ProcessingInstruction* _msg = _internal_mutable_inst(); |
7358 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Misc.inst) |
7359 | 0 | return _msg; |
7360 | 0 | } |
7361 | | |
7362 | 4.89k | inline bool Misc::has_misc_oneof() const { |
7363 | 4.89k | return misc_oneof_case() != MISC_ONEOF_NOT_SET; |
7364 | 4.89k | } |
7365 | 4.89k | inline void Misc::clear_has_misc_oneof() { |
7366 | 4.89k | _impl_._oneof_case_[0] = MISC_ONEOF_NOT_SET; |
7367 | 4.89k | } |
7368 | 15.8k | inline Misc::MiscOneofCase Misc::misc_oneof_case() const { |
7369 | 15.8k | return Misc::MiscOneofCase(_impl_._oneof_case_[0]); |
7370 | 15.8k | } |
7371 | | // ------------------------------------------------------------------- |
7372 | | |
7373 | | // PEReference |
7374 | | |
7375 | | // string name = 1; |
7376 | 0 | inline void PEReference::clear_name() { |
7377 | 0 | _impl_.name_.ClearToEmpty(); |
7378 | 0 | } |
7379 | 0 | inline const std::string& PEReference::name() const { |
7380 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.PEReference.name) |
7381 | 0 | return _internal_name(); |
7382 | 0 | } |
7383 | | template <typename ArgT0, typename... ArgT> |
7384 | | inline PROTOBUF_ALWAYS_INLINE |
7385 | | void PEReference::set_name(ArgT0&& arg0, ArgT... args) { |
7386 | | |
7387 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
7388 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.PEReference.name) |
7389 | | } |
7390 | 0 | inline std::string* PEReference::mutable_name() { |
7391 | 0 | std::string* _s = _internal_mutable_name(); |
7392 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.PEReference.name) |
7393 | 0 | return _s; |
7394 | 0 | } |
7395 | 0 | inline const std::string& PEReference::_internal_name() const { |
7396 | 0 | return _impl_.name_.Get(); |
7397 | 0 | } |
7398 | 0 | inline void PEReference::_internal_set_name(const std::string& value) { |
7399 | | |
7400 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
7401 | 0 | } |
7402 | 0 | inline std::string* PEReference::_internal_mutable_name() { |
7403 | | |
7404 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
7405 | 0 | } |
7406 | 0 | inline std::string* PEReference::release_name() { |
7407 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.PEReference.name) |
7408 | 0 | return _impl_.name_.Release(); |
7409 | 0 | } |
7410 | 0 | inline void PEReference::set_allocated_name(std::string* name) { |
7411 | 0 | if (name != nullptr) { |
7412 | 0 | |
7413 | 0 | } else { |
7414 | 0 | |
7415 | 0 | } |
7416 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
7417 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
7418 | 0 | if (_impl_.name_.IsDefault()) { |
7419 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
7420 | 0 | } |
7421 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
7422 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.PEReference.name) |
7423 | 0 | } |
7424 | | |
7425 | | // ------------------------------------------------------------------- |
7426 | | |
7427 | | // ElementDecl |
7428 | | |
7429 | | // string name = 1; |
7430 | 0 | inline void ElementDecl::clear_name() { |
7431 | 0 | _impl_.name_.ClearToEmpty(); |
7432 | 0 | } |
7433 | 5.66k | inline const std::string& ElementDecl::name() const { |
7434 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ElementDecl.name) |
7435 | 5.66k | return _internal_name(); |
7436 | 5.66k | } |
7437 | | template <typename ArgT0, typename... ArgT> |
7438 | | inline PROTOBUF_ALWAYS_INLINE |
7439 | | void ElementDecl::set_name(ArgT0&& arg0, ArgT... args) { |
7440 | | |
7441 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
7442 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ElementDecl.name) |
7443 | | } |
7444 | 0 | inline std::string* ElementDecl::mutable_name() { |
7445 | 0 | std::string* _s = _internal_mutable_name(); |
7446 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ElementDecl.name) |
7447 | 0 | return _s; |
7448 | 0 | } |
7449 | 5.66k | inline const std::string& ElementDecl::_internal_name() const { |
7450 | 5.66k | return _impl_.name_.Get(); |
7451 | 5.66k | } |
7452 | 0 | inline void ElementDecl::_internal_set_name(const std::string& value) { |
7453 | | |
7454 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
7455 | 0 | } |
7456 | 0 | inline std::string* ElementDecl::_internal_mutable_name() { |
7457 | | |
7458 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
7459 | 0 | } |
7460 | 0 | inline std::string* ElementDecl::release_name() { |
7461 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.ElementDecl.name) |
7462 | 0 | return _impl_.name_.Release(); |
7463 | 0 | } |
7464 | 0 | inline void ElementDecl::set_allocated_name(std::string* name) { |
7465 | 0 | if (name != nullptr) { |
7466 | 0 | |
7467 | 0 | } else { |
7468 | 0 | |
7469 | 0 | } |
7470 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
7471 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
7472 | 0 | if (_impl_.name_.IsDefault()) { |
7473 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
7474 | 0 | } |
7475 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
7476 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.ElementDecl.name) |
7477 | 0 | } |
7478 | | |
7479 | | // .xmlProtoFuzzer.ElementDecl.ContentSpec spec = 2; |
7480 | 0 | inline void ElementDecl::clear_spec() { |
7481 | 0 | _impl_.spec_ = 0; |
7482 | 0 | } |
7483 | 11.3k | inline ::xmlProtoFuzzer::ElementDecl_ContentSpec ElementDecl::_internal_spec() const { |
7484 | 11.3k | return static_cast< ::xmlProtoFuzzer::ElementDecl_ContentSpec >(_impl_.spec_); |
7485 | 11.3k | } |
7486 | 11.3k | inline ::xmlProtoFuzzer::ElementDecl_ContentSpec ElementDecl::spec() const { |
7487 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ElementDecl.spec) |
7488 | 11.3k | return _internal_spec(); |
7489 | 11.3k | } |
7490 | 0 | inline void ElementDecl::_internal_set_spec(::xmlProtoFuzzer::ElementDecl_ContentSpec value) { |
7491 | | |
7492 | 0 | _impl_.spec_ = value; |
7493 | 0 | } |
7494 | 0 | inline void ElementDecl::set_spec(::xmlProtoFuzzer::ElementDecl_ContentSpec value) { |
7495 | 0 | _internal_set_spec(value); |
7496 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ElementDecl.spec) |
7497 | 0 | } |
7498 | | |
7499 | | // repeated string cdata = 3; |
7500 | 1.11k | inline int ElementDecl::_internal_cdata_size() const { |
7501 | 1.11k | return _impl_.cdata_.size(); |
7502 | 1.11k | } |
7503 | 1.11k | inline int ElementDecl::cdata_size() const { |
7504 | 1.11k | return _internal_cdata_size(); |
7505 | 1.11k | } |
7506 | 0 | inline void ElementDecl::clear_cdata() { |
7507 | 0 | _impl_.cdata_.Clear(); |
7508 | 0 | } |
7509 | 0 | inline std::string* ElementDecl::add_cdata() { |
7510 | 0 | std::string* _s = _internal_add_cdata(); |
7511 | 0 | // @@protoc_insertion_point(field_add_mutable:xmlProtoFuzzer.ElementDecl.cdata) |
7512 | 0 | return _s; |
7513 | 0 | } |
7514 | 0 | inline const std::string& ElementDecl::_internal_cdata(int index) const { |
7515 | 0 | return _impl_.cdata_.Get(index); |
7516 | 0 | } |
7517 | 0 | inline const std::string& ElementDecl::cdata(int index) const { |
7518 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ElementDecl.cdata) |
7519 | 0 | return _internal_cdata(index); |
7520 | 0 | } |
7521 | 0 | inline std::string* ElementDecl::mutable_cdata(int index) { |
7522 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ElementDecl.cdata) |
7523 | 0 | return _impl_.cdata_.Mutable(index); |
7524 | 0 | } |
7525 | 0 | inline void ElementDecl::set_cdata(int index, const std::string& value) { |
7526 | 0 | _impl_.cdata_.Mutable(index)->assign(value); |
7527 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ElementDecl.cdata) |
7528 | 0 | } |
7529 | 0 | inline void ElementDecl::set_cdata(int index, std::string&& value) { |
7530 | 0 | _impl_.cdata_.Mutable(index)->assign(std::move(value)); |
7531 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ElementDecl.cdata) |
7532 | 0 | } |
7533 | 0 | inline void ElementDecl::set_cdata(int index, const char* value) { |
7534 | 0 | GOOGLE_DCHECK(value != nullptr); |
7535 | 0 | _impl_.cdata_.Mutable(index)->assign(value); |
7536 | 0 | // @@protoc_insertion_point(field_set_char:xmlProtoFuzzer.ElementDecl.cdata) |
7537 | 0 | } |
7538 | 0 | inline void ElementDecl::set_cdata(int index, const char* value, size_t size) { |
7539 | 0 | _impl_.cdata_.Mutable(index)->assign( |
7540 | 0 | reinterpret_cast<const char*>(value), size); |
7541 | 0 | // @@protoc_insertion_point(field_set_pointer:xmlProtoFuzzer.ElementDecl.cdata) |
7542 | 0 | } |
7543 | 0 | inline std::string* ElementDecl::_internal_add_cdata() { |
7544 | 0 | return _impl_.cdata_.Add(); |
7545 | 0 | } |
7546 | 0 | inline void ElementDecl::add_cdata(const std::string& value) { |
7547 | 0 | _impl_.cdata_.Add()->assign(value); |
7548 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.ElementDecl.cdata) |
7549 | 0 | } |
7550 | 0 | inline void ElementDecl::add_cdata(std::string&& value) { |
7551 | 0 | _impl_.cdata_.Add(std::move(value)); |
7552 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.ElementDecl.cdata) |
7553 | 0 | } |
7554 | 0 | inline void ElementDecl::add_cdata(const char* value) { |
7555 | 0 | GOOGLE_DCHECK(value != nullptr); |
7556 | 0 | _impl_.cdata_.Add()->assign(value); |
7557 | 0 | // @@protoc_insertion_point(field_add_char:xmlProtoFuzzer.ElementDecl.cdata) |
7558 | 0 | } |
7559 | 0 | inline void ElementDecl::add_cdata(const char* value, size_t size) { |
7560 | 0 | _impl_.cdata_.Add()->assign(reinterpret_cast<const char*>(value), size); |
7561 | 0 | // @@protoc_insertion_point(field_add_pointer:xmlProtoFuzzer.ElementDecl.cdata) |
7562 | 0 | } |
7563 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
7564 | 1.79k | ElementDecl::cdata() const { |
7565 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.ElementDecl.cdata) |
7566 | 1.79k | return _impl_.cdata_; |
7567 | 1.79k | } |
7568 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
7569 | 0 | ElementDecl::mutable_cdata() { |
7570 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.ElementDecl.cdata) |
7571 | 0 | return &_impl_.cdata_; |
7572 | 0 | } |
7573 | | |
7574 | | // ------------------------------------------------------------------- |
7575 | | |
7576 | | // AttrType |
7577 | | |
7578 | | // .xmlProtoFuzzer.AttrType.Type ty = 1; |
7579 | 0 | inline void AttrType::clear_ty() { |
7580 | 0 | _impl_.ty_ = 0; |
7581 | 0 | } |
7582 | 0 | inline ::xmlProtoFuzzer::AttrType_Type AttrType::_internal_ty() const { |
7583 | 0 | return static_cast< ::xmlProtoFuzzer::AttrType_Type >(_impl_.ty_); |
7584 | 0 | } |
7585 | 0 | inline ::xmlProtoFuzzer::AttrType_Type AttrType::ty() const { |
7586 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttrType.ty) |
7587 | 0 | return _internal_ty(); |
7588 | 0 | } |
7589 | 0 | inline void AttrType::_internal_set_ty(::xmlProtoFuzzer::AttrType_Type value) { |
7590 | | |
7591 | 0 | _impl_.ty_ = value; |
7592 | 0 | } |
7593 | 0 | inline void AttrType::set_ty(::xmlProtoFuzzer::AttrType_Type value) { |
7594 | 0 | _internal_set_ty(value); |
7595 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttrType.ty) |
7596 | 0 | } |
7597 | | |
7598 | | // ------------------------------------------------------------------- |
7599 | | |
7600 | | // EnumeratedType |
7601 | | |
7602 | | // repeated string names = 1; |
7603 | 0 | inline int EnumeratedType::_internal_names_size() const { |
7604 | 0 | return _impl_.names_.size(); |
7605 | 0 | } |
7606 | 0 | inline int EnumeratedType::names_size() const { |
7607 | 0 | return _internal_names_size(); |
7608 | 0 | } |
7609 | 0 | inline void EnumeratedType::clear_names() { |
7610 | 0 | _impl_.names_.Clear(); |
7611 | 0 | } |
7612 | 0 | inline std::string* EnumeratedType::add_names() { |
7613 | 0 | std::string* _s = _internal_add_names(); |
7614 | 0 | // @@protoc_insertion_point(field_add_mutable:xmlProtoFuzzer.EnumeratedType.names) |
7615 | 0 | return _s; |
7616 | 0 | } |
7617 | 0 | inline const std::string& EnumeratedType::_internal_names(int index) const { |
7618 | 0 | return _impl_.names_.Get(index); |
7619 | 0 | } |
7620 | 0 | inline const std::string& EnumeratedType::names(int index) const { |
7621 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EnumeratedType.names) |
7622 | 0 | return _internal_names(index); |
7623 | 0 | } |
7624 | 0 | inline std::string* EnumeratedType::mutable_names(int index) { |
7625 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EnumeratedType.names) |
7626 | 0 | return _impl_.names_.Mutable(index); |
7627 | 0 | } |
7628 | 0 | inline void EnumeratedType::set_names(int index, const std::string& value) { |
7629 | 0 | _impl_.names_.Mutable(index)->assign(value); |
7630 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.EnumeratedType.names) |
7631 | 0 | } |
7632 | 0 | inline void EnumeratedType::set_names(int index, std::string&& value) { |
7633 | 0 | _impl_.names_.Mutable(index)->assign(std::move(value)); |
7634 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.EnumeratedType.names) |
7635 | 0 | } |
7636 | 0 | inline void EnumeratedType::set_names(int index, const char* value) { |
7637 | 0 | GOOGLE_DCHECK(value != nullptr); |
7638 | 0 | _impl_.names_.Mutable(index)->assign(value); |
7639 | 0 | // @@protoc_insertion_point(field_set_char:xmlProtoFuzzer.EnumeratedType.names) |
7640 | 0 | } |
7641 | 0 | inline void EnumeratedType::set_names(int index, const char* value, size_t size) { |
7642 | 0 | _impl_.names_.Mutable(index)->assign( |
7643 | 0 | reinterpret_cast<const char*>(value), size); |
7644 | 0 | // @@protoc_insertion_point(field_set_pointer:xmlProtoFuzzer.EnumeratedType.names) |
7645 | 0 | } |
7646 | 0 | inline std::string* EnumeratedType::_internal_add_names() { |
7647 | 0 | return _impl_.names_.Add(); |
7648 | 0 | } |
7649 | 0 | inline void EnumeratedType::add_names(const std::string& value) { |
7650 | 0 | _impl_.names_.Add()->assign(value); |
7651 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.EnumeratedType.names) |
7652 | 0 | } |
7653 | 0 | inline void EnumeratedType::add_names(std::string&& value) { |
7654 | 0 | _impl_.names_.Add(std::move(value)); |
7655 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.EnumeratedType.names) |
7656 | 0 | } |
7657 | 0 | inline void EnumeratedType::add_names(const char* value) { |
7658 | 0 | GOOGLE_DCHECK(value != nullptr); |
7659 | 0 | _impl_.names_.Add()->assign(value); |
7660 | 0 | // @@protoc_insertion_point(field_add_char:xmlProtoFuzzer.EnumeratedType.names) |
7661 | 0 | } |
7662 | 0 | inline void EnumeratedType::add_names(const char* value, size_t size) { |
7663 | 0 | _impl_.names_.Add()->assign(reinterpret_cast<const char*>(value), size); |
7664 | 0 | // @@protoc_insertion_point(field_add_pointer:xmlProtoFuzzer.EnumeratedType.names) |
7665 | 0 | } |
7666 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
7667 | 0 | EnumeratedType::names() const { |
7668 | 0 | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.EnumeratedType.names) |
7669 | 0 | return _impl_.names_; |
7670 | 0 | } |
7671 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
7672 | 0 | EnumeratedType::mutable_names() { |
7673 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.EnumeratedType.names) |
7674 | 0 | return &_impl_.names_; |
7675 | 0 | } |
7676 | | |
7677 | | // ------------------------------------------------------------------- |
7678 | | |
7679 | | // AttrListDecl |
7680 | | |
7681 | | // string name = 1; |
7682 | 0 | inline void AttrListDecl::clear_name() { |
7683 | 0 | _impl_.name_.ClearToEmpty(); |
7684 | 0 | } |
7685 | 0 | inline const std::string& AttrListDecl::name() const { |
7686 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttrListDecl.name) |
7687 | 0 | return _internal_name(); |
7688 | 0 | } |
7689 | | template <typename ArgT0, typename... ArgT> |
7690 | | inline PROTOBUF_ALWAYS_INLINE |
7691 | | void AttrListDecl::set_name(ArgT0&& arg0, ArgT... args) { |
7692 | | |
7693 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
7694 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttrListDecl.name) |
7695 | | } |
7696 | 0 | inline std::string* AttrListDecl::mutable_name() { |
7697 | 0 | std::string* _s = _internal_mutable_name(); |
7698 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttrListDecl.name) |
7699 | 0 | return _s; |
7700 | 0 | } |
7701 | 0 | inline const std::string& AttrListDecl::_internal_name() const { |
7702 | 0 | return _impl_.name_.Get(); |
7703 | 0 | } |
7704 | 0 | inline void AttrListDecl::_internal_set_name(const std::string& value) { |
7705 | | |
7706 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
7707 | 0 | } |
7708 | 0 | inline std::string* AttrListDecl::_internal_mutable_name() { |
7709 | | |
7710 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
7711 | 0 | } |
7712 | 0 | inline std::string* AttrListDecl::release_name() { |
7713 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.AttrListDecl.name) |
7714 | 0 | return _impl_.name_.Release(); |
7715 | 0 | } |
7716 | 0 | inline void AttrListDecl::set_allocated_name(std::string* name) { |
7717 | 0 | if (name != nullptr) { |
7718 | 0 | |
7719 | 0 | } else { |
7720 | 0 | |
7721 | 0 | } |
7722 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
7723 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
7724 | 0 | if (_impl_.name_.IsDefault()) { |
7725 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
7726 | 0 | } |
7727 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
7728 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.AttrListDecl.name) |
7729 | 0 | } |
7730 | | |
7731 | | // .xmlProtoFuzzer.AttrType atype = 2; |
7732 | 0 | inline bool AttrListDecl::_internal_has_atype() const { |
7733 | 0 | return this != internal_default_instance() && _impl_.atype_ != nullptr; |
7734 | 0 | } |
7735 | 0 | inline bool AttrListDecl::has_atype() const { |
7736 | 0 | return _internal_has_atype(); |
7737 | 0 | } |
7738 | 0 | inline void AttrListDecl::clear_atype() { |
7739 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.atype_ != nullptr) { |
7740 | 0 | delete _impl_.atype_; |
7741 | 0 | } |
7742 | 0 | _impl_.atype_ = nullptr; |
7743 | 0 | } |
7744 | 0 | inline const ::xmlProtoFuzzer::AttrType& AttrListDecl::_internal_atype() const { |
7745 | 0 | const ::xmlProtoFuzzer::AttrType* p = _impl_.atype_; |
7746 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::AttrType&>( |
7747 | 0 | ::xmlProtoFuzzer::_AttrType_default_instance_); |
7748 | 0 | } |
7749 | 0 | inline const ::xmlProtoFuzzer::AttrType& AttrListDecl::atype() const { |
7750 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttrListDecl.atype) |
7751 | 0 | return _internal_atype(); |
7752 | 0 | } |
7753 | | inline void AttrListDecl::unsafe_arena_set_allocated_atype( |
7754 | 0 | ::xmlProtoFuzzer::AttrType* atype) { |
7755 | 0 | if (GetArenaForAllocation() == nullptr) { |
7756 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.atype_); |
7757 | 0 | } |
7758 | 0 | _impl_.atype_ = atype; |
7759 | 0 | if (atype) { |
7760 | 0 | |
7761 | 0 | } else { |
7762 | 0 | |
7763 | 0 | } |
7764 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.AttrListDecl.atype) |
7765 | 0 | } |
7766 | 0 | inline ::xmlProtoFuzzer::AttrType* AttrListDecl::release_atype() { |
7767 | 0 | |
7768 | 0 | ::xmlProtoFuzzer::AttrType* temp = _impl_.atype_; |
7769 | 0 | _impl_.atype_ = nullptr; |
7770 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
7771 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
7772 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
7773 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
7774 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
7775 | 0 | if (GetArenaForAllocation() != nullptr) { |
7776 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
7777 | 0 | } |
7778 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
7779 | 0 | return temp; |
7780 | 0 | } |
7781 | 0 | inline ::xmlProtoFuzzer::AttrType* AttrListDecl::unsafe_arena_release_atype() { |
7782 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.AttrListDecl.atype) |
7783 | 0 | |
7784 | 0 | ::xmlProtoFuzzer::AttrType* temp = _impl_.atype_; |
7785 | 0 | _impl_.atype_ = nullptr; |
7786 | 0 | return temp; |
7787 | 0 | } |
7788 | 0 | inline ::xmlProtoFuzzer::AttrType* AttrListDecl::_internal_mutable_atype() { |
7789 | | |
7790 | 0 | if (_impl_.atype_ == nullptr) { |
7791 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::AttrType>(GetArenaForAllocation()); |
7792 | 0 | _impl_.atype_ = p; |
7793 | 0 | } |
7794 | 0 | return _impl_.atype_; |
7795 | 0 | } |
7796 | 0 | inline ::xmlProtoFuzzer::AttrType* AttrListDecl::mutable_atype() { |
7797 | 0 | ::xmlProtoFuzzer::AttrType* _msg = _internal_mutable_atype(); |
7798 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttrListDecl.atype) |
7799 | 0 | return _msg; |
7800 | 0 | } |
7801 | 0 | inline void AttrListDecl::set_allocated_atype(::xmlProtoFuzzer::AttrType* atype) { |
7802 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
7803 | 0 | if (message_arena == nullptr) { |
7804 | 0 | delete _impl_.atype_; |
7805 | 0 | } |
7806 | 0 | if (atype) { |
7807 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
7808 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(atype); |
7809 | 0 | if (message_arena != submessage_arena) { |
7810 | 0 | atype = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
7811 | 0 | message_arena, atype, submessage_arena); |
7812 | 0 | } |
7813 | 0 | |
7814 | 0 | } else { |
7815 | 0 | |
7816 | 0 | } |
7817 | 0 | _impl_.atype_ = atype; |
7818 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.AttrListDecl.atype) |
7819 | 0 | } |
7820 | | |
7821 | | // .xmlProtoFuzzer.EnumeratedType etype = 3; |
7822 | 0 | inline bool AttrListDecl::_internal_has_etype() const { |
7823 | 0 | return this != internal_default_instance() && _impl_.etype_ != nullptr; |
7824 | 0 | } |
7825 | 0 | inline bool AttrListDecl::has_etype() const { |
7826 | 0 | return _internal_has_etype(); |
7827 | 0 | } |
7828 | 0 | inline void AttrListDecl::clear_etype() { |
7829 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.etype_ != nullptr) { |
7830 | 0 | delete _impl_.etype_; |
7831 | 0 | } |
7832 | 0 | _impl_.etype_ = nullptr; |
7833 | 0 | } |
7834 | 0 | inline const ::xmlProtoFuzzer::EnumeratedType& AttrListDecl::_internal_etype() const { |
7835 | 0 | const ::xmlProtoFuzzer::EnumeratedType* p = _impl_.etype_; |
7836 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::EnumeratedType&>( |
7837 | 0 | ::xmlProtoFuzzer::_EnumeratedType_default_instance_); |
7838 | 0 | } |
7839 | 0 | inline const ::xmlProtoFuzzer::EnumeratedType& AttrListDecl::etype() const { |
7840 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttrListDecl.etype) |
7841 | 0 | return _internal_etype(); |
7842 | 0 | } |
7843 | | inline void AttrListDecl::unsafe_arena_set_allocated_etype( |
7844 | 0 | ::xmlProtoFuzzer::EnumeratedType* etype) { |
7845 | 0 | if (GetArenaForAllocation() == nullptr) { |
7846 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.etype_); |
7847 | 0 | } |
7848 | 0 | _impl_.etype_ = etype; |
7849 | 0 | if (etype) { |
7850 | 0 | |
7851 | 0 | } else { |
7852 | 0 | |
7853 | 0 | } |
7854 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.AttrListDecl.etype) |
7855 | 0 | } |
7856 | 0 | inline ::xmlProtoFuzzer::EnumeratedType* AttrListDecl::release_etype() { |
7857 | 0 | |
7858 | 0 | ::xmlProtoFuzzer::EnumeratedType* temp = _impl_.etype_; |
7859 | 0 | _impl_.etype_ = nullptr; |
7860 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
7861 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
7862 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
7863 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
7864 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
7865 | 0 | if (GetArenaForAllocation() != nullptr) { |
7866 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
7867 | 0 | } |
7868 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
7869 | 0 | return temp; |
7870 | 0 | } |
7871 | 0 | inline ::xmlProtoFuzzer::EnumeratedType* AttrListDecl::unsafe_arena_release_etype() { |
7872 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.AttrListDecl.etype) |
7873 | 0 | |
7874 | 0 | ::xmlProtoFuzzer::EnumeratedType* temp = _impl_.etype_; |
7875 | 0 | _impl_.etype_ = nullptr; |
7876 | 0 | return temp; |
7877 | 0 | } |
7878 | 0 | inline ::xmlProtoFuzzer::EnumeratedType* AttrListDecl::_internal_mutable_etype() { |
7879 | | |
7880 | 0 | if (_impl_.etype_ == nullptr) { |
7881 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::EnumeratedType>(GetArenaForAllocation()); |
7882 | 0 | _impl_.etype_ = p; |
7883 | 0 | } |
7884 | 0 | return _impl_.etype_; |
7885 | 0 | } |
7886 | 0 | inline ::xmlProtoFuzzer::EnumeratedType* AttrListDecl::mutable_etype() { |
7887 | 0 | ::xmlProtoFuzzer::EnumeratedType* _msg = _internal_mutable_etype(); |
7888 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttrListDecl.etype) |
7889 | 0 | return _msg; |
7890 | 0 | } |
7891 | 0 | inline void AttrListDecl::set_allocated_etype(::xmlProtoFuzzer::EnumeratedType* etype) { |
7892 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
7893 | 0 | if (message_arena == nullptr) { |
7894 | 0 | delete _impl_.etype_; |
7895 | 0 | } |
7896 | 0 | if (etype) { |
7897 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
7898 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(etype); |
7899 | 0 | if (message_arena != submessage_arena) { |
7900 | 0 | etype = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
7901 | 0 | message_arena, etype, submessage_arena); |
7902 | 0 | } |
7903 | 0 | |
7904 | 0 | } else { |
7905 | 0 | |
7906 | 0 | } |
7907 | 0 | _impl_.etype_ = etype; |
7908 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.AttrListDecl.etype) |
7909 | 0 | } |
7910 | | |
7911 | | // .xmlProtoFuzzer.DefaultDecl def = 4; |
7912 | 0 | inline bool AttrListDecl::_internal_has_def() const { |
7913 | 0 | return this != internal_default_instance() && _impl_.def_ != nullptr; |
7914 | 0 | } |
7915 | 0 | inline bool AttrListDecl::has_def() const { |
7916 | 0 | return _internal_has_def(); |
7917 | 0 | } |
7918 | 0 | inline void AttrListDecl::clear_def() { |
7919 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.def_ != nullptr) { |
7920 | 0 | delete _impl_.def_; |
7921 | 0 | } |
7922 | 0 | _impl_.def_ = nullptr; |
7923 | 0 | } |
7924 | 0 | inline const ::xmlProtoFuzzer::DefaultDecl& AttrListDecl::_internal_def() const { |
7925 | 0 | const ::xmlProtoFuzzer::DefaultDecl* p = _impl_.def_; |
7926 | 0 | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::DefaultDecl&>( |
7927 | 0 | ::xmlProtoFuzzer::_DefaultDecl_default_instance_); |
7928 | 0 | } |
7929 | 0 | inline const ::xmlProtoFuzzer::DefaultDecl& AttrListDecl::def() const { |
7930 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttrListDecl.def) |
7931 | 0 | return _internal_def(); |
7932 | 0 | } |
7933 | | inline void AttrListDecl::unsafe_arena_set_allocated_def( |
7934 | 0 | ::xmlProtoFuzzer::DefaultDecl* def) { |
7935 | 0 | if (GetArenaForAllocation() == nullptr) { |
7936 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.def_); |
7937 | 0 | } |
7938 | 0 | _impl_.def_ = def; |
7939 | 0 | if (def) { |
7940 | 0 | |
7941 | 0 | } else { |
7942 | 0 | |
7943 | 0 | } |
7944 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.AttrListDecl.def) |
7945 | 0 | } |
7946 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttrListDecl::release_def() { |
7947 | 0 | |
7948 | 0 | ::xmlProtoFuzzer::DefaultDecl* temp = _impl_.def_; |
7949 | 0 | _impl_.def_ = nullptr; |
7950 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
7951 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
7952 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
7953 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
7954 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
7955 | 0 | if (GetArenaForAllocation() != nullptr) { |
7956 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
7957 | 0 | } |
7958 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
7959 | 0 | return temp; |
7960 | 0 | } |
7961 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttrListDecl::unsafe_arena_release_def() { |
7962 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.AttrListDecl.def) |
7963 | 0 | |
7964 | 0 | ::xmlProtoFuzzer::DefaultDecl* temp = _impl_.def_; |
7965 | 0 | _impl_.def_ = nullptr; |
7966 | 0 | return temp; |
7967 | 0 | } |
7968 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttrListDecl::_internal_mutable_def() { |
7969 | | |
7970 | 0 | if (_impl_.def_ == nullptr) { |
7971 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::DefaultDecl>(GetArenaForAllocation()); |
7972 | 0 | _impl_.def_ = p; |
7973 | 0 | } |
7974 | 0 | return _impl_.def_; |
7975 | 0 | } |
7976 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttrListDecl::mutable_def() { |
7977 | 0 | ::xmlProtoFuzzer::DefaultDecl* _msg = _internal_mutable_def(); |
7978 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttrListDecl.def) |
7979 | 0 | return _msg; |
7980 | 0 | } |
7981 | 0 | inline void AttrListDecl::set_allocated_def(::xmlProtoFuzzer::DefaultDecl* def) { |
7982 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
7983 | 0 | if (message_arena == nullptr) { |
7984 | 0 | delete _impl_.def_; |
7985 | 0 | } |
7986 | 0 | if (def) { |
7987 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
7988 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(def); |
7989 | 0 | if (message_arena != submessage_arena) { |
7990 | 0 | def = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
7991 | 0 | message_arena, def, submessage_arena); |
7992 | 0 | } |
7993 | 0 | |
7994 | 0 | } else { |
7995 | 0 | |
7996 | 0 | } |
7997 | 0 | _impl_.def_ = def; |
7998 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.AttrListDecl.def) |
7999 | 0 | } |
8000 | | |
8001 | | // ------------------------------------------------------------------- |
8002 | | |
8003 | | // ExternalId |
8004 | | |
8005 | | // .xmlProtoFuzzer.ExternalId.Type type = 1; |
8006 | 0 | inline void ExternalId::clear_type() { |
8007 | 0 | _impl_.type_ = 0; |
8008 | 0 | } |
8009 | 33.3k | inline ::xmlProtoFuzzer::ExternalId_Type ExternalId::_internal_type() const { |
8010 | 33.3k | return static_cast< ::xmlProtoFuzzer::ExternalId_Type >(_impl_.type_); |
8011 | 33.3k | } |
8012 | 27.8k | inline ::xmlProtoFuzzer::ExternalId_Type ExternalId::type() const { |
8013 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ExternalId.type) |
8014 | 27.8k | return _internal_type(); |
8015 | 27.8k | } |
8016 | 0 | inline void ExternalId::_internal_set_type(::xmlProtoFuzzer::ExternalId_Type value) { |
8017 | | |
8018 | 0 | _impl_.type_ = value; |
8019 | 0 | } |
8020 | 0 | inline void ExternalId::set_type(::xmlProtoFuzzer::ExternalId_Type value) { |
8021 | 0 | _internal_set_type(value); |
8022 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ExternalId.type) |
8023 | 0 | } |
8024 | | |
8025 | | // string system = 2; |
8026 | 0 | inline void ExternalId::clear_system() { |
8027 | 0 | _impl_.system_.ClearToEmpty(); |
8028 | 0 | } |
8029 | 12.6k | inline const std::string& ExternalId::system() const { |
8030 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ExternalId.system) |
8031 | 12.6k | return _internal_system(); |
8032 | 12.6k | } |
8033 | | template <typename ArgT0, typename... ArgT> |
8034 | | inline PROTOBUF_ALWAYS_INLINE |
8035 | | void ExternalId::set_system(ArgT0&& arg0, ArgT... args) { |
8036 | | |
8037 | | _impl_.system_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
8038 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ExternalId.system) |
8039 | | } |
8040 | 0 | inline std::string* ExternalId::mutable_system() { |
8041 | 0 | std::string* _s = _internal_mutable_system(); |
8042 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ExternalId.system) |
8043 | 0 | return _s; |
8044 | 0 | } |
8045 | 17.2k | inline const std::string& ExternalId::_internal_system() const { |
8046 | 17.2k | return _impl_.system_.Get(); |
8047 | 17.2k | } |
8048 | 0 | inline void ExternalId::_internal_set_system(const std::string& value) { |
8049 | | |
8050 | 0 | _impl_.system_.Set(value, GetArenaForAllocation()); |
8051 | 0 | } |
8052 | 0 | inline std::string* ExternalId::_internal_mutable_system() { |
8053 | | |
8054 | 0 | return _impl_.system_.Mutable(GetArenaForAllocation()); |
8055 | 0 | } |
8056 | 0 | inline std::string* ExternalId::release_system() { |
8057 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.ExternalId.system) |
8058 | 0 | return _impl_.system_.Release(); |
8059 | 0 | } |
8060 | 0 | inline void ExternalId::set_allocated_system(std::string* system) { |
8061 | 0 | if (system != nullptr) { |
8062 | 0 | |
8063 | 0 | } else { |
8064 | 0 | |
8065 | 0 | } |
8066 | 0 | _impl_.system_.SetAllocated(system, GetArenaForAllocation()); |
8067 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8068 | 0 | if (_impl_.system_.IsDefault()) { |
8069 | 0 | _impl_.system_.Set("", GetArenaForAllocation()); |
8070 | 0 | } |
8071 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8072 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.ExternalId.system) |
8073 | 0 | } |
8074 | | |
8075 | | // string pub = 3; |
8076 | 0 | inline void ExternalId::clear_pub() { |
8077 | 0 | _impl_.pub_.ClearToEmpty(); |
8078 | 0 | } |
8079 | 1.88k | inline const std::string& ExternalId::pub() const { |
8080 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ExternalId.pub) |
8081 | 1.88k | return _internal_pub(); |
8082 | 1.88k | } |
8083 | | template <typename ArgT0, typename... ArgT> |
8084 | | inline PROTOBUF_ALWAYS_INLINE |
8085 | | void ExternalId::set_pub(ArgT0&& arg0, ArgT... args) { |
8086 | | |
8087 | | _impl_.pub_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
8088 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ExternalId.pub) |
8089 | | } |
8090 | 0 | inline std::string* ExternalId::mutable_pub() { |
8091 | 0 | std::string* _s = _internal_mutable_pub(); |
8092 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ExternalId.pub) |
8093 | 0 | return _s; |
8094 | 0 | } |
8095 | 6.98k | inline const std::string& ExternalId::_internal_pub() const { |
8096 | 6.98k | return _impl_.pub_.Get(); |
8097 | 6.98k | } |
8098 | 0 | inline void ExternalId::_internal_set_pub(const std::string& value) { |
8099 | | |
8100 | 0 | _impl_.pub_.Set(value, GetArenaForAllocation()); |
8101 | 0 | } |
8102 | 0 | inline std::string* ExternalId::_internal_mutable_pub() { |
8103 | | |
8104 | 0 | return _impl_.pub_.Mutable(GetArenaForAllocation()); |
8105 | 0 | } |
8106 | 0 | inline std::string* ExternalId::release_pub() { |
8107 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.ExternalId.pub) |
8108 | 0 | return _impl_.pub_.Release(); |
8109 | 0 | } |
8110 | 0 | inline void ExternalId::set_allocated_pub(std::string* pub) { |
8111 | 0 | if (pub != nullptr) { |
8112 | 0 | |
8113 | 0 | } else { |
8114 | 0 | |
8115 | 0 | } |
8116 | 0 | _impl_.pub_.SetAllocated(pub, GetArenaForAllocation()); |
8117 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8118 | 0 | if (_impl_.pub_.IsDefault()) { |
8119 | 0 | _impl_.pub_.Set("", GetArenaForAllocation()); |
8120 | 0 | } |
8121 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8122 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.ExternalId.pub) |
8123 | 0 | } |
8124 | | |
8125 | | // ------------------------------------------------------------------- |
8126 | | |
8127 | | // AttValue |
8128 | | |
8129 | | // .xmlProtoFuzzer.AttValue.Type type = 1; |
8130 | 0 | inline void AttValue::clear_type() { |
8131 | 0 | _impl_.type_ = 0; |
8132 | 0 | } |
8133 | 8.10k | inline ::xmlProtoFuzzer::AttValue_Type AttValue::_internal_type() const { |
8134 | 8.10k | return static_cast< ::xmlProtoFuzzer::AttValue_Type >(_impl_.type_); |
8135 | 8.10k | } |
8136 | 6.00k | inline ::xmlProtoFuzzer::AttValue_Type AttValue::type() const { |
8137 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttValue.type) |
8138 | 6.00k | return _internal_type(); |
8139 | 6.00k | } |
8140 | 0 | inline void AttValue::_internal_set_type(::xmlProtoFuzzer::AttValue_Type value) { |
8141 | | |
8142 | 0 | _impl_.type_ = value; |
8143 | 0 | } |
8144 | 0 | inline void AttValue::set_type(::xmlProtoFuzzer::AttValue_Type value) { |
8145 | 0 | _internal_set_type(value); |
8146 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttValue.type) |
8147 | 0 | } |
8148 | | |
8149 | | // repeated string value = 2; |
8150 | 0 | inline int AttValue::_internal_value_size() const { |
8151 | 0 | return _impl_.value_.size(); |
8152 | 0 | } |
8153 | 0 | inline int AttValue::value_size() const { |
8154 | 0 | return _internal_value_size(); |
8155 | 0 | } |
8156 | 0 | inline void AttValue::clear_value() { |
8157 | 0 | _impl_.value_.Clear(); |
8158 | 0 | } |
8159 | 0 | inline std::string* AttValue::add_value() { |
8160 | 0 | std::string* _s = _internal_add_value(); |
8161 | 0 | // @@protoc_insertion_point(field_add_mutable:xmlProtoFuzzer.AttValue.value) |
8162 | 0 | return _s; |
8163 | 0 | } |
8164 | 0 | inline const std::string& AttValue::_internal_value(int index) const { |
8165 | 0 | return _impl_.value_.Get(index); |
8166 | 0 | } |
8167 | 0 | inline const std::string& AttValue::value(int index) const { |
8168 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttValue.value) |
8169 | 0 | return _internal_value(index); |
8170 | 0 | } |
8171 | 0 | inline std::string* AttValue::mutable_value(int index) { |
8172 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttValue.value) |
8173 | 0 | return _impl_.value_.Mutable(index); |
8174 | 0 | } |
8175 | 0 | inline void AttValue::set_value(int index, const std::string& value) { |
8176 | 0 | _impl_.value_.Mutable(index)->assign(value); |
8177 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttValue.value) |
8178 | 0 | } |
8179 | 0 | inline void AttValue::set_value(int index, std::string&& value) { |
8180 | 0 | _impl_.value_.Mutable(index)->assign(std::move(value)); |
8181 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttValue.value) |
8182 | 0 | } |
8183 | 0 | inline void AttValue::set_value(int index, const char* value) { |
8184 | 0 | GOOGLE_DCHECK(value != nullptr); |
8185 | 0 | _impl_.value_.Mutable(index)->assign(value); |
8186 | 0 | // @@protoc_insertion_point(field_set_char:xmlProtoFuzzer.AttValue.value) |
8187 | 0 | } |
8188 | 0 | inline void AttValue::set_value(int index, const char* value, size_t size) { |
8189 | 0 | _impl_.value_.Mutable(index)->assign( |
8190 | 0 | reinterpret_cast<const char*>(value), size); |
8191 | 0 | // @@protoc_insertion_point(field_set_pointer:xmlProtoFuzzer.AttValue.value) |
8192 | 0 | } |
8193 | 0 | inline std::string* AttValue::_internal_add_value() { |
8194 | 0 | return _impl_.value_.Add(); |
8195 | 0 | } |
8196 | 0 | inline void AttValue::add_value(const std::string& value) { |
8197 | 0 | _impl_.value_.Add()->assign(value); |
8198 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.AttValue.value) |
8199 | 0 | } |
8200 | 0 | inline void AttValue::add_value(std::string&& value) { |
8201 | 0 | _impl_.value_.Add(std::move(value)); |
8202 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.AttValue.value) |
8203 | 0 | } |
8204 | 0 | inline void AttValue::add_value(const char* value) { |
8205 | 0 | GOOGLE_DCHECK(value != nullptr); |
8206 | 0 | _impl_.value_.Add()->assign(value); |
8207 | 0 | // @@protoc_insertion_point(field_add_char:xmlProtoFuzzer.AttValue.value) |
8208 | 0 | } |
8209 | 0 | inline void AttValue::add_value(const char* value, size_t size) { |
8210 | 0 | _impl_.value_.Add()->assign(reinterpret_cast<const char*>(value), size); |
8211 | 0 | // @@protoc_insertion_point(field_add_pointer:xmlProtoFuzzer.AttValue.value) |
8212 | 0 | } |
8213 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
8214 | 2.83k | AttValue::value() const { |
8215 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.AttValue.value) |
8216 | 2.83k | return _impl_.value_; |
8217 | 2.83k | } |
8218 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
8219 | 0 | AttValue::mutable_value() { |
8220 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.AttValue.value) |
8221 | 0 | return &_impl_.value_; |
8222 | 0 | } |
8223 | | |
8224 | | // ------------------------------------------------------------------- |
8225 | | |
8226 | | // DefaultDecl |
8227 | | |
8228 | | // .xmlProtoFuzzer.DefaultDecl.Type type = 1; |
8229 | 0 | inline void DefaultDecl::clear_type() { |
8230 | 0 | _impl_.type_ = 0; |
8231 | 0 | } |
8232 | 37.3k | inline ::xmlProtoFuzzer::DefaultDecl_Type DefaultDecl::_internal_type() const { |
8233 | 37.3k | return static_cast< ::xmlProtoFuzzer::DefaultDecl_Type >(_impl_.type_); |
8234 | 37.3k | } |
8235 | 37.3k | inline ::xmlProtoFuzzer::DefaultDecl_Type DefaultDecl::type() const { |
8236 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.DefaultDecl.type) |
8237 | 37.3k | return _internal_type(); |
8238 | 37.3k | } |
8239 | 0 | inline void DefaultDecl::_internal_set_type(::xmlProtoFuzzer::DefaultDecl_Type value) { |
8240 | | |
8241 | 0 | _impl_.type_ = value; |
8242 | 0 | } |
8243 | 0 | inline void DefaultDecl::set_type(::xmlProtoFuzzer::DefaultDecl_Type value) { |
8244 | 0 | _internal_set_type(value); |
8245 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.DefaultDecl.type) |
8246 | 0 | } |
8247 | | |
8248 | | // .xmlProtoFuzzer.AttValue att = 2; |
8249 | 0 | inline bool DefaultDecl::_internal_has_att() const { |
8250 | 0 | return this != internal_default_instance() && _impl_.att_ != nullptr; |
8251 | 0 | } |
8252 | 0 | inline bool DefaultDecl::has_att() const { |
8253 | 0 | return _internal_has_att(); |
8254 | 0 | } |
8255 | 0 | inline void DefaultDecl::clear_att() { |
8256 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.att_ != nullptr) { |
8257 | 0 | delete _impl_.att_; |
8258 | 0 | } |
8259 | 0 | _impl_.att_ = nullptr; |
8260 | 0 | } |
8261 | 3.16k | inline const ::xmlProtoFuzzer::AttValue& DefaultDecl::_internal_att() const { |
8262 | 3.16k | const ::xmlProtoFuzzer::AttValue* p = _impl_.att_; |
8263 | 3.16k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::AttValue&>( |
8264 | 860 | ::xmlProtoFuzzer::_AttValue_default_instance_); |
8265 | 3.16k | } |
8266 | 3.16k | inline const ::xmlProtoFuzzer::AttValue& DefaultDecl::att() const { |
8267 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.DefaultDecl.att) |
8268 | 3.16k | return _internal_att(); |
8269 | 3.16k | } |
8270 | | inline void DefaultDecl::unsafe_arena_set_allocated_att( |
8271 | 0 | ::xmlProtoFuzzer::AttValue* att) { |
8272 | 0 | if (GetArenaForAllocation() == nullptr) { |
8273 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.att_); |
8274 | 0 | } |
8275 | 0 | _impl_.att_ = att; |
8276 | 0 | if (att) { |
8277 | 0 | |
8278 | 0 | } else { |
8279 | 0 | |
8280 | 0 | } |
8281 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.DefaultDecl.att) |
8282 | 0 | } |
8283 | 0 | inline ::xmlProtoFuzzer::AttValue* DefaultDecl::release_att() { |
8284 | 0 | |
8285 | 0 | ::xmlProtoFuzzer::AttValue* temp = _impl_.att_; |
8286 | 0 | _impl_.att_ = nullptr; |
8287 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
8288 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
8289 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
8290 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
8291 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
8292 | 0 | if (GetArenaForAllocation() != nullptr) { |
8293 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
8294 | 0 | } |
8295 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
8296 | 0 | return temp; |
8297 | 0 | } |
8298 | 0 | inline ::xmlProtoFuzzer::AttValue* DefaultDecl::unsafe_arena_release_att() { |
8299 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.DefaultDecl.att) |
8300 | 0 | |
8301 | 0 | ::xmlProtoFuzzer::AttValue* temp = _impl_.att_; |
8302 | 0 | _impl_.att_ = nullptr; |
8303 | 0 | return temp; |
8304 | 0 | } |
8305 | 0 | inline ::xmlProtoFuzzer::AttValue* DefaultDecl::_internal_mutable_att() { |
8306 | | |
8307 | 0 | if (_impl_.att_ == nullptr) { |
8308 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::AttValue>(GetArenaForAllocation()); |
8309 | 0 | _impl_.att_ = p; |
8310 | 0 | } |
8311 | 0 | return _impl_.att_; |
8312 | 0 | } |
8313 | 0 | inline ::xmlProtoFuzzer::AttValue* DefaultDecl::mutable_att() { |
8314 | 0 | ::xmlProtoFuzzer::AttValue* _msg = _internal_mutable_att(); |
8315 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.DefaultDecl.att) |
8316 | 0 | return _msg; |
8317 | 0 | } |
8318 | 0 | inline void DefaultDecl::set_allocated_att(::xmlProtoFuzzer::AttValue* att) { |
8319 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8320 | 0 | if (message_arena == nullptr) { |
8321 | 0 | delete _impl_.att_; |
8322 | 0 | } |
8323 | 0 | if (att) { |
8324 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8325 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(att); |
8326 | 0 | if (message_arena != submessage_arena) { |
8327 | 0 | att = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8328 | 0 | message_arena, att, submessage_arena); |
8329 | 0 | } |
8330 | 0 | |
8331 | 0 | } else { |
8332 | 0 | |
8333 | 0 | } |
8334 | 0 | _impl_.att_ = att; |
8335 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.DefaultDecl.att) |
8336 | 0 | } |
8337 | | |
8338 | | // ------------------------------------------------------------------- |
8339 | | |
8340 | | // AttDef |
8341 | | |
8342 | | // string name = 1; |
8343 | 0 | inline void AttDef::clear_name() { |
8344 | 0 | _impl_.name_.ClearToEmpty(); |
8345 | 0 | } |
8346 | 18.7k | inline const std::string& AttDef::name() const { |
8347 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttDef.name) |
8348 | 18.7k | return _internal_name(); |
8349 | 18.7k | } |
8350 | | template <typename ArgT0, typename... ArgT> |
8351 | | inline PROTOBUF_ALWAYS_INLINE |
8352 | | void AttDef::set_name(ArgT0&& arg0, ArgT... args) { |
8353 | | |
8354 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
8355 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttDef.name) |
8356 | | } |
8357 | 0 | inline std::string* AttDef::mutable_name() { |
8358 | 0 | std::string* _s = _internal_mutable_name(); |
8359 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttDef.name) |
8360 | 0 | return _s; |
8361 | 0 | } |
8362 | 18.7k | inline const std::string& AttDef::_internal_name() const { |
8363 | 18.7k | return _impl_.name_.Get(); |
8364 | 18.7k | } |
8365 | 0 | inline void AttDef::_internal_set_name(const std::string& value) { |
8366 | | |
8367 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
8368 | 0 | } |
8369 | 0 | inline std::string* AttDef::_internal_mutable_name() { |
8370 | | |
8371 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
8372 | 0 | } |
8373 | 0 | inline std::string* AttDef::release_name() { |
8374 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.AttDef.name) |
8375 | 0 | return _impl_.name_.Release(); |
8376 | 0 | } |
8377 | 0 | inline void AttDef::set_allocated_name(std::string* name) { |
8378 | 0 | if (name != nullptr) { |
8379 | 0 | |
8380 | 0 | } else { |
8381 | 0 | |
8382 | 0 | } |
8383 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
8384 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8385 | 0 | if (_impl_.name_.IsDefault()) { |
8386 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
8387 | 0 | } |
8388 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8389 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.AttDef.name) |
8390 | 0 | } |
8391 | | |
8392 | | // .xmlProtoFuzzer.AttDef.Type type = 2; |
8393 | 0 | inline void AttDef::clear_type() { |
8394 | 0 | _impl_.type_ = 0; |
8395 | 0 | } |
8396 | 37.6k | inline ::xmlProtoFuzzer::AttDef_Type AttDef::_internal_type() const { |
8397 | 37.6k | return static_cast< ::xmlProtoFuzzer::AttDef_Type >(_impl_.type_); |
8398 | 37.6k | } |
8399 | 37.6k | inline ::xmlProtoFuzzer::AttDef_Type AttDef::type() const { |
8400 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttDef.type) |
8401 | 37.6k | return _internal_type(); |
8402 | 37.6k | } |
8403 | 0 | inline void AttDef::_internal_set_type(::xmlProtoFuzzer::AttDef_Type value) { |
8404 | | |
8405 | 0 | _impl_.type_ = value; |
8406 | 0 | } |
8407 | 0 | inline void AttDef::set_type(::xmlProtoFuzzer::AttDef_Type value) { |
8408 | 0 | _internal_set_type(value); |
8409 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttDef.type) |
8410 | 0 | } |
8411 | | |
8412 | | // .xmlProtoFuzzer.DefaultDecl def = 3; |
8413 | 0 | inline bool AttDef::_internal_has_def() const { |
8414 | 0 | return this != internal_default_instance() && _impl_.def_ != nullptr; |
8415 | 0 | } |
8416 | 0 | inline bool AttDef::has_def() const { |
8417 | 0 | return _internal_has_def(); |
8418 | 0 | } |
8419 | 0 | inline void AttDef::clear_def() { |
8420 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.def_ != nullptr) { |
8421 | 0 | delete _impl_.def_; |
8422 | 0 | } |
8423 | 0 | _impl_.def_ = nullptr; |
8424 | 0 | } |
8425 | 18.7k | inline const ::xmlProtoFuzzer::DefaultDecl& AttDef::_internal_def() const { |
8426 | 18.7k | const ::xmlProtoFuzzer::DefaultDecl* p = _impl_.def_; |
8427 | 18.7k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::DefaultDecl&>( |
8428 | 14.3k | ::xmlProtoFuzzer::_DefaultDecl_default_instance_); |
8429 | 18.7k | } |
8430 | 18.7k | inline const ::xmlProtoFuzzer::DefaultDecl& AttDef::def() const { |
8431 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttDef.def) |
8432 | 18.7k | return _internal_def(); |
8433 | 18.7k | } |
8434 | | inline void AttDef::unsafe_arena_set_allocated_def( |
8435 | 0 | ::xmlProtoFuzzer::DefaultDecl* def) { |
8436 | 0 | if (GetArenaForAllocation() == nullptr) { |
8437 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.def_); |
8438 | 0 | } |
8439 | 0 | _impl_.def_ = def; |
8440 | 0 | if (def) { |
8441 | 0 | |
8442 | 0 | } else { |
8443 | 0 | |
8444 | 0 | } |
8445 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.AttDef.def) |
8446 | 0 | } |
8447 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttDef::release_def() { |
8448 | 0 | |
8449 | 0 | ::xmlProtoFuzzer::DefaultDecl* temp = _impl_.def_; |
8450 | 0 | _impl_.def_ = nullptr; |
8451 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
8452 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
8453 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
8454 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
8455 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
8456 | 0 | if (GetArenaForAllocation() != nullptr) { |
8457 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
8458 | 0 | } |
8459 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
8460 | 0 | return temp; |
8461 | 0 | } |
8462 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttDef::unsafe_arena_release_def() { |
8463 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.AttDef.def) |
8464 | 0 | |
8465 | 0 | ::xmlProtoFuzzer::DefaultDecl* temp = _impl_.def_; |
8466 | 0 | _impl_.def_ = nullptr; |
8467 | 0 | return temp; |
8468 | 0 | } |
8469 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttDef::_internal_mutable_def() { |
8470 | | |
8471 | 0 | if (_impl_.def_ == nullptr) { |
8472 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::DefaultDecl>(GetArenaForAllocation()); |
8473 | 0 | _impl_.def_ = p; |
8474 | 0 | } |
8475 | 0 | return _impl_.def_; |
8476 | 0 | } |
8477 | 0 | inline ::xmlProtoFuzzer::DefaultDecl* AttDef::mutable_def() { |
8478 | 0 | ::xmlProtoFuzzer::DefaultDecl* _msg = _internal_mutable_def(); |
8479 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttDef.def) |
8480 | 0 | return _msg; |
8481 | 0 | } |
8482 | 0 | inline void AttDef::set_allocated_def(::xmlProtoFuzzer::DefaultDecl* def) { |
8483 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
8484 | 0 | if (message_arena == nullptr) { |
8485 | 0 | delete _impl_.def_; |
8486 | 0 | } |
8487 | 0 | if (def) { |
8488 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
8489 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(def); |
8490 | 0 | if (message_arena != submessage_arena) { |
8491 | 0 | def = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
8492 | 0 | message_arena, def, submessage_arena); |
8493 | 0 | } |
8494 | 0 | |
8495 | 0 | } else { |
8496 | 0 | |
8497 | 0 | } |
8498 | 0 | _impl_.def_ = def; |
8499 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.AttDef.def) |
8500 | 0 | } |
8501 | | |
8502 | | // ------------------------------------------------------------------- |
8503 | | |
8504 | | // AttListDecl |
8505 | | |
8506 | | // string name = 1; |
8507 | 0 | inline void AttListDecl::clear_name() { |
8508 | 0 | _impl_.name_.ClearToEmpty(); |
8509 | 0 | } |
8510 | 3.81k | inline const std::string& AttListDecl::name() const { |
8511 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttListDecl.name) |
8512 | 3.81k | return _internal_name(); |
8513 | 3.81k | } |
8514 | | template <typename ArgT0, typename... ArgT> |
8515 | | inline PROTOBUF_ALWAYS_INLINE |
8516 | | void AttListDecl::set_name(ArgT0&& arg0, ArgT... args) { |
8517 | | |
8518 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
8519 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.AttListDecl.name) |
8520 | | } |
8521 | 0 | inline std::string* AttListDecl::mutable_name() { |
8522 | 0 | std::string* _s = _internal_mutable_name(); |
8523 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttListDecl.name) |
8524 | 0 | return _s; |
8525 | 0 | } |
8526 | 3.81k | inline const std::string& AttListDecl::_internal_name() const { |
8527 | 3.81k | return _impl_.name_.Get(); |
8528 | 3.81k | } |
8529 | 0 | inline void AttListDecl::_internal_set_name(const std::string& value) { |
8530 | | |
8531 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
8532 | 0 | } |
8533 | 0 | inline std::string* AttListDecl::_internal_mutable_name() { |
8534 | | |
8535 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
8536 | 0 | } |
8537 | 0 | inline std::string* AttListDecl::release_name() { |
8538 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.AttListDecl.name) |
8539 | 0 | return _impl_.name_.Release(); |
8540 | 0 | } |
8541 | 0 | inline void AttListDecl::set_allocated_name(std::string* name) { |
8542 | 0 | if (name != nullptr) { |
8543 | 0 | |
8544 | 0 | } else { |
8545 | 0 | |
8546 | 0 | } |
8547 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
8548 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8549 | 0 | if (_impl_.name_.IsDefault()) { |
8550 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
8551 | 0 | } |
8552 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8553 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.AttListDecl.name) |
8554 | 0 | } |
8555 | | |
8556 | | // repeated .xmlProtoFuzzer.AttDef attdefs = 2; |
8557 | 0 | inline int AttListDecl::_internal_attdefs_size() const { |
8558 | 0 | return _impl_.attdefs_.size(); |
8559 | 0 | } |
8560 | 0 | inline int AttListDecl::attdefs_size() const { |
8561 | 0 | return _internal_attdefs_size(); |
8562 | 0 | } |
8563 | 0 | inline void AttListDecl::clear_attdefs() { |
8564 | 0 | _impl_.attdefs_.Clear(); |
8565 | 0 | } |
8566 | 0 | inline ::xmlProtoFuzzer::AttDef* AttListDecl::mutable_attdefs(int index) { |
8567 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.AttListDecl.attdefs) |
8568 | 0 | return _impl_.attdefs_.Mutable(index); |
8569 | 0 | } |
8570 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::AttDef >* |
8571 | 0 | AttListDecl::mutable_attdefs() { |
8572 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.AttListDecl.attdefs) |
8573 | 0 | return &_impl_.attdefs_; |
8574 | 0 | } |
8575 | 0 | inline const ::xmlProtoFuzzer::AttDef& AttListDecl::_internal_attdefs(int index) const { |
8576 | 0 | return _impl_.attdefs_.Get(index); |
8577 | 0 | } |
8578 | 0 | inline const ::xmlProtoFuzzer::AttDef& AttListDecl::attdefs(int index) const { |
8579 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.AttListDecl.attdefs) |
8580 | 0 | return _internal_attdefs(index); |
8581 | 0 | } |
8582 | 0 | inline ::xmlProtoFuzzer::AttDef* AttListDecl::_internal_add_attdefs() { |
8583 | 0 | return _impl_.attdefs_.Add(); |
8584 | 0 | } |
8585 | 0 | inline ::xmlProtoFuzzer::AttDef* AttListDecl::add_attdefs() { |
8586 | 0 | ::xmlProtoFuzzer::AttDef* _add = _internal_add_attdefs(); |
8587 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.AttListDecl.attdefs) |
8588 | 0 | return _add; |
8589 | 0 | } |
8590 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::AttDef >& |
8591 | 3.81k | AttListDecl::attdefs() const { |
8592 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.AttListDecl.attdefs) |
8593 | 3.81k | return _impl_.attdefs_; |
8594 | 3.81k | } |
8595 | | |
8596 | | // ------------------------------------------------------------------- |
8597 | | |
8598 | | // NotationDecl |
8599 | | |
8600 | | // string name = 1; |
8601 | 0 | inline void NotationDecl::clear_name() { |
8602 | 0 | _impl_.name_.ClearToEmpty(); |
8603 | 0 | } |
8604 | 5.15k | inline const std::string& NotationDecl::name() const { |
8605 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.NotationDecl.name) |
8606 | 5.15k | return _internal_name(); |
8607 | 5.15k | } |
8608 | | template <typename ArgT0, typename... ArgT> |
8609 | | inline PROTOBUF_ALWAYS_INLINE |
8610 | | void NotationDecl::set_name(ArgT0&& arg0, ArgT... args) { |
8611 | | |
8612 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
8613 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.NotationDecl.name) |
8614 | | } |
8615 | 0 | inline std::string* NotationDecl::mutable_name() { |
8616 | 0 | std::string* _s = _internal_mutable_name(); |
8617 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.NotationDecl.name) |
8618 | 0 | return _s; |
8619 | 0 | } |
8620 | 5.15k | inline const std::string& NotationDecl::_internal_name() const { |
8621 | 5.15k | return _impl_.name_.Get(); |
8622 | 5.15k | } |
8623 | 0 | inline void NotationDecl::_internal_set_name(const std::string& value) { |
8624 | | |
8625 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
8626 | 0 | } |
8627 | 0 | inline std::string* NotationDecl::_internal_mutable_name() { |
8628 | | |
8629 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
8630 | 0 | } |
8631 | 0 | inline std::string* NotationDecl::release_name() { |
8632 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.NotationDecl.name) |
8633 | 0 | return _impl_.name_.Release(); |
8634 | 0 | } |
8635 | 0 | inline void NotationDecl::set_allocated_name(std::string* name) { |
8636 | 0 | if (name != nullptr) { |
8637 | 0 | |
8638 | 0 | } else { |
8639 | 0 | |
8640 | 0 | } |
8641 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
8642 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8643 | 0 | if (_impl_.name_.IsDefault()) { |
8644 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
8645 | 0 | } |
8646 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
8647 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.NotationDecl.name) |
8648 | 0 | } |
8649 | | |
8650 | | // .xmlProtoFuzzer.ExternalId ext = 2; |
8651 | 1.05k | inline bool NotationDecl::_internal_has_ext() const { |
8652 | 1.05k | return notation_oneof_case() == kExt; |
8653 | 1.05k | } |
8654 | 0 | inline bool NotationDecl::has_ext() const { |
8655 | 0 | return _internal_has_ext(); |
8656 | 0 | } |
8657 | 0 | inline void NotationDecl::set_has_ext() { |
8658 | 0 | _impl_._oneof_case_[0] = kExt; |
8659 | 0 | } |
8660 | 0 | inline void NotationDecl::clear_ext() { |
8661 | 0 | if (_internal_has_ext()) { |
8662 | 0 | if (GetArenaForAllocation() == nullptr) { |
8663 | 0 | delete _impl_.notation_oneof_.ext_; |
8664 | 0 | } |
8665 | 0 | clear_has_notation_oneof(); |
8666 | 0 | } |
8667 | 0 | } |
8668 | 0 | inline ::xmlProtoFuzzer::ExternalId* NotationDecl::release_ext() { |
8669 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.NotationDecl.ext) |
8670 | 0 | if (_internal_has_ext()) { |
8671 | 0 | clear_has_notation_oneof(); |
8672 | 0 | ::xmlProtoFuzzer::ExternalId* temp = _impl_.notation_oneof_.ext_; |
8673 | 0 | if (GetArenaForAllocation() != nullptr) { |
8674 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
8675 | 0 | } |
8676 | 0 | _impl_.notation_oneof_.ext_ = nullptr; |
8677 | 0 | return temp; |
8678 | 0 | } else { |
8679 | 0 | return nullptr; |
8680 | 0 | } |
8681 | 0 | } |
8682 | 1.05k | inline const ::xmlProtoFuzzer::ExternalId& NotationDecl::_internal_ext() const { |
8683 | 1.05k | return _internal_has_ext() |
8684 | 1.05k | ? *_impl_.notation_oneof_.ext_ |
8685 | 1.05k | : reinterpret_cast< ::xmlProtoFuzzer::ExternalId&>(::xmlProtoFuzzer::_ExternalId_default_instance_); |
8686 | 1.05k | } |
8687 | 1.05k | inline const ::xmlProtoFuzzer::ExternalId& NotationDecl::ext() const { |
8688 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.NotationDecl.ext) |
8689 | 1.05k | return _internal_ext(); |
8690 | 1.05k | } |
8691 | 0 | inline ::xmlProtoFuzzer::ExternalId* NotationDecl::unsafe_arena_release_ext() { |
8692 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.NotationDecl.ext) |
8693 | 0 | if (_internal_has_ext()) { |
8694 | 0 | clear_has_notation_oneof(); |
8695 | 0 | ::xmlProtoFuzzer::ExternalId* temp = _impl_.notation_oneof_.ext_; |
8696 | 0 | _impl_.notation_oneof_.ext_ = nullptr; |
8697 | 0 | return temp; |
8698 | 0 | } else { |
8699 | 0 | return nullptr; |
8700 | 0 | } |
8701 | 0 | } |
8702 | 0 | inline void NotationDecl::unsafe_arena_set_allocated_ext(::xmlProtoFuzzer::ExternalId* ext) { |
8703 | 0 | clear_notation_oneof(); |
8704 | 0 | if (ext) { |
8705 | 0 | set_has_ext(); |
8706 | 0 | _impl_.notation_oneof_.ext_ = ext; |
8707 | 0 | } |
8708 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.NotationDecl.ext) |
8709 | 0 | } |
8710 | 0 | inline ::xmlProtoFuzzer::ExternalId* NotationDecl::_internal_mutable_ext() { |
8711 | 0 | if (!_internal_has_ext()) { |
8712 | 0 | clear_notation_oneof(); |
8713 | 0 | set_has_ext(); |
8714 | 0 | _impl_.notation_oneof_.ext_ = CreateMaybeMessage< ::xmlProtoFuzzer::ExternalId >(GetArenaForAllocation()); |
8715 | 0 | } |
8716 | 0 | return _impl_.notation_oneof_.ext_; |
8717 | 0 | } |
8718 | 0 | inline ::xmlProtoFuzzer::ExternalId* NotationDecl::mutable_ext() { |
8719 | 0 | ::xmlProtoFuzzer::ExternalId* _msg = _internal_mutable_ext(); |
8720 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.NotationDecl.ext) |
8721 | 0 | return _msg; |
8722 | 0 | } |
8723 | | |
8724 | | // string pub = 3; |
8725 | 2.72k | inline bool NotationDecl::_internal_has_pub() const { |
8726 | 2.72k | return notation_oneof_case() == kPub; |
8727 | 2.72k | } |
8728 | 0 | inline bool NotationDecl::has_pub() const { |
8729 | 0 | return _internal_has_pub(); |
8730 | 0 | } |
8731 | 0 | inline void NotationDecl::set_has_pub() { |
8732 | 0 | _impl_._oneof_case_[0] = kPub; |
8733 | 0 | } |
8734 | 0 | inline void NotationDecl::clear_pub() { |
8735 | 0 | if (_internal_has_pub()) { |
8736 | 0 | _impl_.notation_oneof_.pub_.Destroy(); |
8737 | 0 | clear_has_notation_oneof(); |
8738 | 0 | } |
8739 | 0 | } |
8740 | 2.72k | inline const std::string& NotationDecl::pub() const { |
8741 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.NotationDecl.pub) |
8742 | 2.72k | return _internal_pub(); |
8743 | 2.72k | } |
8744 | | template <typename ArgT0, typename... ArgT> |
8745 | | inline void NotationDecl::set_pub(ArgT0&& arg0, ArgT... args) { |
8746 | | if (!_internal_has_pub()) { |
8747 | | clear_notation_oneof(); |
8748 | | set_has_pub(); |
8749 | | _impl_.notation_oneof_.pub_.InitDefault(); |
8750 | | } |
8751 | | _impl_.notation_oneof_.pub_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
8752 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.NotationDecl.pub) |
8753 | | } |
8754 | 0 | inline std::string* NotationDecl::mutable_pub() { |
8755 | 0 | std::string* _s = _internal_mutable_pub(); |
8756 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.NotationDecl.pub) |
8757 | 0 | return _s; |
8758 | 0 | } |
8759 | 2.72k | inline const std::string& NotationDecl::_internal_pub() const { |
8760 | 2.72k | if (_internal_has_pub()) { |
8761 | 2.72k | return _impl_.notation_oneof_.pub_.Get(); |
8762 | 2.72k | } |
8763 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); |
8764 | 2.72k | } |
8765 | 0 | inline void NotationDecl::_internal_set_pub(const std::string& value) { |
8766 | 0 | if (!_internal_has_pub()) { |
8767 | 0 | clear_notation_oneof(); |
8768 | 0 | set_has_pub(); |
8769 | 0 | _impl_.notation_oneof_.pub_.InitDefault(); |
8770 | 0 | } |
8771 | 0 | _impl_.notation_oneof_.pub_.Set(value, GetArenaForAllocation()); |
8772 | 0 | } |
8773 | 0 | inline std::string* NotationDecl::_internal_mutable_pub() { |
8774 | 0 | if (!_internal_has_pub()) { |
8775 | 0 | clear_notation_oneof(); |
8776 | 0 | set_has_pub(); |
8777 | 0 | _impl_.notation_oneof_.pub_.InitDefault(); |
8778 | 0 | } |
8779 | 0 | return _impl_.notation_oneof_.pub_.Mutable( GetArenaForAllocation()); |
8780 | 0 | } |
8781 | 0 | inline std::string* NotationDecl::release_pub() { |
8782 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.NotationDecl.pub) |
8783 | 0 | if (_internal_has_pub()) { |
8784 | 0 | clear_has_notation_oneof(); |
8785 | 0 | return _impl_.notation_oneof_.pub_.Release(); |
8786 | 0 | } else { |
8787 | 0 | return nullptr; |
8788 | 0 | } |
8789 | 0 | } |
8790 | 0 | inline void NotationDecl::set_allocated_pub(std::string* pub) { |
8791 | 0 | if (has_notation_oneof()) { |
8792 | 0 | clear_notation_oneof(); |
8793 | 0 | } |
8794 | 0 | if (pub != nullptr) { |
8795 | 0 | set_has_pub(); |
8796 | 0 | _impl_.notation_oneof_.pub_.InitAllocated(pub, GetArenaForAllocation()); |
8797 | 0 | } |
8798 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.NotationDecl.pub) |
8799 | 0 | } |
8800 | | |
8801 | | // string fuzz = 4; |
8802 | 661 | inline bool NotationDecl::_internal_has_fuzz() const { |
8803 | 661 | return notation_oneof_case() == kFuzz; |
8804 | 661 | } |
8805 | 0 | inline bool NotationDecl::has_fuzz() const { |
8806 | 0 | return _internal_has_fuzz(); |
8807 | 0 | } |
8808 | 0 | inline void NotationDecl::set_has_fuzz() { |
8809 | 0 | _impl_._oneof_case_[0] = kFuzz; |
8810 | 0 | } |
8811 | 0 | inline void NotationDecl::clear_fuzz() { |
8812 | 0 | if (_internal_has_fuzz()) { |
8813 | 0 | _impl_.notation_oneof_.fuzz_.Destroy(); |
8814 | 0 | clear_has_notation_oneof(); |
8815 | 0 | } |
8816 | 0 | } |
8817 | 661 | inline const std::string& NotationDecl::fuzz() const { |
8818 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.NotationDecl.fuzz) |
8819 | 661 | return _internal_fuzz(); |
8820 | 661 | } |
8821 | | template <typename ArgT0, typename... ArgT> |
8822 | | inline void NotationDecl::set_fuzz(ArgT0&& arg0, ArgT... args) { |
8823 | | if (!_internal_has_fuzz()) { |
8824 | | clear_notation_oneof(); |
8825 | | set_has_fuzz(); |
8826 | | _impl_.notation_oneof_.fuzz_.InitDefault(); |
8827 | | } |
8828 | | _impl_.notation_oneof_.fuzz_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
8829 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.NotationDecl.fuzz) |
8830 | | } |
8831 | 0 | inline std::string* NotationDecl::mutable_fuzz() { |
8832 | 0 | std::string* _s = _internal_mutable_fuzz(); |
8833 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.NotationDecl.fuzz) |
8834 | 0 | return _s; |
8835 | 0 | } |
8836 | 661 | inline const std::string& NotationDecl::_internal_fuzz() const { |
8837 | 661 | if (_internal_has_fuzz()) { |
8838 | 661 | return _impl_.notation_oneof_.fuzz_.Get(); |
8839 | 661 | } |
8840 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); |
8841 | 661 | } |
8842 | 0 | inline void NotationDecl::_internal_set_fuzz(const std::string& value) { |
8843 | 0 | if (!_internal_has_fuzz()) { |
8844 | 0 | clear_notation_oneof(); |
8845 | 0 | set_has_fuzz(); |
8846 | 0 | _impl_.notation_oneof_.fuzz_.InitDefault(); |
8847 | 0 | } |
8848 | 0 | _impl_.notation_oneof_.fuzz_.Set(value, GetArenaForAllocation()); |
8849 | 0 | } |
8850 | 0 | inline std::string* NotationDecl::_internal_mutable_fuzz() { |
8851 | 0 | if (!_internal_has_fuzz()) { |
8852 | 0 | clear_notation_oneof(); |
8853 | 0 | set_has_fuzz(); |
8854 | 0 | _impl_.notation_oneof_.fuzz_.InitDefault(); |
8855 | 0 | } |
8856 | 0 | return _impl_.notation_oneof_.fuzz_.Mutable( GetArenaForAllocation()); |
8857 | 0 | } |
8858 | 0 | inline std::string* NotationDecl::release_fuzz() { |
8859 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.NotationDecl.fuzz) |
8860 | 0 | if (_internal_has_fuzz()) { |
8861 | 0 | clear_has_notation_oneof(); |
8862 | 0 | return _impl_.notation_oneof_.fuzz_.Release(); |
8863 | 0 | } else { |
8864 | 0 | return nullptr; |
8865 | 0 | } |
8866 | 0 | } |
8867 | 0 | inline void NotationDecl::set_allocated_fuzz(std::string* fuzz) { |
8868 | 0 | if (has_notation_oneof()) { |
8869 | 0 | clear_notation_oneof(); |
8870 | 0 | } |
8871 | 0 | if (fuzz != nullptr) { |
8872 | 0 | set_has_fuzz(); |
8873 | 0 | _impl_.notation_oneof_.fuzz_.InitAllocated(fuzz, GetArenaForAllocation()); |
8874 | 0 | } |
8875 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.NotationDecl.fuzz) |
8876 | 0 | } |
8877 | | |
8878 | 5.63k | inline bool NotationDecl::has_notation_oneof() const { |
8879 | 5.63k | return notation_oneof_case() != NOTATION_ONEOF_NOT_SET; |
8880 | 5.63k | } |
8881 | 5.63k | inline void NotationDecl::clear_has_notation_oneof() { |
8882 | 5.63k | _impl_._oneof_case_[0] = NOTATION_ONEOF_NOT_SET; |
8883 | 5.63k | } |
8884 | 19.7k | inline NotationDecl::NotationOneofCase NotationDecl::notation_oneof_case() const { |
8885 | 19.7k | return NotationDecl::NotationOneofCase(_impl_._oneof_case_[0]); |
8886 | 19.7k | } |
8887 | | // ------------------------------------------------------------------- |
8888 | | |
8889 | | // EntityValue |
8890 | | |
8891 | | // .xmlProtoFuzzer.EntityValue.Type type = 1; |
8892 | 0 | inline void EntityValue::clear_type() { |
8893 | 0 | _impl_.type_ = 0; |
8894 | 0 | } |
8895 | 11.8k | inline ::xmlProtoFuzzer::EntityValue_Type EntityValue::_internal_type() const { |
8896 | 11.8k | return static_cast< ::xmlProtoFuzzer::EntityValue_Type >(_impl_.type_); |
8897 | 11.8k | } |
8898 | 8.32k | inline ::xmlProtoFuzzer::EntityValue_Type EntityValue::type() const { |
8899 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityValue.type) |
8900 | 8.32k | return _internal_type(); |
8901 | 8.32k | } |
8902 | 0 | inline void EntityValue::_internal_set_type(::xmlProtoFuzzer::EntityValue_Type value) { |
8903 | | |
8904 | 0 | _impl_.type_ = value; |
8905 | 0 | } |
8906 | 0 | inline void EntityValue::set_type(::xmlProtoFuzzer::EntityValue_Type value) { |
8907 | 0 | _internal_set_type(value); |
8908 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.EntityValue.type) |
8909 | 0 | } |
8910 | | |
8911 | | // repeated string name = 2; |
8912 | 0 | inline int EntityValue::_internal_name_size() const { |
8913 | 0 | return _impl_.name_.size(); |
8914 | 0 | } |
8915 | 0 | inline int EntityValue::name_size() const { |
8916 | 0 | return _internal_name_size(); |
8917 | 0 | } |
8918 | 0 | inline void EntityValue::clear_name() { |
8919 | 0 | _impl_.name_.Clear(); |
8920 | 0 | } |
8921 | 0 | inline std::string* EntityValue::add_name() { |
8922 | 0 | std::string* _s = _internal_add_name(); |
8923 | 0 | // @@protoc_insertion_point(field_add_mutable:xmlProtoFuzzer.EntityValue.name) |
8924 | 0 | return _s; |
8925 | 0 | } |
8926 | 0 | inline const std::string& EntityValue::_internal_name(int index) const { |
8927 | 0 | return _impl_.name_.Get(index); |
8928 | 0 | } |
8929 | 0 | inline const std::string& EntityValue::name(int index) const { |
8930 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityValue.name) |
8931 | 0 | return _internal_name(index); |
8932 | 0 | } |
8933 | 0 | inline std::string* EntityValue::mutable_name(int index) { |
8934 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EntityValue.name) |
8935 | 0 | return _impl_.name_.Mutable(index); |
8936 | 0 | } |
8937 | 0 | inline void EntityValue::set_name(int index, const std::string& value) { |
8938 | 0 | _impl_.name_.Mutable(index)->assign(value); |
8939 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.EntityValue.name) |
8940 | 0 | } |
8941 | 0 | inline void EntityValue::set_name(int index, std::string&& value) { |
8942 | 0 | _impl_.name_.Mutable(index)->assign(std::move(value)); |
8943 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.EntityValue.name) |
8944 | 0 | } |
8945 | 0 | inline void EntityValue::set_name(int index, const char* value) { |
8946 | 0 | GOOGLE_DCHECK(value != nullptr); |
8947 | 0 | _impl_.name_.Mutable(index)->assign(value); |
8948 | 0 | // @@protoc_insertion_point(field_set_char:xmlProtoFuzzer.EntityValue.name) |
8949 | 0 | } |
8950 | 0 | inline void EntityValue::set_name(int index, const char* value, size_t size) { |
8951 | 0 | _impl_.name_.Mutable(index)->assign( |
8952 | 0 | reinterpret_cast<const char*>(value), size); |
8953 | 0 | // @@protoc_insertion_point(field_set_pointer:xmlProtoFuzzer.EntityValue.name) |
8954 | 0 | } |
8955 | 0 | inline std::string* EntityValue::_internal_add_name() { |
8956 | 0 | return _impl_.name_.Add(); |
8957 | 0 | } |
8958 | 0 | inline void EntityValue::add_name(const std::string& value) { |
8959 | 0 | _impl_.name_.Add()->assign(value); |
8960 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.EntityValue.name) |
8961 | 0 | } |
8962 | 0 | inline void EntityValue::add_name(std::string&& value) { |
8963 | 0 | _impl_.name_.Add(std::move(value)); |
8964 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.EntityValue.name) |
8965 | 0 | } |
8966 | 0 | inline void EntityValue::add_name(const char* value) { |
8967 | 0 | GOOGLE_DCHECK(value != nullptr); |
8968 | 0 | _impl_.name_.Add()->assign(value); |
8969 | 0 | // @@protoc_insertion_point(field_add_char:xmlProtoFuzzer.EntityValue.name) |
8970 | 0 | } |
8971 | 0 | inline void EntityValue::add_name(const char* value, size_t size) { |
8972 | 0 | _impl_.name_.Add()->assign(reinterpret_cast<const char*>(value), size); |
8973 | 0 | // @@protoc_insertion_point(field_add_pointer:xmlProtoFuzzer.EntityValue.name) |
8974 | 0 | } |
8975 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
8976 | 4.12k | EntityValue::name() const { |
8977 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.EntityValue.name) |
8978 | 4.12k | return _impl_.name_; |
8979 | 4.12k | } |
8980 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
8981 | 0 | EntityValue::mutable_name() { |
8982 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.EntityValue.name) |
8983 | 0 | return &_impl_.name_; |
8984 | 0 | } |
8985 | | |
8986 | | // ------------------------------------------------------------------- |
8987 | | |
8988 | | // NDataDecl |
8989 | | |
8990 | | // string name = 1; |
8991 | 0 | inline void NDataDecl::clear_name() { |
8992 | 0 | _impl_.name_.ClearToEmpty(); |
8993 | 0 | } |
8994 | 1.75k | inline const std::string& NDataDecl::name() const { |
8995 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.NDataDecl.name) |
8996 | 1.75k | return _internal_name(); |
8997 | 1.75k | } |
8998 | | template <typename ArgT0, typename... ArgT> |
8999 | | inline PROTOBUF_ALWAYS_INLINE |
9000 | | void NDataDecl::set_name(ArgT0&& arg0, ArgT... args) { |
9001 | | |
9002 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
9003 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.NDataDecl.name) |
9004 | | } |
9005 | 0 | inline std::string* NDataDecl::mutable_name() { |
9006 | 0 | std::string* _s = _internal_mutable_name(); |
9007 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.NDataDecl.name) |
9008 | 0 | return _s; |
9009 | 0 | } |
9010 | 4.06k | inline const std::string& NDataDecl::_internal_name() const { |
9011 | 4.06k | return _impl_.name_.Get(); |
9012 | 4.06k | } |
9013 | 0 | inline void NDataDecl::_internal_set_name(const std::string& value) { |
9014 | | |
9015 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
9016 | 0 | } |
9017 | 0 | inline std::string* NDataDecl::_internal_mutable_name() { |
9018 | | |
9019 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
9020 | 0 | } |
9021 | 0 | inline std::string* NDataDecl::release_name() { |
9022 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.NDataDecl.name) |
9023 | 0 | return _impl_.name_.Release(); |
9024 | 0 | } |
9025 | 0 | inline void NDataDecl::set_allocated_name(std::string* name) { |
9026 | 0 | if (name != nullptr) { |
9027 | 0 | |
9028 | 0 | } else { |
9029 | 0 | |
9030 | 0 | } |
9031 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
9032 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9033 | 0 | if (_impl_.name_.IsDefault()) { |
9034 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
9035 | 0 | } |
9036 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9037 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.NDataDecl.name) |
9038 | 0 | } |
9039 | | |
9040 | | // ------------------------------------------------------------------- |
9041 | | |
9042 | | // EntityDef |
9043 | | |
9044 | | // .xmlProtoFuzzer.ExternalId ext = 1; |
9045 | 4.11k | inline bool EntityDef::_internal_has_ext() const { |
9046 | 4.11k | return entity_oneof_case() == kExt; |
9047 | 4.11k | } |
9048 | 0 | inline bool EntityDef::has_ext() const { |
9049 | 0 | return _internal_has_ext(); |
9050 | 0 | } |
9051 | 0 | inline void EntityDef::set_has_ext() { |
9052 | 0 | _impl_._oneof_case_[0] = kExt; |
9053 | 0 | } |
9054 | 0 | inline void EntityDef::clear_ext() { |
9055 | 0 | if (_internal_has_ext()) { |
9056 | 0 | if (GetArenaForAllocation() == nullptr) { |
9057 | 0 | delete _impl_.entity_oneof_.ext_; |
9058 | 0 | } |
9059 | 0 | clear_has_entity_oneof(); |
9060 | 0 | } |
9061 | 0 | } |
9062 | 0 | inline ::xmlProtoFuzzer::ExternalId* EntityDef::release_ext() { |
9063 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.EntityDef.ext) |
9064 | 0 | if (_internal_has_ext()) { |
9065 | 0 | clear_has_entity_oneof(); |
9066 | 0 | ::xmlProtoFuzzer::ExternalId* temp = _impl_.entity_oneof_.ext_; |
9067 | 0 | if (GetArenaForAllocation() != nullptr) { |
9068 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9069 | 0 | } |
9070 | 0 | _impl_.entity_oneof_.ext_ = nullptr; |
9071 | 0 | return temp; |
9072 | 0 | } else { |
9073 | 0 | return nullptr; |
9074 | 0 | } |
9075 | 0 | } |
9076 | 4.11k | inline const ::xmlProtoFuzzer::ExternalId& EntityDef::_internal_ext() const { |
9077 | 4.11k | return _internal_has_ext() |
9078 | 4.11k | ? *_impl_.entity_oneof_.ext_ |
9079 | 4.11k | : reinterpret_cast< ::xmlProtoFuzzer::ExternalId&>(::xmlProtoFuzzer::_ExternalId_default_instance_); |
9080 | 4.11k | } |
9081 | 4.11k | inline const ::xmlProtoFuzzer::ExternalId& EntityDef::ext() const { |
9082 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityDef.ext) |
9083 | 4.11k | return _internal_ext(); |
9084 | 4.11k | } |
9085 | 0 | inline ::xmlProtoFuzzer::ExternalId* EntityDef::unsafe_arena_release_ext() { |
9086 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.EntityDef.ext) |
9087 | 0 | if (_internal_has_ext()) { |
9088 | 0 | clear_has_entity_oneof(); |
9089 | 0 | ::xmlProtoFuzzer::ExternalId* temp = _impl_.entity_oneof_.ext_; |
9090 | 0 | _impl_.entity_oneof_.ext_ = nullptr; |
9091 | 0 | return temp; |
9092 | 0 | } else { |
9093 | 0 | return nullptr; |
9094 | 0 | } |
9095 | 0 | } |
9096 | 0 | inline void EntityDef::unsafe_arena_set_allocated_ext(::xmlProtoFuzzer::ExternalId* ext) { |
9097 | 0 | clear_entity_oneof(); |
9098 | 0 | if (ext) { |
9099 | 0 | set_has_ext(); |
9100 | 0 | _impl_.entity_oneof_.ext_ = ext; |
9101 | 0 | } |
9102 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.EntityDef.ext) |
9103 | 0 | } |
9104 | 0 | inline ::xmlProtoFuzzer::ExternalId* EntityDef::_internal_mutable_ext() { |
9105 | 0 | if (!_internal_has_ext()) { |
9106 | 0 | clear_entity_oneof(); |
9107 | 0 | set_has_ext(); |
9108 | 0 | _impl_.entity_oneof_.ext_ = CreateMaybeMessage< ::xmlProtoFuzzer::ExternalId >(GetArenaForAllocation()); |
9109 | 0 | } |
9110 | 0 | return _impl_.entity_oneof_.ext_; |
9111 | 0 | } |
9112 | 0 | inline ::xmlProtoFuzzer::ExternalId* EntityDef::mutable_ext() { |
9113 | 0 | ::xmlProtoFuzzer::ExternalId* _msg = _internal_mutable_ext(); |
9114 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EntityDef.ext) |
9115 | 0 | return _msg; |
9116 | 0 | } |
9117 | | |
9118 | | // .xmlProtoFuzzer.EntityValue val = 2; |
9119 | 2.82k | inline bool EntityDef::_internal_has_val() const { |
9120 | 2.82k | return entity_oneof_case() == kVal; |
9121 | 2.82k | } |
9122 | 0 | inline bool EntityDef::has_val() const { |
9123 | 0 | return _internal_has_val(); |
9124 | 0 | } |
9125 | 0 | inline void EntityDef::set_has_val() { |
9126 | 0 | _impl_._oneof_case_[0] = kVal; |
9127 | 0 | } |
9128 | 0 | inline void EntityDef::clear_val() { |
9129 | 0 | if (_internal_has_val()) { |
9130 | 0 | if (GetArenaForAllocation() == nullptr) { |
9131 | 0 | delete _impl_.entity_oneof_.val_; |
9132 | 0 | } |
9133 | 0 | clear_has_entity_oneof(); |
9134 | 0 | } |
9135 | 0 | } |
9136 | 0 | inline ::xmlProtoFuzzer::EntityValue* EntityDef::release_val() { |
9137 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.EntityDef.val) |
9138 | 0 | if (_internal_has_val()) { |
9139 | 0 | clear_has_entity_oneof(); |
9140 | 0 | ::xmlProtoFuzzer::EntityValue* temp = _impl_.entity_oneof_.val_; |
9141 | 0 | if (GetArenaForAllocation() != nullptr) { |
9142 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9143 | 0 | } |
9144 | 0 | _impl_.entity_oneof_.val_ = nullptr; |
9145 | 0 | return temp; |
9146 | 0 | } else { |
9147 | 0 | return nullptr; |
9148 | 0 | } |
9149 | 0 | } |
9150 | 2.82k | inline const ::xmlProtoFuzzer::EntityValue& EntityDef::_internal_val() const { |
9151 | 2.82k | return _internal_has_val() |
9152 | 2.82k | ? *_impl_.entity_oneof_.val_ |
9153 | 2.82k | : reinterpret_cast< ::xmlProtoFuzzer::EntityValue&>(::xmlProtoFuzzer::_EntityValue_default_instance_); |
9154 | 2.82k | } |
9155 | 2.82k | inline const ::xmlProtoFuzzer::EntityValue& EntityDef::val() const { |
9156 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityDef.val) |
9157 | 2.82k | return _internal_val(); |
9158 | 2.82k | } |
9159 | 0 | inline ::xmlProtoFuzzer::EntityValue* EntityDef::unsafe_arena_release_val() { |
9160 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.EntityDef.val) |
9161 | 0 | if (_internal_has_val()) { |
9162 | 0 | clear_has_entity_oneof(); |
9163 | 0 | ::xmlProtoFuzzer::EntityValue* temp = _impl_.entity_oneof_.val_; |
9164 | 0 | _impl_.entity_oneof_.val_ = nullptr; |
9165 | 0 | return temp; |
9166 | 0 | } else { |
9167 | 0 | return nullptr; |
9168 | 0 | } |
9169 | 0 | } |
9170 | 0 | inline void EntityDef::unsafe_arena_set_allocated_val(::xmlProtoFuzzer::EntityValue* val) { |
9171 | 0 | clear_entity_oneof(); |
9172 | 0 | if (val) { |
9173 | 0 | set_has_val(); |
9174 | 0 | _impl_.entity_oneof_.val_ = val; |
9175 | 0 | } |
9176 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.EntityDef.val) |
9177 | 0 | } |
9178 | 0 | inline ::xmlProtoFuzzer::EntityValue* EntityDef::_internal_mutable_val() { |
9179 | 0 | if (!_internal_has_val()) { |
9180 | 0 | clear_entity_oneof(); |
9181 | 0 | set_has_val(); |
9182 | 0 | _impl_.entity_oneof_.val_ = CreateMaybeMessage< ::xmlProtoFuzzer::EntityValue >(GetArenaForAllocation()); |
9183 | 0 | } |
9184 | 0 | return _impl_.entity_oneof_.val_; |
9185 | 0 | } |
9186 | 0 | inline ::xmlProtoFuzzer::EntityValue* EntityDef::mutable_val() { |
9187 | 0 | ::xmlProtoFuzzer::EntityValue* _msg = _internal_mutable_val(); |
9188 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EntityDef.val) |
9189 | 0 | return _msg; |
9190 | 0 | } |
9191 | | |
9192 | | // .xmlProtoFuzzer.NDataDecl ndata = 3; |
9193 | 4.11k | inline bool EntityDef::_internal_has_ndata() const { |
9194 | 4.11k | return this != internal_default_instance() && _impl_.ndata_ != nullptr; |
9195 | 4.11k | } |
9196 | 0 | inline bool EntityDef::has_ndata() const { |
9197 | 0 | return _internal_has_ndata(); |
9198 | 0 | } |
9199 | 0 | inline void EntityDef::clear_ndata() { |
9200 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.ndata_ != nullptr) { |
9201 | 0 | delete _impl_.ndata_; |
9202 | 0 | } |
9203 | 0 | _impl_.ndata_ = nullptr; |
9204 | 0 | } |
9205 | 1.75k | inline const ::xmlProtoFuzzer::NDataDecl& EntityDef::_internal_ndata() const { |
9206 | 1.75k | const ::xmlProtoFuzzer::NDataDecl* p = _impl_.ndata_; |
9207 | 1.75k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::NDataDecl&>( |
9208 | 889 | ::xmlProtoFuzzer::_NDataDecl_default_instance_); |
9209 | 1.75k | } |
9210 | 1.75k | inline const ::xmlProtoFuzzer::NDataDecl& EntityDef::ndata() const { |
9211 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityDef.ndata) |
9212 | 1.75k | return _internal_ndata(); |
9213 | 1.75k | } |
9214 | | inline void EntityDef::unsafe_arena_set_allocated_ndata( |
9215 | 0 | ::xmlProtoFuzzer::NDataDecl* ndata) { |
9216 | 0 | if (GetArenaForAllocation() == nullptr) { |
9217 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ndata_); |
9218 | 0 | } |
9219 | 0 | _impl_.ndata_ = ndata; |
9220 | 0 | if (ndata) { |
9221 | 0 | |
9222 | 0 | } else { |
9223 | 0 | |
9224 | 0 | } |
9225 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.EntityDef.ndata) |
9226 | 0 | } |
9227 | 0 | inline ::xmlProtoFuzzer::NDataDecl* EntityDef::release_ndata() { |
9228 | 0 | |
9229 | 0 | ::xmlProtoFuzzer::NDataDecl* temp = _impl_.ndata_; |
9230 | 0 | _impl_.ndata_ = nullptr; |
9231 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
9232 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
9233 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9234 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
9235 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
9236 | 0 | if (GetArenaForAllocation() != nullptr) { |
9237 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9238 | 0 | } |
9239 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
9240 | 0 | return temp; |
9241 | 0 | } |
9242 | 0 | inline ::xmlProtoFuzzer::NDataDecl* EntityDef::unsafe_arena_release_ndata() { |
9243 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.EntityDef.ndata) |
9244 | 0 | |
9245 | 0 | ::xmlProtoFuzzer::NDataDecl* temp = _impl_.ndata_; |
9246 | 0 | _impl_.ndata_ = nullptr; |
9247 | 0 | return temp; |
9248 | 0 | } |
9249 | 0 | inline ::xmlProtoFuzzer::NDataDecl* EntityDef::_internal_mutable_ndata() { |
9250 | | |
9251 | 0 | if (_impl_.ndata_ == nullptr) { |
9252 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::NDataDecl>(GetArenaForAllocation()); |
9253 | 0 | _impl_.ndata_ = p; |
9254 | 0 | } |
9255 | 0 | return _impl_.ndata_; |
9256 | 0 | } |
9257 | 0 | inline ::xmlProtoFuzzer::NDataDecl* EntityDef::mutable_ndata() { |
9258 | 0 | ::xmlProtoFuzzer::NDataDecl* _msg = _internal_mutable_ndata(); |
9259 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EntityDef.ndata) |
9260 | 0 | return _msg; |
9261 | 0 | } |
9262 | 0 | inline void EntityDef::set_allocated_ndata(::xmlProtoFuzzer::NDataDecl* ndata) { |
9263 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
9264 | 0 | if (message_arena == nullptr) { |
9265 | 0 | delete _impl_.ndata_; |
9266 | 0 | } |
9267 | 0 | if (ndata) { |
9268 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
9269 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ndata); |
9270 | 0 | if (message_arena != submessage_arena) { |
9271 | 0 | ndata = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
9272 | 0 | message_arena, ndata, submessage_arena); |
9273 | 0 | } |
9274 | 0 | |
9275 | 0 | } else { |
9276 | 0 | |
9277 | 0 | } |
9278 | 0 | _impl_.ndata_ = ndata; |
9279 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.EntityDef.ndata) |
9280 | 0 | } |
9281 | | |
9282 | 7.68k | inline bool EntityDef::has_entity_oneof() const { |
9283 | 7.68k | return entity_oneof_case() != ENTITY_ONEOF_NOT_SET; |
9284 | 7.68k | } |
9285 | 7.68k | inline void EntityDef::clear_has_entity_oneof() { |
9286 | 7.68k | _impl_._oneof_case_[0] = ENTITY_ONEOF_NOT_SET; |
9287 | 7.68k | } |
9288 | 34.8k | inline EntityDef::EntityOneofCase EntityDef::entity_oneof_case() const { |
9289 | 34.8k | return EntityDef::EntityOneofCase(_impl_._oneof_case_[0]); |
9290 | 34.8k | } |
9291 | | // ------------------------------------------------------------------- |
9292 | | |
9293 | | // PEDef |
9294 | | |
9295 | | // .xmlProtoFuzzer.EntityValue val = 1; |
9296 | 1.37k | inline bool PEDef::_internal_has_val() const { |
9297 | 1.37k | return pedef_oneof_case() == kVal; |
9298 | 1.37k | } |
9299 | 0 | inline bool PEDef::has_val() const { |
9300 | 0 | return _internal_has_val(); |
9301 | 0 | } |
9302 | 0 | inline void PEDef::set_has_val() { |
9303 | 0 | _impl_._oneof_case_[0] = kVal; |
9304 | 0 | } |
9305 | 0 | inline void PEDef::clear_val() { |
9306 | 0 | if (_internal_has_val()) { |
9307 | 0 | if (GetArenaForAllocation() == nullptr) { |
9308 | 0 | delete _impl_.pedef_oneof_.val_; |
9309 | 0 | } |
9310 | 0 | clear_has_pedef_oneof(); |
9311 | 0 | } |
9312 | 0 | } |
9313 | 0 | inline ::xmlProtoFuzzer::EntityValue* PEDef::release_val() { |
9314 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.PEDef.val) |
9315 | 0 | if (_internal_has_val()) { |
9316 | 0 | clear_has_pedef_oneof(); |
9317 | 0 | ::xmlProtoFuzzer::EntityValue* temp = _impl_.pedef_oneof_.val_; |
9318 | 0 | if (GetArenaForAllocation() != nullptr) { |
9319 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9320 | 0 | } |
9321 | 0 | _impl_.pedef_oneof_.val_ = nullptr; |
9322 | 0 | return temp; |
9323 | 0 | } else { |
9324 | 0 | return nullptr; |
9325 | 0 | } |
9326 | 0 | } |
9327 | 1.37k | inline const ::xmlProtoFuzzer::EntityValue& PEDef::_internal_val() const { |
9328 | 1.37k | return _internal_has_val() |
9329 | 1.37k | ? *_impl_.pedef_oneof_.val_ |
9330 | 1.37k | : reinterpret_cast< ::xmlProtoFuzzer::EntityValue&>(::xmlProtoFuzzer::_EntityValue_default_instance_); |
9331 | 1.37k | } |
9332 | 1.37k | inline const ::xmlProtoFuzzer::EntityValue& PEDef::val() const { |
9333 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.PEDef.val) |
9334 | 1.37k | return _internal_val(); |
9335 | 1.37k | } |
9336 | 0 | inline ::xmlProtoFuzzer::EntityValue* PEDef::unsafe_arena_release_val() { |
9337 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.PEDef.val) |
9338 | 0 | if (_internal_has_val()) { |
9339 | 0 | clear_has_pedef_oneof(); |
9340 | 0 | ::xmlProtoFuzzer::EntityValue* temp = _impl_.pedef_oneof_.val_; |
9341 | 0 | _impl_.pedef_oneof_.val_ = nullptr; |
9342 | 0 | return temp; |
9343 | 0 | } else { |
9344 | 0 | return nullptr; |
9345 | 0 | } |
9346 | 0 | } |
9347 | 0 | inline void PEDef::unsafe_arena_set_allocated_val(::xmlProtoFuzzer::EntityValue* val) { |
9348 | 0 | clear_pedef_oneof(); |
9349 | 0 | if (val) { |
9350 | 0 | set_has_val(); |
9351 | 0 | _impl_.pedef_oneof_.val_ = val; |
9352 | 0 | } |
9353 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.PEDef.val) |
9354 | 0 | } |
9355 | 0 | inline ::xmlProtoFuzzer::EntityValue* PEDef::_internal_mutable_val() { |
9356 | 0 | if (!_internal_has_val()) { |
9357 | 0 | clear_pedef_oneof(); |
9358 | 0 | set_has_val(); |
9359 | 0 | _impl_.pedef_oneof_.val_ = CreateMaybeMessage< ::xmlProtoFuzzer::EntityValue >(GetArenaForAllocation()); |
9360 | 0 | } |
9361 | 0 | return _impl_.pedef_oneof_.val_; |
9362 | 0 | } |
9363 | 0 | inline ::xmlProtoFuzzer::EntityValue* PEDef::mutable_val() { |
9364 | 0 | ::xmlProtoFuzzer::EntityValue* _msg = _internal_mutable_val(); |
9365 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.PEDef.val) |
9366 | 0 | return _msg; |
9367 | 0 | } |
9368 | | |
9369 | | // .xmlProtoFuzzer.ExternalId id = 2; |
9370 | 837 | inline bool PEDef::_internal_has_id() const { |
9371 | 837 | return pedef_oneof_case() == kId; |
9372 | 837 | } |
9373 | 0 | inline bool PEDef::has_id() const { |
9374 | 0 | return _internal_has_id(); |
9375 | 0 | } |
9376 | 0 | inline void PEDef::set_has_id() { |
9377 | 0 | _impl_._oneof_case_[0] = kId; |
9378 | 0 | } |
9379 | 0 | inline void PEDef::clear_id() { |
9380 | 0 | if (_internal_has_id()) { |
9381 | 0 | if (GetArenaForAllocation() == nullptr) { |
9382 | 0 | delete _impl_.pedef_oneof_.id_; |
9383 | 0 | } |
9384 | 0 | clear_has_pedef_oneof(); |
9385 | 0 | } |
9386 | 0 | } |
9387 | 0 | inline ::xmlProtoFuzzer::ExternalId* PEDef::release_id() { |
9388 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.PEDef.id) |
9389 | 0 | if (_internal_has_id()) { |
9390 | 0 | clear_has_pedef_oneof(); |
9391 | 0 | ::xmlProtoFuzzer::ExternalId* temp = _impl_.pedef_oneof_.id_; |
9392 | 0 | if (GetArenaForAllocation() != nullptr) { |
9393 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9394 | 0 | } |
9395 | 0 | _impl_.pedef_oneof_.id_ = nullptr; |
9396 | 0 | return temp; |
9397 | 0 | } else { |
9398 | 0 | return nullptr; |
9399 | 0 | } |
9400 | 0 | } |
9401 | 837 | inline const ::xmlProtoFuzzer::ExternalId& PEDef::_internal_id() const { |
9402 | 837 | return _internal_has_id() |
9403 | 837 | ? *_impl_.pedef_oneof_.id_ |
9404 | 837 | : reinterpret_cast< ::xmlProtoFuzzer::ExternalId&>(::xmlProtoFuzzer::_ExternalId_default_instance_); |
9405 | 837 | } |
9406 | 837 | inline const ::xmlProtoFuzzer::ExternalId& PEDef::id() const { |
9407 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.PEDef.id) |
9408 | 837 | return _internal_id(); |
9409 | 837 | } |
9410 | 0 | inline ::xmlProtoFuzzer::ExternalId* PEDef::unsafe_arena_release_id() { |
9411 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.PEDef.id) |
9412 | 0 | if (_internal_has_id()) { |
9413 | 0 | clear_has_pedef_oneof(); |
9414 | 0 | ::xmlProtoFuzzer::ExternalId* temp = _impl_.pedef_oneof_.id_; |
9415 | 0 | _impl_.pedef_oneof_.id_ = nullptr; |
9416 | 0 | return temp; |
9417 | 0 | } else { |
9418 | 0 | return nullptr; |
9419 | 0 | } |
9420 | 0 | } |
9421 | 0 | inline void PEDef::unsafe_arena_set_allocated_id(::xmlProtoFuzzer::ExternalId* id) { |
9422 | 0 | clear_pedef_oneof(); |
9423 | 0 | if (id) { |
9424 | 0 | set_has_id(); |
9425 | 0 | _impl_.pedef_oneof_.id_ = id; |
9426 | 0 | } |
9427 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.PEDef.id) |
9428 | 0 | } |
9429 | 0 | inline ::xmlProtoFuzzer::ExternalId* PEDef::_internal_mutable_id() { |
9430 | 0 | if (!_internal_has_id()) { |
9431 | 0 | clear_pedef_oneof(); |
9432 | 0 | set_has_id(); |
9433 | 0 | _impl_.pedef_oneof_.id_ = CreateMaybeMessage< ::xmlProtoFuzzer::ExternalId >(GetArenaForAllocation()); |
9434 | 0 | } |
9435 | 0 | return _impl_.pedef_oneof_.id_; |
9436 | 0 | } |
9437 | 0 | inline ::xmlProtoFuzzer::ExternalId* PEDef::mutable_id() { |
9438 | 0 | ::xmlProtoFuzzer::ExternalId* _msg = _internal_mutable_id(); |
9439 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.PEDef.id) |
9440 | 0 | return _msg; |
9441 | 0 | } |
9442 | | |
9443 | 3.42k | inline bool PEDef::has_pedef_oneof() const { |
9444 | 3.42k | return pedef_oneof_case() != PEDEF_ONEOF_NOT_SET; |
9445 | 3.42k | } |
9446 | 3.42k | inline void PEDef::clear_has_pedef_oneof() { |
9447 | 3.42k | _impl_._oneof_case_[0] = PEDEF_ONEOF_NOT_SET; |
9448 | 3.42k | } |
9449 | 11.4k | inline PEDef::PedefOneofCase PEDef::pedef_oneof_case() const { |
9450 | 11.4k | return PEDef::PedefOneofCase(_impl_._oneof_case_[0]); |
9451 | 11.4k | } |
9452 | | // ------------------------------------------------------------------- |
9453 | | |
9454 | | // EntityDecl |
9455 | | |
9456 | | // .xmlProtoFuzzer.EntityDecl.Type type = 1; |
9457 | 0 | inline void EntityDecl::clear_type() { |
9458 | 0 | _impl_.type_ = 0; |
9459 | 0 | } |
9460 | 24.8k | inline ::xmlProtoFuzzer::EntityDecl_Type EntityDecl::_internal_type() const { |
9461 | 24.8k | return static_cast< ::xmlProtoFuzzer::EntityDecl_Type >(_impl_.type_); |
9462 | 24.8k | } |
9463 | 24.8k | inline ::xmlProtoFuzzer::EntityDecl_Type EntityDecl::type() const { |
9464 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityDecl.type) |
9465 | 24.8k | return _internal_type(); |
9466 | 24.8k | } |
9467 | 0 | inline void EntityDecl::_internal_set_type(::xmlProtoFuzzer::EntityDecl_Type value) { |
9468 | | |
9469 | 0 | _impl_.type_ = value; |
9470 | 0 | } |
9471 | 0 | inline void EntityDecl::set_type(::xmlProtoFuzzer::EntityDecl_Type value) { |
9472 | 0 | _internal_set_type(value); |
9473 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.EntityDecl.type) |
9474 | 0 | } |
9475 | | |
9476 | | // string name = 2; |
9477 | 0 | inline void EntityDecl::clear_name() { |
9478 | 0 | _impl_.name_.ClearToEmpty(); |
9479 | 0 | } |
9480 | 12.3k | inline const std::string& EntityDecl::name() const { |
9481 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityDecl.name) |
9482 | 12.3k | return _internal_name(); |
9483 | 12.3k | } |
9484 | | template <typename ArgT0, typename... ArgT> |
9485 | | inline PROTOBUF_ALWAYS_INLINE |
9486 | | void EntityDecl::set_name(ArgT0&& arg0, ArgT... args) { |
9487 | | |
9488 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
9489 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.EntityDecl.name) |
9490 | | } |
9491 | 0 | inline std::string* EntityDecl::mutable_name() { |
9492 | 0 | std::string* _s = _internal_mutable_name(); |
9493 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EntityDecl.name) |
9494 | 0 | return _s; |
9495 | 0 | } |
9496 | 12.3k | inline const std::string& EntityDecl::_internal_name() const { |
9497 | 12.3k | return _impl_.name_.Get(); |
9498 | 12.3k | } |
9499 | 0 | inline void EntityDecl::_internal_set_name(const std::string& value) { |
9500 | | |
9501 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
9502 | 0 | } |
9503 | 0 | inline std::string* EntityDecl::_internal_mutable_name() { |
9504 | | |
9505 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
9506 | 0 | } |
9507 | 0 | inline std::string* EntityDecl::release_name() { |
9508 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.EntityDecl.name) |
9509 | 0 | return _impl_.name_.Release(); |
9510 | 0 | } |
9511 | 0 | inline void EntityDecl::set_allocated_name(std::string* name) { |
9512 | 0 | if (name != nullptr) { |
9513 | 0 | |
9514 | 0 | } else { |
9515 | 0 | |
9516 | 0 | } |
9517 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
9518 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9519 | 0 | if (_impl_.name_.IsDefault()) { |
9520 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
9521 | 0 | } |
9522 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
9523 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.EntityDecl.name) |
9524 | 0 | } |
9525 | | |
9526 | | // .xmlProtoFuzzer.EntityDef ent = 3; |
9527 | 0 | inline bool EntityDecl::_internal_has_ent() const { |
9528 | 0 | return this != internal_default_instance() && _impl_.ent_ != nullptr; |
9529 | 0 | } |
9530 | 0 | inline bool EntityDecl::has_ent() const { |
9531 | 0 | return _internal_has_ent(); |
9532 | 0 | } |
9533 | 0 | inline void EntityDecl::clear_ent() { |
9534 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.ent_ != nullptr) { |
9535 | 0 | delete _impl_.ent_; |
9536 | 0 | } |
9537 | 0 | _impl_.ent_ = nullptr; |
9538 | 0 | } |
9539 | 8.98k | inline const ::xmlProtoFuzzer::EntityDef& EntityDecl::_internal_ent() const { |
9540 | 8.98k | const ::xmlProtoFuzzer::EntityDef* p = _impl_.ent_; |
9541 | 8.98k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::EntityDef&>( |
9542 | 1.76k | ::xmlProtoFuzzer::_EntityDef_default_instance_); |
9543 | 8.98k | } |
9544 | 8.98k | inline const ::xmlProtoFuzzer::EntityDef& EntityDecl::ent() const { |
9545 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityDecl.ent) |
9546 | 8.98k | return _internal_ent(); |
9547 | 8.98k | } |
9548 | | inline void EntityDecl::unsafe_arena_set_allocated_ent( |
9549 | 0 | ::xmlProtoFuzzer::EntityDef* ent) { |
9550 | 0 | if (GetArenaForAllocation() == nullptr) { |
9551 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ent_); |
9552 | 0 | } |
9553 | 0 | _impl_.ent_ = ent; |
9554 | 0 | if (ent) { |
9555 | 0 | |
9556 | 0 | } else { |
9557 | 0 | |
9558 | 0 | } |
9559 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.EntityDecl.ent) |
9560 | 0 | } |
9561 | 0 | inline ::xmlProtoFuzzer::EntityDef* EntityDecl::release_ent() { |
9562 | 0 | |
9563 | 0 | ::xmlProtoFuzzer::EntityDef* temp = _impl_.ent_; |
9564 | 0 | _impl_.ent_ = nullptr; |
9565 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
9566 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
9567 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9568 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
9569 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
9570 | 0 | if (GetArenaForAllocation() != nullptr) { |
9571 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9572 | 0 | } |
9573 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
9574 | 0 | return temp; |
9575 | 0 | } |
9576 | 0 | inline ::xmlProtoFuzzer::EntityDef* EntityDecl::unsafe_arena_release_ent() { |
9577 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.EntityDecl.ent) |
9578 | 0 | |
9579 | 0 | ::xmlProtoFuzzer::EntityDef* temp = _impl_.ent_; |
9580 | 0 | _impl_.ent_ = nullptr; |
9581 | 0 | return temp; |
9582 | 0 | } |
9583 | 0 | inline ::xmlProtoFuzzer::EntityDef* EntityDecl::_internal_mutable_ent() { |
9584 | | |
9585 | 0 | if (_impl_.ent_ == nullptr) { |
9586 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::EntityDef>(GetArenaForAllocation()); |
9587 | 0 | _impl_.ent_ = p; |
9588 | 0 | } |
9589 | 0 | return _impl_.ent_; |
9590 | 0 | } |
9591 | 0 | inline ::xmlProtoFuzzer::EntityDef* EntityDecl::mutable_ent() { |
9592 | 0 | ::xmlProtoFuzzer::EntityDef* _msg = _internal_mutable_ent(); |
9593 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EntityDecl.ent) |
9594 | 0 | return _msg; |
9595 | 0 | } |
9596 | 0 | inline void EntityDecl::set_allocated_ent(::xmlProtoFuzzer::EntityDef* ent) { |
9597 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
9598 | 0 | if (message_arena == nullptr) { |
9599 | 0 | delete _impl_.ent_; |
9600 | 0 | } |
9601 | 0 | if (ent) { |
9602 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
9603 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ent); |
9604 | 0 | if (message_arena != submessage_arena) { |
9605 | 0 | ent = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
9606 | 0 | message_arena, ent, submessage_arena); |
9607 | 0 | } |
9608 | 0 | |
9609 | 0 | } else { |
9610 | 0 | |
9611 | 0 | } |
9612 | 0 | _impl_.ent_ = ent; |
9613 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.EntityDecl.ent) |
9614 | 0 | } |
9615 | | |
9616 | | // .xmlProtoFuzzer.PEDef pedef = 4; |
9617 | 0 | inline bool EntityDecl::_internal_has_pedef() const { |
9618 | 0 | return this != internal_default_instance() && _impl_.pedef_ != nullptr; |
9619 | 0 | } |
9620 | 0 | inline bool EntityDecl::has_pedef() const { |
9621 | 0 | return _internal_has_pedef(); |
9622 | 0 | } |
9623 | 0 | inline void EntityDecl::clear_pedef() { |
9624 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.pedef_ != nullptr) { |
9625 | 0 | delete _impl_.pedef_; |
9626 | 0 | } |
9627 | 0 | _impl_.pedef_ = nullptr; |
9628 | 0 | } |
9629 | 3.36k | inline const ::xmlProtoFuzzer::PEDef& EntityDecl::_internal_pedef() const { |
9630 | 3.36k | const ::xmlProtoFuzzer::PEDef* p = _impl_.pedef_; |
9631 | 3.36k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::PEDef&>( |
9632 | 873 | ::xmlProtoFuzzer::_PEDef_default_instance_); |
9633 | 3.36k | } |
9634 | 3.36k | inline const ::xmlProtoFuzzer::PEDef& EntityDecl::pedef() const { |
9635 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.EntityDecl.pedef) |
9636 | 3.36k | return _internal_pedef(); |
9637 | 3.36k | } |
9638 | | inline void EntityDecl::unsafe_arena_set_allocated_pedef( |
9639 | 0 | ::xmlProtoFuzzer::PEDef* pedef) { |
9640 | 0 | if (GetArenaForAllocation() == nullptr) { |
9641 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.pedef_); |
9642 | 0 | } |
9643 | 0 | _impl_.pedef_ = pedef; |
9644 | 0 | if (pedef) { |
9645 | 0 | |
9646 | 0 | } else { |
9647 | 0 | |
9648 | 0 | } |
9649 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.EntityDecl.pedef) |
9650 | 0 | } |
9651 | 0 | inline ::xmlProtoFuzzer::PEDef* EntityDecl::release_pedef() { |
9652 | 0 | |
9653 | 0 | ::xmlProtoFuzzer::PEDef* temp = _impl_.pedef_; |
9654 | 0 | _impl_.pedef_ = nullptr; |
9655 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
9656 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
9657 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9658 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
9659 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
9660 | 0 | if (GetArenaForAllocation() != nullptr) { |
9661 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9662 | 0 | } |
9663 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
9664 | 0 | return temp; |
9665 | 0 | } |
9666 | 0 | inline ::xmlProtoFuzzer::PEDef* EntityDecl::unsafe_arena_release_pedef() { |
9667 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.EntityDecl.pedef) |
9668 | 0 | |
9669 | 0 | ::xmlProtoFuzzer::PEDef* temp = _impl_.pedef_; |
9670 | 0 | _impl_.pedef_ = nullptr; |
9671 | 0 | return temp; |
9672 | 0 | } |
9673 | 0 | inline ::xmlProtoFuzzer::PEDef* EntityDecl::_internal_mutable_pedef() { |
9674 | | |
9675 | 0 | if (_impl_.pedef_ == nullptr) { |
9676 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::PEDef>(GetArenaForAllocation()); |
9677 | 0 | _impl_.pedef_ = p; |
9678 | 0 | } |
9679 | 0 | return _impl_.pedef_; |
9680 | 0 | } |
9681 | 0 | inline ::xmlProtoFuzzer::PEDef* EntityDecl::mutable_pedef() { |
9682 | 0 | ::xmlProtoFuzzer::PEDef* _msg = _internal_mutable_pedef(); |
9683 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.EntityDecl.pedef) |
9684 | 0 | return _msg; |
9685 | 0 | } |
9686 | 0 | inline void EntityDecl::set_allocated_pedef(::xmlProtoFuzzer::PEDef* pedef) { |
9687 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
9688 | 0 | if (message_arena == nullptr) { |
9689 | 0 | delete _impl_.pedef_; |
9690 | 0 | } |
9691 | 0 | if (pedef) { |
9692 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
9693 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(pedef); |
9694 | 0 | if (message_arena != submessage_arena) { |
9695 | 0 | pedef = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
9696 | 0 | message_arena, pedef, submessage_arena); |
9697 | 0 | } |
9698 | 0 | |
9699 | 0 | } else { |
9700 | 0 | |
9701 | 0 | } |
9702 | 0 | _impl_.pedef_ = pedef; |
9703 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.EntityDecl.pedef) |
9704 | 0 | } |
9705 | | |
9706 | | // ------------------------------------------------------------------- |
9707 | | |
9708 | | // ConditionalSect |
9709 | | |
9710 | | // .xmlProtoFuzzer.ConditionalSect.Type type = 1; |
9711 | 0 | inline void ConditionalSect::clear_type() { |
9712 | 0 | _impl_.type_ = 0; |
9713 | 0 | } |
9714 | 13.9k | inline ::xmlProtoFuzzer::ConditionalSect_Type ConditionalSect::_internal_type() const { |
9715 | 13.9k | return static_cast< ::xmlProtoFuzzer::ConditionalSect_Type >(_impl_.type_); |
9716 | 13.9k | } |
9717 | 13.9k | inline ::xmlProtoFuzzer::ConditionalSect_Type ConditionalSect::type() const { |
9718 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ConditionalSect.type) |
9719 | 13.9k | return _internal_type(); |
9720 | 13.9k | } |
9721 | 0 | inline void ConditionalSect::_internal_set_type(::xmlProtoFuzzer::ConditionalSect_Type value) { |
9722 | | |
9723 | 0 | _impl_.type_ = value; |
9724 | 0 | } |
9725 | 0 | inline void ConditionalSect::set_type(::xmlProtoFuzzer::ConditionalSect_Type value) { |
9726 | 0 | _internal_set_type(value); |
9727 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ConditionalSect.type) |
9728 | 0 | } |
9729 | | |
9730 | | // .xmlProtoFuzzer.ExtSubsetDecl ext = 2; |
9731 | 0 | inline bool ConditionalSect::_internal_has_ext() const { |
9732 | 0 | return this != internal_default_instance() && _impl_.ext_ != nullptr; |
9733 | 0 | } |
9734 | 0 | inline bool ConditionalSect::has_ext() const { |
9735 | 0 | return _internal_has_ext(); |
9736 | 0 | } |
9737 | 0 | inline void ConditionalSect::clear_ext() { |
9738 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.ext_ != nullptr) { |
9739 | 0 | delete _impl_.ext_; |
9740 | 0 | } |
9741 | 0 | _impl_.ext_ = nullptr; |
9742 | 0 | } |
9743 | 5.96k | inline const ::xmlProtoFuzzer::ExtSubsetDecl& ConditionalSect::_internal_ext() const { |
9744 | 5.96k | const ::xmlProtoFuzzer::ExtSubsetDecl* p = _impl_.ext_; |
9745 | 5.96k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::ExtSubsetDecl&>( |
9746 | 2.39k | ::xmlProtoFuzzer::_ExtSubsetDecl_default_instance_); |
9747 | 5.96k | } |
9748 | 5.96k | inline const ::xmlProtoFuzzer::ExtSubsetDecl& ConditionalSect::ext() const { |
9749 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ConditionalSect.ext) |
9750 | 5.96k | return _internal_ext(); |
9751 | 5.96k | } |
9752 | | inline void ConditionalSect::unsafe_arena_set_allocated_ext( |
9753 | 0 | ::xmlProtoFuzzer::ExtSubsetDecl* ext) { |
9754 | 0 | if (GetArenaForAllocation() == nullptr) { |
9755 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ext_); |
9756 | 0 | } |
9757 | 0 | _impl_.ext_ = ext; |
9758 | 0 | if (ext) { |
9759 | 0 | |
9760 | 0 | } else { |
9761 | 0 | |
9762 | 0 | } |
9763 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.ConditionalSect.ext) |
9764 | 0 | } |
9765 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* ConditionalSect::release_ext() { |
9766 | 0 | |
9767 | 0 | ::xmlProtoFuzzer::ExtSubsetDecl* temp = _impl_.ext_; |
9768 | 0 | _impl_.ext_ = nullptr; |
9769 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
9770 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
9771 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9772 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
9773 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
9774 | 0 | if (GetArenaForAllocation() != nullptr) { |
9775 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9776 | 0 | } |
9777 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
9778 | 0 | return temp; |
9779 | 0 | } |
9780 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* ConditionalSect::unsafe_arena_release_ext() { |
9781 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.ConditionalSect.ext) |
9782 | 0 | |
9783 | 0 | ::xmlProtoFuzzer::ExtSubsetDecl* temp = _impl_.ext_; |
9784 | 0 | _impl_.ext_ = nullptr; |
9785 | 0 | return temp; |
9786 | 0 | } |
9787 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* ConditionalSect::_internal_mutable_ext() { |
9788 | | |
9789 | 0 | if (_impl_.ext_ == nullptr) { |
9790 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::ExtSubsetDecl>(GetArenaForAllocation()); |
9791 | 0 | _impl_.ext_ = p; |
9792 | 0 | } |
9793 | 0 | return _impl_.ext_; |
9794 | 0 | } |
9795 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* ConditionalSect::mutable_ext() { |
9796 | 0 | ::xmlProtoFuzzer::ExtSubsetDecl* _msg = _internal_mutable_ext(); |
9797 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ConditionalSect.ext) |
9798 | 0 | return _msg; |
9799 | 0 | } |
9800 | 0 | inline void ConditionalSect::set_allocated_ext(::xmlProtoFuzzer::ExtSubsetDecl* ext) { |
9801 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
9802 | 0 | if (message_arena == nullptr) { |
9803 | 0 | delete _impl_.ext_; |
9804 | 0 | } |
9805 | 0 | if (ext) { |
9806 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
9807 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ext); |
9808 | 0 | if (message_arena != submessage_arena) { |
9809 | 0 | ext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
9810 | 0 | message_arena, ext, submessage_arena); |
9811 | 0 | } |
9812 | 0 | |
9813 | 0 | } else { |
9814 | 0 | |
9815 | 0 | } |
9816 | 0 | _impl_.ext_ = ext; |
9817 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.ConditionalSect.ext) |
9818 | 0 | } |
9819 | | |
9820 | | // repeated string ignores = 3; |
9821 | 0 | inline int ConditionalSect::_internal_ignores_size() const { |
9822 | 0 | return _impl_.ignores_.size(); |
9823 | 0 | } |
9824 | 0 | inline int ConditionalSect::ignores_size() const { |
9825 | 0 | return _internal_ignores_size(); |
9826 | 0 | } |
9827 | 0 | inline void ConditionalSect::clear_ignores() { |
9828 | 0 | _impl_.ignores_.Clear(); |
9829 | 0 | } |
9830 | 0 | inline std::string* ConditionalSect::add_ignores() { |
9831 | 0 | std::string* _s = _internal_add_ignores(); |
9832 | 0 | // @@protoc_insertion_point(field_add_mutable:xmlProtoFuzzer.ConditionalSect.ignores) |
9833 | 0 | return _s; |
9834 | 0 | } |
9835 | 0 | inline const std::string& ConditionalSect::_internal_ignores(int index) const { |
9836 | 0 | return _impl_.ignores_.Get(index); |
9837 | 0 | } |
9838 | 0 | inline const std::string& ConditionalSect::ignores(int index) const { |
9839 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ConditionalSect.ignores) |
9840 | 0 | return _internal_ignores(index); |
9841 | 0 | } |
9842 | 0 | inline std::string* ConditionalSect::mutable_ignores(int index) { |
9843 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ConditionalSect.ignores) |
9844 | 0 | return _impl_.ignores_.Mutable(index); |
9845 | 0 | } |
9846 | 0 | inline void ConditionalSect::set_ignores(int index, const std::string& value) { |
9847 | 0 | _impl_.ignores_.Mutable(index)->assign(value); |
9848 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ConditionalSect.ignores) |
9849 | 0 | } |
9850 | 0 | inline void ConditionalSect::set_ignores(int index, std::string&& value) { |
9851 | 0 | _impl_.ignores_.Mutable(index)->assign(std::move(value)); |
9852 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ConditionalSect.ignores) |
9853 | 0 | } |
9854 | 0 | inline void ConditionalSect::set_ignores(int index, const char* value) { |
9855 | 0 | GOOGLE_DCHECK(value != nullptr); |
9856 | 0 | _impl_.ignores_.Mutable(index)->assign(value); |
9857 | 0 | // @@protoc_insertion_point(field_set_char:xmlProtoFuzzer.ConditionalSect.ignores) |
9858 | 0 | } |
9859 | 0 | inline void ConditionalSect::set_ignores(int index, const char* value, size_t size) { |
9860 | 0 | _impl_.ignores_.Mutable(index)->assign( |
9861 | 0 | reinterpret_cast<const char*>(value), size); |
9862 | 0 | // @@protoc_insertion_point(field_set_pointer:xmlProtoFuzzer.ConditionalSect.ignores) |
9863 | 0 | } |
9864 | 0 | inline std::string* ConditionalSect::_internal_add_ignores() { |
9865 | 0 | return _impl_.ignores_.Add(); |
9866 | 0 | } |
9867 | 0 | inline void ConditionalSect::add_ignores(const std::string& value) { |
9868 | 0 | _impl_.ignores_.Add()->assign(value); |
9869 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.ConditionalSect.ignores) |
9870 | 0 | } |
9871 | 0 | inline void ConditionalSect::add_ignores(std::string&& value) { |
9872 | 0 | _impl_.ignores_.Add(std::move(value)); |
9873 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.ConditionalSect.ignores) |
9874 | 0 | } |
9875 | 0 | inline void ConditionalSect::add_ignores(const char* value) { |
9876 | 0 | GOOGLE_DCHECK(value != nullptr); |
9877 | 0 | _impl_.ignores_.Add()->assign(value); |
9878 | 0 | // @@protoc_insertion_point(field_add_char:xmlProtoFuzzer.ConditionalSect.ignores) |
9879 | 0 | } |
9880 | 0 | inline void ConditionalSect::add_ignores(const char* value, size_t size) { |
9881 | 0 | _impl_.ignores_.Add()->assign(reinterpret_cast<const char*>(value), size); |
9882 | 0 | // @@protoc_insertion_point(field_add_pointer:xmlProtoFuzzer.ConditionalSect.ignores) |
9883 | 0 | } |
9884 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
9885 | 882 | ConditionalSect::ignores() const { |
9886 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.ConditionalSect.ignores) |
9887 | 882 | return _impl_.ignores_; |
9888 | 882 | } |
9889 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
9890 | 0 | ConditionalSect::mutable_ignores() { |
9891 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.ConditionalSect.ignores) |
9892 | 0 | return &_impl_.ignores_; |
9893 | 0 | } |
9894 | | |
9895 | | // ------------------------------------------------------------------- |
9896 | | |
9897 | | // OneExtSubsetDecl |
9898 | | |
9899 | | // .xmlProtoFuzzer.MarkupDecl m = 1; |
9900 | 19.1k | inline bool OneExtSubsetDecl::_internal_has_m() const { |
9901 | 19.1k | return extsubset_oneof_case() == kM; |
9902 | 19.1k | } |
9903 | 0 | inline bool OneExtSubsetDecl::has_m() const { |
9904 | 0 | return _internal_has_m(); |
9905 | 0 | } |
9906 | 0 | inline void OneExtSubsetDecl::set_has_m() { |
9907 | 0 | _impl_._oneof_case_[0] = kM; |
9908 | 0 | } |
9909 | 0 | inline void OneExtSubsetDecl::clear_m() { |
9910 | 0 | if (_internal_has_m()) { |
9911 | 0 | if (GetArenaForAllocation() == nullptr) { |
9912 | 0 | delete _impl_.extsubset_oneof_.m_; |
9913 | 0 | } |
9914 | 0 | clear_has_extsubset_oneof(); |
9915 | 0 | } |
9916 | 0 | } |
9917 | 0 | inline ::xmlProtoFuzzer::MarkupDecl* OneExtSubsetDecl::release_m() { |
9918 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.OneExtSubsetDecl.m) |
9919 | 0 | if (_internal_has_m()) { |
9920 | 0 | clear_has_extsubset_oneof(); |
9921 | 0 | ::xmlProtoFuzzer::MarkupDecl* temp = _impl_.extsubset_oneof_.m_; |
9922 | 0 | if (GetArenaForAllocation() != nullptr) { |
9923 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9924 | 0 | } |
9925 | 0 | _impl_.extsubset_oneof_.m_ = nullptr; |
9926 | 0 | return temp; |
9927 | 0 | } else { |
9928 | 0 | return nullptr; |
9929 | 0 | } |
9930 | 0 | } |
9931 | 19.1k | inline const ::xmlProtoFuzzer::MarkupDecl& OneExtSubsetDecl::_internal_m() const { |
9932 | 19.1k | return _internal_has_m() |
9933 | 19.1k | ? *_impl_.extsubset_oneof_.m_ |
9934 | 19.1k | : reinterpret_cast< ::xmlProtoFuzzer::MarkupDecl&>(::xmlProtoFuzzer::_MarkupDecl_default_instance_); |
9935 | 19.1k | } |
9936 | 19.1k | inline const ::xmlProtoFuzzer::MarkupDecl& OneExtSubsetDecl::m() const { |
9937 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.OneExtSubsetDecl.m) |
9938 | 19.1k | return _internal_m(); |
9939 | 19.1k | } |
9940 | 0 | inline ::xmlProtoFuzzer::MarkupDecl* OneExtSubsetDecl::unsafe_arena_release_m() { |
9941 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.OneExtSubsetDecl.m) |
9942 | 0 | if (_internal_has_m()) { |
9943 | 0 | clear_has_extsubset_oneof(); |
9944 | 0 | ::xmlProtoFuzzer::MarkupDecl* temp = _impl_.extsubset_oneof_.m_; |
9945 | 0 | _impl_.extsubset_oneof_.m_ = nullptr; |
9946 | 0 | return temp; |
9947 | 0 | } else { |
9948 | 0 | return nullptr; |
9949 | 0 | } |
9950 | 0 | } |
9951 | 0 | inline void OneExtSubsetDecl::unsafe_arena_set_allocated_m(::xmlProtoFuzzer::MarkupDecl* m) { |
9952 | 0 | clear_extsubset_oneof(); |
9953 | 0 | if (m) { |
9954 | 0 | set_has_m(); |
9955 | 0 | _impl_.extsubset_oneof_.m_ = m; |
9956 | 0 | } |
9957 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.OneExtSubsetDecl.m) |
9958 | 0 | } |
9959 | 0 | inline ::xmlProtoFuzzer::MarkupDecl* OneExtSubsetDecl::_internal_mutable_m() { |
9960 | 0 | if (!_internal_has_m()) { |
9961 | 0 | clear_extsubset_oneof(); |
9962 | 0 | set_has_m(); |
9963 | 0 | _impl_.extsubset_oneof_.m_ = CreateMaybeMessage< ::xmlProtoFuzzer::MarkupDecl >(GetArenaForAllocation()); |
9964 | 0 | } |
9965 | 0 | return _impl_.extsubset_oneof_.m_; |
9966 | 0 | } |
9967 | 0 | inline ::xmlProtoFuzzer::MarkupDecl* OneExtSubsetDecl::mutable_m() { |
9968 | 0 | ::xmlProtoFuzzer::MarkupDecl* _msg = _internal_mutable_m(); |
9969 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.OneExtSubsetDecl.m) |
9970 | 0 | return _msg; |
9971 | 0 | } |
9972 | | |
9973 | | // .xmlProtoFuzzer.ConditionalSect c = 2; |
9974 | 7.06k | inline bool OneExtSubsetDecl::_internal_has_c() const { |
9975 | 7.06k | return extsubset_oneof_case() == kC; |
9976 | 7.06k | } |
9977 | 0 | inline bool OneExtSubsetDecl::has_c() const { |
9978 | 0 | return _internal_has_c(); |
9979 | 0 | } |
9980 | 0 | inline void OneExtSubsetDecl::set_has_c() { |
9981 | 0 | _impl_._oneof_case_[0] = kC; |
9982 | 0 | } |
9983 | 0 | inline void OneExtSubsetDecl::clear_c() { |
9984 | 0 | if (_internal_has_c()) { |
9985 | 0 | if (GetArenaForAllocation() == nullptr) { |
9986 | 0 | delete _impl_.extsubset_oneof_.c_; |
9987 | 0 | } |
9988 | 0 | clear_has_extsubset_oneof(); |
9989 | 0 | } |
9990 | 0 | } |
9991 | 0 | inline ::xmlProtoFuzzer::ConditionalSect* OneExtSubsetDecl::release_c() { |
9992 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.OneExtSubsetDecl.c) |
9993 | 0 | if (_internal_has_c()) { |
9994 | 0 | clear_has_extsubset_oneof(); |
9995 | 0 | ::xmlProtoFuzzer::ConditionalSect* temp = _impl_.extsubset_oneof_.c_; |
9996 | 0 | if (GetArenaForAllocation() != nullptr) { |
9997 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
9998 | 0 | } |
9999 | 0 | _impl_.extsubset_oneof_.c_ = nullptr; |
10000 | 0 | return temp; |
10001 | 0 | } else { |
10002 | 0 | return nullptr; |
10003 | 0 | } |
10004 | 0 | } |
10005 | 7.06k | inline const ::xmlProtoFuzzer::ConditionalSect& OneExtSubsetDecl::_internal_c() const { |
10006 | 7.06k | return _internal_has_c() |
10007 | 7.06k | ? *_impl_.extsubset_oneof_.c_ |
10008 | 7.06k | : reinterpret_cast< ::xmlProtoFuzzer::ConditionalSect&>(::xmlProtoFuzzer::_ConditionalSect_default_instance_); |
10009 | 7.06k | } |
10010 | 7.06k | inline const ::xmlProtoFuzzer::ConditionalSect& OneExtSubsetDecl::c() const { |
10011 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.OneExtSubsetDecl.c) |
10012 | 7.06k | return _internal_c(); |
10013 | 7.06k | } |
10014 | 0 | inline ::xmlProtoFuzzer::ConditionalSect* OneExtSubsetDecl::unsafe_arena_release_c() { |
10015 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.OneExtSubsetDecl.c) |
10016 | 0 | if (_internal_has_c()) { |
10017 | 0 | clear_has_extsubset_oneof(); |
10018 | 0 | ::xmlProtoFuzzer::ConditionalSect* temp = _impl_.extsubset_oneof_.c_; |
10019 | 0 | _impl_.extsubset_oneof_.c_ = nullptr; |
10020 | 0 | return temp; |
10021 | 0 | } else { |
10022 | 0 | return nullptr; |
10023 | 0 | } |
10024 | 0 | } |
10025 | 0 | inline void OneExtSubsetDecl::unsafe_arena_set_allocated_c(::xmlProtoFuzzer::ConditionalSect* c) { |
10026 | 0 | clear_extsubset_oneof(); |
10027 | 0 | if (c) { |
10028 | 0 | set_has_c(); |
10029 | 0 | _impl_.extsubset_oneof_.c_ = c; |
10030 | 0 | } |
10031 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.OneExtSubsetDecl.c) |
10032 | 0 | } |
10033 | 0 | inline ::xmlProtoFuzzer::ConditionalSect* OneExtSubsetDecl::_internal_mutable_c() { |
10034 | 0 | if (!_internal_has_c()) { |
10035 | 0 | clear_extsubset_oneof(); |
10036 | 0 | set_has_c(); |
10037 | 0 | _impl_.extsubset_oneof_.c_ = CreateMaybeMessage< ::xmlProtoFuzzer::ConditionalSect >(GetArenaForAllocation()); |
10038 | 0 | } |
10039 | 0 | return _impl_.extsubset_oneof_.c_; |
10040 | 0 | } |
10041 | 0 | inline ::xmlProtoFuzzer::ConditionalSect* OneExtSubsetDecl::mutable_c() { |
10042 | 0 | ::xmlProtoFuzzer::ConditionalSect* _msg = _internal_mutable_c(); |
10043 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.OneExtSubsetDecl.c) |
10044 | 0 | return _msg; |
10045 | 0 | } |
10046 | | |
10047 | 34.5k | inline bool OneExtSubsetDecl::has_extsubset_oneof() const { |
10048 | 34.5k | return extsubset_oneof_case() != EXTSUBSET_ONEOF_NOT_SET; |
10049 | 34.5k | } |
10050 | 34.5k | inline void OneExtSubsetDecl::clear_has_extsubset_oneof() { |
10051 | 34.5k | _impl_._oneof_case_[0] = EXTSUBSET_ONEOF_NOT_SET; |
10052 | 34.5k | } |
10053 | 121k | inline OneExtSubsetDecl::ExtsubsetOneofCase OneExtSubsetDecl::extsubset_oneof_case() const { |
10054 | 121k | return OneExtSubsetDecl::ExtsubsetOneofCase(_impl_._oneof_case_[0]); |
10055 | 121k | } |
10056 | | // ------------------------------------------------------------------- |
10057 | | |
10058 | | // ExtSubsetDecl |
10059 | | |
10060 | | // repeated .xmlProtoFuzzer.OneExtSubsetDecl decls = 1; |
10061 | 0 | inline int ExtSubsetDecl::_internal_decls_size() const { |
10062 | 0 | return _impl_.decls_.size(); |
10063 | 0 | } |
10064 | 0 | inline int ExtSubsetDecl::decls_size() const { |
10065 | 0 | return _internal_decls_size(); |
10066 | 0 | } |
10067 | 0 | inline void ExtSubsetDecl::clear_decls() { |
10068 | 0 | _impl_.decls_.Clear(); |
10069 | 0 | } |
10070 | 0 | inline ::xmlProtoFuzzer::OneExtSubsetDecl* ExtSubsetDecl::mutable_decls(int index) { |
10071 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ExtSubsetDecl.decls) |
10072 | 0 | return _impl_.decls_.Mutable(index); |
10073 | 0 | } |
10074 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::OneExtSubsetDecl >* |
10075 | 0 | ExtSubsetDecl::mutable_decls() { |
10076 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.ExtSubsetDecl.decls) |
10077 | 0 | return &_impl_.decls_; |
10078 | 0 | } |
10079 | 0 | inline const ::xmlProtoFuzzer::OneExtSubsetDecl& ExtSubsetDecl::_internal_decls(int index) const { |
10080 | 0 | return _impl_.decls_.Get(index); |
10081 | 0 | } |
10082 | 0 | inline const ::xmlProtoFuzzer::OneExtSubsetDecl& ExtSubsetDecl::decls(int index) const { |
10083 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ExtSubsetDecl.decls) |
10084 | 0 | return _internal_decls(index); |
10085 | 0 | } |
10086 | 0 | inline ::xmlProtoFuzzer::OneExtSubsetDecl* ExtSubsetDecl::_internal_add_decls() { |
10087 | 0 | return _impl_.decls_.Add(); |
10088 | 0 | } |
10089 | 0 | inline ::xmlProtoFuzzer::OneExtSubsetDecl* ExtSubsetDecl::add_decls() { |
10090 | 0 | ::xmlProtoFuzzer::OneExtSubsetDecl* _add = _internal_add_decls(); |
10091 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.ExtSubsetDecl.decls) |
10092 | 0 | return _add; |
10093 | 0 | } |
10094 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::OneExtSubsetDecl >& |
10095 | 11.0k | ExtSubsetDecl::decls() const { |
10096 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.ExtSubsetDecl.decls) |
10097 | 11.0k | return _impl_.decls_; |
10098 | 11.0k | } |
10099 | | |
10100 | | // ------------------------------------------------------------------- |
10101 | | |
10102 | | // MarkupDecl |
10103 | | |
10104 | | // .xmlProtoFuzzer.ElementDecl e = 1; |
10105 | 5.70k | inline bool MarkupDecl::_internal_has_e() const { |
10106 | 5.70k | return markup_oneof_case() == kE; |
10107 | 5.70k | } |
10108 | 0 | inline bool MarkupDecl::has_e() const { |
10109 | 0 | return _internal_has_e(); |
10110 | 0 | } |
10111 | 0 | inline void MarkupDecl::set_has_e() { |
10112 | 0 | _impl_._oneof_case_[0] = kE; |
10113 | 0 | } |
10114 | 0 | inline void MarkupDecl::clear_e() { |
10115 | 0 | if (_internal_has_e()) { |
10116 | 0 | if (GetArenaForAllocation() == nullptr) { |
10117 | 0 | delete _impl_.markup_oneof_.e_; |
10118 | 0 | } |
10119 | 0 | clear_has_markup_oneof(); |
10120 | 0 | } |
10121 | 0 | } |
10122 | 0 | inline ::xmlProtoFuzzer::ElementDecl* MarkupDecl::release_e() { |
10123 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.MarkupDecl.e) |
10124 | 0 | if (_internal_has_e()) { |
10125 | 0 | clear_has_markup_oneof(); |
10126 | 0 | ::xmlProtoFuzzer::ElementDecl* temp = _impl_.markup_oneof_.e_; |
10127 | 0 | if (GetArenaForAllocation() != nullptr) { |
10128 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10129 | 0 | } |
10130 | 0 | _impl_.markup_oneof_.e_ = nullptr; |
10131 | 0 | return temp; |
10132 | 0 | } else { |
10133 | 0 | return nullptr; |
10134 | 0 | } |
10135 | 0 | } |
10136 | 5.70k | inline const ::xmlProtoFuzzer::ElementDecl& MarkupDecl::_internal_e() const { |
10137 | 5.70k | return _internal_has_e() |
10138 | 5.70k | ? *_impl_.markup_oneof_.e_ |
10139 | 5.70k | : reinterpret_cast< ::xmlProtoFuzzer::ElementDecl&>(::xmlProtoFuzzer::_ElementDecl_default_instance_); |
10140 | 5.70k | } |
10141 | 5.70k | inline const ::xmlProtoFuzzer::ElementDecl& MarkupDecl::e() const { |
10142 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.MarkupDecl.e) |
10143 | 5.70k | return _internal_e(); |
10144 | 5.70k | } |
10145 | 0 | inline ::xmlProtoFuzzer::ElementDecl* MarkupDecl::unsafe_arena_release_e() { |
10146 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.MarkupDecl.e) |
10147 | 0 | if (_internal_has_e()) { |
10148 | 0 | clear_has_markup_oneof(); |
10149 | 0 | ::xmlProtoFuzzer::ElementDecl* temp = _impl_.markup_oneof_.e_; |
10150 | 0 | _impl_.markup_oneof_.e_ = nullptr; |
10151 | 0 | return temp; |
10152 | 0 | } else { |
10153 | 0 | return nullptr; |
10154 | 0 | } |
10155 | 0 | } |
10156 | 0 | inline void MarkupDecl::unsafe_arena_set_allocated_e(::xmlProtoFuzzer::ElementDecl* e) { |
10157 | 0 | clear_markup_oneof(); |
10158 | 0 | if (e) { |
10159 | 0 | set_has_e(); |
10160 | 0 | _impl_.markup_oneof_.e_ = e; |
10161 | 0 | } |
10162 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.MarkupDecl.e) |
10163 | 0 | } |
10164 | 0 | inline ::xmlProtoFuzzer::ElementDecl* MarkupDecl::_internal_mutable_e() { |
10165 | 0 | if (!_internal_has_e()) { |
10166 | 0 | clear_markup_oneof(); |
10167 | 0 | set_has_e(); |
10168 | 0 | _impl_.markup_oneof_.e_ = CreateMaybeMessage< ::xmlProtoFuzzer::ElementDecl >(GetArenaForAllocation()); |
10169 | 0 | } |
10170 | 0 | return _impl_.markup_oneof_.e_; |
10171 | 0 | } |
10172 | 0 | inline ::xmlProtoFuzzer::ElementDecl* MarkupDecl::mutable_e() { |
10173 | 0 | ::xmlProtoFuzzer::ElementDecl* _msg = _internal_mutable_e(); |
10174 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.MarkupDecl.e) |
10175 | 0 | return _msg; |
10176 | 0 | } |
10177 | | |
10178 | | // .xmlProtoFuzzer.AttListDecl a = 2; |
10179 | 3.81k | inline bool MarkupDecl::_internal_has_a() const { |
10180 | 3.81k | return markup_oneof_case() == kA; |
10181 | 3.81k | } |
10182 | 0 | inline bool MarkupDecl::has_a() const { |
10183 | 0 | return _internal_has_a(); |
10184 | 0 | } |
10185 | 0 | inline void MarkupDecl::set_has_a() { |
10186 | 0 | _impl_._oneof_case_[0] = kA; |
10187 | 0 | } |
10188 | 0 | inline void MarkupDecl::clear_a() { |
10189 | 0 | if (_internal_has_a()) { |
10190 | 0 | if (GetArenaForAllocation() == nullptr) { |
10191 | 0 | delete _impl_.markup_oneof_.a_; |
10192 | 0 | } |
10193 | 0 | clear_has_markup_oneof(); |
10194 | 0 | } |
10195 | 0 | } |
10196 | 0 | inline ::xmlProtoFuzzer::AttListDecl* MarkupDecl::release_a() { |
10197 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.MarkupDecl.a) |
10198 | 0 | if (_internal_has_a()) { |
10199 | 0 | clear_has_markup_oneof(); |
10200 | 0 | ::xmlProtoFuzzer::AttListDecl* temp = _impl_.markup_oneof_.a_; |
10201 | 0 | if (GetArenaForAllocation() != nullptr) { |
10202 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10203 | 0 | } |
10204 | 0 | _impl_.markup_oneof_.a_ = nullptr; |
10205 | 0 | return temp; |
10206 | 0 | } else { |
10207 | 0 | return nullptr; |
10208 | 0 | } |
10209 | 0 | } |
10210 | 3.81k | inline const ::xmlProtoFuzzer::AttListDecl& MarkupDecl::_internal_a() const { |
10211 | 3.81k | return _internal_has_a() |
10212 | 3.81k | ? *_impl_.markup_oneof_.a_ |
10213 | 3.81k | : reinterpret_cast< ::xmlProtoFuzzer::AttListDecl&>(::xmlProtoFuzzer::_AttListDecl_default_instance_); |
10214 | 3.81k | } |
10215 | 3.81k | inline const ::xmlProtoFuzzer::AttListDecl& MarkupDecl::a() const { |
10216 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.MarkupDecl.a) |
10217 | 3.81k | return _internal_a(); |
10218 | 3.81k | } |
10219 | 0 | inline ::xmlProtoFuzzer::AttListDecl* MarkupDecl::unsafe_arena_release_a() { |
10220 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.MarkupDecl.a) |
10221 | 0 | if (_internal_has_a()) { |
10222 | 0 | clear_has_markup_oneof(); |
10223 | 0 | ::xmlProtoFuzzer::AttListDecl* temp = _impl_.markup_oneof_.a_; |
10224 | 0 | _impl_.markup_oneof_.a_ = nullptr; |
10225 | 0 | return temp; |
10226 | 0 | } else { |
10227 | 0 | return nullptr; |
10228 | 0 | } |
10229 | 0 | } |
10230 | 0 | inline void MarkupDecl::unsafe_arena_set_allocated_a(::xmlProtoFuzzer::AttListDecl* a) { |
10231 | 0 | clear_markup_oneof(); |
10232 | 0 | if (a) { |
10233 | 0 | set_has_a(); |
10234 | 0 | _impl_.markup_oneof_.a_ = a; |
10235 | 0 | } |
10236 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.MarkupDecl.a) |
10237 | 0 | } |
10238 | 0 | inline ::xmlProtoFuzzer::AttListDecl* MarkupDecl::_internal_mutable_a() { |
10239 | 0 | if (!_internal_has_a()) { |
10240 | 0 | clear_markup_oneof(); |
10241 | 0 | set_has_a(); |
10242 | 0 | _impl_.markup_oneof_.a_ = CreateMaybeMessage< ::xmlProtoFuzzer::AttListDecl >(GetArenaForAllocation()); |
10243 | 0 | } |
10244 | 0 | return _impl_.markup_oneof_.a_; |
10245 | 0 | } |
10246 | 0 | inline ::xmlProtoFuzzer::AttListDecl* MarkupDecl::mutable_a() { |
10247 | 0 | ::xmlProtoFuzzer::AttListDecl* _msg = _internal_mutable_a(); |
10248 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.MarkupDecl.a) |
10249 | 0 | return _msg; |
10250 | 0 | } |
10251 | | |
10252 | | // .xmlProtoFuzzer.NotationDecl n = 3; |
10253 | 5.15k | inline bool MarkupDecl::_internal_has_n() const { |
10254 | 5.15k | return markup_oneof_case() == kN; |
10255 | 5.15k | } |
10256 | 0 | inline bool MarkupDecl::has_n() const { |
10257 | 0 | return _internal_has_n(); |
10258 | 0 | } |
10259 | 0 | inline void MarkupDecl::set_has_n() { |
10260 | 0 | _impl_._oneof_case_[0] = kN; |
10261 | 0 | } |
10262 | 0 | inline void MarkupDecl::clear_n() { |
10263 | 0 | if (_internal_has_n()) { |
10264 | 0 | if (GetArenaForAllocation() == nullptr) { |
10265 | 0 | delete _impl_.markup_oneof_.n_; |
10266 | 0 | } |
10267 | 0 | clear_has_markup_oneof(); |
10268 | 0 | } |
10269 | 0 | } |
10270 | 0 | inline ::xmlProtoFuzzer::NotationDecl* MarkupDecl::release_n() { |
10271 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.MarkupDecl.n) |
10272 | 0 | if (_internal_has_n()) { |
10273 | 0 | clear_has_markup_oneof(); |
10274 | 0 | ::xmlProtoFuzzer::NotationDecl* temp = _impl_.markup_oneof_.n_; |
10275 | 0 | if (GetArenaForAllocation() != nullptr) { |
10276 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10277 | 0 | } |
10278 | 0 | _impl_.markup_oneof_.n_ = nullptr; |
10279 | 0 | return temp; |
10280 | 0 | } else { |
10281 | 0 | return nullptr; |
10282 | 0 | } |
10283 | 0 | } |
10284 | 5.15k | inline const ::xmlProtoFuzzer::NotationDecl& MarkupDecl::_internal_n() const { |
10285 | 5.15k | return _internal_has_n() |
10286 | 5.15k | ? *_impl_.markup_oneof_.n_ |
10287 | 5.15k | : reinterpret_cast< ::xmlProtoFuzzer::NotationDecl&>(::xmlProtoFuzzer::_NotationDecl_default_instance_); |
10288 | 5.15k | } |
10289 | 5.15k | inline const ::xmlProtoFuzzer::NotationDecl& MarkupDecl::n() const { |
10290 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.MarkupDecl.n) |
10291 | 5.15k | return _internal_n(); |
10292 | 5.15k | } |
10293 | 0 | inline ::xmlProtoFuzzer::NotationDecl* MarkupDecl::unsafe_arena_release_n() { |
10294 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.MarkupDecl.n) |
10295 | 0 | if (_internal_has_n()) { |
10296 | 0 | clear_has_markup_oneof(); |
10297 | 0 | ::xmlProtoFuzzer::NotationDecl* temp = _impl_.markup_oneof_.n_; |
10298 | 0 | _impl_.markup_oneof_.n_ = nullptr; |
10299 | 0 | return temp; |
10300 | 0 | } else { |
10301 | 0 | return nullptr; |
10302 | 0 | } |
10303 | 0 | } |
10304 | 0 | inline void MarkupDecl::unsafe_arena_set_allocated_n(::xmlProtoFuzzer::NotationDecl* n) { |
10305 | 0 | clear_markup_oneof(); |
10306 | 0 | if (n) { |
10307 | 0 | set_has_n(); |
10308 | 0 | _impl_.markup_oneof_.n_ = n; |
10309 | 0 | } |
10310 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.MarkupDecl.n) |
10311 | 0 | } |
10312 | 0 | inline ::xmlProtoFuzzer::NotationDecl* MarkupDecl::_internal_mutable_n() { |
10313 | 0 | if (!_internal_has_n()) { |
10314 | 0 | clear_markup_oneof(); |
10315 | 0 | set_has_n(); |
10316 | 0 | _impl_.markup_oneof_.n_ = CreateMaybeMessage< ::xmlProtoFuzzer::NotationDecl >(GetArenaForAllocation()); |
10317 | 0 | } |
10318 | 0 | return _impl_.markup_oneof_.n_; |
10319 | 0 | } |
10320 | 0 | inline ::xmlProtoFuzzer::NotationDecl* MarkupDecl::mutable_n() { |
10321 | 0 | ::xmlProtoFuzzer::NotationDecl* _msg = _internal_mutable_n(); |
10322 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.MarkupDecl.n) |
10323 | 0 | return _msg; |
10324 | 0 | } |
10325 | | |
10326 | | // .xmlProtoFuzzer.Misc m = 4; |
10327 | 1.91k | inline bool MarkupDecl::_internal_has_m() const { |
10328 | 1.91k | return markup_oneof_case() == kM; |
10329 | 1.91k | } |
10330 | 0 | inline bool MarkupDecl::has_m() const { |
10331 | 0 | return _internal_has_m(); |
10332 | 0 | } |
10333 | 0 | inline void MarkupDecl::set_has_m() { |
10334 | 0 | _impl_._oneof_case_[0] = kM; |
10335 | 0 | } |
10336 | 0 | inline void MarkupDecl::clear_m() { |
10337 | 0 | if (_internal_has_m()) { |
10338 | 0 | if (GetArenaForAllocation() == nullptr) { |
10339 | 0 | delete _impl_.markup_oneof_.m_; |
10340 | 0 | } |
10341 | 0 | clear_has_markup_oneof(); |
10342 | 0 | } |
10343 | 0 | } |
10344 | 0 | inline ::xmlProtoFuzzer::Misc* MarkupDecl::release_m() { |
10345 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.MarkupDecl.m) |
10346 | 0 | if (_internal_has_m()) { |
10347 | 0 | clear_has_markup_oneof(); |
10348 | 0 | ::xmlProtoFuzzer::Misc* temp = _impl_.markup_oneof_.m_; |
10349 | 0 | if (GetArenaForAllocation() != nullptr) { |
10350 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10351 | 0 | } |
10352 | 0 | _impl_.markup_oneof_.m_ = nullptr; |
10353 | 0 | return temp; |
10354 | 0 | } else { |
10355 | 0 | return nullptr; |
10356 | 0 | } |
10357 | 0 | } |
10358 | 1.91k | inline const ::xmlProtoFuzzer::Misc& MarkupDecl::_internal_m() const { |
10359 | 1.91k | return _internal_has_m() |
10360 | 1.91k | ? *_impl_.markup_oneof_.m_ |
10361 | 1.91k | : reinterpret_cast< ::xmlProtoFuzzer::Misc&>(::xmlProtoFuzzer::_Misc_default_instance_); |
10362 | 1.91k | } |
10363 | 1.91k | inline const ::xmlProtoFuzzer::Misc& MarkupDecl::m() const { |
10364 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.MarkupDecl.m) |
10365 | 1.91k | return _internal_m(); |
10366 | 1.91k | } |
10367 | 0 | inline ::xmlProtoFuzzer::Misc* MarkupDecl::unsafe_arena_release_m() { |
10368 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.MarkupDecl.m) |
10369 | 0 | if (_internal_has_m()) { |
10370 | 0 | clear_has_markup_oneof(); |
10371 | 0 | ::xmlProtoFuzzer::Misc* temp = _impl_.markup_oneof_.m_; |
10372 | 0 | _impl_.markup_oneof_.m_ = nullptr; |
10373 | 0 | return temp; |
10374 | 0 | } else { |
10375 | 0 | return nullptr; |
10376 | 0 | } |
10377 | 0 | } |
10378 | 0 | inline void MarkupDecl::unsafe_arena_set_allocated_m(::xmlProtoFuzzer::Misc* m) { |
10379 | 0 | clear_markup_oneof(); |
10380 | 0 | if (m) { |
10381 | 0 | set_has_m(); |
10382 | 0 | _impl_.markup_oneof_.m_ = m; |
10383 | 0 | } |
10384 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.MarkupDecl.m) |
10385 | 0 | } |
10386 | 0 | inline ::xmlProtoFuzzer::Misc* MarkupDecl::_internal_mutable_m() { |
10387 | 0 | if (!_internal_has_m()) { |
10388 | 0 | clear_markup_oneof(); |
10389 | 0 | set_has_m(); |
10390 | 0 | _impl_.markup_oneof_.m_ = CreateMaybeMessage< ::xmlProtoFuzzer::Misc >(GetArenaForAllocation()); |
10391 | 0 | } |
10392 | 0 | return _impl_.markup_oneof_.m_; |
10393 | 0 | } |
10394 | 0 | inline ::xmlProtoFuzzer::Misc* MarkupDecl::mutable_m() { |
10395 | 0 | ::xmlProtoFuzzer::Misc* _msg = _internal_mutable_m(); |
10396 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.MarkupDecl.m) |
10397 | 0 | return _msg; |
10398 | 0 | } |
10399 | | |
10400 | | // .xmlProtoFuzzer.EntityDecl entity = 5; |
10401 | 12.4k | inline bool MarkupDecl::_internal_has_entity() const { |
10402 | 12.4k | return markup_oneof_case() == kEntity; |
10403 | 12.4k | } |
10404 | 0 | inline bool MarkupDecl::has_entity() const { |
10405 | 0 | return _internal_has_entity(); |
10406 | 0 | } |
10407 | 0 | inline void MarkupDecl::set_has_entity() { |
10408 | 0 | _impl_._oneof_case_[0] = kEntity; |
10409 | 0 | } |
10410 | 0 | inline void MarkupDecl::clear_entity() { |
10411 | 0 | if (_internal_has_entity()) { |
10412 | 0 | if (GetArenaForAllocation() == nullptr) { |
10413 | 0 | delete _impl_.markup_oneof_.entity_; |
10414 | 0 | } |
10415 | 0 | clear_has_markup_oneof(); |
10416 | 0 | } |
10417 | 0 | } |
10418 | 0 | inline ::xmlProtoFuzzer::EntityDecl* MarkupDecl::release_entity() { |
10419 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.MarkupDecl.entity) |
10420 | 0 | if (_internal_has_entity()) { |
10421 | 0 | clear_has_markup_oneof(); |
10422 | 0 | ::xmlProtoFuzzer::EntityDecl* temp = _impl_.markup_oneof_.entity_; |
10423 | 0 | if (GetArenaForAllocation() != nullptr) { |
10424 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10425 | 0 | } |
10426 | 0 | _impl_.markup_oneof_.entity_ = nullptr; |
10427 | 0 | return temp; |
10428 | 0 | } else { |
10429 | 0 | return nullptr; |
10430 | 0 | } |
10431 | 0 | } |
10432 | 12.4k | inline const ::xmlProtoFuzzer::EntityDecl& MarkupDecl::_internal_entity() const { |
10433 | 12.4k | return _internal_has_entity() |
10434 | 12.4k | ? *_impl_.markup_oneof_.entity_ |
10435 | 12.4k | : reinterpret_cast< ::xmlProtoFuzzer::EntityDecl&>(::xmlProtoFuzzer::_EntityDecl_default_instance_); |
10436 | 12.4k | } |
10437 | 12.4k | inline const ::xmlProtoFuzzer::EntityDecl& MarkupDecl::entity() const { |
10438 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.MarkupDecl.entity) |
10439 | 12.4k | return _internal_entity(); |
10440 | 12.4k | } |
10441 | 0 | inline ::xmlProtoFuzzer::EntityDecl* MarkupDecl::unsafe_arena_release_entity() { |
10442 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.MarkupDecl.entity) |
10443 | 0 | if (_internal_has_entity()) { |
10444 | 0 | clear_has_markup_oneof(); |
10445 | 0 | ::xmlProtoFuzzer::EntityDecl* temp = _impl_.markup_oneof_.entity_; |
10446 | 0 | _impl_.markup_oneof_.entity_ = nullptr; |
10447 | 0 | return temp; |
10448 | 0 | } else { |
10449 | 0 | return nullptr; |
10450 | 0 | } |
10451 | 0 | } |
10452 | 0 | inline void MarkupDecl::unsafe_arena_set_allocated_entity(::xmlProtoFuzzer::EntityDecl* entity) { |
10453 | 0 | clear_markup_oneof(); |
10454 | 0 | if (entity) { |
10455 | 0 | set_has_entity(); |
10456 | 0 | _impl_.markup_oneof_.entity_ = entity; |
10457 | 0 | } |
10458 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.MarkupDecl.entity) |
10459 | 0 | } |
10460 | 0 | inline ::xmlProtoFuzzer::EntityDecl* MarkupDecl::_internal_mutable_entity() { |
10461 | 0 | if (!_internal_has_entity()) { |
10462 | 0 | clear_markup_oneof(); |
10463 | 0 | set_has_entity(); |
10464 | 0 | _impl_.markup_oneof_.entity_ = CreateMaybeMessage< ::xmlProtoFuzzer::EntityDecl >(GetArenaForAllocation()); |
10465 | 0 | } |
10466 | 0 | return _impl_.markup_oneof_.entity_; |
10467 | 0 | } |
10468 | 0 | inline ::xmlProtoFuzzer::EntityDecl* MarkupDecl::mutable_entity() { |
10469 | 0 | ::xmlProtoFuzzer::EntityDecl* _msg = _internal_mutable_entity(); |
10470 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.MarkupDecl.entity) |
10471 | 0 | return _msg; |
10472 | 0 | } |
10473 | | |
10474 | | // .xmlProtoFuzzer.ExtSubsetDecl ext = 6; |
10475 | 5.03k | inline bool MarkupDecl::_internal_has_ext() const { |
10476 | 5.03k | return markup_oneof_case() == kExt; |
10477 | 5.03k | } |
10478 | 0 | inline bool MarkupDecl::has_ext() const { |
10479 | 0 | return _internal_has_ext(); |
10480 | 0 | } |
10481 | 0 | inline void MarkupDecl::set_has_ext() { |
10482 | 0 | _impl_._oneof_case_[0] = kExt; |
10483 | 0 | } |
10484 | 0 | inline void MarkupDecl::clear_ext() { |
10485 | 0 | if (_internal_has_ext()) { |
10486 | 0 | if (GetArenaForAllocation() == nullptr) { |
10487 | 0 | delete _impl_.markup_oneof_.ext_; |
10488 | 0 | } |
10489 | 0 | clear_has_markup_oneof(); |
10490 | 0 | } |
10491 | 0 | } |
10492 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* MarkupDecl::release_ext() { |
10493 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.MarkupDecl.ext) |
10494 | 0 | if (_internal_has_ext()) { |
10495 | 0 | clear_has_markup_oneof(); |
10496 | 0 | ::xmlProtoFuzzer::ExtSubsetDecl* temp = _impl_.markup_oneof_.ext_; |
10497 | 0 | if (GetArenaForAllocation() != nullptr) { |
10498 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10499 | 0 | } |
10500 | 0 | _impl_.markup_oneof_.ext_ = nullptr; |
10501 | 0 | return temp; |
10502 | 0 | } else { |
10503 | 0 | return nullptr; |
10504 | 0 | } |
10505 | 0 | } |
10506 | 5.03k | inline const ::xmlProtoFuzzer::ExtSubsetDecl& MarkupDecl::_internal_ext() const { |
10507 | 5.03k | return _internal_has_ext() |
10508 | 5.03k | ? *_impl_.markup_oneof_.ext_ |
10509 | 5.03k | : reinterpret_cast< ::xmlProtoFuzzer::ExtSubsetDecl&>(::xmlProtoFuzzer::_ExtSubsetDecl_default_instance_); |
10510 | 5.03k | } |
10511 | 5.03k | inline const ::xmlProtoFuzzer::ExtSubsetDecl& MarkupDecl::ext() const { |
10512 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.MarkupDecl.ext) |
10513 | 5.03k | return _internal_ext(); |
10514 | 5.03k | } |
10515 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* MarkupDecl::unsafe_arena_release_ext() { |
10516 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.MarkupDecl.ext) |
10517 | 0 | if (_internal_has_ext()) { |
10518 | 0 | clear_has_markup_oneof(); |
10519 | 0 | ::xmlProtoFuzzer::ExtSubsetDecl* temp = _impl_.markup_oneof_.ext_; |
10520 | 0 | _impl_.markup_oneof_.ext_ = nullptr; |
10521 | 0 | return temp; |
10522 | 0 | } else { |
10523 | 0 | return nullptr; |
10524 | 0 | } |
10525 | 0 | } |
10526 | 0 | inline void MarkupDecl::unsafe_arena_set_allocated_ext(::xmlProtoFuzzer::ExtSubsetDecl* ext) { |
10527 | 0 | clear_markup_oneof(); |
10528 | 0 | if (ext) { |
10529 | 0 | set_has_ext(); |
10530 | 0 | _impl_.markup_oneof_.ext_ = ext; |
10531 | 0 | } |
10532 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.MarkupDecl.ext) |
10533 | 0 | } |
10534 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* MarkupDecl::_internal_mutable_ext() { |
10535 | 0 | if (!_internal_has_ext()) { |
10536 | 0 | clear_markup_oneof(); |
10537 | 0 | set_has_ext(); |
10538 | 0 | _impl_.markup_oneof_.ext_ = CreateMaybeMessage< ::xmlProtoFuzzer::ExtSubsetDecl >(GetArenaForAllocation()); |
10539 | 0 | } |
10540 | 0 | return _impl_.markup_oneof_.ext_; |
10541 | 0 | } |
10542 | 0 | inline ::xmlProtoFuzzer::ExtSubsetDecl* MarkupDecl::mutable_ext() { |
10543 | 0 | ::xmlProtoFuzzer::ExtSubsetDecl* _msg = _internal_mutable_ext(); |
10544 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.MarkupDecl.ext) |
10545 | 0 | return _msg; |
10546 | 0 | } |
10547 | | |
10548 | 42.0k | inline bool MarkupDecl::has_markup_oneof() const { |
10549 | 42.0k | return markup_oneof_case() != MARKUP_ONEOF_NOT_SET; |
10550 | 42.0k | } |
10551 | 42.0k | inline void MarkupDecl::clear_has_markup_oneof() { |
10552 | 42.0k | _impl_._oneof_case_[0] = MARKUP_ONEOF_NOT_SET; |
10553 | 42.0k | } |
10554 | 151k | inline MarkupDecl::MarkupOneofCase MarkupDecl::markup_oneof_case() const { |
10555 | 151k | return MarkupDecl::MarkupOneofCase(_impl_._oneof_case_[0]); |
10556 | 151k | } |
10557 | | // ------------------------------------------------------------------- |
10558 | | |
10559 | | // DocTypeDecl |
10560 | | |
10561 | | // string name = 1; |
10562 | 0 | inline void DocTypeDecl::clear_name() { |
10563 | 0 | _impl_.name_.ClearToEmpty(); |
10564 | 0 | } |
10565 | 8.51k | inline const std::string& DocTypeDecl::name() const { |
10566 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.DocTypeDecl.name) |
10567 | 8.51k | return _internal_name(); |
10568 | 8.51k | } |
10569 | | template <typename ArgT0, typename... ArgT> |
10570 | | inline PROTOBUF_ALWAYS_INLINE |
10571 | | void DocTypeDecl::set_name(ArgT0&& arg0, ArgT... args) { |
10572 | | |
10573 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
10574 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.DocTypeDecl.name) |
10575 | | } |
10576 | 0 | inline std::string* DocTypeDecl::mutable_name() { |
10577 | 0 | std::string* _s = _internal_mutable_name(); |
10578 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.DocTypeDecl.name) |
10579 | 0 | return _s; |
10580 | 0 | } |
10581 | 8.51k | inline const std::string& DocTypeDecl::_internal_name() const { |
10582 | 8.51k | return _impl_.name_.Get(); |
10583 | 8.51k | } |
10584 | 0 | inline void DocTypeDecl::_internal_set_name(const std::string& value) { |
10585 | | |
10586 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
10587 | 0 | } |
10588 | 0 | inline std::string* DocTypeDecl::_internal_mutable_name() { |
10589 | | |
10590 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
10591 | 0 | } |
10592 | 0 | inline std::string* DocTypeDecl::release_name() { |
10593 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.DocTypeDecl.name) |
10594 | 0 | return _impl_.name_.Release(); |
10595 | 0 | } |
10596 | 0 | inline void DocTypeDecl::set_allocated_name(std::string* name) { |
10597 | 0 | if (name != nullptr) { |
10598 | 0 | |
10599 | 0 | } else { |
10600 | 0 | |
10601 | 0 | } |
10602 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
10603 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10604 | 0 | if (_impl_.name_.IsDefault()) { |
10605 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
10606 | 0 | } |
10607 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
10608 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.DocTypeDecl.name) |
10609 | 0 | } |
10610 | | |
10611 | | // .xmlProtoFuzzer.ExternalId ext = 2; |
10612 | 0 | inline bool DocTypeDecl::_internal_has_ext() const { |
10613 | 0 | return this != internal_default_instance() && _impl_.ext_ != nullptr; |
10614 | 0 | } |
10615 | 0 | inline bool DocTypeDecl::has_ext() const { |
10616 | 0 | return _internal_has_ext(); |
10617 | 0 | } |
10618 | 0 | inline void DocTypeDecl::clear_ext() { |
10619 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.ext_ != nullptr) { |
10620 | 0 | delete _impl_.ext_; |
10621 | 0 | } |
10622 | 0 | _impl_.ext_ = nullptr; |
10623 | 0 | } |
10624 | 8.51k | inline const ::xmlProtoFuzzer::ExternalId& DocTypeDecl::_internal_ext() const { |
10625 | 8.51k | const ::xmlProtoFuzzer::ExternalId* p = _impl_.ext_; |
10626 | 8.51k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::ExternalId&>( |
10627 | 7.55k | ::xmlProtoFuzzer::_ExternalId_default_instance_); |
10628 | 8.51k | } |
10629 | 8.51k | inline const ::xmlProtoFuzzer::ExternalId& DocTypeDecl::ext() const { |
10630 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.DocTypeDecl.ext) |
10631 | 8.51k | return _internal_ext(); |
10632 | 8.51k | } |
10633 | | inline void DocTypeDecl::unsafe_arena_set_allocated_ext( |
10634 | 0 | ::xmlProtoFuzzer::ExternalId* ext) { |
10635 | 0 | if (GetArenaForAllocation() == nullptr) { |
10636 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ext_); |
10637 | 0 | } |
10638 | 0 | _impl_.ext_ = ext; |
10639 | 0 | if (ext) { |
10640 | 0 | |
10641 | 0 | } else { |
10642 | 0 | |
10643 | 0 | } |
10644 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.DocTypeDecl.ext) |
10645 | 0 | } |
10646 | 0 | inline ::xmlProtoFuzzer::ExternalId* DocTypeDecl::release_ext() { |
10647 | 0 | |
10648 | 0 | ::xmlProtoFuzzer::ExternalId* temp = _impl_.ext_; |
10649 | 0 | _impl_.ext_ = nullptr; |
10650 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
10651 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
10652 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10653 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
10654 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
10655 | 0 | if (GetArenaForAllocation() != nullptr) { |
10656 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10657 | 0 | } |
10658 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
10659 | 0 | return temp; |
10660 | 0 | } |
10661 | 0 | inline ::xmlProtoFuzzer::ExternalId* DocTypeDecl::unsafe_arena_release_ext() { |
10662 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.DocTypeDecl.ext) |
10663 | 0 | |
10664 | 0 | ::xmlProtoFuzzer::ExternalId* temp = _impl_.ext_; |
10665 | 0 | _impl_.ext_ = nullptr; |
10666 | 0 | return temp; |
10667 | 0 | } |
10668 | 0 | inline ::xmlProtoFuzzer::ExternalId* DocTypeDecl::_internal_mutable_ext() { |
10669 | | |
10670 | 0 | if (_impl_.ext_ == nullptr) { |
10671 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::ExternalId>(GetArenaForAllocation()); |
10672 | 0 | _impl_.ext_ = p; |
10673 | 0 | } |
10674 | 0 | return _impl_.ext_; |
10675 | 0 | } |
10676 | 0 | inline ::xmlProtoFuzzer::ExternalId* DocTypeDecl::mutable_ext() { |
10677 | 0 | ::xmlProtoFuzzer::ExternalId* _msg = _internal_mutable_ext(); |
10678 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.DocTypeDecl.ext) |
10679 | 0 | return _msg; |
10680 | 0 | } |
10681 | 0 | inline void DocTypeDecl::set_allocated_ext(::xmlProtoFuzzer::ExternalId* ext) { |
10682 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
10683 | 0 | if (message_arena == nullptr) { |
10684 | 0 | delete _impl_.ext_; |
10685 | 0 | } |
10686 | 0 | if (ext) { |
10687 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
10688 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ext); |
10689 | 0 | if (message_arena != submessage_arena) { |
10690 | 0 | ext = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
10691 | 0 | message_arena, ext, submessage_arena); |
10692 | 0 | } |
10693 | 0 | |
10694 | 0 | } else { |
10695 | 0 | |
10696 | 0 | } |
10697 | 0 | _impl_.ext_ = ext; |
10698 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.DocTypeDecl.ext) |
10699 | 0 | } |
10700 | | |
10701 | | // repeated .xmlProtoFuzzer.MarkupDecl mdecl = 3; |
10702 | 0 | inline int DocTypeDecl::_internal_mdecl_size() const { |
10703 | 0 | return _impl_.mdecl_.size(); |
10704 | 0 | } |
10705 | 0 | inline int DocTypeDecl::mdecl_size() const { |
10706 | 0 | return _internal_mdecl_size(); |
10707 | 0 | } |
10708 | 0 | inline void DocTypeDecl::clear_mdecl() { |
10709 | 0 | _impl_.mdecl_.Clear(); |
10710 | 0 | } |
10711 | 0 | inline ::xmlProtoFuzzer::MarkupDecl* DocTypeDecl::mutable_mdecl(int index) { |
10712 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.DocTypeDecl.mdecl) |
10713 | 0 | return _impl_.mdecl_.Mutable(index); |
10714 | 0 | } |
10715 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::MarkupDecl >* |
10716 | 0 | DocTypeDecl::mutable_mdecl() { |
10717 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.DocTypeDecl.mdecl) |
10718 | 0 | return &_impl_.mdecl_; |
10719 | 0 | } |
10720 | 0 | inline const ::xmlProtoFuzzer::MarkupDecl& DocTypeDecl::_internal_mdecl(int index) const { |
10721 | 0 | return _impl_.mdecl_.Get(index); |
10722 | 0 | } |
10723 | 0 | inline const ::xmlProtoFuzzer::MarkupDecl& DocTypeDecl::mdecl(int index) const { |
10724 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.DocTypeDecl.mdecl) |
10725 | 0 | return _internal_mdecl(index); |
10726 | 0 | } |
10727 | 0 | inline ::xmlProtoFuzzer::MarkupDecl* DocTypeDecl::_internal_add_mdecl() { |
10728 | 0 | return _impl_.mdecl_.Add(); |
10729 | 0 | } |
10730 | 0 | inline ::xmlProtoFuzzer::MarkupDecl* DocTypeDecl::add_mdecl() { |
10731 | 0 | ::xmlProtoFuzzer::MarkupDecl* _add = _internal_add_mdecl(); |
10732 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.DocTypeDecl.mdecl) |
10733 | 0 | return _add; |
10734 | 0 | } |
10735 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::MarkupDecl >& |
10736 | 8.51k | DocTypeDecl::mdecl() const { |
10737 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.DocTypeDecl.mdecl) |
10738 | 8.51k | return _impl_.mdecl_; |
10739 | 8.51k | } |
10740 | | |
10741 | | // ------------------------------------------------------------------- |
10742 | | |
10743 | | // Prolog |
10744 | | |
10745 | | // .xmlProtoFuzzer.XmlDeclaration decl = 1; |
10746 | 0 | inline bool Prolog::_internal_has_decl() const { |
10747 | 0 | return this != internal_default_instance() && _impl_.decl_ != nullptr; |
10748 | 0 | } |
10749 | 0 | inline bool Prolog::has_decl() const { |
10750 | 0 | return _internal_has_decl(); |
10751 | 0 | } |
10752 | 0 | inline void Prolog::clear_decl() { |
10753 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.decl_ != nullptr) { |
10754 | 0 | delete _impl_.decl_; |
10755 | 0 | } |
10756 | 0 | _impl_.decl_ = nullptr; |
10757 | 0 | } |
10758 | 8.51k | inline const ::xmlProtoFuzzer::XmlDeclaration& Prolog::_internal_decl() const { |
10759 | 8.51k | const ::xmlProtoFuzzer::XmlDeclaration* p = _impl_.decl_; |
10760 | 8.51k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::XmlDeclaration&>( |
10761 | 6.42k | ::xmlProtoFuzzer::_XmlDeclaration_default_instance_); |
10762 | 8.51k | } |
10763 | 8.51k | inline const ::xmlProtoFuzzer::XmlDeclaration& Prolog::decl() const { |
10764 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Prolog.decl) |
10765 | 8.51k | return _internal_decl(); |
10766 | 8.51k | } |
10767 | | inline void Prolog::unsafe_arena_set_allocated_decl( |
10768 | 0 | ::xmlProtoFuzzer::XmlDeclaration* decl) { |
10769 | 0 | if (GetArenaForAllocation() == nullptr) { |
10770 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.decl_); |
10771 | 0 | } |
10772 | 0 | _impl_.decl_ = decl; |
10773 | 0 | if (decl) { |
10774 | 0 | |
10775 | 0 | } else { |
10776 | 0 | |
10777 | 0 | } |
10778 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.Prolog.decl) |
10779 | 0 | } |
10780 | 0 | inline ::xmlProtoFuzzer::XmlDeclaration* Prolog::release_decl() { |
10781 | 0 | |
10782 | 0 | ::xmlProtoFuzzer::XmlDeclaration* temp = _impl_.decl_; |
10783 | 0 | _impl_.decl_ = nullptr; |
10784 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
10785 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
10786 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10787 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
10788 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
10789 | 0 | if (GetArenaForAllocation() != nullptr) { |
10790 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10791 | 0 | } |
10792 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
10793 | 0 | return temp; |
10794 | 0 | } |
10795 | 0 | inline ::xmlProtoFuzzer::XmlDeclaration* Prolog::unsafe_arena_release_decl() { |
10796 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Prolog.decl) |
10797 | 0 | |
10798 | 0 | ::xmlProtoFuzzer::XmlDeclaration* temp = _impl_.decl_; |
10799 | 0 | _impl_.decl_ = nullptr; |
10800 | 0 | return temp; |
10801 | 0 | } |
10802 | 0 | inline ::xmlProtoFuzzer::XmlDeclaration* Prolog::_internal_mutable_decl() { |
10803 | | |
10804 | 0 | if (_impl_.decl_ == nullptr) { |
10805 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::XmlDeclaration>(GetArenaForAllocation()); |
10806 | 0 | _impl_.decl_ = p; |
10807 | 0 | } |
10808 | 0 | return _impl_.decl_; |
10809 | 0 | } |
10810 | 0 | inline ::xmlProtoFuzzer::XmlDeclaration* Prolog::mutable_decl() { |
10811 | 0 | ::xmlProtoFuzzer::XmlDeclaration* _msg = _internal_mutable_decl(); |
10812 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Prolog.decl) |
10813 | 0 | return _msg; |
10814 | 0 | } |
10815 | 0 | inline void Prolog::set_allocated_decl(::xmlProtoFuzzer::XmlDeclaration* decl) { |
10816 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
10817 | 0 | if (message_arena == nullptr) { |
10818 | 0 | delete _impl_.decl_; |
10819 | 0 | } |
10820 | 0 | if (decl) { |
10821 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
10822 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(decl); |
10823 | 0 | if (message_arena != submessage_arena) { |
10824 | 0 | decl = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
10825 | 0 | message_arena, decl, submessage_arena); |
10826 | 0 | } |
10827 | 0 | |
10828 | 0 | } else { |
10829 | 0 | |
10830 | 0 | } |
10831 | 0 | _impl_.decl_ = decl; |
10832 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Prolog.decl) |
10833 | 0 | } |
10834 | | |
10835 | | // .xmlProtoFuzzer.DocTypeDecl doctype = 2; |
10836 | 0 | inline bool Prolog::_internal_has_doctype() const { |
10837 | 0 | return this != internal_default_instance() && _impl_.doctype_ != nullptr; |
10838 | 0 | } |
10839 | 0 | inline bool Prolog::has_doctype() const { |
10840 | 0 | return _internal_has_doctype(); |
10841 | 0 | } |
10842 | 0 | inline void Prolog::clear_doctype() { |
10843 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.doctype_ != nullptr) { |
10844 | 0 | delete _impl_.doctype_; |
10845 | 0 | } |
10846 | 0 | _impl_.doctype_ = nullptr; |
10847 | 0 | } |
10848 | 8.51k | inline const ::xmlProtoFuzzer::DocTypeDecl& Prolog::_internal_doctype() const { |
10849 | 8.51k | const ::xmlProtoFuzzer::DocTypeDecl* p = _impl_.doctype_; |
10850 | 8.51k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::DocTypeDecl&>( |
10851 | 936 | ::xmlProtoFuzzer::_DocTypeDecl_default_instance_); |
10852 | 8.51k | } |
10853 | 8.51k | inline const ::xmlProtoFuzzer::DocTypeDecl& Prolog::doctype() const { |
10854 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Prolog.doctype) |
10855 | 8.51k | return _internal_doctype(); |
10856 | 8.51k | } |
10857 | | inline void Prolog::unsafe_arena_set_allocated_doctype( |
10858 | 0 | ::xmlProtoFuzzer::DocTypeDecl* doctype) { |
10859 | 0 | if (GetArenaForAllocation() == nullptr) { |
10860 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.doctype_); |
10861 | 0 | } |
10862 | 0 | _impl_.doctype_ = doctype; |
10863 | 0 | if (doctype) { |
10864 | 0 | |
10865 | 0 | } else { |
10866 | 0 | |
10867 | 0 | } |
10868 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.Prolog.doctype) |
10869 | 0 | } |
10870 | 0 | inline ::xmlProtoFuzzer::DocTypeDecl* Prolog::release_doctype() { |
10871 | 0 | |
10872 | 0 | ::xmlProtoFuzzer::DocTypeDecl* temp = _impl_.doctype_; |
10873 | 0 | _impl_.doctype_ = nullptr; |
10874 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
10875 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
10876 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10877 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
10878 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
10879 | 0 | if (GetArenaForAllocation() != nullptr) { |
10880 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
10881 | 0 | } |
10882 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
10883 | 0 | return temp; |
10884 | 0 | } |
10885 | 0 | inline ::xmlProtoFuzzer::DocTypeDecl* Prolog::unsafe_arena_release_doctype() { |
10886 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Prolog.doctype) |
10887 | 0 | |
10888 | 0 | ::xmlProtoFuzzer::DocTypeDecl* temp = _impl_.doctype_; |
10889 | 0 | _impl_.doctype_ = nullptr; |
10890 | 0 | return temp; |
10891 | 0 | } |
10892 | 0 | inline ::xmlProtoFuzzer::DocTypeDecl* Prolog::_internal_mutable_doctype() { |
10893 | | |
10894 | 0 | if (_impl_.doctype_ == nullptr) { |
10895 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::DocTypeDecl>(GetArenaForAllocation()); |
10896 | 0 | _impl_.doctype_ = p; |
10897 | 0 | } |
10898 | 0 | return _impl_.doctype_; |
10899 | 0 | } |
10900 | 0 | inline ::xmlProtoFuzzer::DocTypeDecl* Prolog::mutable_doctype() { |
10901 | 0 | ::xmlProtoFuzzer::DocTypeDecl* _msg = _internal_mutable_doctype(); |
10902 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Prolog.doctype) |
10903 | 0 | return _msg; |
10904 | 0 | } |
10905 | 0 | inline void Prolog::set_allocated_doctype(::xmlProtoFuzzer::DocTypeDecl* doctype) { |
10906 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
10907 | 0 | if (message_arena == nullptr) { |
10908 | 0 | delete _impl_.doctype_; |
10909 | 0 | } |
10910 | 0 | if (doctype) { |
10911 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
10912 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(doctype); |
10913 | 0 | if (message_arena != submessage_arena) { |
10914 | 0 | doctype = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
10915 | 0 | message_arena, doctype, submessage_arena); |
10916 | 0 | } |
10917 | 0 | |
10918 | 0 | } else { |
10919 | 0 | |
10920 | 0 | } |
10921 | 0 | _impl_.doctype_ = doctype; |
10922 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Prolog.doctype) |
10923 | 0 | } |
10924 | | |
10925 | | // repeated .xmlProtoFuzzer.Misc misc = 3; |
10926 | 0 | inline int Prolog::_internal_misc_size() const { |
10927 | 0 | return _impl_.misc_.size(); |
10928 | 0 | } |
10929 | 0 | inline int Prolog::misc_size() const { |
10930 | 0 | return _internal_misc_size(); |
10931 | 0 | } |
10932 | 0 | inline void Prolog::clear_misc() { |
10933 | 0 | _impl_.misc_.Clear(); |
10934 | 0 | } |
10935 | 0 | inline ::xmlProtoFuzzer::Misc* Prolog::mutable_misc(int index) { |
10936 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Prolog.misc) |
10937 | 0 | return _impl_.misc_.Mutable(index); |
10938 | 0 | } |
10939 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::Misc >* |
10940 | 0 | Prolog::mutable_misc() { |
10941 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.Prolog.misc) |
10942 | 0 | return &_impl_.misc_; |
10943 | 0 | } |
10944 | 0 | inline const ::xmlProtoFuzzer::Misc& Prolog::_internal_misc(int index) const { |
10945 | 0 | return _impl_.misc_.Get(index); |
10946 | 0 | } |
10947 | 0 | inline const ::xmlProtoFuzzer::Misc& Prolog::misc(int index) const { |
10948 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Prolog.misc) |
10949 | 0 | return _internal_misc(index); |
10950 | 0 | } |
10951 | 0 | inline ::xmlProtoFuzzer::Misc* Prolog::_internal_add_misc() { |
10952 | 0 | return _impl_.misc_.Add(); |
10953 | 0 | } |
10954 | 0 | inline ::xmlProtoFuzzer::Misc* Prolog::add_misc() { |
10955 | 0 | ::xmlProtoFuzzer::Misc* _add = _internal_add_misc(); |
10956 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.Prolog.misc) |
10957 | 0 | return _add; |
10958 | 0 | } |
10959 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::Misc >& |
10960 | 8.51k | Prolog::misc() const { |
10961 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.Prolog.misc) |
10962 | 8.51k | return _impl_.misc_; |
10963 | 8.51k | } |
10964 | | |
10965 | | // ------------------------------------------------------------------- |
10966 | | |
10967 | | // KeyValue |
10968 | | |
10969 | | // .xmlProtoFuzzer.KeyValue.XmlNamespace type = 1; |
10970 | 0 | inline void KeyValue::clear_type() { |
10971 | 0 | _impl_.type_ = 0; |
10972 | 0 | } |
10973 | 84.6k | inline ::xmlProtoFuzzer::KeyValue_XmlNamespace KeyValue::_internal_type() const { |
10974 | 84.6k | return static_cast< ::xmlProtoFuzzer::KeyValue_XmlNamespace >(_impl_.type_); |
10975 | 84.6k | } |
10976 | 63.2k | inline ::xmlProtoFuzzer::KeyValue_XmlNamespace KeyValue::type() const { |
10977 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.KeyValue.type) |
10978 | 63.2k | return _internal_type(); |
10979 | 63.2k | } |
10980 | 0 | inline void KeyValue::_internal_set_type(::xmlProtoFuzzer::KeyValue_XmlNamespace value) { |
10981 | | |
10982 | 0 | _impl_.type_ = value; |
10983 | 0 | } |
10984 | 0 | inline void KeyValue::set_type(::xmlProtoFuzzer::KeyValue_XmlNamespace value) { |
10985 | 0 | _internal_set_type(value); |
10986 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.KeyValue.type) |
10987 | 0 | } |
10988 | | |
10989 | | // string key = 2; |
10990 | 0 | inline void KeyValue::clear_key() { |
10991 | 0 | _impl_.key_.ClearToEmpty(); |
10992 | 0 | } |
10993 | 10.7k | inline const std::string& KeyValue::key() const { |
10994 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.KeyValue.key) |
10995 | 10.7k | return _internal_key(); |
10996 | 10.7k | } |
10997 | | template <typename ArgT0, typename... ArgT> |
10998 | | inline PROTOBUF_ALWAYS_INLINE |
10999 | | void KeyValue::set_key(ArgT0&& arg0, ArgT... args) { |
11000 | | |
11001 | | _impl_.key_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
11002 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.KeyValue.key) |
11003 | | } |
11004 | 0 | inline std::string* KeyValue::mutable_key() { |
11005 | 0 | std::string* _s = _internal_mutable_key(); |
11006 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.KeyValue.key) |
11007 | 0 | return _s; |
11008 | 0 | } |
11009 | 30.1k | inline const std::string& KeyValue::_internal_key() const { |
11010 | 30.1k | return _impl_.key_.Get(); |
11011 | 30.1k | } |
11012 | 0 | inline void KeyValue::_internal_set_key(const std::string& value) { |
11013 | | |
11014 | 0 | _impl_.key_.Set(value, GetArenaForAllocation()); |
11015 | 0 | } |
11016 | 0 | inline std::string* KeyValue::_internal_mutable_key() { |
11017 | | |
11018 | 0 | return _impl_.key_.Mutable(GetArenaForAllocation()); |
11019 | 0 | } |
11020 | 0 | inline std::string* KeyValue::release_key() { |
11021 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.KeyValue.key) |
11022 | 0 | return _impl_.key_.Release(); |
11023 | 0 | } |
11024 | 0 | inline void KeyValue::set_allocated_key(std::string* key) { |
11025 | 0 | if (key != nullptr) { |
11026 | 0 | |
11027 | 0 | } else { |
11028 | 0 | |
11029 | 0 | } |
11030 | 0 | _impl_.key_.SetAllocated(key, GetArenaForAllocation()); |
11031 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11032 | 0 | if (_impl_.key_.IsDefault()) { |
11033 | 0 | _impl_.key_.Set("", GetArenaForAllocation()); |
11034 | 0 | } |
11035 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11036 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.KeyValue.key) |
11037 | 0 | } |
11038 | | |
11039 | | // string value = 3; |
11040 | 0 | inline void KeyValue::clear_value() { |
11041 | 0 | _impl_.value_.ClearToEmpty(); |
11042 | 0 | } |
11043 | 31.5k | inline const std::string& KeyValue::value() const { |
11044 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.KeyValue.value) |
11045 | 31.5k | return _internal_value(); |
11046 | 31.5k | } |
11047 | | template <typename ArgT0, typename... ArgT> |
11048 | | inline PROTOBUF_ALWAYS_INLINE |
11049 | | void KeyValue::set_value(ArgT0&& arg0, ArgT... args) { |
11050 | | |
11051 | | _impl_.value_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
11052 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.KeyValue.value) |
11053 | | } |
11054 | 0 | inline std::string* KeyValue::mutable_value() { |
11055 | 0 | std::string* _s = _internal_mutable_value(); |
11056 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.KeyValue.value) |
11057 | 0 | return _s; |
11058 | 0 | } |
11059 | 49.3k | inline const std::string& KeyValue::_internal_value() const { |
11060 | 49.3k | return _impl_.value_.Get(); |
11061 | 49.3k | } |
11062 | 0 | inline void KeyValue::_internal_set_value(const std::string& value) { |
11063 | | |
11064 | 0 | _impl_.value_.Set(value, GetArenaForAllocation()); |
11065 | 0 | } |
11066 | 0 | inline std::string* KeyValue::_internal_mutable_value() { |
11067 | | |
11068 | 0 | return _impl_.value_.Mutable(GetArenaForAllocation()); |
11069 | 0 | } |
11070 | 0 | inline std::string* KeyValue::release_value() { |
11071 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.KeyValue.value) |
11072 | 0 | return _impl_.value_.Release(); |
11073 | 0 | } |
11074 | 0 | inline void KeyValue::set_allocated_value(std::string* value) { |
11075 | 0 | if (value != nullptr) { |
11076 | 0 | |
11077 | 0 | } else { |
11078 | 0 | |
11079 | 0 | } |
11080 | 0 | _impl_.value_.SetAllocated(value, GetArenaForAllocation()); |
11081 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11082 | 0 | if (_impl_.value_.IsDefault()) { |
11083 | 0 | _impl_.value_.Set("", GetArenaForAllocation()); |
11084 | 0 | } |
11085 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11086 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.KeyValue.value) |
11087 | 0 | } |
11088 | | |
11089 | | // ------------------------------------------------------------------- |
11090 | | |
11091 | | // ProcessingInstruction |
11092 | | |
11093 | | // string name = 1; |
11094 | 0 | inline void ProcessingInstruction::clear_name() { |
11095 | 0 | _impl_.name_.ClearToEmpty(); |
11096 | 0 | } |
11097 | 1.37k | inline const std::string& ProcessingInstruction::name() const { |
11098 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ProcessingInstruction.name) |
11099 | 1.37k | return _internal_name(); |
11100 | 1.37k | } |
11101 | | template <typename ArgT0, typename... ArgT> |
11102 | | inline PROTOBUF_ALWAYS_INLINE |
11103 | | void ProcessingInstruction::set_name(ArgT0&& arg0, ArgT... args) { |
11104 | | |
11105 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
11106 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.ProcessingInstruction.name) |
11107 | | } |
11108 | 0 | inline std::string* ProcessingInstruction::mutable_name() { |
11109 | 0 | std::string* _s = _internal_mutable_name(); |
11110 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ProcessingInstruction.name) |
11111 | 0 | return _s; |
11112 | 0 | } |
11113 | 1.37k | inline const std::string& ProcessingInstruction::_internal_name() const { |
11114 | 1.37k | return _impl_.name_.Get(); |
11115 | 1.37k | } |
11116 | 0 | inline void ProcessingInstruction::_internal_set_name(const std::string& value) { |
11117 | | |
11118 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
11119 | 0 | } |
11120 | 0 | inline std::string* ProcessingInstruction::_internal_mutable_name() { |
11121 | | |
11122 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
11123 | 0 | } |
11124 | 0 | inline std::string* ProcessingInstruction::release_name() { |
11125 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.ProcessingInstruction.name) |
11126 | 0 | return _impl_.name_.Release(); |
11127 | 0 | } |
11128 | 0 | inline void ProcessingInstruction::set_allocated_name(std::string* name) { |
11129 | 0 | if (name != nullptr) { |
11130 | 0 | |
11131 | 0 | } else { |
11132 | 0 | |
11133 | 0 | } |
11134 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
11135 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11136 | 0 | if (_impl_.name_.IsDefault()) { |
11137 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
11138 | 0 | } |
11139 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11140 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.ProcessingInstruction.name) |
11141 | 0 | } |
11142 | | |
11143 | | // repeated .xmlProtoFuzzer.KeyValue kv = 2; |
11144 | 0 | inline int ProcessingInstruction::_internal_kv_size() const { |
11145 | 0 | return _impl_.kv_.size(); |
11146 | 0 | } |
11147 | 0 | inline int ProcessingInstruction::kv_size() const { |
11148 | 0 | return _internal_kv_size(); |
11149 | 0 | } |
11150 | 0 | inline void ProcessingInstruction::clear_kv() { |
11151 | 0 | _impl_.kv_.Clear(); |
11152 | 0 | } |
11153 | 0 | inline ::xmlProtoFuzzer::KeyValue* ProcessingInstruction::mutable_kv(int index) { |
11154 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.ProcessingInstruction.kv) |
11155 | 0 | return _impl_.kv_.Mutable(index); |
11156 | 0 | } |
11157 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::KeyValue >* |
11158 | 0 | ProcessingInstruction::mutable_kv() { |
11159 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.ProcessingInstruction.kv) |
11160 | 0 | return &_impl_.kv_; |
11161 | 0 | } |
11162 | 0 | inline const ::xmlProtoFuzzer::KeyValue& ProcessingInstruction::_internal_kv(int index) const { |
11163 | 0 | return _impl_.kv_.Get(index); |
11164 | 0 | } |
11165 | 0 | inline const ::xmlProtoFuzzer::KeyValue& ProcessingInstruction::kv(int index) const { |
11166 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.ProcessingInstruction.kv) |
11167 | 0 | return _internal_kv(index); |
11168 | 0 | } |
11169 | 0 | inline ::xmlProtoFuzzer::KeyValue* ProcessingInstruction::_internal_add_kv() { |
11170 | 0 | return _impl_.kv_.Add(); |
11171 | 0 | } |
11172 | 0 | inline ::xmlProtoFuzzer::KeyValue* ProcessingInstruction::add_kv() { |
11173 | 0 | ::xmlProtoFuzzer::KeyValue* _add = _internal_add_kv(); |
11174 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.ProcessingInstruction.kv) |
11175 | 0 | return _add; |
11176 | 0 | } |
11177 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::KeyValue >& |
11178 | 1.37k | ProcessingInstruction::kv() const { |
11179 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.ProcessingInstruction.kv) |
11180 | 1.37k | return _impl_.kv_; |
11181 | 1.37k | } |
11182 | | |
11183 | | // ------------------------------------------------------------------- |
11184 | | |
11185 | | // CData |
11186 | | |
11187 | | // string data = 1; |
11188 | 0 | inline void CData::clear_data() { |
11189 | 0 | _impl_.data_.ClearToEmpty(); |
11190 | 0 | } |
11191 | 3.27k | inline const std::string& CData::data() const { |
11192 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.CData.data) |
11193 | 3.27k | return _internal_data(); |
11194 | 3.27k | } |
11195 | | template <typename ArgT0, typename... ArgT> |
11196 | | inline PROTOBUF_ALWAYS_INLINE |
11197 | | void CData::set_data(ArgT0&& arg0, ArgT... args) { |
11198 | | |
11199 | | _impl_.data_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
11200 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.CData.data) |
11201 | | } |
11202 | 0 | inline std::string* CData::mutable_data() { |
11203 | 0 | std::string* _s = _internal_mutable_data(); |
11204 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.CData.data) |
11205 | 0 | return _s; |
11206 | 0 | } |
11207 | 3.27k | inline const std::string& CData::_internal_data() const { |
11208 | 3.27k | return _impl_.data_.Get(); |
11209 | 3.27k | } |
11210 | 0 | inline void CData::_internal_set_data(const std::string& value) { |
11211 | | |
11212 | 0 | _impl_.data_.Set(value, GetArenaForAllocation()); |
11213 | 0 | } |
11214 | 0 | inline std::string* CData::_internal_mutable_data() { |
11215 | | |
11216 | 0 | return _impl_.data_.Mutable(GetArenaForAllocation()); |
11217 | 0 | } |
11218 | 0 | inline std::string* CData::release_data() { |
11219 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.CData.data) |
11220 | 0 | return _impl_.data_.Release(); |
11221 | 0 | } |
11222 | 0 | inline void CData::set_allocated_data(std::string* data) { |
11223 | 0 | if (data != nullptr) { |
11224 | 0 | |
11225 | 0 | } else { |
11226 | 0 | |
11227 | 0 | } |
11228 | 0 | _impl_.data_.SetAllocated(data, GetArenaForAllocation()); |
11229 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11230 | 0 | if (_impl_.data_.IsDefault()) { |
11231 | 0 | _impl_.data_.Set("", GetArenaForAllocation()); |
11232 | 0 | } |
11233 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11234 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.CData.data) |
11235 | 0 | } |
11236 | | |
11237 | | // ------------------------------------------------------------------- |
11238 | | |
11239 | | // Content |
11240 | | |
11241 | | // string str = 1; |
11242 | 2.54k | inline bool Content::_internal_has_str() const { |
11243 | 2.54k | return content_oneof_case() == kStr; |
11244 | 2.54k | } |
11245 | 0 | inline bool Content::has_str() const { |
11246 | 0 | return _internal_has_str(); |
11247 | 0 | } |
11248 | 0 | inline void Content::set_has_str() { |
11249 | 0 | _impl_._oneof_case_[0] = kStr; |
11250 | 0 | } |
11251 | 0 | inline void Content::clear_str() { |
11252 | 0 | if (_internal_has_str()) { |
11253 | 0 | _impl_.content_oneof_.str_.Destroy(); |
11254 | 0 | clear_has_content_oneof(); |
11255 | 0 | } |
11256 | 0 | } |
11257 | 2.54k | inline const std::string& Content::str() const { |
11258 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Content.str) |
11259 | 2.54k | return _internal_str(); |
11260 | 2.54k | } |
11261 | | template <typename ArgT0, typename... ArgT> |
11262 | | inline void Content::set_str(ArgT0&& arg0, ArgT... args) { |
11263 | | if (!_internal_has_str()) { |
11264 | | clear_content_oneof(); |
11265 | | set_has_str(); |
11266 | | _impl_.content_oneof_.str_.InitDefault(); |
11267 | | } |
11268 | | _impl_.content_oneof_.str_.Set( static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
11269 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Content.str) |
11270 | | } |
11271 | 0 | inline std::string* Content::mutable_str() { |
11272 | 0 | std::string* _s = _internal_mutable_str(); |
11273 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Content.str) |
11274 | 0 | return _s; |
11275 | 0 | } |
11276 | 2.54k | inline const std::string& Content::_internal_str() const { |
11277 | 2.54k | if (_internal_has_str()) { |
11278 | 2.54k | return _impl_.content_oneof_.str_.Get(); |
11279 | 2.54k | } |
11280 | 0 | return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(); |
11281 | 2.54k | } |
11282 | 0 | inline void Content::_internal_set_str(const std::string& value) { |
11283 | 0 | if (!_internal_has_str()) { |
11284 | 0 | clear_content_oneof(); |
11285 | 0 | set_has_str(); |
11286 | 0 | _impl_.content_oneof_.str_.InitDefault(); |
11287 | 0 | } |
11288 | 0 | _impl_.content_oneof_.str_.Set(value, GetArenaForAllocation()); |
11289 | 0 | } |
11290 | 0 | inline std::string* Content::_internal_mutable_str() { |
11291 | 0 | if (!_internal_has_str()) { |
11292 | 0 | clear_content_oneof(); |
11293 | 0 | set_has_str(); |
11294 | 0 | _impl_.content_oneof_.str_.InitDefault(); |
11295 | 0 | } |
11296 | 0 | return _impl_.content_oneof_.str_.Mutable( GetArenaForAllocation()); |
11297 | 0 | } |
11298 | 0 | inline std::string* Content::release_str() { |
11299 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Content.str) |
11300 | 0 | if (_internal_has_str()) { |
11301 | 0 | clear_has_content_oneof(); |
11302 | 0 | return _impl_.content_oneof_.str_.Release(); |
11303 | 0 | } else { |
11304 | 0 | return nullptr; |
11305 | 0 | } |
11306 | 0 | } |
11307 | 0 | inline void Content::set_allocated_str(std::string* str) { |
11308 | 0 | if (has_content_oneof()) { |
11309 | 0 | clear_content_oneof(); |
11310 | 0 | } |
11311 | 0 | if (str != nullptr) { |
11312 | 0 | set_has_str(); |
11313 | 0 | _impl_.content_oneof_.str_.InitAllocated(str, GetArenaForAllocation()); |
11314 | 0 | } |
11315 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Content.str) |
11316 | 0 | } |
11317 | | |
11318 | | // .xmlProtoFuzzer.Element e = 2; |
11319 | 6.58k | inline bool Content::_internal_has_e() const { |
11320 | 6.58k | return content_oneof_case() == kE; |
11321 | 6.58k | } |
11322 | 0 | inline bool Content::has_e() const { |
11323 | 0 | return _internal_has_e(); |
11324 | 0 | } |
11325 | 0 | inline void Content::set_has_e() { |
11326 | 0 | _impl_._oneof_case_[0] = kE; |
11327 | 0 | } |
11328 | 0 | inline void Content::clear_e() { |
11329 | 0 | if (_internal_has_e()) { |
11330 | 0 | if (GetArenaForAllocation() == nullptr) { |
11331 | 0 | delete _impl_.content_oneof_.e_; |
11332 | 0 | } |
11333 | 0 | clear_has_content_oneof(); |
11334 | 0 | } |
11335 | 0 | } |
11336 | 0 | inline ::xmlProtoFuzzer::Element* Content::release_e() { |
11337 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Content.e) |
11338 | 0 | if (_internal_has_e()) { |
11339 | 0 | clear_has_content_oneof(); |
11340 | 0 | ::xmlProtoFuzzer::Element* temp = _impl_.content_oneof_.e_; |
11341 | 0 | if (GetArenaForAllocation() != nullptr) { |
11342 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11343 | 0 | } |
11344 | 0 | _impl_.content_oneof_.e_ = nullptr; |
11345 | 0 | return temp; |
11346 | 0 | } else { |
11347 | 0 | return nullptr; |
11348 | 0 | } |
11349 | 0 | } |
11350 | 6.58k | inline const ::xmlProtoFuzzer::Element& Content::_internal_e() const { |
11351 | 6.58k | return _internal_has_e() |
11352 | 6.58k | ? *_impl_.content_oneof_.e_ |
11353 | 6.58k | : reinterpret_cast< ::xmlProtoFuzzer::Element&>(::xmlProtoFuzzer::_Element_default_instance_); |
11354 | 6.58k | } |
11355 | 6.58k | inline const ::xmlProtoFuzzer::Element& Content::e() const { |
11356 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Content.e) |
11357 | 6.58k | return _internal_e(); |
11358 | 6.58k | } |
11359 | 0 | inline ::xmlProtoFuzzer::Element* Content::unsafe_arena_release_e() { |
11360 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.Content.e) |
11361 | 0 | if (_internal_has_e()) { |
11362 | 0 | clear_has_content_oneof(); |
11363 | 0 | ::xmlProtoFuzzer::Element* temp = _impl_.content_oneof_.e_; |
11364 | 0 | _impl_.content_oneof_.e_ = nullptr; |
11365 | 0 | return temp; |
11366 | 0 | } else { |
11367 | 0 | return nullptr; |
11368 | 0 | } |
11369 | 0 | } |
11370 | 0 | inline void Content::unsafe_arena_set_allocated_e(::xmlProtoFuzzer::Element* e) { |
11371 | 0 | clear_content_oneof(); |
11372 | 0 | if (e) { |
11373 | 0 | set_has_e(); |
11374 | 0 | _impl_.content_oneof_.e_ = e; |
11375 | 0 | } |
11376 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.Content.e) |
11377 | 0 | } |
11378 | 0 | inline ::xmlProtoFuzzer::Element* Content::_internal_mutable_e() { |
11379 | 0 | if (!_internal_has_e()) { |
11380 | 0 | clear_content_oneof(); |
11381 | 0 | set_has_e(); |
11382 | 0 | _impl_.content_oneof_.e_ = CreateMaybeMessage< ::xmlProtoFuzzer::Element >(GetArenaForAllocation()); |
11383 | 0 | } |
11384 | 0 | return _impl_.content_oneof_.e_; |
11385 | 0 | } |
11386 | 0 | inline ::xmlProtoFuzzer::Element* Content::mutable_e() { |
11387 | 0 | ::xmlProtoFuzzer::Element* _msg = _internal_mutable_e(); |
11388 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Content.e) |
11389 | 0 | return _msg; |
11390 | 0 | } |
11391 | | |
11392 | | // .xmlProtoFuzzer.CData c = 3; |
11393 | 3.27k | inline bool Content::_internal_has_c() const { |
11394 | 3.27k | return content_oneof_case() == kC; |
11395 | 3.27k | } |
11396 | 0 | inline bool Content::has_c() const { |
11397 | 0 | return _internal_has_c(); |
11398 | 0 | } |
11399 | 0 | inline void Content::set_has_c() { |
11400 | 0 | _impl_._oneof_case_[0] = kC; |
11401 | 0 | } |
11402 | 0 | inline void Content::clear_c() { |
11403 | 0 | if (_internal_has_c()) { |
11404 | 0 | if (GetArenaForAllocation() == nullptr) { |
11405 | 0 | delete _impl_.content_oneof_.c_; |
11406 | 0 | } |
11407 | 0 | clear_has_content_oneof(); |
11408 | 0 | } |
11409 | 0 | } |
11410 | 0 | inline ::xmlProtoFuzzer::CData* Content::release_c() { |
11411 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Content.c) |
11412 | 0 | if (_internal_has_c()) { |
11413 | 0 | clear_has_content_oneof(); |
11414 | 0 | ::xmlProtoFuzzer::CData* temp = _impl_.content_oneof_.c_; |
11415 | 0 | if (GetArenaForAllocation() != nullptr) { |
11416 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11417 | 0 | } |
11418 | 0 | _impl_.content_oneof_.c_ = nullptr; |
11419 | 0 | return temp; |
11420 | 0 | } else { |
11421 | 0 | return nullptr; |
11422 | 0 | } |
11423 | 0 | } |
11424 | 3.27k | inline const ::xmlProtoFuzzer::CData& Content::_internal_c() const { |
11425 | 3.27k | return _internal_has_c() |
11426 | 3.27k | ? *_impl_.content_oneof_.c_ |
11427 | 3.27k | : reinterpret_cast< ::xmlProtoFuzzer::CData&>(::xmlProtoFuzzer::_CData_default_instance_); |
11428 | 3.27k | } |
11429 | 3.27k | inline const ::xmlProtoFuzzer::CData& Content::c() const { |
11430 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Content.c) |
11431 | 3.27k | return _internal_c(); |
11432 | 3.27k | } |
11433 | 0 | inline ::xmlProtoFuzzer::CData* Content::unsafe_arena_release_c() { |
11434 | 0 | // @@protoc_insertion_point(field_unsafe_arena_release:xmlProtoFuzzer.Content.c) |
11435 | 0 | if (_internal_has_c()) { |
11436 | 0 | clear_has_content_oneof(); |
11437 | 0 | ::xmlProtoFuzzer::CData* temp = _impl_.content_oneof_.c_; |
11438 | 0 | _impl_.content_oneof_.c_ = nullptr; |
11439 | 0 | return temp; |
11440 | 0 | } else { |
11441 | 0 | return nullptr; |
11442 | 0 | } |
11443 | 0 | } |
11444 | 0 | inline void Content::unsafe_arena_set_allocated_c(::xmlProtoFuzzer::CData* c) { |
11445 | 0 | clear_content_oneof(); |
11446 | 0 | if (c) { |
11447 | 0 | set_has_c(); |
11448 | 0 | _impl_.content_oneof_.c_ = c; |
11449 | 0 | } |
11450 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.Content.c) |
11451 | 0 | } |
11452 | 0 | inline ::xmlProtoFuzzer::CData* Content::_internal_mutable_c() { |
11453 | 0 | if (!_internal_has_c()) { |
11454 | 0 | clear_content_oneof(); |
11455 | 0 | set_has_c(); |
11456 | 0 | _impl_.content_oneof_.c_ = CreateMaybeMessage< ::xmlProtoFuzzer::CData >(GetArenaForAllocation()); |
11457 | 0 | } |
11458 | 0 | return _impl_.content_oneof_.c_; |
11459 | 0 | } |
11460 | 0 | inline ::xmlProtoFuzzer::CData* Content::mutable_c() { |
11461 | 0 | ::xmlProtoFuzzer::CData* _msg = _internal_mutable_c(); |
11462 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Content.c) |
11463 | 0 | return _msg; |
11464 | 0 | } |
11465 | | |
11466 | 21.2k | inline bool Content::has_content_oneof() const { |
11467 | 21.2k | return content_oneof_case() != CONTENT_ONEOF_NOT_SET; |
11468 | 21.2k | } |
11469 | 21.2k | inline void Content::clear_has_content_oneof() { |
11470 | 21.2k | _impl_._oneof_case_[0] = CONTENT_ONEOF_NOT_SET; |
11471 | 21.2k | } |
11472 | 458k | inline Content::ContentOneofCase Content::content_oneof_case() const { |
11473 | 458k | return Content::ContentOneofCase(_impl_._oneof_case_[0]); |
11474 | 458k | } |
11475 | | // ------------------------------------------------------------------- |
11476 | | |
11477 | | // Element |
11478 | | |
11479 | | // .xmlProtoFuzzer.Element.Type type = 1; |
11480 | 0 | inline void Element::clear_type() { |
11481 | 0 | _impl_.type_ = 0; |
11482 | 0 | } |
11483 | 821k | inline ::xmlProtoFuzzer::Element_Type Element::_internal_type() const { |
11484 | 821k | return static_cast< ::xmlProtoFuzzer::Element_Type >(_impl_.type_); |
11485 | 821k | } |
11486 | 821k | inline ::xmlProtoFuzzer::Element_Type Element::type() const { |
11487 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Element.type) |
11488 | 821k | return _internal_type(); |
11489 | 821k | } |
11490 | 0 | inline void Element::_internal_set_type(::xmlProtoFuzzer::Element_Type value) { |
11491 | | |
11492 | 0 | _impl_.type_ = value; |
11493 | 0 | } |
11494 | 0 | inline void Element::set_type(::xmlProtoFuzzer::Element_Type value) { |
11495 | 0 | _internal_set_type(value); |
11496 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Element.type) |
11497 | 0 | } |
11498 | | |
11499 | | // .xmlProtoFuzzer.Element.Id id = 2; |
11500 | 0 | inline void Element::clear_id() { |
11501 | 0 | _impl_.id_ = 0; |
11502 | 0 | } |
11503 | 782k | inline ::xmlProtoFuzzer::Element_Id Element::_internal_id() const { |
11504 | 782k | return static_cast< ::xmlProtoFuzzer::Element_Id >(_impl_.id_); |
11505 | 782k | } |
11506 | 782k | inline ::xmlProtoFuzzer::Element_Id Element::id() const { |
11507 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Element.id) |
11508 | 782k | return _internal_id(); |
11509 | 782k | } |
11510 | 0 | inline void Element::_internal_set_id(::xmlProtoFuzzer::Element_Id value) { |
11511 | | |
11512 | 0 | _impl_.id_ = value; |
11513 | 0 | } |
11514 | 0 | inline void Element::set_id(::xmlProtoFuzzer::Element_Id value) { |
11515 | 0 | _internal_set_id(value); |
11516 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Element.id) |
11517 | 0 | } |
11518 | | |
11519 | | // string name = 3; |
11520 | 0 | inline void Element::clear_name() { |
11521 | 0 | _impl_.name_.ClearToEmpty(); |
11522 | 0 | } |
11523 | 410k | inline const std::string& Element::name() const { |
11524 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Element.name) |
11525 | 410k | return _internal_name(); |
11526 | 410k | } |
11527 | | template <typename ArgT0, typename... ArgT> |
11528 | | inline PROTOBUF_ALWAYS_INLINE |
11529 | | void Element::set_name(ArgT0&& arg0, ArgT... args) { |
11530 | | |
11531 | | _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
11532 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Element.name) |
11533 | | } |
11534 | 0 | inline std::string* Element::mutable_name() { |
11535 | 0 | std::string* _s = _internal_mutable_name(); |
11536 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Element.name) |
11537 | 0 | return _s; |
11538 | 0 | } |
11539 | 410k | inline const std::string& Element::_internal_name() const { |
11540 | 410k | return _impl_.name_.Get(); |
11541 | 410k | } |
11542 | 0 | inline void Element::_internal_set_name(const std::string& value) { |
11543 | | |
11544 | 0 | _impl_.name_.Set(value, GetArenaForAllocation()); |
11545 | 0 | } |
11546 | 0 | inline std::string* Element::_internal_mutable_name() { |
11547 | | |
11548 | 0 | return _impl_.name_.Mutable(GetArenaForAllocation()); |
11549 | 0 | } |
11550 | 0 | inline std::string* Element::release_name() { |
11551 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Element.name) |
11552 | 0 | return _impl_.name_.Release(); |
11553 | 0 | } |
11554 | 0 | inline void Element::set_allocated_name(std::string* name) { |
11555 | 0 | if (name != nullptr) { |
11556 | 0 | |
11557 | 0 | } else { |
11558 | 0 | |
11559 | 0 | } |
11560 | 0 | _impl_.name_.SetAllocated(name, GetArenaForAllocation()); |
11561 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11562 | 0 | if (_impl_.name_.IsDefault()) { |
11563 | 0 | _impl_.name_.Set("", GetArenaForAllocation()); |
11564 | 0 | } |
11565 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11566 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Element.name) |
11567 | 0 | } |
11568 | | |
11569 | | // repeated .xmlProtoFuzzer.KeyValue kv = 4; |
11570 | 0 | inline int Element::_internal_kv_size() const { |
11571 | 0 | return _impl_.kv_.size(); |
11572 | 0 | } |
11573 | 0 | inline int Element::kv_size() const { |
11574 | 0 | return _internal_kv_size(); |
11575 | 0 | } |
11576 | 0 | inline void Element::clear_kv() { |
11577 | 0 | _impl_.kv_.Clear(); |
11578 | 0 | } |
11579 | 0 | inline ::xmlProtoFuzzer::KeyValue* Element::mutable_kv(int index) { |
11580 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Element.kv) |
11581 | 0 | return _impl_.kv_.Mutable(index); |
11582 | 0 | } |
11583 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::KeyValue >* |
11584 | 0 | Element::mutable_kv() { |
11585 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.Element.kv) |
11586 | 0 | return &_impl_.kv_; |
11587 | 0 | } |
11588 | 0 | inline const ::xmlProtoFuzzer::KeyValue& Element::_internal_kv(int index) const { |
11589 | 0 | return _impl_.kv_.Get(index); |
11590 | 0 | } |
11591 | 0 | inline const ::xmlProtoFuzzer::KeyValue& Element::kv(int index) const { |
11592 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Element.kv) |
11593 | 0 | return _internal_kv(index); |
11594 | 0 | } |
11595 | 0 | inline ::xmlProtoFuzzer::KeyValue* Element::_internal_add_kv() { |
11596 | 0 | return _impl_.kv_.Add(); |
11597 | 0 | } |
11598 | 0 | inline ::xmlProtoFuzzer::KeyValue* Element::add_kv() { |
11599 | 0 | ::xmlProtoFuzzer::KeyValue* _add = _internal_add_kv(); |
11600 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.Element.kv) |
11601 | 0 | return _add; |
11602 | 0 | } |
11603 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::KeyValue >& |
11604 | 410k | Element::kv() const { |
11605 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.Element.kv) |
11606 | 410k | return _impl_.kv_; |
11607 | 410k | } |
11608 | | |
11609 | | // .xmlProtoFuzzer.Content content = 5; |
11610 | 0 | inline bool Element::_internal_has_content() const { |
11611 | 0 | return this != internal_default_instance() && _impl_.content_ != nullptr; |
11612 | 0 | } |
11613 | 0 | inline bool Element::has_content() const { |
11614 | 0 | return _internal_has_content(); |
11615 | 0 | } |
11616 | 0 | inline void Element::clear_content() { |
11617 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.content_ != nullptr) { |
11618 | 0 | delete _impl_.content_; |
11619 | 0 | } |
11620 | 0 | _impl_.content_ = nullptr; |
11621 | 0 | } |
11622 | 410k | inline const ::xmlProtoFuzzer::Content& Element::_internal_content() const { |
11623 | 410k | const ::xmlProtoFuzzer::Content* p = _impl_.content_; |
11624 | 410k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::Content&>( |
11625 | 391k | ::xmlProtoFuzzer::_Content_default_instance_); |
11626 | 410k | } |
11627 | 410k | inline const ::xmlProtoFuzzer::Content& Element::content() const { |
11628 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Element.content) |
11629 | 410k | return _internal_content(); |
11630 | 410k | } |
11631 | | inline void Element::unsafe_arena_set_allocated_content( |
11632 | 0 | ::xmlProtoFuzzer::Content* content) { |
11633 | 0 | if (GetArenaForAllocation() == nullptr) { |
11634 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.content_); |
11635 | 0 | } |
11636 | 0 | _impl_.content_ = content; |
11637 | 0 | if (content) { |
11638 | 0 | |
11639 | 0 | } else { |
11640 | 0 | |
11641 | 0 | } |
11642 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.Element.content) |
11643 | 0 | } |
11644 | 0 | inline ::xmlProtoFuzzer::Content* Element::release_content() { |
11645 | 0 | |
11646 | 0 | ::xmlProtoFuzzer::Content* temp = _impl_.content_; |
11647 | 0 | _impl_.content_ = nullptr; |
11648 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
11649 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
11650 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11651 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
11652 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
11653 | 0 | if (GetArenaForAllocation() != nullptr) { |
11654 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11655 | 0 | } |
11656 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
11657 | 0 | return temp; |
11658 | 0 | } |
11659 | 0 | inline ::xmlProtoFuzzer::Content* Element::unsafe_arena_release_content() { |
11660 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Element.content) |
11661 | 0 | |
11662 | 0 | ::xmlProtoFuzzer::Content* temp = _impl_.content_; |
11663 | 0 | _impl_.content_ = nullptr; |
11664 | 0 | return temp; |
11665 | 0 | } |
11666 | 0 | inline ::xmlProtoFuzzer::Content* Element::_internal_mutable_content() { |
11667 | | |
11668 | 0 | if (_impl_.content_ == nullptr) { |
11669 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::Content>(GetArenaForAllocation()); |
11670 | 0 | _impl_.content_ = p; |
11671 | 0 | } |
11672 | 0 | return _impl_.content_; |
11673 | 0 | } |
11674 | 0 | inline ::xmlProtoFuzzer::Content* Element::mutable_content() { |
11675 | 0 | ::xmlProtoFuzzer::Content* _msg = _internal_mutable_content(); |
11676 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Element.content) |
11677 | 0 | return _msg; |
11678 | 0 | } |
11679 | 0 | inline void Element::set_allocated_content(::xmlProtoFuzzer::Content* content) { |
11680 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11681 | 0 | if (message_arena == nullptr) { |
11682 | 0 | delete _impl_.content_; |
11683 | 0 | } |
11684 | 0 | if (content) { |
11685 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11686 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(content); |
11687 | 0 | if (message_arena != submessage_arena) { |
11688 | 0 | content = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11689 | 0 | message_arena, content, submessage_arena); |
11690 | 0 | } |
11691 | 0 | |
11692 | 0 | } else { |
11693 | 0 | |
11694 | 0 | } |
11695 | 0 | _impl_.content_ = content; |
11696 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Element.content) |
11697 | 0 | } |
11698 | | |
11699 | | // string childprop = 6; |
11700 | 0 | inline void Element::clear_childprop() { |
11701 | 0 | _impl_.childprop_.ClearToEmpty(); |
11702 | 0 | } |
11703 | 391k | inline const std::string& Element::childprop() const { |
11704 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Element.childprop) |
11705 | 391k | return _internal_childprop(); |
11706 | 391k | } |
11707 | | template <typename ArgT0, typename... ArgT> |
11708 | | inline PROTOBUF_ALWAYS_INLINE |
11709 | | void Element::set_childprop(ArgT0&& arg0, ArgT... args) { |
11710 | | |
11711 | | _impl_.childprop_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
11712 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Element.childprop) |
11713 | | } |
11714 | 0 | inline std::string* Element::mutable_childprop() { |
11715 | 0 | std::string* _s = _internal_mutable_childprop(); |
11716 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Element.childprop) |
11717 | 0 | return _s; |
11718 | 0 | } |
11719 | 391k | inline const std::string& Element::_internal_childprop() const { |
11720 | 391k | return _impl_.childprop_.Get(); |
11721 | 391k | } |
11722 | 0 | inline void Element::_internal_set_childprop(const std::string& value) { |
11723 | | |
11724 | 0 | _impl_.childprop_.Set(value, GetArenaForAllocation()); |
11725 | 0 | } |
11726 | 0 | inline std::string* Element::_internal_mutable_childprop() { |
11727 | | |
11728 | 0 | return _impl_.childprop_.Mutable(GetArenaForAllocation()); |
11729 | 0 | } |
11730 | 0 | inline std::string* Element::release_childprop() { |
11731 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Element.childprop) |
11732 | 0 | return _impl_.childprop_.Release(); |
11733 | 0 | } |
11734 | 0 | inline void Element::set_allocated_childprop(std::string* childprop) { |
11735 | 0 | if (childprop != nullptr) { |
11736 | 0 | |
11737 | 0 | } else { |
11738 | 0 | |
11739 | 0 | } |
11740 | 0 | _impl_.childprop_.SetAllocated(childprop, GetArenaForAllocation()); |
11741 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11742 | 0 | if (_impl_.childprop_.IsDefault()) { |
11743 | 0 | _impl_.childprop_.Set("", GetArenaForAllocation()); |
11744 | 0 | } |
11745 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11746 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Element.childprop) |
11747 | 0 | } |
11748 | | |
11749 | | // ------------------------------------------------------------------- |
11750 | | |
11751 | | // VersionNum |
11752 | | |
11753 | | // .xmlProtoFuzzer.VersionNum.Type type = 1; |
11754 | 0 | inline void VersionNum::clear_type() { |
11755 | 0 | _impl_.type_ = 0; |
11756 | 0 | } |
11757 | 17.0k | inline ::xmlProtoFuzzer::VersionNum_Type VersionNum::_internal_type() const { |
11758 | 17.0k | return static_cast< ::xmlProtoFuzzer::VersionNum_Type >(_impl_.type_); |
11759 | 17.0k | } |
11760 | 17.0k | inline ::xmlProtoFuzzer::VersionNum_Type VersionNum::type() const { |
11761 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.VersionNum.type) |
11762 | 17.0k | return _internal_type(); |
11763 | 17.0k | } |
11764 | 0 | inline void VersionNum::_internal_set_type(::xmlProtoFuzzer::VersionNum_Type value) { |
11765 | | |
11766 | 0 | _impl_.type_ = value; |
11767 | 0 | } |
11768 | 0 | inline void VersionNum::set_type(::xmlProtoFuzzer::VersionNum_Type value) { |
11769 | 0 | _internal_set_type(value); |
11770 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.VersionNum.type) |
11771 | 0 | } |
11772 | | |
11773 | | // uint64 major = 2; |
11774 | 0 | inline void VersionNum::clear_major() { |
11775 | 0 | _impl_.major_ = uint64_t{0u}; |
11776 | 0 | } |
11777 | 144 | inline uint64_t VersionNum::_internal_major() const { |
11778 | 144 | return _impl_.major_; |
11779 | 144 | } |
11780 | 144 | inline uint64_t VersionNum::major() const { |
11781 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.VersionNum.major) |
11782 | 144 | return _internal_major(); |
11783 | 144 | } |
11784 | 0 | inline void VersionNum::_internal_set_major(uint64_t value) { |
11785 | | |
11786 | 0 | _impl_.major_ = value; |
11787 | 0 | } |
11788 | 0 | inline void VersionNum::set_major(uint64_t value) { |
11789 | 0 | _internal_set_major(value); |
11790 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.VersionNum.major) |
11791 | 0 | } |
11792 | | |
11793 | | // uint64 minor = 3; |
11794 | 0 | inline void VersionNum::clear_minor() { |
11795 | 0 | _impl_.minor_ = uint64_t{0u}; |
11796 | 0 | } |
11797 | 144 | inline uint64_t VersionNum::_internal_minor() const { |
11798 | 144 | return _impl_.minor_; |
11799 | 144 | } |
11800 | 144 | inline uint64_t VersionNum::minor() const { |
11801 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.VersionNum.minor) |
11802 | 144 | return _internal_minor(); |
11803 | 144 | } |
11804 | 0 | inline void VersionNum::_internal_set_minor(uint64_t value) { |
11805 | | |
11806 | 0 | _impl_.minor_ = value; |
11807 | 0 | } |
11808 | 0 | inline void VersionNum::set_minor(uint64_t value) { |
11809 | 0 | _internal_set_minor(value); |
11810 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.VersionNum.minor) |
11811 | 0 | } |
11812 | | |
11813 | | // ------------------------------------------------------------------- |
11814 | | |
11815 | | // Encodings |
11816 | | |
11817 | | // .xmlProtoFuzzer.Encodings.Enc name = 1; |
11818 | 0 | inline void Encodings::clear_name() { |
11819 | 0 | _impl_.name_ = 0; |
11820 | 0 | } |
11821 | 16.1k | inline ::xmlProtoFuzzer::Encodings_Enc Encodings::_internal_name() const { |
11822 | 16.1k | return static_cast< ::xmlProtoFuzzer::Encodings_Enc >(_impl_.name_); |
11823 | 16.1k | } |
11824 | 16.1k | inline ::xmlProtoFuzzer::Encodings_Enc Encodings::name() const { |
11825 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Encodings.name) |
11826 | 16.1k | return _internal_name(); |
11827 | 16.1k | } |
11828 | 0 | inline void Encodings::_internal_set_name(::xmlProtoFuzzer::Encodings_Enc value) { |
11829 | | |
11830 | 0 | _impl_.name_ = value; |
11831 | 0 | } |
11832 | 0 | inline void Encodings::set_name(::xmlProtoFuzzer::Encodings_Enc value) { |
11833 | 0 | _internal_set_name(value); |
11834 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Encodings.name) |
11835 | 0 | } |
11836 | | |
11837 | | // string fuzz = 2; |
11838 | 0 | inline void Encodings::clear_fuzz() { |
11839 | 0 | _impl_.fuzz_.ClearToEmpty(); |
11840 | 0 | } |
11841 | 134 | inline const std::string& Encodings::fuzz() const { |
11842 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.Encodings.fuzz) |
11843 | 134 | return _internal_fuzz(); |
11844 | 134 | } |
11845 | | template <typename ArgT0, typename... ArgT> |
11846 | | inline PROTOBUF_ALWAYS_INLINE |
11847 | | void Encodings::set_fuzz(ArgT0&& arg0, ArgT... args) { |
11848 | | |
11849 | | _impl_.fuzz_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
11850 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.Encodings.fuzz) |
11851 | | } |
11852 | 0 | inline std::string* Encodings::mutable_fuzz() { |
11853 | 0 | std::string* _s = _internal_mutable_fuzz(); |
11854 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.Encodings.fuzz) |
11855 | 0 | return _s; |
11856 | 0 | } |
11857 | 134 | inline const std::string& Encodings::_internal_fuzz() const { |
11858 | 134 | return _impl_.fuzz_.Get(); |
11859 | 134 | } |
11860 | 0 | inline void Encodings::_internal_set_fuzz(const std::string& value) { |
11861 | | |
11862 | 0 | _impl_.fuzz_.Set(value, GetArenaForAllocation()); |
11863 | 0 | } |
11864 | 0 | inline std::string* Encodings::_internal_mutable_fuzz() { |
11865 | | |
11866 | 0 | return _impl_.fuzz_.Mutable(GetArenaForAllocation()); |
11867 | 0 | } |
11868 | 0 | inline std::string* Encodings::release_fuzz() { |
11869 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.Encodings.fuzz) |
11870 | 0 | return _impl_.fuzz_.Release(); |
11871 | 0 | } |
11872 | 0 | inline void Encodings::set_allocated_fuzz(std::string* fuzz) { |
11873 | 0 | if (fuzz != nullptr) { |
11874 | 0 | |
11875 | 0 | } else { |
11876 | 0 | |
11877 | 0 | } |
11878 | 0 | _impl_.fuzz_.SetAllocated(fuzz, GetArenaForAllocation()); |
11879 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11880 | 0 | if (_impl_.fuzz_.IsDefault()) { |
11881 | 0 | _impl_.fuzz_.Set("", GetArenaForAllocation()); |
11882 | 0 | } |
11883 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
11884 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.Encodings.fuzz) |
11885 | 0 | } |
11886 | | |
11887 | | // ------------------------------------------------------------------- |
11888 | | |
11889 | | // XmlDeclaration |
11890 | | |
11891 | | // .xmlProtoFuzzer.VersionNum ver = 1; |
11892 | 0 | inline bool XmlDeclaration::_internal_has_ver() const { |
11893 | 0 | return this != internal_default_instance() && _impl_.ver_ != nullptr; |
11894 | 0 | } |
11895 | 0 | inline bool XmlDeclaration::has_ver() const { |
11896 | 0 | return _internal_has_ver(); |
11897 | 0 | } |
11898 | 0 | inline void XmlDeclaration::clear_ver() { |
11899 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.ver_ != nullptr) { |
11900 | 0 | delete _impl_.ver_; |
11901 | 0 | } |
11902 | 0 | _impl_.ver_ = nullptr; |
11903 | 0 | } |
11904 | 8.51k | inline const ::xmlProtoFuzzer::VersionNum& XmlDeclaration::_internal_ver() const { |
11905 | 8.51k | const ::xmlProtoFuzzer::VersionNum* p = _impl_.ver_; |
11906 | 8.51k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::VersionNum&>( |
11907 | 8.29k | ::xmlProtoFuzzer::_VersionNum_default_instance_); |
11908 | 8.51k | } |
11909 | 8.51k | inline const ::xmlProtoFuzzer::VersionNum& XmlDeclaration::ver() const { |
11910 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.XmlDeclaration.ver) |
11911 | 8.51k | return _internal_ver(); |
11912 | 8.51k | } |
11913 | | inline void XmlDeclaration::unsafe_arena_set_allocated_ver( |
11914 | 0 | ::xmlProtoFuzzer::VersionNum* ver) { |
11915 | 0 | if (GetArenaForAllocation() == nullptr) { |
11916 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.ver_); |
11917 | 0 | } |
11918 | 0 | _impl_.ver_ = ver; |
11919 | 0 | if (ver) { |
11920 | 0 | |
11921 | 0 | } else { |
11922 | 0 | |
11923 | 0 | } |
11924 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.XmlDeclaration.ver) |
11925 | 0 | } |
11926 | 0 | inline ::xmlProtoFuzzer::VersionNum* XmlDeclaration::release_ver() { |
11927 | 0 | |
11928 | 0 | ::xmlProtoFuzzer::VersionNum* temp = _impl_.ver_; |
11929 | 0 | _impl_.ver_ = nullptr; |
11930 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
11931 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
11932 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11933 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
11934 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
11935 | 0 | if (GetArenaForAllocation() != nullptr) { |
11936 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
11937 | 0 | } |
11938 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
11939 | 0 | return temp; |
11940 | 0 | } |
11941 | 0 | inline ::xmlProtoFuzzer::VersionNum* XmlDeclaration::unsafe_arena_release_ver() { |
11942 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.XmlDeclaration.ver) |
11943 | 0 | |
11944 | 0 | ::xmlProtoFuzzer::VersionNum* temp = _impl_.ver_; |
11945 | 0 | _impl_.ver_ = nullptr; |
11946 | 0 | return temp; |
11947 | 0 | } |
11948 | 0 | inline ::xmlProtoFuzzer::VersionNum* XmlDeclaration::_internal_mutable_ver() { |
11949 | | |
11950 | 0 | if (_impl_.ver_ == nullptr) { |
11951 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::VersionNum>(GetArenaForAllocation()); |
11952 | 0 | _impl_.ver_ = p; |
11953 | 0 | } |
11954 | 0 | return _impl_.ver_; |
11955 | 0 | } |
11956 | 0 | inline ::xmlProtoFuzzer::VersionNum* XmlDeclaration::mutable_ver() { |
11957 | 0 | ::xmlProtoFuzzer::VersionNum* _msg = _internal_mutable_ver(); |
11958 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.XmlDeclaration.ver) |
11959 | 0 | return _msg; |
11960 | 0 | } |
11961 | 0 | inline void XmlDeclaration::set_allocated_ver(::xmlProtoFuzzer::VersionNum* ver) { |
11962 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
11963 | 0 | if (message_arena == nullptr) { |
11964 | 0 | delete _impl_.ver_; |
11965 | 0 | } |
11966 | 0 | if (ver) { |
11967 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
11968 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(ver); |
11969 | 0 | if (message_arena != submessage_arena) { |
11970 | 0 | ver = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
11971 | 0 | message_arena, ver, submessage_arena); |
11972 | 0 | } |
11973 | 0 | |
11974 | 0 | } else { |
11975 | 0 | |
11976 | 0 | } |
11977 | 0 | _impl_.ver_ = ver; |
11978 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.XmlDeclaration.ver) |
11979 | 0 | } |
11980 | | |
11981 | | // .xmlProtoFuzzer.Encodings enc = 2; |
11982 | 0 | inline bool XmlDeclaration::_internal_has_enc() const { |
11983 | 0 | return this != internal_default_instance() && _impl_.enc_ != nullptr; |
11984 | 0 | } |
11985 | 0 | inline bool XmlDeclaration::has_enc() const { |
11986 | 0 | return _internal_has_enc(); |
11987 | 0 | } |
11988 | 0 | inline void XmlDeclaration::clear_enc() { |
11989 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.enc_ != nullptr) { |
11990 | 0 | delete _impl_.enc_; |
11991 | 0 | } |
11992 | 0 | _impl_.enc_ = nullptr; |
11993 | 0 | } |
11994 | 8.51k | inline const ::xmlProtoFuzzer::Encodings& XmlDeclaration::_internal_enc() const { |
11995 | 8.51k | const ::xmlProtoFuzzer::Encodings* p = _impl_.enc_; |
11996 | 8.51k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::Encodings&>( |
11997 | 6.77k | ::xmlProtoFuzzer::_Encodings_default_instance_); |
11998 | 8.51k | } |
11999 | 8.51k | inline const ::xmlProtoFuzzer::Encodings& XmlDeclaration::enc() const { |
12000 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.XmlDeclaration.enc) |
12001 | 8.51k | return _internal_enc(); |
12002 | 8.51k | } |
12003 | | inline void XmlDeclaration::unsafe_arena_set_allocated_enc( |
12004 | 0 | ::xmlProtoFuzzer::Encodings* enc) { |
12005 | 0 | if (GetArenaForAllocation() == nullptr) { |
12006 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.enc_); |
12007 | 0 | } |
12008 | 0 | _impl_.enc_ = enc; |
12009 | 0 | if (enc) { |
12010 | 0 | |
12011 | 0 | } else { |
12012 | 0 | |
12013 | 0 | } |
12014 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.XmlDeclaration.enc) |
12015 | 0 | } |
12016 | 0 | inline ::xmlProtoFuzzer::Encodings* XmlDeclaration::release_enc() { |
12017 | 0 | |
12018 | 0 | ::xmlProtoFuzzer::Encodings* temp = _impl_.enc_; |
12019 | 0 | _impl_.enc_ = nullptr; |
12020 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
12021 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
12022 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
12023 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
12024 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
12025 | 0 | if (GetArenaForAllocation() != nullptr) { |
12026 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
12027 | 0 | } |
12028 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
12029 | 0 | return temp; |
12030 | 0 | } |
12031 | 0 | inline ::xmlProtoFuzzer::Encodings* XmlDeclaration::unsafe_arena_release_enc() { |
12032 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.XmlDeclaration.enc) |
12033 | 0 | |
12034 | 0 | ::xmlProtoFuzzer::Encodings* temp = _impl_.enc_; |
12035 | 0 | _impl_.enc_ = nullptr; |
12036 | 0 | return temp; |
12037 | 0 | } |
12038 | 0 | inline ::xmlProtoFuzzer::Encodings* XmlDeclaration::_internal_mutable_enc() { |
12039 | | |
12040 | 0 | if (_impl_.enc_ == nullptr) { |
12041 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::Encodings>(GetArenaForAllocation()); |
12042 | 0 | _impl_.enc_ = p; |
12043 | 0 | } |
12044 | 0 | return _impl_.enc_; |
12045 | 0 | } |
12046 | 0 | inline ::xmlProtoFuzzer::Encodings* XmlDeclaration::mutable_enc() { |
12047 | 0 | ::xmlProtoFuzzer::Encodings* _msg = _internal_mutable_enc(); |
12048 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.XmlDeclaration.enc) |
12049 | 0 | return _msg; |
12050 | 0 | } |
12051 | 0 | inline void XmlDeclaration::set_allocated_enc(::xmlProtoFuzzer::Encodings* enc) { |
12052 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12053 | 0 | if (message_arena == nullptr) { |
12054 | 0 | delete _impl_.enc_; |
12055 | 0 | } |
12056 | 0 | if (enc) { |
12057 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12058 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(enc); |
12059 | 0 | if (message_arena != submessage_arena) { |
12060 | 0 | enc = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12061 | 0 | message_arena, enc, submessage_arena); |
12062 | 0 | } |
12063 | 0 | |
12064 | 0 | } else { |
12065 | 0 | |
12066 | 0 | } |
12067 | 0 | _impl_.enc_ = enc; |
12068 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.XmlDeclaration.enc) |
12069 | 0 | } |
12070 | | |
12071 | | // .xmlProtoFuzzer.XmlDeclaration.Standalone standalone = 3; |
12072 | 0 | inline void XmlDeclaration::clear_standalone() { |
12073 | 0 | _impl_.standalone_ = 0; |
12074 | 0 | } |
12075 | 8.51k | inline ::xmlProtoFuzzer::XmlDeclaration_Standalone XmlDeclaration::_internal_standalone() const { |
12076 | 8.51k | return static_cast< ::xmlProtoFuzzer::XmlDeclaration_Standalone >(_impl_.standalone_); |
12077 | 8.51k | } |
12078 | 8.51k | inline ::xmlProtoFuzzer::XmlDeclaration_Standalone XmlDeclaration::standalone() const { |
12079 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.XmlDeclaration.standalone) |
12080 | 8.51k | return _internal_standalone(); |
12081 | 8.51k | } |
12082 | 0 | inline void XmlDeclaration::_internal_set_standalone(::xmlProtoFuzzer::XmlDeclaration_Standalone value) { |
12083 | | |
12084 | 0 | _impl_.standalone_ = value; |
12085 | 0 | } |
12086 | 0 | inline void XmlDeclaration::set_standalone(::xmlProtoFuzzer::XmlDeclaration_Standalone value) { |
12087 | 0 | _internal_set_standalone(value); |
12088 | 0 | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.XmlDeclaration.standalone) |
12089 | 0 | } |
12090 | | |
12091 | | // string fuzz = 4; |
12092 | 0 | inline void XmlDeclaration::clear_fuzz() { |
12093 | 0 | _impl_.fuzz_.ClearToEmpty(); |
12094 | 0 | } |
12095 | 0 | inline const std::string& XmlDeclaration::fuzz() const { |
12096 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.XmlDeclaration.fuzz) |
12097 | 0 | return _internal_fuzz(); |
12098 | 0 | } |
12099 | | template <typename ArgT0, typename... ArgT> |
12100 | | inline PROTOBUF_ALWAYS_INLINE |
12101 | | void XmlDeclaration::set_fuzz(ArgT0&& arg0, ArgT... args) { |
12102 | | |
12103 | | _impl_.fuzz_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation()); |
12104 | | // @@protoc_insertion_point(field_set:xmlProtoFuzzer.XmlDeclaration.fuzz) |
12105 | | } |
12106 | 0 | inline std::string* XmlDeclaration::mutable_fuzz() { |
12107 | 0 | std::string* _s = _internal_mutable_fuzz(); |
12108 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.XmlDeclaration.fuzz) |
12109 | 0 | return _s; |
12110 | 0 | } |
12111 | 0 | inline const std::string& XmlDeclaration::_internal_fuzz() const { |
12112 | 0 | return _impl_.fuzz_.Get(); |
12113 | 0 | } |
12114 | 0 | inline void XmlDeclaration::_internal_set_fuzz(const std::string& value) { |
12115 | | |
12116 | 0 | _impl_.fuzz_.Set(value, GetArenaForAllocation()); |
12117 | 0 | } |
12118 | 0 | inline std::string* XmlDeclaration::_internal_mutable_fuzz() { |
12119 | | |
12120 | 0 | return _impl_.fuzz_.Mutable(GetArenaForAllocation()); |
12121 | 0 | } |
12122 | 0 | inline std::string* XmlDeclaration::release_fuzz() { |
12123 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.XmlDeclaration.fuzz) |
12124 | 0 | return _impl_.fuzz_.Release(); |
12125 | 0 | } |
12126 | 0 | inline void XmlDeclaration::set_allocated_fuzz(std::string* fuzz) { |
12127 | 0 | if (fuzz != nullptr) { |
12128 | 0 | |
12129 | 0 | } else { |
12130 | 0 | |
12131 | 0 | } |
12132 | 0 | _impl_.fuzz_.SetAllocated(fuzz, GetArenaForAllocation()); |
12133 | 0 | #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12134 | 0 | if (_impl_.fuzz_.IsDefault()) { |
12135 | 0 | _impl_.fuzz_.Set("", GetArenaForAllocation()); |
12136 | 0 | } |
12137 | 0 | #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING |
12138 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.XmlDeclaration.fuzz) |
12139 | 0 | } |
12140 | | |
12141 | | // ------------------------------------------------------------------- |
12142 | | |
12143 | | // XmlDocument |
12144 | | |
12145 | | // .xmlProtoFuzzer.Prolog p = 1; |
12146 | 0 | inline bool XmlDocument::_internal_has_p() const { |
12147 | 0 | return this != internal_default_instance() && _impl_.p_ != nullptr; |
12148 | 0 | } |
12149 | 0 | inline bool XmlDocument::has_p() const { |
12150 | 0 | return _internal_has_p(); |
12151 | 0 | } |
12152 | 0 | inline void XmlDocument::clear_p() { |
12153 | 0 | if (GetArenaForAllocation() == nullptr && _impl_.p_ != nullptr) { |
12154 | 0 | delete _impl_.p_; |
12155 | 0 | } |
12156 | 0 | _impl_.p_ = nullptr; |
12157 | 0 | } |
12158 | 8.51k | inline const ::xmlProtoFuzzer::Prolog& XmlDocument::_internal_p() const { |
12159 | 8.51k | const ::xmlProtoFuzzer::Prolog* p = _impl_.p_; |
12160 | 8.51k | return p != nullptr ? *p : reinterpret_cast<const ::xmlProtoFuzzer::Prolog&>( |
12161 | 528 | ::xmlProtoFuzzer::_Prolog_default_instance_); |
12162 | 8.51k | } |
12163 | 8.51k | inline const ::xmlProtoFuzzer::Prolog& XmlDocument::p() const { |
12164 | | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.XmlDocument.p) |
12165 | 8.51k | return _internal_p(); |
12166 | 8.51k | } |
12167 | | inline void XmlDocument::unsafe_arena_set_allocated_p( |
12168 | 0 | ::xmlProtoFuzzer::Prolog* p) { |
12169 | 0 | if (GetArenaForAllocation() == nullptr) { |
12170 | 0 | delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.p_); |
12171 | 0 | } |
12172 | 0 | _impl_.p_ = p; |
12173 | 0 | if (p) { |
12174 | 0 | |
12175 | 0 | } else { |
12176 | 0 | |
12177 | 0 | } |
12178 | 0 | // @@protoc_insertion_point(field_unsafe_arena_set_allocated:xmlProtoFuzzer.XmlDocument.p) |
12179 | 0 | } |
12180 | 0 | inline ::xmlProtoFuzzer::Prolog* XmlDocument::release_p() { |
12181 | 0 | |
12182 | 0 | ::xmlProtoFuzzer::Prolog* temp = _impl_.p_; |
12183 | 0 | _impl_.p_ = nullptr; |
12184 | 0 | #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE |
12185 | 0 | auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp); |
12186 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
12187 | 0 | if (GetArenaForAllocation() == nullptr) { delete old; } |
12188 | 0 | #else // PROTOBUF_FORCE_COPY_IN_RELEASE |
12189 | 0 | if (GetArenaForAllocation() != nullptr) { |
12190 | 0 | temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp); |
12191 | 0 | } |
12192 | 0 | #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE |
12193 | 0 | return temp; |
12194 | 0 | } |
12195 | 0 | inline ::xmlProtoFuzzer::Prolog* XmlDocument::unsafe_arena_release_p() { |
12196 | 0 | // @@protoc_insertion_point(field_release:xmlProtoFuzzer.XmlDocument.p) |
12197 | 0 | |
12198 | 0 | ::xmlProtoFuzzer::Prolog* temp = _impl_.p_; |
12199 | 0 | _impl_.p_ = nullptr; |
12200 | 0 | return temp; |
12201 | 0 | } |
12202 | 0 | inline ::xmlProtoFuzzer::Prolog* XmlDocument::_internal_mutable_p() { |
12203 | | |
12204 | 0 | if (_impl_.p_ == nullptr) { |
12205 | 0 | auto* p = CreateMaybeMessage<::xmlProtoFuzzer::Prolog>(GetArenaForAllocation()); |
12206 | 0 | _impl_.p_ = p; |
12207 | 0 | } |
12208 | 0 | return _impl_.p_; |
12209 | 0 | } |
12210 | 0 | inline ::xmlProtoFuzzer::Prolog* XmlDocument::mutable_p() { |
12211 | 0 | ::xmlProtoFuzzer::Prolog* _msg = _internal_mutable_p(); |
12212 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.XmlDocument.p) |
12213 | 0 | return _msg; |
12214 | 0 | } |
12215 | 0 | inline void XmlDocument::set_allocated_p(::xmlProtoFuzzer::Prolog* p) { |
12216 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation(); |
12217 | 0 | if (message_arena == nullptr) { |
12218 | 0 | delete _impl_.p_; |
12219 | 0 | } |
12220 | 0 | if (p) { |
12221 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = |
12222 | 0 | ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(p); |
12223 | 0 | if (message_arena != submessage_arena) { |
12224 | 0 | p = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
12225 | 0 | message_arena, p, submessage_arena); |
12226 | 0 | } |
12227 | 0 | |
12228 | 0 | } else { |
12229 | 0 | |
12230 | 0 | } |
12231 | 0 | _impl_.p_ = p; |
12232 | 0 | // @@protoc_insertion_point(field_set_allocated:xmlProtoFuzzer.XmlDocument.p) |
12233 | 0 | } |
12234 | | |
12235 | | // repeated .xmlProtoFuzzer.Element e = 2; |
12236 | 0 | inline int XmlDocument::_internal_e_size() const { |
12237 | 0 | return _impl_.e_.size(); |
12238 | 0 | } |
12239 | 0 | inline int XmlDocument::e_size() const { |
12240 | 0 | return _internal_e_size(); |
12241 | 0 | } |
12242 | 0 | inline void XmlDocument::clear_e() { |
12243 | 0 | _impl_.e_.Clear(); |
12244 | 0 | } |
12245 | 0 | inline ::xmlProtoFuzzer::Element* XmlDocument::mutable_e(int index) { |
12246 | 0 | // @@protoc_insertion_point(field_mutable:xmlProtoFuzzer.XmlDocument.e) |
12247 | 0 | return _impl_.e_.Mutable(index); |
12248 | 0 | } |
12249 | | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::Element >* |
12250 | 0 | XmlDocument::mutable_e() { |
12251 | 0 | // @@protoc_insertion_point(field_mutable_list:xmlProtoFuzzer.XmlDocument.e) |
12252 | 0 | return &_impl_.e_; |
12253 | 0 | } |
12254 | 0 | inline const ::xmlProtoFuzzer::Element& XmlDocument::_internal_e(int index) const { |
12255 | 0 | return _impl_.e_.Get(index); |
12256 | 0 | } |
12257 | 0 | inline const ::xmlProtoFuzzer::Element& XmlDocument::e(int index) const { |
12258 | 0 | // @@protoc_insertion_point(field_get:xmlProtoFuzzer.XmlDocument.e) |
12259 | 0 | return _internal_e(index); |
12260 | 0 | } |
12261 | 0 | inline ::xmlProtoFuzzer::Element* XmlDocument::_internal_add_e() { |
12262 | 0 | return _impl_.e_.Add(); |
12263 | 0 | } |
12264 | 0 | inline ::xmlProtoFuzzer::Element* XmlDocument::add_e() { |
12265 | 0 | ::xmlProtoFuzzer::Element* _add = _internal_add_e(); |
12266 | 0 | // @@protoc_insertion_point(field_add:xmlProtoFuzzer.XmlDocument.e) |
12267 | 0 | return _add; |
12268 | 0 | } |
12269 | | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::xmlProtoFuzzer::Element >& |
12270 | 8.51k | XmlDocument::e() const { |
12271 | | // @@protoc_insertion_point(field_list:xmlProtoFuzzer.XmlDocument.e) |
12272 | 8.51k | return _impl_.e_; |
12273 | 8.51k | } |
12274 | | |
12275 | | #ifdef __GNUC__ |
12276 | | #pragma GCC diagnostic pop |
12277 | | #endif // __GNUC__ |
12278 | | // ------------------------------------------------------------------- |
12279 | | |
12280 | | // ------------------------------------------------------------------- |
12281 | | |
12282 | | // ------------------------------------------------------------------- |
12283 | | |
12284 | | // ------------------------------------------------------------------- |
12285 | | |
12286 | | // ------------------------------------------------------------------- |
12287 | | |
12288 | | // ------------------------------------------------------------------- |
12289 | | |
12290 | | // ------------------------------------------------------------------- |
12291 | | |
12292 | | // ------------------------------------------------------------------- |
12293 | | |
12294 | | // ------------------------------------------------------------------- |
12295 | | |
12296 | | // ------------------------------------------------------------------- |
12297 | | |
12298 | | // ------------------------------------------------------------------- |
12299 | | |
12300 | | // ------------------------------------------------------------------- |
12301 | | |
12302 | | // ------------------------------------------------------------------- |
12303 | | |
12304 | | // ------------------------------------------------------------------- |
12305 | | |
12306 | | // ------------------------------------------------------------------- |
12307 | | |
12308 | | // ------------------------------------------------------------------- |
12309 | | |
12310 | | // ------------------------------------------------------------------- |
12311 | | |
12312 | | // ------------------------------------------------------------------- |
12313 | | |
12314 | | // ------------------------------------------------------------------- |
12315 | | |
12316 | | // ------------------------------------------------------------------- |
12317 | | |
12318 | | // ------------------------------------------------------------------- |
12319 | | |
12320 | | // ------------------------------------------------------------------- |
12321 | | |
12322 | | // ------------------------------------------------------------------- |
12323 | | |
12324 | | // ------------------------------------------------------------------- |
12325 | | |
12326 | | // ------------------------------------------------------------------- |
12327 | | |
12328 | | // ------------------------------------------------------------------- |
12329 | | |
12330 | | // ------------------------------------------------------------------- |
12331 | | |
12332 | | // ------------------------------------------------------------------- |
12333 | | |
12334 | | // ------------------------------------------------------------------- |
12335 | | |
12336 | | // ------------------------------------------------------------------- |
12337 | | |
12338 | | // ------------------------------------------------------------------- |
12339 | | |
12340 | | |
12341 | | // @@protoc_insertion_point(namespace_scope) |
12342 | | |
12343 | | } // namespace xmlProtoFuzzer |
12344 | | |
12345 | | PROTOBUF_NAMESPACE_OPEN |
12346 | | |
12347 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::ElementDecl_ContentSpec> : ::std::true_type {}; |
12348 | | template <> |
12349 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::ElementDecl_ContentSpec>() { |
12350 | 0 | return ::xmlProtoFuzzer::ElementDecl_ContentSpec_descriptor(); |
12351 | 0 | } |
12352 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::AttrType_Type> : ::std::true_type {}; |
12353 | | template <> |
12354 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::AttrType_Type>() { |
12355 | 0 | return ::xmlProtoFuzzer::AttrType_Type_descriptor(); |
12356 | 0 | } |
12357 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::ExternalId_Type> : ::std::true_type {}; |
12358 | | template <> |
12359 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::ExternalId_Type>() { |
12360 | 0 | return ::xmlProtoFuzzer::ExternalId_Type_descriptor(); |
12361 | 0 | } |
12362 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::AttValue_Type> : ::std::true_type {}; |
12363 | | template <> |
12364 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::AttValue_Type>() { |
12365 | 0 | return ::xmlProtoFuzzer::AttValue_Type_descriptor(); |
12366 | 0 | } |
12367 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::DefaultDecl_Type> : ::std::true_type {}; |
12368 | | template <> |
12369 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::DefaultDecl_Type>() { |
12370 | 0 | return ::xmlProtoFuzzer::DefaultDecl_Type_descriptor(); |
12371 | 0 | } |
12372 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::AttDef_Type> : ::std::true_type {}; |
12373 | | template <> |
12374 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::AttDef_Type>() { |
12375 | 0 | return ::xmlProtoFuzzer::AttDef_Type_descriptor(); |
12376 | 0 | } |
12377 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::EntityValue_Type> : ::std::true_type {}; |
12378 | | template <> |
12379 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::EntityValue_Type>() { |
12380 | 0 | return ::xmlProtoFuzzer::EntityValue_Type_descriptor(); |
12381 | 0 | } |
12382 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::EntityDecl_Type> : ::std::true_type {}; |
12383 | | template <> |
12384 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::EntityDecl_Type>() { |
12385 | 0 | return ::xmlProtoFuzzer::EntityDecl_Type_descriptor(); |
12386 | 0 | } |
12387 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::ConditionalSect_Type> : ::std::true_type {}; |
12388 | | template <> |
12389 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::ConditionalSect_Type>() { |
12390 | 0 | return ::xmlProtoFuzzer::ConditionalSect_Type_descriptor(); |
12391 | 0 | } |
12392 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::KeyValue_XmlNamespace> : ::std::true_type {}; |
12393 | | template <> |
12394 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::KeyValue_XmlNamespace>() { |
12395 | 0 | return ::xmlProtoFuzzer::KeyValue_XmlNamespace_descriptor(); |
12396 | 0 | } |
12397 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::Element_Type> : ::std::true_type {}; |
12398 | | template <> |
12399 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::Element_Type>() { |
12400 | 0 | return ::xmlProtoFuzzer::Element_Type_descriptor(); |
12401 | 0 | } |
12402 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::Element_Id> : ::std::true_type {}; |
12403 | | template <> |
12404 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::Element_Id>() { |
12405 | 0 | return ::xmlProtoFuzzer::Element_Id_descriptor(); |
12406 | 0 | } |
12407 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::VersionNum_Type> : ::std::true_type {}; |
12408 | | template <> |
12409 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::VersionNum_Type>() { |
12410 | 0 | return ::xmlProtoFuzzer::VersionNum_Type_descriptor(); |
12411 | 0 | } |
12412 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::Encodings_Enc> : ::std::true_type {}; |
12413 | | template <> |
12414 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::Encodings_Enc>() { |
12415 | 0 | return ::xmlProtoFuzzer::Encodings_Enc_descriptor(); |
12416 | 0 | } |
12417 | | template <> struct is_proto_enum< ::xmlProtoFuzzer::XmlDeclaration_Standalone> : ::std::true_type {}; |
12418 | | template <> |
12419 | 0 | inline const EnumDescriptor* GetEnumDescriptor< ::xmlProtoFuzzer::XmlDeclaration_Standalone>() { |
12420 | 0 | return ::xmlProtoFuzzer::XmlDeclaration_Standalone_descriptor(); |
12421 | 0 | } |
12422 | | |
12423 | | PROTOBUF_NAMESPACE_CLOSE |
12424 | | |
12425 | | // @@protoc_insertion_point(global_scope) |
12426 | | |
12427 | | #include <google/protobuf/port_undef.inc> |
12428 | | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_xml_2eproto |