• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // NO CHECKED-IN PROTOBUF GENCODE
3 // source: google/protobuf/struct.proto
4 // Protobuf C++ Version: 5.29.4
5 
6 #include "google/protobuf/struct.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 google {
28 namespace protobuf {
29 
Impl_(::_pbi::ConstantInitialized)30 inline constexpr ListValue::Impl_::Impl_(
31     ::_pbi::ConstantInitialized) noexcept
32       : values_{},
33         _cached_size_{0} {}
34 
35 template <typename>
ListValue(::_pbi::ConstantInitialized)36 PROTOBUF_CONSTEXPR ListValue::ListValue(::_pbi::ConstantInitialized)
37 #if defined(PROTOBUF_CUSTOM_VTABLE)
38     : ::google::protobuf::Message(_class_data_.base()),
39 #else   // PROTOBUF_CUSTOM_VTABLE
40     : ::google::protobuf::Message(),
41 #endif  // PROTOBUF_CUSTOM_VTABLE
42       _impl_(::_pbi::ConstantInitialized()) {
43 }
44 struct ListValueDefaultTypeInternal {
ListValueDefaultTypeInternalgoogle::protobuf::ListValueDefaultTypeInternal45   PROTOBUF_CONSTEXPR ListValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~ListValueDefaultTypeInternalgoogle::protobuf::ListValueDefaultTypeInternal46   ~ListValueDefaultTypeInternal() {}
47   union {
48     ListValue _instance;
49   };
50 };
51 
52 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
53     PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ListValueDefaultTypeInternal _ListValue_default_instance_;
54 
Impl_(::_pbi::ConstantInitialized)55 inline constexpr Struct::Impl_::Impl_(
56     ::_pbi::ConstantInitialized) noexcept
57       : fields_{},
58         _cached_size_{0} {}
59 
60 template <typename>
Struct(::_pbi::ConstantInitialized)61 PROTOBUF_CONSTEXPR Struct::Struct(::_pbi::ConstantInitialized)
62 #if defined(PROTOBUF_CUSTOM_VTABLE)
63     : ::google::protobuf::Message(_class_data_.base()),
64 #else   // PROTOBUF_CUSTOM_VTABLE
65     : ::google::protobuf::Message(),
66 #endif  // PROTOBUF_CUSTOM_VTABLE
67       _impl_(::_pbi::ConstantInitialized()) {
68 }
69 struct StructDefaultTypeInternal {
StructDefaultTypeInternalgoogle::protobuf::StructDefaultTypeInternal70   PROTOBUF_CONSTEXPR StructDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~StructDefaultTypeInternalgoogle::protobuf::StructDefaultTypeInternal71   ~StructDefaultTypeInternal() {}
72   union {
73     Struct _instance;
74   };
75 };
76 
77 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
78     PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StructDefaultTypeInternal _Struct_default_instance_;
79               template <typename>
Struct_FieldsEntry_DoNotUse(::_pbi::ConstantInitialized)80 PROTOBUF_CONSTEXPR Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::_pbi::ConstantInitialized)
81 #if defined(PROTOBUF_CUSTOM_VTABLE)
82     : Struct_FieldsEntry_DoNotUse::MapEntry(_class_data_.base()){}
83 #else   // PROTOBUF_CUSTOM_VTABLE
84     : Struct_FieldsEntry_DoNotUse::MapEntry() {
85 }
86 #endif  // PROTOBUF_CUSTOM_VTABLE
87 struct Struct_FieldsEntry_DoNotUseDefaultTypeInternal {
Struct_FieldsEntry_DoNotUseDefaultTypeInternalgoogle::protobuf::Struct_FieldsEntry_DoNotUseDefaultTypeInternal88   PROTOBUF_CONSTEXPR Struct_FieldsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~Struct_FieldsEntry_DoNotUseDefaultTypeInternalgoogle::protobuf::Struct_FieldsEntry_DoNotUseDefaultTypeInternal89   ~Struct_FieldsEntry_DoNotUseDefaultTypeInternal() {}
90   union {
91     Struct_FieldsEntry_DoNotUse _instance;
92   };
93 };
94 
95 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
96     PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Struct_FieldsEntry_DoNotUseDefaultTypeInternal _Struct_FieldsEntry_DoNotUse_default_instance_;
97 
Impl_(::_pbi::ConstantInitialized)98 inline constexpr Value::Impl_::Impl_(
99     ::_pbi::ConstantInitialized) noexcept
100       : kind_{},
101         _cached_size_{0},
102         _oneof_case_{} {}
103 
104 template <typename>
Value(::_pbi::ConstantInitialized)105 PROTOBUF_CONSTEXPR Value::Value(::_pbi::ConstantInitialized)
106 #if defined(PROTOBUF_CUSTOM_VTABLE)
107     : ::google::protobuf::Message(_class_data_.base()),
108 #else   // PROTOBUF_CUSTOM_VTABLE
109     : ::google::protobuf::Message(),
110 #endif  // PROTOBUF_CUSTOM_VTABLE
111       _impl_(::_pbi::ConstantInitialized()) {
112 }
113 struct ValueDefaultTypeInternal {
ValueDefaultTypeInternalgoogle::protobuf::ValueDefaultTypeInternal114   PROTOBUF_CONSTEXPR ValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
~ValueDefaultTypeInternalgoogle::protobuf::ValueDefaultTypeInternal115   ~ValueDefaultTypeInternal() {}
116   union {
117     Value _instance;
118   };
119 };
120 
121 PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_EXPORT
122     PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ValueDefaultTypeInternal _Value_default_instance_;
123 }  // namespace protobuf
124 }  // namespace google
125 static const ::_pb::EnumDescriptor* file_level_enum_descriptors_google_2fprotobuf_2fstruct_2eproto[1];
126 static constexpr const ::_pb::ServiceDescriptor**
127     file_level_service_descriptors_google_2fprotobuf_2fstruct_2eproto = nullptr;
128 const ::uint32_t
129     TableStruct_google_2fprotobuf_2fstruct_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
130         protodesc_cold) = {
131         PROTOBUF_FIELD_OFFSET(::google::protobuf::Struct_FieldsEntry_DoNotUse, _impl_._has_bits_),
132         PROTOBUF_FIELD_OFFSET(::google::protobuf::Struct_FieldsEntry_DoNotUse, _internal_metadata_),
133         ~0u,  // no _extensions_
134         ~0u,  // no _oneof_case_
135         ~0u,  // no _weak_field_map_
136         ~0u,  // no _inlined_string_donated_
137         ~0u,  // no _split_
138         ~0u,  // no sizeof(Split)
139         PROTOBUF_FIELD_OFFSET(::google::protobuf::Struct_FieldsEntry_DoNotUse, _impl_.key_),
140         PROTOBUF_FIELD_OFFSET(::google::protobuf::Struct_FieldsEntry_DoNotUse, _impl_.value_),
141         0,
142         1,
143         ~0u,  // no _has_bits_
144         PROTOBUF_FIELD_OFFSET(::google::protobuf::Struct, _internal_metadata_),
145         ~0u,  // no _extensions_
146         ~0u,  // no _oneof_case_
147         ~0u,  // no _weak_field_map_
148         ~0u,  // no _inlined_string_donated_
149         ~0u,  // no _split_
150         ~0u,  // no sizeof(Split)
151         PROTOBUF_FIELD_OFFSET(::google::protobuf::Struct, _impl_.fields_),
152         ~0u,  // no _has_bits_
153         PROTOBUF_FIELD_OFFSET(::google::protobuf::Value, _internal_metadata_),
154         ~0u,  // no _extensions_
155         PROTOBUF_FIELD_OFFSET(::google::protobuf::Value, _impl_._oneof_case_[0]),
156         ~0u,  // no _weak_field_map_
157         ~0u,  // no _inlined_string_donated_
158         ~0u,  // no _split_
159         ~0u,  // no sizeof(Split)
160         ::_pbi::kInvalidFieldOffsetTag,
161         ::_pbi::kInvalidFieldOffsetTag,
162         ::_pbi::kInvalidFieldOffsetTag,
163         ::_pbi::kInvalidFieldOffsetTag,
164         ::_pbi::kInvalidFieldOffsetTag,
165         ::_pbi::kInvalidFieldOffsetTag,
166         PROTOBUF_FIELD_OFFSET(::google::protobuf::Value, _impl_.kind_),
167         ~0u,  // no _has_bits_
168         PROTOBUF_FIELD_OFFSET(::google::protobuf::ListValue, _internal_metadata_),
169         ~0u,  // no _extensions_
170         ~0u,  // no _oneof_case_
171         ~0u,  // no _weak_field_map_
172         ~0u,  // no _inlined_string_donated_
173         ~0u,  // no _split_
174         ~0u,  // no sizeof(Split)
175         PROTOBUF_FIELD_OFFSET(::google::protobuf::ListValue, _impl_.values_),
176 };
177 
178 static const ::_pbi::MigrationSchema
179     schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {
180         {0, 10, -1, sizeof(::google::protobuf::Struct_FieldsEntry_DoNotUse)},
181         {12, -1, -1, sizeof(::google::protobuf::Struct)},
182         {21, -1, -1, sizeof(::google::protobuf::Value)},
183         {36, -1, -1, sizeof(::google::protobuf::ListValue)},
184 };
185 static const ::_pb::Message* const file_default_instances[] = {
186     &::google::protobuf::_Struct_FieldsEntry_DoNotUse_default_instance_._instance,
187     &::google::protobuf::_Struct_default_instance_._instance,
188     &::google::protobuf::_Value_default_instance_._instance,
189     &::google::protobuf::_ListValue_default_instance_._instance,
190 };
191 const char descriptor_table_protodef_google_2fprotobuf_2fstruct_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE(
192     protodesc_cold) = {
193     "\n\034google/protobuf/struct.proto\022\017google.p"
194     "rotobuf\"\204\001\n\006Struct\0223\n\006fields\030\001 \003(\0132#.goo"
195     "gle.protobuf.Struct.FieldsEntry\032E\n\013Field"
196     "sEntry\022\013\n\003key\030\001 \001(\t\022%\n\005value\030\002 \001(\0132\026.goo"
197     "gle.protobuf.Value:\0028\001\"\352\001\n\005Value\0220\n\nnull"
198     "_value\030\001 \001(\0162\032.google.protobuf.NullValue"
199     "H\000\022\026\n\014number_value\030\002 \001(\001H\000\022\026\n\014string_val"
200     "ue\030\003 \001(\tH\000\022\024\n\nbool_value\030\004 \001(\010H\000\022/\n\014stru"
201     "ct_value\030\005 \001(\0132\027.google.protobuf.StructH"
202     "\000\0220\n\nlist_value\030\006 \001(\0132\032.google.protobuf."
203     "ListValueH\000B\006\n\004kind\"3\n\tListValue\022&\n\006valu"
204     "es\030\001 \003(\0132\026.google.protobuf.Value*\033\n\tNull"
205     "Value\022\016\n\nNULL_VALUE\020\000B\177\n\023com.google.prot"
206     "obufB\013StructProtoP\001Z/google.golang.org/p"
207     "rotobuf/types/known/structpb\370\001\001\242\002\003GPB\252\002\036"
208     "Google.Protobuf.WellKnownTypesb\006proto3"
209 };
210 static ::absl::once_flag descriptor_table_google_2fprotobuf_2fstruct_2eproto_once;
211 PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_google_2fprotobuf_2fstruct_2eproto = {
212     false,
213     false,
214     638,
215     descriptor_table_protodef_google_2fprotobuf_2fstruct_2eproto,
216     "google/protobuf/struct.proto",
217     &descriptor_table_google_2fprotobuf_2fstruct_2eproto_once,
218     nullptr,
219     0,
220     4,
221     schemas,
222     file_default_instances,
223     TableStruct_google_2fprotobuf_2fstruct_2eproto::offsets,
224     file_level_enum_descriptors_google_2fprotobuf_2fstruct_2eproto,
225     file_level_service_descriptors_google_2fprotobuf_2fstruct_2eproto,
226 };
227 namespace google {
228 namespace protobuf {
NullValue_descriptor()229 const ::google::protobuf::EnumDescriptor* NullValue_descriptor() {
230   ::google::protobuf::internal::AssignDescriptors(&descriptor_table_google_2fprotobuf_2fstruct_2eproto);
231   return file_level_enum_descriptors_google_2fprotobuf_2fstruct_2eproto[0];
232 }
233 PROTOBUF_CONSTINIT const uint32_t NullValue_internal_data_[] = {
234     65536u, 0u, };
NullValue_IsValid(int value)235 bool NullValue_IsValid(int value) {
236   return 0 <= value && value <= 0;
237 }
238 // ===================================================================
239 
240 #if defined(PROTOBUF_CUSTOM_VTABLE)
Struct_FieldsEntry_DoNotUse()241               Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse() : SuperType(_class_data_.base()) {}
Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena * arena)242               Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena)
243                   : SuperType(arena, _class_data_.base()) {}
244 #else   // PROTOBUF_CUSTOM_VTABLE
Struct_FieldsEntry_DoNotUse()245               Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse() : SuperType() {}
Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena * arena)246               Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {}
247 #endif  // PROTOBUF_CUSTOM_VTABLE
PlacementNew_(const void *,void * mem,::google::protobuf::Arena * arena)248               inline void* Struct_FieldsEntry_DoNotUse::PlacementNew_(const void*, void* mem,
249                                                       ::google::protobuf::Arena* arena) {
250                 return ::new (mem) Struct_FieldsEntry_DoNotUse(arena);
251               }
InternalNewImpl_()252               constexpr auto Struct_FieldsEntry_DoNotUse::InternalNewImpl_() {
253                 return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Struct_FieldsEntry_DoNotUse),
254                                                           alignof(Struct_FieldsEntry_DoNotUse));
255               }
256               PROTOBUF_CONSTINIT
257               PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
258               const ::google::protobuf::internal::ClassDataFull Struct_FieldsEntry_DoNotUse::_class_data_ = {
259                   ::google::protobuf::internal::ClassData{
260                       &_Struct_FieldsEntry_DoNotUse_default_instance_._instance,
261                       &_table_.header,
262                       nullptr,  // OnDemandRegisterArenaDtor
263                       nullptr,  // IsInitialized
264                       &Struct_FieldsEntry_DoNotUse::MergeImpl,
265                       ::google::protobuf::Message::GetNewImpl<Struct_FieldsEntry_DoNotUse>(),
266               #if defined(PROTOBUF_CUSTOM_VTABLE)
267                       &Struct_FieldsEntry_DoNotUse::SharedDtor,
268                       static_cast<void (::google::protobuf::MessageLite::*)()>(
269                           &Struct_FieldsEntry_DoNotUse::ClearImpl),
270                           ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl
271                           ,
272               #endif  // PROTOBUF_CUSTOM_VTABLE
273                       PROTOBUF_FIELD_OFFSET(Struct_FieldsEntry_DoNotUse, _impl_._cached_size_),
274                       false,
275                   },
276                   &Struct_FieldsEntry_DoNotUse::kDescriptorMethods,
277                   &descriptor_table_google_2fprotobuf_2fstruct_2eproto,
278                   nullptr,  // tracker
279               };
GetClassData() const280               const ::google::protobuf::internal::ClassData* Struct_FieldsEntry_DoNotUse::GetClassData() const {
281                 ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
282                 ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
283                 return _class_data_.base();
284               }
285 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
286 const ::_pbi::TcParseTable<1, 2, 1, 46, 2> Struct_FieldsEntry_DoNotUse::_table_ = {
287   {
288     PROTOBUF_FIELD_OFFSET(Struct_FieldsEntry_DoNotUse, _impl_._has_bits_),
289     0, // no _extensions_
290     2, 8,  // max_field_number, fast_idx_mask
291     offsetof(decltype(_table_), field_lookup_table),
292     4294967292,  // skipmap
293     offsetof(decltype(_table_), field_entries),
294     2,  // num_field_entries
295     1,  // num_aux_entries
296     offsetof(decltype(_table_), aux_entries),
297     _class_data_.base(),
298     nullptr,  // post_loop_handler
299     ::_pbi::TcParser::DiscardEverythingFallback,  // fallback
300     #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
301     ::_pbi::TcParser::GetTable<::google::protobuf::Struct_FieldsEntry_DoNotUse>(),  // to_prefetch
302     #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
303   }, {{
304     // .google.protobuf.Value value = 2;
305     {::_pbi::TcParser::FastMtS1,
306      {18, 0, 0, PROTOBUF_FIELD_OFFSET(Struct_FieldsEntry_DoNotUse, _impl_.value_)}},
307     // string key = 1;
308     {::_pbi::TcParser::FastUS1,
309      {10, 63, 0, PROTOBUF_FIELD_OFFSET(Struct_FieldsEntry_DoNotUse, _impl_.key_)}},
310   }}, {{
311     65535, 65535
312   }}, {{
313     // string key = 1;
314     {PROTOBUF_FIELD_OFFSET(Struct_FieldsEntry_DoNotUse, _impl_.key_), -1, 0,
315     (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
316     // .google.protobuf.Value value = 2;
317     {PROTOBUF_FIELD_OFFSET(Struct_FieldsEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0,
318     (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
319   }}, {{
320     {::_pbi::TcParser::GetTable<::google::protobuf::Value>()},
321   }}, {{
322     "\42\3\0\0\0\0\0\0"
323     "google.protobuf.Struct.FieldsEntry"
324     "key"
325   }},
326 };
327 
328 // ===================================================================
329 
330 class Struct::_Internal {
331  public:
332 };
333 
Struct(::google::protobuf::Arena * arena)334 Struct::Struct(::google::protobuf::Arena* arena)
335 #if defined(PROTOBUF_CUSTOM_VTABLE)
336     : ::google::protobuf::Message(arena, _class_data_.base()) {
337 #else   // PROTOBUF_CUSTOM_VTABLE
338     : ::google::protobuf::Message(arena) {
339 #endif  // PROTOBUF_CUSTOM_VTABLE
340   SharedCtor(arena);
341   // @@protoc_insertion_point(arena_constructor:google.protobuf.Struct)
342 }
343 inline PROTOBUF_NDEBUG_INLINE Struct::Impl_::Impl_(
344     ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
345     const Impl_& from, const ::google::protobuf::Struct& from_msg)
346       : fields_{visibility, arena, from.fields_},
347         _cached_size_{0} {}
348 
349 Struct::Struct(
350     ::google::protobuf::Arena* arena,
351     const Struct& from)
352 #if defined(PROTOBUF_CUSTOM_VTABLE)
353     : ::google::protobuf::Message(arena, _class_data_.base()) {
354 #else   // PROTOBUF_CUSTOM_VTABLE
355     : ::google::protobuf::Message(arena) {
356 #endif  // PROTOBUF_CUSTOM_VTABLE
357   Struct* const _this = this;
358   (void)_this;
359   _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
360       from._internal_metadata_);
361   new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
362 
363   // @@protoc_insertion_point(copy_constructor:google.protobuf.Struct)
364 }
365 inline PROTOBUF_NDEBUG_INLINE Struct::Impl_::Impl_(
366     ::google::protobuf::internal::InternalVisibility visibility,
367     ::google::protobuf::Arena* arena)
368       : fields_{visibility, arena},
369         _cached_size_{0} {}
370 
371 inline void Struct::SharedCtor(::_pb::Arena* arena) {
372   new (&_impl_) Impl_(internal_visibility(), arena);
373 }
374 Struct::~Struct() {
375   // @@protoc_insertion_point(destructor:google.protobuf.Struct)
376   SharedDtor(*this);
377 }
378 inline void Struct::SharedDtor(MessageLite& self) {
379   Struct& this_ = static_cast<Struct&>(self);
380   this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
381   ABSL_DCHECK(this_.GetArena() == nullptr);
382   this_._impl_.~Impl_();
383 }
384 
385 inline void* Struct::PlacementNew_(const void*, void* mem,
386                                         ::google::protobuf::Arena* arena) {
387   return ::new (mem) Struct(arena);
388 }
389 constexpr auto Struct::InternalNewImpl_() {
390   constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
391       PROTOBUF_FIELD_OFFSET(Struct, _impl_.fields_) +
392           decltype(Struct::_impl_.fields_)::
393               InternalGetArenaOffset(
394                   ::google::protobuf::Message::internal_visibility()),
395       PROTOBUF_FIELD_OFFSET(Struct, _impl_.fields_) +
396           decltype(Struct::_impl_.fields_)::
397               InternalGetArenaOffsetAlt(
398                   ::google::protobuf::Message::internal_visibility()),
399   });
400   if (arena_bits.has_value()) {
401     return ::google::protobuf::internal::MessageCreator::CopyInit(
402         sizeof(Struct), alignof(Struct), *arena_bits);
403   } else {
404     return ::google::protobuf::internal::MessageCreator(&Struct::PlacementNew_,
405                                  sizeof(Struct),
406                                  alignof(Struct));
407   }
408 }
409 PROTOBUF_CONSTINIT
410 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
411 const ::google::protobuf::internal::ClassDataFull Struct::_class_data_ = {
412     ::google::protobuf::internal::ClassData{
413         &_Struct_default_instance_._instance,
414         &_table_.header,
415         nullptr,  // OnDemandRegisterArenaDtor
416         nullptr,  // IsInitialized
417         &Struct::MergeImpl,
418         ::google::protobuf::Message::GetNewImpl<Struct>(),
419 #if defined(PROTOBUF_CUSTOM_VTABLE)
420         &Struct::SharedDtor,
421         ::google::protobuf::Message::GetClearImpl<Struct>(), &Struct::ByteSizeLong,
422             &Struct::_InternalSerialize,
423 #endif  // PROTOBUF_CUSTOM_VTABLE
424         PROTOBUF_FIELD_OFFSET(Struct, _impl_._cached_size_),
425         false,
426     },
427     &Struct::kDescriptorMethods,
428     &descriptor_table_google_2fprotobuf_2fstruct_2eproto,
429     nullptr,  // tracker
430 };
431 const ::google::protobuf::internal::ClassData* Struct::GetClassData() const {
432   ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
433   ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
434   return _class_data_.base();
435 }
436 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
437 const ::_pbi::TcParseTable<0, 1, 2, 37, 2> Struct::_table_ = {
438   {
439     0,  // no _has_bits_
440     0, // no _extensions_
441     1, 0,  // max_field_number, fast_idx_mask
442     offsetof(decltype(_table_), field_lookup_table),
443     4294967294,  // skipmap
444     offsetof(decltype(_table_), field_entries),
445     1,  // num_field_entries
446     2,  // num_aux_entries
447     offsetof(decltype(_table_), aux_entries),
448     _class_data_.base(),
449     nullptr,  // post_loop_handler
450     ::_pbi::TcParser::GenericFallback,  // fallback
451     #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
452     ::_pbi::TcParser::GetTable<::google::protobuf::Struct>(),  // to_prefetch
453     #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
454   }, {{
455     {::_pbi::TcParser::MiniParse, {}},
456   }}, {{
457     65535, 65535
458   }}, {{
459     // map<string, .google.protobuf.Value> fields = 1;
460     {PROTOBUF_FIELD_OFFSET(Struct, _impl_.fields_), 0, 0,
461     (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
462   }}, {{
463     {::_pbi::TcParser::GetMapAuxInfo<
464         decltype(Struct()._impl_.fields_)>(
465         1, 0, 0, 9,
466         11)},
467     {::_pbi::TcParser::GetTable<::google::protobuf::Value>()},
468   }}, {{
469     "\26\6\0\0\0\0\0\0"
470     "google.protobuf.Struct"
471     "fields"
472   }},
473 };
474 
475 PROTOBUF_NOINLINE void Struct::Clear() {
476 // @@protoc_insertion_point(message_clear_start:google.protobuf.Struct)
477   ::google::protobuf::internal::TSanWrite(&_impl_);
478   ::uint32_t cached_has_bits = 0;
479   // Prevent compiler warnings about cached_has_bits being unused
480   (void) cached_has_bits;
481 
482   _impl_.fields_.Clear();
483   _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
484 }
485 
486 #if defined(PROTOBUF_CUSTOM_VTABLE)
487         ::uint8_t* Struct::_InternalSerialize(
488             const MessageLite& base, ::uint8_t* target,
489             ::google::protobuf::io::EpsCopyOutputStream* stream) {
490           const Struct& this_ = static_cast<const Struct&>(base);
491 #else   // PROTOBUF_CUSTOM_VTABLE
492         ::uint8_t* Struct::_InternalSerialize(
493             ::uint8_t* target,
494             ::google::protobuf::io::EpsCopyOutputStream* stream) const {
495           const Struct& this_ = *this;
496 #endif  // PROTOBUF_CUSTOM_VTABLE
497           // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Struct)
498           ::uint32_t cached_has_bits = 0;
499           (void)cached_has_bits;
500 
501           // map<string, .google.protobuf.Value> fields = 1;
502           if (!this_._internal_fields().empty()) {
503             using MapType = ::google::protobuf::Map<std::string, ::google::protobuf::Value>;
504             using WireHelper = _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value,
505                                            _pbi::WireFormatLite::TYPE_STRING,
506                                            _pbi::WireFormatLite::TYPE_MESSAGE>;
507             const auto& field = this_._internal_fields();
508 
509             if (stream->IsSerializationDeterministic() && field.size() > 1) {
510               for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
511                 target = WireHelper::InternalSerialize(
512                     1, entry.first, entry.second, target, stream);
513                 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
514                     entry.first.data(), static_cast<int>(entry.first.length()),
515  ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Struct.fields");
516               }
517             } else {
518               for (const auto& entry : field) {
519                 target = WireHelper::InternalSerialize(
520                     1, entry.first, entry.second, target, stream);
521                 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
522                     entry.first.data(), static_cast<int>(entry.first.length()),
523  ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Struct.fields");
524               }
525             }
526           }
527 
528           if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
529             target =
530                 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
531                     this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
532           }
533           // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Struct)
534           return target;
535         }
536 
537 #if defined(PROTOBUF_CUSTOM_VTABLE)
538         ::size_t Struct::ByteSizeLong(const MessageLite& base) {
539           const Struct& this_ = static_cast<const Struct&>(base);
540 #else   // PROTOBUF_CUSTOM_VTABLE
541         ::size_t Struct::ByteSizeLong() const {
542           const Struct& this_ = *this;
543 #endif  // PROTOBUF_CUSTOM_VTABLE
544           // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Struct)
545           ::size_t total_size = 0;
546 
547           ::uint32_t cached_has_bits = 0;
548           // Prevent compiler warnings about cached_has_bits being unused
549           (void)cached_has_bits;
550 
551           ::_pbi::Prefetch5LinesFrom7Lines(&this_);
552            {
553             // map<string, .google.protobuf.Value> fields = 1;
554             {
555               total_size +=
556                   1 * ::google::protobuf::internal::FromIntSize(this_._internal_fields_size());
557               for (const auto& entry : this_._internal_fields()) {
558                 total_size += _pbi::MapEntryFuncs<std::string, ::google::protobuf::Value,
559                                                _pbi::WireFormatLite::TYPE_STRING,
560                                                _pbi::WireFormatLite::TYPE_MESSAGE>::ByteSizeLong(entry.first, entry.second);
561               }
562             }
563           }
564           return this_.MaybeComputeUnknownFieldsSize(total_size,
565                                                      &this_._impl_._cached_size_);
566         }
567 
568 void Struct::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
569   auto* const _this = static_cast<Struct*>(&to_msg);
570   auto& from = static_cast<const Struct&>(from_msg);
571   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Struct)
572   ABSL_DCHECK_NE(&from, _this);
573   ::uint32_t cached_has_bits = 0;
574   (void) cached_has_bits;
575 
576   _this->_impl_.fields_.MergeFrom(from._impl_.fields_);
577   _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
578 }
579 
580 void Struct::CopyFrom(const Struct& from) {
581 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Struct)
582   if (&from == this) return;
583   Clear();
584   MergeFrom(from);
585 }
586 
587 
588 void Struct::InternalSwap(Struct* PROTOBUF_RESTRICT other) {
589   using std::swap;
590   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
591   _impl_.fields_.InternalSwap(&other->_impl_.fields_);
592 }
593 
594 ::google::protobuf::Metadata Struct::GetMetadata() const {
595   return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
596 }
597 // ===================================================================
598 
599 class Value::_Internal {
600  public:
601   static constexpr ::int32_t kOneofCaseOffset =
602       PROTOBUF_FIELD_OFFSET(::google::protobuf::Value, _impl_._oneof_case_);
603 };
604 
605 void Value::set_allocated_struct_value(::google::protobuf::Struct* struct_value) {
606   ::google::protobuf::Arena* message_arena = GetArena();
607   clear_kind();
608   if (struct_value) {
609     ::google::protobuf::Arena* submessage_arena = struct_value->GetArena();
610     if (message_arena != submessage_arena) {
611       struct_value = ::google::protobuf::internal::GetOwnedMessage(message_arena, struct_value, submessage_arena);
612     }
613     set_has_struct_value();
614     _impl_.kind_.struct_value_ = struct_value;
615   }
616   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Value.struct_value)
617 }
618 void Value::set_allocated_list_value(::google::protobuf::ListValue* list_value) {
619   ::google::protobuf::Arena* message_arena = GetArena();
620   clear_kind();
621   if (list_value) {
622     ::google::protobuf::Arena* submessage_arena = list_value->GetArena();
623     if (message_arena != submessage_arena) {
624       list_value = ::google::protobuf::internal::GetOwnedMessage(message_arena, list_value, submessage_arena);
625     }
626     set_has_list_value();
627     _impl_.kind_.list_value_ = list_value;
628   }
629   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Value.list_value)
630 }
631 Value::Value(::google::protobuf::Arena* arena)
632 #if defined(PROTOBUF_CUSTOM_VTABLE)
633     : ::google::protobuf::Message(arena, _class_data_.base()) {
634 #else   // PROTOBUF_CUSTOM_VTABLE
635     : ::google::protobuf::Message(arena) {
636 #endif  // PROTOBUF_CUSTOM_VTABLE
637   SharedCtor(arena);
638   // @@protoc_insertion_point(arena_constructor:google.protobuf.Value)
639 }
640 inline PROTOBUF_NDEBUG_INLINE Value::Impl_::Impl_(
641     ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
642     const Impl_& from, const ::google::protobuf::Value& from_msg)
643       : kind_{},
644         _cached_size_{0},
645         _oneof_case_{from._oneof_case_[0]} {}
646 
647 Value::Value(
648     ::google::protobuf::Arena* arena,
649     const Value& from)
650 #if defined(PROTOBUF_CUSTOM_VTABLE)
651     : ::google::protobuf::Message(arena, _class_data_.base()) {
652 #else   // PROTOBUF_CUSTOM_VTABLE
653     : ::google::protobuf::Message(arena) {
654 #endif  // PROTOBUF_CUSTOM_VTABLE
655   Value* const _this = this;
656   (void)_this;
657   _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
658       from._internal_metadata_);
659   new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
660   switch (kind_case()) {
661     case KIND_NOT_SET:
662       break;
663       case kNullValue:
664         _impl_.kind_.null_value_ = from._impl_.kind_.null_value_;
665         break;
666       case kNumberValue:
667         _impl_.kind_.number_value_ = from._impl_.kind_.number_value_;
668         break;
669       case kStringValue:
670         new (&_impl_.kind_.string_value_) decltype(_impl_.kind_.string_value_){arena, from._impl_.kind_.string_value_};
671         break;
672       case kBoolValue:
673         _impl_.kind_.bool_value_ = from._impl_.kind_.bool_value_;
674         break;
675       case kStructValue:
676         _impl_.kind_.struct_value_ = ::google::protobuf::Message::CopyConstruct<::google::protobuf::Struct>(arena, *from._impl_.kind_.struct_value_);
677         break;
678       case kListValue:
679         _impl_.kind_.list_value_ = ::google::protobuf::Message::CopyConstruct<::google::protobuf::ListValue>(arena, *from._impl_.kind_.list_value_);
680         break;
681   }
682 
683   // @@protoc_insertion_point(copy_constructor:google.protobuf.Value)
684 }
685 inline PROTOBUF_NDEBUG_INLINE Value::Impl_::Impl_(
686     ::google::protobuf::internal::InternalVisibility visibility,
687     ::google::protobuf::Arena* arena)
688       : kind_{},
689         _cached_size_{0},
690         _oneof_case_{} {}
691 
692 inline void Value::SharedCtor(::_pb::Arena* arena) {
693   new (&_impl_) Impl_(internal_visibility(), arena);
694 }
695 Value::~Value() {
696   // @@protoc_insertion_point(destructor:google.protobuf.Value)
697   SharedDtor(*this);
698 }
699 inline void Value::SharedDtor(MessageLite& self) {
700   Value& this_ = static_cast<Value&>(self);
701   this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
702   ABSL_DCHECK(this_.GetArena() == nullptr);
703   if (this_.has_kind()) {
704     this_.clear_kind();
705   }
706   this_._impl_.~Impl_();
707 }
708 
709 void Value::clear_kind() {
710 // @@protoc_insertion_point(one_of_clear_start:google.protobuf.Value)
711   ::google::protobuf::internal::TSanWrite(&_impl_);
712   switch (kind_case()) {
713     case kNullValue: {
714       // No need to clear
715       break;
716     }
717     case kNumberValue: {
718       // No need to clear
719       break;
720     }
721     case kStringValue: {
722       _impl_.kind_.string_value_.Destroy();
723       break;
724     }
725     case kBoolValue: {
726       // No need to clear
727       break;
728     }
729     case kStructValue: {
730       if (GetArena() == nullptr) {
731         delete _impl_.kind_.struct_value_;
732       } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
733         ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.kind_.struct_value_);
734       }
735       break;
736     }
737     case kListValue: {
738       if (GetArena() == nullptr) {
739         delete _impl_.kind_.list_value_;
740       } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) {
741         ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.kind_.list_value_);
742       }
743       break;
744     }
745     case KIND_NOT_SET: {
746       break;
747     }
748   }
749   _impl_._oneof_case_[0] = KIND_NOT_SET;
750 }
751 
752 
753 inline void* Value::PlacementNew_(const void*, void* mem,
754                                         ::google::protobuf::Arena* arena) {
755   return ::new (mem) Value(arena);
756 }
757 constexpr auto Value::InternalNewImpl_() {
758   return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Value),
759                                             alignof(Value));
760 }
761 PROTOBUF_CONSTINIT
762 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
763 const ::google::protobuf::internal::ClassDataFull Value::_class_data_ = {
764     ::google::protobuf::internal::ClassData{
765         &_Value_default_instance_._instance,
766         &_table_.header,
767         nullptr,  // OnDemandRegisterArenaDtor
768         nullptr,  // IsInitialized
769         &Value::MergeImpl,
770         ::google::protobuf::Message::GetNewImpl<Value>(),
771 #if defined(PROTOBUF_CUSTOM_VTABLE)
772         &Value::SharedDtor,
773         ::google::protobuf::Message::GetClearImpl<Value>(), &Value::ByteSizeLong,
774             &Value::_InternalSerialize,
775 #endif  // PROTOBUF_CUSTOM_VTABLE
776         PROTOBUF_FIELD_OFFSET(Value, _impl_._cached_size_),
777         false,
778     },
779     &Value::kDescriptorMethods,
780     &descriptor_table_google_2fprotobuf_2fstruct_2eproto,
781     nullptr,  // tracker
782 };
783 const ::google::protobuf::internal::ClassData* Value::GetClassData() const {
784   ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
785   ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
786   return _class_data_.base();
787 }
788 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
789 const ::_pbi::TcParseTable<0, 6, 2, 42, 2> Value::_table_ = {
790   {
791     0,  // no _has_bits_
792     0, // no _extensions_
793     6, 0,  // max_field_number, fast_idx_mask
794     offsetof(decltype(_table_), field_lookup_table),
795     4294967232,  // skipmap
796     offsetof(decltype(_table_), field_entries),
797     6,  // num_field_entries
798     2,  // num_aux_entries
799     offsetof(decltype(_table_), aux_entries),
800     _class_data_.base(),
801     nullptr,  // post_loop_handler
802     ::_pbi::TcParser::GenericFallback,  // fallback
803     #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
804     ::_pbi::TcParser::GetTable<::google::protobuf::Value>(),  // to_prefetch
805     #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
806   }, {{
807     {::_pbi::TcParser::MiniParse, {}},
808   }}, {{
809     65535, 65535
810   }}, {{
811     // .google.protobuf.NullValue null_value = 1;
812     {PROTOBUF_FIELD_OFFSET(Value, _impl_.kind_.null_value_), _Internal::kOneofCaseOffset + 0, 0,
813     (0 | ::_fl::kFcOneof | ::_fl::kOpenEnum)},
814     // double number_value = 2;
815     {PROTOBUF_FIELD_OFFSET(Value, _impl_.kind_.number_value_), _Internal::kOneofCaseOffset + 0, 0,
816     (0 | ::_fl::kFcOneof | ::_fl::kDouble)},
817     // string string_value = 3;
818     {PROTOBUF_FIELD_OFFSET(Value, _impl_.kind_.string_value_), _Internal::kOneofCaseOffset + 0, 0,
819     (0 | ::_fl::kFcOneof | ::_fl::kUtf8String | ::_fl::kRepAString)},
820     // bool bool_value = 4;
821     {PROTOBUF_FIELD_OFFSET(Value, _impl_.kind_.bool_value_), _Internal::kOneofCaseOffset + 0, 0,
822     (0 | ::_fl::kFcOneof | ::_fl::kBool)},
823     // .google.protobuf.Struct struct_value = 5;
824     {PROTOBUF_FIELD_OFFSET(Value, _impl_.kind_.struct_value_), _Internal::kOneofCaseOffset + 0, 0,
825     (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
826     // .google.protobuf.ListValue list_value = 6;
827     {PROTOBUF_FIELD_OFFSET(Value, _impl_.kind_.list_value_), _Internal::kOneofCaseOffset + 0, 1,
828     (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)},
829   }}, {{
830     {::_pbi::TcParser::GetTable<::google::protobuf::Struct>()},
831     {::_pbi::TcParser::GetTable<::google::protobuf::ListValue>()},
832   }}, {{
833     "\25\0\0\14\0\0\0\0"
834     "google.protobuf.Value"
835     "string_value"
836   }},
837 };
838 
839 PROTOBUF_NOINLINE void Value::Clear() {
840 // @@protoc_insertion_point(message_clear_start:google.protobuf.Value)
841   ::google::protobuf::internal::TSanWrite(&_impl_);
842   ::uint32_t cached_has_bits = 0;
843   // Prevent compiler warnings about cached_has_bits being unused
844   (void) cached_has_bits;
845 
846   clear_kind();
847   _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
848 }
849 
850 #if defined(PROTOBUF_CUSTOM_VTABLE)
851         ::uint8_t* Value::_InternalSerialize(
852             const MessageLite& base, ::uint8_t* target,
853             ::google::protobuf::io::EpsCopyOutputStream* stream) {
854           const Value& this_ = static_cast<const Value&>(base);
855 #else   // PROTOBUF_CUSTOM_VTABLE
856         ::uint8_t* Value::_InternalSerialize(
857             ::uint8_t* target,
858             ::google::protobuf::io::EpsCopyOutputStream* stream) const {
859           const Value& this_ = *this;
860 #endif  // PROTOBUF_CUSTOM_VTABLE
861           // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.Value)
862           ::uint32_t cached_has_bits = 0;
863           (void)cached_has_bits;
864 
865           switch (this_.kind_case()) {
866             case kNullValue: {
867               target = stream->EnsureSpace(target);
868               target = ::_pbi::WireFormatLite::WriteEnumToArray(
869                   1, this_._internal_null_value(), target);
870               break;
871             }
872             case kNumberValue: {
873               target = stream->EnsureSpace(target);
874               target = ::_pbi::WireFormatLite::WriteDoubleToArray(
875                   2, this_._internal_number_value(), target);
876               break;
877             }
878             case kStringValue: {
879               const std::string& _s = this_._internal_string_value();
880               ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
881                   _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.protobuf.Value.string_value");
882               target = stream->WriteStringMaybeAliased(3, _s, target);
883               break;
884             }
885             case kBoolValue: {
886               target = stream->EnsureSpace(target);
887               target = ::_pbi::WireFormatLite::WriteBoolToArray(
888                   4, this_._internal_bool_value(), target);
889               break;
890             }
891             case kStructValue: {
892               target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
893                   5, *this_._impl_.kind_.struct_value_, this_._impl_.kind_.struct_value_->GetCachedSize(), target,
894                   stream);
895               break;
896             }
897             case kListValue: {
898               target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
899                   6, *this_._impl_.kind_.list_value_, this_._impl_.kind_.list_value_->GetCachedSize(), target,
900                   stream);
901               break;
902             }
903             default:
904               break;
905           }
906           if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
907             target =
908                 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
909                     this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
910           }
911           // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.Value)
912           return target;
913         }
914 
915 #if defined(PROTOBUF_CUSTOM_VTABLE)
916         ::size_t Value::ByteSizeLong(const MessageLite& base) {
917           const Value& this_ = static_cast<const Value&>(base);
918 #else   // PROTOBUF_CUSTOM_VTABLE
919         ::size_t Value::ByteSizeLong() const {
920           const Value& this_ = *this;
921 #endif  // PROTOBUF_CUSTOM_VTABLE
922           // @@protoc_insertion_point(message_byte_size_start:google.protobuf.Value)
923           ::size_t total_size = 0;
924 
925           ::uint32_t cached_has_bits = 0;
926           // Prevent compiler warnings about cached_has_bits being unused
927           (void)cached_has_bits;
928 
929           switch (this_.kind_case()) {
930             // .google.protobuf.NullValue null_value = 1;
931             case kNullValue: {
932               total_size += 1 +
933                             ::_pbi::WireFormatLite::EnumSize(this_._internal_null_value());
934               break;
935             }
936             // double number_value = 2;
937             case kNumberValue: {
938               total_size += 9;
939               break;
940             }
941             // string string_value = 3;
942             case kStringValue: {
943               total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
944                                               this_._internal_string_value());
945               break;
946             }
947             // bool bool_value = 4;
948             case kBoolValue: {
949               total_size += 2;
950               break;
951             }
952             // .google.protobuf.Struct struct_value = 5;
953             case kStructValue: {
954               total_size += 1 +
955                             ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.kind_.struct_value_);
956               break;
957             }
958             // .google.protobuf.ListValue list_value = 6;
959             case kListValue: {
960               total_size += 1 +
961                             ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.kind_.list_value_);
962               break;
963             }
964             case KIND_NOT_SET: {
965               break;
966             }
967           }
968           return this_.MaybeComputeUnknownFieldsSize(total_size,
969                                                      &this_._impl_._cached_size_);
970         }
971 
972 void Value::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
973   auto* const _this = static_cast<Value*>(&to_msg);
974   auto& from = static_cast<const Value&>(from_msg);
975   ::google::protobuf::Arena* arena = _this->GetArena();
976   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.Value)
977   ABSL_DCHECK_NE(&from, _this);
978   ::uint32_t cached_has_bits = 0;
979   (void) cached_has_bits;
980 
981   if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) {
982     const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0];
983     const bool oneof_needs_init = oneof_to_case != oneof_from_case;
984     if (oneof_needs_init) {
985       if (oneof_to_case != 0) {
986         _this->clear_kind();
987       }
988       _this->_impl_._oneof_case_[0] = oneof_from_case;
989     }
990 
991     switch (oneof_from_case) {
992       case kNullValue: {
993         _this->_impl_.kind_.null_value_ = from._impl_.kind_.null_value_;
994         break;
995       }
996       case kNumberValue: {
997         _this->_impl_.kind_.number_value_ = from._impl_.kind_.number_value_;
998         break;
999       }
1000       case kStringValue: {
1001         if (oneof_needs_init) {
1002           _this->_impl_.kind_.string_value_.InitDefault();
1003         }
1004         _this->_impl_.kind_.string_value_.Set(from._internal_string_value(), arena);
1005         break;
1006       }
1007       case kBoolValue: {
1008         _this->_impl_.kind_.bool_value_ = from._impl_.kind_.bool_value_;
1009         break;
1010       }
1011       case kStructValue: {
1012         if (oneof_needs_init) {
1013           _this->_impl_.kind_.struct_value_ =
1014               ::google::protobuf::Message::CopyConstruct<::google::protobuf::Struct>(arena, *from._impl_.kind_.struct_value_);
1015         } else {
1016           _this->_impl_.kind_.struct_value_->MergeFrom(from._internal_struct_value());
1017         }
1018         break;
1019       }
1020       case kListValue: {
1021         if (oneof_needs_init) {
1022           _this->_impl_.kind_.list_value_ =
1023               ::google::protobuf::Message::CopyConstruct<::google::protobuf::ListValue>(arena, *from._impl_.kind_.list_value_);
1024         } else {
1025           _this->_impl_.kind_.list_value_->MergeFrom(from._internal_list_value());
1026         }
1027         break;
1028       }
1029       case KIND_NOT_SET:
1030         break;
1031     }
1032   }
1033   _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1034 }
1035 
1036 void Value::CopyFrom(const Value& from) {
1037 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.Value)
1038   if (&from == this) return;
1039   Clear();
1040   MergeFrom(from);
1041 }
1042 
1043 
1044 void Value::InternalSwap(Value* PROTOBUF_RESTRICT other) {
1045   using std::swap;
1046   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1047   swap(_impl_.kind_, other->_impl_.kind_);
1048   swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]);
1049 }
1050 
1051 ::google::protobuf::Metadata Value::GetMetadata() const {
1052   return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1053 }
1054 // ===================================================================
1055 
1056 class ListValue::_Internal {
1057  public:
1058 };
1059 
1060 ListValue::ListValue(::google::protobuf::Arena* arena)
1061 #if defined(PROTOBUF_CUSTOM_VTABLE)
1062     : ::google::protobuf::Message(arena, _class_data_.base()) {
1063 #else   // PROTOBUF_CUSTOM_VTABLE
1064     : ::google::protobuf::Message(arena) {
1065 #endif  // PROTOBUF_CUSTOM_VTABLE
1066   SharedCtor(arena);
1067   // @@protoc_insertion_point(arena_constructor:google.protobuf.ListValue)
1068 }
1069 inline PROTOBUF_NDEBUG_INLINE ListValue::Impl_::Impl_(
1070     ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena,
1071     const Impl_& from, const ::google::protobuf::ListValue& from_msg)
1072       : values_{visibility, arena, from.values_},
1073         _cached_size_{0} {}
1074 
1075 ListValue::ListValue(
1076     ::google::protobuf::Arena* arena,
1077     const ListValue& from)
1078 #if defined(PROTOBUF_CUSTOM_VTABLE)
1079     : ::google::protobuf::Message(arena, _class_data_.base()) {
1080 #else   // PROTOBUF_CUSTOM_VTABLE
1081     : ::google::protobuf::Message(arena) {
1082 #endif  // PROTOBUF_CUSTOM_VTABLE
1083   ListValue* const _this = this;
1084   (void)_this;
1085   _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1086       from._internal_metadata_);
1087   new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
1088 
1089   // @@protoc_insertion_point(copy_constructor:google.protobuf.ListValue)
1090 }
1091 inline PROTOBUF_NDEBUG_INLINE ListValue::Impl_::Impl_(
1092     ::google::protobuf::internal::InternalVisibility visibility,
1093     ::google::protobuf::Arena* arena)
1094       : values_{visibility, arena},
1095         _cached_size_{0} {}
1096 
1097 inline void ListValue::SharedCtor(::_pb::Arena* arena) {
1098   new (&_impl_) Impl_(internal_visibility(), arena);
1099 }
1100 ListValue::~ListValue() {
1101   // @@protoc_insertion_point(destructor:google.protobuf.ListValue)
1102   SharedDtor(*this);
1103 }
1104 inline void ListValue::SharedDtor(MessageLite& self) {
1105   ListValue& this_ = static_cast<ListValue&>(self);
1106   this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1107   ABSL_DCHECK(this_.GetArena() == nullptr);
1108   this_._impl_.~Impl_();
1109 }
1110 
1111 inline void* ListValue::PlacementNew_(const void*, void* mem,
1112                                         ::google::protobuf::Arena* arena) {
1113   return ::new (mem) ListValue(arena);
1114 }
1115 constexpr auto ListValue::InternalNewImpl_() {
1116   constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
1117       PROTOBUF_FIELD_OFFSET(ListValue, _impl_.values_) +
1118           decltype(ListValue::_impl_.values_)::
1119               InternalGetArenaOffset(
1120                   ::google::protobuf::Message::internal_visibility()),
1121   });
1122   if (arena_bits.has_value()) {
1123     return ::google::protobuf::internal::MessageCreator::ZeroInit(
1124         sizeof(ListValue), alignof(ListValue), *arena_bits);
1125   } else {
1126     return ::google::protobuf::internal::MessageCreator(&ListValue::PlacementNew_,
1127                                  sizeof(ListValue),
1128                                  alignof(ListValue));
1129   }
1130 }
1131 PROTOBUF_CONSTINIT
1132 PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1133 const ::google::protobuf::internal::ClassDataFull ListValue::_class_data_ = {
1134     ::google::protobuf::internal::ClassData{
1135         &_ListValue_default_instance_._instance,
1136         &_table_.header,
1137         nullptr,  // OnDemandRegisterArenaDtor
1138         nullptr,  // IsInitialized
1139         &ListValue::MergeImpl,
1140         ::google::protobuf::Message::GetNewImpl<ListValue>(),
1141 #if defined(PROTOBUF_CUSTOM_VTABLE)
1142         &ListValue::SharedDtor,
1143         ::google::protobuf::Message::GetClearImpl<ListValue>(), &ListValue::ByteSizeLong,
1144             &ListValue::_InternalSerialize,
1145 #endif  // PROTOBUF_CUSTOM_VTABLE
1146         PROTOBUF_FIELD_OFFSET(ListValue, _impl_._cached_size_),
1147         false,
1148     },
1149     &ListValue::kDescriptorMethods,
1150     &descriptor_table_google_2fprotobuf_2fstruct_2eproto,
1151     nullptr,  // tracker
1152 };
1153 const ::google::protobuf::internal::ClassData* ListValue::GetClassData() const {
1154   ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_);
1155   ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table);
1156   return _class_data_.base();
1157 }
1158 PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
1159 const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ListValue::_table_ = {
1160   {
1161     0,  // no _has_bits_
1162     0, // no _extensions_
1163     1, 0,  // max_field_number, fast_idx_mask
1164     offsetof(decltype(_table_), field_lookup_table),
1165     4294967294,  // skipmap
1166     offsetof(decltype(_table_), field_entries),
1167     1,  // num_field_entries
1168     1,  // num_aux_entries
1169     offsetof(decltype(_table_), aux_entries),
1170     _class_data_.base(),
1171     nullptr,  // post_loop_handler
1172     ::_pbi::TcParser::GenericFallback,  // fallback
1173     #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
1174     ::_pbi::TcParser::GetTable<::google::protobuf::ListValue>(),  // to_prefetch
1175     #endif  // PROTOBUF_PREFETCH_PARSE_TABLE
1176   }, {{
1177     // repeated .google.protobuf.Value values = 1;
1178     {::_pbi::TcParser::FastMtR1,
1179      {10, 63, 0, PROTOBUF_FIELD_OFFSET(ListValue, _impl_.values_)}},
1180   }}, {{
1181     65535, 65535
1182   }}, {{
1183     // repeated .google.protobuf.Value values = 1;
1184     {PROTOBUF_FIELD_OFFSET(ListValue, _impl_.values_), 0, 0,
1185     (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
1186   }}, {{
1187     {::_pbi::TcParser::GetTable<::google::protobuf::Value>()},
1188   }}, {{
1189   }},
1190 };
1191 
1192 PROTOBUF_NOINLINE void ListValue::Clear() {
1193 // @@protoc_insertion_point(message_clear_start:google.protobuf.ListValue)
1194   ::google::protobuf::internal::TSanWrite(&_impl_);
1195   ::uint32_t cached_has_bits = 0;
1196   // Prevent compiler warnings about cached_has_bits being unused
1197   (void) cached_has_bits;
1198 
1199   _impl_.values_.Clear();
1200   _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1201 }
1202 
1203 #if defined(PROTOBUF_CUSTOM_VTABLE)
1204         ::uint8_t* ListValue::_InternalSerialize(
1205             const MessageLite& base, ::uint8_t* target,
1206             ::google::protobuf::io::EpsCopyOutputStream* stream) {
1207           const ListValue& this_ = static_cast<const ListValue&>(base);
1208 #else   // PROTOBUF_CUSTOM_VTABLE
1209         ::uint8_t* ListValue::_InternalSerialize(
1210             ::uint8_t* target,
1211             ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1212           const ListValue& this_ = *this;
1213 #endif  // PROTOBUF_CUSTOM_VTABLE
1214           // @@protoc_insertion_point(serialize_to_array_start:google.protobuf.ListValue)
1215           ::uint32_t cached_has_bits = 0;
1216           (void)cached_has_bits;
1217 
1218           // repeated .google.protobuf.Value values = 1;
1219           for (unsigned i = 0, n = static_cast<unsigned>(
1220                                    this_._internal_values_size());
1221                i < n; i++) {
1222             const auto& repfield = this_._internal_values().Get(i);
1223             target =
1224                 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
1225                     1, repfield, repfield.GetCachedSize(),
1226                     target, stream);
1227           }
1228 
1229           if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
1230             target =
1231                 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1232                     this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1233           }
1234           // @@protoc_insertion_point(serialize_to_array_end:google.protobuf.ListValue)
1235           return target;
1236         }
1237 
1238 #if defined(PROTOBUF_CUSTOM_VTABLE)
1239         ::size_t ListValue::ByteSizeLong(const MessageLite& base) {
1240           const ListValue& this_ = static_cast<const ListValue&>(base);
1241 #else   // PROTOBUF_CUSTOM_VTABLE
1242         ::size_t ListValue::ByteSizeLong() const {
1243           const ListValue& this_ = *this;
1244 #endif  // PROTOBUF_CUSTOM_VTABLE
1245           // @@protoc_insertion_point(message_byte_size_start:google.protobuf.ListValue)
1246           ::size_t total_size = 0;
1247 
1248           ::uint32_t cached_has_bits = 0;
1249           // Prevent compiler warnings about cached_has_bits being unused
1250           (void)cached_has_bits;
1251 
1252           ::_pbi::Prefetch5LinesFrom7Lines(&this_);
1253            {
1254             // repeated .google.protobuf.Value values = 1;
1255             {
1256               total_size += 1UL * this_._internal_values_size();
1257               for (const auto& msg : this_._internal_values()) {
1258                 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
1259               }
1260             }
1261           }
1262           return this_.MaybeComputeUnknownFieldsSize(total_size,
1263                                                      &this_._impl_._cached_size_);
1264         }
1265 
1266 void ListValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) {
1267   auto* const _this = static_cast<ListValue*>(&to_msg);
1268   auto& from = static_cast<const ListValue&>(from_msg);
1269   // @@protoc_insertion_point(class_specific_merge_from_start:google.protobuf.ListValue)
1270   ABSL_DCHECK_NE(&from, _this);
1271   ::uint32_t cached_has_bits = 0;
1272   (void) cached_has_bits;
1273 
1274   _this->_internal_mutable_values()->MergeFrom(
1275       from._internal_values());
1276   _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1277 }
1278 
1279 void ListValue::CopyFrom(const ListValue& from) {
1280 // @@protoc_insertion_point(class_specific_copy_from_start:google.protobuf.ListValue)
1281   if (&from == this) return;
1282   Clear();
1283   MergeFrom(from);
1284 }
1285 
1286 
1287 void ListValue::InternalSwap(ListValue* PROTOBUF_RESTRICT other) {
1288   using std::swap;
1289   _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1290   _impl_.values_.InternalSwap(&other->_impl_.values_);
1291 }
1292 
1293 ::google::protobuf::Metadata ListValue::GetMetadata() const {
1294   return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1295 }
1296 // @@protoc_insertion_point(namespace_scope)
1297 }  // namespace protobuf
1298 }  // namespace google
1299 namespace google {
1300 namespace protobuf {
1301 }  // namespace protobuf
1302 }  // namespace google
1303 // @@protoc_insertion_point(global_scope)
1304 PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1305     _static_init2_ PROTOBUF_UNUSED =
1306         (::_pbi::AddDescriptors(&descriptor_table_google_2fprotobuf_2fstruct_2eproto),
1307          ::std::false_type{});
1308 #include "google/protobuf/port_undef.inc"
1309