type.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/type.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ftype_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ftype_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
36 #include <google/protobuf/any.pb.h>
38 // @@protoc_insertion_point(includes)
39 #include <google/protobuf/port_def.inc>
40 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftype_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::AuxillaryParseTableField aux[]
52  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
53  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5]
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[];
58 };
59 extern PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ftype_2eproto;
60 PROTOBUF_NAMESPACE_OPEN
61 class Enum;
64 class EnumValue;
67 class Field;
70 class Option;
73 class Type;
76 PROTOBUF_NAMESPACE_CLOSE
77 PROTOBUF_NAMESPACE_OPEN
78 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Enum* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Enum>(Arena*);
79 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::EnumValue* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::EnumValue>(Arena*);
80 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Field* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Field>(Arena*);
81 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Option* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Option>(Arena*);
82 template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Type* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Type>(Arena*);
83 PROTOBUF_NAMESPACE_CLOSE
84 PROTOBUF_NAMESPACE_OPEN
85 
86 enum Field_Kind : int {
106  Field_Kind_Field_Kind_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
107  Field_Kind_Field_Kind_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
108 };
109 PROTOBUF_EXPORT bool Field_Kind_IsValid(int value);
113 
115 template<typename T>
116 inline const std::string& Field_Kind_Name(T enum_t_value) {
117  static_assert(::std::is_same<T, Field_Kind>::value ||
119  "Incorrect type passed to function Field_Kind_Name.");
121  Field_Kind_descriptor(), enum_t_value);
122 }
123 inline bool Field_Kind_Parse(
124  const std::string& name, Field_Kind* value) {
125  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Field_Kind>(
127 }
128 enum Field_Cardinality : int {
133  Field_Cardinality_Field_Cardinality_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
134  Field_Cardinality_Field_Cardinality_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
135 };
136 PROTOBUF_EXPORT bool Field_Cardinality_IsValid(int value);
140 
142 template<typename T>
143 inline const std::string& Field_Cardinality_Name(T enum_t_value) {
146  "Incorrect type passed to function Field_Cardinality_Name.");
148  Field_Cardinality_descriptor(), enum_t_value);
149 }
152  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Field_Cardinality>(
154 }
155 enum Syntax : int {
158  Syntax_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
159  Syntax_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
160 };
161 PROTOBUF_EXPORT bool Syntax_IsValid(int value);
164 constexpr int Syntax_ARRAYSIZE = Syntax_MAX + 1;
165 
167 template<typename T>
168 inline const std::string& Syntax_Name(T enum_t_value) {
169  static_assert(::std::is_same<T, Syntax>::value ||
171  "Incorrect type passed to function Syntax_Name.");
173  Syntax_descriptor(), enum_t_value);
174 }
175 inline bool Syntax_Parse(
176  const std::string& name, Syntax* value) {
177  return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<Syntax>(
179 }
180 // ===================================================================
181 
182 class PROTOBUF_EXPORT Type :
183  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Type) */ {
184  public:
185  Type();
186  virtual ~Type();
187 
188  Type(const Type& from);
189  Type(Type&& from) noexcept
190  : Type() {
191  *this = ::std::move(from);
192  }
193 
194  inline Type& operator=(const Type& from) {
195  CopyFrom(from);
196  return *this;
197  }
198  inline Type& operator=(Type&& from) noexcept {
199  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
200  if (this != &from) InternalSwap(&from);
201  } else {
202  CopyFrom(from);
203  }
204  return *this;
205  }
206 
207  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
208  return GetArenaNoVirtual();
209  }
210  inline void* GetMaybeArenaPointer() const final {
211  return MaybeArenaPtr();
212  }
214  return GetDescriptor();
215  }
217  return GetMetadataStatic().descriptor;
218  }
219  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
220  return GetMetadataStatic().reflection;
221  }
222  static const Type& default_instance();
223 
224  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
225  static inline const Type* internal_default_instance() {
226  return reinterpret_cast<const Type*>(
228  }
229  static constexpr int kIndexInFileMessages =
230  0;
231 
232  friend void swap(Type& a, Type& b) {
233  a.Swap(&b);
234  }
235  inline void Swap(Type* other) {
236  if (other == this) return;
237  if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
238  InternalSwap(other);
239  } else {
241  }
242  }
243  void UnsafeArenaSwap(Type* other) {
244  if (other == this) return;
245  GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
246  InternalSwap(other);
247  }
248 
249  // implements Message ----------------------------------------------
250 
251  inline Type* New() const final {
252  return CreateMaybeMessage<Type>(nullptr);
253  }
254 
255  Type* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
256  return CreateMaybeMessage<Type>(arena);
257  }
258  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
259  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
260  void CopyFrom(const Type& from);
261  void MergeFrom(const Type& from);
262  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
263  bool IsInitialized() const final;
264 
265  size_t ByteSizeLong() const final;
266  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
267  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
268  #else
270  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
271  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
272  void SerializeWithCachedSizes(
273  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
274  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
275  ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
276  int GetCachedSize() const final { return _cached_size_.Get(); }
277 
278  private:
279  inline void SharedCtor();
280  inline void SharedDtor();
281  void SetCachedSize(int size) const final;
282  void InternalSwap(Type* other);
283  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
284  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
285  return "google.protobuf.Type";
286  }
287  protected:
288  explicit Type(::PROTOBUF_NAMESPACE_ID::Arena* arena);
289  private:
290  static void ArenaDtor(void* object);
291  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
292  private:
293  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
294  return _internal_metadata_.arena();
295  }
296  inline void* MaybeArenaPtr() const {
297  return _internal_metadata_.raw_arena_ptr();
298  }
299  public:
300 
301  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
302  private:
303  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
305  return ::descriptor_table_google_2fprotobuf_2ftype_2eproto.file_level_metadata[kIndexInFileMessages];
306  }
307 
308  public:
309 
310  // nested types ----------------------------------------------------
311 
312  // accessors -------------------------------------------------------
313 
314  enum : int {
315  kFieldsFieldNumber = 2,
316  kOneofsFieldNumber = 3,
317  kOptionsFieldNumber = 4,
318  kNameFieldNumber = 1,
319  kSourceContextFieldNumber = 5,
320  kSyntaxFieldNumber = 6,
321  };
322  // repeated .google.protobuf.Field fields = 2;
323  int fields_size() const;
324  void clear_fields();
325  PROTOBUF_NAMESPACE_ID::Field* mutable_fields(int index);
326  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field >*
327  mutable_fields();
328  const PROTOBUF_NAMESPACE_ID::Field& fields(int index) const;
329  PROTOBUF_NAMESPACE_ID::Field* add_fields();
330  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field >&
331  fields() const;
332 
333  // repeated string oneofs = 3;
334  int oneofs_size() const;
335  void clear_oneofs();
336  const std::string& oneofs(int index) const;
337  std::string* mutable_oneofs(int index);
338  void set_oneofs(int index, const std::string& value);
339  void set_oneofs(int index, std::string&& value);
340  void set_oneofs(int index, const char* value);
341  void set_oneofs(int index, const char* value, size_t size);
342  std::string* add_oneofs();
343  void add_oneofs(const std::string& value);
344  void add_oneofs(std::string&& value);
345  void add_oneofs(const char* value);
346  void add_oneofs(const char* value, size_t size);
347  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& oneofs() const;
348  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_oneofs();
349 
350  // repeated .google.protobuf.Option options = 4;
351  int options_size() const;
352  void clear_options();
353  PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index);
354  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
355  mutable_options();
356  const PROTOBUF_NAMESPACE_ID::Option& options(int index) const;
357  PROTOBUF_NAMESPACE_ID::Option* add_options();
358  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
359  options() const;
360 
361  // string name = 1;
362  void clear_name();
363  const std::string& name() const;
364  void set_name(const std::string& value);
365  void set_name(std::string&& value);
366  void set_name(const char* value);
367  void set_name(const char* value, size_t size);
368  std::string* mutable_name();
369  std::string* release_name();
370  void set_allocated_name(std::string* name);
371  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
372  " string fields are deprecated and will be removed in a"
373  " future release.")
374  std::string* unsafe_arena_release_name();
375  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
376  " string fields are deprecated and will be removed in a"
377  " future release.")
378  void unsafe_arena_set_allocated_name(
379  std::string* name);
380 
381  // .google.protobuf.SourceContext source_context = 5;
382  bool has_source_context() const;
383  void clear_source_context();
384  const PROTOBUF_NAMESPACE_ID::SourceContext& source_context() const;
385  PROTOBUF_NAMESPACE_ID::SourceContext* release_source_context();
386  PROTOBUF_NAMESPACE_ID::SourceContext* mutable_source_context();
387  void set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext* source_context);
388  void unsafe_arena_set_allocated_source_context(
389  PROTOBUF_NAMESPACE_ID::SourceContext* source_context);
390  PROTOBUF_NAMESPACE_ID::SourceContext* unsafe_arena_release_source_context();
391 
392  // .google.protobuf.Syntax syntax = 6;
393  void clear_syntax();
394  PROTOBUF_NAMESPACE_ID::Syntax syntax() const;
395  void set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
396 
397  // @@protoc_insertion_point(class_scope:google.protobuf.Type)
398  private:
399  class _Internal;
400 
401  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
402  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
404  typedef void DestructorSkippable_;
405  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field > fields_;
406  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> oneofs_;
407  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_;
408  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
409  PROTOBUF_NAMESPACE_ID::SourceContext* source_context_;
410  int syntax_;
411  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
413 };
414 // -------------------------------------------------------------------
415 
416 class PROTOBUF_EXPORT Field :
417  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Field) */ {
418  public:
419  Field();
420  virtual ~Field();
421 
422  Field(const Field& from);
423  Field(Field&& from) noexcept
424  : Field() {
425  *this = ::std::move(from);
426  }
427 
428  inline Field& operator=(const Field& from) {
429  CopyFrom(from);
430  return *this;
431  }
432  inline Field& operator=(Field&& from) noexcept {
433  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
434  if (this != &from) InternalSwap(&from);
435  } else {
436  CopyFrom(from);
437  }
438  return *this;
439  }
440 
441  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
442  return GetArenaNoVirtual();
443  }
444  inline void* GetMaybeArenaPointer() const final {
445  return MaybeArenaPtr();
446  }
448  return GetDescriptor();
449  }
451  return GetMetadataStatic().descriptor;
452  }
453  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
454  return GetMetadataStatic().reflection;
455  }
456  static const Field& default_instance();
457 
458  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
459  static inline const Field* internal_default_instance() {
460  return reinterpret_cast<const Field*>(
462  }
463  static constexpr int kIndexInFileMessages =
464  1;
465 
466  friend void swap(Field& a, Field& b) {
467  a.Swap(&b);
468  }
469  inline void Swap(Field* other) {
470  if (other == this) return;
471  if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
472  InternalSwap(other);
473  } else {
475  }
476  }
477  void UnsafeArenaSwap(Field* other) {
478  if (other == this) return;
479  GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
480  InternalSwap(other);
481  }
482 
483  // implements Message ----------------------------------------------
484 
485  inline Field* New() const final {
486  return CreateMaybeMessage<Field>(nullptr);
487  }
488 
489  Field* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
490  return CreateMaybeMessage<Field>(arena);
491  }
492  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
493  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
494  void CopyFrom(const Field& from);
495  void MergeFrom(const Field& from);
496  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
497  bool IsInitialized() const final;
498 
499  size_t ByteSizeLong() const final;
500  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
501  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
502  #else
504  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
505  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
506  void SerializeWithCachedSizes(
507  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
508  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
509  ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
510  int GetCachedSize() const final { return _cached_size_.Get(); }
511 
512  private:
513  inline void SharedCtor();
514  inline void SharedDtor();
515  void SetCachedSize(int size) const final;
516  void InternalSwap(Field* other);
517  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
518  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
519  return "google.protobuf.Field";
520  }
521  protected:
522  explicit Field(::PROTOBUF_NAMESPACE_ID::Arena* arena);
523  private:
524  static void ArenaDtor(void* object);
525  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
526  private:
527  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
528  return _internal_metadata_.arena();
529  }
530  inline void* MaybeArenaPtr() const {
531  return _internal_metadata_.raw_arena_ptr();
532  }
533  public:
534 
535  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
536  private:
537  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
539  return ::descriptor_table_google_2fprotobuf_2ftype_2eproto.file_level_metadata[kIndexInFileMessages];
540  }
541 
542  public:
543 
544  // nested types ----------------------------------------------------
545 
546  typedef Field_Kind Kind;
547  static constexpr Kind TYPE_UNKNOWN =
549  static constexpr Kind TYPE_DOUBLE =
551  static constexpr Kind TYPE_FLOAT =
553  static constexpr Kind TYPE_INT64 =
555  static constexpr Kind TYPE_UINT64 =
557  static constexpr Kind TYPE_INT32 =
559  static constexpr Kind TYPE_FIXED64 =
561  static constexpr Kind TYPE_FIXED32 =
563  static constexpr Kind TYPE_BOOL =
565  static constexpr Kind TYPE_STRING =
567  static constexpr Kind TYPE_GROUP =
569  static constexpr Kind TYPE_MESSAGE =
571  static constexpr Kind TYPE_BYTES =
573  static constexpr Kind TYPE_UINT32 =
575  static constexpr Kind TYPE_ENUM =
577  static constexpr Kind TYPE_SFIXED32 =
579  static constexpr Kind TYPE_SFIXED64 =
581  static constexpr Kind TYPE_SINT32 =
583  static constexpr Kind TYPE_SINT64 =
585  static inline bool Kind_IsValid(int value) {
586  return Field_Kind_IsValid(value);
587  }
588  static constexpr Kind Kind_MIN =
590  static constexpr Kind Kind_MAX =
592  static constexpr int Kind_ARRAYSIZE =
596  return Field_Kind_descriptor();
597  }
598  template<typename T>
599  static inline const std::string& Kind_Name(T enum_t_value) {
600  static_assert(::std::is_same<T, Kind>::value ||
602  "Incorrect type passed to function Kind_Name.");
603  return Field_Kind_Name(enum_t_value);
604  }
605  static inline bool Kind_Parse(const std::string& name,
606  Kind* value) {
607  return Field_Kind_Parse(name, value);
608  }
609 
611  static constexpr Cardinality CARDINALITY_UNKNOWN =
613  static constexpr Cardinality CARDINALITY_OPTIONAL =
615  static constexpr Cardinality CARDINALITY_REQUIRED =
617  static constexpr Cardinality CARDINALITY_REPEATED =
619  static inline bool Cardinality_IsValid(int value) {
621  }
622  static constexpr Cardinality Cardinality_MIN =
624  static constexpr Cardinality Cardinality_MAX =
626  static constexpr int Cardinality_ARRAYSIZE =
631  }
632  template<typename T>
633  static inline const std::string& Cardinality_Name(T enum_t_value) {
634  static_assert(::std::is_same<T, Cardinality>::value ||
636  "Incorrect type passed to function Cardinality_Name.");
637  return Field_Cardinality_Name(enum_t_value);
638  }
639  static inline bool Cardinality_Parse(const std::string& name,
640  Cardinality* value) {
642  }
643 
644  // accessors -------------------------------------------------------
645 
646  enum : int {
647  kOptionsFieldNumber = 9,
648  kNameFieldNumber = 4,
649  kTypeUrlFieldNumber = 6,
650  kJsonNameFieldNumber = 10,
651  kDefaultValueFieldNumber = 11,
652  kKindFieldNumber = 1,
653  kCardinalityFieldNumber = 2,
654  kNumberFieldNumber = 3,
655  kOneofIndexFieldNumber = 7,
656  kPackedFieldNumber = 8,
657  };
658  // repeated .google.protobuf.Option options = 9;
659  int options_size() const;
660  void clear_options();
661  PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index);
662  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
663  mutable_options();
664  const PROTOBUF_NAMESPACE_ID::Option& options(int index) const;
665  PROTOBUF_NAMESPACE_ID::Option* add_options();
666  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
667  options() const;
668 
669  // string name = 4;
670  void clear_name();
671  const std::string& name() const;
672  void set_name(const std::string& value);
673  void set_name(std::string&& value);
674  void set_name(const char* value);
675  void set_name(const char* value, size_t size);
676  std::string* mutable_name();
677  std::string* release_name();
678  void set_allocated_name(std::string* name);
679  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
680  " string fields are deprecated and will be removed in a"
681  " future release.")
682  std::string* unsafe_arena_release_name();
683  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
684  " string fields are deprecated and will be removed in a"
685  " future release.")
686  void unsafe_arena_set_allocated_name(
687  std::string* name);
688 
689  // string type_url = 6;
690  void clear_type_url();
691  const std::string& type_url() const;
692  void set_type_url(const std::string& value);
693  void set_type_url(std::string&& value);
694  void set_type_url(const char* value);
695  void set_type_url(const char* value, size_t size);
696  std::string* mutable_type_url();
697  std::string* release_type_url();
698  void set_allocated_type_url(std::string* type_url);
699  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
700  " string fields are deprecated and will be removed in a"
701  " future release.")
702  std::string* unsafe_arena_release_type_url();
703  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
704  " string fields are deprecated and will be removed in a"
705  " future release.")
706  void unsafe_arena_set_allocated_type_url(
707  std::string* type_url);
708 
709  // string json_name = 10;
710  void clear_json_name();
711  const std::string& json_name() const;
712  void set_json_name(const std::string& value);
713  void set_json_name(std::string&& value);
714  void set_json_name(const char* value);
715  void set_json_name(const char* value, size_t size);
716  std::string* mutable_json_name();
717  std::string* release_json_name();
718  void set_allocated_json_name(std::string* json_name);
719  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
720  " string fields are deprecated and will be removed in a"
721  " future release.")
722  std::string* unsafe_arena_release_json_name();
723  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
724  " string fields are deprecated and will be removed in a"
725  " future release.")
726  void unsafe_arena_set_allocated_json_name(
727  std::string* json_name);
728 
729  // string default_value = 11;
730  void clear_default_value();
731  const std::string& default_value() const;
732  void set_default_value(const std::string& value);
733  void set_default_value(std::string&& value);
734  void set_default_value(const char* value);
735  void set_default_value(const char* value, size_t size);
736  std::string* mutable_default_value();
737  std::string* release_default_value();
738  void set_allocated_default_value(std::string* default_value);
739  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
740  " string fields are deprecated and will be removed in a"
741  " future release.")
742  std::string* unsafe_arena_release_default_value();
743  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
744  " string fields are deprecated and will be removed in a"
745  " future release.")
746  void unsafe_arena_set_allocated_default_value(
747  std::string* default_value);
748 
749  // .google.protobuf.Field.Kind kind = 1;
750  void clear_kind();
751  PROTOBUF_NAMESPACE_ID::Field_Kind kind() const;
752  void set_kind(PROTOBUF_NAMESPACE_ID::Field_Kind value);
753 
754  // .google.protobuf.Field.Cardinality cardinality = 2;
755  void clear_cardinality();
756  PROTOBUF_NAMESPACE_ID::Field_Cardinality cardinality() const;
757  void set_cardinality(PROTOBUF_NAMESPACE_ID::Field_Cardinality value);
758 
759  // int32 number = 3;
760  void clear_number();
761  ::PROTOBUF_NAMESPACE_ID::int32 number() const;
762  void set_number(::PROTOBUF_NAMESPACE_ID::int32 value);
763 
764  // int32 oneof_index = 7;
765  void clear_oneof_index();
766  ::PROTOBUF_NAMESPACE_ID::int32 oneof_index() const;
767  void set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value);
768 
769  // bool packed = 8;
770  void clear_packed();
771  bool packed() const;
772  void set_packed(bool value);
773 
774  // @@protoc_insertion_point(class_scope:google.protobuf.Field)
775  private:
776  class _Internal;
777 
778  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
779  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
781  typedef void DestructorSkippable_;
782  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_;
783  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
784  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_url_;
785  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr json_name_;
786  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr default_value_;
787  int kind_;
788  int cardinality_;
789  ::PROTOBUF_NAMESPACE_ID::int32 number_;
790  ::PROTOBUF_NAMESPACE_ID::int32 oneof_index_;
791  bool packed_;
792  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
794 };
795 // -------------------------------------------------------------------
796 
797 class PROTOBUF_EXPORT Enum :
798  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Enum) */ {
799  public:
800  Enum();
801  virtual ~Enum();
802 
803  Enum(const Enum& from);
804  Enum(Enum&& from) noexcept
805  : Enum() {
806  *this = ::std::move(from);
807  }
808 
809  inline Enum& operator=(const Enum& from) {
810  CopyFrom(from);
811  return *this;
812  }
813  inline Enum& operator=(Enum&& from) noexcept {
814  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
815  if (this != &from) InternalSwap(&from);
816  } else {
817  CopyFrom(from);
818  }
819  return *this;
820  }
821 
822  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
823  return GetArenaNoVirtual();
824  }
825  inline void* GetMaybeArenaPointer() const final {
826  return MaybeArenaPtr();
827  }
829  return GetDescriptor();
830  }
832  return GetMetadataStatic().descriptor;
833  }
834  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
835  return GetMetadataStatic().reflection;
836  }
837  static const Enum& default_instance();
838 
839  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
840  static inline const Enum* internal_default_instance() {
841  return reinterpret_cast<const Enum*>(
843  }
844  static constexpr int kIndexInFileMessages =
845  2;
846 
847  friend void swap(Enum& a, Enum& b) {
848  a.Swap(&b);
849  }
850  inline void Swap(Enum* other) {
851  if (other == this) return;
852  if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
853  InternalSwap(other);
854  } else {
856  }
857  }
858  void UnsafeArenaSwap(Enum* other) {
859  if (other == this) return;
860  GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
861  InternalSwap(other);
862  }
863 
864  // implements Message ----------------------------------------------
865 
866  inline Enum* New() const final {
867  return CreateMaybeMessage<Enum>(nullptr);
868  }
869 
870  Enum* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
871  return CreateMaybeMessage<Enum>(arena);
872  }
873  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
874  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
875  void CopyFrom(const Enum& from);
876  void MergeFrom(const Enum& from);
877  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
878  bool IsInitialized() const final;
879 
880  size_t ByteSizeLong() const final;
881  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
882  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
883  #else
885  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
886  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
887  void SerializeWithCachedSizes(
888  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
889  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
890  ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
891  int GetCachedSize() const final { return _cached_size_.Get(); }
892 
893  private:
894  inline void SharedCtor();
895  inline void SharedDtor();
896  void SetCachedSize(int size) const final;
897  void InternalSwap(Enum* other);
898  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
899  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
900  return "google.protobuf.Enum";
901  }
902  protected:
903  explicit Enum(::PROTOBUF_NAMESPACE_ID::Arena* arena);
904  private:
905  static void ArenaDtor(void* object);
906  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
907  private:
908  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
909  return _internal_metadata_.arena();
910  }
911  inline void* MaybeArenaPtr() const {
912  return _internal_metadata_.raw_arena_ptr();
913  }
914  public:
915 
916  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
917  private:
918  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
920  return ::descriptor_table_google_2fprotobuf_2ftype_2eproto.file_level_metadata[kIndexInFileMessages];
921  }
922 
923  public:
924 
925  // nested types ----------------------------------------------------
926 
927  // accessors -------------------------------------------------------
928 
929  enum : int {
930  kEnumvalueFieldNumber = 2,
931  kOptionsFieldNumber = 3,
932  kNameFieldNumber = 1,
933  kSourceContextFieldNumber = 4,
934  kSyntaxFieldNumber = 5,
935  };
936  // repeated .google.protobuf.EnumValue enumvalue = 2;
937  int enumvalue_size() const;
938  void clear_enumvalue();
939  PROTOBUF_NAMESPACE_ID::EnumValue* mutable_enumvalue(int index);
940  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValue >*
941  mutable_enumvalue();
942  const PROTOBUF_NAMESPACE_ID::EnumValue& enumvalue(int index) const;
943  PROTOBUF_NAMESPACE_ID::EnumValue* add_enumvalue();
944  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValue >&
945  enumvalue() const;
946 
947  // repeated .google.protobuf.Option options = 3;
948  int options_size() const;
949  void clear_options();
950  PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index);
951  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
952  mutable_options();
953  const PROTOBUF_NAMESPACE_ID::Option& options(int index) const;
954  PROTOBUF_NAMESPACE_ID::Option* add_options();
955  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
956  options() const;
957 
958  // string name = 1;
959  void clear_name();
960  const std::string& name() const;
961  void set_name(const std::string& value);
962  void set_name(std::string&& value);
963  void set_name(const char* value);
964  void set_name(const char* value, size_t size);
965  std::string* mutable_name();
966  std::string* release_name();
967  void set_allocated_name(std::string* name);
968  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
969  " string fields are deprecated and will be removed in a"
970  " future release.")
971  std::string* unsafe_arena_release_name();
972  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
973  " string fields are deprecated and will be removed in a"
974  " future release.")
975  void unsafe_arena_set_allocated_name(
976  std::string* name);
977 
978  // .google.protobuf.SourceContext source_context = 4;
979  bool has_source_context() const;
980  void clear_source_context();
981  const PROTOBUF_NAMESPACE_ID::SourceContext& source_context() const;
982  PROTOBUF_NAMESPACE_ID::SourceContext* release_source_context();
983  PROTOBUF_NAMESPACE_ID::SourceContext* mutable_source_context();
984  void set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext* source_context);
985  void unsafe_arena_set_allocated_source_context(
986  PROTOBUF_NAMESPACE_ID::SourceContext* source_context);
987  PROTOBUF_NAMESPACE_ID::SourceContext* unsafe_arena_release_source_context();
988 
989  // .google.protobuf.Syntax syntax = 5;
990  void clear_syntax();
991  PROTOBUF_NAMESPACE_ID::Syntax syntax() const;
992  void set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
993 
994  // @@protoc_insertion_point(class_scope:google.protobuf.Enum)
995  private:
996  class _Internal;
997 
998  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
999  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1001  typedef void DestructorSkippable_;
1002  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValue > enumvalue_;
1003  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_;
1004  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
1005  PROTOBUF_NAMESPACE_ID::SourceContext* source_context_;
1006  int syntax_;
1007  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1009 };
1010 // -------------------------------------------------------------------
1011 
1012 class PROTOBUF_EXPORT EnumValue :
1013  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValue) */ {
1014  public:
1015  EnumValue();
1016  virtual ~EnumValue();
1017 
1018  EnumValue(const EnumValue& from);
1019  EnumValue(EnumValue&& from) noexcept
1020  : EnumValue() {
1021  *this = ::std::move(from);
1022  }
1023 
1024  inline EnumValue& operator=(const EnumValue& from) {
1025  CopyFrom(from);
1026  return *this;
1027  }
1028  inline EnumValue& operator=(EnumValue&& from) noexcept {
1029  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1030  if (this != &from) InternalSwap(&from);
1031  } else {
1032  CopyFrom(from);
1033  }
1034  return *this;
1035  }
1036 
1037  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1038  return GetArenaNoVirtual();
1039  }
1040  inline void* GetMaybeArenaPointer() const final {
1041  return MaybeArenaPtr();
1042  }
1044  return GetDescriptor();
1045  }
1047  return GetMetadataStatic().descriptor;
1048  }
1049  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1050  return GetMetadataStatic().reflection;
1051  }
1052  static const EnumValue& default_instance();
1053 
1054  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1055  static inline const EnumValue* internal_default_instance() {
1056  return reinterpret_cast<const EnumValue*>(
1058  }
1059  static constexpr int kIndexInFileMessages =
1060  3;
1061 
1062  friend void swap(EnumValue& a, EnumValue& b) {
1063  a.Swap(&b);
1064  }
1065  inline void Swap(EnumValue* other) {
1066  if (other == this) return;
1067  if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1068  InternalSwap(other);
1069  } else {
1071  }
1072  }
1074  if (other == this) return;
1075  GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1076  InternalSwap(other);
1077  }
1078 
1079  // implements Message ----------------------------------------------
1080 
1081  inline EnumValue* New() const final {
1082  return CreateMaybeMessage<EnumValue>(nullptr);
1083  }
1084 
1085  EnumValue* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1086  return CreateMaybeMessage<EnumValue>(arena);
1087  }
1088  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1089  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1090  void CopyFrom(const EnumValue& from);
1091  void MergeFrom(const EnumValue& from);
1092  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1093  bool IsInitialized() const final;
1094 
1095  size_t ByteSizeLong() const final;
1096  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1097  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1098  #else
1100  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1101  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1102  void SerializeWithCachedSizes(
1103  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1104  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1105  ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1106  int GetCachedSize() const final { return _cached_size_.Get(); }
1107 
1108  private:
1109  inline void SharedCtor();
1110  inline void SharedDtor();
1111  void SetCachedSize(int size) const final;
1112  void InternalSwap(EnumValue* other);
1113  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1114  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1115  return "google.protobuf.EnumValue";
1116  }
1117  protected:
1118  explicit EnumValue(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1119  private:
1120  static void ArenaDtor(void* object);
1121  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1122  private:
1123  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1124  return _internal_metadata_.arena();
1125  }
1126  inline void* MaybeArenaPtr() const {
1127  return _internal_metadata_.raw_arena_ptr();
1128  }
1129  public:
1130 
1131  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1132  private:
1133  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1135  return ::descriptor_table_google_2fprotobuf_2ftype_2eproto.file_level_metadata[kIndexInFileMessages];
1136  }
1137 
1138  public:
1139 
1140  // nested types ----------------------------------------------------
1141 
1142  // accessors -------------------------------------------------------
1143 
1144  enum : int {
1145  kOptionsFieldNumber = 3,
1146  kNameFieldNumber = 1,
1147  kNumberFieldNumber = 2,
1148  };
1149  // repeated .google.protobuf.Option options = 3;
1150  int options_size() const;
1151  void clear_options();
1152  PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index);
1153  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
1154  mutable_options();
1155  const PROTOBUF_NAMESPACE_ID::Option& options(int index) const;
1156  PROTOBUF_NAMESPACE_ID::Option* add_options();
1157  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
1158  options() const;
1159 
1160  // string name = 1;
1161  void clear_name();
1162  const std::string& name() const;
1163  void set_name(const std::string& value);
1164  void set_name(std::string&& value);
1165  void set_name(const char* value);
1166  void set_name(const char* value, size_t size);
1167  std::string* mutable_name();
1168  std::string* release_name();
1169  void set_allocated_name(std::string* name);
1170  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1171  " string fields are deprecated and will be removed in a"
1172  " future release.")
1173  std::string* unsafe_arena_release_name();
1174  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1175  " string fields are deprecated and will be removed in a"
1176  " future release.")
1177  void unsafe_arena_set_allocated_name(
1178  std::string* name);
1179 
1180  // int32 number = 2;
1181  void clear_number();
1182  ::PROTOBUF_NAMESPACE_ID::int32 number() const;
1183  void set_number(::PROTOBUF_NAMESPACE_ID::int32 value);
1184 
1185  // @@protoc_insertion_point(class_scope:google.protobuf.EnumValue)
1186  private:
1187  class _Internal;
1188 
1189  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1190  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1192  typedef void DestructorSkippable_;
1193  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_;
1194  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
1195  ::PROTOBUF_NAMESPACE_ID::int32 number_;
1196  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1198 };
1199 // -------------------------------------------------------------------
1200 
1201 class PROTOBUF_EXPORT Option :
1202  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Option) */ {
1203  public:
1204  Option();
1205  virtual ~Option();
1206 
1207  Option(const Option& from);
1208  Option(Option&& from) noexcept
1209  : Option() {
1210  *this = ::std::move(from);
1211  }
1212 
1213  inline Option& operator=(const Option& from) {
1214  CopyFrom(from);
1215  return *this;
1216  }
1217  inline Option& operator=(Option&& from) noexcept {
1218  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1219  if (this != &from) InternalSwap(&from);
1220  } else {
1221  CopyFrom(from);
1222  }
1223  return *this;
1224  }
1225 
1226  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArena() const final {
1227  return GetArenaNoVirtual();
1228  }
1229  inline void* GetMaybeArenaPointer() const final {
1230  return MaybeArenaPtr();
1231  }
1233  return GetDescriptor();
1234  }
1236  return GetMetadataStatic().descriptor;
1237  }
1238  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1239  return GetMetadataStatic().reflection;
1240  }
1241  static const Option& default_instance();
1242 
1243  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
1244  static inline const Option* internal_default_instance() {
1245  return reinterpret_cast<const Option*>(
1247  }
1248  static constexpr int kIndexInFileMessages =
1249  4;
1250 
1251  friend void swap(Option& a, Option& b) {
1252  a.Swap(&b);
1253  }
1254  inline void Swap(Option* other) {
1255  if (other == this) return;
1256  if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {
1257  InternalSwap(other);
1258  } else {
1260  }
1261  }
1262  void UnsafeArenaSwap(Option* other) {
1263  if (other == this) return;
1264  GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());
1265  InternalSwap(other);
1266  }
1267 
1268  // implements Message ----------------------------------------------
1269 
1270  inline Option* New() const final {
1271  return CreateMaybeMessage<Option>(nullptr);
1272  }
1273 
1274  Option* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1275  return CreateMaybeMessage<Option>(arena);
1276  }
1277  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1278  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
1279  void CopyFrom(const Option& from);
1280  void MergeFrom(const Option& from);
1281  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1282  bool IsInitialized() const final;
1283 
1284  size_t ByteSizeLong() const final;
1285  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1286  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1287  #else
1289  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
1290  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
1291  void SerializeWithCachedSizes(
1292  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
1293  ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
1294  ::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
1295  int GetCachedSize() const final { return _cached_size_.Get(); }
1296 
1297  private:
1298  inline void SharedCtor();
1299  inline void SharedDtor();
1300  void SetCachedSize(int size) const final;
1301  void InternalSwap(Option* other);
1302  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1303  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1304  return "google.protobuf.Option";
1305  }
1306  protected:
1307  explicit Option(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1308  private:
1309  static void ArenaDtor(void* object);
1310  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
1311  private:
1312  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
1313  return _internal_metadata_.arena();
1314  }
1315  inline void* MaybeArenaPtr() const {
1316  return _internal_metadata_.raw_arena_ptr();
1317  }
1318  public:
1319 
1320  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1321  private:
1322  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
1324  return ::descriptor_table_google_2fprotobuf_2ftype_2eproto.file_level_metadata[kIndexInFileMessages];
1325  }
1326 
1327  public:
1328 
1329  // nested types ----------------------------------------------------
1330 
1331  // accessors -------------------------------------------------------
1332 
1333  enum : int {
1334  kNameFieldNumber = 1,
1335  kValueFieldNumber = 2,
1336  };
1337  // string name = 1;
1338  void clear_name();
1339  const std::string& name() const;
1340  void set_name(const std::string& value);
1341  void set_name(std::string&& value);
1342  void set_name(const char* value);
1343  void set_name(const char* value, size_t size);
1344  std::string* mutable_name();
1345  std::string* release_name();
1346  void set_allocated_name(std::string* name);
1347  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1348  " string fields are deprecated and will be removed in a"
1349  " future release.")
1350  std::string* unsafe_arena_release_name();
1351  GOOGLE_PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"
1352  " string fields are deprecated and will be removed in a"
1353  " future release.")
1354  void unsafe_arena_set_allocated_name(
1355  std::string* name);
1356 
1357  // .google.protobuf.Any value = 2;
1358  bool has_value() const;
1359  void clear_value();
1360  const PROTOBUF_NAMESPACE_ID::Any& value() const;
1361  PROTOBUF_NAMESPACE_ID::Any* release_value();
1362  PROTOBUF_NAMESPACE_ID::Any* mutable_value();
1363  void set_allocated_value(PROTOBUF_NAMESPACE_ID::Any* value);
1364  void unsafe_arena_set_allocated_value(
1365  PROTOBUF_NAMESPACE_ID::Any* value);
1366  PROTOBUF_NAMESPACE_ID::Any* unsafe_arena_release_value();
1367 
1368  // @@protoc_insertion_point(class_scope:google.protobuf.Option)
1369  private:
1370  class _Internal;
1371 
1372  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
1373  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1375  typedef void DestructorSkippable_;
1376  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
1377  PROTOBUF_NAMESPACE_ID::Any* value_;
1378  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1380 };
1381 // ===================================================================
1382 
1383 
1384 // ===================================================================
1385 
1386 #ifdef __GNUC__
1387  #pragma GCC diagnostic push
1388  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1389 #endif // __GNUC__
1390 // Type
1391 
1392 // string name = 1;
1393 inline void Type::clear_name() {
1394  name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1395 }
1396 inline const std::string& Type::name() const {
1397  // @@protoc_insertion_point(field_get:google.protobuf.Type.name)
1398  return name_.Get();
1399 }
1400 inline void Type::set_name(const std::string& value) {
1401 
1403  // @@protoc_insertion_point(field_set:google.protobuf.Type.name)
1404 }
1406 
1407  name_.Set(
1408  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1409  // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Type.name)
1410 }
1411 inline void Type::set_name(const char* value) {
1412  GOOGLE_DCHECK(value != nullptr);
1413 
1415  GetArenaNoVirtual());
1416  // @@protoc_insertion_point(field_set_char:google.protobuf.Type.name)
1417 }
1418 inline void Type::set_name(const char* value,
1419  size_t size) {
1420 
1422  reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1423  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Type.name)
1424 }
1426 
1427  // @@protoc_insertion_point(field_mutable:google.protobuf.Type.name)
1428  return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1429 }
1431  // @@protoc_insertion_point(field_release:google.protobuf.Type.name)
1432 
1433  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1434 }
1436  if (name != nullptr) {
1437 
1438  } else {
1439 
1440  }
1442  GetArenaNoVirtual());
1443  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.name)
1444 }
1445 inline std::string* Type::unsafe_arena_release_name() {
1446  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Type.name)
1447  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
1448 
1450  GetArenaNoVirtual());
1451 }
1452 inline void Type::unsafe_arena_set_allocated_name(
1453  std::string* name) {
1454  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
1455  if (name != nullptr) {
1456 
1457  } else {
1458 
1459  }
1461  name, GetArenaNoVirtual());
1462  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Type.name)
1463 }
1464 
1465 // repeated .google.protobuf.Field fields = 2;
1466 inline int Type::fields_size() const {
1467  return fields_.size();
1468 }
1469 inline void Type::clear_fields() {
1470  fields_.Clear();
1471 }
1473  // @@protoc_insertion_point(field_mutable:google.protobuf.Type.fields)
1474  return fields_.Mutable(index);
1475 }
1476 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field >*
1478  // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.fields)
1479  return &fields_;
1480 }
1482  // @@protoc_insertion_point(field_get:google.protobuf.Type.fields)
1483  return fields_.Get(index);
1484 }
1486  // @@protoc_insertion_point(field_add:google.protobuf.Type.fields)
1487  return fields_.Add();
1488 }
1489 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field >&
1490 Type::fields() const {
1491  // @@protoc_insertion_point(field_list:google.protobuf.Type.fields)
1492  return fields_;
1493 }
1494 
1495 // repeated string oneofs = 3;
1496 inline int Type::oneofs_size() const {
1497  return oneofs_.size();
1498 }
1499 inline void Type::clear_oneofs() {
1500  oneofs_.Clear();
1501 }
1502 inline const std::string& Type::oneofs(int index) const {
1503  // @@protoc_insertion_point(field_get:google.protobuf.Type.oneofs)
1504  return oneofs_.Get(index);
1505 }
1507  // @@protoc_insertion_point(field_mutable:google.protobuf.Type.oneofs)
1508  return oneofs_.Mutable(index);
1509 }
1510 inline void Type::set_oneofs(int index, const std::string& value) {
1511  // @@protoc_insertion_point(field_set:google.protobuf.Type.oneofs)
1512  oneofs_.Mutable(index)->assign(value);
1513 }
1515  // @@protoc_insertion_point(field_set:google.protobuf.Type.oneofs)
1516  oneofs_.Mutable(index)->assign(std::move(value));
1517 }
1518 inline void Type::set_oneofs(int index, const char* value) {
1519  GOOGLE_DCHECK(value != nullptr);
1520  oneofs_.Mutable(index)->assign(value);
1521  // @@protoc_insertion_point(field_set_char:google.protobuf.Type.oneofs)
1522 }
1523 inline void Type::set_oneofs(int index, const char* value, size_t size) {
1524  oneofs_.Mutable(index)->assign(
1525  reinterpret_cast<const char*>(value), size);
1526  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Type.oneofs)
1527 }
1529  // @@protoc_insertion_point(field_add_mutable:google.protobuf.Type.oneofs)
1530  return oneofs_.Add();
1531 }
1532 inline void Type::add_oneofs(const std::string& value) {
1533  oneofs_.Add()->assign(value);
1534  // @@protoc_insertion_point(field_add:google.protobuf.Type.oneofs)
1535 }
1537  oneofs_.Add(std::move(value));
1538  // @@protoc_insertion_point(field_add:google.protobuf.Type.oneofs)
1539 }
1540 inline void Type::add_oneofs(const char* value) {
1541  GOOGLE_DCHECK(value != nullptr);
1542  oneofs_.Add()->assign(value);
1543  // @@protoc_insertion_point(field_add_char:google.protobuf.Type.oneofs)
1544 }
1545 inline void Type::add_oneofs(const char* value, size_t size) {
1546  oneofs_.Add()->assign(reinterpret_cast<const char*>(value), size);
1547  // @@protoc_insertion_point(field_add_pointer:google.protobuf.Type.oneofs)
1548 }
1549 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1550 Type::oneofs() const {
1551  // @@protoc_insertion_point(field_list:google.protobuf.Type.oneofs)
1552  return oneofs_;
1553 }
1554 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1556  // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.oneofs)
1557  return &oneofs_;
1558 }
1559 
1560 // repeated .google.protobuf.Option options = 4;
1561 inline int Type::options_size() const {
1562  return options_.size();
1563 }
1564 inline void Type::clear_options() {
1565  options_.Clear();
1566 }
1568  // @@protoc_insertion_point(field_mutable:google.protobuf.Type.options)
1569  return options_.Mutable(index);
1570 }
1571 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
1573  // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.options)
1574  return &options_;
1575 }
1577  // @@protoc_insertion_point(field_get:google.protobuf.Type.options)
1578  return options_.Get(index);
1579 }
1581  // @@protoc_insertion_point(field_add:google.protobuf.Type.options)
1582  return options_.Add();
1583 }
1584 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
1585 Type::options() const {
1586  // @@protoc_insertion_point(field_list:google.protobuf.Type.options)
1587  return options_;
1588 }
1589 
1590 // .google.protobuf.SourceContext source_context = 5;
1591 inline bool Type::has_source_context() const {
1592  return this != internal_default_instance() && source_context_ != nullptr;
1593 }
1595  const PROTOBUF_NAMESPACE_ID::SourceContext* p = source_context_;
1596  // @@protoc_insertion_point(field_get:google.protobuf.Type.source_context)
1597  return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::SourceContext*>(
1599 }
1601  // @@protoc_insertion_point(field_release:google.protobuf.Type.source_context)
1602 
1603  PROTOBUF_NAMESPACE_ID::SourceContext* temp = source_context_;
1604  if (GetArenaNoVirtual() != nullptr) {
1606  }
1607  source_context_ = nullptr;
1608  return temp;
1609 }
1611  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Type.source_context)
1612 
1613  PROTOBUF_NAMESPACE_ID::SourceContext* temp = source_context_;
1614  source_context_ = nullptr;
1615  return temp;
1616 }
1618 
1619  if (source_context_ == nullptr) {
1620  auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceContext>(GetArenaNoVirtual());
1621  source_context_ = p;
1622  }
1623  // @@protoc_insertion_point(field_mutable:google.protobuf.Type.source_context)
1624  return source_context_;
1625 }
1627  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
1628  if (message_arena == nullptr) {
1629  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_context_);
1630  }
1631  if (source_context) {
1632  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
1633  if (message_arena != submessage_arena) {
1635  message_arena, source_context, submessage_arena);
1636  }
1637 
1638  } else {
1639 
1640  }
1641  source_context_ = source_context;
1642  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.source_context)
1643 }
1644 
1645 // .google.protobuf.Syntax syntax = 6;
1646 inline void Type::clear_syntax() {
1647  syntax_ = 0;
1648 }
1650  // @@protoc_insertion_point(field_get:google.protobuf.Type.syntax)
1651  return static_cast< PROTOBUF_NAMESPACE_ID::Syntax >(syntax_);
1652 }
1654 
1655  syntax_ = value;
1656  // @@protoc_insertion_point(field_set:google.protobuf.Type.syntax)
1657 }
1658 
1659 // -------------------------------------------------------------------
1660 
1661 // Field
1662 
1663 // .google.protobuf.Field.Kind kind = 1;
1664 inline void Field::clear_kind() {
1665  kind_ = 0;
1666 }
1668  // @@protoc_insertion_point(field_get:google.protobuf.Field.kind)
1669  return static_cast< PROTOBUF_NAMESPACE_ID::Field_Kind >(kind_);
1670 }
1672 
1673  kind_ = value;
1674  // @@protoc_insertion_point(field_set:google.protobuf.Field.kind)
1675 }
1676 
1677 // .google.protobuf.Field.Cardinality cardinality = 2;
1679  cardinality_ = 0;
1680 }
1682  // @@protoc_insertion_point(field_get:google.protobuf.Field.cardinality)
1683  return static_cast< PROTOBUF_NAMESPACE_ID::Field_Cardinality >(cardinality_);
1684 }
1686 
1687  cardinality_ = value;
1688  // @@protoc_insertion_point(field_set:google.protobuf.Field.cardinality)
1689 }
1690 
1691 // int32 number = 3;
1692 inline void Field::clear_number() {
1693  number_ = 0;
1694 }
1696  // @@protoc_insertion_point(field_get:google.protobuf.Field.number)
1697  return number_;
1698 }
1700 
1701  number_ = value;
1702  // @@protoc_insertion_point(field_set:google.protobuf.Field.number)
1703 }
1704 
1705 // string name = 4;
1706 inline void Field::clear_name() {
1707  name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1708 }
1709 inline const std::string& Field::name() const {
1710  // @@protoc_insertion_point(field_get:google.protobuf.Field.name)
1711  return name_.Get();
1712 }
1713 inline void Field::set_name(const std::string& value) {
1714 
1716  // @@protoc_insertion_point(field_set:google.protobuf.Field.name)
1717 }
1719 
1720  name_.Set(
1721  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1722  // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.name)
1723 }
1724 inline void Field::set_name(const char* value) {
1725  GOOGLE_DCHECK(value != nullptr);
1726 
1728  GetArenaNoVirtual());
1729  // @@protoc_insertion_point(field_set_char:google.protobuf.Field.name)
1730 }
1731 inline void Field::set_name(const char* value,
1732  size_t size) {
1733 
1735  reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1736  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.name)
1737 }
1739 
1740  // @@protoc_insertion_point(field_mutable:google.protobuf.Field.name)
1741  return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1742 }
1744  // @@protoc_insertion_point(field_release:google.protobuf.Field.name)
1745 
1746  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1747 }
1749  if (name != nullptr) {
1750 
1751  } else {
1752 
1753  }
1755  GetArenaNoVirtual());
1756  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.name)
1757 }
1758 inline std::string* Field::unsafe_arena_release_name() {
1759  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.name)
1760  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
1761 
1763  GetArenaNoVirtual());
1764 }
1765 inline void Field::unsafe_arena_set_allocated_name(
1766  std::string* name) {
1767  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
1768  if (name != nullptr) {
1769 
1770  } else {
1771 
1772  }
1774  name, GetArenaNoVirtual());
1775  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Field.name)
1776 }
1777 
1778 // string type_url = 6;
1779 inline void Field::clear_type_url() {
1780  type_url_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1781 }
1782 inline const std::string& Field::type_url() const {
1783  // @@protoc_insertion_point(field_get:google.protobuf.Field.type_url)
1784  return type_url_.Get();
1785 }
1787 
1788  type_url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1789  // @@protoc_insertion_point(field_set:google.protobuf.Field.type_url)
1790 }
1792 
1793  type_url_.Set(
1794  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1795  // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.type_url)
1796 }
1797 inline void Field::set_type_url(const char* value) {
1798  GOOGLE_DCHECK(value != nullptr);
1799 
1801  GetArenaNoVirtual());
1802  // @@protoc_insertion_point(field_set_char:google.protobuf.Field.type_url)
1803 }
1804 inline void Field::set_type_url(const char* value,
1805  size_t size) {
1806 
1808  reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1809  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.type_url)
1810 }
1812 
1813  // @@protoc_insertion_point(field_mutable:google.protobuf.Field.type_url)
1814  return type_url_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1815 }
1817  // @@protoc_insertion_point(field_release:google.protobuf.Field.type_url)
1818 
1819  return type_url_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1820 }
1822  if (type_url != nullptr) {
1823 
1824  } else {
1825 
1826  }
1828  GetArenaNoVirtual());
1829  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.type_url)
1830 }
1831 inline std::string* Field::unsafe_arena_release_type_url() {
1832  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.type_url)
1833  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
1834 
1835  return type_url_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1836  GetArenaNoVirtual());
1837 }
1838 inline void Field::unsafe_arena_set_allocated_type_url(
1839  std::string* type_url) {
1840  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
1841  if (type_url != nullptr) {
1842 
1843  } else {
1844 
1845  }
1846  type_url_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1847  type_url, GetArenaNoVirtual());
1848  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Field.type_url)
1849 }
1850 
1851 // int32 oneof_index = 7;
1853  oneof_index_ = 0;
1854 }
1856  // @@protoc_insertion_point(field_get:google.protobuf.Field.oneof_index)
1857  return oneof_index_;
1858 }
1860 
1861  oneof_index_ = value;
1862  // @@protoc_insertion_point(field_set:google.protobuf.Field.oneof_index)
1863 }
1864 
1865 // bool packed = 8;
1866 inline void Field::clear_packed() {
1867  packed_ = false;
1868 }
1869 inline bool Field::packed() const {
1870  // @@protoc_insertion_point(field_get:google.protobuf.Field.packed)
1871  return packed_;
1872 }
1873 inline void Field::set_packed(bool value) {
1874 
1875  packed_ = value;
1876  // @@protoc_insertion_point(field_set:google.protobuf.Field.packed)
1877 }
1878 
1879 // repeated .google.protobuf.Option options = 9;
1880 inline int Field::options_size() const {
1881  return options_.size();
1882 }
1883 inline void Field::clear_options() {
1884  options_.Clear();
1885 }
1887  // @@protoc_insertion_point(field_mutable:google.protobuf.Field.options)
1888  return options_.Mutable(index);
1889 }
1890 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
1892  // @@protoc_insertion_point(field_mutable_list:google.protobuf.Field.options)
1893  return &options_;
1894 }
1896  // @@protoc_insertion_point(field_get:google.protobuf.Field.options)
1897  return options_.Get(index);
1898 }
1900  // @@protoc_insertion_point(field_add:google.protobuf.Field.options)
1901  return options_.Add();
1902 }
1903 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
1905  // @@protoc_insertion_point(field_list:google.protobuf.Field.options)
1906  return options_;
1907 }
1908 
1909 // string json_name = 10;
1910 inline void Field::clear_json_name() {
1911  json_name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1912 }
1913 inline const std::string& Field::json_name() const {
1914  // @@protoc_insertion_point(field_get:google.protobuf.Field.json_name)
1915  return json_name_.Get();
1916 }
1918 
1919  json_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1920  // @@protoc_insertion_point(field_set:google.protobuf.Field.json_name)
1921 }
1923 
1924  json_name_.Set(
1925  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1926  // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.json_name)
1927 }
1928 inline void Field::set_json_name(const char* value) {
1929  GOOGLE_DCHECK(value != nullptr);
1930 
1932  GetArenaNoVirtual());
1933  // @@protoc_insertion_point(field_set_char:google.protobuf.Field.json_name)
1934 }
1935 inline void Field::set_json_name(const char* value,
1936  size_t size) {
1937 
1939  reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
1940  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.json_name)
1941 }
1943 
1944  // @@protoc_insertion_point(field_mutable:google.protobuf.Field.json_name)
1945  return json_name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1946 }
1948  // @@protoc_insertion_point(field_release:google.protobuf.Field.json_name)
1949 
1950  return json_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1951 }
1953  if (json_name != nullptr) {
1954 
1955  } else {
1956 
1957  }
1958  json_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), json_name,
1959  GetArenaNoVirtual());
1960  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.json_name)
1961 }
1962 inline std::string* Field::unsafe_arena_release_json_name() {
1963  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.json_name)
1964  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
1965 
1966  return json_name_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1967  GetArenaNoVirtual());
1968 }
1969 inline void Field::unsafe_arena_set_allocated_json_name(
1970  std::string* json_name) {
1971  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
1972  if (json_name != nullptr) {
1973 
1974  } else {
1975 
1976  }
1977  json_name_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1978  json_name, GetArenaNoVirtual());
1979  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Field.json_name)
1980 }
1981 
1982 // string default_value = 11;
1983 inline void Field::clear_default_value() {
1984  default_value_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
1985 }
1986 inline const std::string& Field::default_value() const {
1987  // @@protoc_insertion_point(field_get:google.protobuf.Field.default_value)
1988  return default_value_.Get();
1989 }
1991 
1992  default_value_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());
1993  // @@protoc_insertion_point(field_set:google.protobuf.Field.default_value)
1994 }
1996 
1997  default_value_.Set(
1998  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
1999  // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Field.default_value)
2000 }
2001 inline void Field::set_default_value(const char* value) {
2002  GOOGLE_DCHECK(value != nullptr);
2003 
2005  GetArenaNoVirtual());
2006  // @@protoc_insertion_point(field_set_char:google.protobuf.Field.default_value)
2007 }
2008 inline void Field::set_default_value(const char* value,
2009  size_t size) {
2010 
2012  reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
2013  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Field.default_value)
2014 }
2016 
2017  // @@protoc_insertion_point(field_mutable:google.protobuf.Field.default_value)
2018  return default_value_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2019 }
2021  // @@protoc_insertion_point(field_release:google.protobuf.Field.default_value)
2022 
2023  return default_value_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2024 }
2026  if (default_value != nullptr) {
2027 
2028  } else {
2029 
2030  }
2032  GetArenaNoVirtual());
2033  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.default_value)
2034 }
2035 inline std::string* Field::unsafe_arena_release_default_value() {
2036  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Field.default_value)
2037  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
2038 
2039  return default_value_.UnsafeArenaRelease(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2040  GetArenaNoVirtual());
2041 }
2042 inline void Field::unsafe_arena_set_allocated_default_value(
2043  std::string* default_value) {
2044  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
2045  if (default_value != nullptr) {
2046 
2047  } else {
2048 
2049  }
2050  default_value_.UnsafeArenaSetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
2051  default_value, GetArenaNoVirtual());
2052  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Field.default_value)
2053 }
2054 
2055 // -------------------------------------------------------------------
2056 
2057 // Enum
2058 
2059 // string name = 1;
2060 inline void Enum::clear_name() {
2061  name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2062 }
2063 inline const std::string& Enum::name() const {
2064  // @@protoc_insertion_point(field_get:google.protobuf.Enum.name)
2065  return name_.Get();
2066 }
2067 inline void Enum::set_name(const std::string& value) {
2068 
2070  // @@protoc_insertion_point(field_set:google.protobuf.Enum.name)
2071 }
2073 
2074  name_.Set(
2075  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
2076  // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Enum.name)
2077 }
2078 inline void Enum::set_name(const char* value) {
2079  GOOGLE_DCHECK(value != nullptr);
2080 
2082  GetArenaNoVirtual());
2083  // @@protoc_insertion_point(field_set_char:google.protobuf.Enum.name)
2084 }
2085 inline void Enum::set_name(const char* value,
2086  size_t size) {
2087 
2089  reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
2090  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Enum.name)
2091 }
2093 
2094  // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.name)
2095  return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2096 }
2098  // @@protoc_insertion_point(field_release:google.protobuf.Enum.name)
2099 
2100  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2101 }
2103  if (name != nullptr) {
2104 
2105  } else {
2106 
2107  }
2109  GetArenaNoVirtual());
2110  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.name)
2111 }
2112 inline std::string* Enum::unsafe_arena_release_name() {
2113  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Enum.name)
2114  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
2115 
2117  GetArenaNoVirtual());
2118 }
2119 inline void Enum::unsafe_arena_set_allocated_name(
2120  std::string* name) {
2121  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
2122  if (name != nullptr) {
2123 
2124  } else {
2125 
2126  }
2128  name, GetArenaNoVirtual());
2129  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Enum.name)
2130 }
2131 
2132 // repeated .google.protobuf.EnumValue enumvalue = 2;
2133 inline int Enum::enumvalue_size() const {
2134  return enumvalue_.size();
2135 }
2136 inline void Enum::clear_enumvalue() {
2137  enumvalue_.Clear();
2138 }
2140  // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.enumvalue)
2141  return enumvalue_.Mutable(index);
2142 }
2143 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValue >*
2145  // @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.enumvalue)
2146  return &enumvalue_;
2147 }
2149  // @@protoc_insertion_point(field_get:google.protobuf.Enum.enumvalue)
2150  return enumvalue_.Get(index);
2151 }
2153  // @@protoc_insertion_point(field_add:google.protobuf.Enum.enumvalue)
2154  return enumvalue_.Add();
2155 }
2156 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValue >&
2158  // @@protoc_insertion_point(field_list:google.protobuf.Enum.enumvalue)
2159  return enumvalue_;
2160 }
2161 
2162 // repeated .google.protobuf.Option options = 3;
2163 inline int Enum::options_size() const {
2164  return options_.size();
2165 }
2166 inline void Enum::clear_options() {
2167  options_.Clear();
2168 }
2170  // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.options)
2171  return options_.Mutable(index);
2172 }
2173 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
2175  // @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.options)
2176  return &options_;
2177 }
2179  // @@protoc_insertion_point(field_get:google.protobuf.Enum.options)
2180  return options_.Get(index);
2181 }
2183  // @@protoc_insertion_point(field_add:google.protobuf.Enum.options)
2184  return options_.Add();
2185 }
2186 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
2187 Enum::options() const {
2188  // @@protoc_insertion_point(field_list:google.protobuf.Enum.options)
2189  return options_;
2190 }
2191 
2192 // .google.protobuf.SourceContext source_context = 4;
2193 inline bool Enum::has_source_context() const {
2194  return this != internal_default_instance() && source_context_ != nullptr;
2195 }
2197  const PROTOBUF_NAMESPACE_ID::SourceContext* p = source_context_;
2198  // @@protoc_insertion_point(field_get:google.protobuf.Enum.source_context)
2199  return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::SourceContext*>(
2201 }
2203  // @@protoc_insertion_point(field_release:google.protobuf.Enum.source_context)
2204 
2205  PROTOBUF_NAMESPACE_ID::SourceContext* temp = source_context_;
2206  if (GetArenaNoVirtual() != nullptr) {
2208  }
2209  source_context_ = nullptr;
2210  return temp;
2211 }
2213  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Enum.source_context)
2214 
2215  PROTOBUF_NAMESPACE_ID::SourceContext* temp = source_context_;
2216  source_context_ = nullptr;
2217  return temp;
2218 }
2220 
2221  if (source_context_ == nullptr) {
2222  auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceContext>(GetArenaNoVirtual());
2223  source_context_ = p;
2224  }
2225  // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.source_context)
2226  return source_context_;
2227 }
2229  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
2230  if (message_arena == nullptr) {
2231  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_context_);
2232  }
2233  if (source_context) {
2234  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
2235  if (message_arena != submessage_arena) {
2237  message_arena, source_context, submessage_arena);
2238  }
2239 
2240  } else {
2241 
2242  }
2243  source_context_ = source_context;
2244  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.source_context)
2245 }
2246 
2247 // .google.protobuf.Syntax syntax = 5;
2248 inline void Enum::clear_syntax() {
2249  syntax_ = 0;
2250 }
2252  // @@protoc_insertion_point(field_get:google.protobuf.Enum.syntax)
2253  return static_cast< PROTOBUF_NAMESPACE_ID::Syntax >(syntax_);
2254 }
2256 
2257  syntax_ = value;
2258  // @@protoc_insertion_point(field_set:google.protobuf.Enum.syntax)
2259 }
2260 
2261 // -------------------------------------------------------------------
2262 
2263 // EnumValue
2264 
2265 // string name = 1;
2266 inline void EnumValue::clear_name() {
2267  name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2268 }
2269 inline const std::string& EnumValue::name() const {
2270  // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.name)
2271  return name_.Get();
2272 }
2274 
2276  // @@protoc_insertion_point(field_set:google.protobuf.EnumValue.name)
2277 }
2279 
2280  name_.Set(
2281  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
2282  // @@protoc_insertion_point(field_set_rvalue:google.protobuf.EnumValue.name)
2283 }
2284 inline void EnumValue::set_name(const char* value) {
2285  GOOGLE_DCHECK(value != nullptr);
2286 
2288  GetArenaNoVirtual());
2289  // @@protoc_insertion_point(field_set_char:google.protobuf.EnumValue.name)
2290 }
2291 inline void EnumValue::set_name(const char* value,
2292  size_t size) {
2293 
2295  reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
2296  // @@protoc_insertion_point(field_set_pointer:google.protobuf.EnumValue.name)
2297 }
2299 
2300  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.name)
2301  return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2302 }
2304  // @@protoc_insertion_point(field_release:google.protobuf.EnumValue.name)
2305 
2306  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2307 }
2309  if (name != nullptr) {
2310 
2311  } else {
2312 
2313  }
2315  GetArenaNoVirtual());
2316  // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValue.name)
2317 }
2318 inline std::string* EnumValue::unsafe_arena_release_name() {
2319  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.EnumValue.name)
2320  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
2321 
2323  GetArenaNoVirtual());
2324 }
2325 inline void EnumValue::unsafe_arena_set_allocated_name(
2326  std::string* name) {
2327  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
2328  if (name != nullptr) {
2329 
2330  } else {
2331 
2332  }
2334  name, GetArenaNoVirtual());
2335  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.EnumValue.name)
2336 }
2337 
2338 // int32 number = 2;
2339 inline void EnumValue::clear_number() {
2340  number_ = 0;
2341 }
2343  // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.number)
2344  return number_;
2345 }
2347 
2348  number_ = value;
2349  // @@protoc_insertion_point(field_set:google.protobuf.EnumValue.number)
2350 }
2351 
2352 // repeated .google.protobuf.Option options = 3;
2353 inline int EnumValue::options_size() const {
2354  return options_.size();
2355 }
2357  options_.Clear();
2358 }
2360  // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.options)
2361  return options_.Mutable(index);
2362 }
2363 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
2365  // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValue.options)
2366  return &options_;
2367 }
2369  // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.options)
2370  return options_.Get(index);
2371 }
2373  // @@protoc_insertion_point(field_add:google.protobuf.EnumValue.options)
2374  return options_.Add();
2375 }
2376 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
2378  // @@protoc_insertion_point(field_list:google.protobuf.EnumValue.options)
2379  return options_;
2380 }
2381 
2382 // -------------------------------------------------------------------
2383 
2384 // Option
2385 
2386 // string name = 1;
2387 inline void Option::clear_name() {
2388  name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2389 }
2390 inline const std::string& Option::name() const {
2391  // @@protoc_insertion_point(field_get:google.protobuf.Option.name)
2392  return name_.Get();
2393 }
2394 inline void Option::set_name(const std::string& value) {
2395 
2397  // @@protoc_insertion_point(field_set:google.protobuf.Option.name)
2398 }
2400 
2401  name_.Set(
2402  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());
2403  // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Option.name)
2404 }
2405 inline void Option::set_name(const char* value) {
2406  GOOGLE_DCHECK(value != nullptr);
2407 
2409  GetArenaNoVirtual());
2410  // @@protoc_insertion_point(field_set_char:google.protobuf.Option.name)
2411 }
2412 inline void Option::set_name(const char* value,
2413  size_t size) {
2414 
2416  reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());
2417  // @@protoc_insertion_point(field_set_pointer:google.protobuf.Option.name)
2418 }
2420 
2421  // @@protoc_insertion_point(field_mutable:google.protobuf.Option.name)
2422  return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2423 }
2425  // @@protoc_insertion_point(field_release:google.protobuf.Option.name)
2426 
2427  return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());
2428 }
2430  if (name != nullptr) {
2431 
2432  } else {
2433 
2434  }
2436  GetArenaNoVirtual());
2437  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.name)
2438 }
2439 inline std::string* Option::unsafe_arena_release_name() {
2440  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Option.name)
2441  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
2442 
2444  GetArenaNoVirtual());
2445 }
2446 inline void Option::unsafe_arena_set_allocated_name(
2447  std::string* name) {
2448  GOOGLE_DCHECK(GetArenaNoVirtual() != nullptr);
2449  if (name != nullptr) {
2450 
2451  } else {
2452 
2453  }
2455  name, GetArenaNoVirtual());
2456  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Option.name)
2457 }
2458 
2459 // .google.protobuf.Any value = 2;
2460 inline bool Option::has_value() const {
2461  return this != internal_default_instance() && value_ != nullptr;
2462 }
2465  // @@protoc_insertion_point(field_get:google.protobuf.Option.value)
2466  return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::Any*>(
2468 }
2470  // @@protoc_insertion_point(field_release:google.protobuf.Option.value)
2471 
2473  if (GetArenaNoVirtual() != nullptr) {
2475  }
2476  value_ = nullptr;
2477  return temp;
2478 }
2480  // @@protoc_insertion_point(field_unsafe_arena_release:google.protobuf.Option.value)
2481 
2483  value_ = nullptr;
2484  return temp;
2485 }
2487 
2488  if (value_ == nullptr) {
2489  auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Any>(GetArenaNoVirtual());
2490  value_ = p;
2491  }
2492  // @@protoc_insertion_point(field_mutable:google.protobuf.Option.value)
2493  return value_;
2494 }
2496  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
2497  if (message_arena == nullptr) {
2498  delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(value_);
2499  }
2500  if (value) {
2501  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
2502  if (message_arena != submessage_arena) {
2504  message_arena, value, submessage_arena);
2505  }
2506 
2507  } else {
2508 
2509  }
2510  value_ = value;
2511  // @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.value)
2512 }
2513 
2514 #ifdef __GNUC__
2515  #pragma GCC diagnostic pop
2516 #endif // __GNUC__
2517 // -------------------------------------------------------------------
2518 
2519 // -------------------------------------------------------------------
2520 
2521 // -------------------------------------------------------------------
2522 
2523 // -------------------------------------------------------------------
2524 
2525 
2526 // @@protoc_insertion_point(namespace_scope)
2527 
2528 PROTOBUF_NAMESPACE_CLOSE
2529 
2530 PROTOBUF_NAMESPACE_OPEN
2531 
2532 template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::Field_Kind> : ::std::true_type {};
2533 template <>
2534 inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::Field_Kind>() {
2536 }
2537 template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::Field_Cardinality> : ::std::true_type {};
2538 template <>
2539 inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::Field_Cardinality>() {
2541 }
2542 template <> struct is_proto_enum< PROTOBUF_NAMESPACE_ID::Syntax> : ::std::true_type {};
2543 template <>
2544 inline const EnumDescriptor* GetEnumDescriptor< PROTOBUF_NAMESPACE_ID::Syntax>() {
2546 }
2547 
2548 PROTOBUF_NAMESPACE_CLOSE
2549 
2550 // @@protoc_insertion_point(global_scope)
2551 
2552 #include <google/protobuf/port_undef.inc>
2553 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2ftype_2eproto
Type::set_name
void set_name(const std::string &value)
Definition: type.pb.h:1400
Type::mutable_oneofs
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > * mutable_oneofs()
Definition: type.pb.h:1555
Field::swap
friend void swap(Field &a, Field &b)
Definition: type.pb.h:466
Field::set_default_value
void set_default_value(const std::string &value)
Definition: type.pb.h:1990
PROTOBUF_SECTION_VARIABLE
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_google_2fprotobuf_2fany_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
Field::clear_oneof_index
void clear_oneof_index()
Definition: type.pb.h:1852
Field::operator=
Field & operator=(const Field &from)
Definition: type.pb.h:428
Type::DestructorSkippable_
void DestructorSkippable_
Definition: type.pb.h:404
name
GLuint const GLchar * name
Definition: glcorearb.h:3055
Field::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: type.pb.h:450
Field::Kind_descriptor
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Kind_descriptor()
Definition: type.pb.h:595
SYNTAX_PROTO3
@ SYNTAX_PROTO3
Definition: type.pb.h:157
Option
struct Option Option
Definition: php/ext/google/protobuf/protobuf.h:656
Enum::New
Enum * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: type.pb.h:870
Field::set_allocated_name
void set_allocated_name(std::string *name)
Definition: type.pb.h:1748
Field_Cardinality_IsValid
PROTOBUF_EXPORT bool Field_Cardinality_IsValid(int value)
Definition: type.pb.cc:321
Enum::add_options
PROTOBUF_NAMESPACE_ID::Option * add_options()
Definition: type.pb.h:2182
SourceContext
Definition: source_context.pb.h:69
arenastring.h
Field::set_type_url
void set_type_url(const std::string &value)
Definition: type.pb.h:1786
benchmarks.python.py_benchmark.const
const
Definition: py_benchmark.py:14
Field_Kind_Kind_ARRAYSIZE
constexpr int Field_Kind_Kind_ARRAYSIZE
Definition: type.pb.h:112
Enum::mutable_source_context
PROTOBUF_NAMESPACE_ID::SourceContext * mutable_source_context()
Definition: type.pb.h:2219
Option::operator=
Option & operator=(Option &&from) noexcept
Definition: type.pb.h:1217
Field_Cardinality_Parse
bool Field_Cardinality_Parse(const std::string &name, Field_Cardinality *value)
Definition: type.pb.h:150
EnumValue::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: type.pb.h:1046
Type::clear_fields
void clear_fields()
Definition: type.pb.h:1469
Type::mutable_name
std::string * mutable_name()
Definition: type.pb.h:1425
Field_Kind_TYPE_SFIXED64
@ Field_Kind_TYPE_SFIXED64
Definition: type.pb.h:103
EnumDefaultTypeInternal
Definition: type.pb.cc:32
EnumValueDefaultTypeInternal
Definition: type.pb.cc:36
Field::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: type.pb.h:447
Field::set_number
void set_number(::PROTOBUF_NAMESPACE_ID::int32 value)
Definition: type.pb.h:1699
Option::New
Option * New() const final
Definition: type.pb.h:1270
Field::set_oneof_index
void set_oneof_index(::PROTOBUF_NAMESPACE_ID::int32 value)
Definition: type.pb.h:1859
Type::add_fields
PROTOBUF_NAMESPACE_ID::Field * add_fields()
Definition: type.pb.h:1485
fields_
std::vector< const FieldDescriptor * > fields_
Definition: cpp_padding_optimizer.cc:81
Option::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: type.pb.h:1238
google::protobuf.internal.python_message.MergeFrom
MergeFrom
Definition: python_message.py:1340
Enum::options_size
int options_size() const
Definition: type.pb.h:2163
Type::GetCachedSize
int GetCachedSize() const final
Definition: type.pb.h:276
_Field_default_instance_
PROTOBUF_EXPORT FieldDefaultTypeInternal _Field_default_instance_
Field::MaybeArenaPtr
void * MaybeArenaPtr() const
Definition: type.pb.h:530
options
Message * options
Definition: src/google/protobuf/descriptor.cc:3119
input
std::string input
Definition: tokenizer_unittest.cc:197
Field::clear_packed
void clear_packed()
Definition: type.pb.h:1866
Field::Cardinality_IsValid
static bool Cardinality_IsValid(int value)
Definition: type.pb.h:619
extension_set.h
inlined_string_field.h
Type::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: type.pb.h:293
Type::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: type.pb.h:403
google::protobuf::uint8
uint8_t uint8
Definition: protobuf/src/google/protobuf/stubs/port.h:153
Type::oneofs
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< std::string > & oneofs() const
Definition: type.pb.h:1550
Field_Kind_Field_Kind_INT_MAX_SENTINEL_DO_NOT_USE_
@ Field_Kind_Field_Kind_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: type.pb.h:107
Field_Kind_TYPE_FIXED32
@ Field_Kind_TYPE_FIXED32
Definition: type.pb.h:94
Field_Kind_TYPE_SFIXED32
@ Field_Kind_TYPE_SFIXED32
Definition: type.pb.h:102
Field::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: type.pb.h:453
GOOGLE_DCHECK
#define GOOGLE_DCHECK
Definition: logging.h:194
Option::mutable_value
PROTOBUF_NAMESPACE_ID::Any * mutable_value()
Definition: type.pb.h:2486
Type::add_oneofs
std::string * add_oneofs()
Definition: type.pb.h:1528
Field_Cardinality_descriptor
const PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Field_Cardinality_descriptor()
Definition: type.pb.cc:317
Field::UnsafeArenaSwap
void UnsafeArenaSwap(Field *other)
Definition: type.pb.h:477
google::protobuf::python::cmessage::CopyFrom
static PyObject * CopyFrom(CMessage *self, PyObject *arg)
Definition: python/google/protobuf/pyext/message.cc:1861
Option::GetArena
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArena() const final
Definition: type.pb.h:1226
Option::set_allocated_name
void set_allocated_name(std::string *name)
Definition: type.pb.h:2429
Field_Cardinality_CARDINALITY_REQUIRED
@ Field_Cardinality_CARDINALITY_REQUIRED
Definition: type.pb.h:131
EnumValue::clear_options
void clear_options()
Definition: type.pb.h:2356
_Enum_default_instance_
PROTOBUF_EXPORT EnumDefaultTypeInternal _Enum_default_instance_
Field::GetArena
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArena() const final
Definition: type.pb.h:441
google::protobuf::uint32
uint32_t uint32
Definition: protobuf/src/google/protobuf/stubs/port.h:155
Field::release_json_name
std::string * release_json_name()
Definition: type.pb.h:1947
Field_Kind_TYPE_MESSAGE
@ Field_Kind_TYPE_MESSAGE
Definition: type.pb.h:98
EnumValue::DestructorSkippable_
void DestructorSkippable_
Definition: type.pb.h:1192
Field_Kind_TYPE_UINT32
@ Field_Kind_TYPE_UINT32
Definition: type.pb.h:100
_Any_default_instance_
PROTOBUF_NAMESPACE_OPEN class AnyDefaultTypeInternal _Any_default_instance_
EnumValue::options_size
int options_size() const
Definition: type.pb.h:2353
EnumValue::EnumValue
EnumValue(EnumValue &&from) noexcept
Definition: type.pb.h:1019
Type::New
Type * New() const final
Definition: type.pb.h:251
Field::options
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > & options() const
Definition: type.pb.h:1904
EnumValue::operator=
EnumValue & operator=(EnumValue &&from) noexcept
Definition: type.pb.h:1028
Field::json_name
const std::string & json_name() const
Definition: type.pb.h:1913
Field::New
Field * New() const final
Definition: type.pb.h:485
Field::number
::PROTOBUF_NAMESPACE_ID::int32 number() const
Definition: type.pb.h:1695
EnumValue::GetMaybeArenaPointer
void * GetMaybeArenaPointer() const final
Definition: type.pb.h:1040
Type::clear_oneofs
void clear_oneofs()
Definition: type.pb.h:1499
Option::unsafe_arena_release_value
PROTOBUF_NAMESPACE_ID::Any * unsafe_arena_release_value()
Definition: type.pb.h:2479
Field::oneof_index
::PROTOBUF_NAMESPACE_ID::int32 oneof_index() const
Definition: type.pb.h:1855
Type::Swap
void Swap(Type *other)
Definition: type.pb.h:235
generated_message_reflection.h
string
GLsizei const GLchar *const * string
Definition: glcorearb.h:3083
google::protobuf.internal::GenericSwap
void GenericSwap(MessageLite *m1, MessageLite *m2)
Definition: generated_message_util.cc:750
Syntax_ARRAYSIZE
constexpr int Syntax_ARRAYSIZE
Definition: type.pb.h:164
Enum::set_allocated_source_context
void set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext *source_context)
Definition: type.pb.h:2228
Type::oneofs_size
int oneofs_size() const
Definition: type.pb.h:1496
Field_Kind_TYPE_DOUBLE
@ Field_Kind_TYPE_DOUBLE
Definition: type.pb.h:88
Enum::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: type.pb.h:831
Field::clear_name
void clear_name()
Definition: type.pb.h:1706
Type::options_size
int options_size() const
Definition: type.pb.h:1561
Enum
struct Enum Enum
Definition: php/ext/google/protobuf/protobuf.h:633
Type::operator=
Type & operator=(Type &&from) noexcept
Definition: type.pb.h:198
Type::clear_options
void clear_options()
Definition: type.pb.h:1564
target
GLenum target
Definition: glcorearb.h:3739
google::protobuf.internal::NameOfEnum
const PROTOBUF_EXPORT std::string & NameOfEnum(const EnumDescriptor *descriptor, int value)
Definition: generated_message_reflection.cc:90
Field::set_cardinality
void set_cardinality(PROTOBUF_NAMESPACE_ID::Field_Cardinality value)
Definition: type.pb.h:1685
google::protobuf.internal.python_message._InternalParse
_InternalParse
Definition: python_message.py:1197
Field::Swap
void Swap(Field *other)
Definition: type.pb.h:469
Syntax_IsValid
PROTOBUF_EXPORT bool Syntax_IsValid(int value)
Definition: type.pb.cc:346
EnumValue
Definition: type.pb.h:1012
Field::name
const std::string & name() const
Definition: type.pb.h:1709
Type::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: type.pb.h:213
Enum::mutable_options
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > * mutable_options()
Definition: type.pb.h:2174
Field::internal_default_instance
static const Field * internal_default_instance()
Definition: type.pb.h:459
Field_Kind_TYPE_GROUP
@ Field_Kind_TYPE_GROUP
Definition: type.pb.h:97
Type::add_options
PROTOBUF_NAMESPACE_ID::Option * add_options()
Definition: type.pb.h:1580
T
#define T(upbtypeconst, upbtype, ctype, default_value)
Field::GetCachedSize
int GetCachedSize() const final
Definition: type.pb.h:510
EnumValue::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: type.pb.h:1049
Field::Cardinality_Name
static const std::string & Cardinality_Name(T enum_t_value)
Definition: type.pb.h:633
Field::type_url
const std::string & type_url() const
Definition: type.pb.h:1782
any.pb.h
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
Enum
Definition: type.pb.h:797
Field_Kind
Field_Kind
Definition: type.pb.h:86
TableStruct_google_2fprotobuf_2ftype_2eproto
Definition: type.pb.h:48
EnumValue::set_number
void set_number(::PROTOBUF_NAMESPACE_ID::int32 value)
Definition: type.pb.h:2346
GOOGLE_PROTOBUF_RUNTIME_DEPRECATED
#define GOOGLE_PROTOBUF_RUNTIME_DEPRECATED(message)
Definition: protobuf/src/google/protobuf/stubs/port.h:107
Type::release_source_context
PROTOBUF_NAMESPACE_ID::SourceContext * release_source_context()
Definition: type.pb.h:1600
Type::set_syntax
void set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value)
Definition: type.pb.h:1653
EnumValue::set_allocated_name
void set_allocated_name(std::string *name)
Definition: type.pb.h:2308
Field_Kind_TYPE_SINT64
@ Field_Kind_TYPE_SINT64
Definition: type.pb.h:105
b
GLboolean GLboolean GLboolean b
Definition: glcorearb.h:3228
Field_Cardinality_Cardinality_MAX
constexpr Field_Cardinality Field_Cardinality_Cardinality_MAX
Definition: type.pb.h:138
Type::GetArena
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArena() const final
Definition: type.pb.h:207
EnumValue::release_name
std::string * release_name()
Definition: type.pb.h:2303
Option::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: type.pb.h:1303
number_
int number_
Definition: gmock-matchers_test.cc:2921
google::protobuf.internal::GetOwnedMessage
T * GetOwnedMessage(Arena *message_arena, T *submessage, Arena *submessage_arena)
Definition: generated_message_util.h:159
Option::mutable_name
std::string * mutable_name()
Definition: type.pb.h:2419
Option::set_allocated_value
void set_allocated_value(PROTOBUF_NAMESPACE_ID::Any *value)
Definition: type.pb.h:2495
Syntax_descriptor
const PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Syntax_descriptor()
Definition: type.pb.cc:342
Field_Kind_Parse
bool Field_Kind_Parse(const std::string &name, Field_Kind *value)
Definition: type.pb.h:123
google::protobuf::int32
int32_t int32
Definition: protobuf/src/google/protobuf/stubs/port.h:150
Field_Kind_TYPE_SINT32
@ Field_Kind_TYPE_SINT32
Definition: type.pb.h:104
Field::cardinality
PROTOBUF_NAMESPACE_ID::Field_Cardinality cardinality() const
Definition: type.pb.h:1681
Option::value
const PROTOBUF_NAMESPACE_ID::Any & value() const
Definition: type.pb.h:2463
Field_Cardinality_Field_Cardinality_INT_MIN_SENTINEL_DO_NOT_USE_
@ Field_Cardinality_Field_Cardinality_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: type.pb.h:133
EnumValue::MaybeArenaPtr
void * MaybeArenaPtr() const
Definition: type.pb.h:1126
Field::set_allocated_json_name
void set_allocated_json_name(std::string *json_name)
Definition: type.pb.h:1952
Field::packed
bool packed() const
Definition: type.pb.h:1869
FieldDefaultTypeInternal
Definition: type.pb.cc:28
EnumValue::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: type.pb.h:1114
google::protobuf.internal::MergePartialFromCodedStream
bool MergePartialFromCodedStream(MessageLite *msg, const ParseTable &table, io::CodedInputStream *input)
Definition: generated_message_table_driven.cc:96
Enum::clear_syntax
void clear_syntax()
Definition: type.pb.h:2248
Field_Kind_TYPE_INT64
@ Field_Kind_TYPE_INT64
Definition: type.pb.h:90
Type::New
Type * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: type.pb.h:255
Type::name
const std::string & name() const
Definition: type.pb.h:1396
Type::set_oneofs
void set_oneofs(int index, const std::string &value)
Definition: type.pb.h:1510
Type
Definition: type.pb.h:182
Option::DestructorSkippable_
void DestructorSkippable_
Definition: type.pb.h:1375
unknown_field_set.h
Type::internal_default_instance
static const Type * internal_default_instance()
Definition: type.pb.h:225
Field::default_value
const std::string & default_value() const
Definition: type.pb.h:1986
Field_Cardinality_Field_Cardinality_INT_MAX_SENTINEL_DO_NOT_USE_
@ Field_Cardinality_Field_Cardinality_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: type.pb.h:134
Field::release_type_url
std::string * release_type_url()
Definition: type.pb.h:1816
Type::UnsafeArenaSwap
void UnsafeArenaSwap(Type *other)
Definition: type.pb.h:243
coded_stream.h
TypeDefaultTypeInternal
Definition: type.pb.cc:24
Option::release_name
std::string * release_name()
Definition: type.pb.h:2424
EnumValue::GetCachedSize
int GetCachedSize() const final
Definition: type.pb.h:1106
Field::mutable_type_url
std::string * mutable_type_url()
Definition: type.pb.h:1811
Field::mutable_options
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > * mutable_options()
Definition: type.pb.h:1891
Enum::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: type.pb.h:908
Option::clear_name
void clear_name()
Definition: type.pb.h:2387
Option::release_value
PROTOBUF_NAMESPACE_ID::Any * release_value()
Definition: type.pb.h:2469
Enum::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: type.pb.h:1000
Option::UnsafeArenaSwap
void UnsafeArenaSwap(Option *other)
Definition: type.pb.h:1262
Type::set_allocated_source_context
void set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext *source_context)
Definition: type.pb.h:1626
Field::set_allocated_default_value
void set_allocated_default_value(std::string *default_value)
Definition: type.pb.h:2025
Enum::set_name
void set_name(const std::string &value)
Definition: type.pb.h:2067
Field::set_packed
void set_packed(bool value)
Definition: type.pb.h:1873
Field_Cardinality_CARDINALITY_OPTIONAL
@ Field_Cardinality_CARDINALITY_OPTIONAL
Definition: type.pb.h:130
Field::clear_cardinality
void clear_cardinality()
Definition: type.pb.h:1678
Field::operator=
Field & operator=(Field &&from) noexcept
Definition: type.pb.h:432
Type::release_name
std::string * release_name()
Definition: type.pb.h:1430
Enum::swap
friend void swap(Enum &a, Enum &b)
Definition: type.pb.h:847
Field_Kind_TYPE_INT32
@ Field_Kind_TYPE_INT32
Definition: type.pb.h:92
EnumValue::internal_default_instance
static const EnumValue * internal_default_instance()
Definition: type.pb.h:1055
Option::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: type.pb.h:1312
Field_Cardinality
Field_Cardinality
Definition: type.pb.h:128
Field_Cardinality_CARDINALITY_UNKNOWN
@ Field_Cardinality_CARDINALITY_UNKNOWN
Definition: type.pb.h:129
message.h
Field::Kind_IsValid
static bool Kind_IsValid(int value)
Definition: type.pb.h:585
Enum::clear_name
void clear_name()
Definition: type.pb.h:2060
EnumValue::operator=
EnumValue & operator=(const EnumValue &from)
Definition: type.pb.h:1024
Field_Kind_TYPE_BOOL
@ Field_Kind_TYPE_BOOL
Definition: type.pb.h:95
EnumValue::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: type.pb.h:1043
descriptor_table_google_2fprotobuf_2ftype_2eproto
const PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ftype_2eproto
Definition: type.pb.cc:252
p
const char * p
Definition: gmock-matchers_test.cc:3863
Enum::options
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > & options() const
Definition: type.pb.h:2187
Enum::name
const std::string & name() const
Definition: type.pb.h:2063
Field_Kind_TYPE_FIXED64
@ Field_Kind_TYPE_FIXED64
Definition: type.pb.h:93
SourceContext
struct SourceContext SourceContext
Definition: php/ext/google/protobuf/protobuf.h:659
Field_Cardinality_CARDINALITY_REPEATED
@ Field_Cardinality_CARDINALITY_REPEATED
Definition: type.pb.h:132
Enum::unsafe_arena_release_source_context
PROTOBUF_NAMESPACE_ID::SourceContext * unsafe_arena_release_source_context()
Definition: type.pb.h:2212
Option::operator=
Option & operator=(const Option &from)
Definition: type.pb.h:1213
repeated_field.h
Option::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: type.pb.h:1232
EnumValue::add_options
PROTOBUF_NAMESPACE_ID::Option * add_options()
Definition: type.pb.h:2372
google::protobuf.internal::true_type
integral_constant< bool, true > true_type
Definition: template_util.h:89
Type::set_allocated_name
void set_allocated_name(std::string *name)
Definition: type.pb.h:1435
EnumValue::GetArena
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArena() const final
Definition: type.pb.h:1037
Field::kind
PROTOBUF_NAMESPACE_ID::Field_Kind kind() const
Definition: type.pb.h:1667
Option::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: type.pb.h:1374
EnumValue::set_name
void set_name(const std::string &value)
Definition: type.pb.h:2273
name_
string name_
Definition: googletest.cc:182
generated_message_table_driven.h
Descriptor
struct Descriptor Descriptor
Definition: php/ext/google/protobuf/protobuf.h:628
EnumDescriptor
Definition: ruby/ext/google/protobuf_c/protobuf.h:137
Field::clear_number
void clear_number()
Definition: type.pb.h:1692
Field_Kind_TYPE_UNKNOWN
@ Field_Kind_TYPE_UNKNOWN
Definition: type.pb.h:87
EnumValue
struct EnumValue EnumValue
Definition: php/ext/google/protobuf/protobuf.h:635
EnumValue::mutable_options
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > * mutable_options()
Definition: type.pb.h:2364
Field::mutable_json_name
std::string * mutable_json_name()
Definition: type.pb.h:1942
Enum::operator=
Enum & operator=(Enum &&from) noexcept
Definition: type.pb.h:813
Enum::MaybeArenaPtr
void * MaybeArenaPtr() const
Definition: type.pb.h:911
Field::set_kind
void set_kind(PROTOBUF_NAMESPACE_ID::Field_Kind value)
Definition: type.pb.h:1671
Option::New
Option * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: type.pb.h:1274
Field::release_default_value
std::string * release_default_value()
Definition: type.pb.h:2020
_EnumValue_default_instance_
PROTOBUF_EXPORT EnumValueDefaultTypeInternal _EnumValue_default_instance_
Field::set_name
void set_name(const std::string &value)
Definition: type.pb.h:1713
Field::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: type.pb.h:518
_Option_default_instance_
PROTOBUF_EXPORT OptionDefaultTypeInternal _Option_default_instance_
Syntax_INT_MIN_SENTINEL_DO_NOT_USE_
@ Syntax_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: type.pb.h:158
Field_Kind_TYPE_UINT64
@ Field_Kind_TYPE_UINT64
Definition: type.pb.h:91
Enum::syntax
PROTOBUF_NAMESPACE_ID::Syntax syntax() const
Definition: type.pb.h:2251
Enum::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: type.pb.h:834
Enum::set_syntax
void set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value)
Definition: type.pb.h:2255
Enum::GetArena
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArena() const final
Definition: type.pb.h:822
_Type_default_instance_
PROTOBUF_EXPORT TypeDefaultTypeInternal _Type_default_instance_
SYNTAX_PROTO2
@ SYNTAX_PROTO2
Definition: type.pb.h:156
Option::GetCachedSize
int GetCachedSize() const final
Definition: type.pb.h:1295
Field::mutable_default_value
std::string * mutable_default_value()
Definition: type.pb.h:2015
Enum::GetCachedSize
int GetCachedSize() const final
Definition: type.pb.h:891
Field_Kind_IsValid
PROTOBUF_EXPORT bool Field_Kind_IsValid(int value)
Definition: type.pb.cc:266
EnumValue::options
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > & options() const
Definition: type.pb.h:2377
value_
int value_
Definition: gmock-matchers_test.cc:571
Field
struct Field Field
Definition: php/ext/google/protobuf/protobuf.h:638
fields
static const upb_fielddef fields[107]
Definition: ruby/ext/google/protobuf_c/upb.c:7671
Option::internal_default_instance
static const Option * internal_default_instance()
Definition: type.pb.h:1244
Type::GetReflection
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: type.pb.h:219
Any
struct Any Any
Definition: php/ext/google/protobuf/protobuf.h:624
Enum::enumvalue_size
int enumvalue_size() const
Definition: type.pb.h:2133
Field::release_name
std::string * release_name()
Definition: type.pb.h:1743
Enum::internal_default_instance
static const Enum * internal_default_instance()
Definition: type.pb.h:840
Type::mutable_source_context
PROTOBUF_NAMESPACE_ID::SourceContext * mutable_source_context()
Definition: type.pb.h:1617
Syntax_MIN
constexpr Syntax Syntax_MIN
Definition: type.pb.h:162
Field_Kind_Kind_MAX
constexpr Field_Kind Field_Kind_Kind_MAX
Definition: type.pb.h:111
source_context.pb.h
Field_Cardinality_Cardinality_ARRAYSIZE
constexpr int Field_Cardinality_Cardinality_ARRAYSIZE
Definition: type.pb.h:139
Option
Definition: type.pb.h:1201
Enum::add_enumvalue
PROTOBUF_NAMESPACE_ID::EnumValue * add_enumvalue()
Definition: type.pb.h:2152
Syntax_MAX
constexpr Syntax Syntax_MAX
Definition: type.pb.h:163
Type::clear_syntax
void clear_syntax()
Definition: type.pb.h:1646
Type::fields_size
int fields_size() const
Definition: type.pb.h:1466
Type::Type
Type(Type &&from) noexcept
Definition: type.pb.h:189
Enum::mutable_enumvalue
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValue > * mutable_enumvalue()
Definition: type.pb.h:2144
Field::GetMaybeArenaPointer
void * GetMaybeArenaPointer() const final
Definition: type.pb.h:444
EnumValue::name
const std::string & name() const
Definition: type.pb.h:2269
google::protobuf.internal.python_message.Clear
Clear
Definition: python_message.py:1431
Type::unsafe_arena_release_source_context
PROTOBUF_NAMESPACE_ID::SourceContext * unsafe_arena_release_source_context()
Definition: type.pb.h:1610
Field::mutable_name
std::string * mutable_name()
Definition: type.pb.h:1738
Field::Field
Field(Field &&from) noexcept
Definition: type.pb.h:423
Field::add_options
PROTOBUF_NAMESPACE_ID::Option * add_options()
Definition: type.pb.h:1899
Field::Cardinality_Parse
static bool Cardinality_Parse(const std::string &name, Cardinality *value)
Definition: type.pb.h:639
Enum::descriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: type.pb.h:828
Field::Kind_Name
static const std::string & Kind_Name(T enum_t_value)
Definition: type.pb.h:599
Option::set_name
void set_name(const std::string &value)
Definition: type.pb.h:2394
Field::set_json_name
void set_json_name(const std::string &value)
Definition: type.pb.h:1917
Field::set_allocated_type_url
void set_allocated_type_url(std::string *type_url)
Definition: type.pb.h:1821
Field_Cardinality_Name
const std::string & Field_Cardinality_Name(T enum_t_value)
Definition: type.pb.h:143
generated_enum_reflection.h
size
GLsizeiptr size
Definition: glcorearb.h:2943
EnumValue::mutable_name
std::string * mutable_name()
Definition: type.pb.h:2298
EnumValue::clear_name
void clear_name()
Definition: type.pb.h:2266
std
Field_Kind_Field_Kind_INT_MIN_SENTINEL_DO_NOT_USE_
@ Field_Kind_Field_Kind_INT_MIN_SENTINEL_DO_NOT_USE_
Definition: type.pb.h:106
arena.h
Field_Kind_descriptor
const PROTOBUF_EXPORT ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Field_Kind_descriptor()
Definition: type.pb.cc:262
Field_Kind_TYPE_STRING
@ Field_Kind_TYPE_STRING
Definition: type.pb.h:96
Field::New
Field * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: type.pb.h:489
Enum::operator=
Enum & operator=(const Enum &from)
Definition: type.pb.h:809
metadata.h
Type::clear_name
void clear_name()
Definition: type.pb.h:1393
google::protobuf.internal::GetEmptyStringAlreadyInited
const PROTOBUF_EXPORT std::string & GetEmptyStringAlreadyInited()
Definition: message_lite.h:152
Option::GetMaybeArenaPointer
void * GetMaybeArenaPointer() const final
Definition: type.pb.h:1229
Enum::enumvalue
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumValue > & enumvalue() const
Definition: type.pb.h:2157
default_value
def default_value(type_)
Enum::Swap
void Swap(Enum *other)
Definition: type.pb.h:850
Type::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: type.pb.h:216
EnumValue::number
::PROTOBUF_NAMESPACE_ID::int32 number() const
Definition: type.pb.h:2342
Enum::GetMaybeArenaPointer
void * GetMaybeArenaPointer() const final
Definition: type.pb.h:825
Enum::Enum
Enum(Enum &&from) noexcept
Definition: type.pb.h:804
EnumValue::UnsafeArenaSwap
void UnsafeArenaSwap(EnumValue *other)
Definition: type.pb.h:1073
_SourceContext_default_instance_
PROTOBUF_NAMESPACE_OPEN class SourceContextDefaultTypeInternal _SourceContext_default_instance_
Enum::release_source_context
PROTOBUF_NAMESPACE_ID::SourceContext * release_source_context()
Definition: type.pb.h:2202
Field_Kind_TYPE_FLOAT
@ Field_Kind_TYPE_FLOAT
Definition: type.pb.h:89
Syntax_Name
const std::string & Syntax_Name(T enum_t_value)
Definition: type.pb.h:168
generated_message_util.h
EnumValue::New
EnumValue * New() const final
Definition: type.pb.h:1081
OptionDefaultTypeInternal
Definition: type.pb.cc:40
google::protobuf.internal.python_message.IsInitialized
IsInitialized
Definition: python_message.py:1246
Field::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: type.pb.h:527
Type::fields
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field > & fields() const
Definition: type.pb.h:1490
Field::Cardinality
Field_Cardinality Cardinality
Definition: type.pb.h:610
Type
struct Type Type
Definition: php/ext/google/protobuf/protobuf.h:664
Enum::mutable_name
std::string * mutable_name()
Definition: type.pb.h:2092
Type::syntax
PROTOBUF_NAMESPACE_ID::Syntax syntax() const
Definition: type.pb.h:1649
Field::Cardinality_descriptor
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor * Cardinality_descriptor()
Definition: type.pb.h:629
Enum::clear_enumvalue
void clear_enumvalue()
Definition: type.pb.h:2136
internal
Definition: any.pb.h:40
Enum::release_name
std::string * release_name()
Definition: type.pb.h:2097
Enum::New
Enum * New() const final
Definition: type.pb.h:866
google::protobuf.internal::AssignDescriptors
void AssignDescriptors(const DescriptorTable *table)
Definition: generated_message_reflection.cc:2403
Field_Kind_Name
const std::string & Field_Kind_Name(T enum_t_value)
Definition: type.pb.h:116
Type::swap
friend void swap(Type &a, Type &b)
Definition: type.pb.h:232
Type::MaybeArenaPtr
void * MaybeArenaPtr() const
Definition: type.pb.h:296
Type::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: type.pb.h:284
Type::source_context
const PROTOBUF_NAMESPACE_ID::SourceContext & source_context() const
Definition: type.pb.h:1594
EnumValue::Swap
void Swap(EnumValue *other)
Definition: type.pb.h:1065
EnumValue::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: type.pb.h:1191
Enum::clear_options
void clear_options()
Definition: type.pb.h:2166
Enum::DestructorSkippable_
void DestructorSkippable_
Definition: type.pb.h:1001
Field::InternalArenaConstructable_
void InternalArenaConstructable_
Definition: type.pb.h:780
type_url
string * type_url
Definition: conformance_cpp.cc:98
Field
Definition: type.pb.h:416
Field_Kind_TYPE_ENUM
@ Field_Kind_TYPE_ENUM
Definition: type.pb.h:101
value
GLsizei const GLfloat * value
Definition: glcorearb.h:3093
Syntax
Syntax
Definition: type.pb.h:155
Field_Kind_Kind_MIN
constexpr Field_Kind Field_Kind_Kind_MIN
Definition: type.pb.h:110
Option::name
const std::string & name() const
Definition: type.pb.h:2390
Field::DestructorSkippable_
void DestructorSkippable_
Definition: type.pb.h:781
EnumValue::GetArenaNoVirtual
inline ::PROTOBUF_NAMESPACE_ID::Arena * GetArenaNoVirtual() const
Definition: type.pb.h:1123
Type::operator=
Type & operator=(const Type &from)
Definition: type.pb.h:194
Option::swap
friend void swap(Option &a, Option &b)
Definition: type.pb.h:1251
output
const upb_json_parsermethod const upb_symtab upb_sink * output
Definition: ruby/ext/google/protobuf_c/upb.h:10503
Enum::FullMessageName
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: type.pb.h:899
Any
Definition: any.pb.h:70
EnumValue::swap
friend void swap(EnumValue &a, EnumValue &b)
Definition: type.pb.h:1062
EnumValue::New
EnumValue * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: type.pb.h:1085
Field_Kind_TYPE_BYTES
@ Field_Kind_TYPE_BYTES
Definition: type.pb.h:99
Option::MaybeArenaPtr
void * MaybeArenaPtr() const
Definition: type.pb.h:1315
Syntax_Parse
bool Syntax_Parse(const std::string &name, Syntax *value)
Definition: type.pb.h:175
index
GLuint index
Definition: glcorearb.h:3055
Enum::UnsafeArenaSwap
void UnsafeArenaSwap(Enum *other)
Definition: type.pb.h:858
a
GLboolean GLboolean GLboolean GLboolean a
Definition: glcorearb.h:3228
Field::clear_options
void clear_options()
Definition: type.pb.h:1883
Field::Kind
Field_Kind Kind
Definition: type.pb.h:546
Field::options_size
int options_size() const
Definition: type.pb.h:1880
Type::mutable_fields
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field > * mutable_fields()
Definition: type.pb.h:1477
number
double number
Definition: cJSON.h:326
Option::Swap
void Swap(Option *other)
Definition: type.pb.h:1254
Field_Cardinality_Cardinality_MIN
constexpr Field_Cardinality Field_Cardinality_Cardinality_MIN
Definition: type.pb.h:137
Type::options
const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > & options() const
Definition: type.pb.h:1585
Type::GetMaybeArenaPointer
void * GetMaybeArenaPointer() const final
Definition: type.pb.h:210
Option::GetDescriptor
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: type.pb.h:1235
google::protobuf::python::message_descriptor::GetDescriptor
static ParentDescriptor GetDescriptor(PyContainer *self)
Definition: descriptor_containers.cc:950
Enum::set_allocated_name
void set_allocated_name(std::string *name)
Definition: type.pb.h:2102
Field::Kind_Parse
static bool Kind_Parse(const std::string &name, Kind *value)
Definition: type.pb.h:605
Type::mutable_options
::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > * mutable_options()
Definition: type.pb.h:1572
for
for(items_t::iterator it=_items.begin(), end=_items.end();it !=end &&found< n_events_;++it)
Definition: socket_poller.cpp:397
options_
DebugStringOptions options_
Definition: src/google/protobuf/descriptor.cc:2410
Enum::source_context
const PROTOBUF_NAMESPACE_ID::SourceContext & source_context() const
Definition: type.pb.h:2196
Syntax_INT_MAX_SENTINEL_DO_NOT_USE_
@ Syntax_INT_MAX_SENTINEL_DO_NOT_USE_
Definition: type.pb.h:159
Option::Option
Option(Option &&from) noexcept
Definition: type.pb.h:1208


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:00