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 < 3009000
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 3009002 < 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>
24 #include <google/protobuf/arena.h>
32 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
33 #include <google/protobuf/extension_set.h> // IWYU pragma: export
34 #include <google/protobuf/map.h> // IWYU pragma: export
39 // @@protoc_insertion_point(includes)
40 #include <google/protobuf/port_def.inc>
41 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fstruct_2eproto PROTOBUF_EXPORT
42 PROTOBUF_NAMESPACE_OPEN
43 namespace internal {
44 class AnyMetadata;
45 } // namespace internal
46 PROTOBUF_NAMESPACE_CLOSE
47 
48 // Internal implementation detail -- do not use these members.
50  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
51  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
52  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
53  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
54  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[4]
55  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
57  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
59 };
60 extern PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fstruct_2eproto;
61 PROTOBUF_NAMESPACE_OPEN
62 class ListValue;
65 class Struct;
71 class Value;
74 PROTOBUF_NAMESPACE_CLOSE
75 PROTOBUF_NAMESPACE_OPEN
76 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::ListValue* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::ListValue>(Arena*);
77 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Struct* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Struct>(Arena*);
78 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Struct_FieldsEntry_DoNotUse* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Struct_FieldsEntry_DoNotUse>(Arena*);
79 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Value* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Value>(Arena*);
80 PROTOBUF_NAMESPACE_CLOSE
81 PROTOBUF_NAMESPACE_OPEN
82 
83 enum NullValue : int {
85  NullValue_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
86  NullValue_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
87 };
88 PROTOBUF_EXPORT bool NullValue_IsValid(int value);
91 constexpr int NullValue_ARRAYSIZE = NullValue_MAX + 1;
92 
94 template<typename T>
95 inline const std::string& NullValue_Name(T enum_t_value) {
96  static_assert(::std::is_same<T, NullValue>::value ||
98  "Incorrect type passed to function NullValue_Name.");
100  NullValue_descriptor(), enum_t_value);
101 }
102 inline bool NullValue_Parse(
103  const std::string& name, NullValue* value) {
104  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<NullValue>(
106 }
107 // ===================================================================
108 
109 class Struct_FieldsEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Struct_FieldsEntry_DoNotUse,
110  std::string, PROTOBUF_NAMESPACE_ID::Value,
111  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
112  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
113  0 > {
114 public:
115  typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<Struct_FieldsEntry_DoNotUse,
117  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
118  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
121  Struct_FieldsEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
122  void MergeFrom(const Struct_FieldsEntry_DoNotUse& other);
124  static bool ValidateKey(std::string* s) {
125  return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "google.protobuf.Struct.FieldsEntry.key");
126  }
127  static bool ValidateValue(void*) { return true; }
128  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final;
129  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
130  private:
131  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
134  }
135 
136  public:
137 };
138 
139 // -------------------------------------------------------------------
140 
141 class PROTOBUF_EXPORT Struct :
142  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Struct) */ {
143  public:
144  Struct();
145  virtual ~Struct();
146 
147  Struct(const Struct& from);
148  Struct(Struct&& from) noexcept
149  : Struct() {
150  *this = ::std::move(from);
151  }
152 
153  inline Struct& operator=(const Struct& from) {
154  CopyFrom(from);
155  return *this;
156  }
157  inline Struct& operator=(Struct&& from) noexcept {
158  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
159  if (this != &from) InternalSwap(&from);
160  } else {
161  CopyFrom(from);
162  }
163  return *this;
164  }
165 
166  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
167  return GetArenaNoVirtual();
168  }
169  inline void* GetMaybeArenaPointer() const final {
170  return MaybeArenaPtr();
171  }
173  return GetDescriptor();
174  }
176  return GetMetadataStatic().descriptor;
177  }
178  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
179  return GetMetadataStatic().reflection;
180  }
181  static const Struct& default_instance();
182 
183  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
184  static inline const Struct* internal_default_instance() {
185  return reinterpret_cast<const Struct*>(
187  }
188  static constexpr int kIndexInFileMessages =
189  1;
190 
191  friend void swap(Struct& a, Struct& b) {
192  a.Swap(&b);
193  }
194  inline void Swap(Struct* other) {
195  if (other == this) return;
196  if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
197  InternalSwap(other);
198  } else {
200  }
201  }
202  void UnsafeArenaSwap(Struct* other) {
203  if (other == this) return;
204  GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
205  InternalSwap(other);
206  }
207 
208  // implements Message ----------------------------------------------
209 
210  inline Struct* New() const final {
211  return CreateMaybeMessage<Struct>(nullptr);
212  }
213 
214  Struct* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
215  return CreateMaybeMessage<Struct>(arena);
216  }
217  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
218  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
219  void CopyFrom(const Struct& from);
220  void MergeFrom(const Struct& from);
221  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
222  bool IsInitialized() const final;
223 
224  size_t ByteSizeLong() const final;
225  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
226  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
227  #else
229  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
230  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
231  void SerializeWithCachedSizes(
232  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
233  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
234  ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
235  int GetCachedSize() const final { return _cached_size_.Get(); }
236 
237  private:
238  inline void SharedCtor();
239  inline void SharedDtor();
240  void SetCachedSize(int size) const final;
241  void InternalSwap(Struct* other);
242  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
243  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
244  return "google.protobuf.Struct";
245  }
246  protected:
247  explicit Struct(::PROTOBUF_NAMESPACE_ID::Arena* arena);
248  private:
249  static void ArenaDtor(void* object);
250  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
251  private:
252  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
253  return _internal_metadata_.arena();
254  }
255  inline void* MaybeArenaPtr() const {
256  return _internal_metadata_.raw_arena_ptr();
257  }
258  public:
259 
260  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
261  private:
262  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
264  return ::descriptor_table_google_2fprotobuf_2fstruct_2eproto.file_level_metadata[kIndexInFileMessages];
265  }
266 
267  public:
268 
269  // nested types ----------------------------------------------------
270 
271 
272  // accessors -------------------------------------------------------
273 
274  enum : int {
275  kFieldsFieldNumber = 1,
276  };
277  // map<string, .google.protobuf.Value> fields = 1;
278  int fields_size() const;
279  void clear_fields();
280  const ::PROTOBUF_NAMESPACE_ID::Map< std::string, PROTOBUF_NAMESPACE_ID::Value >&
281  fields() const;
282  ::PROTOBUF_NAMESPACE_ID::Map< std::string, PROTOBUF_NAMESPACE_ID::Value >*
283  mutable_fields();
284 
285  // @@protoc_insertion_point(class_scope:google.protobuf.Struct)
286  private:
287  class _Internal;
288 
289  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
290  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
292  typedef void DestructorSkippable_;
293  ::PROTOBUF_NAMESPACE_ID::internal::MapField<
296  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
297  ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE,
298  0 > fields_;
299  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
300  friend struct ::TableStruct_google_2fprotobuf_2fstruct_2eproto;
301 };
302 // -------------------------------------------------------------------
303 
304 class PROTOBUF_EXPORT Value :
305  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Value) */ {
306  public:
307  Value();
308  virtual ~Value();
309 
310  Value(const Value& from);
311  Value(Value&& from) noexcept
312  : Value() {
313  *this = ::std::move(from);
314  }
315 
316  inline Value& operator=(const Value& from) {
317  CopyFrom(from);
318  return *this;
319  }
320  inline Value& operator=(Value&& from) noexcept {
321  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
322  if (this != &from) InternalSwap(&from);
323  } else {
324  CopyFrom(from);
325  }
326  return *this;
327  }
328 
329  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
330  return GetArenaNoVirtual();
331  }
332  inline void* GetMaybeArenaPointer() const final {
333  return MaybeArenaPtr();
334  }
336  return GetDescriptor();
337  }
339  return GetMetadataStatic().descriptor;
340  }
341  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
342  return GetMetadataStatic().reflection;
343  }
344  static const Value& default_instance();
345 
346  enum KindCase {
347  kNullValue = 1,
348  kNumberValue = 2,
349  kStringValue = 3,
350  kBoolValue = 4,
351  kStructValue = 5,
352  kListValue = 6,
353  KIND_NOT_SET = 0,
354  };
355 
356  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
357  static inline const Value* internal_default_instance() {
358  return reinterpret_cast<const Value*>(
360  }
361  static constexpr int kIndexInFileMessages =
362  2;
363 
364  friend void swap(Value& a, Value& b) {
365  a.Swap(&b);
366  }
367  inline void Swap(Value* other) {
368  if (other == this) return;
369  if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
370  InternalSwap(other);
371  } else {
373  }
374  }
375  void UnsafeArenaSwap(Value* other) {
376  if (other == this) return;
377  GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
378  InternalSwap(other);
379  }
380 
381  // implements Message ----------------------------------------------
382 
383  inline Value* New() const final {
384  return CreateMaybeMessage<Value>(nullptr);
385  }
386 
387  Value* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
388  return CreateMaybeMessage<Value>(arena);
389  }
390  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
391  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
392  void CopyFrom(const Value& from);
393  void MergeFrom(const Value& from);
394  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
395  bool IsInitialized() const final;
396 
397  size_t ByteSizeLong() const final;
398  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
399  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
400  #else
402  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
403  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
404  void SerializeWithCachedSizes(
405  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
406  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
407  ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
408  int GetCachedSize() const final { return _cached_size_.Get(); }
409 
410  private:
411  inline void SharedCtor();
412  inline void SharedDtor();
413  void SetCachedSize(int size) const final;
414  void InternalSwap(Value* other);
415  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
416  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
417  return "google.protobuf.Value";
418  }
419  protected:
420  explicit Value(::PROTOBUF_NAMESPACE_ID::Arena* arena);
421  private:
422  static void ArenaDtor(void* object);
423  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
424  private:
425  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
426  return _internal_metadata_.arena();
427  }
428  inline void* MaybeArenaPtr() const {
429  return _internal_metadata_.raw_arena_ptr();
430  }
431  public:
432 
433  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
434  private:
435  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
437  return ::descriptor_table_google_2fprotobuf_2fstruct_2eproto.file_level_metadata[kIndexInFileMessages];
438  }
439 
440  public:
441 
442  // nested types ----------------------------------------------------
443 
444  // accessors -------------------------------------------------------
445 
446  enum : int {
447  kNullValueFieldNumber = 1,
448  kNumberValueFieldNumber = 2,
449  kStringValueFieldNumber = 3,
450  kBoolValueFieldNumber = 4,
451  kStructValueFieldNumber = 5,
452  kListValueFieldNumber = 6,
453  };
454  // .google.protobuf.NullValue null_value = 1;
455  private:
456  bool has_null_value() const;
457  public:
458  void clear_null_value();
459  PROTOBUF_NAMESPACE_ID::NullValue null_value() const;
460  void set_null_value(PROTOBUF_NAMESPACE_ID::NullValue value);
461 
462  // double number_value = 2;
463  private:
464  bool has_number_value() const;
465  public:
466  void clear_number_value();
467  double number_value() const;
468  void set_number_value(double value);
469 
470  // string string_value = 3;
471  private:
472  bool has_string_value() const;
473  public:
474  void clear_string_value();
475  const std::string& string_value() const;
476  void set_string_value(const std::string& value);
477  void set_string_value(std::string&& value);
478  void set_string_value(const char* value);
479  void set_string_value(const char* value, size_t size);
480  std::string* mutable_string_value();
481  std::string* release_string_value();
482  void set_allocated_string_value(std::string* string_value);
483  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
484  " string fields are deprecated and will be removed in a"
485  " future release.")
486  std::string* unsafe_arena_release_string_value();
487  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
488  " string fields are deprecated and will be removed in a"
489  " future release.")
490  void unsafe_arena_set_allocated_string_value(
491  std::string* string_value);
492 
493  // bool bool_value = 4;
494  private:
495  bool has_bool_value() const;
496  public:
497  void clear_bool_value();
498  bool bool_value() const;
499  void set_bool_value(bool value);
500 
501  // .google.protobuf.Struct struct_value = 5;
502  bool has_struct_value() const;
503  void clear_struct_value();
504  const PROTOBUF_NAMESPACE_ID::Struct& struct_value() const;
505  PROTOBUF_NAMESPACE_ID::Struct* release_struct_value();
506  PROTOBUF_NAMESPACE_ID::Struct* mutable_struct_value();
507  void set_allocated_struct_value(PROTOBUF_NAMESPACE_ID::Struct* struct_value);
508  void unsafe_arena_set_allocated_struct_value(
509  PROTOBUF_NAMESPACE_ID::Struct* struct_value);
510  PROTOBUF_NAMESPACE_ID::Struct* unsafe_arena_release_struct_value();
511 
512  // .google.protobuf.ListValue list_value = 6;
513  bool has_list_value() const;
514  void clear_list_value();
515  const PROTOBUF_NAMESPACE_ID::ListValue& list_value() const;
516  PROTOBUF_NAMESPACE_ID::ListValue* release_list_value();
517  PROTOBUF_NAMESPACE_ID::ListValue* mutable_list_value();
518  void set_allocated_list_value(PROTOBUF_NAMESPACE_ID::ListValue* list_value);
519  void unsafe_arena_set_allocated_list_value(
520  PROTOBUF_NAMESPACE_ID::ListValue* list_value);
521  PROTOBUF_NAMESPACE_ID::ListValue* unsafe_arena_release_list_value();
522 
523  void clear_kind();
524  KindCase kind_case() const;
525  // @@protoc_insertion_point(class_scope:google.protobuf.Value)
526  private:
527  class _Internal;
528  void set_has_null_value();
529  void set_has_number_value();
530  void set_has_string_value();
531  void set_has_bool_value();
532  void set_has_struct_value();
533  void set_has_list_value();
534 
535  inline bool has_kind() const;
536  inline void clear_has_kind();
537 
538  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
539  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
541  typedef void DestructorSkippable_;
542  union KindUnion {
546  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_;
550  } kind_;
551  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
553 
554  friend struct ::TableStruct_google_2fprotobuf_2fstruct_2eproto;
555 };
556 // -------------------------------------------------------------------
557 
558 class PROTOBUF_EXPORT ListValue :
559  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.ListValue) */ {
560  public:
561  ListValue();
562  virtual ~ListValue();
563 
564  ListValue(const ListValue& from);
565  ListValue(ListValue&& from) noexcept
566  : ListValue() {
567  *this = ::std::move(from);
568  }
569 
570  inline ListValue& operator=(const ListValue& from) {
571  CopyFrom(from);
572  return *this;
573  }
574  inline ListValue& operator=(ListValue&& from) noexcept {
575  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
576  if (this != &from) InternalSwap(&from);
577  } else {
578  CopyFrom(from);
579  }
580  return *this;
581  }
582 
583  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
584  return GetArenaNoVirtual();
585  }
586  inline void* GetMaybeArenaPointer() const final {
587  return MaybeArenaPtr();
588  }
590  return GetDescriptor();
591  }
593  return GetMetadataStatic().descriptor;
594  }
595  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
596  return GetMetadataStatic().reflection;
597  }
598  static const ListValue& default_instance();
599 
600  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
601  static inline const ListValue* internal_default_instance() {
602  return reinterpret_cast<const ListValue*>(
604  }
605  static constexpr int kIndexInFileMessages =
606  3;
607 
608  friend void swap(ListValue& a, ListValue& b) {
609  a.Swap(&b);
610  }
611  inline void Swap(ListValue* other) {
612  if (other == this) return;
613  if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
614  InternalSwap(other);
615  } else {
617  }
618  }
619  void UnsafeArenaSwap(ListValue* other) {
620  if (other == this) return;
621  GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
622  InternalSwap(other);
623  }
624 
625  // implements Message ----------------------------------------------
626 
627  inline ListValue* New() const final {
628  return CreateMaybeMessage<ListValue>(nullptr);
629  }
630 
631  ListValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
632  return CreateMaybeMessage<ListValue>(arena);
633  }
634  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
635  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
636  void CopyFrom(const ListValue& from);
637  void MergeFrom(const ListValue& from);
638  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
639  bool IsInitialized() const final;
640 
641  size_t ByteSizeLong() const final;
642  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
643  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
644  #else
646  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
647  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
648  void SerializeWithCachedSizes(
649  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
650  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
651  ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
652  int GetCachedSize() const final { return _cached_size_.Get(); }
653 
654  private:
655  inline void SharedCtor();
656  inline void SharedDtor();
657  void SetCachedSize(int size) const final;
658  void InternalSwap(ListValue* other);
659  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
660  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
661  return "google.protobuf.ListValue";
662  }
663  protected:
664  explicit ListValue(::PROTOBUF_NAMESPACE_ID::Arena* arena);
665  private:
666  static void ArenaDtor(void* object);
667  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
668  private:
669  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
670  return _internal_metadata_.arena();
671  }
672  inline void* MaybeArenaPtr() const {
673  return _internal_metadata_.raw_arena_ptr();
674  }
675  public:
676 
677  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
678  private:
679  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
681  return ::descriptor_table_google_2fprotobuf_2fstruct_2eproto.file_level_metadata[kIndexInFileMessages];
682  }
683 
684  public:
685 
686  // nested types ----------------------------------------------------
687 
688  // accessors -------------------------------------------------------
689 
690  enum : int {
691  kValuesFieldNumber = 1,
692  };
693  // repeated .google.protobuf.Value values = 1;
694  int values_size() const;
695  void clear_values();
696  PROTOBUF_NAMESPACE_ID::Value* mutable_values(int index);
697  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Value >*
698  mutable_values();
699  const PROTOBUF_NAMESPACE_ID::Value& values(int index) const;
700  PROTOBUF_NAMESPACE_ID::Value* add_values();
701  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Value >&
702  values() const;
703 
704  // @@protoc_insertion_point(class_scope:google.protobuf.ListValue)
705  private:
706  class _Internal;
707 
708  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
709  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
711  typedef void DestructorSkippable_;
712  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Value > values_;
713  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
714  friend struct ::TableStruct_google_2fprotobuf_2fstruct_2eproto;
715 };
716 // ===================================================================
717 
718 
719 // ===================================================================
720 
721 #ifdef __GNUC__
722  #pragma GCC diagnostic push
723  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
724 #endif // __GNUC__
725 // -------------------------------------------------------------------
726 
727 // Struct
728 
729 // map<string, .google.protobuf.Value> fields = 1;
730 inline int Struct::fields_size() const {
731  return fields_.size();
732 }
733 inline void Struct::clear_fields() {
734  fields_.Clear();
735 }
736 inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, PROTOBUF_NAMESPACE_ID::Value >&
737 Struct::fields() const {
738  // @@protoc_insertion_point(field_map:google.protobuf.Struct.fields)
739  return fields_.GetMap();
740 }
741 inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, PROTOBUF_NAMESPACE_ID::Value >*
743  // @@protoc_insertion_point(field_mutable_map:google.protobuf.Struct.fields)
744  return fields_.MutableMap();
745 }
746 
747 // -------------------------------------------------------------------
748 
749 // Value
750 
751 // .google.protobuf.NullValue null_value = 1;
752 inline bool Value::has_null_value() const {
753  return kind_case() == kNullValue;
754 }
757 }
758 inline void Value::clear_null_value() {
759  if (has_null_value()) {
760  kind_.null_value_ = 0;
761  clear_has_kind();
762  }
763 }
765  // @@protoc_insertion_point(field_get:google.protobuf.Value.null_value)
766  if (has_null_value()) {
767  return static_cast< PROTOBUF_NAMESPACE_ID::NullValue >(kind_.null_value_);
768  }
769  return static_cast< PROTOBUF_NAMESPACE_ID::NullValue >(0);
770 }
772  if (!has_null_value()) {
773  clear_kind();
775  }
777  // @@protoc_insertion_point(field_set:google.protobuf.Value.null_value)
778 }
779 
780 // double number_value = 2;
781 inline bool Value::has_number_value() const {
782  return kind_case() == kNumberValue;
783 }
786 }
788  if (has_number_value()) {
789  kind_.number_value_ = 0;
790  clear_has_kind();
791  }
792 }
793 inline double Value::number_value() const {
794  // @@protoc_insertion_point(field_get:google.protobuf.Value.number_value)
795  if (has_number_value()) {
796  return kind_.number_value_;
797  }
798  return 0;
799 }
800 inline void Value::set_number_value(double value) {
801  if (!has_number_value()) {
802  clear_kind();
804  }
806  // @@protoc_insertion_point(field_set:google.protobuf.Value.number_value)
807 }
808 
809 // string string_value = 3;
810 inline bool Value::has_string_value() const {
811  return kind_case() == kStringValue;
812 }
815 }
817  if (has_string_value()) {
820  clear_has_kind();
821  }
822 }
823 inline const std::string& Value::string_value() const {
824  // @@protoc_insertion_point(field_get:google.protobuf.Value.string_value)
825  if (has_string_value()) {
826  return kind_.string_value_.Get();
827  }
829 }
831  if (!has_string_value()) {
832  clear_kind();
835  }
838  // @@protoc_insertion_point(field_set:google.protobuf.Value.string_value)
839 }
841  // @@protoc_insertion_point(field_set:google.protobuf.Value.string_value)
842  if (!has_string_value()) {
843  clear_kind();
846  }
847  kind_.string_value_.Set(
849  // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Value.string_value)
850 }
851 inline void Value::set_string_value(const char* value) {
852  GOOGLE_DCHECK(value != nullptr);
853  if (!has_string_value()) {
854  clear_kind();
857  }
860  // @@protoc_insertion_point(field_set_char:google.protobuf.Value.string_value)
861 }
862 inline void Value::set_string_value(const char* value,
863  size_t size) {
864  if (!has_string_value()) {
865  clear_kind();
868  }
869  kind_.string_value_.Set(
871  reinterpret_cast<const char*>(value), size),
873  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Value.string_value)
874 }
876  if (!has_string_value()) {
877  clear_kind();
880  }
883  // @@protoc_insertion_point(field_mutable:google.protobuf.Value.string_value)
884 }
886  // @@protoc_insertion_point(field_release:google.protobuf.Value.string_value)
887  if (has_string_value()) {
888  clear_has_kind();
891  } else {
892  return nullptr;
893  }
894 }
895 inline void Value::set_allocated_string_value(std::string* string_value) {
896  if (has_kind()) {
897  clear_kind();
898  }
899  if (string_value != nullptr) {
901  kind_.string_value_.UnsafeSetDefault(string_value);
902  }
903  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Value.string_value)
904 }
905 inline std::string* Value::unsafe_arena_release_string_value() {
906  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Value.string_value)
907  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
908  if (has_string_value()) {
909  clear_has_kind();
910  return kind_.string_value_.UnsafeArenaRelease(
912  } else {
913  return nullptr;
914  }
915 }
916 inline void Value::unsafe_arena_set_allocated_string_value(std::string* string_value) {
917  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
918  if (!has_string_value()) {
920  }
921  clear_kind();
922  if (string_value) {
925  }
926  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Value.string_value)
927 }
928 
929 // bool bool_value = 4;
930 inline bool Value::has_bool_value() const {
931  return kind_case() == kBoolValue;
932 }
935 }
936 inline void Value::clear_bool_value() {
937  if (has_bool_value()) {
938  kind_.bool_value_ = false;
939  clear_has_kind();
940  }
941 }
942 inline bool Value::bool_value() const {
943  // @@protoc_insertion_point(field_get:google.protobuf.Value.bool_value)
944  if (has_bool_value()) {
945  return kind_.bool_value_;
946  }
947  return false;
948 }
949 inline void Value::set_bool_value(bool value) {
950  if (!has_bool_value()) {
951  clear_kind();
953  }
955  // @@protoc_insertion_point(field_set:google.protobuf.Value.bool_value)
956 }
957 
958 // .google.protobuf.Struct struct_value = 5;
959 inline bool Value::has_struct_value() const {
960  return kind_case() == kStructValue;
961 }
964 }
966  if (has_struct_value()) {
967  if (GetArenaNoVirtual() == nullptr) {
968  delete kind_.struct_value_;
969  }
970  clear_has_kind();
971  }
972 }
974  // @@protoc_insertion_point(field_release:google.protobuf.Value.struct_value)
975  if (has_struct_value()) {
976  clear_has_kind();
978  if (GetArenaNoVirtual() != nullptr) {
980  }
981  kind_.struct_value_ = nullptr;
982  return temp;
983  } else {
984  return nullptr;
985  }
986 }
988  // @@protoc_insertion_point(field_get:google.protobuf.Value.struct_value)
989  return has_struct_value()
992 }
994  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Value.struct_value)
995  if (has_struct_value()) {
996  clear_has_kind();
998  kind_.struct_value_ = nullptr;
999  return temp;
1000  } else {
1001  return nullptr;
1002  }
1003 }
1005  clear_kind();
1006  if (struct_value) {
1009  }
1010  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Value.struct_value)
1011 }
1013  if (!has_struct_value()) {
1014  clear_kind();
1016  kind_.struct_value_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::Struct >(
1017  GetArenaNoVirtual());
1018  }
1019  // @@protoc_insertion_point(field_mutable:google.protobuf.Value.struct_value)
1020  return kind_.struct_value_;
1021 }
1022 
1023 // .google.protobuf.ListValue list_value = 6;
1024 inline bool Value::has_list_value() const {
1025  return kind_case() == kListValue;
1026 }
1028  _oneof_case_[0] = kListValue;
1029 }
1031  if (has_list_value()) {
1032  if (GetArenaNoVirtual() == nullptr) {
1033  delete kind_.list_value_;
1034  }
1035  clear_has_kind();
1036  }
1037 }
1039  // @@protoc_insertion_point(field_release:google.protobuf.Value.list_value)
1040  if (has_list_value()) {
1041  clear_has_kind();
1043  if (GetArenaNoVirtual() != nullptr) {
1045  }
1046  kind_.list_value_ = nullptr;
1047  return temp;
1048  } else {
1049  return nullptr;
1050  }
1051 }
1053  // @@protoc_insertion_point(field_get:google.protobuf.Value.list_value)
1054  return has_list_value()
1055  ? *kind_.list_value_
1057 }
1059  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Value.list_value)
1060  if (has_list_value()) {
1061  clear_has_kind();
1063  kind_.list_value_ = nullptr;
1064  return temp;
1065  } else {
1066  return nullptr;
1067  }
1068 }
1070  clear_kind();
1071  if (list_value) {
1074  }
1075  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Value.list_value)
1076 }
1078  if (!has_list_value()) {
1079  clear_kind();
1081  kind_.list_value_ = CreateMaybeMessage< PROTOBUF_NAMESPACE_ID::ListValue >(
1082  GetArenaNoVirtual());
1083  }
1084  // @@protoc_insertion_point(field_mutable:google.protobuf.Value.list_value)
1085  return kind_.list_value_;
1086 }
1087 
1088 inline bool Value::has_kind() const {
1089  return kind_case() != KIND_NOT_SET;
1090 }
1091 inline void Value::clear_has_kind() {
1093 }
1095  return Value::KindCase(_oneof_case_[0]);
1096 }
1097 // -------------------------------------------------------------------
1098 
1099 // ListValue
1100 
1101 // repeated .google.protobuf.Value values = 1;
1102 inline int ListValue::values_size() const {
1103  return values_.size();
1104 }
1106  values_.Clear();
1107 }
1109  // @@protoc_insertion_point(field_mutable:google.protobuf.ListValue.values)
1110  return values_.Mutable(index);
1111 }
1112 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Value >*
1114  // @@protoc_insertion_point(field_mutable_list:google.protobuf.ListValue.values)
1115  return &values_;
1116 }
1118  // @@protoc_insertion_point(field_get:google.protobuf.ListValue.values)
1119  return values_.Get(index);
1120 }
1122  // @@protoc_insertion_point(field_add:google.protobuf.ListValue.values)
1123  return values_.Add();
1124 }
1125 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Value >&
1127  // @@protoc_insertion_point(field_list:google.protobuf.ListValue.values)
1128  return values_;
1129 }
1130 
1131 #ifdef __GNUC__
1132  #pragma GCC diagnostic pop
1133 #endif // __GNUC__
1134 // -------------------------------------------------------------------
1135 
1136 // -------------------------------------------------------------------
1137 
1138 // -------------------------------------------------------------------
1139 
1140 
1141 // @@protoc_insertion_point(namespace_scope)
1142 
1143 PROTOBUF_NAMESPACE_CLOSE
1144 
1145 PROTOBUF_NAMESPACE_OPEN
1146 
1147 template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::NullValue> : ::std::true_type {};
1148 template <>
1149 inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::NullValue>() {
1151 }
1152 
1153 PROTOBUF_NAMESPACE_CLOSE
1154 
1155 // @@protoc_insertion_point(global_scope)
1156 
1157 #include <google/protobuf/port_undef.inc>
1158 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fstruct_2eproto
ListValue::GetMaybeArenaPointer
void * GetMaybeArenaPointer() const final
Definition: struct.pb.h:586
Value::Value
Value(Value &&from) noexcept
Definition: struct.pb.h:311
Struct::GetMaybeArenaPointer
void * GetMaybeArenaPointer() const final
Definition: struct.pb.h:169
PROTOBUF_SECTION_VARIABLE
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fany_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
Struct::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: struct.pb.h:175
NullValue_INT_MAX_SENTINEL_DO_NOT_USE_
@ NullValue_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: struct.pb.h:86
_Struct_FieldsEntry_DoNotUse_default_instance_
PROTOBUF_EXPORT Struct_FieldsEntry_DoNotUseDefaultTypeInternal _Struct_FieldsEntry_DoNotUse_default_instance_
NullValue_ARRAYSIZE
constexpr int NullValue_ARRAYSIZE
Definition: struct.pb.h:91
Struct::GetCachedSize
int GetCachedSize() const final
Definition: struct.pb.h:235
name
GLuint const GLchar * name
Definition: glcorearb.h:3055
Struct::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: struct.pb.h:291
Value::DestructorSkippable_
void DestructorSkippable_
Definition: struct.pb.h:541
ListValue::mutable_values
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Value > * mutable_values()
Definition: struct.pb.h:1113
arenastring.h
benchmarks.python.py_benchmark.const
const
Definition: py_benchmark.py:14
Struct::MaybeArenaPtr
void * MaybeArenaPtr() const
Definition: struct.pb.h:255
Struct::operator=
Struct & operator=(const Struct &from)
Definition: struct.pb.h:153
ListValue::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: struct.pb.h:595
ListValue::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: struct.pb.h:660
Value::unsafe_arena_release_struct_value
PROTOBUF_NAMESPACE_ID::Struct * unsafe_arena_release_struct_value()
Definition: struct.pb.h:993
map_field_inl.h
ListValue::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: struct.pb.h:669
google::protobuf.internal.python_message.MergeFrom
MergeFrom
Definition: python_message.py:1340
Struct::_cached_size_
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition: struct.pb.h:299
ListValue
Definition: struct.pb.h:558
Struct::New
Struct * New() const final
Definition: struct.pb.h:210
input
std::string input
Definition: tokenizer_unittest.cc:197
extension_set.h
Value::kListValue
@ kListValue
Definition: struct.pb.h:352
inlined_string_field.h
google::protobuf::uint8
uint8_t uint8
Definition: protobuf/src/google/protobuf/stubs/port.h:153
GOOGLE_DCHECK
#define GOOGLE_DCHECK
Definition: logging.h:194
Value::null_value
PROTOBUF_NAMESPACE_ID::NullValue null_value() const
Definition: struct.pb.h:764
s
XmlRpcServer s
Value::clear_kind
void clear_kind()
Definition: struct.pb.cc:683
NullValue_MAX
constexpr NullValue NullValue_MAX
Definition: struct.pb.h:90
google::protobuf::python::cmessage::CopyFrom
static PyObject * CopyFrom(CMessage *self, PyObject *arg)
Definition: python/google/protobuf/pyext/message.cc:1861
Value::UnsafeArenaSwap
void UnsafeArenaSwap(Value *other)
Definition: struct.pb.h:375
_ListValue_default_instance_
PROTOBUF_EXPORT ListValueDefaultTypeInternal _ListValue_default_instance_
Value::KindUnion::string_value_
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr string_value_
Definition: struct.pb.h:546
ListValue::operator=
ListValue & operator=(ListValue &&from) noexcept
Definition: struct.pb.h:574
Value::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: struct.pb.h:338
Struct::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: struct.pb.h:172
google::protobuf::uint32
uint32_t uint32
Definition: protobuf/src/google/protobuf/stubs/port.h:155
ListValue::New
ListValue * New() const final
Definition: struct.pb.h:627
ListValue::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: struct.pb.h:589
Struct::swap
friend void swap(Struct &a, Struct &b)
Definition: struct.pb.h:191
Value::has_kind
bool has_kind() const
Definition: struct.pb.h:1088
Value::KindUnion::struct_value_
PROTOBUF_NAMESPACE_ID::Struct * struct_value_
Definition: struct.pb.h:548
Value::set_number_value
void set_number_value(double value)
Definition: struct.pb.h:800
Value::has_struct_value
bool has_struct_value() const
Definition: struct.pb.h:959
NullValue_INT_MIN_SENTINEL_DO_NOT_USE_
@ NullValue_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: struct.pb.h:85
Value::internal_default_instance
static const Value * internal_default_instance()
Definition: struct.pb.h:357
Struct::Struct
Struct(Struct &&from) noexcept
Definition: struct.pb.h:148
generated_message_reflection.h
string
GLsizei const GLchar *const * string
Definition: glcorearb.h:3083
Value
Definition: struct.pb.h:304
google::protobuf.internal::GenericSwap
void GenericSwap(MessageLite *m1, MessageLite *m2)
Definition: generated_message_util.cc:750
ListValue::New
ListValue * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: struct.pb.h:631
ListValue::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: struct.pb.h:592
Value::KindUnion::KindUnion
KindUnion()
Definition: struct.pb.h:543
Value::_oneof_case_
::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1]
Definition: struct.pb.h:552
Value::kStringValue
@ kStringValue
Definition: struct.pb.h:349
target
GLenum target
Definition: glcorearb.h:3739
ListValue::DestructorSkippable_
void DestructorSkippable_
Definition: struct.pb.h:711
google::protobuf.internal::NameOfEnum
const PROTOBUF_EXPORT std::string & NameOfEnum(const EnumDescriptor *descriptor, int value)
Definition: generated_message_reflection.cc:90
google::protobuf.internal.python_message._InternalParse
_InternalParse
Definition: python_message.py:1197
ListValue::swap
friend void swap(ListValue &a, ListValue &b)
Definition: struct.pb.h:608
ListValue::_internal_metadata_
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
Definition: struct.pb.h:706
Struct::_internal_metadata_
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_
Definition: struct.pb.h:287
_Value_default_instance_
PROTOBUF_EXPORT ValueDefaultTypeInternal _Value_default_instance_
Value::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: struct.pb.h:425
Value::MaybeArenaPtr
void * MaybeArenaPtr() const
Definition: struct.pb.h:428
Value::KindUnion::number_value_
double number_value_
Definition: struct.pb.h:545
Value::mutable_string_value
std::string * mutable_string_value()
Definition: struct.pb.h:875
T
#define T(upbtypeconst, upbtype, ctype, default_value)
Value::set_has_string_value
void set_has_string_value()
Definition: struct.pb.h:813
Value::set_has_null_value
void set_has_null_value()
Definition: struct.pb.h:755
google::protobuf.internal::DuplicateIfNonNull
T * DuplicateIfNonNull(T *message)
Definition: generated_message_util.h:151
EnumDescriptor
struct EnumDescriptor EnumDescriptor
Definition: php/ext/google/protobuf/protobuf.h:632
NullValue_Name
const std::string & NullValue_Name(T enum_t_value)
Definition: struct.pb.h:95
Value::set_has_number_value
void set_has_number_value()
Definition: struct.pb.h:784
Value::has_string_value
bool has_string_value() const
Definition: struct.pb.h:810
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, 0 > SuperType
Definition: struct.pb.h:119
Value::swap
friend void swap(Value &a, Value &b)
Definition: struct.pb.h:364
GOOGLE_PROTOBUF_RUNTIME_DEPRECATED
#define GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(message)
Definition: protobuf/src/google/protobuf/stubs/port.h:107
Value::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: struct.pb.h:416
Value::clear_string_value
void clear_string_value()
Definition: struct.pb.h:816
Value::clear_bool_value
void clear_bool_value()
Definition: struct.pb.h:936
b
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:3228
NullValue
NullValue
Definition: struct.pb.h:83
Struct_FieldsEntry_DoNotUse::internal_default_instance
static const Struct_FieldsEntry_DoNotUse * internal_default_instance()
Definition: struct.pb.h:123
Value::set_has_bool_value
void set_has_bool_value()
Definition: struct.pb.h:933
values
GLenum GLsizei GLsizei GLint * values
Definition: glcorearb.h:3591
ListValue::Swap
void Swap(ListValue *other)
Definition: struct.pb.h:611
ListValue::MaybeArenaPtr
void * MaybeArenaPtr() const
Definition: struct.pb.h:672
map_entry.h
ValueDefaultTypeInternal
Definition: struct.pb.cc:28
NULL_VALUE
@ NULL_VALUE
Definition: struct.pb.h:84
Value::kind_case
KindCase kind_case() const
Definition: struct.pb.h:1094
Value::set_null_value
void set_null_value(PROTOBUF_NAMESPACE_ID::NullValue value)
Definition: struct.pb.h:771
Value::clear_struct_value
void clear_struct_value()
Definition: struct.pb.h:965
Struct::internal_default_instance
static const Struct * internal_default_instance()
Definition: struct.pb.h:184
Value::GetCachedSize
int GetCachedSize() const final
Definition: struct.pb.h:408
NullValue_descriptor
const PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * NullValue_descriptor()
Definition: struct.pb.cc:163
google::protobuf.internal::MergePartialFromCodedStream
bool MergePartialFromCodedStream(MessageLite *msg, const ParseTable &table, io::CodedInputStream *input)
Definition: generated_message_table_driven.cc:96
NullValue_MIN
constexpr NullValue NullValue_MIN
Definition: struct.pb.h:89
Struct::clear_fields
void clear_fields()
Definition: struct.pb.h:733
unknown_field_set.h
Value::kNumberValue
@ kNumberValue
Definition: struct.pb.h:348
Struct::mutable_fields
::PROTOBUF_NAMESPACE_ID::Map< std::string, PROTOBUF_NAMESPACE_ID::Value > * mutable_fields()
Definition: struct.pb.h:742
coded_stream.h
Value::unsafe_arena_set_allocated_struct_value
void unsafe_arena_set_allocated_struct_value(PROTOBUF_NAMESPACE_ID::Struct *struct_value)
Definition: struct.pb.h:1004
Value::unsafe_arena_release_list_value
PROTOBUF_NAMESPACE_ID::ListValue * unsafe_arena_release_list_value()
Definition: struct.pb.h:1058
ListValueDefaultTypeInternal
Definition: struct.pb.cc:38
Value::has_list_value
bool has_list_value() const
Definition: struct.pb.h:1024
ListValue
struct ListValue ListValue
Definition: php/ext/google/protobuf/protobuf.h:646
Struct
Definition: struct.pb.h:141
Struct::operator=
Struct & operator=(Struct &&from) noexcept
Definition: struct.pb.h:157
ListValue::GetArena
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArena() const final
Definition: struct.pb.h:583
Value::has_bool_value
bool has_bool_value() const
Definition: struct.pb.h:930
TableStruct_google_2fprotobuf_2fstruct_2eproto
Definition: struct.pb.h:49
Value::mutable_list_value
PROTOBUF_NAMESPACE_ID::ListValue * mutable_list_value()
Definition: struct.pb.h:1077
Value::set_has_struct_value
void set_has_struct_value()
Definition: struct.pb.h:962
Value::set_has_list_value
void set_has_list_value()
Definition: struct.pb.h:1027
message.h
Value::kStructValue
@ kStructValue
Definition: struct.pb.h:351
_Struct_default_instance_
PROTOBUF_EXPORT StructDefaultTypeInternal _Struct_default_instance_
Value::clear_has_kind
void clear_has_kind()
Definition: struct.pb.h:1091
Value::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: struct.pb.h:540
Value::_cached_size_
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition: struct.pb.h:551
repeated_field.h
Value::release_string_value
std::string * release_string_value()
Definition: struct.pb.h:885
Value::GetArena
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArena() const final
Definition: struct.pb.h:329
Value::GetMaybeArenaPointer
void * GetMaybeArenaPointer() const final
Definition: struct.pb.h:332
google::protobuf.internal::true_type
integral_constant< bool, true > true_type
Definition: template_util.h:89
Value::struct_value
const PROTOBUF_NAMESPACE_ID::Struct & struct_value() const
Definition: struct.pb.h:987
Value::operator=
Value & operator=(Value &&from) noexcept
Definition: struct.pb.h:320
generated_message_table_driven.h
ListValue::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: struct.pb.h:710
Descriptor
struct Descriptor Descriptor
Definition: php/ext/google/protobuf/protobuf.h:628
EnumDescriptor
Definition: ruby/ext/google/protobuf_c/protobuf.h:137
Value::release_struct_value
PROTOBUF_NAMESPACE_ID::Struct * release_struct_value()
Definition: struct.pb.h:973
Value::New
Value * New() const final
Definition: struct.pb.h:383
map.h
Value::has_null_value
bool has_null_value() const
Definition: struct.pb.h:752
Struct_FieldsEntry_DoNotUse::GetMetadataStatic
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic()
Definition: struct.pb.h:131
Struct_FieldsEntry_DoNotUse
Definition: struct.pb.h:109
Struct::fields_size
int fields_size() const
Definition: struct.pb.h:730
Value::list_value
const PROTOBUF_NAMESPACE_ID::ListValue & list_value() const
Definition: struct.pb.h:1052
Struct_FieldsEntry_DoNotUse::MergeFrom
void MergeFrom(const Struct_FieldsEntry_DoNotUse &other)
Definition: struct.pb.cc:182
Value::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: struct.pb.h:341
Value::string_value
const std::string & string_value() const
Definition: struct.pb.h:823
Struct_FieldsEntry_DoNotUse::ValidateKey
static bool ValidateKey(std::string *s)
Definition: struct.pb.h:124
fields
static const upb_fielddef fields[107]
Definition: ruby/ext/google/protobuf_c/upb.c:7671
ListValue::add_values
PROTOBUF_NAMESPACE_ID::Value * add_values()
Definition: struct.pb.h:1121
Struct::DestructorSkippable_
void DestructorSkippable_
Definition: struct.pb.h:292
NullValue_IsValid
PROTOBUF_EXPORT bool NullValue_IsValid(int value)
Definition: struct.pb.cc:167
Value::New
Value * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: struct.pb.h:387
Value::KindUnion::null_value_
int null_value_
Definition: struct.pb.h:544
Value::clear_null_value
void clear_null_value()
Definition: struct.pb.h:758
Value::kind_
union Value::KindUnion kind_
google::protobuf.internal.python_message.Clear
Clear
Definition: python_message.py:1431
Struct::UnsafeArenaSwap
void UnsafeArenaSwap(Struct *other)
Definition: struct.pb.h:202
Value::release_list_value
PROTOBUF_NAMESPACE_ID::ListValue * release_list_value()
Definition: struct.pb.h:1038
ListValue::GetCachedSize
int GetCachedSize() const final
Definition: struct.pb.h:652
Value::KIND_NOT_SET
@ KIND_NOT_SET
Definition: struct.pb.h:353
generated_enum_reflection.h
size
GLsizeiptr size
Definition: glcorearb.h:2943
std
Value::KindUnion::bool_value_
bool bool_value_
Definition: struct.pb.h:547
arena.h
Value::set_allocated_string_value
void set_allocated_string_value(std::string *string_value)
Definition: struct.pb.h:895
metadata.h
Struct_FieldsEntry_DoNotUseDefaultTypeInternal
Definition: struct.pb.cc:20
google::protobuf.internal::GetEmptyStringAlreadyInited
const PROTOBUF_EXPORT std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:152
Value::Swap
void Swap(Value *other)
Definition: struct.pb.h:367
Struct_FieldsEntry_DoNotUse::Struct_FieldsEntry_DoNotUse
Struct_FieldsEntry_DoNotUse()
Definition: struct.pb.cc:179
ListValue::_cached_size_
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition: struct.pb.h:713
Struct::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: struct.pb.h:243
Struct
struct Struct Struct
Definition: php/ext/google/protobuf/protobuf.h:661
generated_message_util.h
Value::set_string_value
void set_string_value(const std::string &value)
Definition: struct.pb.h:830
Value::bool_value
bool bool_value() const
Definition: struct.pb.h:942
google::protobuf.internal.python_message.IsInitialized
IsInitialized
Definition: python_message.py:1246
Value::unsafe_arena_set_allocated_list_value
void unsafe_arena_set_allocated_list_value(PROTOBUF_NAMESPACE_ID::ListValue *list_value)
Definition: struct.pb.h:1069
ListValue::ListValue
ListValue(ListValue &&from) noexcept
Definition: struct.pb.h:565
Struct::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: struct.pb.h:178
Struct::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: struct.pb.h:252
Value::KindUnion
Definition: struct.pb.h:542
ListValue::values
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Value > & values() const
Definition: struct.pb.h:1126
Value::KindUnion::list_value_
PROTOBUF_NAMESPACE_ID::ListValue * list_value_
Definition: struct.pb.h:549
ListValue::UnsafeArenaSwap
void UnsafeArenaSwap(ListValue *other)
Definition: struct.pb.h:619
Value::mutable_struct_value
PROTOBUF_NAMESPACE_ID::Struct * mutable_struct_value()
Definition: struct.pb.h:1012
internal
Definition: any.pb.h:40
google::protobuf.internal::AssignDescriptors
void AssignDescriptors(const DescriptorTable *table)
Definition: generated_message_reflection.cc:2403
Struct::Swap
void Swap(Struct *other)
Definition: struct.pb.h:194
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, 0 > fields_
Definition: struct.pb.h:298
StructDefaultTypeInternal
Definition: struct.pb.cc:24
Struct_FieldsEntry_DoNotUse::GetMetadata
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
Definition: struct.pb.cc:185
NullValue_Parse
bool NullValue_Parse(const std::string &name, NullValue *value)
Definition: struct.pb.h:102
Value::clear_number_value
void clear_number_value()
Definition: struct.pb.h:787
Struct::New
Struct * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: struct.pb.h:214
value
GLsizei const GLfloat * value
Definition: glcorearb.h:3093
descriptor_table_google_2fprotobuf_2fstruct_2eproto
const PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fstruct_2eproto
Definition: struct.pb.cc:153
ListValue::operator=
ListValue & operator=(const ListValue &from)
Definition: struct.pb.h:570
output
const upb_json_parsermethod const upb_symtab upb_sink * output
Definition: ruby/ext/google/protobuf_c/upb.h:10503
ListValue::values_
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Value > values_
Definition: struct.pb.h:712
Struct::GetArena
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArena() const final
Definition: struct.pb.h:166
Value::set_bool_value
void set_bool_value(bool value)
Definition: struct.pb.h:949
Value::clear_list_value
void clear_list_value()
Definition: struct.pb.h:1030
Value::KindCase
KindCase
Definition: struct.pb.h:346
index
GLuint index
Definition: glcorearb.h:3055
Struct_FieldsEntry_DoNotUse::ValidateValue
static bool ValidateValue(void *)
Definition: struct.pb.h:127
a
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:3228
Value::kBoolValue
@ kBoolValue
Definition: struct.pb.h:350
Value::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: struct.pb.h:335
google::protobuf::python::message_descriptor::GetDescriptor
static ParentDescriptor GetDescriptor(PyContainer *self)
Definition: descriptor_containers.cc:950
ListValue::clear_values
void clear_values()
Definition: struct.pb.h:1105
Value::kNullValue
@ kNullValue
Definition: struct.pb.h:347
Value::number_value
double number_value() const
Definition: struct.pb.h:793
for
for(items_t::iterator it=_items.begin(), end=_items.end();it !=end &&found< n_events_;++it)
Definition: socket_poller.cpp:397
Value::operator=
Value & operator=(const Value &from)
Definition: struct.pb.h:316
Struct::fields
const ::PROTOBUF_NAMESPACE_ID::Map< std::string, PROTOBUF_NAMESPACE_ID::Value > & fields() const
Definition: struct.pb.h:737
ListValue::values_size
int values_size() const
Definition: struct.pb.h:1102
ListValue::internal_default_instance
static const ListValue * internal_default_instance()
Definition: struct.pb.h:601
Value::has_number_value
bool has_number_value() const
Definition: struct.pb.h:781
Value
struct Value Value
Definition: php/ext/google/protobuf/protobuf.h:667


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:59