Coverage Report

Created: 2026-02-14 06:59

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