protobuf/src/google/protobuf/struct.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/struct.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fstruct_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fstruct_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3019000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3019005 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/map.h> // IWYU pragma: export
34 #include <google/protobuf/map_entry.h>
35 #include <google/protobuf/map_field_inl.h>
36 #include <google/protobuf/generated_enum_reflection.h>
37 #include <google/protobuf/unknown_field_set.h>
38 // @@protoc_insertion_point(includes)
39 #include <google/protobuf/port_def.inc>
40 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fstruct_2eproto PROTOBUF_EXPORT
41 PROTOBUF_NAMESPACE_OPEN
42 namespace internal {
43 class AnyMetadata;
44 } // namespace internal
45 PROTOBUF_NAMESPACE_CLOSE
46 
47 // Internal implementation detail -- do not use these members.
49  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
50  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
51  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
52  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
53  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4]
54  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
55  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
56  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
57  static const uint32_t offsets[];
58 };
59 PROTOBUF_EXPORT extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fstruct_2eproto;
60 PROTOBUF_NAMESPACE_OPEN
61 class ListValue;
64 class Struct;
70 class Value;
73 PROTOBUF_NAMESPACE_CLOSE
74 PROTOBUF_NAMESPACE_OPEN
75 template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::ListValue* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::ListValue>(Arena*);
76 template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Struct* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Struct>(Arena*);
77 template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Struct_FieldsEntry_DoNotUse* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Struct_FieldsEntry_DoNotUse>(Arena*);
78 template<> PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::Value* Arena::CreateMaybeMessage<::PROTOBUF_NAMESPACE_ID::Value>(Arena*);
79 PROTOBUF_NAMESPACE_CLOSE
80 PROTOBUF_NAMESPACE_OPEN
81 
82 enum NullValue : int {
86 };
87 PROTOBUF_EXPORT bool NullValue_IsValid(int value);
90 constexpr int NullValue_ARRAYSIZE = NullValue_MAX + 1;
91 
93 template<typename T>
94 inline const std::string& NullValue_Name(T enum_t_value) {
95  static_assert(::std::is_same<T, NullValue>::value ||
97  "Incorrect type passed to function NullValue_Name.");
99  NullValue_descriptor(), enum_t_value);
100 }
101 inline bool NullValue_Parse(
103  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<NullValue>(
105 }
106 // ===================================================================
107 
108 class Struct_FieldsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Struct_FieldsEntry_DoNotUse,
109  std::string, ::PROTOBUF_NAMESPACE_ID::Value,
110  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
111  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
112 public:
113  typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Struct_FieldsEntry_DoNotUse,
115  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
116  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
118  explicit constexpr Struct_FieldsEntry_DoNotUse(
119  ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
121  void MergeFrom(const Struct_FieldsEntry_DoNotUse& other);
123  static bool ValidateKey(std::string* s) {
124  return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "google.protobuf.Struct.FieldsEntry.key");
125  }
126  static bool ValidateValue(void*) { return true; }
129 };
130 
131 // -------------------------------------------------------------------
132 
133 class PROTOBUF_EXPORT Struct final :
134  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Struct) */ {
135  public:
136  inline Struct() : Struct(nullptr) {}
137  ~Struct() override;
138  explicit constexpr Struct(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
139 
140  Struct(const Struct& from);
141  Struct(Struct&& from) noexcept
142  : Struct() {
143  *this = ::std::move(from);
144  }
145 
146  inline Struct& operator=(const Struct& from) {
147  CopyFrom(from);
148  return *this;
149  }
150  inline Struct& operator=(Struct&& from) noexcept {
151  if (this == &from) return *this;
152  if (GetOwningArena() == from.GetOwningArena()
153  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
154  && GetOwningArena() != nullptr
155  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
156  ) {
157  InternalSwap(&from);
158  } else {
159  CopyFrom(from);
160  }
161  return *this;
162  }
163 
165  return GetDescriptor();
166  }
168  return default_instance().GetMetadata().descriptor;
169  }
170  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
171  return default_instance().GetMetadata().reflection;
172  }
173  static const Struct& default_instance() {
174  return *internal_default_instance();
175  }
176  static inline const Struct* internal_default_instance() {
177  return reinterpret_cast<const Struct*>(
179  }
180  static constexpr int kIndexInFileMessages =
181  1;
182 
183  friend void swap(Struct& a, Struct& b) {
184  a.Swap(&b);
185  }
186  inline void Swap(Struct* other) {
187  if (other == this) return;
188  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
189  if (GetOwningArena() != nullptr &&
190  GetOwningArena() == other->GetOwningArena()) {
191  #else // PROTOBUF_FORCE_COPY_IN_SWAP
192  if (GetOwningArena() == other->GetOwningArena()) {
193  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
194  InternalSwap(other);
195  } else {
197  }
198  }
199  void UnsafeArenaSwap(Struct* other) {
200  if (other == this) return;
201  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
202  InternalSwap(other);
203  }
204 
205  // implements Message ----------------------------------------------
206 
208  return CreateMaybeMessage<Struct>(arena);
209  }
211  void CopyFrom(const Struct& from);
213  void MergeFrom(const Struct& from);
214  private:
216  public:
217  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
218  bool IsInitialized() const final;
219 
220  size_t ByteSizeLong() const final;
221  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
223  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
224  int GetCachedSize() const final { return _cached_size_.Get(); }
225 
226  private:
227  void SharedCtor();
228  void SharedDtor();
229  void SetCachedSize(int size) const final;
230  void InternalSwap(Struct* other);
231 
232  private:
233  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
234  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
235  return "google.protobuf.Struct";
236  }
237  protected:
239  bool is_message_owned = false);
240  private:
241  static void ArenaDtor(void* object);
242  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
243  public:
244 
245  static const ClassData _class_data_;
246  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
247 
248  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
249 
250  // nested types ----------------------------------------------------
251 
252 
253  // accessors -------------------------------------------------------
254 
255  enum : int {
256  kFieldsFieldNumber = 1,
257  };
258  // map<string, .google.protobuf.Value> fields = 1;
259  int fields_size() const;
260  private:
261  int _internal_fields_size() const;
262  public:
263  void clear_fields();
264  private:
265  const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Value >&
266  _internal_fields() const;
267  ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Value >*
268  _internal_mutable_fields();
269  public:
270  const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Value >&
271  fields() const;
272  ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Value >*
273  mutable_fields();
274 
275  // @@protoc_insertion_point(class_scope:google.protobuf.Struct)
276  private:
277  class _Internal;
278 
279  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
281  typedef void DestructorSkippable_;
282  ::PROTOBUF_NAMESPACE_ID::internal::MapField<
285  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
286  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> fields_;
287  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
288  friend struct ::TableStruct_google_2fprotobuf_2fstruct_2eproto;
289 };
290 // -------------------------------------------------------------------
291 
292 class PROTOBUF_EXPORT Value final :
293  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Value) */ {
294  public:
295  inline Value() : Value(nullptr) {}
296  ~Value() override;
297  explicit constexpr Value(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
298 
299  Value(const Value& from);
300  Value(Value&& from) noexcept
301  : Value() {
302  *this = ::std::move(from);
303  }
304 
305  inline Value& operator=(const Value& from) {
306  CopyFrom(from);
307  return *this;
308  }
309  inline Value& operator=(Value&& from) noexcept {
310  if (this == &from) return *this;
311  if (GetOwningArena() == from.GetOwningArena()
312  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
313  && GetOwningArena() != nullptr
314  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
315  ) {
316  InternalSwap(&from);
317  } else {
318  CopyFrom(from);
319  }
320  return *this;
321  }
322 
324  return GetDescriptor();
325  }
327  return default_instance().GetMetadata().descriptor;
328  }
329  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
330  return default_instance().GetMetadata().reflection;
331  }
332  static const Value& default_instance() {
333  return *internal_default_instance();
334  }
335  enum KindCase {
336  kNullValue = 1,
337  kNumberValue = 2,
338  kStringValue = 3,
339  kBoolValue = 4,
340  kStructValue = 5,
341  kListValue = 6,
342  KIND_NOT_SET = 0,
343  };
344 
345  static inline const Value* internal_default_instance() {
346  return reinterpret_cast<const Value*>(
348  }
349  static constexpr int kIndexInFileMessages =
350  2;
351 
352  friend void swap(Value& a, Value& b) {
353  a.Swap(&b);
354  }
355  inline void Swap(Value* other) {
356  if (other == this) return;
357  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
358  if (GetOwningArena() != nullptr &&
359  GetOwningArena() == other->GetOwningArena()) {
360  #else // PROTOBUF_FORCE_COPY_IN_SWAP
361  if (GetOwningArena() == other->GetOwningArena()) {
362  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
363  InternalSwap(other);
364  } else {
366  }
367  }
368  void UnsafeArenaSwap(Value* other) {
369  if (other == this) return;
370  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
371  InternalSwap(other);
372  }
373 
374  // implements Message ----------------------------------------------
375 
377  return CreateMaybeMessage<Value>(arena);
378  }
380  void CopyFrom(const Value& from);
382  void MergeFrom(const Value& from);
383  private:
385  public:
386  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
387  bool IsInitialized() const final;
388 
389  size_t ByteSizeLong() const final;
390  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
392  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
393  int GetCachedSize() const final { return _cached_size_.Get(); }
394 
395  private:
396  void SharedCtor();
397  void SharedDtor();
398  void SetCachedSize(int size) const final;
399  void InternalSwap(Value* other);
400 
401  private:
402  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
403  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
404  return "google.protobuf.Value";
405  }
406  protected:
408  bool is_message_owned = false);
409  private:
410  static void ArenaDtor(void* object);
411  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
412  public:
413 
414  static const ClassData _class_data_;
415  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
416 
417  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
418 
419  // nested types ----------------------------------------------------
420 
421  // accessors -------------------------------------------------------
422 
423  enum : int {
424  kNullValueFieldNumber = 1,
425  kNumberValueFieldNumber = 2,
426  kStringValueFieldNumber = 3,
427  kBoolValueFieldNumber = 4,
428  kStructValueFieldNumber = 5,
429  kListValueFieldNumber = 6,
430  };
431  // .google.protobuf.NullValue null_value = 1;
432  bool has_null_value() const;
433  private:
434  bool _internal_has_null_value() const;
435  public:
436  void clear_null_value();
437  ::PROTOBUF_NAMESPACE_ID::NullValue null_value() const;
438  void set_null_value(::PROTOBUF_NAMESPACE_ID::NullValue value);
439  private:
440  ::PROTOBUF_NAMESPACE_ID::NullValue _internal_null_value() const;
441  void _internal_set_null_value(::PROTOBUF_NAMESPACE_ID::NullValue value);
442  public:
443 
444  // double number_value = 2;
445  bool has_number_value() const;
446  private:
447  bool _internal_has_number_value() const;
448  public:
449  void clear_number_value();
450  double number_value() const;
451  void set_number_value(double value);
452  private:
453  double _internal_number_value() const;
454  void _internal_set_number_value(double value);
455  public:
456 
457  // string string_value = 3;
458  bool has_string_value() const;
459  private:
460  bool _internal_has_string_value() const;
461  public:
462  void clear_string_value();
463  const std::string& string_value() const;
464  template <typename ArgT0 = const std::string&, typename... ArgT>
465  void set_string_value(ArgT0&& arg0, ArgT... args);
466  std::string* mutable_string_value();
467  PROTOBUF_NODISCARD std::string* release_string_value();
468  void set_allocated_string_value(std::string* string_value);
469  private:
470  const std::string& _internal_string_value() const;
471  inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const std::string& value);
472  std::string* _internal_mutable_string_value();
473  public:
474 
475  // bool bool_value = 4;
476  bool has_bool_value() const;
477  private:
478  bool _internal_has_bool_value() const;
479  public:
480  void clear_bool_value();
481  bool bool_value() const;
482  void set_bool_value(bool value);
483  private:
484  bool _internal_bool_value() const;
485  void _internal_set_bool_value(bool value);
486  public:
487 
488  // .google.protobuf.Struct struct_value = 5;
489  bool has_struct_value() const;
490  private:
491  bool _internal_has_struct_value() const;
492  public:
493  void clear_struct_value();
494  const ::PROTOBUF_NAMESPACE_ID::Struct& struct_value() const;
496  ::PROTOBUF_NAMESPACE_ID::Struct* mutable_struct_value();
497  void set_allocated_struct_value(::PROTOBUF_NAMESPACE_ID::Struct* struct_value);
498  private:
499  const ::PROTOBUF_NAMESPACE_ID::Struct& _internal_struct_value() const;
500  ::PROTOBUF_NAMESPACE_ID::Struct* _internal_mutable_struct_value();
501  public:
502  void unsafe_arena_set_allocated_struct_value(
503  ::PROTOBUF_NAMESPACE_ID::Struct* struct_value);
504  ::PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_struct_value();
505 
506  // .google.protobuf.ListValue list_value = 6;
507  bool has_list_value() const;
508  private:
509  bool _internal_has_list_value() const;
510  public:
511  void clear_list_value();
512  const ::PROTOBUF_NAMESPACE_ID::ListValue& list_value() const;
514  ::PROTOBUF_NAMESPACE_ID::ListValue* mutable_list_value();
515  void set_allocated_list_value(::PROTOBUF_NAMESPACE_ID::ListValue* list_value);
516  private:
517  const ::PROTOBUF_NAMESPACE_ID::ListValue& _internal_list_value() const;
518  ::PROTOBUF_NAMESPACE_ID::ListValue* _internal_mutable_list_value();
519  public:
520  void unsafe_arena_set_allocated_list_value(
521  ::PROTOBUF_NAMESPACE_ID::ListValue* list_value);
522  ::PROTOBUF_NAMESPACE_ID::ListValue* unsafe_arena_release_list_value();
523 
524  void clear_kind();
525  KindCase kind_case() const;
526  // @@protoc_insertion_point(class_scope:google.protobuf.Value)
527  private:
528  class _Internal;
529  void set_has_null_value();
530  void set_has_number_value();
531  void set_has_string_value();
532  void set_has_bool_value();
533  void set_has_struct_value();
534  void set_has_list_value();
535 
536  inline bool has_kind() const;
537  inline void clear_has_kind();
538 
539  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
541  typedef void DestructorSkippable_;
542  union KindUnion {
543  constexpr KindUnion() : _constinit_{} {}
544  ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_;
545  int null_value_;
546  double number_value_;
547  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_;
548  bool bool_value_;
551  } kind_;
552  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
553  uint32_t _oneof_case_[1];
554 
555  friend struct ::TableStruct_google_2fprotobuf_2fstruct_2eproto;
556 };
557 // -------------------------------------------------------------------
558 
559 class PROTOBUF_EXPORT ListValue final :
560  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ListValue) */ {
561  public:
562  inline ListValue() : ListValue(nullptr) {}
563  ~ListValue() override;
564  explicit constexpr ListValue(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
565 
566  ListValue(const ListValue& from);
568  : ListValue() {
569  *this = ::std::move(from);
570  }
571 
572  inline ListValue& operator=(const ListValue& from) {
573  CopyFrom(from);
574  return *this;
575  }
576  inline ListValue& operator=(ListValue&& from) noexcept {
577  if (this == &from) return *this;
578  if (GetOwningArena() == from.GetOwningArena()
579  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
580  && GetOwningArena() != nullptr
581  #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
582  ) {
583  InternalSwap(&from);
584  } else {
585  CopyFrom(from);
586  }
587  return *this;
588  }
589 
591  return GetDescriptor();
592  }
594  return default_instance().GetMetadata().descriptor;
595  }
596  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
597  return default_instance().GetMetadata().reflection;
598  }
599  static const ListValue& default_instance() {
600  return *internal_default_instance();
601  }
602  static inline const ListValue* internal_default_instance() {
603  return reinterpret_cast<const ListValue*>(
605  }
606  static constexpr int kIndexInFileMessages =
607  3;
608 
609  friend void swap(ListValue& a, ListValue& b) {
610  a.Swap(&b);
611  }
612  inline void Swap(ListValue* other) {
613  if (other == this) return;
614  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
615  if (GetOwningArena() != nullptr &&
616  GetOwningArena() == other->GetOwningArena()) {
617  #else // PROTOBUF_FORCE_COPY_IN_SWAP
618  if (GetOwningArena() == other->GetOwningArena()) {
619  #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
620  InternalSwap(other);
621  } else {
623  }
624  }
625  void UnsafeArenaSwap(ListValue* other) {
626  if (other == this) return;
627  GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
628  InternalSwap(other);
629  }
630 
631  // implements Message ----------------------------------------------
632 
634  return CreateMaybeMessage<ListValue>(arena);
635  }
637  void CopyFrom(const ListValue& from);
639  void MergeFrom(const ListValue& from);
640  private:
642  public:
643  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
644  bool IsInitialized() const final;
645 
646  size_t ByteSizeLong() const final;
647  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
649  uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
650  int GetCachedSize() const final { return _cached_size_.Get(); }
651 
652  private:
653  void SharedCtor();
654  void SharedDtor();
655  void SetCachedSize(int size) const final;
656  void InternalSwap(ListValue* other);
657 
658  private:
659  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
660  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
661  return "google.protobuf.ListValue";
662  }
663  protected:
665  bool is_message_owned = false);
666  private:
667  static void ArenaDtor(void* object);
668  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
669  public:
670 
671  static const ClassData _class_data_;
672  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
673 
674  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
675 
676  // nested types ----------------------------------------------------
677 
678  // accessors -------------------------------------------------------
679 
680  enum : int {
681  kValuesFieldNumber = 1,
682  };
683  // repeated .google.protobuf.Value values = 1;
684  int values_size() const;
685  private:
686  int _internal_values_size() const;
687  public:
688  void clear_values();
689  ::PROTOBUF_NAMESPACE_ID::Value* mutable_values(int index);
690  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Value >*
691  mutable_values();
692  private:
693  const ::PROTOBUF_NAMESPACE_ID::Value& _internal_values(int index) const;
694  ::PROTOBUF_NAMESPACE_ID::Value* _internal_add_values();
695  public:
697  ::PROTOBUF_NAMESPACE_ID::Value* add_values();
698  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Value >&
699  values() const;
700 
701  // @@protoc_insertion_point(class_scope:google.protobuf.ListValue)
702  private:
703  class _Internal;
704 
705  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
707  typedef void DestructorSkippable_;
708  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Value > values_;
709  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
710  friend struct ::TableStruct_google_2fprotobuf_2fstruct_2eproto;
711 };
712 // ===================================================================
713 
714 
715 // ===================================================================
716 
717 #ifdef __GNUC__
718  #pragma GCC diagnostic push
719  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
720 #endif // __GNUC__
721 // -------------------------------------------------------------------
722 
723 // Struct
724 
725 // map<string, .google.protobuf.Value> fields = 1;
726 inline int Struct::_internal_fields_size() const {
727  return fields_.size();
728 }
729 inline int Struct::fields_size() const {
730  return _internal_fields_size();
731 }
732 inline void Struct::clear_fields() {
733  fields_.Clear();
734 }
735 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Value >&
736 Struct::_internal_fields() const {
737  return fields_.GetMap();
738 }
739 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Value >&
740 Struct::fields() const {
741  // @@protoc_insertion_point(field_map:google.protobuf.Struct.fields)
742  return _internal_fields();
743 }
744 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Value >*
746  return fields_.MutableMap();
747 }
748 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::PROTOBUF_NAMESPACE_ID::Value >*
750  // @@protoc_insertion_point(field_mutable_map:google.protobuf.Struct.fields)
751  return _internal_mutable_fields();
752 }
753 
754 // -------------------------------------------------------------------
755 
756 // Value
757 
758 // .google.protobuf.NullValue null_value = 1;
759 inline bool Value::_internal_has_null_value() const {
760  return kind_case() == kNullValue;
761 }
762 inline bool Value::has_null_value() const {
763  return _internal_has_null_value();
764 }
765 inline void Value::set_has_null_value() {
766  _oneof_case_[0] = kNullValue;
767 }
768 inline void Value::clear_null_value() {
769  if (_internal_has_null_value()) {
770  kind_.null_value_ = 0;
771  clear_has_kind();
772  }
773 }
775  if (_internal_has_null_value()) {
776  return static_cast< ::PROTOBUF_NAMESPACE_ID::NullValue >(kind_.null_value_);
777  }
778  return static_cast< ::PROTOBUF_NAMESPACE_ID::NullValue >(0);
779 }
781  // @@protoc_insertion_point(field_get:google.protobuf.Value.null_value)
782  return _internal_null_value();
783 }
785  if (!_internal_has_null_value()) {
786  clear_kind();
787  set_has_null_value();
788  }
789  kind_.null_value_ = value;
790 }
792  _internal_set_null_value(value);
793  // @@protoc_insertion_point(field_set:google.protobuf.Value.null_value)
794 }
795 
796 // double number_value = 2;
797 inline bool Value::_internal_has_number_value() const {
798  return kind_case() == kNumberValue;
799 }
800 inline bool Value::has_number_value() const {
801  return _internal_has_number_value();
802 }
803 inline void Value::set_has_number_value() {
804  _oneof_case_[0] = kNumberValue;
805 }
806 inline void Value::clear_number_value() {
807  if (_internal_has_number_value()) {
808  kind_.number_value_ = 0;
809  clear_has_kind();
810  }
811 }
812 inline double Value::_internal_number_value() const {
813  if (_internal_has_number_value()) {
814  return kind_.number_value_;
815  }
816  return 0;
817 }
818 inline void Value::_internal_set_number_value(double value) {
819  if (!_internal_has_number_value()) {
820  clear_kind();
821  set_has_number_value();
822  }
823  kind_.number_value_ = value;
824 }
825 inline double Value::number_value() const {
826  // @@protoc_insertion_point(field_get:google.protobuf.Value.number_value)
827  return _internal_number_value();
828 }
829 inline void Value::set_number_value(double value) {
830  _internal_set_number_value(value);
831  // @@protoc_insertion_point(field_set:google.protobuf.Value.number_value)
832 }
833 
834 // string string_value = 3;
835 inline bool Value::_internal_has_string_value() const {
836  return kind_case() == kStringValue;
837 }
838 inline bool Value::has_string_value() const {
839  return _internal_has_string_value();
840 }
841 inline void Value::set_has_string_value() {
842  _oneof_case_[0] = kStringValue;
843 }
844 inline void Value::clear_string_value() {
845  if (_internal_has_string_value()) {
846  kind_.string_value_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
847  clear_has_kind();
848  }
849 }
850 inline const std::string& Value::string_value() const {
851  // @@protoc_insertion_point(field_get:google.protobuf.Value.string_value)
852  return _internal_string_value();
853 }
854 template <typename ArgT0, typename... ArgT>
855 inline void Value::set_string_value(ArgT0&& arg0, ArgT... args) {
856  if (!_internal_has_string_value()) {
857  clear_kind();
858  set_has_string_value();
859  kind_.string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
860  }
861  kind_.string_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
862  // @@protoc_insertion_point(field_set:google.protobuf.Value.string_value)
863 }
864 inline std::string* Value::mutable_string_value() {
865  std::string* _s = _internal_mutable_string_value();
866  // @@protoc_insertion_point(field_mutable:google.protobuf.Value.string_value)
867  return _s;
868 }
869 inline const std::string& Value::_internal_string_value() const {
870  if (_internal_has_string_value()) {
871  return kind_.string_value_.Get();
872  }
874 }
876  if (!_internal_has_string_value()) {
877  clear_kind();
878  set_has_string_value();
879  kind_.string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
880  }
881  kind_.string_value_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
882 }
884  if (!_internal_has_string_value()) {
885  clear_kind();
886  set_has_string_value();
887  kind_.string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
888  }
889  return kind_.string_value_.Mutable(
891 }
893  // @@protoc_insertion_point(field_release:google.protobuf.Value.string_value)
894  if (_internal_has_string_value()) {
895  clear_has_kind();
896  return kind_.string_value_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
897  } else {
898  return nullptr;
899  }
900 }
901 inline void Value::set_allocated_string_value(std::string* string_value) {
902  if (has_kind()) {
903  clear_kind();
904  }
905  if (string_value != nullptr) {
906  set_has_string_value();
907  kind_.string_value_.UnsafeSetDefault(string_value);
908  ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArenaForAllocation();
909  if (arena != nullptr) {
910  arena->Own(string_value);
911  }
912  }
913  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Value.string_value)
914 }
915 
916 // bool bool_value = 4;
917 inline bool Value::_internal_has_bool_value() const {
918  return kind_case() == kBoolValue;
919 }
920 inline bool Value::has_bool_value() const {
921  return _internal_has_bool_value();
922 }
923 inline void Value::set_has_bool_value() {
924  _oneof_case_[0] = kBoolValue;
925 }
926 inline void Value::clear_bool_value() {
927  if (_internal_has_bool_value()) {
928  kind_.bool_value_ = false;
929  clear_has_kind();
930  }
931 }
932 inline bool Value::_internal_bool_value() const {
933  if (_internal_has_bool_value()) {
934  return kind_.bool_value_;
935  }
936  return false;
937 }
938 inline void Value::_internal_set_bool_value(bool value) {
939  if (!_internal_has_bool_value()) {
940  clear_kind();
941  set_has_bool_value();
942  }
943  kind_.bool_value_ = value;
944 }
945 inline bool Value::bool_value() const {
946  // @@protoc_insertion_point(field_get:google.protobuf.Value.bool_value)
947  return _internal_bool_value();
948 }
949 inline void Value::set_bool_value(bool value) {
950  _internal_set_bool_value(value);
951  // @@protoc_insertion_point(field_set:google.protobuf.Value.bool_value)
952 }
953 
954 // .google.protobuf.Struct struct_value = 5;
955 inline bool Value::_internal_has_struct_value() const {
956  return kind_case() == kStructValue;
957 }
958 inline bool Value::has_struct_value() const {
959  return _internal_has_struct_value();
960 }
961 inline void Value::set_has_struct_value() {
962  _oneof_case_[0] = kStructValue;
963 }
964 inline void Value::clear_struct_value() {
965  if (_internal_has_struct_value()) {
966  if (GetArenaForAllocation() == nullptr) {
967  delete kind_.struct_value_;
968  }
969  clear_has_kind();
970  }
971 }
973  // @@protoc_insertion_point(field_release:google.protobuf.Value.struct_value)
974  if (_internal_has_struct_value()) {
975  clear_has_kind();
976  ::PROTOBUF_NAMESPACE_ID::Struct* temp = kind_.struct_value_;
977  if (GetArenaForAllocation() != nullptr) {
979  }
980  kind_.struct_value_ = nullptr;
981  return temp;
982  } else {
983  return nullptr;
984  }
985 }
987  return _internal_has_struct_value()
988  ? *kind_.struct_value_
990 }
992  // @@protoc_insertion_point(field_get:google.protobuf.Value.struct_value)
993  return _internal_struct_value();
994 }
996  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Value.struct_value)
997  if (_internal_has_struct_value()) {
998  clear_has_kind();
999  ::PROTOBUF_NAMESPACE_ID::Struct* temp = kind_.struct_value_;
1000  kind_.struct_value_ = nullptr;
1001  return temp;
1002  } else {
1003  return nullptr;
1004  }
1005 }
1007  clear_kind();
1008  if (struct_value) {
1009  set_has_struct_value();
1010  kind_.struct_value_ = struct_value;
1011  }
1012  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Value.struct_value)
1013 }
1014 inline ::PROTOBUF_NAMESPACE_ID::Struct* Value::_internal_mutable_struct_value() {
1015  if (!_internal_has_struct_value()) {
1016  clear_kind();
1017  set_has_struct_value();
1018  kind_.struct_value_ = CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::Struct >(GetArenaForAllocation());
1019  }
1020  return kind_.struct_value_;
1021 }
1023  ::PROTOBUF_NAMESPACE_ID::Struct* _msg = _internal_mutable_struct_value();
1024  // @@protoc_insertion_point(field_mutable:google.protobuf.Value.struct_value)
1025  return _msg;
1026 }
1027 
1028 // .google.protobuf.ListValue list_value = 6;
1029 inline bool Value::_internal_has_list_value() const {
1030  return kind_case() == kListValue;
1031 }
1032 inline bool Value::has_list_value() const {
1033  return _internal_has_list_value();
1034 }
1035 inline void Value::set_has_list_value() {
1036  _oneof_case_[0] = kListValue;
1037 }
1038 inline void Value::clear_list_value() {
1039  if (_internal_has_list_value()) {
1040  if (GetArenaForAllocation() == nullptr) {
1041  delete kind_.list_value_;
1042  }
1043  clear_has_kind();
1044  }
1045 }
1047  // @@protoc_insertion_point(field_release:google.protobuf.Value.list_value)
1048  if (_internal_has_list_value()) {
1049  clear_has_kind();
1050  ::PROTOBUF_NAMESPACE_ID::ListValue* temp = kind_.list_value_;
1051  if (GetArenaForAllocation() != nullptr) {
1053  }
1054  kind_.list_value_ = nullptr;
1055  return temp;
1056  } else {
1057  return nullptr;
1058  }
1059 }
1061  return _internal_has_list_value()
1062  ? *kind_.list_value_
1064 }
1066  // @@protoc_insertion_point(field_get:google.protobuf.Value.list_value)
1067  return _internal_list_value();
1068 }
1070  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Value.list_value)
1071  if (_internal_has_list_value()) {
1072  clear_has_kind();
1073  ::PROTOBUF_NAMESPACE_ID::ListValue* temp = kind_.list_value_;
1074  kind_.list_value_ = nullptr;
1075  return temp;
1076  } else {
1077  return nullptr;
1078  }
1079 }
1081  clear_kind();
1082  if (list_value) {
1083  set_has_list_value();
1084  kind_.list_value_ = list_value;
1085  }
1086  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Value.list_value)
1087 }
1088 inline ::PROTOBUF_NAMESPACE_ID::ListValue* Value::_internal_mutable_list_value() {
1089  if (!_internal_has_list_value()) {
1090  clear_kind();
1091  set_has_list_value();
1092  kind_.list_value_ = CreateMaybeMessage< ::PROTOBUF_NAMESPACE_ID::ListValue >(GetArenaForAllocation());
1093  }
1094  return kind_.list_value_;
1095 }
1097  ::PROTOBUF_NAMESPACE_ID::ListValue* _msg = _internal_mutable_list_value();
1098  // @@protoc_insertion_point(field_mutable:google.protobuf.Value.list_value)
1099  return _msg;
1100 }
1101 
1102 inline bool Value::has_kind() const {
1103  return kind_case() != KIND_NOT_SET;
1104 }
1105 inline void Value::clear_has_kind() {
1106  _oneof_case_[0] = KIND_NOT_SET;
1107 }
1108 inline Value::KindCase Value::kind_case() const {
1109  return Value::KindCase(_oneof_case_[0]);
1110 }
1111 // -------------------------------------------------------------------
1112 
1113 // ListValue
1114 
1115 // repeated .google.protobuf.Value values = 1;
1116 inline int ListValue::_internal_values_size() const {
1117  return values_.size();
1118 }
1119 inline int ListValue::values_size() const {
1120  return _internal_values_size();
1121 }
1122 inline void ListValue::clear_values() {
1123  values_.Clear();
1124 }
1126  // @@protoc_insertion_point(field_mutable:google.protobuf.ListValue.values)
1127  return values_.Mutable(index);
1128 }
1129 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Value >*
1131  // @@protoc_insertion_point(field_mutable_list:google.protobuf.ListValue.values)
1132  return &values_;
1133 }
1135  return values_.Get(index);
1136 }
1138  // @@protoc_insertion_point(field_get:google.protobuf.ListValue.values)
1139  return _internal_values(index);
1140 }
1142  return values_.Add();
1143 }
1145  ::PROTOBUF_NAMESPACE_ID::Value* _add = _internal_add_values();
1146  // @@protoc_insertion_point(field_add:google.protobuf.ListValue.values)
1147  return _add;
1148 }
1149 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Value >&
1150 ListValue::values() const {
1151  // @@protoc_insertion_point(field_list:google.protobuf.ListValue.values)
1152  return values_;
1153 }
1154 
1155 #ifdef __GNUC__
1156  #pragma GCC diagnostic pop
1157 #endif // __GNUC__
1158 // -------------------------------------------------------------------
1159 
1160 // -------------------------------------------------------------------
1161 
1162 // -------------------------------------------------------------------
1163 
1164 
1165 // @@protoc_insertion_point(namespace_scope)
1166 
1167 PROTOBUF_NAMESPACE_CLOSE
1168 
1169 PROTOBUF_NAMESPACE_OPEN
1170 
1171 template <> struct is_proto_enum< ::PROTOBUF_NAMESPACE_ID::NullValue> : ::std::true_type {};
1172 template <>
1173 inline const EnumDescriptor* GetEnumDescriptor< ::PROTOBUF_NAMESPACE_ID::NullValue>() {
1175 }
1176 
1177 PROTOBUF_NAMESPACE_CLOSE
1178 
1179 // @@protoc_insertion_point(global_scope)
1180 
1181 #include <google/protobuf/port_undef.inc>
1182 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fstruct_2eproto
Value::_internal_has_bool_value
bool _internal_has_bool_value() const
Value::New
Value * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: protobuf/src/google/protobuf/struct.pb.h:376
Value::Value
Value(Value &&from) noexcept
Definition: protobuf/src/google/protobuf/struct.pb.h:300
ptr
char * ptr
Definition: abseil-cpp/absl/base/internal/low_level_alloc_test.cc:45
Struct::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: protobuf/src/google/protobuf/struct.pb.h:167
Value::_internal_set_number_value
void _internal_set_number_value(double value)
fix_build_deps.temp
temp
Definition: fix_build_deps.py:488
Struct::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: protobuf/src/google/protobuf/struct.pb.h:280
Arena
struct Arena Arena
Definition: third_party/bloaty/third_party/protobuf/src/google/protobuf/arena.h:189
Value::_internal_set_string_value
void _internal_set_string_value(const std::string &value)
Value::DestructorSkippable_
void DestructorSkippable_
Definition: protobuf/src/google/protobuf/struct.pb.h:541
Value::_class_data_
static const ClassData _class_data_
Definition: protobuf/src/google/protobuf/struct.pb.h:414
EnumDescriptor
struct EnumDescriptor EnumDescriptor
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:641
Value::default_instance
static const Value & default_instance()
Definition: protobuf/src/google/protobuf/struct.pb.h:332
Value::Value
Value()
Definition: protobuf/src/google/protobuf/struct.pb.h:295
ctx
Definition: benchmark-async.c:30
const
#define const
Definition: bloaty/third_party/zlib/zconf.h:230
google::protobuf::EmptyDefault
ArenaStringPtr::EmptyDefault EmptyDefault
Definition: protobuf/src/google/protobuf/arenastring_unittest.cc:57
Struct::operator=
Struct & operator=(const Struct &from)
Definition: protobuf/src/google/protobuf/struct.pb.h:146
ListValue::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: protobuf/src/google/protobuf/struct.pb.h:596
ListValue::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: protobuf/src/google/protobuf/struct.pb.h:660
google::protobuf.internal.python_message.MergeFrom
MergeFrom
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1339
Value::string_value
const std::string & string_value() const
Value::release_struct_value
PROTOBUF_NAMESPACE_ID::Struct * release_struct_value()
ListValue
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:584
ListValue::_internal_values
const PROTOBUF_NAMESPACE_ID::Value & _internal_values(int index) const
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:1202
NullValue_INT_MAX_SENTINEL_DO_NOT_USE_
@ NullValue_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: protobuf/src/google/protobuf/struct.pb.h:85
GOOGLE_DCHECK
#define GOOGLE_DCHECK
Definition: bloaty/third_party/protobuf/src/google/protobuf/stubs/logging.h:194
google::protobuf.internal::true_type
integral_constant< bool, true > true_type
Definition: bloaty/third_party/protobuf/src/google/protobuf/stubs/template_util.h:89
Value::null_value
PROTOBUF_NAMESPACE_ID::NullValue null_value() const
ListValue::mutable_values
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Value > * mutable_values()
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:1198
google::protobuf::python::cmessage::CopyFrom
static PyObject * CopyFrom(CMessage *self, PyObject *arg)
Definition: bloaty/third_party/protobuf/python/google/protobuf/pyext/message.cc:1862
Value::UnsafeArenaSwap
void UnsafeArenaSwap(Value *other)
Definition: protobuf/src/google/protobuf/struct.pb.h:368
Arena
Definition: arena.c:39
ListValue::operator=
ListValue & operator=(ListValue &&from) noexcept
Definition: protobuf/src/google/protobuf/struct.pb.h:576
Value::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: protobuf/src/google/protobuf/struct.pb.h:326
Struct::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: protobuf/src/google/protobuf/struct.pb.h:164
ListValue::ListValue
ListValue()
Definition: protobuf/src/google/protobuf/struct.pb.h:562
testing::internal::string
::std::string string
Definition: bloaty/third_party/protobuf/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:881
grpc::protobuf::Message
GRPC_CUSTOM_MESSAGE Message
Definition: include/grpcpp/impl/codegen/config_protobuf.h:78
ListValue::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: protobuf/src/google/protobuf/struct.pb.h:590
Struct::swap
friend void swap(Struct &a, Struct &b)
Definition: protobuf/src/google/protobuf/struct.pb.h:183
Value::has_kind
bool has_kind() const
Value::set_number_value
void set_number_value(double value)
Value::KindUnion::struct_value_
::PROTOBUF_NAMESPACE_ID::Struct * struct_value_
Definition: protobuf/src/google/protobuf/struct.pb.h:549
Struct::mutable_fields
::PROTOBUF_NAMESPACE_ID::Map< std::string, PROTOBUF_NAMESPACE_ID::Value > * mutable_fields()
Value::has_struct_value
bool has_struct_value() const
setup.name
name
Definition: setup.py:542
Struct::default_instance
static const Struct & default_instance()
Definition: protobuf/src/google/protobuf/struct.pb.h:173
Value::internal_default_instance
static const Value * internal_default_instance()
Definition: protobuf/src/google/protobuf/struct.pb.h:345
Struct::Struct
Struct(Struct &&from) noexcept
Definition: protobuf/src/google/protobuf/struct.pb.h:141
a
int a
Definition: abseil-cpp/absl/container/internal/hash_policy_traits_test.cc:88
google::protobuf.internal::GenericSwap
void GenericSwap(MessageLite *m1, MessageLite *m2)
Definition: bloaty/third_party/protobuf/src/google/protobuf/generated_message_util.cc:735
google::protobuf.internal::DuplicateIfNonNull
T * DuplicateIfNonNull(T *message)
Definition: bloaty/third_party/protobuf/src/google/protobuf/generated_message_util.h:151
ListValue::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: protobuf/src/google/protobuf/struct.pb.h:593
to
size_t to
Definition: abseil-cpp/absl/container/internal/layout_test.cc:1385
NullValue_INT_MIN_SENTINEL_DO_NOT_USE_
@ NullValue_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: protobuf/src/google/protobuf/struct.pb.h:84
ListValue::_class_data_
static const ClassData _class_data_
Definition: protobuf/src/google/protobuf/struct.pb.h:671
Value::release_string_value
std::string * release_string_value()
ListValue::DestructorSkippable_
void DestructorSkippable_
Definition: protobuf/src/google/protobuf/struct.pb.h:707
google::protobuf.internal::NameOfEnum
const PROTOBUF_EXPORT std::string & NameOfEnum(const EnumDescriptor *descriptor, int value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/generated_message_reflection.cc:90
uint8_t
unsigned char uint8_t
Definition: stdint-msvc2008.h:78
google::protobuf.internal.python_message._InternalParse
_InternalParse
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1196
Value::mutable_struct_value
PROTOBUF_NAMESPACE_ID::Struct * mutable_struct_value()
ListValue::swap
friend void swap(ListValue &a, ListValue &b)
Definition: protobuf/src/google/protobuf/struct.pb.h:609
ListValue::default_instance
static const ListValue & default_instance()
Definition: protobuf/src/google/protobuf/struct.pb.h:599
T
#define T(upbtypeconst, upbtype, ctype, default_value)
Struct::_internal_mutable_fields
::PROTOBUF_NAMESPACE_ID::Map< std::string, PROTOBUF_NAMESPACE_ID::Value > * _internal_mutable_fields()
arena
grpc_core::ScopedArenaPtr arena
Definition: binder_transport_test.cc:237
NullValue
NullValue
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:83
Value::_internal_bool_value
bool _internal_bool_value() const
Value::has_string_value
bool has_string_value() const
Definition: protobuf/src/google/protobuf/struct.pb.h:838
Value::swap
friend void swap(Value &a, Value &b)
Definition: protobuf/src/google/protobuf/struct.pb.h:352
Value::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: protobuf/src/google/protobuf/struct.pb.h:403
Value::clear_string_value
void clear_string_value()
uint32_t
unsigned int uint32_t
Definition: stdint-msvc2008.h:80
Value::clear_bool_value
void clear_bool_value()
Struct_FieldsEntry_DoNotUse::internal_default_instance
static const Struct_FieldsEntry_DoNotUse * internal_default_instance()
Definition: protobuf/src/google/protobuf/struct.pb.h:122
from
size_t from
Definition: abseil-cpp/absl/container/internal/layout_test.cc:1384
ListValue::Swap
void Swap(ListValue *other)
Definition: protobuf/src/google/protobuf/struct.pb.h:612
ValueDefaultTypeInternal
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.cc:27
NULL_VALUE
@ NULL_VALUE
Definition: protobuf/src/google/protobuf/struct.pb.h:83
asyncio_get_stats.args
args
Definition: asyncio_get_stats.py:40
google::protobuf::ConstStringParam
const std::string & ConstStringParam
Definition: third_party/protobuf/src/google/protobuf/stubs/port.h:129
Value::set_null_value
void set_null_value(PROTOBUF_NAMESPACE_ID::NullValue value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:818
Value::clear_struct_value
void clear_struct_value()
Struct::internal_default_instance
static const Struct * internal_default_instance()
Definition: protobuf/src/google/protobuf/struct.pb.h:176
NullValue_descriptor
const PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * NullValue_descriptor()
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.cc:162
absl::move
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
Definition: abseil-cpp/absl/utility/utility.h:221
ListValue::values_
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::PROTOBUF_NAMESPACE_ID::Value > values_
Definition: protobuf/src/google/protobuf/struct.pb.h:708
Value::mutable_list_value
PROTOBUF_NAMESPACE_ID::ListValue * mutable_list_value()
max
int max
Definition: bloaty/third_party/zlib/examples/enough.c:170
Struct::clear_fields
void clear_fields()
descriptor_table_google_2fprotobuf_2fstruct_2eproto
PROTOBUF_EXPORTconst ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fstruct_2eproto
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.cc:152
Value::_internal_set_bool_value
void _internal_set_bool_value(bool value)
google::protobuf.internal::GetEmptyStringAlreadyInited
const PROTOBUF_EXPORT std::string & GetEmptyStringAlreadyInited()
Definition: bloaty/third_party/protobuf/src/google/protobuf/message_lite.h:153
Value::unsafe_arena_set_allocated_struct_value
void unsafe_arena_set_allocated_struct_value(PROTOBUF_NAMESPACE_ID::Struct *struct_value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:1074
NullValue_ARRAYSIZE
constexpr int NullValue_ARRAYSIZE
Definition: protobuf/src/google/protobuf/struct.pb.h:90
ListValueDefaultTypeInternal
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.cc:37
Value::has_list_value
bool has_list_value() const
google::protobuf.internal.python_message._InternalSerialize
_InternalSerialize
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1112
Value::_internal_has_struct_value
bool _internal_has_struct_value() const
Value::_internal_struct_value
const PROTOBUF_NAMESPACE_ID::Struct & _internal_struct_value() const
Value::_internal_string_value
const std::string & _internal_string_value() const
Struct::operator=
Struct & operator=(Struct &&from) noexcept
Definition: protobuf/src/google/protobuf/struct.pb.h:150
Value::has_bool_value
bool has_bool_value() const
Definition: protobuf/src/google/protobuf/struct.pb.h:920
TableStruct_google_2fprotobuf_2fstruct_2eproto
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:49
Value::set_has_struct_value
void set_has_struct_value()
Value::set_has_list_value
void set_has_list_value()
Value::clear_has_kind
void clear_has_kind()
Value::_internal_has_string_value
bool _internal_has_string_value() const
Value::_internal_null_value
PROTOBUF_NAMESPACE_ID::NullValue _internal_null_value() const
Struct::_class_data_
static const ClassData _class_data_
Definition: protobuf/src/google/protobuf/struct.pb.h:245
Value::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: protobuf/src/google/protobuf/struct.pb.h:540
io
min
#define min(a, b)
Definition: qsort.h:83
Value::operator=
Value & operator=(Value &&from) noexcept
Definition: protobuf/src/google/protobuf/struct.pb.h:309
ListValue::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: protobuf/src/google/protobuf/struct.pb.h:706
Value::_internal_has_list_value
bool _internal_has_list_value() const
b
uint64_t b
Definition: abseil-cpp/absl/container/internal/layout_test.cc:53
EnumDescriptor
Definition: bloaty/third_party/protobuf/ruby/ext/google/protobuf_c/protobuf.h:143
Value::_internal_mutable_string_value
std::string * _internal_mutable_string_value()
Value::has_null_value
bool has_null_value() const
Definition: protobuf/src/google/protobuf/struct.pb.h:762
Struct_FieldsEntry_DoNotUse
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:109
Value::KindUnion::KindUnion
constexpr KindUnion()
Definition: protobuf/src/google/protobuf/struct.pb.h:543
Struct::fields_size
int fields_size() const
Struct_FieldsEntry_DoNotUse::MergeFrom
void MergeFrom(const Struct_FieldsEntry_DoNotUse &other)
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.cc:181
Value::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: protobuf/src/google/protobuf/struct.pb.h:329
value
const char * value
Definition: hpack_parser_table.cc:165
Struct_FieldsEntry_DoNotUse::ValidateKey
static bool ValidateKey(std::string *s)
Definition: protobuf/src/google/protobuf/struct.pb.h:123
Struct_FieldsEntry_DoNotUse::SuperType
::PROTOBUF_NAMESPACE_ID::internal::MapEntry< Struct_FieldsEntry_DoNotUse, std::string, ::PROTOBUF_NAMESPACE_ID::Value, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE > SuperType
Definition: protobuf/src/google/protobuf/struct.pb.h:116
NullValue_MAX
constexpr NullValue NullValue_MAX
Definition: protobuf/src/google/protobuf/struct.pb.h:89
ListValue::add_values
PROTOBUF_NAMESPACE_ID::Value * add_values()
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:1212
Value::struct_value
const PROTOBUF_NAMESPACE_ID::Struct & struct_value() const
Value::_internal_has_null_value
bool _internal_has_null_value() const
Struct::DestructorSkippable_
void DestructorSkippable_
Definition: protobuf/src/google/protobuf/struct.pb.h:281
NullValue_Name
const std::string & NullValue_Name(T enum_t_value)
Definition: protobuf/src/google/protobuf/struct.pb.h:94
Value::KindUnion::_constinit_
::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized _constinit_
Definition: protobuf/src/google/protobuf/struct.pb.h:544
Value::clear_null_value
void clear_null_value()
NullValue_Parse
bool NullValue_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name, NullValue *value)
Definition: protobuf/src/google/protobuf/struct.pb.h:101
Struct
struct Struct Struct
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:670
google::protobuf.internal.python_message.Clear
Clear
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1430
Struct::UnsafeArenaSwap
void UnsafeArenaSwap(Struct *other)
Definition: protobuf/src/google/protobuf/struct.pb.h:199
Struct::_internal_fields
const ::PROTOBUF_NAMESPACE_ID::Map< std::string, PROTOBUF_NAMESPACE_ID::Value > & _internal_fields() const
index
int index
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:1184
ListValue::_internal_values_size
int _internal_values_size() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:1184
Value::unsafe_arena_release_struct_value
PROTOBUF_NAMESPACE_ID::Struct * unsafe_arena_release_struct_value()
profile_analyzer.fields
list fields
Definition: profile_analyzer.py:266
Value::set_allocated_string_value
void set_allocated_string_value(std::string *string_value)
Struct::fields_
::PROTOBUF_NAMESPACE_ID::internal::MapField< Struct_FieldsEntry_DoNotUse, std::string, ::PROTOBUF_NAMESPACE_ID::Value, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE > fields_
Definition: protobuf/src/google/protobuf/struct.pb.h:286
Value::KindUnion::list_value_
::PROTOBUF_NAMESPACE_ID::ListValue * list_value_
Definition: protobuf/src/google/protobuf/struct.pb.h:550
values
std::array< int64_t, Size > values
Definition: abseil-cpp/absl/container/btree_benchmark.cc:608
Struct_FieldsEntry_DoNotUseDefaultTypeInternal
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.cc:19
Value::_internal_set_null_value
void _internal_set_null_value(PROTOBUF_NAMESPACE_ID::NullValue value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:811
Value::Swap
void Swap(Value *other)
Definition: protobuf/src/google/protobuf/struct.pb.h:355
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse
Struct_FieldsEntry_DoNotUse()
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.cc:178
Struct::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: protobuf/src/google/protobuf/struct.pb.h:234
Struct::New
Struct * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: protobuf/src/google/protobuf/struct.pb.h:207
Value::set_string_value
void set_string_value(const std::string &value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:876
Value::bool_value
bool bool_value() const
google::protobuf.internal.python_message.IsInitialized
IsInitialized
Definition: bloaty/third_party/protobuf/python/google/protobuf/internal/python_message.py:1245
Struct::Struct
Struct()
Definition: protobuf/src/google/protobuf/struct.pb.h:136
Value::unsafe_arena_set_allocated_list_value
void unsafe_arena_set_allocated_list_value(PROTOBUF_NAMESPACE_ID::ListValue *list_value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:1148
Value::kind_case
KindCase kind_case() const
ListValue::ListValue
ListValue(ListValue &&from) noexcept
Definition: protobuf/src/google/protobuf/struct.pb.h:567
Struct::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: protobuf/src/google/protobuf/struct.pb.h:170
Value::KindUnion
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:568
fields_
std::vector< const FieldDescriptor * > fields_
Definition: bloaty/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc:81
ListValue::UnsafeArenaSwap
void UnsafeArenaSwap(ListValue *other)
Definition: protobuf/src/google/protobuf/struct.pb.h:625
internal
Definition: benchmark/test/output_test_helper.cc:20
Struct::Swap
void Swap(Struct *other)
Definition: protobuf/src/google/protobuf/struct.pb.h:186
NullValue_MIN
constexpr NullValue NullValue_MIN
Definition: protobuf/src/google/protobuf/struct.pb.h:88
StructDefaultTypeInternal
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.cc:23
Struct_FieldsEntry_DoNotUse::GetMetadata
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.cc:184
grpc_binder::Metadata
std::vector< std::pair< std::string, std::string > > Metadata
Definition: transaction.h:38
Value::release_list_value
PROTOBUF_NAMESPACE_ID::ListValue * release_list_value()
Value::clear_number_value
void clear_number_value()
ListValue::values
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Value > & values() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:1217
Value
struct Value Value
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:676
_Struct_default_instance_
PROTOBUF_EXPORT StructDefaultTypeInternal _Struct_default_instance_
Definition: protobuf/src/google/protobuf/struct.pb.cc:42
_Struct_FieldsEntry_DoNotUse_default_instance_
PROTOBUF_EXPORT Struct_FieldsEntry_DoNotUseDefaultTypeInternal _Struct_FieldsEntry_DoNotUse_default_instance_
Definition: protobuf/src/google/protobuf/struct.pb.cc:30
_ListValue_default_instance_
PROTOBUF_EXPORT ListValueDefaultTypeInternal _ListValue_default_instance_
Definition: protobuf/src/google/protobuf/struct.pb.cc:66
ListValue::New
ListValue * New(::PROTOBUF_NAMESPACE_ID::Arena *arena=nullptr) const final
Definition: protobuf/src/google/protobuf/struct.pb.h:633
grpc::protobuf::Descriptor
GRPC_CUSTOM_DESCRIPTOR Descriptor
Definition: include/grpcpp/impl/codegen/config_protobuf.h:81
size
voidpf void uLong size
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136
ListValue::operator=
ListValue & operator=(const ListValue &from)
Definition: protobuf/src/google/protobuf/struct.pb.h:572
ListValue::_internal_add_values
PROTOBUF_NAMESPACE_ID::Value * _internal_add_values()
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:1209
Value::unsafe_arena_release_list_value
PROTOBUF_NAMESPACE_ID::ListValue * unsafe_arena_release_list_value()
ListValue
struct ListValue ListValue
Definition: bloaty/third_party/protobuf/php/ext/google/protobuf/protobuf.h:655
Value::set_bool_value
void set_bool_value(bool value)
Value::clear_list_value
void clear_list_value()
Value::KindCase
KindCase
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:348
Struct_FieldsEntry_DoNotUse::ValidateValue
static bool ValidateValue(void *)
Definition: protobuf/src/google/protobuf/struct.pb.h:126
setup.target
target
Definition: third_party/bloaty/third_party/protobuf/python/setup.py:179
Value::_internal_list_value
const PROTOBUF_NAMESPACE_ID::ListValue & _internal_list_value() const
Value::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: protobuf/src/google/protobuf/struct.pb.h:323
Value::_internal_number_value
double _internal_number_value() const
google::protobuf::python::message_descriptor::GetDescriptor
static ParentDescriptor GetDescriptor(PyContainer *self)
Definition: bloaty/third_party/protobuf/python/google/protobuf/pyext/descriptor_containers.cc:951
Message
Definition: protobuf/php/ext/google/protobuf/message.c:53
ListValue::clear_values
void clear_values()
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:1190
Value::list_value
const PROTOBUF_NAMESPACE_ID::ListValue & list_value() const
NullValue_IsValid
PROTOBUF_EXPORT bool NullValue_IsValid(int value)
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.cc:166
PROTOBUF_SECTION_VARIABLE
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fany_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
Value::number_value
double number_value() const
Value::operator=
Value & operator=(const Value &from)
Definition: protobuf/src/google/protobuf/struct.pb.h:305
_Value_default_instance_
PROTOBUF_EXPORT ValueDefaultTypeInternal _Value_default_instance_
Definition: protobuf/src/google/protobuf/struct.pb.cc:54
NullValue
NullValue
Definition: protobuf/src/google/protobuf/struct.pb.h:82
ListValue::values_size
int values_size() const
Definition: bloaty/third_party/protobuf/src/google/protobuf/struct.pb.h:1187
ListValue::internal_default_instance
static const ListValue * internal_default_instance()
Definition: protobuf/src/google/protobuf/struct.pb.h:602
Value::has_number_value
bool has_number_value() const
Definition: protobuf/src/google/protobuf/struct.pb.h:800
stream
voidpf stream
Definition: bloaty/third_party/zlib/contrib/minizip/ioapi.h:136


grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:22