Coverage Report

Created: 2025-07-11 06:23

/src/libprotobuf-mutator/build/examples/xml/xml.pb.cc
Line
Count
Source (jump to first uncovered line)
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// NO CHECKED-IN PROTOBUF GENCODE
3
// source: xml.proto
4
// Protobuf C++ Version: 5.29.3
5
6
#include "xml.pb.h"
7
8
#include <algorithm>
9
#include <type_traits>
10
#include "google/protobuf/io/coded_stream.h"
11
#include "google/protobuf/generated_message_tctable_impl.h"
12
#include "google/protobuf/extension_set.h"
13
#include "google/protobuf/generated_message_util.h"
14
#include "google/protobuf/wire_format_lite.h"
15
#include "google/protobuf/descriptor.h"
16
#include "google/protobuf/generated_message_reflection.h"
17
#include "google/protobuf/reflection_ops.h"
18
#include "google/protobuf/wire_format.h"
19
// @@protoc_insertion_point(includes)
20
21
// Must be included last.
22
#include "google/protobuf/port_def.inc"
23
PROTOBUF_PRAGMA_INIT_SEG
24
namespace _pb = ::google::protobuf;
25
namespace _pbi = ::google::protobuf::internal;
26
namespace _fl = ::google::protobuf::internal::field_layout;
27
namespace protobuf_mutator {
28
namespace xml {
29
30
inline constexpr Reference::Impl_::Impl_(
31
    ::_pbi::ConstantInitialized) noexcept
32
      : _cached_size_{0},
33
        name_(
34
            &::google::protobuf::internal::fixed_address_empty_string,
35
            ::_pbi::ConstantInitialized()),
36
        entry_{false} {}
37
38
template <typename>
39
PROTOBUF_CONSTEXPR Reference::Reference(::_pbi::ConstantInitialized)
40
#if defined(PROTOBUF_CUSTOM_VTABLE)
41
    : ::google::protobuf::Message(_class_data_.base()),
42
#else   // PROTOBUF_CUSTOM_VTABLE
43
    : ::google::protobuf::Message(),
44
#endif  // PROTOBUF_CUSTOM_VTABLE
45
      _impl_(::_pbi::ConstantInitialized()) {
46
}
47
struct ReferenceDefaultTypeInternal {
48
0
  PROTOBUF_CONSTEXPR ReferenceDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
49
0
  ~ReferenceDefaultTypeInternal() {}
50
  union {
51
    Reference _instance;
52
  };
53
};
54
55
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
56
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ReferenceDefaultTypeInternal _Reference_default_instance_;
57
58
inline constexpr Pi::Impl_::Impl_(
59
    ::_pbi::ConstantInitialized) noexcept
60
      : _cached_size_{0},
61
        target_(
62
            &::google::protobuf::internal::fixed_address_empty_string,
63
            ::_pbi::ConstantInitialized()),
64
        data_(
65
            &::google::protobuf::internal::fixed_address_empty_string,
66
            ::_pbi::ConstantInitialized()) {}
67
68
template <typename>
69
PROTOBUF_CONSTEXPR Pi::Pi(::_pbi::ConstantInitialized)
70
#if defined(PROTOBUF_CUSTOM_VTABLE)
71
    : ::google::protobuf::Message(_class_data_.base()),
72
#else   // PROTOBUF_CUSTOM_VTABLE
73
    : ::google::protobuf::Message(),
74
#endif  // PROTOBUF_CUSTOM_VTABLE
75
      _impl_(::_pbi::ConstantInitialized()) {
76
}
77
struct PiDefaultTypeInternal {
78
0
  PROTOBUF_CONSTEXPR PiDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
79
0
  ~PiDefaultTypeInternal() {}
80
  union {
81
    Pi _instance;
82
  };
83
};
84
85
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
86
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 PiDefaultTypeInternal _Pi_default_instance_;
87
88
inline constexpr Attribute::Impl_::Impl_(
89
    ::_pbi::ConstantInitialized) noexcept
90
      : _cached_size_{0},
91
        name_(
92
            &::google::protobuf::internal::fixed_address_empty_string,
93
            ::_pbi::ConstantInitialized()),
94
        value_(
95
            &::google::protobuf::internal::fixed_address_empty_string,
96
            ::_pbi::ConstantInitialized()) {}
97
98
template <typename>
99
PROTOBUF_CONSTEXPR Attribute::Attribute(::_pbi::ConstantInitialized)
100
#if defined(PROTOBUF_CUSTOM_VTABLE)
101
    : ::google::protobuf::Message(_class_data_.base()),
102
#else   // PROTOBUF_CUSTOM_VTABLE
103
    : ::google::protobuf::Message(),
104
#endif  // PROTOBUF_CUSTOM_VTABLE
105
      _impl_(::_pbi::ConstantInitialized()) {
106
}
107
struct AttributeDefaultTypeInternal {
108
0
  PROTOBUF_CONSTEXPR AttributeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
109
0
  ~AttributeDefaultTypeInternal() {}
110
  union {
111
    Attribute _instance;
112
  };
113
};
114
115
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
116
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AttributeDefaultTypeInternal _Attribute_default_instance_;
117
118
inline constexpr Tag::Impl_::Impl_(
119
    ::_pbi::ConstantInitialized) noexcept
120
      : _cached_size_{0},
121
        attribute_{},
122
        name_(
123
            &::google::protobuf::internal::fixed_address_empty_string,
124
            ::_pbi::ConstantInitialized()) {}
125
126
template <typename>
127
PROTOBUF_CONSTEXPR Tag::Tag(::_pbi::ConstantInitialized)
128
#if defined(PROTOBUF_CUSTOM_VTABLE)
129
    : ::google::protobuf::Message(_class_data_.base()),
130
#else   // PROTOBUF_CUSTOM_VTABLE
131
    : ::google::protobuf::Message(),
132
#endif  // PROTOBUF_CUSTOM_VTABLE
133
      _impl_(::_pbi::ConstantInitialized()) {
134
}
135
struct TagDefaultTypeInternal {
136
0
  PROTOBUF_CONSTEXPR TagDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
137
0
  ~TagDefaultTypeInternal() {}
138
  union {
139
    Tag _instance;
140
  };
141
};
142
143
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
144
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TagDefaultTypeInternal _Tag_default_instance_;
145
146
inline constexpr Misk::Impl_::Impl_(
147
    ::_pbi::ConstantInitialized) noexcept
148
      : __{},
149
        _cached_size_{0},
150
        _oneof_case_{} {}
151
152
template <typename>
153
PROTOBUF_CONSTEXPR Misk::Misk(::_pbi::ConstantInitialized)
154
#if defined(PROTOBUF_CUSTOM_VTABLE)
155
    : ::google::protobuf::Message(_class_data_.base()),
156
#else   // PROTOBUF_CUSTOM_VTABLE
157
    : ::google::protobuf::Message(),
158
#endif  // PROTOBUF_CUSTOM_VTABLE
159
      _impl_(::_pbi::ConstantInitialized()) {
160
}
161
struct MiskDefaultTypeInternal {
162
0
  PROTOBUF_CONSTEXPR MiskDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
163
0
  ~MiskDefaultTypeInternal() {}
164
  union {
165
    Misk _instance;
166
  };
167
};
168
169
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
170
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MiskDefaultTypeInternal _Misk_default_instance_;
171
172
inline constexpr DoctypeDecl::Impl_::Impl_(
173
    ::_pbi::ConstantInitialized) noexcept
174
      : _cached_size_{0},
175
        misk_{},
176
        name_(
177
            &::google::protobuf::internal::fixed_address_empty_string,
178
            ::_pbi::ConstantInitialized()),
179
        external_id_(
180
            &::google::protobuf::internal::fixed_address_empty_string,
181
            ::_pbi::ConstantInitialized()),
182
        int_subset_(
183
            &::google::protobuf::internal::fixed_address_empty_string,
184
            ::_pbi::ConstantInitialized()) {}
185
186
template <typename>
187
PROTOBUF_CONSTEXPR DoctypeDecl::DoctypeDecl(::_pbi::ConstantInitialized)
188
#if defined(PROTOBUF_CUSTOM_VTABLE)
189
    : ::google::protobuf::Message(_class_data_.base()),
190
#else   // PROTOBUF_CUSTOM_VTABLE
191
    : ::google::protobuf::Message(),
192
#endif  // PROTOBUF_CUSTOM_VTABLE
193
      _impl_(::_pbi::ConstantInitialized()) {
194
}
195
struct DoctypeDeclDefaultTypeInternal {
196
0
  PROTOBUF_CONSTEXPR DoctypeDeclDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
197
0
  ~DoctypeDeclDefaultTypeInternal() {}
198
  union {
199
    DoctypeDecl _instance;
200
  };
201
};
202
203
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
204
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DoctypeDeclDefaultTypeInternal _DoctypeDecl_default_instance_;
205
206
inline constexpr Content::Impl_::Impl_(
207
    ::_pbi::ConstantInitialized) noexcept
208
      : __{},
209
        _cached_size_{0},
210
        _oneof_case_{} {}
211
212
template <typename>
213
PROTOBUF_CONSTEXPR Content::Content(::_pbi::ConstantInitialized)
214
#if defined(PROTOBUF_CUSTOM_VTABLE)
215
    : ::google::protobuf::Message(_class_data_.base()),
216
#else   // PROTOBUF_CUSTOM_VTABLE
217
    : ::google::protobuf::Message(),
218
#endif  // PROTOBUF_CUSTOM_VTABLE
219
      _impl_(::_pbi::ConstantInitialized()) {
220
}
221
struct ContentDefaultTypeInternal {
222
0
  PROTOBUF_CONSTEXPR ContentDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
223
0
  ~ContentDefaultTypeInternal() {}
224
  union {
225
    Content _instance;
226
  };
227
};
228
229
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
230
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ContentDefaultTypeInternal _Content_default_instance_;
231
232
inline constexpr Element::Impl_::Impl_(
233
    ::_pbi::ConstantInitialized) noexcept
234
      : _cached_size_{0},
235
        content_{},
236
        tag_{nullptr} {}
237
238
template <typename>
239
PROTOBUF_CONSTEXPR Element::Element(::_pbi::ConstantInitialized)
240
#if defined(PROTOBUF_CUSTOM_VTABLE)
241
    : ::google::protobuf::Message(_class_data_.base()),
242
#else   // PROTOBUF_CUSTOM_VTABLE
243
    : ::google::protobuf::Message(),
244
#endif  // PROTOBUF_CUSTOM_VTABLE
245
      _impl_(::_pbi::ConstantInitialized()) {
246
}
247
struct ElementDefaultTypeInternal {
248
0
  PROTOBUF_CONSTEXPR ElementDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
249
0
  ~ElementDefaultTypeInternal() {}
250
  union {
251
    Element _instance;
252
  };
253
};
254
255
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
256
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ElementDefaultTypeInternal _Element_default_instance_;
257
258
inline constexpr Document::Impl_::Impl_(
259
    ::_pbi::ConstantInitialized) noexcept
260
      : _cached_size_{0},
261
        misk1_{},
262
        misk2_{},
263
        version_(
264
            &::google::protobuf::internal::fixed_address_empty_string,
265
            ::_pbi::ConstantInitialized()),
266
        encoding_(
267
            &::google::protobuf::internal::fixed_address_empty_string,
268
            ::_pbi::ConstantInitialized()),
269
        doctype_{nullptr},
270
        element_{nullptr},
271
        standalone_{false} {}
272
273
template <typename>
274
PROTOBUF_CONSTEXPR Document::Document(::_pbi::ConstantInitialized)
275
#if defined(PROTOBUF_CUSTOM_VTABLE)
276
    : ::google::protobuf::Message(_class_data_.base()),
277
#else   // PROTOBUF_CUSTOM_VTABLE
278
    : ::google::protobuf::Message(),
279
#endif  // PROTOBUF_CUSTOM_VTABLE
280
      _impl_(::_pbi::ConstantInitialized()) {
281
}
282
struct DocumentDefaultTypeInternal {
283
0
  PROTOBUF_CONSTEXPR DocumentDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
284
0
  ~DocumentDefaultTypeInternal() {}
285
  union {
286
    Document _instance;
287
  };
288
};
289
290
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
291
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DocumentDefaultTypeInternal _Document_default_instance_;
292
293
inline constexpr Input::Impl_::Impl_(
294
    ::_pbi::ConstantInitialized) noexcept
295
      : _cached_size_{0},
296
        document_{nullptr},
297
        options_{0u} {}
298
299
template <typename>
300
PROTOBUF_CONSTEXPR Input::Input(::_pbi::ConstantInitialized)
301
#if defined(PROTOBUF_CUSTOM_VTABLE)
302
    : ::google::protobuf::Message(_class_data_.base()),
303
#else   // PROTOBUF_CUSTOM_VTABLE
304
    : ::google::protobuf::Message(),
305
#endif  // PROTOBUF_CUSTOM_VTABLE
306
      _impl_(::_pbi::ConstantInitialized()) {
307
}
308
struct InputDefaultTypeInternal {
309
0
  PROTOBUF_CONSTEXPR InputDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
310
0
  ~InputDefaultTypeInternal() {}
311
  union {
312
    Input _instance;
313
  };
314
};
315
316
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
317
    PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 InputDefaultTypeInternal _Input_default_instance_;
318
}  // namespace xml
319
}  // namespace protobuf_mutator
320
static constexpr const ::_pb::EnumDescriptor**
321
    file_level_enum_descriptors_xml_2eproto = nullptr;
322
static constexpr const ::_pb::ServiceDescriptor**
323
    file_level_service_descriptors_xml_2eproto = nullptr;
324
const ::uint32_t
325
    TableStruct_xml_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
326
        protodesc_cold) = {
327
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Document, _impl_._has_bits_),
328
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Document, _internal_metadata_),
329
        ~0u,  // no _extensions_
330
        ~0u,  // no _oneof_case_
331
        ~0u,  // no _weak_field_map_
332
        ~0u,  // no _inlined_string_donated_
333
        ~0u,  // no _split_
334
        ~0u,  // no sizeof(Split)
335
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Document, _impl_.version_),
336
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Document, _impl_.encoding_),
337
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Document, _impl_.standalone_),
338
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Document, _impl_.misk1_),
339
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Document, _impl_.doctype_),
340
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Document, _impl_.element_),
341
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Document, _impl_.misk2_),
342
        0,
343
        1,
344
        4,
345
        ~0u,
346
        2,
347
        3,
348
        ~0u,
349
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::DoctypeDecl, _impl_._has_bits_),
350
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::DoctypeDecl, _internal_metadata_),
351
        ~0u,  // no _extensions_
352
        ~0u,  // no _oneof_case_
353
        ~0u,  // no _weak_field_map_
354
        ~0u,  // no _inlined_string_donated_
355
        ~0u,  // no _split_
356
        ~0u,  // no sizeof(Split)
357
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::DoctypeDecl, _impl_.name_),
358
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::DoctypeDecl, _impl_.external_id_),
359
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::DoctypeDecl, _impl_.int_subset_),
360
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::DoctypeDecl, _impl_.misk_),
361
        0,
362
        1,
363
        2,
364
        ~0u,
365
        ~0u,  // no _has_bits_
366
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Misk, _internal_metadata_),
367
        ~0u,  // no _extensions_
368
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Misk, _impl_._oneof_case_[0]),
369
        ~0u,  // no _weak_field_map_
370
        ~0u,  // no _inlined_string_donated_
371
        ~0u,  // no _split_
372
        ~0u,  // no sizeof(Split)
373
        ::_pbi::kInvalidFieldOffsetTag,
374
        ::_pbi::kInvalidFieldOffsetTag,
375
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Misk, _impl_.__),
376
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Element, _impl_._has_bits_),
377
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Element, _internal_metadata_),
378
        ~0u,  // no _extensions_
379
        ~0u,  // no _oneof_case_
380
        ~0u,  // no _weak_field_map_
381
        ~0u,  // no _inlined_string_donated_
382
        ~0u,  // no _split_
383
        ~0u,  // no sizeof(Split)
384
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Element, _impl_.tag_),
385
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Element, _impl_.content_),
386
        0,
387
        ~0u,
388
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Tag, _impl_._has_bits_),
389
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Tag, _internal_metadata_),
390
        ~0u,  // no _extensions_
391
        ~0u,  // no _oneof_case_
392
        ~0u,  // no _weak_field_map_
393
        ~0u,  // no _inlined_string_donated_
394
        ~0u,  // no _split_
395
        ~0u,  // no sizeof(Split)
396
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Tag, _impl_.name_),
397
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Tag, _impl_.attribute_),
398
        0,
399
        ~0u,
400
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Reference, _impl_._has_bits_),
401
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Reference, _internal_metadata_),
402
        ~0u,  // no _extensions_
403
        ~0u,  // no _oneof_case_
404
        ~0u,  // no _weak_field_map_
405
        ~0u,  // no _inlined_string_donated_
406
        ~0u,  // no _split_
407
        ~0u,  // no sizeof(Split)
408
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Reference, _impl_.name_),
409
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Reference, _impl_.entry_),
410
        0,
411
        1,
412
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Pi, _impl_._has_bits_),
413
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Pi, _internal_metadata_),
414
        ~0u,  // no _extensions_
415
        ~0u,  // no _oneof_case_
416
        ~0u,  // no _weak_field_map_
417
        ~0u,  // no _inlined_string_donated_
418
        ~0u,  // no _split_
419
        ~0u,  // no sizeof(Split)
420
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Pi, _impl_.target_),
421
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Pi, _impl_.data_),
422
        0,
423
        1,
424
        ~0u,  // no _has_bits_
425
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Content, _internal_metadata_),
426
        ~0u,  // no _extensions_
427
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Content, _impl_._oneof_case_[0]),
428
        ~0u,  // no _weak_field_map_
429
        ~0u,  // no _inlined_string_donated_
430
        ~0u,  // no _split_
431
        ~0u,  // no sizeof(Split)
432
        ::_pbi::kInvalidFieldOffsetTag,
433
        ::_pbi::kInvalidFieldOffsetTag,
434
        ::_pbi::kInvalidFieldOffsetTag,
435
        ::_pbi::kInvalidFieldOffsetTag,
436
        ::_pbi::kInvalidFieldOffsetTag,
437
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Content, _impl_.__),
438
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Attribute, _impl_._has_bits_),
439
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Attribute, _internal_metadata_),
440
        ~0u,  // no _extensions_
441
        ~0u,  // no _oneof_case_
442
        ~0u,  // no _weak_field_map_
443
        ~0u,  // no _inlined_string_donated_
444
        ~0u,  // no _split_
445
        ~0u,  // no sizeof(Split)
446
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Attribute, _impl_.name_),
447
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Attribute, _impl_.value_),
448
        0,
449
        1,
450
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Input, _impl_._has_bits_),
451
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Input, _internal_metadata_),
452
        ~0u,  // no _extensions_
453
        ~0u,  // no _oneof_case_
454
        ~0u,  // no _weak_field_map_
455
        ~0u,  // no _inlined_string_donated_
456
        ~0u,  // no _split_
457
        ~0u,  // no sizeof(Split)
458
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Input, _impl_.document_),
459
        PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Input, _impl_.options_),
460
        0,
461
        1,
462
};
463
464
static const ::_pbi::MigrationSchema
465
    schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
466
        {0, 15, -1, sizeof(::protobuf_mutator::xml::Document)},
467
        {22, 34, -1, sizeof(::protobuf_mutator::xml::DoctypeDecl)},
468
        {38, -1, -1, sizeof(::protobuf_mutator::xml::Misk)},
469
        {49, 59, -1, sizeof(::protobuf_mutator::xml::Element)},
470
        {61, 71, -1, sizeof(::protobuf_mutator::xml::Tag)},
471
        {73, 83, -1, sizeof(::protobuf_mutator::xml::Reference)},
472
        {85, 95, -1, sizeof(::protobuf_mutator::xml::Pi)},
473
        {97, -1, -1, sizeof(::protobuf_mutator::xml::Content)},
474
        {111, 121, -1, sizeof(::protobuf_mutator::xml::Attribute)},
475
        {123, 133, -1, sizeof(::protobuf_mutator::xml::Input)},
476
};
477
static const ::_pb::Message* const file_default_instances[] = {
478
    &::protobuf_mutator::xml::_Document_default_instance_._instance,
479
    &::protobuf_mutator::xml::_DoctypeDecl_default_instance_._instance,
480
    &::protobuf_mutator::xml::_Misk_default_instance_._instance,
481
    &::protobuf_mutator::xml::_Element_default_instance_._instance,
482
    &::protobuf_mutator::xml::_Tag_default_instance_._instance,
483
    &::protobuf_mutator::xml::_Reference_default_instance_._instance,
484
    &::protobuf_mutator::xml::_Pi_default_instance_._instance,
485
    &::protobuf_mutator::xml::_Content_default_instance_._instance,
486
    &::protobuf_mutator::xml::_Attribute_default_instance_._instance,
487
    &::protobuf_mutator::xml::_Input_default_instance_._instance,
488
};
489
const char descriptor_table_protodef_xml_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
490
    protodesc_cold) = {
491
    "\n\txml.proto\022\024protobuf_mutator.xml\"\373\001\n\010Do"
492
    "cument\022\017\n\007version\030\001 \001(\t\022\020\n\010encoding\030\002 \001("
493
    "\t\022\022\n\nstandalone\030\003 \001(\010\022)\n\005misk1\030\004 \003(\0132\032.p"
494
    "rotobuf_mutator.xml.Misk\0222\n\007doctype\030\005 \001("
495
    "\0132!.protobuf_mutator.xml.DoctypeDecl\022.\n\007"
496
    "element\030\006 \001(\0132\035.protobuf_mutator.xml.Ele"
497
    "ment\022)\n\005misk2\030\007 \003(\0132\032.protobuf_mutator.x"
498
    "ml.Misk\"n\n\013DoctypeDecl\022\014\n\004name\030\001 \001(\t\022\023\n\013"
499
    "external_id\030\002 \001(\t\022\022\n\nint_subset\030\003 \001(\t\022(\n"
500
    "\004misk\030\004 \003(\0132\032.protobuf_mutator.xml.Misk\""
501
    "F\n\004Misk\022&\n\002pi\030\001 \001(\0132\030.protobuf_mutator.x"
502
    "ml.PiH\000\022\021\n\007comment\030\002 \001(\tH\000B\003\n\001_\"a\n\007Eleme"
503
    "nt\022&\n\003tag\030\001 \001(\0132\031.protobuf_mutator.xml.T"
504
    "ag\022.\n\007content\030\002 \003(\0132\035.protobuf_mutator.x"
505
    "ml.Content\"G\n\003Tag\022\014\n\004name\030\001 \001(\t\0222\n\tattri"
506
    "bute\030\002 \003(\0132\037.protobuf_mutator.xml.Attrib"
507
    "ute\"(\n\tReference\022\014\n\004name\030\001 \001(\t\022\r\n\005entry\030"
508
    "\002 \001(\010\"\"\n\002Pi\022\016\n\006target\030\001 \001(\t\022\014\n\004data\030\002 \001("
509
    "\t\"\311\001\n\007Content\022\023\n\tchar_data\030\001 \001(\tH\000\0220\n\007el"
510
    "ement\030\002 \001(\0132\035.protobuf_mutator.xml.Eleme"
511
    "ntH\000\0224\n\treference\030\003 \001(\0132\037.protobuf_mutat"
512
    "or.xml.ReferenceH\000\022\020\n\006cdsect\030\004 \001(\tH\000\022*\n\004"
513
    "misk\030\005 \001(\0132\032.protobuf_mutator.xml.MiskH\000"
514
    "B\003\n\001_\"(\n\tAttribute\022\014\n\004name\030\001 \001(\t\022\r\n\005valu"
515
    "e\030\002 \001(\t\"J\n\005Input\0220\n\010document\030\001 \001(\0132\036.pro"
516
    "tobuf_mutator.xml.Document\022\017\n\007options\030\002 "
517
    "\001(\r"
518
};
519
static ::absl::once_flag descriptor_table_xml_2eproto_once;
520
PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_xml_2eproto = {
521
    false,
522
    false,
523
    1043,
524
    descriptor_table_protodef_xml_2eproto,
525
    "xml.proto",
526
    &descriptor_table_xml_2eproto_once,
527
    nullptr,
528
    0,
529
    10,
530
    schemas,
531
    file_default_instances,
532
    TableStruct_xml_2eproto::offsets,
533
    file_level_enum_descriptors_xml_2eproto,
534
    file_level_service_descriptors_xml_2eproto,
535
};
536
namespace protobuf_mutator {
537
namespace xml {
538
// ===================================================================
539
540
class Document::_Internal {
541
 public:
542
  using HasBits =
543
      decltype(std::declval<Document>()._impl_._has_bits_);
544
  static constexpr ::int32_t kHasBitsOffset =
545
      8 * PROTOBUF_FIELD_OFFSET(Document, _impl_._has_bits_);
546
};
547
548
Document::Document(::google::protobuf::Arena* arena)
549
#if defined(PROTOBUF_CUSTOM_VTABLE)
550
    : ::google::protobuf::Message(arena, _class_data_.base()) {
551
#else   // PROTOBUF_CUSTOM_VTABLE
552
29.8k
    : ::google::protobuf::Message(arena) {
553
29.8k
#endif  // PROTOBUF_CUSTOM_VTABLE
554
29.8k
  SharedCtor(arena);
555
  // @@protoc_insertion_point(arena_constructor:protobuf_mutator.xml.Document)
556
29.8k
}
557
inline PROTOBUF_NDEBUG_INLINE Document::Impl_::Impl_(
558
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
559
    const Impl_& from, const ::protobuf_mutator::xml::Document& from_msg)
560
0
      : _has_bits_{from._has_bits_},
561
0
        _cached_size_{0},
562
0
        misk1_{visibility, arena, from.misk1_},
563
0
        misk2_{visibility, arena, from.misk2_},
564
0
        version_(arena, from.version_),
565
0
        encoding_(arena, from.encoding_) {}
566
567
Document::Document(
568
    ::google::protobuf::Arena* arena,
569
    const Document& from)
570
#if defined(PROTOBUF_CUSTOM_VTABLE)
571
    : ::google::protobuf::Message(arena, _class_data_.base()) {
572
#else   // PROTOBUF_CUSTOM_VTABLE
573
0
    : ::google::protobuf::Message(arena) {
574
0
#endif  // PROTOBUF_CUSTOM_VTABLE
575
0
  Document* const _this = this;
576
0
  (void)_this;
577
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
578
0
      from._internal_metadata_);
579
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
580
0
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
581
0
  _impl_.doctype_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::DoctypeDecl>(
582
0
                              arena, *from._impl_.doctype_)
583
0
                        : nullptr;
584
0
  _impl_.element_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::Element>(
585
0
                              arena, *from._impl_.element_)
586
0
                        : nullptr;
587
0
  _impl_.standalone_ = from._impl_.standalone_;
588
589
  // @@protoc_insertion_point(copy_constructor:protobuf_mutator.xml.Document)
590
0
}
591
inline PROTOBUF_NDEBUG_INLINE Document::Impl_::Impl_(
592
    ::google::protobuf::internal::InternalVisibility visibility,
593
    ::google::protobuf::Arena* arena)
594
29.8k
      : _cached_size_{0},
595
29.8k
        misk1_{visibility, arena},
596
29.8k
        misk2_{visibility, arena},
597
29.8k
        version_(arena),
598
29.8k
        encoding_(arena) {}
599
600
29.8k
inline void Document::SharedCtor(::_pb::Arena* arena) {
601
29.8k
  new (&_impl_) Impl_(internal_visibility(), arena);
602
29.8k
  ::memset(reinterpret_cast<char *>(&_impl_) +
603
29.8k
               offsetof(Impl_, doctype_),
604
29.8k
           0,
605
29.8k
           offsetof(Impl_, standalone_) -
606
29.8k
               offsetof(Impl_, doctype_) +
607
29.8k
               sizeof(Impl_::standalone_));
608
29.8k
}
609
29.8k
Document::~Document() {
610
  // @@protoc_insertion_point(destructor:protobuf_mutator.xml.Document)
611
29.8k
  SharedDtor(*this);
612
29.8k
}
613
29.8k
inline void Document::SharedDtor(MessageLite& self) {
614
29.8k
  Document& this_ = static_cast<Document&>(self);
615
29.8k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
616
29.8k
  ABSL_DCHECK(this_.GetArena() == nullptr);
617
29.8k
  this_._impl_.version_.Destroy();
618
29.8k
  this_._impl_.encoding_.Destroy();
619
29.8k
  delete this_._impl_.doctype_;
620
29.8k
  delete this_._impl_.element_;
621
29.8k
  this_._impl_.~Impl_();
622
29.8k
}
623
624
inline void* Document::PlacementNew_(const void*, void* mem,
625
29.8k
                                        ::google::protobuf::Arena* arena) {
626
29.8k
  return ::new (mem) Document(arena);
627
29.8k
}
628
0
constexpr auto Document::InternalNewImpl_() {
629
0
  constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
630
0
      PROTOBUF_FIELD_OFFSET(Document, _impl_.misk1_) +
631
0
          decltype(Document::_impl_.misk1_)::
632
0
              InternalGetArenaOffset(
633
0
                  ::google::protobuf::Message::internal_visibility()),
634
0
      PROTOBUF_FIELD_OFFSET(Document, _impl_.misk2_) +
635
0
          decltype(Document::_impl_.misk2_)::
636
0
              InternalGetArenaOffset(
637
0
                  ::google::protobuf::Message::internal_visibility()),
638
0
  });
639
0
  if (arena_bits.has_value()) {
640
0
    return ::google::protobuf::internal::MessageCreator::CopyInit(
641
0
        sizeof(Document), alignof(Document), *arena_bits);
642
0
  } else {
643
0
    return ::google::protobuf::internal::MessageCreator(&Document::PlacementNew_,
644
0
                                 sizeof(Document),
645
0
                                 alignof(Document));
646
0
  }
647
0
}
648
PROTOBUF_CONSTINIT
649
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
650
const ::google::protobuf::internal::ClassDataFull Document::_class_data_ = {
651
    ::google::protobuf::internal::ClassData{
652
        &_Document_default_instance_._instance,
653
        &_table_.header,
654
        nullptr,  // OnDemandRegisterArenaDtor
655
        nullptr,  // IsInitialized
656
        &Document::MergeImpl,
657
        ::google::protobuf::Message::GetNewImpl<Document>(),
658
#if defined(PROTOBUF_CUSTOM_VTABLE)
659
        &Document::SharedDtor,
660
        ::google::protobuf::Message::GetClearImpl<Document>(), &Document::ByteSizeLong,
661
            &Document::_InternalSerialize,
662
#endif  // PROTOBUF_CUSTOM_VTABLE
663
        PROTOBUF_FIELD_OFFSET(Document, _impl_._cached_size_),
664
        false,
665
    },
666
    &Document::kDescriptorMethods,
667
    &descriptor_table_xml_2eproto,
668
    nullptr,  // tracker
669
};
670
329k
const ::google::protobuf::internal::ClassData* Document::GetClassData() const {
671
329k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
672
329k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
673
329k
  return _class_data_.base();
674
329k
}
675
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
676
const ::_pbi::TcParseTable<3, 7, 4, 53, 2> Document::_table_ = {
677
  {
678
    PROTOBUF_FIELD_OFFSET(Document, _impl_._has_bits_),
679
    0, // no _extensions_
680
    7, 56,  // max_field_number, fast_idx_mask
681
    offsetof(decltype(_table_), field_lookup_table),
682
    4294967168,  // skipmap
683
    offsetof(decltype(_table_), field_entries),
684
    7,  // num_field_entries
685
    4,  // num_aux_entries
686
    offsetof(decltype(_table_), aux_entries),
687
    _class_data_.base(),
688
    nullptr,  // post_loop_handler
689
    ::_pbi::TcParser::GenericFallback,  // fallback
690
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
691
    ::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Document>(),  // to_prefetch
692
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
693
  }, {{
694
    {::_pbi::TcParser::MiniParse, {}},
695
    // optional string version = 1;
696
    {::_pbi::TcParser::FastSS1,
697
     {10, 0, 0, PROTOBUF_FIELD_OFFSET(Document, _impl_.version_)}},
698
    // optional string encoding = 2;
699
    {::_pbi::TcParser::FastSS1,
700
     {18, 1, 0, PROTOBUF_FIELD_OFFSET(Document, _impl_.encoding_)}},
701
    // optional bool standalone = 3;
702
    {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(Document, _impl_.standalone_), 4>(),
703
     {24, 4, 0, PROTOBUF_FIELD_OFFSET(Document, _impl_.standalone_)}},
704
    // repeated .protobuf_mutator.xml.Misk misk1 = 4;
705
    {::_pbi::TcParser::FastMtR1,
706
     {34, 63, 0, PROTOBUF_FIELD_OFFSET(Document, _impl_.misk1_)}},
707
    // optional .protobuf_mutator.xml.DoctypeDecl doctype = 5;
708
    {::_pbi::TcParser::FastMtS1,
709
     {42, 2, 1, PROTOBUF_FIELD_OFFSET(Document, _impl_.doctype_)}},
710
    // optional .protobuf_mutator.xml.Element element = 6;
711
    {::_pbi::TcParser::FastMtS1,
712
     {50, 3, 2, PROTOBUF_FIELD_OFFSET(Document, _impl_.element_)}},
713
    // repeated .protobuf_mutator.xml.Misk misk2 = 7;
714
    {::_pbi::TcParser::FastMtR1,
715
     {58, 63, 3, PROTOBUF_FIELD_OFFSET(Document, _impl_.misk2_)}},
716
  }}, {{
717
    65535, 65535
718
  }}, {{
719
    // optional string version = 1;
720
    {PROTOBUF_FIELD_OFFSET(Document, _impl_.version_), _Internal::kHasBitsOffset + 0, 0,
721
    (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
722
    // optional string encoding = 2;
723
    {PROTOBUF_FIELD_OFFSET(Document, _impl_.encoding_), _Internal::kHasBitsOffset + 1, 0,
724
    (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
725
    // optional bool standalone = 3;
726
    {PROTOBUF_FIELD_OFFSET(Document, _impl_.standalone_), _Internal::kHasBitsOffset + 4, 0,
727
    (0 | ::_fl::kFcOptional | ::_fl::kBool)},
728
    // repeated .protobuf_mutator.xml.Misk misk1 = 4;
729
    {PROTOBUF_FIELD_OFFSET(Document, _impl_.misk1_), -1, 0,
730
    (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
731
    // optional .protobuf_mutator.xml.DoctypeDecl doctype = 5;
732
    {PROTOBUF_FIELD_OFFSET(Document, _impl_.doctype_), _Internal::kHasBitsOffset + 2, 1,
733
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
734
    // optional .protobuf_mutator.xml.Element element = 6;
735
    {PROTOBUF_FIELD_OFFSET(Document, _impl_.element_), _Internal::kHasBitsOffset + 3, 2,
736
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
737
    // repeated .protobuf_mutator.xml.Misk misk2 = 7;
738
    {PROTOBUF_FIELD_OFFSET(Document, _impl_.misk2_), -1, 3,
739
    (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
740
  }}, {{
741
    {::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Misk>()},
742
    {::_pbi::TcParser::GetTable<::protobuf_mutator::xml::DoctypeDecl>()},
743
    {::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Element>()},
744
    {::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Misk>()},
745
  }}, {{
746
    "\35\7\10\0\0\0\0\0"
747
    "protobuf_mutator.xml.Document"
748
    "version"
749
    "encoding"
750
  }},
751
};
752
753
4
PROTOBUF_NOINLINE void Document::Clear() {
754
// @@protoc_insertion_point(message_clear_start:protobuf_mutator.xml.Document)
755
4
  ::google::protobuf::internal::TSanWrite(&_impl_);
756
4
  ::uint32_t cached_has_bits = 0;
757
  // Prevent compiler warnings about cached_has_bits being unused
758
4
  (void) cached_has_bits;
759
760
4
  _impl_.misk1_.Clear();
761
4
  _impl_.misk2_.Clear();
762
4
  cached_has_bits = _impl_._has_bits_[0];
763
4
  if (cached_has_bits & 0x0000000fu) {
764
2
    if (cached_has_bits & 0x00000001u) {
765
2
      _impl_.version_.ClearNonDefaultToEmpty();
766
2
    }
767
2
    if (cached_has_bits & 0x00000002u) {
768
2
      _impl_.encoding_.ClearNonDefaultToEmpty();
769
2
    }
770
2
    if (cached_has_bits & 0x00000004u) {
771
1
      ABSL_DCHECK(_impl_.doctype_ != nullptr);
772
1
      _impl_.doctype_->Clear();
773
1
    }
774
2
    if (cached_has_bits & 0x00000008u) {
775
2
      ABSL_DCHECK(_impl_.element_ != nullptr);
776
2
      _impl_.element_->Clear();
777
2
    }
778
2
  }
779
4
  _impl_.standalone_ = false;
780
4
  _impl_._has_bits_.Clear();
781
4
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
782
4
}
783
784
#if defined(PROTOBUF_CUSTOM_VTABLE)
785
        ::uint8_t* Document::_InternalSerialize(
786
            const MessageLite& base, ::uint8_t* target,
787
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
788
          const Document& this_ = static_cast<const Document&>(base);
789
#else   // PROTOBUF_CUSTOM_VTABLE
790
        ::uint8_t* Document::_InternalSerialize(
791
            ::uint8_t* target,
792
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
793
0
          const Document& this_ = *this;
794
0
#endif  // PROTOBUF_CUSTOM_VTABLE
795
          // @@protoc_insertion_point(serialize_to_array_start:protobuf_mutator.xml.Document)
796
0
          ::uint32_t cached_has_bits = 0;
797
0
          (void)cached_has_bits;
798
799
0
          cached_has_bits = this_._impl_._has_bits_[0];
800
          // optional string version = 1;
801
0
          if (cached_has_bits & 0x00000001u) {
802
0
            const std::string& _s = this_._internal_version();
803
0
            ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
804
0
                                        "protobuf_mutator.xml.Document.version");
805
0
            target = stream->WriteStringMaybeAliased(1, _s, target);
806
0
          }
807
808
          // optional string encoding = 2;
809
0
          if (cached_has_bits & 0x00000002u) {
810
0
            const std::string& _s = this_._internal_encoding();
811
0
            ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
812
0
                                        "protobuf_mutator.xml.Document.encoding");
813
0
            target = stream->WriteStringMaybeAliased(2, _s, target);
814
0
          }
815
816
          // optional bool standalone = 3;
817
0
          if (cached_has_bits & 0x00000010u) {
818
0
            target = stream->EnsureSpace(target);
819
0
            target = ::_pbi::WireFormatLite::WriteBoolToArray(
820
0
                3, this_._internal_standalone(), target);
821
0
          }
822
823
          // repeated .protobuf_mutator.xml.Misk misk1 = 4;
824
0
          for (unsigned i = 0, n = static_cast<unsigned>(
825
0
                                   this_._internal_misk1_size());
826
0
               i < n; i++) {
827
0
            const auto& repfield = this_._internal_misk1().Get(i);
828
0
            target =
829
0
                ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
830
0
                    4, repfield, repfield.GetCachedSize(),
831
0
                    target, stream);
832
0
          }
833
834
          // optional .protobuf_mutator.xml.DoctypeDecl doctype = 5;
835
0
          if (cached_has_bits & 0x00000004u) {
836
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
837
0
                5, *this_._impl_.doctype_, this_._impl_.doctype_->GetCachedSize(), target,
838
0
                stream);
839
0
          }
840
841
          // optional .protobuf_mutator.xml.Element element = 6;
842
0
          if (cached_has_bits & 0x00000008u) {
843
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
844
0
                6, *this_._impl_.element_, this_._impl_.element_->GetCachedSize(), target,
845
0
                stream);
846
0
          }
847
848
          // repeated .protobuf_mutator.xml.Misk misk2 = 7;
849
0
          for (unsigned i = 0, n = static_cast<unsigned>(
850
0
                                   this_._internal_misk2_size());
851
0
               i < n; i++) {
852
0
            const auto& repfield = this_._internal_misk2().Get(i);
853
0
            target =
854
0
                ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
855
0
                    7, repfield, repfield.GetCachedSize(),
856
0
                    target, stream);
857
0
          }
858
859
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
860
0
            target =
861
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
862
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
863
0
          }
864
          // @@protoc_insertion_point(serialize_to_array_end:protobuf_mutator.xml.Document)
865
0
          return target;
866
0
        }
867
868
#if defined(PROTOBUF_CUSTOM_VTABLE)
869
        ::size_t Document::ByteSizeLong(const MessageLite& base) {
870
          const Document& this_ = static_cast<const Document&>(base);
871
#else   // PROTOBUF_CUSTOM_VTABLE
872
0
        ::size_t Document::ByteSizeLong() const {
873
0
          const Document& this_ = *this;
874
0
#endif  // PROTOBUF_CUSTOM_VTABLE
875
          // @@protoc_insertion_point(message_byte_size_start:protobuf_mutator.xml.Document)
876
0
          ::size_t total_size = 0;
877
878
0
          ::uint32_t cached_has_bits = 0;
879
          // Prevent compiler warnings about cached_has_bits being unused
880
0
          (void)cached_has_bits;
881
882
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
883
0
           {
884
            // repeated .protobuf_mutator.xml.Misk misk1 = 4;
885
0
            {
886
0
              total_size += 1UL * this_._internal_misk1_size();
887
0
              for (const auto& msg : this_._internal_misk1()) {
888
0
                total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
889
0
              }
890
0
            }
891
            // repeated .protobuf_mutator.xml.Misk misk2 = 7;
892
0
            {
893
0
              total_size += 1UL * this_._internal_misk2_size();
894
0
              for (const auto& msg : this_._internal_misk2()) {
895
0
                total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
896
0
              }
897
0
            }
898
0
          }
899
0
          cached_has_bits = this_._impl_._has_bits_[0];
900
0
          if (cached_has_bits & 0x0000001fu) {
901
            // optional string version = 1;
902
0
            if (cached_has_bits & 0x00000001u) {
903
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
904
0
                                              this_._internal_version());
905
0
            }
906
            // optional string encoding = 2;
907
0
            if (cached_has_bits & 0x00000002u) {
908
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
909
0
                                              this_._internal_encoding());
910
0
            }
911
            // optional .protobuf_mutator.xml.DoctypeDecl doctype = 5;
912
0
            if (cached_has_bits & 0x00000004u) {
913
0
              total_size += 1 +
914
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.doctype_);
915
0
            }
916
            // optional .protobuf_mutator.xml.Element element = 6;
917
0
            if (cached_has_bits & 0x00000008u) {
918
0
              total_size += 1 +
919
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.element_);
920
0
            }
921
            // optional bool standalone = 3;
922
0
            if (cached_has_bits & 0x00000010u) {
923
0
              total_size += 2;
924
0
            }
925
0
          }
926
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
927
0
                                                     &this_._impl_._cached_size_);
928
0
        }
929
930
0
void Document::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
931
0
  auto* const _this = static_cast<Document*>(&to_msg);
932
0
  auto& from = static_cast<const Document&>(from_msg);
933
0
  ::google::protobuf::Arena* arena = _this->GetArena();
934
  // @@protoc_insertion_point(class_specific_merge_from_start:protobuf_mutator.xml.Document)
935
0
  ABSL_DCHECK_NE(&from, _this);
936
0
  ::uint32_t cached_has_bits = 0;
937
0
  (void) cached_has_bits;
938
939
0
  _this->_internal_mutable_misk1()->MergeFrom(
940
0
      from._internal_misk1());
941
0
  _this->_internal_mutable_misk2()->MergeFrom(
942
0
      from._internal_misk2());
943
0
  cached_has_bits = from._impl_._has_bits_[0];
944
0
  if (cached_has_bits & 0x0000001fu) {
945
0
    if (cached_has_bits & 0x00000001u) {
946
0
      _this->_internal_set_version(from._internal_version());
947
0
    }
948
0
    if (cached_has_bits & 0x00000002u) {
949
0
      _this->_internal_set_encoding(from._internal_encoding());
950
0
    }
951
0
    if (cached_has_bits & 0x00000004u) {
952
0
      ABSL_DCHECK(from._impl_.doctype_ != nullptr);
953
0
      if (_this->_impl_.doctype_ == nullptr) {
954
0
        _this->_impl_.doctype_ =
955
0
            ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::DoctypeDecl>(arena, *from._impl_.doctype_);
956
0
      } else {
957
0
        _this->_impl_.doctype_->MergeFrom(*from._impl_.doctype_);
958
0
      }
959
0
    }
960
0
    if (cached_has_bits & 0x00000008u) {
961
0
      ABSL_DCHECK(from._impl_.element_ != nullptr);
962
0
      if (_this->_impl_.element_ == nullptr) {
963
0
        _this->_impl_.element_ =
964
0
            ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::Element>(arena, *from._impl_.element_);
965
0
      } else {
966
0
        _this->_impl_.element_->MergeFrom(*from._impl_.element_);
967
0
      }
968
0
    }
969
0
    if (cached_has_bits & 0x00000010u) {
970
0
      _this->_impl_.standalone_ = from._impl_.standalone_;
971
0
    }
972
0
  }
973
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
974
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
975
0
}
976
977
0
void Document::CopyFrom(const Document& from) {
978
// @@protoc_insertion_point(class_specific_copy_from_start:protobuf_mutator.xml.Document)
979
0
  if (&from == this) return;
980
0
  Clear();
981
0
  MergeFrom(from);
982
0
}
983
984
985
0
void Document::InternalSwap(Document* PROTOBUF_RESTRICT other) {
986
0
  using std::swap;
987
0
  auto* arena = GetArena();
988
0
  ABSL_DCHECK_EQ(arena, other->GetArena());
989
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
990
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
991
0
  _impl_.misk1_.InternalSwap(&other->_impl_.misk1_);
992
0
  _impl_.misk2_.InternalSwap(&other->_impl_.misk2_);
993
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.version_, &other->_impl_.version_, arena);
994
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.encoding_, &other->_impl_.encoding_, arena);
995
0
  ::google::protobuf::internal::memswap<
996
0
      PROTOBUF_FIELD_OFFSET(Document, _impl_.standalone_)
997
0
      + sizeof(Document::_impl_.standalone_)
998
0
      - PROTOBUF_FIELD_OFFSET(Document, _impl_.doctype_)>(
999
0
          reinterpret_cast<char*>(&_impl_.doctype_),
1000
0
          reinterpret_cast<char*>(&other->_impl_.doctype_));
1001
0
}
1002
1003
0
::google::protobuf::Metadata Document::GetMetadata() const {
1004
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1005
0
}
1006
// ===================================================================
1007
1008
class DoctypeDecl::_Internal {
1009
 public:
1010
  using HasBits =
1011
      decltype(std::declval<DoctypeDecl>()._impl_._has_bits_);
1012
  static constexpr ::int32_t kHasBitsOffset =
1013
      8 * PROTOBUF_FIELD_OFFSET(DoctypeDecl, _impl_._has_bits_);
1014
};
1015
1016
DoctypeDecl::DoctypeDecl(::google::protobuf::Arena* arena)
1017
#if defined(PROTOBUF_CUSTOM_VTABLE)
1018
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1019
#else   // PROTOBUF_CUSTOM_VTABLE
1020
13.1k
    : ::google::protobuf::Message(arena) {
1021
13.1k
#endif  // PROTOBUF_CUSTOM_VTABLE
1022
13.1k
  SharedCtor(arena);
1023
  // @@protoc_insertion_point(arena_constructor:protobuf_mutator.xml.DoctypeDecl)
1024
13.1k
}
1025
inline PROTOBUF_NDEBUG_INLINE DoctypeDecl::Impl_::Impl_(
1026
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
1027
    const Impl_& from, const ::protobuf_mutator::xml::DoctypeDecl& from_msg)
1028
0
      : _has_bits_{from._has_bits_},
1029
0
        _cached_size_{0},
1030
0
        misk_{visibility, arena, from.misk_},
1031
0
        name_(arena, from.name_),
1032
0
        external_id_(arena, from.external_id_),
1033
0
        int_subset_(arena, from.int_subset_) {}
1034
1035
DoctypeDecl::DoctypeDecl(
1036
    ::google::protobuf::Arena* arena,
1037
    const DoctypeDecl& from)
1038
#if defined(PROTOBUF_CUSTOM_VTABLE)
1039
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1040
#else   // PROTOBUF_CUSTOM_VTABLE
1041
0
    : ::google::protobuf::Message(arena) {
1042
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1043
0
  DoctypeDecl* const _this = this;
1044
0
  (void)_this;
1045
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1046
0
      from._internal_metadata_);
1047
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1048
1049
  // @@protoc_insertion_point(copy_constructor:protobuf_mutator.xml.DoctypeDecl)
1050
0
}
1051
inline PROTOBUF_NDEBUG_INLINE DoctypeDecl::Impl_::Impl_(
1052
    ::google::protobuf::internal::InternalVisibility visibility,
1053
    ::google::protobuf::Arena* arena)
1054
13.1k
      : _cached_size_{0},
1055
13.1k
        misk_{visibility, arena},
1056
13.1k
        name_(arena),
1057
13.1k
        external_id_(arena),
1058
13.1k
        int_subset_(arena) {}
1059
1060
13.1k
inline void DoctypeDecl::SharedCtor(::_pb::Arena* arena) {
1061
13.1k
  new (&_impl_) Impl_(internal_visibility(), arena);
1062
13.1k
}
1063
13.1k
DoctypeDecl::~DoctypeDecl() {
1064
  // @@protoc_insertion_point(destructor:protobuf_mutator.xml.DoctypeDecl)
1065
13.1k
  SharedDtor(*this);
1066
13.1k
}
1067
13.1k
inline void DoctypeDecl::SharedDtor(MessageLite& self) {
1068
13.1k
  DoctypeDecl& this_ = static_cast<DoctypeDecl&>(self);
1069
13.1k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1070
13.1k
  ABSL_DCHECK(this_.GetArena() == nullptr);
1071
13.1k
  this_._impl_.name_.Destroy();
1072
13.1k
  this_._impl_.external_id_.Destroy();
1073
13.1k
  this_._impl_.int_subset_.Destroy();
1074
13.1k
  this_._impl_.~Impl_();
1075
13.1k
}
1076
1077
inline void* DoctypeDecl::PlacementNew_(const void*, void* mem,
1078
13.1k
                                        ::google::protobuf::Arena* arena) {
1079
13.1k
  return ::new (mem) DoctypeDecl(arena);
1080
13.1k
}
1081
0
constexpr auto DoctypeDecl::InternalNewImpl_() {
1082
0
  constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1083
0
      PROTOBUF_FIELD_OFFSET(DoctypeDecl, _impl_.misk_) +
1084
0
          decltype(DoctypeDecl::_impl_.misk_)::
1085
0
              InternalGetArenaOffset(
1086
0
                  ::google::protobuf::Message::internal_visibility()),
1087
0
  });
1088
0
  if (arena_bits.has_value()) {
1089
0
    return ::google::protobuf::internal::MessageCreator::CopyInit(
1090
0
        sizeof(DoctypeDecl), alignof(DoctypeDecl), *arena_bits);
1091
0
  } else {
1092
0
    return ::google::protobuf::internal::MessageCreator(&DoctypeDecl::PlacementNew_,
1093
0
                                 sizeof(DoctypeDecl),
1094
0
                                 alignof(DoctypeDecl));
1095
0
  }
1096
0
}
1097
PROTOBUF_CONSTINIT
1098
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1099
const ::google::protobuf::internal::ClassDataFull DoctypeDecl::_class_data_ = {
1100
    ::google::protobuf::internal::ClassData{
1101
        &_DoctypeDecl_default_instance_._instance,
1102
        &_table_.header,
1103
        nullptr,  // OnDemandRegisterArenaDtor
1104
        nullptr,  // IsInitialized
1105
        &DoctypeDecl::MergeImpl,
1106
        ::google::protobuf::Message::GetNewImpl<DoctypeDecl>(),
1107
#if defined(PROTOBUF_CUSTOM_VTABLE)
1108
        &DoctypeDecl::SharedDtor,
1109
        ::google::protobuf::Message::GetClearImpl<DoctypeDecl>(), &DoctypeDecl::ByteSizeLong,
1110
            &DoctypeDecl::_InternalSerialize,
1111
#endif  // PROTOBUF_CUSTOM_VTABLE
1112
        PROTOBUF_FIELD_OFFSET(DoctypeDecl, _impl_._cached_size_),
1113
        false,
1114
    },
1115
    &DoctypeDecl::kDescriptorMethods,
1116
    &descriptor_table_xml_2eproto,
1117
    nullptr,  // tracker
1118
};
1119
156k
const ::google::protobuf::internal::ClassData* DoctypeDecl::GetClassData() const {
1120
156k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
1121
156k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
1122
156k
  return _class_data_.base();
1123
156k
}
1124
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1125
const ::_pbi::TcParseTable<2, 4, 1, 66, 2> DoctypeDecl::_table_ = {
1126
  {
1127
    PROTOBUF_FIELD_OFFSET(DoctypeDecl, _impl_._has_bits_),
1128
    0, // no _extensions_
1129
    4, 24,  // max_field_number, fast_idx_mask
1130
    offsetof(decltype(_table_), field_lookup_table),
1131
    4294967280,  // skipmap
1132
    offsetof(decltype(_table_), field_entries),
1133
    4,  // num_field_entries
1134
    1,  // num_aux_entries
1135
    offsetof(decltype(_table_), aux_entries),
1136
    _class_data_.base(),
1137
    nullptr,  // post_loop_handler
1138
    ::_pbi::TcParser::GenericFallback,  // fallback
1139
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1140
    ::_pbi::TcParser::GetTable<::protobuf_mutator::xml::DoctypeDecl>(),  // to_prefetch
1141
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
1142
  }, {{
1143
    // repeated .protobuf_mutator.xml.Misk misk = 4;
1144
    {::_pbi::TcParser::FastMtR1,
1145
     {34, 63, 0, PROTOBUF_FIELD_OFFSET(DoctypeDecl, _impl_.misk_)}},
1146
    // optional string name = 1;
1147
    {::_pbi::TcParser::FastSS1,
1148
     {10, 0, 0, PROTOBUF_FIELD_OFFSET(DoctypeDecl, _impl_.name_)}},
1149
    // optional string external_id = 2;
1150
    {::_pbi::TcParser::FastSS1,
1151
     {18, 1, 0, PROTOBUF_FIELD_OFFSET(DoctypeDecl, _impl_.external_id_)}},
1152
    // optional string int_subset = 3;
1153
    {::_pbi::TcParser::FastSS1,
1154
     {26, 2, 0, PROTOBUF_FIELD_OFFSET(DoctypeDecl, _impl_.int_subset_)}},
1155
  }}, {{
1156
    65535, 65535
1157
  }}, {{
1158
    // optional string name = 1;
1159
    {PROTOBUF_FIELD_OFFSET(DoctypeDecl, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
1160
    (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
1161
    // optional string external_id = 2;
1162
    {PROTOBUF_FIELD_OFFSET(DoctypeDecl, _impl_.external_id_), _Internal::kHasBitsOffset + 1, 0,
1163
    (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
1164
    // optional string int_subset = 3;
1165
    {PROTOBUF_FIELD_OFFSET(DoctypeDecl, _impl_.int_subset_), _Internal::kHasBitsOffset + 2, 0,
1166
    (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
1167
    // repeated .protobuf_mutator.xml.Misk misk = 4;
1168
    {PROTOBUF_FIELD_OFFSET(DoctypeDecl, _impl_.misk_), -1, 0,
1169
    (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1170
  }}, {{
1171
    {::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Misk>()},
1172
  }}, {{
1173
    "\40\4\13\12\0\0\0\0"
1174
    "protobuf_mutator.xml.DoctypeDecl"
1175
    "name"
1176
    "external_id"
1177
    "int_subset"
1178
  }},
1179
};
1180
1181
1
PROTOBUF_NOINLINE void DoctypeDecl::Clear() {
1182
// @@protoc_insertion_point(message_clear_start:protobuf_mutator.xml.DoctypeDecl)
1183
1
  ::google::protobuf::internal::TSanWrite(&_impl_);
1184
1
  ::uint32_t cached_has_bits = 0;
1185
  // Prevent compiler warnings about cached_has_bits being unused
1186
1
  (void) cached_has_bits;
1187
1188
1
  _impl_.misk_.Clear();
1189
1
  cached_has_bits = _impl_._has_bits_[0];
1190
1
  if (cached_has_bits & 0x00000007u) {
1191
1
    if (cached_has_bits & 0x00000001u) {
1192
0
      _impl_.name_.ClearNonDefaultToEmpty();
1193
0
    }
1194
1
    if (cached_has_bits & 0x00000002u) {
1195
1
      _impl_.external_id_.ClearNonDefaultToEmpty();
1196
1
    }
1197
1
    if (cached_has_bits & 0x00000004u) {
1198
0
      _impl_.int_subset_.ClearNonDefaultToEmpty();
1199
0
    }
1200
1
  }
1201
1
  _impl_._has_bits_.Clear();
1202
1
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1203
1
}
1204
1205
#if defined(PROTOBUF_CUSTOM_VTABLE)
1206
        ::uint8_t* DoctypeDecl::_InternalSerialize(
1207
            const MessageLite& base, ::uint8_t* target,
1208
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
1209
          const DoctypeDecl& this_ = static_cast<const DoctypeDecl&>(base);
1210
#else   // PROTOBUF_CUSTOM_VTABLE
1211
        ::uint8_t* DoctypeDecl::_InternalSerialize(
1212
            ::uint8_t* target,
1213
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1214
0
          const DoctypeDecl& this_ = *this;
1215
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1216
          // @@protoc_insertion_point(serialize_to_array_start:protobuf_mutator.xml.DoctypeDecl)
1217
0
          ::uint32_t cached_has_bits = 0;
1218
0
          (void)cached_has_bits;
1219
1220
0
          cached_has_bits = this_._impl_._has_bits_[0];
1221
          // optional string name = 1;
1222
0
          if (cached_has_bits & 0x00000001u) {
1223
0
            const std::string& _s = this_._internal_name();
1224
0
            ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
1225
0
                                        "protobuf_mutator.xml.DoctypeDecl.name");
1226
0
            target = stream->WriteStringMaybeAliased(1, _s, target);
1227
0
          }
1228
1229
          // optional string external_id = 2;
1230
0
          if (cached_has_bits & 0x00000002u) {
1231
0
            const std::string& _s = this_._internal_external_id();
1232
0
            ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
1233
0
                                        "protobuf_mutator.xml.DoctypeDecl.external_id");
1234
0
            target = stream->WriteStringMaybeAliased(2, _s, target);
1235
0
          }
1236
1237
          // optional string int_subset = 3;
1238
0
          if (cached_has_bits & 0x00000004u) {
1239
0
            const std::string& _s = this_._internal_int_subset();
1240
0
            ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
1241
0
                                        "protobuf_mutator.xml.DoctypeDecl.int_subset");
1242
0
            target = stream->WriteStringMaybeAliased(3, _s, target);
1243
0
          }
1244
1245
          // repeated .protobuf_mutator.xml.Misk misk = 4;
1246
0
          for (unsigned i = 0, n = static_cast<unsigned>(
1247
0
                                   this_._internal_misk_size());
1248
0
               i < n; i++) {
1249
0
            const auto& repfield = this_._internal_misk().Get(i);
1250
0
            target =
1251
0
                ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1252
0
                    4, repfield, repfield.GetCachedSize(),
1253
0
                    target, stream);
1254
0
          }
1255
1256
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1257
0
            target =
1258
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1259
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1260
0
          }
1261
          // @@protoc_insertion_point(serialize_to_array_end:protobuf_mutator.xml.DoctypeDecl)
1262
0
          return target;
1263
0
        }
1264
1265
#if defined(PROTOBUF_CUSTOM_VTABLE)
1266
        ::size_t DoctypeDecl::ByteSizeLong(const MessageLite& base) {
1267
          const DoctypeDecl& this_ = static_cast<const DoctypeDecl&>(base);
1268
#else   // PROTOBUF_CUSTOM_VTABLE
1269
0
        ::size_t DoctypeDecl::ByteSizeLong() const {
1270
0
          const DoctypeDecl& this_ = *this;
1271
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1272
          // @@protoc_insertion_point(message_byte_size_start:protobuf_mutator.xml.DoctypeDecl)
1273
0
          ::size_t total_size = 0;
1274
1275
0
          ::uint32_t cached_has_bits = 0;
1276
          // Prevent compiler warnings about cached_has_bits being unused
1277
0
          (void)cached_has_bits;
1278
1279
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1280
0
           {
1281
            // repeated .protobuf_mutator.xml.Misk misk = 4;
1282
0
            {
1283
0
              total_size += 1UL * this_._internal_misk_size();
1284
0
              for (const auto& msg : this_._internal_misk()) {
1285
0
                total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1286
0
              }
1287
0
            }
1288
0
          }
1289
0
          cached_has_bits = this_._impl_._has_bits_[0];
1290
0
          if (cached_has_bits & 0x00000007u) {
1291
            // optional string name = 1;
1292
0
            if (cached_has_bits & 0x00000001u) {
1293
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1294
0
                                              this_._internal_name());
1295
0
            }
1296
            // optional string external_id = 2;
1297
0
            if (cached_has_bits & 0x00000002u) {
1298
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1299
0
                                              this_._internal_external_id());
1300
0
            }
1301
            // optional string int_subset = 3;
1302
0
            if (cached_has_bits & 0x00000004u) {
1303
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1304
0
                                              this_._internal_int_subset());
1305
0
            }
1306
0
          }
1307
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
1308
0
                                                     &this_._impl_._cached_size_);
1309
0
        }
1310
1311
0
void DoctypeDecl::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1312
0
  auto* const _this = static_cast<DoctypeDecl*>(&to_msg);
1313
0
  auto& from = static_cast<const DoctypeDecl&>(from_msg);
1314
  // @@protoc_insertion_point(class_specific_merge_from_start:protobuf_mutator.xml.DoctypeDecl)
1315
0
  ABSL_DCHECK_NE(&from, _this);
1316
0
  ::uint32_t cached_has_bits = 0;
1317
0
  (void) cached_has_bits;
1318
1319
0
  _this->_internal_mutable_misk()->MergeFrom(
1320
0
      from._internal_misk());
1321
0
  cached_has_bits = from._impl_._has_bits_[0];
1322
0
  if (cached_has_bits & 0x00000007u) {
1323
0
    if (cached_has_bits & 0x00000001u) {
1324
0
      _this->_internal_set_name(from._internal_name());
1325
0
    }
1326
0
    if (cached_has_bits & 0x00000002u) {
1327
0
      _this->_internal_set_external_id(from._internal_external_id());
1328
0
    }
1329
0
    if (cached_has_bits & 0x00000004u) {
1330
0
      _this->_internal_set_int_subset(from._internal_int_subset());
1331
0
    }
1332
0
  }
1333
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
1334
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1335
0
}
1336
1337
0
void DoctypeDecl::CopyFrom(const DoctypeDecl& from) {
1338
// @@protoc_insertion_point(class_specific_copy_from_start:protobuf_mutator.xml.DoctypeDecl)
1339
0
  if (&from == this) return;
1340
0
  Clear();
1341
0
  MergeFrom(from);
1342
0
}
1343
1344
1345
0
void DoctypeDecl::InternalSwap(DoctypeDecl* PROTOBUF_RESTRICT other) {
1346
0
  using std::swap;
1347
0
  auto* arena = GetArena();
1348
0
  ABSL_DCHECK_EQ(arena, other->GetArena());
1349
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1350
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1351
0
  _impl_.misk_.InternalSwap(&other->_impl_.misk_);
1352
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
1353
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.external_id_, &other->_impl_.external_id_, arena);
1354
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.int_subset_, &other->_impl_.int_subset_, arena);
1355
0
}
1356
1357
0
::google::protobuf::Metadata DoctypeDecl::GetMetadata() const {
1358
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1359
0
}
1360
// ===================================================================
1361
1362
class Misk::_Internal {
1363
 public:
1364
  static constexpr ::int32_t kOneofCaseOffset =
1365
      PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Misk, _impl_._oneof_case_);
1366
};
1367
1368
0
void Misk::set_allocated_pi(::protobuf_mutator::xml::Pi* pi) {
1369
0
  ::google::protobuf::Arena* message_arena = GetArena();
1370
0
  clear__();
1371
0
  if (pi) {
1372
0
    ::google::protobuf::Arena* submessage_arena = pi->GetArena();
1373
0
    if (message_arena != submessage_arena) {
1374
0
      pi = ::google::protobuf::internal::GetOwnedMessage(message_arena, pi, submessage_arena);
1375
0
    }
1376
0
    set_has_pi();
1377
0
    _impl_.__.pi_ = pi;
1378
0
  }
1379
  // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Misk.pi)
1380
0
}
1381
Misk::Misk(::google::protobuf::Arena* arena)
1382
#if defined(PROTOBUF_CUSTOM_VTABLE)
1383
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1384
#else   // PROTOBUF_CUSTOM_VTABLE
1385
2.80k
    : ::google::protobuf::Message(arena) {
1386
2.80k
#endif  // PROTOBUF_CUSTOM_VTABLE
1387
2.80k
  SharedCtor(arena);
1388
  // @@protoc_insertion_point(arena_constructor:protobuf_mutator.xml.Misk)
1389
2.80k
}
1390
inline PROTOBUF_NDEBUG_INLINE Misk::Impl_::Impl_(
1391
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
1392
    const Impl_& from, const ::protobuf_mutator::xml::Misk& from_msg)
1393
0
      : __{},
1394
0
        _cached_size_{0},
1395
0
        _oneof_case_{from._oneof_case_[0]} {}
1396
1397
Misk::Misk(
1398
    ::google::protobuf::Arena* arena,
1399
    const Misk& from)
1400
#if defined(PROTOBUF_CUSTOM_VTABLE)
1401
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1402
#else   // PROTOBUF_CUSTOM_VTABLE
1403
0
    : ::google::protobuf::Message(arena) {
1404
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1405
0
  Misk* const _this = this;
1406
0
  (void)_this;
1407
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1408
0
      from._internal_metadata_);
1409
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1410
0
  switch (__case()) {
1411
0
    case __NOT_SET:
1412
0
      break;
1413
0
      case kPi:
1414
0
        _impl_.__.pi_ = ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::Pi>(arena, *from._impl_.__.pi_);
1415
0
        break;
1416
0
      case kComment:
1417
0
        new (&_impl_.__.comment_) decltype(_impl_.__.comment_){arena, from._impl_.__.comment_};
1418
0
        break;
1419
0
  }
1420
1421
  // @@protoc_insertion_point(copy_constructor:protobuf_mutator.xml.Misk)
1422
0
}
1423
inline PROTOBUF_NDEBUG_INLINE Misk::Impl_::Impl_(
1424
    ::google::protobuf::internal::InternalVisibility visibility,
1425
    ::google::protobuf::Arena* arena)
1426
2.80k
      : __{},
1427
2.80k
        _cached_size_{0},
1428
2.80k
        _oneof_case_{} {}
1429
1430
2.80k
inline void Misk::SharedCtor(::_pb::Arena* arena) {
1431
2.80k
  new (&_impl_) Impl_(internal_visibility(), arena);
1432
2.80k
}
1433
2.80k
Misk::~Misk() {
1434
  // @@protoc_insertion_point(destructor:protobuf_mutator.xml.Misk)
1435
2.80k
  SharedDtor(*this);
1436
2.80k
}
1437
2.80k
inline void Misk::SharedDtor(MessageLite& self) {
1438
2.80k
  Misk& this_ = static_cast<Misk&>(self);
1439
2.80k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1440
2.80k
  ABSL_DCHECK(this_.GetArena() == nullptr);
1441
2.80k
  if (this_.has__()) {
1442
2.77k
    this_.clear__();
1443
2.77k
  }
1444
2.80k
  this_._impl_.~Impl_();
1445
2.80k
}
1446
1447
2.77k
void Misk::clear__() {
1448
// @@protoc_insertion_point(one_of_clear_start:protobuf_mutator.xml.Misk)
1449
2.77k
  ::google::protobuf::internal::TSanWrite(&_impl_);
1450
2.77k
  switch (__case()) {
1451
672
    case kPi: {
1452
672
      if (GetArena() == nullptr) {
1453
672
        delete _impl_.__.pi_;
1454
672
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
1455
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.__.pi_);
1456
0
      }
1457
672
      break;
1458
0
    }
1459
2.10k
    case kComment: {
1460
2.10k
      _impl_.__.comment_.Destroy();
1461
2.10k
      break;
1462
0
    }
1463
0
    case __NOT_SET: {
1464
0
      break;
1465
0
    }
1466
2.77k
  }
1467
2.77k
  _impl_._oneof_case_[0] = __NOT_SET;
1468
2.77k
}
1469
1470
1471
inline void* Misk::PlacementNew_(const void*, void* mem,
1472
2.80k
                                        ::google::protobuf::Arena* arena) {
1473
2.80k
  return ::new (mem) Misk(arena);
1474
2.80k
}
1475
0
constexpr auto Misk::InternalNewImpl_() {
1476
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Misk),
1477
0
                                            alignof(Misk));
1478
0
}
1479
PROTOBUF_CONSTINIT
1480
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1481
const ::google::protobuf::internal::ClassDataFull Misk::_class_data_ = {
1482
    ::google::protobuf::internal::ClassData{
1483
        &_Misk_default_instance_._instance,
1484
        &_table_.header,
1485
        nullptr,  // OnDemandRegisterArenaDtor
1486
        nullptr,  // IsInitialized
1487
        &Misk::MergeImpl,
1488
        ::google::protobuf::Message::GetNewImpl<Misk>(),
1489
#if defined(PROTOBUF_CUSTOM_VTABLE)
1490
        &Misk::SharedDtor,
1491
        ::google::protobuf::Message::GetClearImpl<Misk>(), &Misk::ByteSizeLong,
1492
            &Misk::_InternalSerialize,
1493
#endif  // PROTOBUF_CUSTOM_VTABLE
1494
        PROTOBUF_FIELD_OFFSET(Misk, _impl_._cached_size_),
1495
        false,
1496
    },
1497
    &Misk::kDescriptorMethods,
1498
    &descriptor_table_xml_2eproto,
1499
    nullptr,  // tracker
1500
};
1501
27.9k
const ::google::protobuf::internal::ClassData* Misk::GetClassData() const {
1502
27.9k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
1503
27.9k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
1504
27.9k
  return _class_data_.base();
1505
27.9k
}
1506
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1507
const ::_pbi::TcParseTable<0, 2, 1, 41, 2> Misk::_table_ = {
1508
  {
1509
    0,  // no _has_bits_
1510
    0, // no _extensions_
1511
    2, 0,  // max_field_number, fast_idx_mask
1512
    offsetof(decltype(_table_), field_lookup_table),
1513
    4294967292,  // skipmap
1514
    offsetof(decltype(_table_), field_entries),
1515
    2,  // num_field_entries
1516
    1,  // num_aux_entries
1517
    offsetof(decltype(_table_), aux_entries),
1518
    _class_data_.base(),
1519
    nullptr,  // post_loop_handler
1520
    ::_pbi::TcParser::GenericFallback,  // fallback
1521
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1522
    ::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Misk>(),  // to_prefetch
1523
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
1524
  }, {{
1525
    {::_pbi::TcParser::MiniParse, {}},
1526
  }}, {{
1527
    65535, 65535
1528
  }}, {{
1529
    // .protobuf_mutator.xml.Pi pi = 1;
1530
    {PROTOBUF_FIELD_OFFSET(Misk, _impl_.__.pi_), _Internal::kOneofCaseOffset + 0, 0,
1531
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
1532
    // string comment = 2;
1533
    {PROTOBUF_FIELD_OFFSET(Misk, _impl_.__.comment_), _Internal::kOneofCaseOffset + 0, 0,
1534
    (0 | ::_fl::kFcOneof | ::_fl::kRawString | ::_fl::kRepAString)},
1535
  }}, {{
1536
    {::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Pi>()},
1537
  }}, {{
1538
    "\31\0\7\0\0\0\0\0"
1539
    "protobuf_mutator.xml.Misk"
1540
    "comment"
1541
  }},
1542
};
1543
1544
2
PROTOBUF_NOINLINE void Misk::Clear() {
1545
// @@protoc_insertion_point(message_clear_start:protobuf_mutator.xml.Misk)
1546
2
  ::google::protobuf::internal::TSanWrite(&_impl_);
1547
2
  ::uint32_t cached_has_bits = 0;
1548
  // Prevent compiler warnings about cached_has_bits being unused
1549
2
  (void) cached_has_bits;
1550
1551
2
  clear__();
1552
2
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1553
2
}
1554
1555
#if defined(PROTOBUF_CUSTOM_VTABLE)
1556
        ::uint8_t* Misk::_InternalSerialize(
1557
            const MessageLite& base, ::uint8_t* target,
1558
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
1559
          const Misk& this_ = static_cast<const Misk&>(base);
1560
#else   // PROTOBUF_CUSTOM_VTABLE
1561
        ::uint8_t* Misk::_InternalSerialize(
1562
            ::uint8_t* target,
1563
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1564
0
          const Misk& this_ = *this;
1565
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1566
          // @@protoc_insertion_point(serialize_to_array_start:protobuf_mutator.xml.Misk)
1567
0
          ::uint32_t cached_has_bits = 0;
1568
0
          (void)cached_has_bits;
1569
1570
0
          switch (this_.__case()) {
1571
0
            case kPi: {
1572
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1573
0
                  1, *this_._impl_.__.pi_, this_._impl_.__.pi_->GetCachedSize(), target,
1574
0
                  stream);
1575
0
              break;
1576
0
            }
1577
0
            case kComment: {
1578
0
              const std::string& _s = this_._internal_comment();
1579
0
              ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
1580
0
                                          "protobuf_mutator.xml.Misk.comment");
1581
0
              target = stream->WriteStringMaybeAliased(2, _s, target);
1582
0
              break;
1583
0
            }
1584
0
            default:
1585
0
              break;
1586
0
          }
1587
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1588
0
            target =
1589
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1590
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1591
0
          }
1592
          // @@protoc_insertion_point(serialize_to_array_end:protobuf_mutator.xml.Misk)
1593
0
          return target;
1594
0
        }
1595
1596
#if defined(PROTOBUF_CUSTOM_VTABLE)
1597
        ::size_t Misk::ByteSizeLong(const MessageLite& base) {
1598
          const Misk& this_ = static_cast<const Misk&>(base);
1599
#else   // PROTOBUF_CUSTOM_VTABLE
1600
0
        ::size_t Misk::ByteSizeLong() const {
1601
0
          const Misk& this_ = *this;
1602
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1603
          // @@protoc_insertion_point(message_byte_size_start:protobuf_mutator.xml.Misk)
1604
0
          ::size_t total_size = 0;
1605
1606
0
          ::uint32_t cached_has_bits = 0;
1607
          // Prevent compiler warnings about cached_has_bits being unused
1608
0
          (void)cached_has_bits;
1609
1610
0
          switch (this_.__case()) {
1611
            // .protobuf_mutator.xml.Pi pi = 1;
1612
0
            case kPi: {
1613
0
              total_size += 1 +
1614
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.__.pi_);
1615
0
              break;
1616
0
            }
1617
            // string comment = 2;
1618
0
            case kComment: {
1619
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
1620
0
                                              this_._internal_comment());
1621
0
              break;
1622
0
            }
1623
0
            case __NOT_SET: {
1624
0
              break;
1625
0
            }
1626
0
          }
1627
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
1628
0
                                                     &this_._impl_._cached_size_);
1629
0
        }
1630
1631
0
void Misk::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1632
0
  auto* const _this = static_cast<Misk*>(&to_msg);
1633
0
  auto& from = static_cast<const Misk&>(from_msg);
1634
0
  ::google::protobuf::Arena* arena = _this->GetArena();
1635
  // @@protoc_insertion_point(class_specific_merge_from_start:protobuf_mutator.xml.Misk)
1636
0
  ABSL_DCHECK_NE(&from, _this);
1637
0
  ::uint32_t cached_has_bits = 0;
1638
0
  (void) cached_has_bits;
1639
1640
0
  if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) {
1641
0
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
1642
0
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
1643
0
    if (oneof_needs_init) {
1644
0
      if (oneof_to_case != 0) {
1645
0
        _this->clear__();
1646
0
      }
1647
0
      _this->_impl_._oneof_case_[0] = oneof_from_case;
1648
0
    }
1649
1650
0
    switch (oneof_from_case) {
1651
0
      case kPi: {
1652
0
        if (oneof_needs_init) {
1653
0
          _this->_impl_.__.pi_ =
1654
0
              ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::Pi>(arena, *from._impl_.__.pi_);
1655
0
        } else {
1656
0
          _this->_impl_.__.pi_->MergeFrom(from._internal_pi());
1657
0
        }
1658
0
        break;
1659
0
      }
1660
0
      case kComment: {
1661
0
        if (oneof_needs_init) {
1662
0
          _this->_impl_.__.comment_.InitDefault();
1663
0
        }
1664
0
        _this->_impl_.__.comment_.Set(from._internal_comment(), arena);
1665
0
        break;
1666
0
      }
1667
0
      case __NOT_SET:
1668
0
        break;
1669
0
    }
1670
0
  }
1671
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1672
0
}
1673
1674
0
void Misk::CopyFrom(const Misk& from) {
1675
// @@protoc_insertion_point(class_specific_copy_from_start:protobuf_mutator.xml.Misk)
1676
0
  if (&from == this) return;
1677
0
  Clear();
1678
0
  MergeFrom(from);
1679
0
}
1680
1681
1682
0
void Misk::InternalSwap(Misk* PROTOBUF_RESTRICT other) {
1683
0
  using std::swap;
1684
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1685
0
  swap(_impl_.__, other->_impl_.__);
1686
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
1687
0
}
1688
1689
0
::google::protobuf::Metadata Misk::GetMetadata() const {
1690
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1691
0
}
1692
// ===================================================================
1693
1694
class Element::_Internal {
1695
 public:
1696
  using HasBits =
1697
      decltype(std::declval<Element>()._impl_._has_bits_);
1698
  static constexpr ::int32_t kHasBitsOffset =
1699
      8 * PROTOBUF_FIELD_OFFSET(Element, _impl_._has_bits_);
1700
};
1701
1702
Element::Element(::google::protobuf::Arena* arena)
1703
#if defined(PROTOBUF_CUSTOM_VTABLE)
1704
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1705
#else   // PROTOBUF_CUSTOM_VTABLE
1706
10.6k
    : ::google::protobuf::Message(arena) {
1707
10.6k
#endif  // PROTOBUF_CUSTOM_VTABLE
1708
10.6k
  SharedCtor(arena);
1709
  // @@protoc_insertion_point(arena_constructor:protobuf_mutator.xml.Element)
1710
10.6k
}
1711
inline PROTOBUF_NDEBUG_INLINE Element::Impl_::Impl_(
1712
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
1713
    const Impl_& from, const ::protobuf_mutator::xml::Element& from_msg)
1714
0
      : _has_bits_{from._has_bits_},
1715
0
        _cached_size_{0},
1716
0
        content_{visibility, arena, from.content_} {}
1717
1718
Element::Element(
1719
    ::google::protobuf::Arena* arena,
1720
    const Element& from)
1721
#if defined(PROTOBUF_CUSTOM_VTABLE)
1722
    : ::google::protobuf::Message(arena, _class_data_.base()) {
1723
#else   // PROTOBUF_CUSTOM_VTABLE
1724
0
    : ::google::protobuf::Message(arena) {
1725
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1726
0
  Element* const _this = this;
1727
0
  (void)_this;
1728
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1729
0
      from._internal_metadata_);
1730
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1731
0
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
1732
0
  _impl_.tag_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::Tag>(
1733
0
                              arena, *from._impl_.tag_)
1734
0
                        : nullptr;
1735
1736
  // @@protoc_insertion_point(copy_constructor:protobuf_mutator.xml.Element)
1737
0
}
1738
inline PROTOBUF_NDEBUG_INLINE Element::Impl_::Impl_(
1739
    ::google::protobuf::internal::InternalVisibility visibility,
1740
    ::google::protobuf::Arena* arena)
1741
10.6k
      : _cached_size_{0},
1742
10.6k
        content_{visibility, arena} {}
1743
1744
10.6k
inline void Element::SharedCtor(::_pb::Arena* arena) {
1745
10.6k
  new (&_impl_) Impl_(internal_visibility(), arena);
1746
10.6k
  _impl_.tag_ = {};
1747
10.6k
}
1748
10.6k
Element::~Element() {
1749
  // @@protoc_insertion_point(destructor:protobuf_mutator.xml.Element)
1750
10.6k
  SharedDtor(*this);
1751
10.6k
}
1752
10.6k
inline void Element::SharedDtor(MessageLite& self) {
1753
10.6k
  Element& this_ = static_cast<Element&>(self);
1754
10.6k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1755
10.6k
  ABSL_DCHECK(this_.GetArena() == nullptr);
1756
10.6k
  delete this_._impl_.tag_;
1757
10.6k
  this_._impl_.~Impl_();
1758
10.6k
}
1759
1760
inline void* Element::PlacementNew_(const void*, void* mem,
1761
10.6k
                                        ::google::protobuf::Arena* arena) {
1762
10.6k
  return ::new (mem) Element(arena);
1763
10.6k
}
1764
0
constexpr auto Element::InternalNewImpl_() {
1765
0
  constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1766
0
      PROTOBUF_FIELD_OFFSET(Element, _impl_.content_) +
1767
0
          decltype(Element::_impl_.content_)::
1768
0
              InternalGetArenaOffset(
1769
0
                  ::google::protobuf::Message::internal_visibility()),
1770
0
  });
1771
0
  if (arena_bits.has_value()) {
1772
0
    return ::google::protobuf::internal::MessageCreator::ZeroInit(
1773
0
        sizeof(Element), alignof(Element), *arena_bits);
1774
0
  } else {
1775
0
    return ::google::protobuf::internal::MessageCreator(&Element::PlacementNew_,
1776
0
                                 sizeof(Element),
1777
0
                                 alignof(Element));
1778
0
  }
1779
0
}
1780
PROTOBUF_CONSTINIT
1781
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1782
const ::google::protobuf::internal::ClassDataFull Element::_class_data_ = {
1783
    ::google::protobuf::internal::ClassData{
1784
        &_Element_default_instance_._instance,
1785
        &_table_.header,
1786
        nullptr,  // OnDemandRegisterArenaDtor
1787
        nullptr,  // IsInitialized
1788
        &Element::MergeImpl,
1789
        ::google::protobuf::Message::GetNewImpl<Element>(),
1790
#if defined(PROTOBUF_CUSTOM_VTABLE)
1791
        &Element::SharedDtor,
1792
        ::google::protobuf::Message::GetClearImpl<Element>(), &Element::ByteSizeLong,
1793
            &Element::_InternalSerialize,
1794
#endif  // PROTOBUF_CUSTOM_VTABLE
1795
        PROTOBUF_FIELD_OFFSET(Element, _impl_._cached_size_),
1796
        false,
1797
    },
1798
    &Element::kDescriptorMethods,
1799
    &descriptor_table_xml_2eproto,
1800
    nullptr,  // tracker
1801
};
1802
128k
const ::google::protobuf::internal::ClassData* Element::GetClassData() const {
1803
128k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
1804
128k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
1805
128k
  return _class_data_.base();
1806
128k
}
1807
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1808
const ::_pbi::TcParseTable<1, 2, 2, 0, 2> Element::_table_ = {
1809
  {
1810
    PROTOBUF_FIELD_OFFSET(Element, _impl_._has_bits_),
1811
    0, // no _extensions_
1812
    2, 8,  // max_field_number, fast_idx_mask
1813
    offsetof(decltype(_table_), field_lookup_table),
1814
    4294967292,  // skipmap
1815
    offsetof(decltype(_table_), field_entries),
1816
    2,  // num_field_entries
1817
    2,  // num_aux_entries
1818
    offsetof(decltype(_table_), aux_entries),
1819
    _class_data_.base(),
1820
    nullptr,  // post_loop_handler
1821
    ::_pbi::TcParser::GenericFallback,  // fallback
1822
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1823
    ::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Element>(),  // to_prefetch
1824
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
1825
  }, {{
1826
    // repeated .protobuf_mutator.xml.Content content = 2;
1827
    {::_pbi::TcParser::FastMtR1,
1828
     {18, 63, 1, PROTOBUF_FIELD_OFFSET(Element, _impl_.content_)}},
1829
    // optional .protobuf_mutator.xml.Tag tag = 1;
1830
    {::_pbi::TcParser::FastMtS1,
1831
     {10, 0, 0, PROTOBUF_FIELD_OFFSET(Element, _impl_.tag_)}},
1832
  }}, {{
1833
    65535, 65535
1834
  }}, {{
1835
    // optional .protobuf_mutator.xml.Tag tag = 1;
1836
    {PROTOBUF_FIELD_OFFSET(Element, _impl_.tag_), _Internal::kHasBitsOffset + 0, 0,
1837
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
1838
    // repeated .protobuf_mutator.xml.Content content = 2;
1839
    {PROTOBUF_FIELD_OFFSET(Element, _impl_.content_), -1, 1,
1840
    (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1841
  }}, {{
1842
    {::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Tag>()},
1843
    {::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Content>()},
1844
  }}, {{
1845
  }},
1846
};
1847
1848
2
PROTOBUF_NOINLINE void Element::Clear() {
1849
// @@protoc_insertion_point(message_clear_start:protobuf_mutator.xml.Element)
1850
2
  ::google::protobuf::internal::TSanWrite(&_impl_);
1851
2
  ::uint32_t cached_has_bits = 0;
1852
  // Prevent compiler warnings about cached_has_bits being unused
1853
2
  (void) cached_has_bits;
1854
1855
2
  _impl_.content_.Clear();
1856
2
  cached_has_bits = _impl_._has_bits_[0];
1857
2
  if (cached_has_bits & 0x00000001u) {
1858
1
    ABSL_DCHECK(_impl_.tag_ != nullptr);
1859
1
    _impl_.tag_->Clear();
1860
1
  }
1861
2
  _impl_._has_bits_.Clear();
1862
2
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1863
2
}
1864
1865
#if defined(PROTOBUF_CUSTOM_VTABLE)
1866
        ::uint8_t* Element::_InternalSerialize(
1867
            const MessageLite& base, ::uint8_t* target,
1868
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
1869
          const Element& this_ = static_cast<const Element&>(base);
1870
#else   // PROTOBUF_CUSTOM_VTABLE
1871
        ::uint8_t* Element::_InternalSerialize(
1872
            ::uint8_t* target,
1873
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1874
0
          const Element& this_ = *this;
1875
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1876
          // @@protoc_insertion_point(serialize_to_array_start:protobuf_mutator.xml.Element)
1877
0
          ::uint32_t cached_has_bits = 0;
1878
0
          (void)cached_has_bits;
1879
1880
0
          cached_has_bits = this_._impl_._has_bits_[0];
1881
          // optional .protobuf_mutator.xml.Tag tag = 1;
1882
0
          if (cached_has_bits & 0x00000001u) {
1883
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1884
0
                1, *this_._impl_.tag_, this_._impl_.tag_->GetCachedSize(), target,
1885
0
                stream);
1886
0
          }
1887
1888
          // repeated .protobuf_mutator.xml.Content content = 2;
1889
0
          for (unsigned i = 0, n = static_cast<unsigned>(
1890
0
                                   this_._internal_content_size());
1891
0
               i < n; i++) {
1892
0
            const auto& repfield = this_._internal_content().Get(i);
1893
0
            target =
1894
0
                ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1895
0
                    2, repfield, repfield.GetCachedSize(),
1896
0
                    target, stream);
1897
0
          }
1898
1899
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1900
0
            target =
1901
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1902
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1903
0
          }
1904
          // @@protoc_insertion_point(serialize_to_array_end:protobuf_mutator.xml.Element)
1905
0
          return target;
1906
0
        }
1907
1908
#if defined(PROTOBUF_CUSTOM_VTABLE)
1909
        ::size_t Element::ByteSizeLong(const MessageLite& base) {
1910
          const Element& this_ = static_cast<const Element&>(base);
1911
#else   // PROTOBUF_CUSTOM_VTABLE
1912
0
        ::size_t Element::ByteSizeLong() const {
1913
0
          const Element& this_ = *this;
1914
0
#endif  // PROTOBUF_CUSTOM_VTABLE
1915
          // @@protoc_insertion_point(message_byte_size_start:protobuf_mutator.xml.Element)
1916
0
          ::size_t total_size = 0;
1917
1918
0
          ::uint32_t cached_has_bits = 0;
1919
          // Prevent compiler warnings about cached_has_bits being unused
1920
0
          (void)cached_has_bits;
1921
1922
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1923
0
           {
1924
            // repeated .protobuf_mutator.xml.Content content = 2;
1925
0
            {
1926
0
              total_size += 1UL * this_._internal_content_size();
1927
0
              for (const auto& msg : this_._internal_content()) {
1928
0
                total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1929
0
              }
1930
0
            }
1931
0
          }
1932
0
           {
1933
            // optional .protobuf_mutator.xml.Tag tag = 1;
1934
0
            cached_has_bits = this_._impl_._has_bits_[0];
1935
0
            if (cached_has_bits & 0x00000001u) {
1936
0
              total_size += 1 +
1937
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.tag_);
1938
0
            }
1939
0
          }
1940
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
1941
0
                                                     &this_._impl_._cached_size_);
1942
0
        }
1943
1944
0
void Element::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1945
0
  auto* const _this = static_cast<Element*>(&to_msg);
1946
0
  auto& from = static_cast<const Element&>(from_msg);
1947
0
  ::google::protobuf::Arena* arena = _this->GetArena();
1948
  // @@protoc_insertion_point(class_specific_merge_from_start:protobuf_mutator.xml.Element)
1949
0
  ABSL_DCHECK_NE(&from, _this);
1950
0
  ::uint32_t cached_has_bits = 0;
1951
0
  (void) cached_has_bits;
1952
1953
0
  _this->_internal_mutable_content()->MergeFrom(
1954
0
      from._internal_content());
1955
0
  cached_has_bits = from._impl_._has_bits_[0];
1956
0
  if (cached_has_bits & 0x00000001u) {
1957
0
    ABSL_DCHECK(from._impl_.tag_ != nullptr);
1958
0
    if (_this->_impl_.tag_ == nullptr) {
1959
0
      _this->_impl_.tag_ =
1960
0
          ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::Tag>(arena, *from._impl_.tag_);
1961
0
    } else {
1962
0
      _this->_impl_.tag_->MergeFrom(*from._impl_.tag_);
1963
0
    }
1964
0
  }
1965
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
1966
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1967
0
}
1968
1969
0
void Element::CopyFrom(const Element& from) {
1970
// @@protoc_insertion_point(class_specific_copy_from_start:protobuf_mutator.xml.Element)
1971
0
  if (&from == this) return;
1972
0
  Clear();
1973
0
  MergeFrom(from);
1974
0
}
1975
1976
1977
0
void Element::InternalSwap(Element* PROTOBUF_RESTRICT other) {
1978
0
  using std::swap;
1979
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1980
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1981
0
  _impl_.content_.InternalSwap(&other->_impl_.content_);
1982
0
  swap(_impl_.tag_, other->_impl_.tag_);
1983
0
}
1984
1985
0
::google::protobuf::Metadata Element::GetMetadata() const {
1986
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1987
0
}
1988
// ===================================================================
1989
1990
class Tag::_Internal {
1991
 public:
1992
  using HasBits =
1993
      decltype(std::declval<Tag>()._impl_._has_bits_);
1994
  static constexpr ::int32_t kHasBitsOffset =
1995
      8 * PROTOBUF_FIELD_OFFSET(Tag, _impl_._has_bits_);
1996
};
1997
1998
Tag::Tag(::google::protobuf::Arena* arena)
1999
#if defined(PROTOBUF_CUSTOM_VTABLE)
2000
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2001
#else   // PROTOBUF_CUSTOM_VTABLE
2002
10.5k
    : ::google::protobuf::Message(arena) {
2003
10.5k
#endif  // PROTOBUF_CUSTOM_VTABLE
2004
10.5k
  SharedCtor(arena);
2005
  // @@protoc_insertion_point(arena_constructor:protobuf_mutator.xml.Tag)
2006
10.5k
}
2007
inline PROTOBUF_NDEBUG_INLINE Tag::Impl_::Impl_(
2008
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
2009
    const Impl_& from, const ::protobuf_mutator::xml::Tag& from_msg)
2010
0
      : _has_bits_{from._has_bits_},
2011
0
        _cached_size_{0},
2012
0
        attribute_{visibility, arena, from.attribute_},
2013
0
        name_(arena, from.name_) {}
2014
2015
Tag::Tag(
2016
    ::google::protobuf::Arena* arena,
2017
    const Tag& from)
2018
#if defined(PROTOBUF_CUSTOM_VTABLE)
2019
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2020
#else   // PROTOBUF_CUSTOM_VTABLE
2021
0
    : ::google::protobuf::Message(arena) {
2022
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2023
0
  Tag* const _this = this;
2024
0
  (void)_this;
2025
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2026
0
      from._internal_metadata_);
2027
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2028
2029
  // @@protoc_insertion_point(copy_constructor:protobuf_mutator.xml.Tag)
2030
0
}
2031
inline PROTOBUF_NDEBUG_INLINE Tag::Impl_::Impl_(
2032
    ::google::protobuf::internal::InternalVisibility visibility,
2033
    ::google::protobuf::Arena* arena)
2034
10.5k
      : _cached_size_{0},
2035
10.5k
        attribute_{visibility, arena},
2036
10.5k
        name_(arena) {}
2037
2038
10.5k
inline void Tag::SharedCtor(::_pb::Arena* arena) {
2039
10.5k
  new (&_impl_) Impl_(internal_visibility(), arena);
2040
10.5k
}
2041
10.5k
Tag::~Tag() {
2042
  // @@protoc_insertion_point(destructor:protobuf_mutator.xml.Tag)
2043
10.5k
  SharedDtor(*this);
2044
10.5k
}
2045
10.5k
inline void Tag::SharedDtor(MessageLite& self) {
2046
10.5k
  Tag& this_ = static_cast<Tag&>(self);
2047
10.5k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2048
10.5k
  ABSL_DCHECK(this_.GetArena() == nullptr);
2049
10.5k
  this_._impl_.name_.Destroy();
2050
10.5k
  this_._impl_.~Impl_();
2051
10.5k
}
2052
2053
inline void* Tag::PlacementNew_(const void*, void* mem,
2054
10.5k
                                        ::google::protobuf::Arena* arena) {
2055
10.5k
  return ::new (mem) Tag(arena);
2056
10.5k
}
2057
0
constexpr auto Tag::InternalNewImpl_() {
2058
0
  constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
2059
0
      PROTOBUF_FIELD_OFFSET(Tag, _impl_.attribute_) +
2060
0
          decltype(Tag::_impl_.attribute_)::
2061
0
              InternalGetArenaOffset(
2062
0
                  ::google::protobuf::Message::internal_visibility()),
2063
0
  });
2064
0
  if (arena_bits.has_value()) {
2065
0
    return ::google::protobuf::internal::MessageCreator::CopyInit(
2066
0
        sizeof(Tag), alignof(Tag), *arena_bits);
2067
0
  } else {
2068
0
    return ::google::protobuf::internal::MessageCreator(&Tag::PlacementNew_,
2069
0
                                 sizeof(Tag),
2070
0
                                 alignof(Tag));
2071
0
  }
2072
0
}
2073
PROTOBUF_CONSTINIT
2074
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2075
const ::google::protobuf::internal::ClassDataFull Tag::_class_data_ = {
2076
    ::google::protobuf::internal::ClassData{
2077
        &_Tag_default_instance_._instance,
2078
        &_table_.header,
2079
        nullptr,  // OnDemandRegisterArenaDtor
2080
        nullptr,  // IsInitialized
2081
        &Tag::MergeImpl,
2082
        ::google::protobuf::Message::GetNewImpl<Tag>(),
2083
#if defined(PROTOBUF_CUSTOM_VTABLE)
2084
        &Tag::SharedDtor,
2085
        ::google::protobuf::Message::GetClearImpl<Tag>(), &Tag::ByteSizeLong,
2086
            &Tag::_InternalSerialize,
2087
#endif  // PROTOBUF_CUSTOM_VTABLE
2088
        PROTOBUF_FIELD_OFFSET(Tag, _impl_._cached_size_),
2089
        false,
2090
    },
2091
    &Tag::kDescriptorMethods,
2092
    &descriptor_table_xml_2eproto,
2093
    nullptr,  // tracker
2094
};
2095
107k
const ::google::protobuf::internal::ClassData* Tag::GetClassData() const {
2096
107k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
2097
107k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
2098
107k
  return _class_data_.base();
2099
107k
}
2100
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2101
const ::_pbi::TcParseTable<1, 2, 1, 37, 2> Tag::_table_ = {
2102
  {
2103
    PROTOBUF_FIELD_OFFSET(Tag, _impl_._has_bits_),
2104
    0, // no _extensions_
2105
    2, 8,  // max_field_number, fast_idx_mask
2106
    offsetof(decltype(_table_), field_lookup_table),
2107
    4294967292,  // skipmap
2108
    offsetof(decltype(_table_), field_entries),
2109
    2,  // num_field_entries
2110
    1,  // num_aux_entries
2111
    offsetof(decltype(_table_), aux_entries),
2112
    _class_data_.base(),
2113
    nullptr,  // post_loop_handler
2114
    ::_pbi::TcParser::GenericFallback,  // fallback
2115
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2116
    ::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Tag>(),  // to_prefetch
2117
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
2118
  }, {{
2119
    // repeated .protobuf_mutator.xml.Attribute attribute = 2;
2120
    {::_pbi::TcParser::FastMtR1,
2121
     {18, 63, 0, PROTOBUF_FIELD_OFFSET(Tag, _impl_.attribute_)}},
2122
    // optional string name = 1;
2123
    {::_pbi::TcParser::FastSS1,
2124
     {10, 0, 0, PROTOBUF_FIELD_OFFSET(Tag, _impl_.name_)}},
2125
  }}, {{
2126
    65535, 65535
2127
  }}, {{
2128
    // optional string name = 1;
2129
    {PROTOBUF_FIELD_OFFSET(Tag, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
2130
    (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
2131
    // repeated .protobuf_mutator.xml.Attribute attribute = 2;
2132
    {PROTOBUF_FIELD_OFFSET(Tag, _impl_.attribute_), -1, 0,
2133
    (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
2134
  }}, {{
2135
    {::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Attribute>()},
2136
  }}, {{
2137
    "\30\4\0\0\0\0\0\0"
2138
    "protobuf_mutator.xml.Tag"
2139
    "name"
2140
  }},
2141
};
2142
2143
1
PROTOBUF_NOINLINE void Tag::Clear() {
2144
// @@protoc_insertion_point(message_clear_start:protobuf_mutator.xml.Tag)
2145
1
  ::google::protobuf::internal::TSanWrite(&_impl_);
2146
1
  ::uint32_t cached_has_bits = 0;
2147
  // Prevent compiler warnings about cached_has_bits being unused
2148
1
  (void) cached_has_bits;
2149
2150
1
  _impl_.attribute_.Clear();
2151
1
  cached_has_bits = _impl_._has_bits_[0];
2152
1
  if (cached_has_bits & 0x00000001u) {
2153
1
    _impl_.name_.ClearNonDefaultToEmpty();
2154
1
  }
2155
1
  _impl_._has_bits_.Clear();
2156
1
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2157
1
}
2158
2159
#if defined(PROTOBUF_CUSTOM_VTABLE)
2160
        ::uint8_t* Tag::_InternalSerialize(
2161
            const MessageLite& base, ::uint8_t* target,
2162
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
2163
          const Tag& this_ = static_cast<const Tag&>(base);
2164
#else   // PROTOBUF_CUSTOM_VTABLE
2165
        ::uint8_t* Tag::_InternalSerialize(
2166
            ::uint8_t* target,
2167
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2168
0
          const Tag& this_ = *this;
2169
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2170
          // @@protoc_insertion_point(serialize_to_array_start:protobuf_mutator.xml.Tag)
2171
0
          ::uint32_t cached_has_bits = 0;
2172
0
          (void)cached_has_bits;
2173
2174
0
          cached_has_bits = this_._impl_._has_bits_[0];
2175
          // optional string name = 1;
2176
0
          if (cached_has_bits & 0x00000001u) {
2177
0
            const std::string& _s = this_._internal_name();
2178
0
            ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
2179
0
                                        "protobuf_mutator.xml.Tag.name");
2180
0
            target = stream->WriteStringMaybeAliased(1, _s, target);
2181
0
          }
2182
2183
          // repeated .protobuf_mutator.xml.Attribute attribute = 2;
2184
0
          for (unsigned i = 0, n = static_cast<unsigned>(
2185
0
                                   this_._internal_attribute_size());
2186
0
               i < n; i++) {
2187
0
            const auto& repfield = this_._internal_attribute().Get(i);
2188
0
            target =
2189
0
                ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
2190
0
                    2, repfield, repfield.GetCachedSize(),
2191
0
                    target, stream);
2192
0
          }
2193
2194
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2195
0
            target =
2196
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2197
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2198
0
          }
2199
          // @@protoc_insertion_point(serialize_to_array_end:protobuf_mutator.xml.Tag)
2200
0
          return target;
2201
0
        }
2202
2203
#if defined(PROTOBUF_CUSTOM_VTABLE)
2204
        ::size_t Tag::ByteSizeLong(const MessageLite& base) {
2205
          const Tag& this_ = static_cast<const Tag&>(base);
2206
#else   // PROTOBUF_CUSTOM_VTABLE
2207
0
        ::size_t Tag::ByteSizeLong() const {
2208
0
          const Tag& this_ = *this;
2209
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2210
          // @@protoc_insertion_point(message_byte_size_start:protobuf_mutator.xml.Tag)
2211
0
          ::size_t total_size = 0;
2212
2213
0
          ::uint32_t cached_has_bits = 0;
2214
          // Prevent compiler warnings about cached_has_bits being unused
2215
0
          (void)cached_has_bits;
2216
2217
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2218
0
           {
2219
            // repeated .protobuf_mutator.xml.Attribute attribute = 2;
2220
0
            {
2221
0
              total_size += 1UL * this_._internal_attribute_size();
2222
0
              for (const auto& msg : this_._internal_attribute()) {
2223
0
                total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
2224
0
              }
2225
0
            }
2226
0
          }
2227
0
           {
2228
            // optional string name = 1;
2229
0
            cached_has_bits = this_._impl_._has_bits_[0];
2230
0
            if (cached_has_bits & 0x00000001u) {
2231
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2232
0
                                              this_._internal_name());
2233
0
            }
2234
0
          }
2235
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
2236
0
                                                     &this_._impl_._cached_size_);
2237
0
        }
2238
2239
0
void Tag::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2240
0
  auto* const _this = static_cast<Tag*>(&to_msg);
2241
0
  auto& from = static_cast<const Tag&>(from_msg);
2242
  // @@protoc_insertion_point(class_specific_merge_from_start:protobuf_mutator.xml.Tag)
2243
0
  ABSL_DCHECK_NE(&from, _this);
2244
0
  ::uint32_t cached_has_bits = 0;
2245
0
  (void) cached_has_bits;
2246
2247
0
  _this->_internal_mutable_attribute()->MergeFrom(
2248
0
      from._internal_attribute());
2249
0
  cached_has_bits = from._impl_._has_bits_[0];
2250
0
  if (cached_has_bits & 0x00000001u) {
2251
0
    _this->_internal_set_name(from._internal_name());
2252
0
  }
2253
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
2254
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2255
0
}
2256
2257
0
void Tag::CopyFrom(const Tag& from) {
2258
// @@protoc_insertion_point(class_specific_copy_from_start:protobuf_mutator.xml.Tag)
2259
0
  if (&from == this) return;
2260
0
  Clear();
2261
0
  MergeFrom(from);
2262
0
}
2263
2264
2265
0
void Tag::InternalSwap(Tag* PROTOBUF_RESTRICT other) {
2266
0
  using std::swap;
2267
0
  auto* arena = GetArena();
2268
0
  ABSL_DCHECK_EQ(arena, other->GetArena());
2269
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2270
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2271
0
  _impl_.attribute_.InternalSwap(&other->_impl_.attribute_);
2272
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
2273
0
}
2274
2275
0
::google::protobuf::Metadata Tag::GetMetadata() const {
2276
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2277
0
}
2278
// ===================================================================
2279
2280
class Reference::_Internal {
2281
 public:
2282
  using HasBits =
2283
      decltype(std::declval<Reference>()._impl_._has_bits_);
2284
  static constexpr ::int32_t kHasBitsOffset =
2285
      8 * PROTOBUF_FIELD_OFFSET(Reference, _impl_._has_bits_);
2286
};
2287
2288
Reference::Reference(::google::protobuf::Arena* arena)
2289
#if defined(PROTOBUF_CUSTOM_VTABLE)
2290
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2291
#else   // PROTOBUF_CUSTOM_VTABLE
2292
61
    : ::google::protobuf::Message(arena) {
2293
61
#endif  // PROTOBUF_CUSTOM_VTABLE
2294
61
  SharedCtor(arena);
2295
  // @@protoc_insertion_point(arena_constructor:protobuf_mutator.xml.Reference)
2296
61
}
2297
inline PROTOBUF_NDEBUG_INLINE Reference::Impl_::Impl_(
2298
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
2299
    const Impl_& from, const ::protobuf_mutator::xml::Reference& from_msg)
2300
0
      : _has_bits_{from._has_bits_},
2301
0
        _cached_size_{0},
2302
0
        name_(arena, from.name_) {}
2303
2304
Reference::Reference(
2305
    ::google::protobuf::Arena* arena,
2306
    const Reference& from)
2307
#if defined(PROTOBUF_CUSTOM_VTABLE)
2308
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2309
#else   // PROTOBUF_CUSTOM_VTABLE
2310
0
    : ::google::protobuf::Message(arena) {
2311
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2312
0
  Reference* const _this = this;
2313
0
  (void)_this;
2314
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2315
0
      from._internal_metadata_);
2316
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2317
0
  _impl_.entry_ = from._impl_.entry_;
2318
2319
  // @@protoc_insertion_point(copy_constructor:protobuf_mutator.xml.Reference)
2320
0
}
2321
inline PROTOBUF_NDEBUG_INLINE Reference::Impl_::Impl_(
2322
    ::google::protobuf::internal::InternalVisibility visibility,
2323
    ::google::protobuf::Arena* arena)
2324
61
      : _cached_size_{0},
2325
61
        name_(arena) {}
2326
2327
61
inline void Reference::SharedCtor(::_pb::Arena* arena) {
2328
61
  new (&_impl_) Impl_(internal_visibility(), arena);
2329
61
  _impl_.entry_ = {};
2330
61
}
2331
61
Reference::~Reference() {
2332
  // @@protoc_insertion_point(destructor:protobuf_mutator.xml.Reference)
2333
61
  SharedDtor(*this);
2334
61
}
2335
61
inline void Reference::SharedDtor(MessageLite& self) {
2336
61
  Reference& this_ = static_cast<Reference&>(self);
2337
61
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2338
61
  ABSL_DCHECK(this_.GetArena() == nullptr);
2339
61
  this_._impl_.name_.Destroy();
2340
61
  this_._impl_.~Impl_();
2341
61
}
2342
2343
inline void* Reference::PlacementNew_(const void*, void* mem,
2344
61
                                        ::google::protobuf::Arena* arena) {
2345
61
  return ::new (mem) Reference(arena);
2346
61
}
2347
0
constexpr auto Reference::InternalNewImpl_() {
2348
0
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Reference),
2349
0
                                            alignof(Reference));
2350
0
}
2351
PROTOBUF_CONSTINIT
2352
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2353
const ::google::protobuf::internal::ClassDataFull Reference::_class_data_ = {
2354
    ::google::protobuf::internal::ClassData{
2355
        &_Reference_default_instance_._instance,
2356
        &_table_.header,
2357
        nullptr,  // OnDemandRegisterArenaDtor
2358
        nullptr,  // IsInitialized
2359
        &Reference::MergeImpl,
2360
        ::google::protobuf::Message::GetNewImpl<Reference>(),
2361
#if defined(PROTOBUF_CUSTOM_VTABLE)
2362
        &Reference::SharedDtor,
2363
        ::google::protobuf::Message::GetClearImpl<Reference>(), &Reference::ByteSizeLong,
2364
            &Reference::_InternalSerialize,
2365
#endif  // PROTOBUF_CUSTOM_VTABLE
2366
        PROTOBUF_FIELD_OFFSET(Reference, _impl_._cached_size_),
2367
        false,
2368
    },
2369
    &Reference::kDescriptorMethods,
2370
    &descriptor_table_xml_2eproto,
2371
    nullptr,  // tracker
2372
};
2373
585
const ::google::protobuf::internal::ClassData* Reference::GetClassData() const {
2374
585
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
2375
585
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
2376
585
  return _class_data_.base();
2377
585
}
2378
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2379
const ::_pbi::TcParseTable<1, 2, 0, 43, 2> Reference::_table_ = {
2380
  {
2381
    PROTOBUF_FIELD_OFFSET(Reference, _impl_._has_bits_),
2382
    0, // no _extensions_
2383
    2, 8,  // max_field_number, fast_idx_mask
2384
    offsetof(decltype(_table_), field_lookup_table),
2385
    4294967292,  // skipmap
2386
    offsetof(decltype(_table_), field_entries),
2387
    2,  // num_field_entries
2388
    0,  // num_aux_entries
2389
    offsetof(decltype(_table_), field_names),  // no aux_entries
2390
    _class_data_.base(),
2391
    nullptr,  // post_loop_handler
2392
    ::_pbi::TcParser::GenericFallback,  // fallback
2393
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2394
    ::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Reference>(),  // to_prefetch
2395
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
2396
  }, {{
2397
    // optional bool entry = 2;
2398
    {::_pbi::TcParser::SingularVarintNoZag1<bool, offsetof(Reference, _impl_.entry_), 1>(),
2399
     {16, 1, 0, PROTOBUF_FIELD_OFFSET(Reference, _impl_.entry_)}},
2400
    // optional string name = 1;
2401
    {::_pbi::TcParser::FastSS1,
2402
     {10, 0, 0, PROTOBUF_FIELD_OFFSET(Reference, _impl_.name_)}},
2403
  }}, {{
2404
    65535, 65535
2405
  }}, {{
2406
    // optional string name = 1;
2407
    {PROTOBUF_FIELD_OFFSET(Reference, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
2408
    (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
2409
    // optional bool entry = 2;
2410
    {PROTOBUF_FIELD_OFFSET(Reference, _impl_.entry_), _Internal::kHasBitsOffset + 1, 0,
2411
    (0 | ::_fl::kFcOptional | ::_fl::kBool)},
2412
  }},
2413
  // no aux_entries
2414
  {{
2415
    "\36\4\0\0\0\0\0\0"
2416
    "protobuf_mutator.xml.Reference"
2417
    "name"
2418
  }},
2419
};
2420
2421
0
PROTOBUF_NOINLINE void Reference::Clear() {
2422
// @@protoc_insertion_point(message_clear_start:protobuf_mutator.xml.Reference)
2423
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2424
0
  ::uint32_t cached_has_bits = 0;
2425
  // Prevent compiler warnings about cached_has_bits being unused
2426
0
  (void) cached_has_bits;
2427
2428
0
  cached_has_bits = _impl_._has_bits_[0];
2429
0
  if (cached_has_bits & 0x00000001u) {
2430
0
    _impl_.name_.ClearNonDefaultToEmpty();
2431
0
  }
2432
0
  _impl_.entry_ = false;
2433
0
  _impl_._has_bits_.Clear();
2434
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2435
0
}
2436
2437
#if defined(PROTOBUF_CUSTOM_VTABLE)
2438
        ::uint8_t* Reference::_InternalSerialize(
2439
            const MessageLite& base, ::uint8_t* target,
2440
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
2441
          const Reference& this_ = static_cast<const Reference&>(base);
2442
#else   // PROTOBUF_CUSTOM_VTABLE
2443
        ::uint8_t* Reference::_InternalSerialize(
2444
            ::uint8_t* target,
2445
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2446
0
          const Reference& this_ = *this;
2447
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2448
          // @@protoc_insertion_point(serialize_to_array_start:protobuf_mutator.xml.Reference)
2449
0
          ::uint32_t cached_has_bits = 0;
2450
0
          (void)cached_has_bits;
2451
2452
0
          cached_has_bits = this_._impl_._has_bits_[0];
2453
          // optional string name = 1;
2454
0
          if (cached_has_bits & 0x00000001u) {
2455
0
            const std::string& _s = this_._internal_name();
2456
0
            ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
2457
0
                                        "protobuf_mutator.xml.Reference.name");
2458
0
            target = stream->WriteStringMaybeAliased(1, _s, target);
2459
0
          }
2460
2461
          // optional bool entry = 2;
2462
0
          if (cached_has_bits & 0x00000002u) {
2463
0
            target = stream->EnsureSpace(target);
2464
0
            target = ::_pbi::WireFormatLite::WriteBoolToArray(
2465
0
                2, this_._internal_entry(), target);
2466
0
          }
2467
2468
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2469
0
            target =
2470
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2471
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2472
0
          }
2473
          // @@protoc_insertion_point(serialize_to_array_end:protobuf_mutator.xml.Reference)
2474
0
          return target;
2475
0
        }
2476
2477
#if defined(PROTOBUF_CUSTOM_VTABLE)
2478
        ::size_t Reference::ByteSizeLong(const MessageLite& base) {
2479
          const Reference& this_ = static_cast<const Reference&>(base);
2480
#else   // PROTOBUF_CUSTOM_VTABLE
2481
0
        ::size_t Reference::ByteSizeLong() const {
2482
0
          const Reference& this_ = *this;
2483
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2484
          // @@protoc_insertion_point(message_byte_size_start:protobuf_mutator.xml.Reference)
2485
0
          ::size_t total_size = 0;
2486
2487
0
          ::uint32_t cached_has_bits = 0;
2488
          // Prevent compiler warnings about cached_has_bits being unused
2489
0
          (void)cached_has_bits;
2490
2491
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2492
0
          cached_has_bits = this_._impl_._has_bits_[0];
2493
0
          if (cached_has_bits & 0x00000003u) {
2494
            // optional string name = 1;
2495
0
            if (cached_has_bits & 0x00000001u) {
2496
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2497
0
                                              this_._internal_name());
2498
0
            }
2499
            // optional bool entry = 2;
2500
0
            if (cached_has_bits & 0x00000002u) {
2501
0
              total_size += 2;
2502
0
            }
2503
0
          }
2504
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
2505
0
                                                     &this_._impl_._cached_size_);
2506
0
        }
2507
2508
0
void Reference::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2509
0
  auto* const _this = static_cast<Reference*>(&to_msg);
2510
0
  auto& from = static_cast<const Reference&>(from_msg);
2511
  // @@protoc_insertion_point(class_specific_merge_from_start:protobuf_mutator.xml.Reference)
2512
0
  ABSL_DCHECK_NE(&from, _this);
2513
0
  ::uint32_t cached_has_bits = 0;
2514
0
  (void) cached_has_bits;
2515
2516
0
  cached_has_bits = from._impl_._has_bits_[0];
2517
0
  if (cached_has_bits & 0x00000003u) {
2518
0
    if (cached_has_bits & 0x00000001u) {
2519
0
      _this->_internal_set_name(from._internal_name());
2520
0
    }
2521
0
    if (cached_has_bits & 0x00000002u) {
2522
0
      _this->_impl_.entry_ = from._impl_.entry_;
2523
0
    }
2524
0
  }
2525
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
2526
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2527
0
}
2528
2529
0
void Reference::CopyFrom(const Reference& from) {
2530
// @@protoc_insertion_point(class_specific_copy_from_start:protobuf_mutator.xml.Reference)
2531
0
  if (&from == this) return;
2532
0
  Clear();
2533
0
  MergeFrom(from);
2534
0
}
2535
2536
2537
0
void Reference::InternalSwap(Reference* PROTOBUF_RESTRICT other) {
2538
0
  using std::swap;
2539
0
  auto* arena = GetArena();
2540
0
  ABSL_DCHECK_EQ(arena, other->GetArena());
2541
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2542
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2543
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
2544
0
        swap(_impl_.entry_, other->_impl_.entry_);
2545
0
}
2546
2547
0
::google::protobuf::Metadata Reference::GetMetadata() const {
2548
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2549
0
}
2550
// ===================================================================
2551
2552
class Pi::_Internal {
2553
 public:
2554
  using HasBits =
2555
      decltype(std::declval<Pi>()._impl_._has_bits_);
2556
  static constexpr ::int32_t kHasBitsOffset =
2557
      8 * PROTOBUF_FIELD_OFFSET(Pi, _impl_._has_bits_);
2558
};
2559
2560
Pi::Pi(::google::protobuf::Arena* arena)
2561
#if defined(PROTOBUF_CUSTOM_VTABLE)
2562
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2563
#else   // PROTOBUF_CUSTOM_VTABLE
2564
672
    : ::google::protobuf::Message(arena) {
2565
672
#endif  // PROTOBUF_CUSTOM_VTABLE
2566
672
  SharedCtor(arena);
2567
  // @@protoc_insertion_point(arena_constructor:protobuf_mutator.xml.Pi)
2568
672
}
2569
inline PROTOBUF_NDEBUG_INLINE Pi::Impl_::Impl_(
2570
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
2571
    const Impl_& from, const ::protobuf_mutator::xml::Pi& from_msg)
2572
0
      : _has_bits_{from._has_bits_},
2573
0
        _cached_size_{0},
2574
0
        target_(arena, from.target_),
2575
0
        data_(arena, from.data_) {}
2576
2577
Pi::Pi(
2578
    ::google::protobuf::Arena* arena,
2579
    const Pi& from)
2580
#if defined(PROTOBUF_CUSTOM_VTABLE)
2581
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2582
#else   // PROTOBUF_CUSTOM_VTABLE
2583
0
    : ::google::protobuf::Message(arena) {
2584
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2585
0
  Pi* const _this = this;
2586
0
  (void)_this;
2587
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2588
0
      from._internal_metadata_);
2589
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2590
2591
  // @@protoc_insertion_point(copy_constructor:protobuf_mutator.xml.Pi)
2592
0
}
2593
inline PROTOBUF_NDEBUG_INLINE Pi::Impl_::Impl_(
2594
    ::google::protobuf::internal::InternalVisibility visibility,
2595
    ::google::protobuf::Arena* arena)
2596
672
      : _cached_size_{0},
2597
672
        target_(arena),
2598
672
        data_(arena) {}
2599
2600
672
inline void Pi::SharedCtor(::_pb::Arena* arena) {
2601
672
  new (&_impl_) Impl_(internal_visibility(), arena);
2602
672
}
2603
672
Pi::~Pi() {
2604
  // @@protoc_insertion_point(destructor:protobuf_mutator.xml.Pi)
2605
672
  SharedDtor(*this);
2606
672
}
2607
672
inline void Pi::SharedDtor(MessageLite& self) {
2608
672
  Pi& this_ = static_cast<Pi&>(self);
2609
672
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2610
672
  ABSL_DCHECK(this_.GetArena() == nullptr);
2611
672
  this_._impl_.target_.Destroy();
2612
672
  this_._impl_.data_.Destroy();
2613
672
  this_._impl_.~Impl_();
2614
672
}
2615
2616
inline void* Pi::PlacementNew_(const void*, void* mem,
2617
672
                                        ::google::protobuf::Arena* arena) {
2618
672
  return ::new (mem) Pi(arena);
2619
672
}
2620
0
constexpr auto Pi::InternalNewImpl_() {
2621
0
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Pi),
2622
0
                                            alignof(Pi));
2623
0
}
2624
PROTOBUF_CONSTINIT
2625
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2626
const ::google::protobuf::internal::ClassDataFull Pi::_class_data_ = {
2627
    ::google::protobuf::internal::ClassData{
2628
        &_Pi_default_instance_._instance,
2629
        &_table_.header,
2630
        nullptr,  // OnDemandRegisterArenaDtor
2631
        nullptr,  // IsInitialized
2632
        &Pi::MergeImpl,
2633
        ::google::protobuf::Message::GetNewImpl<Pi>(),
2634
#if defined(PROTOBUF_CUSTOM_VTABLE)
2635
        &Pi::SharedDtor,
2636
        ::google::protobuf::Message::GetClearImpl<Pi>(), &Pi::ByteSizeLong,
2637
            &Pi::_InternalSerialize,
2638
#endif  // PROTOBUF_CUSTOM_VTABLE
2639
        PROTOBUF_FIELD_OFFSET(Pi, _impl_._cached_size_),
2640
        false,
2641
    },
2642
    &Pi::kDescriptorMethods,
2643
    &descriptor_table_xml_2eproto,
2644
    nullptr,  // tracker
2645
};
2646
7.41k
const ::google::protobuf::internal::ClassData* Pi::GetClassData() const {
2647
7.41k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
2648
7.41k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
2649
7.41k
  return _class_data_.base();
2650
7.41k
}
2651
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
2652
const ::_pbi::TcParseTable<1, 2, 0, 42, 2> Pi::_table_ = {
2653
  {
2654
    PROTOBUF_FIELD_OFFSET(Pi, _impl_._has_bits_),
2655
    0, // no _extensions_
2656
    2, 8,  // max_field_number, fast_idx_mask
2657
    offsetof(decltype(_table_), field_lookup_table),
2658
    4294967292,  // skipmap
2659
    offsetof(decltype(_table_), field_entries),
2660
    2,  // num_field_entries
2661
    0,  // num_aux_entries
2662
    offsetof(decltype(_table_), field_names),  // no aux_entries
2663
    _class_data_.base(),
2664
    nullptr,  // post_loop_handler
2665
    ::_pbi::TcParser::GenericFallback,  // fallback
2666
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
2667
    ::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Pi>(),  // to_prefetch
2668
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
2669
  }, {{
2670
    // optional string data = 2;
2671
    {::_pbi::TcParser::FastSS1,
2672
     {18, 1, 0, PROTOBUF_FIELD_OFFSET(Pi, _impl_.data_)}},
2673
    // optional string target = 1;
2674
    {::_pbi::TcParser::FastSS1,
2675
     {10, 0, 0, PROTOBUF_FIELD_OFFSET(Pi, _impl_.target_)}},
2676
  }}, {{
2677
    65535, 65535
2678
  }}, {{
2679
    // optional string target = 1;
2680
    {PROTOBUF_FIELD_OFFSET(Pi, _impl_.target_), _Internal::kHasBitsOffset + 0, 0,
2681
    (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
2682
    // optional string data = 2;
2683
    {PROTOBUF_FIELD_OFFSET(Pi, _impl_.data_), _Internal::kHasBitsOffset + 1, 0,
2684
    (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
2685
  }},
2686
  // no aux_entries
2687
  {{
2688
    "\27\6\4\0\0\0\0\0"
2689
    "protobuf_mutator.xml.Pi"
2690
    "target"
2691
    "data"
2692
  }},
2693
};
2694
2695
0
PROTOBUF_NOINLINE void Pi::Clear() {
2696
// @@protoc_insertion_point(message_clear_start:protobuf_mutator.xml.Pi)
2697
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
2698
0
  ::uint32_t cached_has_bits = 0;
2699
  // Prevent compiler warnings about cached_has_bits being unused
2700
0
  (void) cached_has_bits;
2701
2702
0
  cached_has_bits = _impl_._has_bits_[0];
2703
0
  if (cached_has_bits & 0x00000003u) {
2704
0
    if (cached_has_bits & 0x00000001u) {
2705
0
      _impl_.target_.ClearNonDefaultToEmpty();
2706
0
    }
2707
0
    if (cached_has_bits & 0x00000002u) {
2708
0
      _impl_.data_.ClearNonDefaultToEmpty();
2709
0
    }
2710
0
  }
2711
0
  _impl_._has_bits_.Clear();
2712
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
2713
0
}
2714
2715
#if defined(PROTOBUF_CUSTOM_VTABLE)
2716
        ::uint8_t* Pi::_InternalSerialize(
2717
            const MessageLite& base, ::uint8_t* target,
2718
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
2719
          const Pi& this_ = static_cast<const Pi&>(base);
2720
#else   // PROTOBUF_CUSTOM_VTABLE
2721
        ::uint8_t* Pi::_InternalSerialize(
2722
            ::uint8_t* target,
2723
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
2724
0
          const Pi& this_ = *this;
2725
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2726
          // @@protoc_insertion_point(serialize_to_array_start:protobuf_mutator.xml.Pi)
2727
0
          ::uint32_t cached_has_bits = 0;
2728
0
          (void)cached_has_bits;
2729
2730
0
          cached_has_bits = this_._impl_._has_bits_[0];
2731
          // optional string target = 1;
2732
0
          if (cached_has_bits & 0x00000001u) {
2733
0
            const std::string& _s = this_._internal_target();
2734
0
            ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
2735
0
                                        "protobuf_mutator.xml.Pi.target");
2736
0
            target = stream->WriteStringMaybeAliased(1, _s, target);
2737
0
          }
2738
2739
          // optional string data = 2;
2740
0
          if (cached_has_bits & 0x00000002u) {
2741
0
            const std::string& _s = this_._internal_data();
2742
0
            ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
2743
0
                                        "protobuf_mutator.xml.Pi.data");
2744
0
            target = stream->WriteStringMaybeAliased(2, _s, target);
2745
0
          }
2746
2747
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
2748
0
            target =
2749
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
2750
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
2751
0
          }
2752
          // @@protoc_insertion_point(serialize_to_array_end:protobuf_mutator.xml.Pi)
2753
0
          return target;
2754
0
        }
2755
2756
#if defined(PROTOBUF_CUSTOM_VTABLE)
2757
        ::size_t Pi::ByteSizeLong(const MessageLite& base) {
2758
          const Pi& this_ = static_cast<const Pi&>(base);
2759
#else   // PROTOBUF_CUSTOM_VTABLE
2760
0
        ::size_t Pi::ByteSizeLong() const {
2761
0
          const Pi& this_ = *this;
2762
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2763
          // @@protoc_insertion_point(message_byte_size_start:protobuf_mutator.xml.Pi)
2764
0
          ::size_t total_size = 0;
2765
2766
0
          ::uint32_t cached_has_bits = 0;
2767
          // Prevent compiler warnings about cached_has_bits being unused
2768
0
          (void)cached_has_bits;
2769
2770
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
2771
0
          cached_has_bits = this_._impl_._has_bits_[0];
2772
0
          if (cached_has_bits & 0x00000003u) {
2773
            // optional string target = 1;
2774
0
            if (cached_has_bits & 0x00000001u) {
2775
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2776
0
                                              this_._internal_target());
2777
0
            }
2778
            // optional string data = 2;
2779
0
            if (cached_has_bits & 0x00000002u) {
2780
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
2781
0
                                              this_._internal_data());
2782
0
            }
2783
0
          }
2784
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
2785
0
                                                     &this_._impl_._cached_size_);
2786
0
        }
2787
2788
0
void Pi::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
2789
0
  auto* const _this = static_cast<Pi*>(&to_msg);
2790
0
  auto& from = static_cast<const Pi&>(from_msg);
2791
  // @@protoc_insertion_point(class_specific_merge_from_start:protobuf_mutator.xml.Pi)
2792
0
  ABSL_DCHECK_NE(&from, _this);
2793
0
  ::uint32_t cached_has_bits = 0;
2794
0
  (void) cached_has_bits;
2795
2796
0
  cached_has_bits = from._impl_._has_bits_[0];
2797
0
  if (cached_has_bits & 0x00000003u) {
2798
0
    if (cached_has_bits & 0x00000001u) {
2799
0
      _this->_internal_set_target(from._internal_target());
2800
0
    }
2801
0
    if (cached_has_bits & 0x00000002u) {
2802
0
      _this->_internal_set_data(from._internal_data());
2803
0
    }
2804
0
  }
2805
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
2806
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
2807
0
}
2808
2809
0
void Pi::CopyFrom(const Pi& from) {
2810
// @@protoc_insertion_point(class_specific_copy_from_start:protobuf_mutator.xml.Pi)
2811
0
  if (&from == this) return;
2812
0
  Clear();
2813
0
  MergeFrom(from);
2814
0
}
2815
2816
2817
0
void Pi::InternalSwap(Pi* PROTOBUF_RESTRICT other) {
2818
0
  using std::swap;
2819
0
  auto* arena = GetArena();
2820
0
  ABSL_DCHECK_EQ(arena, other->GetArena());
2821
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
2822
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
2823
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.target_, &other->_impl_.target_, arena);
2824
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.data_, &other->_impl_.data_, arena);
2825
0
}
2826
2827
0
::google::protobuf::Metadata Pi::GetMetadata() const {
2828
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
2829
0
}
2830
// ===================================================================
2831
2832
class Content::_Internal {
2833
 public:
2834
  static constexpr ::int32_t kOneofCaseOffset =
2835
      PROTOBUF_FIELD_OFFSET(::protobuf_mutator::xml::Content, _impl_._oneof_case_);
2836
};
2837
2838
0
void Content::set_allocated_element(::protobuf_mutator::xml::Element* element) {
2839
0
  ::google::protobuf::Arena* message_arena = GetArena();
2840
0
  clear__();
2841
0
  if (element) {
2842
0
    ::google::protobuf::Arena* submessage_arena = element->GetArena();
2843
0
    if (message_arena != submessage_arena) {
2844
0
      element = ::google::protobuf::internal::GetOwnedMessage(message_arena, element, submessage_arena);
2845
0
    }
2846
0
    set_has_element();
2847
0
    _impl_.__.element_ = element;
2848
0
  }
2849
  // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Content.element)
2850
0
}
2851
0
void Content::set_allocated_reference(::protobuf_mutator::xml::Reference* reference) {
2852
0
  ::google::protobuf::Arena* message_arena = GetArena();
2853
0
  clear__();
2854
0
  if (reference) {
2855
0
    ::google::protobuf::Arena* submessage_arena = reference->GetArena();
2856
0
    if (message_arena != submessage_arena) {
2857
0
      reference = ::google::protobuf::internal::GetOwnedMessage(message_arena, reference, submessage_arena);
2858
0
    }
2859
0
    set_has_reference();
2860
0
    _impl_.__.reference_ = reference;
2861
0
  }
2862
  // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Content.reference)
2863
0
}
2864
0
void Content::set_allocated_misk(::protobuf_mutator::xml::Misk* misk) {
2865
0
  ::google::protobuf::Arena* message_arena = GetArena();
2866
0
  clear__();
2867
0
  if (misk) {
2868
0
    ::google::protobuf::Arena* submessage_arena = misk->GetArena();
2869
0
    if (message_arena != submessage_arena) {
2870
0
      misk = ::google::protobuf::internal::GetOwnedMessage(message_arena, misk, submessage_arena);
2871
0
    }
2872
0
    set_has_misk();
2873
0
    _impl_.__.misk_ = misk;
2874
0
  }
2875
  // @@protoc_insertion_point(field_set_allocated:protobuf_mutator.xml.Content.misk)
2876
0
}
2877
Content::Content(::google::protobuf::Arena* arena)
2878
#if defined(PROTOBUF_CUSTOM_VTABLE)
2879
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2880
#else   // PROTOBUF_CUSTOM_VTABLE
2881
7.20k
    : ::google::protobuf::Message(arena) {
2882
7.20k
#endif  // PROTOBUF_CUSTOM_VTABLE
2883
7.20k
  SharedCtor(arena);
2884
  // @@protoc_insertion_point(arena_constructor:protobuf_mutator.xml.Content)
2885
7.20k
}
2886
inline PROTOBUF_NDEBUG_INLINE Content::Impl_::Impl_(
2887
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
2888
    const Impl_& from, const ::protobuf_mutator::xml::Content& from_msg)
2889
0
      : __{},
2890
0
        _cached_size_{0},
2891
0
        _oneof_case_{from._oneof_case_[0]} {}
2892
2893
Content::Content(
2894
    ::google::protobuf::Arena* arena,
2895
    const Content& from)
2896
#if defined(PROTOBUF_CUSTOM_VTABLE)
2897
    : ::google::protobuf::Message(arena, _class_data_.base()) {
2898
#else   // PROTOBUF_CUSTOM_VTABLE
2899
0
    : ::google::protobuf::Message(arena) {
2900
0
#endif  // PROTOBUF_CUSTOM_VTABLE
2901
0
  Content* const _this = this;
2902
0
  (void)_this;
2903
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
2904
0
      from._internal_metadata_);
2905
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
2906
0
  switch (__case()) {
2907
0
    case __NOT_SET:
2908
0
      break;
2909
0
      case kCharData:
2910
0
        new (&_impl_.__.char_data_) decltype(_impl_.__.char_data_){arena, from._impl_.__.char_data_};
2911
0
        break;
2912
0
      case kElement:
2913
0
        _impl_.__.element_ = ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::Element>(arena, *from._impl_.__.element_);
2914
0
        break;
2915
0
      case kReference:
2916
0
        _impl_.__.reference_ = ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::Reference>(arena, *from._impl_.__.reference_);
2917
0
        break;
2918
0
      case kCdsect:
2919
0
        new (&_impl_.__.cdsect_) decltype(_impl_.__.cdsect_){arena, from._impl_.__.cdsect_};
2920
0
        break;
2921
0
      case kMisk:
2922
0
        _impl_.__.misk_ = ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::Misk>(arena, *from._impl_.__.misk_);
2923
0
        break;
2924
0
  }
2925
2926
  // @@protoc_insertion_point(copy_constructor:protobuf_mutator.xml.Content)
2927
0
}
2928
inline PROTOBUF_NDEBUG_INLINE Content::Impl_::Impl_(
2929
    ::google::protobuf::internal::InternalVisibility visibility,
2930
    ::google::protobuf::Arena* arena)
2931
7.20k
      : __{},
2932
7.20k
        _cached_size_{0},
2933
7.20k
        _oneof_case_{} {}
2934
2935
7.20k
inline void Content::SharedCtor(::_pb::Arena* arena) {
2936
7.20k
  new (&_impl_) Impl_(internal_visibility(), arena);
2937
7.20k
}
2938
7.20k
Content::~Content() {
2939
  // @@protoc_insertion_point(destructor:protobuf_mutator.xml.Content)
2940
7.20k
  SharedDtor(*this);
2941
7.20k
}
2942
7.20k
inline void Content::SharedDtor(MessageLite& self) {
2943
7.20k
  Content& this_ = static_cast<Content&>(self);
2944
7.20k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
2945
7.20k
  ABSL_DCHECK(this_.GetArena() == nullptr);
2946
7.20k
  if (this_.has__()) {
2947
1.81k
    this_.clear__();
2948
1.81k
  }
2949
7.20k
  this_._impl_.~Impl_();
2950
7.20k
}
2951
2952
1.81k
void Content::clear__() {
2953
// @@protoc_insertion_point(one_of_clear_start:protobuf_mutator.xml.Content)
2954
1.81k
  ::google::protobuf::internal::TSanWrite(&_impl_);
2955
1.81k
  switch (__case()) {
2956
427
    case kCharData: {
2957
427
      _impl_.__.char_data_.Destroy();
2958
427
      break;
2959
0
    }
2960
806
    case kElement: {
2961
806
      if (GetArena() == nullptr) {
2962
806
        delete _impl_.__.element_;
2963
806
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2964
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.__.element_);
2965
0
      }
2966
806
      break;
2967
0
    }
2968
61
    case kReference: {
2969
61
      if (GetArena() == nullptr) {
2970
61
        delete _impl_.__.reference_;
2971
61
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2972
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.__.reference_);
2973
0
      }
2974
61
      break;
2975
0
    }
2976
494
    case kCdsect: {
2977
494
      _impl_.__.cdsect_.Destroy();
2978
494
      break;
2979
0
    }
2980
31
    case kMisk: {
2981
31
      if (GetArena() == nullptr) {
2982
31
        delete _impl_.__.misk_;
2983
31
      } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
2984
0
        ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.__.misk_);
2985
0
      }
2986
31
      break;
2987
0
    }
2988
0
    case __NOT_SET: {
2989
0
      break;
2990
0
    }
2991
1.81k
  }
2992
1.81k
  _impl_._oneof_case_[0] = __NOT_SET;
2993
1.81k
}
2994
2995
2996
inline void* Content::PlacementNew_(const void*, void* mem,
2997
7.20k
                                        ::google::protobuf::Arena* arena) {
2998
7.20k
  return ::new (mem) Content(arena);
2999
7.20k
}
3000
0
constexpr auto Content::InternalNewImpl_() {
3001
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Content),
3002
0
                                            alignof(Content));
3003
0
}
3004
PROTOBUF_CONSTINIT
3005
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3006
const ::google::protobuf::internal::ClassDataFull Content::_class_data_ = {
3007
    ::google::protobuf::internal::ClassData{
3008
        &_Content_default_instance_._instance,
3009
        &_table_.header,
3010
        nullptr,  // OnDemandRegisterArenaDtor
3011
        nullptr,  // IsInitialized
3012
        &Content::MergeImpl,
3013
        ::google::protobuf::Message::GetNewImpl<Content>(),
3014
#if defined(PROTOBUF_CUSTOM_VTABLE)
3015
        &Content::SharedDtor,
3016
        ::google::protobuf::Message::GetClearImpl<Content>(), &Content::ByteSizeLong,
3017
            &Content::_InternalSerialize,
3018
#endif  // PROTOBUF_CUSTOM_VTABLE
3019
        PROTOBUF_FIELD_OFFSET(Content, _impl_._cached_size_),
3020
        false,
3021
    },
3022
    &Content::kDescriptorMethods,
3023
    &descriptor_table_xml_2eproto,
3024
    nullptr,  // tracker
3025
};
3026
55.8k
const ::google::protobuf::internal::ClassData* Content::GetClassData() const {
3027
55.8k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
3028
55.8k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
3029
55.8k
  return _class_data_.base();
3030
55.8k
}
3031
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3032
const ::_pbi::TcParseTable<0, 5, 3, 52, 2> Content::_table_ = {
3033
  {
3034
    0,  // no _has_bits_
3035
    0, // no _extensions_
3036
    5, 0,  // max_field_number, fast_idx_mask
3037
    offsetof(decltype(_table_), field_lookup_table),
3038
    4294967264,  // skipmap
3039
    offsetof(decltype(_table_), field_entries),
3040
    5,  // num_field_entries
3041
    3,  // num_aux_entries
3042
    offsetof(decltype(_table_), aux_entries),
3043
    _class_data_.base(),
3044
    nullptr,  // post_loop_handler
3045
    ::_pbi::TcParser::GenericFallback,  // fallback
3046
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3047
    ::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Content>(),  // to_prefetch
3048
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
3049
  }, {{
3050
    {::_pbi::TcParser::MiniParse, {}},
3051
  }}, {{
3052
    65535, 65535
3053
  }}, {{
3054
    // string char_data = 1;
3055
    {PROTOBUF_FIELD_OFFSET(Content, _impl_.__.char_data_), _Internal::kOneofCaseOffset + 0, 0,
3056
    (0 | ::_fl::kFcOneof | ::_fl::kRawString | ::_fl::kRepAString)},
3057
    // .protobuf_mutator.xml.Element element = 2;
3058
    {PROTOBUF_FIELD_OFFSET(Content, _impl_.__.element_), _Internal::kOneofCaseOffset + 0, 0,
3059
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
3060
    // .protobuf_mutator.xml.Reference reference = 3;
3061
    {PROTOBUF_FIELD_OFFSET(Content, _impl_.__.reference_), _Internal::kOneofCaseOffset + 0, 1,
3062
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
3063
    // string cdsect = 4;
3064
    {PROTOBUF_FIELD_OFFSET(Content, _impl_.__.cdsect_), _Internal::kOneofCaseOffset + 0, 0,
3065
    (0 | ::_fl::kFcOneof | ::_fl::kRawString | ::_fl::kRepAString)},
3066
    // .protobuf_mutator.xml.Misk misk = 5;
3067
    {PROTOBUF_FIELD_OFFSET(Content, _impl_.__.misk_), _Internal::kOneofCaseOffset + 0, 2,
3068
    (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
3069
  }}, {{
3070
    {::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Element>()},
3071
    {::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Reference>()},
3072
    {::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Misk>()},
3073
  }}, {{
3074
    "\34\11\0\0\6\0\0\0"
3075
    "protobuf_mutator.xml.Content"
3076
    "char_data"
3077
    "cdsect"
3078
  }},
3079
};
3080
3081
3
PROTOBUF_NOINLINE void Content::Clear() {
3082
// @@protoc_insertion_point(message_clear_start:protobuf_mutator.xml.Content)
3083
3
  ::google::protobuf::internal::TSanWrite(&_impl_);
3084
3
  ::uint32_t cached_has_bits = 0;
3085
  // Prevent compiler warnings about cached_has_bits being unused
3086
3
  (void) cached_has_bits;
3087
3088
3
  clear__();
3089
3
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3090
3
}
3091
3092
#if defined(PROTOBUF_CUSTOM_VTABLE)
3093
        ::uint8_t* Content::_InternalSerialize(
3094
            const MessageLite& base, ::uint8_t* target,
3095
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
3096
          const Content& this_ = static_cast<const Content&>(base);
3097
#else   // PROTOBUF_CUSTOM_VTABLE
3098
        ::uint8_t* Content::_InternalSerialize(
3099
            ::uint8_t* target,
3100
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3101
0
          const Content& this_ = *this;
3102
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3103
          // @@protoc_insertion_point(serialize_to_array_start:protobuf_mutator.xml.Content)
3104
0
          ::uint32_t cached_has_bits = 0;
3105
0
          (void)cached_has_bits;
3106
3107
0
          switch (this_.__case()) {
3108
0
            case kCharData: {
3109
0
              const std::string& _s = this_._internal_char_data();
3110
0
              ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
3111
0
                                          "protobuf_mutator.xml.Content.char_data");
3112
0
              target = stream->WriteStringMaybeAliased(1, _s, target);
3113
0
              break;
3114
0
            }
3115
0
            case kElement: {
3116
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3117
0
                  2, *this_._impl_.__.element_, this_._impl_.__.element_->GetCachedSize(), target,
3118
0
                  stream);
3119
0
              break;
3120
0
            }
3121
0
            case kReference: {
3122
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3123
0
                  3, *this_._impl_.__.reference_, this_._impl_.__.reference_->GetCachedSize(), target,
3124
0
                  stream);
3125
0
              break;
3126
0
            }
3127
0
            case kCdsect: {
3128
0
              const std::string& _s = this_._internal_cdsect();
3129
0
              ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
3130
0
                                          "protobuf_mutator.xml.Content.cdsect");
3131
0
              target = stream->WriteStringMaybeAliased(4, _s, target);
3132
0
              break;
3133
0
            }
3134
0
            case kMisk: {
3135
0
              target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3136
0
                  5, *this_._impl_.__.misk_, this_._impl_.__.misk_->GetCachedSize(), target,
3137
0
                  stream);
3138
0
              break;
3139
0
            }
3140
0
            default:
3141
0
              break;
3142
0
          }
3143
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3144
0
            target =
3145
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3146
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3147
0
          }
3148
          // @@protoc_insertion_point(serialize_to_array_end:protobuf_mutator.xml.Content)
3149
0
          return target;
3150
0
        }
3151
3152
#if defined(PROTOBUF_CUSTOM_VTABLE)
3153
        ::size_t Content::ByteSizeLong(const MessageLite& base) {
3154
          const Content& this_ = static_cast<const Content&>(base);
3155
#else   // PROTOBUF_CUSTOM_VTABLE
3156
0
        ::size_t Content::ByteSizeLong() const {
3157
0
          const Content& this_ = *this;
3158
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3159
          // @@protoc_insertion_point(message_byte_size_start:protobuf_mutator.xml.Content)
3160
0
          ::size_t total_size = 0;
3161
3162
0
          ::uint32_t cached_has_bits = 0;
3163
          // Prevent compiler warnings about cached_has_bits being unused
3164
0
          (void)cached_has_bits;
3165
3166
0
          switch (this_.__case()) {
3167
            // string char_data = 1;
3168
0
            case kCharData: {
3169
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3170
0
                                              this_._internal_char_data());
3171
0
              break;
3172
0
            }
3173
            // .protobuf_mutator.xml.Element element = 2;
3174
0
            case kElement: {
3175
0
              total_size += 1 +
3176
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.__.element_);
3177
0
              break;
3178
0
            }
3179
            // .protobuf_mutator.xml.Reference reference = 3;
3180
0
            case kReference: {
3181
0
              total_size += 1 +
3182
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.__.reference_);
3183
0
              break;
3184
0
            }
3185
            // string cdsect = 4;
3186
0
            case kCdsect: {
3187
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3188
0
                                              this_._internal_cdsect());
3189
0
              break;
3190
0
            }
3191
            // .protobuf_mutator.xml.Misk misk = 5;
3192
0
            case kMisk: {
3193
0
              total_size += 1 +
3194
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.__.misk_);
3195
0
              break;
3196
0
            }
3197
0
            case __NOT_SET: {
3198
0
              break;
3199
0
            }
3200
0
          }
3201
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
3202
0
                                                     &this_._impl_._cached_size_);
3203
0
        }
3204
3205
0
void Content::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3206
0
  auto* const _this = static_cast<Content*>(&to_msg);
3207
0
  auto& from = static_cast<const Content&>(from_msg);
3208
0
  ::google::protobuf::Arena* arena = _this->GetArena();
3209
  // @@protoc_insertion_point(class_specific_merge_from_start:protobuf_mutator.xml.Content)
3210
0
  ABSL_DCHECK_NE(&from, _this);
3211
0
  ::uint32_t cached_has_bits = 0;
3212
0
  (void) cached_has_bits;
3213
3214
0
  if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) {
3215
0
    const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
3216
0
    const bool oneof_needs_init = oneof_to_case != oneof_from_case;
3217
0
    if (oneof_needs_init) {
3218
0
      if (oneof_to_case != 0) {
3219
0
        _this->clear__();
3220
0
      }
3221
0
      _this->_impl_._oneof_case_[0] = oneof_from_case;
3222
0
    }
3223
3224
0
    switch (oneof_from_case) {
3225
0
      case kCharData: {
3226
0
        if (oneof_needs_init) {
3227
0
          _this->_impl_.__.char_data_.InitDefault();
3228
0
        }
3229
0
        _this->_impl_.__.char_data_.Set(from._internal_char_data(), arena);
3230
0
        break;
3231
0
      }
3232
0
      case kElement: {
3233
0
        if (oneof_needs_init) {
3234
0
          _this->_impl_.__.element_ =
3235
0
              ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::Element>(arena, *from._impl_.__.element_);
3236
0
        } else {
3237
0
          _this->_impl_.__.element_->MergeFrom(from._internal_element());
3238
0
        }
3239
0
        break;
3240
0
      }
3241
0
      case kReference: {
3242
0
        if (oneof_needs_init) {
3243
0
          _this->_impl_.__.reference_ =
3244
0
              ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::Reference>(arena, *from._impl_.__.reference_);
3245
0
        } else {
3246
0
          _this->_impl_.__.reference_->MergeFrom(from._internal_reference());
3247
0
        }
3248
0
        break;
3249
0
      }
3250
0
      case kCdsect: {
3251
0
        if (oneof_needs_init) {
3252
0
          _this->_impl_.__.cdsect_.InitDefault();
3253
0
        }
3254
0
        _this->_impl_.__.cdsect_.Set(from._internal_cdsect(), arena);
3255
0
        break;
3256
0
      }
3257
0
      case kMisk: {
3258
0
        if (oneof_needs_init) {
3259
0
          _this->_impl_.__.misk_ =
3260
0
              ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::Misk>(arena, *from._impl_.__.misk_);
3261
0
        } else {
3262
0
          _this->_impl_.__.misk_->MergeFrom(from._internal_misk());
3263
0
        }
3264
0
        break;
3265
0
      }
3266
0
      case __NOT_SET:
3267
0
        break;
3268
0
    }
3269
0
  }
3270
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3271
0
}
3272
3273
0
void Content::CopyFrom(const Content& from) {
3274
// @@protoc_insertion_point(class_specific_copy_from_start:protobuf_mutator.xml.Content)
3275
0
  if (&from == this) return;
3276
0
  Clear();
3277
0
  MergeFrom(from);
3278
0
}
3279
3280
3281
0
void Content::InternalSwap(Content* PROTOBUF_RESTRICT other) {
3282
0
  using std::swap;
3283
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3284
0
  swap(_impl_.__, other->_impl_.__);
3285
0
  swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
3286
0
}
3287
3288
0
::google::protobuf::Metadata Content::GetMetadata() const {
3289
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3290
0
}
3291
// ===================================================================
3292
3293
class Attribute::_Internal {
3294
 public:
3295
  using HasBits =
3296
      decltype(std::declval<Attribute>()._impl_._has_bits_);
3297
  static constexpr ::int32_t kHasBitsOffset =
3298
      8 * PROTOBUF_FIELD_OFFSET(Attribute, _impl_._has_bits_);
3299
};
3300
3301
Attribute::Attribute(::google::protobuf::Arena* arena)
3302
#if defined(PROTOBUF_CUSTOM_VTABLE)
3303
    : ::google::protobuf::Message(arena, _class_data_.base()) {
3304
#else   // PROTOBUF_CUSTOM_VTABLE
3305
813
    : ::google::protobuf::Message(arena) {
3306
813
#endif  // PROTOBUF_CUSTOM_VTABLE
3307
813
  SharedCtor(arena);
3308
  // @@protoc_insertion_point(arena_constructor:protobuf_mutator.xml.Attribute)
3309
813
}
3310
inline PROTOBUF_NDEBUG_INLINE Attribute::Impl_::Impl_(
3311
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
3312
    const Impl_& from, const ::protobuf_mutator::xml::Attribute& from_msg)
3313
0
      : _has_bits_{from._has_bits_},
3314
0
        _cached_size_{0},
3315
0
        name_(arena, from.name_),
3316
0
        value_(arena, from.value_) {}
3317
3318
Attribute::Attribute(
3319
    ::google::protobuf::Arena* arena,
3320
    const Attribute& from)
3321
#if defined(PROTOBUF_CUSTOM_VTABLE)
3322
    : ::google::protobuf::Message(arena, _class_data_.base()) {
3323
#else   // PROTOBUF_CUSTOM_VTABLE
3324
0
    : ::google::protobuf::Message(arena) {
3325
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3326
0
  Attribute* const _this = this;
3327
0
  (void)_this;
3328
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3329
0
      from._internal_metadata_);
3330
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3331
3332
  // @@protoc_insertion_point(copy_constructor:protobuf_mutator.xml.Attribute)
3333
0
}
3334
inline PROTOBUF_NDEBUG_INLINE Attribute::Impl_::Impl_(
3335
    ::google::protobuf::internal::InternalVisibility visibility,
3336
    ::google::protobuf::Arena* arena)
3337
813
      : _cached_size_{0},
3338
813
        name_(arena),
3339
813
        value_(arena) {}
3340
3341
813
inline void Attribute::SharedCtor(::_pb::Arena* arena) {
3342
813
  new (&_impl_) Impl_(internal_visibility(), arena);
3343
813
}
3344
813
Attribute::~Attribute() {
3345
  // @@protoc_insertion_point(destructor:protobuf_mutator.xml.Attribute)
3346
813
  SharedDtor(*this);
3347
813
}
3348
813
inline void Attribute::SharedDtor(MessageLite& self) {
3349
813
  Attribute& this_ = static_cast<Attribute&>(self);
3350
813
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3351
813
  ABSL_DCHECK(this_.GetArena() == nullptr);
3352
813
  this_._impl_.name_.Destroy();
3353
813
  this_._impl_.value_.Destroy();
3354
813
  this_._impl_.~Impl_();
3355
813
}
3356
3357
inline void* Attribute::PlacementNew_(const void*, void* mem,
3358
813
                                        ::google::protobuf::Arena* arena) {
3359
813
  return ::new (mem) Attribute(arena);
3360
813
}
3361
0
constexpr auto Attribute::InternalNewImpl_() {
3362
0
  return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Attribute),
3363
0
                                            alignof(Attribute));
3364
0
}
3365
PROTOBUF_CONSTINIT
3366
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3367
const ::google::protobuf::internal::ClassDataFull Attribute::_class_data_ = {
3368
    ::google::protobuf::internal::ClassData{
3369
        &_Attribute_default_instance_._instance,
3370
        &_table_.header,
3371
        nullptr,  // OnDemandRegisterArenaDtor
3372
        nullptr,  // IsInitialized
3373
        &Attribute::MergeImpl,
3374
        ::google::protobuf::Message::GetNewImpl<Attribute>(),
3375
#if defined(PROTOBUF_CUSTOM_VTABLE)
3376
        &Attribute::SharedDtor,
3377
        ::google::protobuf::Message::GetClearImpl<Attribute>(), &Attribute::ByteSizeLong,
3378
            &Attribute::_InternalSerialize,
3379
#endif  // PROTOBUF_CUSTOM_VTABLE
3380
        PROTOBUF_FIELD_OFFSET(Attribute, _impl_._cached_size_),
3381
        false,
3382
    },
3383
    &Attribute::kDescriptorMethods,
3384
    &descriptor_table_xml_2eproto,
3385
    nullptr,  // tracker
3386
};
3387
8.82k
const ::google::protobuf::internal::ClassData* Attribute::GetClassData() const {
3388
8.82k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
3389
8.82k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
3390
8.82k
  return _class_data_.base();
3391
8.82k
}
3392
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3393
const ::_pbi::TcParseTable<1, 2, 0, 48, 2> Attribute::_table_ = {
3394
  {
3395
    PROTOBUF_FIELD_OFFSET(Attribute, _impl_._has_bits_),
3396
    0, // no _extensions_
3397
    2, 8,  // max_field_number, fast_idx_mask
3398
    offsetof(decltype(_table_), field_lookup_table),
3399
    4294967292,  // skipmap
3400
    offsetof(decltype(_table_), field_entries),
3401
    2,  // num_field_entries
3402
    0,  // num_aux_entries
3403
    offsetof(decltype(_table_), field_names),  // no aux_entries
3404
    _class_data_.base(),
3405
    nullptr,  // post_loop_handler
3406
    ::_pbi::TcParser::GenericFallback,  // fallback
3407
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3408
    ::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Attribute>(),  // to_prefetch
3409
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
3410
  }, {{
3411
    // optional string value = 2;
3412
    {::_pbi::TcParser::FastSS1,
3413
     {18, 1, 0, PROTOBUF_FIELD_OFFSET(Attribute, _impl_.value_)}},
3414
    // optional string name = 1;
3415
    {::_pbi::TcParser::FastSS1,
3416
     {10, 0, 0, PROTOBUF_FIELD_OFFSET(Attribute, _impl_.name_)}},
3417
  }}, {{
3418
    65535, 65535
3419
  }}, {{
3420
    // optional string name = 1;
3421
    {PROTOBUF_FIELD_OFFSET(Attribute, _impl_.name_), _Internal::kHasBitsOffset + 0, 0,
3422
    (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
3423
    // optional string value = 2;
3424
    {PROTOBUF_FIELD_OFFSET(Attribute, _impl_.value_), _Internal::kHasBitsOffset + 1, 0,
3425
    (0 | ::_fl::kFcOptional | ::_fl::kRawString | ::_fl::kRepAString)},
3426
  }},
3427
  // no aux_entries
3428
  {{
3429
    "\36\4\5\0\0\0\0\0"
3430
    "protobuf_mutator.xml.Attribute"
3431
    "name"
3432
    "value"
3433
  }},
3434
};
3435
3436
0
PROTOBUF_NOINLINE void Attribute::Clear() {
3437
// @@protoc_insertion_point(message_clear_start:protobuf_mutator.xml.Attribute)
3438
0
  ::google::protobuf::internal::TSanWrite(&_impl_);
3439
0
  ::uint32_t cached_has_bits = 0;
3440
  // Prevent compiler warnings about cached_has_bits being unused
3441
0
  (void) cached_has_bits;
3442
3443
0
  cached_has_bits = _impl_._has_bits_[0];
3444
0
  if (cached_has_bits & 0x00000003u) {
3445
0
    if (cached_has_bits & 0x00000001u) {
3446
0
      _impl_.name_.ClearNonDefaultToEmpty();
3447
0
    }
3448
0
    if (cached_has_bits & 0x00000002u) {
3449
0
      _impl_.value_.ClearNonDefaultToEmpty();
3450
0
    }
3451
0
  }
3452
0
  _impl_._has_bits_.Clear();
3453
0
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3454
0
}
3455
3456
#if defined(PROTOBUF_CUSTOM_VTABLE)
3457
        ::uint8_t* Attribute::_InternalSerialize(
3458
            const MessageLite& base, ::uint8_t* target,
3459
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
3460
          const Attribute& this_ = static_cast<const Attribute&>(base);
3461
#else   // PROTOBUF_CUSTOM_VTABLE
3462
        ::uint8_t* Attribute::_InternalSerialize(
3463
            ::uint8_t* target,
3464
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3465
0
          const Attribute& this_ = *this;
3466
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3467
          // @@protoc_insertion_point(serialize_to_array_start:protobuf_mutator.xml.Attribute)
3468
0
          ::uint32_t cached_has_bits = 0;
3469
0
          (void)cached_has_bits;
3470
3471
0
          cached_has_bits = this_._impl_._has_bits_[0];
3472
          // optional string name = 1;
3473
0
          if (cached_has_bits & 0x00000001u) {
3474
0
            const std::string& _s = this_._internal_name();
3475
0
            ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
3476
0
                                        "protobuf_mutator.xml.Attribute.name");
3477
0
            target = stream->WriteStringMaybeAliased(1, _s, target);
3478
0
          }
3479
3480
          // optional string value = 2;
3481
0
          if (cached_has_bits & 0x00000002u) {
3482
0
            const std::string& _s = this_._internal_value();
3483
0
            ::google::protobuf::internal::WireFormat::VerifyUTF8StringNamedField(_s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormat::SERIALIZE,
3484
0
                                        "protobuf_mutator.xml.Attribute.value");
3485
0
            target = stream->WriteStringMaybeAliased(2, _s, target);
3486
0
          }
3487
3488
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3489
0
            target =
3490
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3491
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3492
0
          }
3493
          // @@protoc_insertion_point(serialize_to_array_end:protobuf_mutator.xml.Attribute)
3494
0
          return target;
3495
0
        }
3496
3497
#if defined(PROTOBUF_CUSTOM_VTABLE)
3498
        ::size_t Attribute::ByteSizeLong(const MessageLite& base) {
3499
          const Attribute& this_ = static_cast<const Attribute&>(base);
3500
#else   // PROTOBUF_CUSTOM_VTABLE
3501
0
        ::size_t Attribute::ByteSizeLong() const {
3502
0
          const Attribute& this_ = *this;
3503
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3504
          // @@protoc_insertion_point(message_byte_size_start:protobuf_mutator.xml.Attribute)
3505
0
          ::size_t total_size = 0;
3506
3507
0
          ::uint32_t cached_has_bits = 0;
3508
          // Prevent compiler warnings about cached_has_bits being unused
3509
0
          (void)cached_has_bits;
3510
3511
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3512
0
          cached_has_bits = this_._impl_._has_bits_[0];
3513
0
          if (cached_has_bits & 0x00000003u) {
3514
            // optional string name = 1;
3515
0
            if (cached_has_bits & 0x00000001u) {
3516
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3517
0
                                              this_._internal_name());
3518
0
            }
3519
            // optional string value = 2;
3520
0
            if (cached_has_bits & 0x00000002u) {
3521
0
              total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
3522
0
                                              this_._internal_value());
3523
0
            }
3524
0
          }
3525
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
3526
0
                                                     &this_._impl_._cached_size_);
3527
0
        }
3528
3529
0
void Attribute::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3530
0
  auto* const _this = static_cast<Attribute*>(&to_msg);
3531
0
  auto& from = static_cast<const Attribute&>(from_msg);
3532
  // @@protoc_insertion_point(class_specific_merge_from_start:protobuf_mutator.xml.Attribute)
3533
0
  ABSL_DCHECK_NE(&from, _this);
3534
0
  ::uint32_t cached_has_bits = 0;
3535
0
  (void) cached_has_bits;
3536
3537
0
  cached_has_bits = from._impl_._has_bits_[0];
3538
0
  if (cached_has_bits & 0x00000003u) {
3539
0
    if (cached_has_bits & 0x00000001u) {
3540
0
      _this->_internal_set_name(from._internal_name());
3541
0
    }
3542
0
    if (cached_has_bits & 0x00000002u) {
3543
0
      _this->_internal_set_value(from._internal_value());
3544
0
    }
3545
0
  }
3546
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
3547
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3548
0
}
3549
3550
0
void Attribute::CopyFrom(const Attribute& from) {
3551
// @@protoc_insertion_point(class_specific_copy_from_start:protobuf_mutator.xml.Attribute)
3552
0
  if (&from == this) return;
3553
0
  Clear();
3554
0
  MergeFrom(from);
3555
0
}
3556
3557
3558
0
void Attribute::InternalSwap(Attribute* PROTOBUF_RESTRICT other) {
3559
0
  using std::swap;
3560
0
  auto* arena = GetArena();
3561
0
  ABSL_DCHECK_EQ(arena, other->GetArena());
3562
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3563
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3564
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena);
3565
0
  ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena);
3566
0
}
3567
3568
0
::google::protobuf::Metadata Attribute::GetMetadata() const {
3569
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3570
0
}
3571
// ===================================================================
3572
3573
class Input::_Internal {
3574
 public:
3575
  using HasBits =
3576
      decltype(std::declval<Input>()._impl_._has_bits_);
3577
  static constexpr ::int32_t kHasBitsOffset =
3578
      8 * PROTOBUF_FIELD_OFFSET(Input, _impl_._has_bits_);
3579
};
3580
3581
Input::Input(::google::protobuf::Arena* arena)
3582
#if defined(PROTOBUF_CUSTOM_VTABLE)
3583
    : ::google::protobuf::Message(arena, _class_data_.base()) {
3584
#else   // PROTOBUF_CUSTOM_VTABLE
3585
29.8k
    : ::google::protobuf::Message(arena) {
3586
29.8k
#endif  // PROTOBUF_CUSTOM_VTABLE
3587
29.8k
  SharedCtor(arena);
3588
  // @@protoc_insertion_point(arena_constructor:protobuf_mutator.xml.Input)
3589
29.8k
}
3590
inline PROTOBUF_NDEBUG_INLINE Input::Impl_::Impl_(
3591
    ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
3592
    const Impl_& from, const ::protobuf_mutator::xml::Input& from_msg)
3593
0
      : _has_bits_{from._has_bits_},
3594
0
        _cached_size_{0} {}
3595
3596
Input::Input(
3597
    ::google::protobuf::Arena* arena,
3598
    const Input& from)
3599
#if defined(PROTOBUF_CUSTOM_VTABLE)
3600
    : ::google::protobuf::Message(arena, _class_data_.base()) {
3601
#else   // PROTOBUF_CUSTOM_VTABLE
3602
0
    : ::google::protobuf::Message(arena) {
3603
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3604
0
  Input* const _this = this;
3605
0
  (void)_this;
3606
0
  _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
3607
0
      from._internal_metadata_);
3608
0
  new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
3609
0
  ::uint32_t cached_has_bits = _impl_._has_bits_[0];
3610
0
  _impl_.document_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::Document>(
3611
0
                              arena, *from._impl_.document_)
3612
0
                        : nullptr;
3613
0
  _impl_.options_ = from._impl_.options_;
3614
3615
  // @@protoc_insertion_point(copy_constructor:protobuf_mutator.xml.Input)
3616
0
}
3617
inline PROTOBUF_NDEBUG_INLINE Input::Impl_::Impl_(
3618
    ::google::protobuf::internal::InternalVisibility visibility,
3619
    ::google::protobuf::Arena* arena)
3620
29.8k
      : _cached_size_{0} {}
3621
3622
29.8k
inline void Input::SharedCtor(::_pb::Arena* arena) {
3623
29.8k
  new (&_impl_) Impl_(internal_visibility(), arena);
3624
29.8k
  ::memset(reinterpret_cast<char *>(&_impl_) +
3625
29.8k
               offsetof(Impl_, document_),
3626
29.8k
           0,
3627
29.8k
           offsetof(Impl_, options_) -
3628
29.8k
               offsetof(Impl_, document_) +
3629
29.8k
               sizeof(Impl_::options_));
3630
29.8k
}
3631
29.8k
Input::~Input() {
3632
  // @@protoc_insertion_point(destructor:protobuf_mutator.xml.Input)
3633
29.8k
  SharedDtor(*this);
3634
29.8k
}
3635
29.8k
inline void Input::SharedDtor(MessageLite& self) {
3636
29.8k
  Input& this_ = static_cast<Input&>(self);
3637
29.8k
  this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
3638
29.8k
  ABSL_DCHECK(this_.GetArena() == nullptr);
3639
29.8k
  delete this_._impl_.document_;
3640
29.8k
  this_._impl_.~Impl_();
3641
29.8k
}
3642
3643
inline void* Input::PlacementNew_(const void*, void* mem,
3644
0
                                        ::google::protobuf::Arena* arena) {
3645
0
  return ::new (mem) Input(arena);
3646
0
}
3647
0
constexpr auto Input::InternalNewImpl_() {
3648
0
  return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Input),
3649
0
                                            alignof(Input));
3650
0
}
3651
PROTOBUF_CONSTINIT
3652
PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3653
const ::google::protobuf::internal::ClassDataFull Input::_class_data_ = {
3654
    ::google::protobuf::internal::ClassData{
3655
        &_Input_default_instance_._instance,
3656
        &_table_.header,
3657
        nullptr,  // OnDemandRegisterArenaDtor
3658
        nullptr,  // IsInitialized
3659
        &Input::MergeImpl,
3660
        ::google::protobuf::Message::GetNewImpl<Input>(),
3661
#if defined(PROTOBUF_CUSTOM_VTABLE)
3662
        &Input::SharedDtor,
3663
        ::google::protobuf::Message::GetClearImpl<Input>(), &Input::ByteSizeLong,
3664
            &Input::_InternalSerialize,
3665
#endif  // PROTOBUF_CUSTOM_VTABLE
3666
        PROTOBUF_FIELD_OFFSET(Input, _impl_._cached_size_),
3667
        false,
3668
    },
3669
    &Input::kDescriptorMethods,
3670
    &descriptor_table_xml_2eproto,
3671
    nullptr,  // tracker
3672
};
3673
345k
const ::google::protobuf::internal::ClassData* Input::GetClassData() const {
3674
345k
  ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
3675
345k
  ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
3676
345k
  return _class_data_.base();
3677
345k
}
3678
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
3679
const ::_pbi::TcParseTable<1, 2, 1, 0, 2> Input::_table_ = {
3680
  {
3681
    PROTOBUF_FIELD_OFFSET(Input, _impl_._has_bits_),
3682
    0, // no _extensions_
3683
    2, 8,  // max_field_number, fast_idx_mask
3684
    offsetof(decltype(_table_), field_lookup_table),
3685
    4294967292,  // skipmap
3686
    offsetof(decltype(_table_), field_entries),
3687
    2,  // num_field_entries
3688
    1,  // num_aux_entries
3689
    offsetof(decltype(_table_), aux_entries),
3690
    _class_data_.base(),
3691
    nullptr,  // post_loop_handler
3692
    ::_pbi::TcParser::GenericFallback,  // fallback
3693
    #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
3694
    ::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Input>(),  // to_prefetch
3695
    #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
3696
  }, {{
3697
    // optional uint32 options = 2;
3698
    {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Input, _impl_.options_), 1>(),
3699
     {16, 1, 0, PROTOBUF_FIELD_OFFSET(Input, _impl_.options_)}},
3700
    // optional .protobuf_mutator.xml.Document document = 1;
3701
    {::_pbi::TcParser::FastMtS1,
3702
     {10, 0, 0, PROTOBUF_FIELD_OFFSET(Input, _impl_.document_)}},
3703
  }}, {{
3704
    65535, 65535
3705
  }}, {{
3706
    // optional .protobuf_mutator.xml.Document document = 1;
3707
    {PROTOBUF_FIELD_OFFSET(Input, _impl_.document_), _Internal::kHasBitsOffset + 0, 0,
3708
    (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
3709
    // optional uint32 options = 2;
3710
    {PROTOBUF_FIELD_OFFSET(Input, _impl_.options_), _Internal::kHasBitsOffset + 1, 0,
3711
    (0 | ::_fl::kFcOptional | ::_fl::kUInt32)},
3712
  }}, {{
3713
    {::_pbi::TcParser::GetTable<::protobuf_mutator::xml::Document>()},
3714
  }}, {{
3715
  }},
3716
};
3717
3718
59.7k
PROTOBUF_NOINLINE void Input::Clear() {
3719
// @@protoc_insertion_point(message_clear_start:protobuf_mutator.xml.Input)
3720
59.7k
  ::google::protobuf::internal::TSanWrite(&_impl_);
3721
59.7k
  ::uint32_t cached_has_bits = 0;
3722
  // Prevent compiler warnings about cached_has_bits being unused
3723
59.7k
  (void) cached_has_bits;
3724
3725
59.7k
  cached_has_bits = _impl_._has_bits_[0];
3726
59.7k
  if (cached_has_bits & 0x00000001u) {
3727
4
    ABSL_DCHECK(_impl_.document_ != nullptr);
3728
4
    _impl_.document_->Clear();
3729
4
  }
3730
59.7k
  _impl_.options_ = 0u;
3731
59.7k
  _impl_._has_bits_.Clear();
3732
59.7k
  _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
3733
59.7k
}
3734
3735
#if defined(PROTOBUF_CUSTOM_VTABLE)
3736
        ::uint8_t* Input::_InternalSerialize(
3737
            const MessageLite& base, ::uint8_t* target,
3738
            ::google::protobuf::io::EpsCopyOutputStream* stream) {
3739
          const Input& this_ = static_cast<const Input&>(base);
3740
#else   // PROTOBUF_CUSTOM_VTABLE
3741
        ::uint8_t* Input::_InternalSerialize(
3742
            ::uint8_t* target,
3743
0
            ::google::protobuf::io::EpsCopyOutputStream* stream) const {
3744
0
          const Input& this_ = *this;
3745
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3746
          // @@protoc_insertion_point(serialize_to_array_start:protobuf_mutator.xml.Input)
3747
0
          ::uint32_t cached_has_bits = 0;
3748
0
          (void)cached_has_bits;
3749
3750
0
          cached_has_bits = this_._impl_._has_bits_[0];
3751
          // optional .protobuf_mutator.xml.Document document = 1;
3752
0
          if (cached_has_bits & 0x00000001u) {
3753
0
            target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
3754
0
                1, *this_._impl_.document_, this_._impl_.document_->GetCachedSize(), target,
3755
0
                stream);
3756
0
          }
3757
3758
          // optional uint32 options = 2;
3759
0
          if (cached_has_bits & 0x00000002u) {
3760
0
            target = stream->EnsureSpace(target);
3761
0
            target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
3762
0
                2, this_._internal_options(), target);
3763
0
          }
3764
3765
0
          if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
3766
0
            target =
3767
0
                ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
3768
0
                    this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
3769
0
          }
3770
          // @@protoc_insertion_point(serialize_to_array_end:protobuf_mutator.xml.Input)
3771
0
          return target;
3772
0
        }
3773
3774
#if defined(PROTOBUF_CUSTOM_VTABLE)
3775
        ::size_t Input::ByteSizeLong(const MessageLite& base) {
3776
          const Input& this_ = static_cast<const Input&>(base);
3777
#else   // PROTOBUF_CUSTOM_VTABLE
3778
0
        ::size_t Input::ByteSizeLong() const {
3779
0
          const Input& this_ = *this;
3780
0
#endif  // PROTOBUF_CUSTOM_VTABLE
3781
          // @@protoc_insertion_point(message_byte_size_start:protobuf_mutator.xml.Input)
3782
0
          ::size_t total_size = 0;
3783
3784
0
          ::uint32_t cached_has_bits = 0;
3785
          // Prevent compiler warnings about cached_has_bits being unused
3786
0
          (void)cached_has_bits;
3787
3788
0
          ::_pbi::Prefetch5LinesFrom7Lines(&this_);
3789
0
          cached_has_bits = this_._impl_._has_bits_[0];
3790
0
          if (cached_has_bits & 0x00000003u) {
3791
            // optional .protobuf_mutator.xml.Document document = 1;
3792
0
            if (cached_has_bits & 0x00000001u) {
3793
0
              total_size += 1 +
3794
0
                            ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.document_);
3795
0
            }
3796
            // optional uint32 options = 2;
3797
0
            if (cached_has_bits & 0x00000002u) {
3798
0
              total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
3799
0
                  this_._internal_options());
3800
0
            }
3801
0
          }
3802
0
          return this_.MaybeComputeUnknownFieldsSize(total_size,
3803
0
                                                     &this_._impl_._cached_size_);
3804
0
        }
3805
3806
0
void Input::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
3807
0
  auto* const _this = static_cast<Input*>(&to_msg);
3808
0
  auto& from = static_cast<const Input&>(from_msg);
3809
0
  ::google::protobuf::Arena* arena = _this->GetArena();
3810
  // @@protoc_insertion_point(class_specific_merge_from_start:protobuf_mutator.xml.Input)
3811
0
  ABSL_DCHECK_NE(&from, _this);
3812
0
  ::uint32_t cached_has_bits = 0;
3813
0
  (void) cached_has_bits;
3814
3815
0
  cached_has_bits = from._impl_._has_bits_[0];
3816
0
  if (cached_has_bits & 0x00000003u) {
3817
0
    if (cached_has_bits & 0x00000001u) {
3818
0
      ABSL_DCHECK(from._impl_.document_ != nullptr);
3819
0
      if (_this->_impl_.document_ == nullptr) {
3820
0
        _this->_impl_.document_ =
3821
0
            ::google::protobuf::Message::CopyConstruct<::protobuf_mutator::xml::Document>(arena, *from._impl_.document_);
3822
0
      } else {
3823
0
        _this->_impl_.document_->MergeFrom(*from._impl_.document_);
3824
0
      }
3825
0
    }
3826
0
    if (cached_has_bits & 0x00000002u) {
3827
0
      _this->_impl_.options_ = from._impl_.options_;
3828
0
    }
3829
0
  }
3830
0
  _this->_impl_._has_bits_[0] |= cached_has_bits;
3831
0
  _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
3832
0
}
3833
3834
0
void Input::CopyFrom(const Input& from) {
3835
// @@protoc_insertion_point(class_specific_copy_from_start:protobuf_mutator.xml.Input)
3836
0
  if (&from == this) return;
3837
0
  Clear();
3838
0
  MergeFrom(from);
3839
0
}
3840
3841
3842
0
void Input::InternalSwap(Input* PROTOBUF_RESTRICT other) {
3843
0
  using std::swap;
3844
0
  _internal_metadata_.InternalSwap(&other->_internal_metadata_);
3845
0
  swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
3846
0
  ::google::protobuf::internal::memswap<
3847
0
      PROTOBUF_FIELD_OFFSET(Input, _impl_.options_)
3848
0
      + sizeof(Input::_impl_.options_)
3849
0
      - PROTOBUF_FIELD_OFFSET(Input, _impl_.document_)>(
3850
0
          reinterpret_cast<char*>(&_impl_.document_),
3851
0
          reinterpret_cast<char*>(&other->_impl_.document_));
3852
0
}
3853
3854
0
::google::protobuf::Metadata Input::GetMetadata() const {
3855
0
  return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
3856
0
}
3857
// @@protoc_insertion_point(namespace_scope)
3858
}  // namespace xml
3859
}  // namespace protobuf_mutator
3860
namespace google {
3861
namespace protobuf {
3862
}  // namespace protobuf
3863
}  // namespace google
3864
// @@protoc_insertion_point(global_scope)
3865
PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
3866
    _static_init2_ PROTOBUF_UNUSED =
3867
        (::_pbi::AddDescriptors(&descriptor_table_xml_2eproto),
3868
         ::std::false_type{});
3869
#include "google/protobuf/port_undef.inc"