• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // NO CHECKED-IN PROTOBUF GENCODE
3 // source: google/protobuf/type.proto
4 // Protobuf C++ Version: 5.29.4
5 
6 #ifndef google_2fprotobuf_2ftype_2eproto_2epb_2eh
7 #define google_2fprotobuf_2ftype_2eproto_2epb_2eh
8 
9 #include <limits>
10 #include <string>
11 #include <type_traits>
12 #include <utility>
13 
14 #include "google/protobuf/runtime_version.h"
15 #if PROTOBUF_VERSION != 5029004
16 #error "Protobuf C++ gencode is built with an incompatible version of"
17 #error "Protobuf C++ headers/runtime. See"
18 #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
19 #endif
20 #include "google/protobuf/io/coded_stream.h"
21 #include "google/protobuf/arena.h"
22 #include "google/protobuf/arenastring.h"
23 #include "google/protobuf/generated_message_tctable_decl.h"
24 #include "google/protobuf/generated_message_util.h"
25 #include "google/protobuf/metadata_lite.h"
26 #include "google/protobuf/generated_message_reflection.h"
27 #include "google/protobuf/message.h"
28 #include "google/protobuf/message_lite.h"
29 #include "google/protobuf/repeated_field.h"  // IWYU pragma: export
30 #include "google/protobuf/extension_set.h"  // IWYU pragma: export
31 #include "google/protobuf/generated_enum_reflection.h"
32 #include "google/protobuf/unknown_field_set.h"
33 #include "google/protobuf/any.pb.h"
34 #include "google/protobuf/source_context.pb.h"
35 // @@protoc_insertion_point(includes)
36 
37 // Must be included last.
38 #include "google/protobuf/port_def.inc"
39 
40 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftype_2eproto PROTOBUF_EXPORT
41 
42 namespace google {
43 namespace protobuf {
44 namespace internal {
45 template <typename T>
46 ::absl::string_view GetAnyMessageName();
47 }  // namespace internal
48 }  // namespace protobuf
49 }  // namespace google
50 
51 // Internal implementation detail -- do not use these members.
52 struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2ftype_2eproto {
53   static const ::uint32_t offsets[];
54 };
55 PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable
56     descriptor_table_google_2fprotobuf_2ftype_2eproto;
57 namespace google {
58 namespace protobuf {
59 class Enum;
60 struct EnumDefaultTypeInternal;
61 PROTOBUF_EXPORT extern EnumDefaultTypeInternal _Enum_default_instance_;
62 class EnumValue;
63 struct EnumValueDefaultTypeInternal;
64 PROTOBUF_EXPORT extern EnumValueDefaultTypeInternal _EnumValue_default_instance_;
65 class Field;
66 struct FieldDefaultTypeInternal;
67 PROTOBUF_EXPORT extern FieldDefaultTypeInternal _Field_default_instance_;
68 class Option;
69 struct OptionDefaultTypeInternal;
70 PROTOBUF_EXPORT extern OptionDefaultTypeInternal _Option_default_instance_;
71 class Type;
72 struct TypeDefaultTypeInternal;
73 PROTOBUF_EXPORT extern TypeDefaultTypeInternal _Type_default_instance_;
74 }  // namespace protobuf
75 }  // namespace google
76 
77 namespace google {
78 namespace protobuf {
79 enum Field_Kind : int {
80   Field_Kind_TYPE_UNKNOWN = 0,
81   Field_Kind_TYPE_DOUBLE = 1,
82   Field_Kind_TYPE_FLOAT = 2,
83   Field_Kind_TYPE_INT64 = 3,
84   Field_Kind_TYPE_UINT64 = 4,
85   Field_Kind_TYPE_INT32 = 5,
86   Field_Kind_TYPE_FIXED64 = 6,
87   Field_Kind_TYPE_FIXED32 = 7,
88   Field_Kind_TYPE_BOOL = 8,
89   Field_Kind_TYPE_STRING = 9,
90   Field_Kind_TYPE_GROUP = 10,
91   Field_Kind_TYPE_MESSAGE = 11,
92   Field_Kind_TYPE_BYTES = 12,
93   Field_Kind_TYPE_UINT32 = 13,
94   Field_Kind_TYPE_ENUM = 14,
95   Field_Kind_TYPE_SFIXED32 = 15,
96   Field_Kind_TYPE_SFIXED64 = 16,
97   Field_Kind_TYPE_SINT32 = 17,
98   Field_Kind_TYPE_SINT64 = 18,
99   Field_Kind_Field_Kind_INT_MIN_SENTINEL_DO_NOT_USE_ =
100       std::numeric_limits<::int32_t>::min(),
101   Field_Kind_Field_Kind_INT_MAX_SENTINEL_DO_NOT_USE_ =
102       std::numeric_limits<::int32_t>::max(),
103 };
104 
105 PROTOBUF_EXPORT bool Field_Kind_IsValid(int value);
106 PROTOBUF_EXPORT extern const uint32_t Field_Kind_internal_data_[];
107 constexpr Field_Kind Field_Kind_Kind_MIN = static_cast<Field_Kind>(0);
108 constexpr Field_Kind Field_Kind_Kind_MAX = static_cast<Field_Kind>(18);
109 constexpr int Field_Kind_Kind_ARRAYSIZE = 18 + 1;
110 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
111 Field_Kind_descriptor();
112 template <typename T>
Field_Kind_Name(T value)113 const std::string& Field_Kind_Name(T value) {
114   static_assert(std::is_same<T, Field_Kind>::value ||
115                     std::is_integral<T>::value,
116                 "Incorrect type passed to Kind_Name().");
117   return Field_Kind_Name(static_cast<Field_Kind>(value));
118 }
119 template <>
Field_Kind_Name(Field_Kind value)120 inline const std::string& Field_Kind_Name(Field_Kind value) {
121   return ::google::protobuf::internal::NameOfDenseEnum<Field_Kind_descriptor,
122                                                  0, 18>(
123       static_cast<int>(value));
124 }
Field_Kind_Parse(absl::string_view name,Field_Kind * value)125 inline bool Field_Kind_Parse(absl::string_view name, Field_Kind* value) {
126   return ::google::protobuf::internal::ParseNamedEnum<Field_Kind>(
127       Field_Kind_descriptor(), name, value);
128 }
129 enum Field_Cardinality : int {
130   Field_Cardinality_CARDINALITY_UNKNOWN = 0,
131   Field_Cardinality_CARDINALITY_OPTIONAL = 1,
132   Field_Cardinality_CARDINALITY_REQUIRED = 2,
133   Field_Cardinality_CARDINALITY_REPEATED = 3,
134   Field_Cardinality_Field_Cardinality_INT_MIN_SENTINEL_DO_NOT_USE_ =
135       std::numeric_limits<::int32_t>::min(),
136   Field_Cardinality_Field_Cardinality_INT_MAX_SENTINEL_DO_NOT_USE_ =
137       std::numeric_limits<::int32_t>::max(),
138 };
139 
140 PROTOBUF_EXPORT bool Field_Cardinality_IsValid(int value);
141 PROTOBUF_EXPORT extern const uint32_t Field_Cardinality_internal_data_[];
142 constexpr Field_Cardinality Field_Cardinality_Cardinality_MIN = static_cast<Field_Cardinality>(0);
143 constexpr Field_Cardinality Field_Cardinality_Cardinality_MAX = static_cast<Field_Cardinality>(3);
144 constexpr int Field_Cardinality_Cardinality_ARRAYSIZE = 3 + 1;
145 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
146 Field_Cardinality_descriptor();
147 template <typename T>
Field_Cardinality_Name(T value)148 const std::string& Field_Cardinality_Name(T value) {
149   static_assert(std::is_same<T, Field_Cardinality>::value ||
150                     std::is_integral<T>::value,
151                 "Incorrect type passed to Cardinality_Name().");
152   return Field_Cardinality_Name(static_cast<Field_Cardinality>(value));
153 }
154 template <>
Field_Cardinality_Name(Field_Cardinality value)155 inline const std::string& Field_Cardinality_Name(Field_Cardinality value) {
156   return ::google::protobuf::internal::NameOfDenseEnum<Field_Cardinality_descriptor,
157                                                  0, 3>(
158       static_cast<int>(value));
159 }
Field_Cardinality_Parse(absl::string_view name,Field_Cardinality * value)160 inline bool Field_Cardinality_Parse(absl::string_view name, Field_Cardinality* value) {
161   return ::google::protobuf::internal::ParseNamedEnum<Field_Cardinality>(
162       Field_Cardinality_descriptor(), name, value);
163 }
164 enum Syntax : int {
165   SYNTAX_PROTO2 = 0,
166   SYNTAX_PROTO3 = 1,
167   SYNTAX_EDITIONS = 2,
168   Syntax_INT_MIN_SENTINEL_DO_NOT_USE_ =
169       std::numeric_limits<::int32_t>::min(),
170   Syntax_INT_MAX_SENTINEL_DO_NOT_USE_ =
171       std::numeric_limits<::int32_t>::max(),
172 };
173 
174 PROTOBUF_EXPORT bool Syntax_IsValid(int value);
175 PROTOBUF_EXPORT extern const uint32_t Syntax_internal_data_[];
176 constexpr Syntax Syntax_MIN = static_cast<Syntax>(0);
177 constexpr Syntax Syntax_MAX = static_cast<Syntax>(2);
178 constexpr int Syntax_ARRAYSIZE = 2 + 1;
179 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor*
180 Syntax_descriptor();
181 template <typename T>
Syntax_Name(T value)182 const std::string& Syntax_Name(T value) {
183   static_assert(std::is_same<T, Syntax>::value ||
184                     std::is_integral<T>::value,
185                 "Incorrect type passed to Syntax_Name().");
186   return Syntax_Name(static_cast<Syntax>(value));
187 }
188 template <>
Syntax_Name(Syntax value)189 inline const std::string& Syntax_Name(Syntax value) {
190   return ::google::protobuf::internal::NameOfDenseEnum<Syntax_descriptor,
191                                                  0, 2>(
192       static_cast<int>(value));
193 }
Syntax_Parse(absl::string_view name,Syntax * value)194 inline bool Syntax_Parse(absl::string_view name, Syntax* value) {
195   return ::google::protobuf::internal::ParseNamedEnum<Syntax>(
196       Syntax_descriptor(), name, value);
197 }
198 
199 // ===================================================================
200 
201 
202 // -------------------------------------------------------------------
203 
204 class PROTOBUF_EXPORT Option final : public ::google::protobuf::Message
205 /* @@protoc_insertion_point(class_definition:google.protobuf.Option) */ {
206  public:
Option()207   inline Option() : Option(nullptr) {}
208   ~Option() PROTOBUF_FINAL;
209 
210 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(Option * msg,std::destroying_delete_t)211   void operator delete(Option* msg, std::destroying_delete_t) {
212     SharedDtor(*msg);
213     ::google::protobuf::internal::SizedDelete(msg, sizeof(Option));
214   }
215 #endif
216 
217   template <typename = void>
218   explicit PROTOBUF_CONSTEXPR Option(
219       ::google::protobuf::internal::ConstantInitialized);
220 
Option(const Option & from)221   inline Option(const Option& from) : Option(nullptr, from) {}
Option(Option && from)222   inline Option(Option&& from) noexcept
223       : Option(nullptr, std::move(from)) {}
224   inline Option& operator=(const Option& from) {
225     CopyFrom(from);
226     return *this;
227   }
228   inline Option& operator=(Option&& from) noexcept {
229     if (this == &from) return *this;
230     if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
231       InternalSwap(&from);
232     } else {
233       CopyFrom(from);
234     }
235     return *this;
236   }
237 
unknown_fields()238   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
239       ABSL_ATTRIBUTE_LIFETIME_BOUND {
240     return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
241   }
mutable_unknown_fields()242   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
243       ABSL_ATTRIBUTE_LIFETIME_BOUND {
244     return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
245   }
246 
descriptor()247   static const ::google::protobuf::Descriptor* descriptor() {
248     return GetDescriptor();
249   }
GetDescriptor()250   static const ::google::protobuf::Descriptor* GetDescriptor() {
251     return default_instance().GetMetadata().descriptor;
252   }
GetReflection()253   static const ::google::protobuf::Reflection* GetReflection() {
254     return default_instance().GetMetadata().reflection;
255   }
default_instance()256   static const Option& default_instance() {
257     return *internal_default_instance();
258   }
internal_default_instance()259   static inline const Option* internal_default_instance() {
260     return reinterpret_cast<const Option*>(
261         &_Option_default_instance_);
262   }
263   static constexpr int kIndexInFileMessages = 4;
swap(Option & a,Option & b)264   friend void swap(Option& a, Option& b) { a.Swap(&b); }
Swap(Option * other)265   inline void Swap(Option* other) {
266     if (other == this) return;
267     if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
268       InternalSwap(other);
269     } else {
270       ::google::protobuf::internal::GenericSwap(this, other);
271     }
272   }
UnsafeArenaSwap(Option * other)273   void UnsafeArenaSwap(Option* other) {
274     if (other == this) return;
275     ABSL_DCHECK(GetArena() == other->GetArena());
276     InternalSwap(other);
277   }
278 
279   // implements Message ----------------------------------------------
280 
281   Option* New(::google::protobuf::Arena* arena = nullptr) const {
282     return ::google::protobuf::Message::DefaultConstruct<Option>(arena);
283   }
284   using ::google::protobuf::Message::CopyFrom;
285   void CopyFrom(const Option& from);
286   using ::google::protobuf::Message::MergeFrom;
MergeFrom(const Option & from)287   void MergeFrom(const Option& from) { Option::MergeImpl(*this, from); }
288 
289   private:
290   static void MergeImpl(
291       ::google::protobuf::MessageLite& to_msg,
292       const ::google::protobuf::MessageLite& from_msg);
293 
294   public:
IsInitialized()295   bool IsInitialized() const {
296     return true;
297   }
298   ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
299   #if defined(PROTOBUF_CUSTOM_VTABLE)
300   private:
301   static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
302   static ::uint8_t* _InternalSerialize(
303       const MessageLite& msg, ::uint8_t* target,
304       ::google::protobuf::io::EpsCopyOutputStream* stream);
305 
306   public:
ByteSizeLong()307   ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)308   ::uint8_t* _InternalSerialize(
309       ::uint8_t* target,
310       ::google::protobuf::io::EpsCopyOutputStream* stream) const {
311     return _InternalSerialize(*this, target, stream);
312   }
313   #else   // PROTOBUF_CUSTOM_VTABLE
314   ::size_t ByteSizeLong() const final;
315   ::uint8_t* _InternalSerialize(
316       ::uint8_t* target,
317       ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
318   #endif  // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()319   int GetCachedSize() const { return _impl_._cached_size_.Get(); }
320 
321   private:
322   void SharedCtor(::google::protobuf::Arena* arena);
323   static void SharedDtor(MessageLite& self);
324   void InternalSwap(Option* other);
325  private:
326   template <typename T>
327   friend ::absl::string_view(
328       ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()329   static ::absl::string_view FullMessageName() { return "google.protobuf.Option"; }
330 
331  protected:
332   explicit Option(::google::protobuf::Arena* arena);
333   Option(::google::protobuf::Arena* arena, const Option& from);
Option(::google::protobuf::Arena * arena,Option && from)334   Option(::google::protobuf::Arena* arena, Option&& from) noexcept
335       : Option(arena) {
336     *this = ::std::move(from);
337   }
338   const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
339   static void* PlacementNew_(const void*, void* mem,
340                              ::google::protobuf::Arena* arena);
341   static constexpr auto InternalNewImpl_();
342   static const ::google::protobuf::internal::ClassDataFull _class_data_;
343 
344  public:
345   ::google::protobuf::Metadata GetMetadata() const;
346   // nested types ----------------------------------------------------
347 
348   // accessors -------------------------------------------------------
349   enum : int {
350     kNameFieldNumber = 1,
351     kValueFieldNumber = 2,
352   };
353   // string name = 1;
354   void clear_name() ;
355   const std::string& name() const;
356   template <typename Arg_ = const std::string&, typename... Args_>
357   void set_name(Arg_&& arg, Args_... args);
358   std::string* mutable_name();
359   PROTOBUF_NODISCARD std::string* release_name();
360   void set_allocated_name(std::string* value);
361 
362   private:
363   const std::string& _internal_name() const;
364   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
365       const std::string& value);
366   std::string* _internal_mutable_name();
367 
368   public:
369   // .google.protobuf.Any value = 2;
370   bool has_value() const;
371   void clear_value() ;
372   const ::google::protobuf::Any& value() const;
373   PROTOBUF_NODISCARD ::google::protobuf::Any* release_value();
374   ::google::protobuf::Any* mutable_value();
375   void set_allocated_value(::google::protobuf::Any* value);
376   void unsafe_arena_set_allocated_value(::google::protobuf::Any* value);
377   ::google::protobuf::Any* unsafe_arena_release_value();
378 
379   private:
380   const ::google::protobuf::Any& _internal_value() const;
381   ::google::protobuf::Any* _internal_mutable_value();
382 
383   public:
384   // @@protoc_insertion_point(class_scope:google.protobuf.Option)
385  private:
386   class _Internal;
387   friend class ::google::protobuf::internal::TcParser;
388   static const ::google::protobuf::internal::TcParseTable<
389       1, 2, 1,
390       35, 2>
391       _table_;
392 
393   friend class ::google::protobuf::MessageLite;
394   friend class ::google::protobuf::Arena;
395   template <typename T>
396   friend class ::google::protobuf::Arena::InternalHelper;
397   using InternalArenaConstructable_ = void;
398   using DestructorSkippable_ = void;
399   struct Impl_ {
400     inline explicit constexpr Impl_(
401         ::google::protobuf::internal::ConstantInitialized) noexcept;
402     inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
403                           ::google::protobuf::Arena* arena);
404     inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
405                           ::google::protobuf::Arena* arena, const Impl_& from,
406                           const Option& from_msg);
407     ::google::protobuf::internal::HasBits<1> _has_bits_;
408     ::google::protobuf::internal::CachedSize _cached_size_;
409     ::google::protobuf::internal::ArenaStringPtr name_;
410     ::google::protobuf::Any* value_;
411     PROTOBUF_TSAN_DECLARE_MEMBER
412   };
413   union { Impl_ _impl_; };
414   friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto;
415 };
416 // -------------------------------------------------------------------
417 
418 class PROTOBUF_EXPORT Field final : public ::google::protobuf::Message
419 /* @@protoc_insertion_point(class_definition:google.protobuf.Field) */ {
420  public:
Field()421   inline Field() : Field(nullptr) {}
422   ~Field() PROTOBUF_FINAL;
423 
424 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(Field * msg,std::destroying_delete_t)425   void operator delete(Field* msg, std::destroying_delete_t) {
426     SharedDtor(*msg);
427     ::google::protobuf::internal::SizedDelete(msg, sizeof(Field));
428   }
429 #endif
430 
431   template <typename = void>
432   explicit PROTOBUF_CONSTEXPR Field(
433       ::google::protobuf::internal::ConstantInitialized);
434 
Field(const Field & from)435   inline Field(const Field& from) : Field(nullptr, from) {}
Field(Field && from)436   inline Field(Field&& from) noexcept
437       : Field(nullptr, std::move(from)) {}
438   inline Field& operator=(const Field& from) {
439     CopyFrom(from);
440     return *this;
441   }
442   inline Field& operator=(Field&& from) noexcept {
443     if (this == &from) return *this;
444     if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
445       InternalSwap(&from);
446     } else {
447       CopyFrom(from);
448     }
449     return *this;
450   }
451 
unknown_fields()452   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
453       ABSL_ATTRIBUTE_LIFETIME_BOUND {
454     return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
455   }
mutable_unknown_fields()456   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
457       ABSL_ATTRIBUTE_LIFETIME_BOUND {
458     return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
459   }
460 
descriptor()461   static const ::google::protobuf::Descriptor* descriptor() {
462     return GetDescriptor();
463   }
GetDescriptor()464   static const ::google::protobuf::Descriptor* GetDescriptor() {
465     return default_instance().GetMetadata().descriptor;
466   }
GetReflection()467   static const ::google::protobuf::Reflection* GetReflection() {
468     return default_instance().GetMetadata().reflection;
469   }
default_instance()470   static const Field& default_instance() {
471     return *internal_default_instance();
472   }
internal_default_instance()473   static inline const Field* internal_default_instance() {
474     return reinterpret_cast<const Field*>(
475         &_Field_default_instance_);
476   }
477   static constexpr int kIndexInFileMessages = 1;
swap(Field & a,Field & b)478   friend void swap(Field& a, Field& b) { a.Swap(&b); }
Swap(Field * other)479   inline void Swap(Field* other) {
480     if (other == this) return;
481     if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
482       InternalSwap(other);
483     } else {
484       ::google::protobuf::internal::GenericSwap(this, other);
485     }
486   }
UnsafeArenaSwap(Field * other)487   void UnsafeArenaSwap(Field* other) {
488     if (other == this) return;
489     ABSL_DCHECK(GetArena() == other->GetArena());
490     InternalSwap(other);
491   }
492 
493   // implements Message ----------------------------------------------
494 
495   Field* New(::google::protobuf::Arena* arena = nullptr) const {
496     return ::google::protobuf::Message::DefaultConstruct<Field>(arena);
497   }
498   using ::google::protobuf::Message::CopyFrom;
499   void CopyFrom(const Field& from);
500   using ::google::protobuf::Message::MergeFrom;
MergeFrom(const Field & from)501   void MergeFrom(const Field& from) { Field::MergeImpl(*this, from); }
502 
503   private:
504   static void MergeImpl(
505       ::google::protobuf::MessageLite& to_msg,
506       const ::google::protobuf::MessageLite& from_msg);
507 
508   public:
IsInitialized()509   bool IsInitialized() const {
510     return true;
511   }
512   ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
513   #if defined(PROTOBUF_CUSTOM_VTABLE)
514   private:
515   static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
516   static ::uint8_t* _InternalSerialize(
517       const MessageLite& msg, ::uint8_t* target,
518       ::google::protobuf::io::EpsCopyOutputStream* stream);
519 
520   public:
ByteSizeLong()521   ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)522   ::uint8_t* _InternalSerialize(
523       ::uint8_t* target,
524       ::google::protobuf::io::EpsCopyOutputStream* stream) const {
525     return _InternalSerialize(*this, target, stream);
526   }
527   #else   // PROTOBUF_CUSTOM_VTABLE
528   ::size_t ByteSizeLong() const final;
529   ::uint8_t* _InternalSerialize(
530       ::uint8_t* target,
531       ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
532   #endif  // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()533   int GetCachedSize() const { return _impl_._cached_size_.Get(); }
534 
535   private:
536   void SharedCtor(::google::protobuf::Arena* arena);
537   static void SharedDtor(MessageLite& self);
538   void InternalSwap(Field* other);
539  private:
540   template <typename T>
541   friend ::absl::string_view(
542       ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()543   static ::absl::string_view FullMessageName() { return "google.protobuf.Field"; }
544 
545  protected:
546   explicit Field(::google::protobuf::Arena* arena);
547   Field(::google::protobuf::Arena* arena, const Field& from);
Field(::google::protobuf::Arena * arena,Field && from)548   Field(::google::protobuf::Arena* arena, Field&& from) noexcept
549       : Field(arena) {
550     *this = ::std::move(from);
551   }
552   const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
553   static void* PlacementNew_(const void*, void* mem,
554                              ::google::protobuf::Arena* arena);
555   static constexpr auto InternalNewImpl_();
556   static const ::google::protobuf::internal::ClassDataFull _class_data_;
557 
558  public:
559   ::google::protobuf::Metadata GetMetadata() const;
560   // nested types ----------------------------------------------------
561   using Kind = Field_Kind;
562   static constexpr Kind TYPE_UNKNOWN = Field_Kind_TYPE_UNKNOWN;
563   static constexpr Kind TYPE_DOUBLE = Field_Kind_TYPE_DOUBLE;
564   static constexpr Kind TYPE_FLOAT = Field_Kind_TYPE_FLOAT;
565   static constexpr Kind TYPE_INT64 = Field_Kind_TYPE_INT64;
566   static constexpr Kind TYPE_UINT64 = Field_Kind_TYPE_UINT64;
567   static constexpr Kind TYPE_INT32 = Field_Kind_TYPE_INT32;
568   static constexpr Kind TYPE_FIXED64 = Field_Kind_TYPE_FIXED64;
569   static constexpr Kind TYPE_FIXED32 = Field_Kind_TYPE_FIXED32;
570   static constexpr Kind TYPE_BOOL = Field_Kind_TYPE_BOOL;
571   static constexpr Kind TYPE_STRING = Field_Kind_TYPE_STRING;
572   static constexpr Kind TYPE_GROUP = Field_Kind_TYPE_GROUP;
573   static constexpr Kind TYPE_MESSAGE = Field_Kind_TYPE_MESSAGE;
574   static constexpr Kind TYPE_BYTES = Field_Kind_TYPE_BYTES;
575   static constexpr Kind TYPE_UINT32 = Field_Kind_TYPE_UINT32;
576   static constexpr Kind TYPE_ENUM = Field_Kind_TYPE_ENUM;
577   static constexpr Kind TYPE_SFIXED32 = Field_Kind_TYPE_SFIXED32;
578   static constexpr Kind TYPE_SFIXED64 = Field_Kind_TYPE_SFIXED64;
579   static constexpr Kind TYPE_SINT32 = Field_Kind_TYPE_SINT32;
580   static constexpr Kind TYPE_SINT64 = Field_Kind_TYPE_SINT64;
Kind_IsValid(int value)581   static inline bool Kind_IsValid(int value) {
582     return Field_Kind_IsValid(value);
583   }
584   static constexpr Kind Kind_MIN = Field_Kind_Kind_MIN;
585   static constexpr Kind Kind_MAX = Field_Kind_Kind_MAX;
586   static constexpr int Kind_ARRAYSIZE = Field_Kind_Kind_ARRAYSIZE;
Kind_descriptor()587   static inline const ::google::protobuf::EnumDescriptor* Kind_descriptor() {
588     return Field_Kind_descriptor();
589   }
590   template <typename T>
Kind_Name(T value)591   static inline const std::string& Kind_Name(T value) {
592     return Field_Kind_Name(value);
593   }
Kind_Parse(absl::string_view name,Kind * value)594   static inline bool Kind_Parse(absl::string_view name, Kind* value) {
595     return Field_Kind_Parse(name, value);
596   }
597   using Cardinality = Field_Cardinality;
598   static constexpr Cardinality CARDINALITY_UNKNOWN = Field_Cardinality_CARDINALITY_UNKNOWN;
599   static constexpr Cardinality CARDINALITY_OPTIONAL = Field_Cardinality_CARDINALITY_OPTIONAL;
600   static constexpr Cardinality CARDINALITY_REQUIRED = Field_Cardinality_CARDINALITY_REQUIRED;
601   static constexpr Cardinality CARDINALITY_REPEATED = Field_Cardinality_CARDINALITY_REPEATED;
Cardinality_IsValid(int value)602   static inline bool Cardinality_IsValid(int value) {
603     return Field_Cardinality_IsValid(value);
604   }
605   static constexpr Cardinality Cardinality_MIN = Field_Cardinality_Cardinality_MIN;
606   static constexpr Cardinality Cardinality_MAX = Field_Cardinality_Cardinality_MAX;
607   static constexpr int Cardinality_ARRAYSIZE = Field_Cardinality_Cardinality_ARRAYSIZE;
Cardinality_descriptor()608   static inline const ::google::protobuf::EnumDescriptor* Cardinality_descriptor() {
609     return Field_Cardinality_descriptor();
610   }
611   template <typename T>
Cardinality_Name(T value)612   static inline const std::string& Cardinality_Name(T value) {
613     return Field_Cardinality_Name(value);
614   }
Cardinality_Parse(absl::string_view name,Cardinality * value)615   static inline bool Cardinality_Parse(absl::string_view name, Cardinality* value) {
616     return Field_Cardinality_Parse(name, value);
617   }
618 
619   // accessors -------------------------------------------------------
620   enum : int {
621     kOptionsFieldNumber = 9,
622     kNameFieldNumber = 4,
623     kTypeUrlFieldNumber = 6,
624     kJsonNameFieldNumber = 10,
625     kDefaultValueFieldNumber = 11,
626     kKindFieldNumber = 1,
627     kCardinalityFieldNumber = 2,
628     kNumberFieldNumber = 3,
629     kOneofIndexFieldNumber = 7,
630     kPackedFieldNumber = 8,
631   };
632   // repeated .google.protobuf.Option options = 9;
633   int options_size() const;
634   private:
635   int _internal_options_size() const;
636 
637   public:
638   void clear_options() ;
639   ::google::protobuf::Option* mutable_options(int index);
640   ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* mutable_options();
641 
642   private:
643   const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& _internal_options() const;
644   ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* _internal_mutable_options();
645   public:
646   const ::google::protobuf::Option& options(int index) const;
647   ::google::protobuf::Option* add_options();
648   const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& options() const;
649   // string name = 4;
650   void clear_name() ;
651   const std::string& name() const;
652   template <typename Arg_ = const std::string&, typename... Args_>
653   void set_name(Arg_&& arg, Args_... args);
654   std::string* mutable_name();
655   PROTOBUF_NODISCARD std::string* release_name();
656   void set_allocated_name(std::string* value);
657 
658   private:
659   const std::string& _internal_name() const;
660   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
661       const std::string& value);
662   std::string* _internal_mutable_name();
663 
664   public:
665   // string type_url = 6;
666   void clear_type_url() ;
667   const std::string& type_url() const;
668   template <typename Arg_ = const std::string&, typename... Args_>
669   void set_type_url(Arg_&& arg, Args_... args);
670   std::string* mutable_type_url();
671   PROTOBUF_NODISCARD std::string* release_type_url();
672   void set_allocated_type_url(std::string* value);
673 
674   private:
675   const std::string& _internal_type_url() const;
676   inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_url(
677       const std::string& value);
678   std::string* _internal_mutable_type_url();
679 
680   public:
681   // string json_name = 10;
682   void clear_json_name() ;
683   const std::string& json_name() const;
684   template <typename Arg_ = const std::string&, typename... Args_>
685   void set_json_name(Arg_&& arg, Args_... args);
686   std::string* mutable_json_name();
687   PROTOBUF_NODISCARD std::string* release_json_name();
688   void set_allocated_json_name(std::string* value);
689 
690   private:
691   const std::string& _internal_json_name() const;
692   inline PROTOBUF_ALWAYS_INLINE void _internal_set_json_name(
693       const std::string& value);
694   std::string* _internal_mutable_json_name();
695 
696   public:
697   // string default_value = 11;
698   void clear_default_value() ;
699   const std::string& default_value() const;
700   template <typename Arg_ = const std::string&, typename... Args_>
701   void set_default_value(Arg_&& arg, Args_... args);
702   std::string* mutable_default_value();
703   PROTOBUF_NODISCARD std::string* release_default_value();
704   void set_allocated_default_value(std::string* value);
705 
706   private:
707   const std::string& _internal_default_value() const;
708   inline PROTOBUF_ALWAYS_INLINE void _internal_set_default_value(
709       const std::string& value);
710   std::string* _internal_mutable_default_value();
711 
712   public:
713   // .google.protobuf.Field.Kind kind = 1;
714   void clear_kind() ;
715   ::google::protobuf::Field_Kind kind() const;
716   void set_kind(::google::protobuf::Field_Kind value);
717 
718   private:
719   ::google::protobuf::Field_Kind _internal_kind() const;
720   void _internal_set_kind(::google::protobuf::Field_Kind value);
721 
722   public:
723   // .google.protobuf.Field.Cardinality cardinality = 2;
724   void clear_cardinality() ;
725   ::google::protobuf::Field_Cardinality cardinality() const;
726   void set_cardinality(::google::protobuf::Field_Cardinality value);
727 
728   private:
729   ::google::protobuf::Field_Cardinality _internal_cardinality() const;
730   void _internal_set_cardinality(::google::protobuf::Field_Cardinality value);
731 
732   public:
733   // int32 number = 3;
734   void clear_number() ;
735   ::int32_t number() const;
736   void set_number(::int32_t value);
737 
738   private:
739   ::int32_t _internal_number() const;
740   void _internal_set_number(::int32_t value);
741 
742   public:
743   // int32 oneof_index = 7;
744   void clear_oneof_index() ;
745   ::int32_t oneof_index() const;
746   void set_oneof_index(::int32_t value);
747 
748   private:
749   ::int32_t _internal_oneof_index() const;
750   void _internal_set_oneof_index(::int32_t value);
751 
752   public:
753   // bool packed = 8;
754   void clear_packed() ;
755   bool packed() const;
756   void set_packed(bool value);
757 
758   private:
759   bool _internal_packed() const;
760   void _internal_set_packed(bool value);
761 
762   public:
763   // @@protoc_insertion_point(class_scope:google.protobuf.Field)
764  private:
765   class _Internal;
766   friend class ::google::protobuf::internal::TcParser;
767   static const ::google::protobuf::internal::TcParseTable<
768       4, 10, 1,
769       72, 2>
770       _table_;
771 
772   friend class ::google::protobuf::MessageLite;
773   friend class ::google::protobuf::Arena;
774   template <typename T>
775   friend class ::google::protobuf::Arena::InternalHelper;
776   using InternalArenaConstructable_ = void;
777   using DestructorSkippable_ = void;
778   struct Impl_ {
779     inline explicit constexpr Impl_(
780         ::google::protobuf::internal::ConstantInitialized) noexcept;
781     inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
782                           ::google::protobuf::Arena* arena);
783     inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
784                           ::google::protobuf::Arena* arena, const Impl_& from,
785                           const Field& from_msg);
786     ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
787     ::google::protobuf::internal::ArenaStringPtr name_;
788     ::google::protobuf::internal::ArenaStringPtr type_url_;
789     ::google::protobuf::internal::ArenaStringPtr json_name_;
790     ::google::protobuf::internal::ArenaStringPtr default_value_;
791     int kind_;
792     int cardinality_;
793     ::int32_t number_;
794     ::int32_t oneof_index_;
795     bool packed_;
796     ::google::protobuf::internal::CachedSize _cached_size_;
797     PROTOBUF_TSAN_DECLARE_MEMBER
798   };
799   union { Impl_ _impl_; };
800   friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto;
801 };
802 // -------------------------------------------------------------------
803 
804 class PROTOBUF_EXPORT EnumValue final : public ::google::protobuf::Message
805 /* @@protoc_insertion_point(class_definition:google.protobuf.EnumValue) */ {
806  public:
EnumValue()807   inline EnumValue() : EnumValue(nullptr) {}
808   ~EnumValue() PROTOBUF_FINAL;
809 
810 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(EnumValue * msg,std::destroying_delete_t)811   void operator delete(EnumValue* msg, std::destroying_delete_t) {
812     SharedDtor(*msg);
813     ::google::protobuf::internal::SizedDelete(msg, sizeof(EnumValue));
814   }
815 #endif
816 
817   template <typename = void>
818   explicit PROTOBUF_CONSTEXPR EnumValue(
819       ::google::protobuf::internal::ConstantInitialized);
820 
EnumValue(const EnumValue & from)821   inline EnumValue(const EnumValue& from) : EnumValue(nullptr, from) {}
EnumValue(EnumValue && from)822   inline EnumValue(EnumValue&& from) noexcept
823       : EnumValue(nullptr, std::move(from)) {}
824   inline EnumValue& operator=(const EnumValue& from) {
825     CopyFrom(from);
826     return *this;
827   }
828   inline EnumValue& operator=(EnumValue&& from) noexcept {
829     if (this == &from) return *this;
830     if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
831       InternalSwap(&from);
832     } else {
833       CopyFrom(from);
834     }
835     return *this;
836   }
837 
unknown_fields()838   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
839       ABSL_ATTRIBUTE_LIFETIME_BOUND {
840     return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
841   }
mutable_unknown_fields()842   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
843       ABSL_ATTRIBUTE_LIFETIME_BOUND {
844     return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
845   }
846 
descriptor()847   static const ::google::protobuf::Descriptor* descriptor() {
848     return GetDescriptor();
849   }
GetDescriptor()850   static const ::google::protobuf::Descriptor* GetDescriptor() {
851     return default_instance().GetMetadata().descriptor;
852   }
GetReflection()853   static const ::google::protobuf::Reflection* GetReflection() {
854     return default_instance().GetMetadata().reflection;
855   }
default_instance()856   static const EnumValue& default_instance() {
857     return *internal_default_instance();
858   }
internal_default_instance()859   static inline const EnumValue* internal_default_instance() {
860     return reinterpret_cast<const EnumValue*>(
861         &_EnumValue_default_instance_);
862   }
863   static constexpr int kIndexInFileMessages = 3;
swap(EnumValue & a,EnumValue & b)864   friend void swap(EnumValue& a, EnumValue& b) { a.Swap(&b); }
Swap(EnumValue * other)865   inline void Swap(EnumValue* other) {
866     if (other == this) return;
867     if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
868       InternalSwap(other);
869     } else {
870       ::google::protobuf::internal::GenericSwap(this, other);
871     }
872   }
UnsafeArenaSwap(EnumValue * other)873   void UnsafeArenaSwap(EnumValue* other) {
874     if (other == this) return;
875     ABSL_DCHECK(GetArena() == other->GetArena());
876     InternalSwap(other);
877   }
878 
879   // implements Message ----------------------------------------------
880 
881   EnumValue* New(::google::protobuf::Arena* arena = nullptr) const {
882     return ::google::protobuf::Message::DefaultConstruct<EnumValue>(arena);
883   }
884   using ::google::protobuf::Message::CopyFrom;
885   void CopyFrom(const EnumValue& from);
886   using ::google::protobuf::Message::MergeFrom;
MergeFrom(const EnumValue & from)887   void MergeFrom(const EnumValue& from) { EnumValue::MergeImpl(*this, from); }
888 
889   private:
890   static void MergeImpl(
891       ::google::protobuf::MessageLite& to_msg,
892       const ::google::protobuf::MessageLite& from_msg);
893 
894   public:
IsInitialized()895   bool IsInitialized() const {
896     return true;
897   }
898   ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
899   #if defined(PROTOBUF_CUSTOM_VTABLE)
900   private:
901   static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
902   static ::uint8_t* _InternalSerialize(
903       const MessageLite& msg, ::uint8_t* target,
904       ::google::protobuf::io::EpsCopyOutputStream* stream);
905 
906   public:
ByteSizeLong()907   ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)908   ::uint8_t* _InternalSerialize(
909       ::uint8_t* target,
910       ::google::protobuf::io::EpsCopyOutputStream* stream) const {
911     return _InternalSerialize(*this, target, stream);
912   }
913   #else   // PROTOBUF_CUSTOM_VTABLE
914   ::size_t ByteSizeLong() const final;
915   ::uint8_t* _InternalSerialize(
916       ::uint8_t* target,
917       ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
918   #endif  // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()919   int GetCachedSize() const { return _impl_._cached_size_.Get(); }
920 
921   private:
922   void SharedCtor(::google::protobuf::Arena* arena);
923   static void SharedDtor(MessageLite& self);
924   void InternalSwap(EnumValue* other);
925  private:
926   template <typename T>
927   friend ::absl::string_view(
928       ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()929   static ::absl::string_view FullMessageName() { return "google.protobuf.EnumValue"; }
930 
931  protected:
932   explicit EnumValue(::google::protobuf::Arena* arena);
933   EnumValue(::google::protobuf::Arena* arena, const EnumValue& from);
EnumValue(::google::protobuf::Arena * arena,EnumValue && from)934   EnumValue(::google::protobuf::Arena* arena, EnumValue&& from) noexcept
935       : EnumValue(arena) {
936     *this = ::std::move(from);
937   }
938   const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
939   static void* PlacementNew_(const void*, void* mem,
940                              ::google::protobuf::Arena* arena);
941   static constexpr auto InternalNewImpl_();
942   static const ::google::protobuf::internal::ClassDataFull _class_data_;
943 
944  public:
945   ::google::protobuf::Metadata GetMetadata() const;
946   // nested types ----------------------------------------------------
947 
948   // accessors -------------------------------------------------------
949   enum : int {
950     kOptionsFieldNumber = 3,
951     kNameFieldNumber = 1,
952     kNumberFieldNumber = 2,
953   };
954   // repeated .google.protobuf.Option options = 3;
955   int options_size() const;
956   private:
957   int _internal_options_size() const;
958 
959   public:
960   void clear_options() ;
961   ::google::protobuf::Option* mutable_options(int index);
962   ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* mutable_options();
963 
964   private:
965   const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& _internal_options() const;
966   ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* _internal_mutable_options();
967   public:
968   const ::google::protobuf::Option& options(int index) const;
969   ::google::protobuf::Option* add_options();
970   const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& options() const;
971   // string name = 1;
972   void clear_name() ;
973   const std::string& name() const;
974   template <typename Arg_ = const std::string&, typename... Args_>
975   void set_name(Arg_&& arg, Args_... args);
976   std::string* mutable_name();
977   PROTOBUF_NODISCARD std::string* release_name();
978   void set_allocated_name(std::string* value);
979 
980   private:
981   const std::string& _internal_name() const;
982   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
983       const std::string& value);
984   std::string* _internal_mutable_name();
985 
986   public:
987   // int32 number = 2;
988   void clear_number() ;
989   ::int32_t number() const;
990   void set_number(::int32_t value);
991 
992   private:
993   ::int32_t _internal_number() const;
994   void _internal_set_number(::int32_t value);
995 
996   public:
997   // @@protoc_insertion_point(class_scope:google.protobuf.EnumValue)
998  private:
999   class _Internal;
1000   friend class ::google::protobuf::internal::TcParser;
1001   static const ::google::protobuf::internal::TcParseTable<
1002       2, 3, 1,
1003       38, 2>
1004       _table_;
1005 
1006   friend class ::google::protobuf::MessageLite;
1007   friend class ::google::protobuf::Arena;
1008   template <typename T>
1009   friend class ::google::protobuf::Arena::InternalHelper;
1010   using InternalArenaConstructable_ = void;
1011   using DestructorSkippable_ = void;
1012   struct Impl_ {
1013     inline explicit constexpr Impl_(
1014         ::google::protobuf::internal::ConstantInitialized) noexcept;
1015     inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1016                           ::google::protobuf::Arena* arena);
1017     inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1018                           ::google::protobuf::Arena* arena, const Impl_& from,
1019                           const EnumValue& from_msg);
1020     ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
1021     ::google::protobuf::internal::ArenaStringPtr name_;
1022     ::int32_t number_;
1023     ::google::protobuf::internal::CachedSize _cached_size_;
1024     PROTOBUF_TSAN_DECLARE_MEMBER
1025   };
1026   union { Impl_ _impl_; };
1027   friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto;
1028 };
1029 // -------------------------------------------------------------------
1030 
1031 class PROTOBUF_EXPORT Type final : public ::google::protobuf::Message
1032 /* @@protoc_insertion_point(class_definition:google.protobuf.Type) */ {
1033  public:
Type()1034   inline Type() : Type(nullptr) {}
1035   ~Type() PROTOBUF_FINAL;
1036 
1037 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(Type * msg,std::destroying_delete_t)1038   void operator delete(Type* msg, std::destroying_delete_t) {
1039     SharedDtor(*msg);
1040     ::google::protobuf::internal::SizedDelete(msg, sizeof(Type));
1041   }
1042 #endif
1043 
1044   template <typename = void>
1045   explicit PROTOBUF_CONSTEXPR Type(
1046       ::google::protobuf::internal::ConstantInitialized);
1047 
Type(const Type & from)1048   inline Type(const Type& from) : Type(nullptr, from) {}
Type(Type && from)1049   inline Type(Type&& from) noexcept
1050       : Type(nullptr, std::move(from)) {}
1051   inline Type& operator=(const Type& from) {
1052     CopyFrom(from);
1053     return *this;
1054   }
1055   inline Type& operator=(Type&& from) noexcept {
1056     if (this == &from) return *this;
1057     if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1058       InternalSwap(&from);
1059     } else {
1060       CopyFrom(from);
1061     }
1062     return *this;
1063   }
1064 
unknown_fields()1065   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1066       ABSL_ATTRIBUTE_LIFETIME_BOUND {
1067     return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1068   }
mutable_unknown_fields()1069   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
1070       ABSL_ATTRIBUTE_LIFETIME_BOUND {
1071     return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1072   }
1073 
descriptor()1074   static const ::google::protobuf::Descriptor* descriptor() {
1075     return GetDescriptor();
1076   }
GetDescriptor()1077   static const ::google::protobuf::Descriptor* GetDescriptor() {
1078     return default_instance().GetMetadata().descriptor;
1079   }
GetReflection()1080   static const ::google::protobuf::Reflection* GetReflection() {
1081     return default_instance().GetMetadata().reflection;
1082   }
default_instance()1083   static const Type& default_instance() {
1084     return *internal_default_instance();
1085   }
internal_default_instance()1086   static inline const Type* internal_default_instance() {
1087     return reinterpret_cast<const Type*>(
1088         &_Type_default_instance_);
1089   }
1090   static constexpr int kIndexInFileMessages = 0;
swap(Type & a,Type & b)1091   friend void swap(Type& a, Type& b) { a.Swap(&b); }
Swap(Type * other)1092   inline void Swap(Type* other) {
1093     if (other == this) return;
1094     if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1095       InternalSwap(other);
1096     } else {
1097       ::google::protobuf::internal::GenericSwap(this, other);
1098     }
1099   }
UnsafeArenaSwap(Type * other)1100   void UnsafeArenaSwap(Type* other) {
1101     if (other == this) return;
1102     ABSL_DCHECK(GetArena() == other->GetArena());
1103     InternalSwap(other);
1104   }
1105 
1106   // implements Message ----------------------------------------------
1107 
1108   Type* New(::google::protobuf::Arena* arena = nullptr) const {
1109     return ::google::protobuf::Message::DefaultConstruct<Type>(arena);
1110   }
1111   using ::google::protobuf::Message::CopyFrom;
1112   void CopyFrom(const Type& from);
1113   using ::google::protobuf::Message::MergeFrom;
MergeFrom(const Type & from)1114   void MergeFrom(const Type& from) { Type::MergeImpl(*this, from); }
1115 
1116   private:
1117   static void MergeImpl(
1118       ::google::protobuf::MessageLite& to_msg,
1119       const ::google::protobuf::MessageLite& from_msg);
1120 
1121   public:
IsInitialized()1122   bool IsInitialized() const {
1123     return true;
1124   }
1125   ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1126   #if defined(PROTOBUF_CUSTOM_VTABLE)
1127   private:
1128   static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1129   static ::uint8_t* _InternalSerialize(
1130       const MessageLite& msg, ::uint8_t* target,
1131       ::google::protobuf::io::EpsCopyOutputStream* stream);
1132 
1133   public:
ByteSizeLong()1134   ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)1135   ::uint8_t* _InternalSerialize(
1136       ::uint8_t* target,
1137       ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1138     return _InternalSerialize(*this, target, stream);
1139   }
1140   #else   // PROTOBUF_CUSTOM_VTABLE
1141   ::size_t ByteSizeLong() const final;
1142   ::uint8_t* _InternalSerialize(
1143       ::uint8_t* target,
1144       ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
1145   #endif  // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()1146   int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1147 
1148   private:
1149   void SharedCtor(::google::protobuf::Arena* arena);
1150   static void SharedDtor(MessageLite& self);
1151   void InternalSwap(Type* other);
1152  private:
1153   template <typename T>
1154   friend ::absl::string_view(
1155       ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()1156   static ::absl::string_view FullMessageName() { return "google.protobuf.Type"; }
1157 
1158  protected:
1159   explicit Type(::google::protobuf::Arena* arena);
1160   Type(::google::protobuf::Arena* arena, const Type& from);
Type(::google::protobuf::Arena * arena,Type && from)1161   Type(::google::protobuf::Arena* arena, Type&& from) noexcept
1162       : Type(arena) {
1163     *this = ::std::move(from);
1164   }
1165   const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
1166   static void* PlacementNew_(const void*, void* mem,
1167                              ::google::protobuf::Arena* arena);
1168   static constexpr auto InternalNewImpl_();
1169   static const ::google::protobuf::internal::ClassDataFull _class_data_;
1170 
1171  public:
1172   ::google::protobuf::Metadata GetMetadata() const;
1173   // nested types ----------------------------------------------------
1174 
1175   // accessors -------------------------------------------------------
1176   enum : int {
1177     kFieldsFieldNumber = 2,
1178     kOneofsFieldNumber = 3,
1179     kOptionsFieldNumber = 4,
1180     kNameFieldNumber = 1,
1181     kEditionFieldNumber = 7,
1182     kSourceContextFieldNumber = 5,
1183     kSyntaxFieldNumber = 6,
1184   };
1185   // repeated .google.protobuf.Field fields = 2;
1186   int fields_size() const;
1187   private:
1188   int _internal_fields_size() const;
1189 
1190   public:
1191   void clear_fields() ;
1192   ::google::protobuf::Field* mutable_fields(int index);
1193   ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>* mutable_fields();
1194 
1195   private:
1196   const ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>& _internal_fields() const;
1197   ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>* _internal_mutable_fields();
1198   public:
1199   const ::google::protobuf::Field& fields(int index) const;
1200   ::google::protobuf::Field* add_fields();
1201   const ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>& fields() const;
1202   // repeated string oneofs = 3;
1203   int oneofs_size() const;
1204   private:
1205   int _internal_oneofs_size() const;
1206 
1207   public:
1208   void clear_oneofs() ;
1209   const std::string& oneofs(int index) const;
1210   std::string* mutable_oneofs(int index);
1211   template <typename Arg_ = const std::string&, typename... Args_>
1212   void set_oneofs(int index, Arg_&& value, Args_... args);
1213   std::string* add_oneofs();
1214   template <typename Arg_ = const std::string&, typename... Args_>
1215   void add_oneofs(Arg_&& value, Args_... args);
1216   const ::google::protobuf::RepeatedPtrField<std::string>& oneofs() const;
1217   ::google::protobuf::RepeatedPtrField<std::string>* mutable_oneofs();
1218 
1219   private:
1220   const ::google::protobuf::RepeatedPtrField<std::string>& _internal_oneofs() const;
1221   ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_oneofs();
1222 
1223   public:
1224   // repeated .google.protobuf.Option options = 4;
1225   int options_size() const;
1226   private:
1227   int _internal_options_size() const;
1228 
1229   public:
1230   void clear_options() ;
1231   ::google::protobuf::Option* mutable_options(int index);
1232   ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* mutable_options();
1233 
1234   private:
1235   const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& _internal_options() const;
1236   ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* _internal_mutable_options();
1237   public:
1238   const ::google::protobuf::Option& options(int index) const;
1239   ::google::protobuf::Option* add_options();
1240   const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& options() const;
1241   // string name = 1;
1242   void clear_name() ;
1243   const std::string& name() const;
1244   template <typename Arg_ = const std::string&, typename... Args_>
1245   void set_name(Arg_&& arg, Args_... args);
1246   std::string* mutable_name();
1247   PROTOBUF_NODISCARD std::string* release_name();
1248   void set_allocated_name(std::string* value);
1249 
1250   private:
1251   const std::string& _internal_name() const;
1252   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
1253       const std::string& value);
1254   std::string* _internal_mutable_name();
1255 
1256   public:
1257   // string edition = 7;
1258   void clear_edition() ;
1259   const std::string& edition() const;
1260   template <typename Arg_ = const std::string&, typename... Args_>
1261   void set_edition(Arg_&& arg, Args_... args);
1262   std::string* mutable_edition();
1263   PROTOBUF_NODISCARD std::string* release_edition();
1264   void set_allocated_edition(std::string* value);
1265 
1266   private:
1267   const std::string& _internal_edition() const;
1268   inline PROTOBUF_ALWAYS_INLINE void _internal_set_edition(
1269       const std::string& value);
1270   std::string* _internal_mutable_edition();
1271 
1272   public:
1273   // .google.protobuf.SourceContext source_context = 5;
1274   bool has_source_context() const;
1275   void clear_source_context() ;
1276   const ::google::protobuf::SourceContext& source_context() const;
1277   PROTOBUF_NODISCARD ::google::protobuf::SourceContext* release_source_context();
1278   ::google::protobuf::SourceContext* mutable_source_context();
1279   void set_allocated_source_context(::google::protobuf::SourceContext* value);
1280   void unsafe_arena_set_allocated_source_context(::google::protobuf::SourceContext* value);
1281   ::google::protobuf::SourceContext* unsafe_arena_release_source_context();
1282 
1283   private:
1284   const ::google::protobuf::SourceContext& _internal_source_context() const;
1285   ::google::protobuf::SourceContext* _internal_mutable_source_context();
1286 
1287   public:
1288   // .google.protobuf.Syntax syntax = 6;
1289   void clear_syntax() ;
1290   ::google::protobuf::Syntax syntax() const;
1291   void set_syntax(::google::protobuf::Syntax value);
1292 
1293   private:
1294   ::google::protobuf::Syntax _internal_syntax() const;
1295   void _internal_set_syntax(::google::protobuf::Syntax value);
1296 
1297   public:
1298   // @@protoc_insertion_point(class_scope:google.protobuf.Type)
1299  private:
1300   class _Internal;
1301   friend class ::google::protobuf::internal::TcParser;
1302   static const ::google::protobuf::internal::TcParseTable<
1303       3, 7, 3,
1304       46, 2>
1305       _table_;
1306 
1307   friend class ::google::protobuf::MessageLite;
1308   friend class ::google::protobuf::Arena;
1309   template <typename T>
1310   friend class ::google::protobuf::Arena::InternalHelper;
1311   using InternalArenaConstructable_ = void;
1312   using DestructorSkippable_ = void;
1313   struct Impl_ {
1314     inline explicit constexpr Impl_(
1315         ::google::protobuf::internal::ConstantInitialized) noexcept;
1316     inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1317                           ::google::protobuf::Arena* arena);
1318     inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1319                           ::google::protobuf::Arena* arena, const Impl_& from,
1320                           const Type& from_msg);
1321     ::google::protobuf::internal::HasBits<1> _has_bits_;
1322     ::google::protobuf::internal::CachedSize _cached_size_;
1323     ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field > fields_;
1324     ::google::protobuf::RepeatedPtrField<std::string> oneofs_;
1325     ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
1326     ::google::protobuf::internal::ArenaStringPtr name_;
1327     ::google::protobuf::internal::ArenaStringPtr edition_;
1328     ::google::protobuf::SourceContext* source_context_;
1329     int syntax_;
1330     PROTOBUF_TSAN_DECLARE_MEMBER
1331   };
1332   union { Impl_ _impl_; };
1333   friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto;
1334 };
1335 // -------------------------------------------------------------------
1336 
1337 class PROTOBUF_EXPORT Enum final : public ::google::protobuf::Message
1338 /* @@protoc_insertion_point(class_definition:google.protobuf.Enum) */ {
1339  public:
Enum()1340   inline Enum() : Enum(nullptr) {}
1341   ~Enum() PROTOBUF_FINAL;
1342 
1343 #if defined(PROTOBUF_CUSTOM_VTABLE)
delete(Enum * msg,std::destroying_delete_t)1344   void operator delete(Enum* msg, std::destroying_delete_t) {
1345     SharedDtor(*msg);
1346     ::google::protobuf::internal::SizedDelete(msg, sizeof(Enum));
1347   }
1348 #endif
1349 
1350   template <typename = void>
1351   explicit PROTOBUF_CONSTEXPR Enum(
1352       ::google::protobuf::internal::ConstantInitialized);
1353 
Enum(const Enum & from)1354   inline Enum(const Enum& from) : Enum(nullptr, from) {}
Enum(Enum && from)1355   inline Enum(Enum&& from) noexcept
1356       : Enum(nullptr, std::move(from)) {}
1357   inline Enum& operator=(const Enum& from) {
1358     CopyFrom(from);
1359     return *this;
1360   }
1361   inline Enum& operator=(Enum&& from) noexcept {
1362     if (this == &from) return *this;
1363     if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1364       InternalSwap(&from);
1365     } else {
1366       CopyFrom(from);
1367     }
1368     return *this;
1369   }
1370 
unknown_fields()1371   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1372       ABSL_ATTRIBUTE_LIFETIME_BOUND {
1373     return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1374   }
mutable_unknown_fields()1375   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
1376       ABSL_ATTRIBUTE_LIFETIME_BOUND {
1377     return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1378   }
1379 
descriptor()1380   static const ::google::protobuf::Descriptor* descriptor() {
1381     return GetDescriptor();
1382   }
GetDescriptor()1383   static const ::google::protobuf::Descriptor* GetDescriptor() {
1384     return default_instance().GetMetadata().descriptor;
1385   }
GetReflection()1386   static const ::google::protobuf::Reflection* GetReflection() {
1387     return default_instance().GetMetadata().reflection;
1388   }
default_instance()1389   static const Enum& default_instance() {
1390     return *internal_default_instance();
1391   }
internal_default_instance()1392   static inline const Enum* internal_default_instance() {
1393     return reinterpret_cast<const Enum*>(
1394         &_Enum_default_instance_);
1395   }
1396   static constexpr int kIndexInFileMessages = 2;
swap(Enum & a,Enum & b)1397   friend void swap(Enum& a, Enum& b) { a.Swap(&b); }
Swap(Enum * other)1398   inline void Swap(Enum* other) {
1399     if (other == this) return;
1400     if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1401       InternalSwap(other);
1402     } else {
1403       ::google::protobuf::internal::GenericSwap(this, other);
1404     }
1405   }
UnsafeArenaSwap(Enum * other)1406   void UnsafeArenaSwap(Enum* other) {
1407     if (other == this) return;
1408     ABSL_DCHECK(GetArena() == other->GetArena());
1409     InternalSwap(other);
1410   }
1411 
1412   // implements Message ----------------------------------------------
1413 
1414   Enum* New(::google::protobuf::Arena* arena = nullptr) const {
1415     return ::google::protobuf::Message::DefaultConstruct<Enum>(arena);
1416   }
1417   using ::google::protobuf::Message::CopyFrom;
1418   void CopyFrom(const Enum& from);
1419   using ::google::protobuf::Message::MergeFrom;
MergeFrom(const Enum & from)1420   void MergeFrom(const Enum& from) { Enum::MergeImpl(*this, from); }
1421 
1422   private:
1423   static void MergeImpl(
1424       ::google::protobuf::MessageLite& to_msg,
1425       const ::google::protobuf::MessageLite& from_msg);
1426 
1427   public:
IsInitialized()1428   bool IsInitialized() const {
1429     return true;
1430   }
1431   ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1432   #if defined(PROTOBUF_CUSTOM_VTABLE)
1433   private:
1434   static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1435   static ::uint8_t* _InternalSerialize(
1436       const MessageLite& msg, ::uint8_t* target,
1437       ::google::protobuf::io::EpsCopyOutputStream* stream);
1438 
1439   public:
ByteSizeLong()1440   ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
_InternalSerialize(::uint8_t * target,::google::protobuf::io::EpsCopyOutputStream * stream)1441   ::uint8_t* _InternalSerialize(
1442       ::uint8_t* target,
1443       ::google::protobuf::io::EpsCopyOutputStream* stream) const {
1444     return _InternalSerialize(*this, target, stream);
1445   }
1446   #else   // PROTOBUF_CUSTOM_VTABLE
1447   ::size_t ByteSizeLong() const final;
1448   ::uint8_t* _InternalSerialize(
1449       ::uint8_t* target,
1450       ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
1451   #endif  // PROTOBUF_CUSTOM_VTABLE
GetCachedSize()1452   int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1453 
1454   private:
1455   void SharedCtor(::google::protobuf::Arena* arena);
1456   static void SharedDtor(MessageLite& self);
1457   void InternalSwap(Enum* other);
1458  private:
1459   template <typename T>
1460   friend ::absl::string_view(
1461       ::google::protobuf::internal::GetAnyMessageName)();
FullMessageName()1462   static ::absl::string_view FullMessageName() { return "google.protobuf.Enum"; }
1463 
1464  protected:
1465   explicit Enum(::google::protobuf::Arena* arena);
1466   Enum(::google::protobuf::Arena* arena, const Enum& from);
Enum(::google::protobuf::Arena * arena,Enum && from)1467   Enum(::google::protobuf::Arena* arena, Enum&& from) noexcept
1468       : Enum(arena) {
1469     *this = ::std::move(from);
1470   }
1471   const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL;
1472   static void* PlacementNew_(const void*, void* mem,
1473                              ::google::protobuf::Arena* arena);
1474   static constexpr auto InternalNewImpl_();
1475   static const ::google::protobuf::internal::ClassDataFull _class_data_;
1476 
1477  public:
1478   ::google::protobuf::Metadata GetMetadata() const;
1479   // nested types ----------------------------------------------------
1480 
1481   // accessors -------------------------------------------------------
1482   enum : int {
1483     kEnumvalueFieldNumber = 2,
1484     kOptionsFieldNumber = 3,
1485     kNameFieldNumber = 1,
1486     kEditionFieldNumber = 6,
1487     kSourceContextFieldNumber = 4,
1488     kSyntaxFieldNumber = 5,
1489   };
1490   // repeated .google.protobuf.EnumValue enumvalue = 2;
1491   int enumvalue_size() const;
1492   private:
1493   int _internal_enumvalue_size() const;
1494 
1495   public:
1496   void clear_enumvalue() ;
1497   ::google::protobuf::EnumValue* mutable_enumvalue(int index);
1498   ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>* mutable_enumvalue();
1499 
1500   private:
1501   const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>& _internal_enumvalue() const;
1502   ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>* _internal_mutable_enumvalue();
1503   public:
1504   const ::google::protobuf::EnumValue& enumvalue(int index) const;
1505   ::google::protobuf::EnumValue* add_enumvalue();
1506   const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>& enumvalue() const;
1507   // repeated .google.protobuf.Option options = 3;
1508   int options_size() const;
1509   private:
1510   int _internal_options_size() const;
1511 
1512   public:
1513   void clear_options() ;
1514   ::google::protobuf::Option* mutable_options(int index);
1515   ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* mutable_options();
1516 
1517   private:
1518   const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& _internal_options() const;
1519   ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* _internal_mutable_options();
1520   public:
1521   const ::google::protobuf::Option& options(int index) const;
1522   ::google::protobuf::Option* add_options();
1523   const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& options() const;
1524   // string name = 1;
1525   void clear_name() ;
1526   const std::string& name() const;
1527   template <typename Arg_ = const std::string&, typename... Args_>
1528   void set_name(Arg_&& arg, Args_... args);
1529   std::string* mutable_name();
1530   PROTOBUF_NODISCARD std::string* release_name();
1531   void set_allocated_name(std::string* value);
1532 
1533   private:
1534   const std::string& _internal_name() const;
1535   inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
1536       const std::string& value);
1537   std::string* _internal_mutable_name();
1538 
1539   public:
1540   // string edition = 6;
1541   void clear_edition() ;
1542   const std::string& edition() const;
1543   template <typename Arg_ = const std::string&, typename... Args_>
1544   void set_edition(Arg_&& arg, Args_... args);
1545   std::string* mutable_edition();
1546   PROTOBUF_NODISCARD std::string* release_edition();
1547   void set_allocated_edition(std::string* value);
1548 
1549   private:
1550   const std::string& _internal_edition() const;
1551   inline PROTOBUF_ALWAYS_INLINE void _internal_set_edition(
1552       const std::string& value);
1553   std::string* _internal_mutable_edition();
1554 
1555   public:
1556   // .google.protobuf.SourceContext source_context = 4;
1557   bool has_source_context() const;
1558   void clear_source_context() ;
1559   const ::google::protobuf::SourceContext& source_context() const;
1560   PROTOBUF_NODISCARD ::google::protobuf::SourceContext* release_source_context();
1561   ::google::protobuf::SourceContext* mutable_source_context();
1562   void set_allocated_source_context(::google::protobuf::SourceContext* value);
1563   void unsafe_arena_set_allocated_source_context(::google::protobuf::SourceContext* value);
1564   ::google::protobuf::SourceContext* unsafe_arena_release_source_context();
1565 
1566   private:
1567   const ::google::protobuf::SourceContext& _internal_source_context() const;
1568   ::google::protobuf::SourceContext* _internal_mutable_source_context();
1569 
1570   public:
1571   // .google.protobuf.Syntax syntax = 5;
1572   void clear_syntax() ;
1573   ::google::protobuf::Syntax syntax() const;
1574   void set_syntax(::google::protobuf::Syntax value);
1575 
1576   private:
1577   ::google::protobuf::Syntax _internal_syntax() const;
1578   void _internal_set_syntax(::google::protobuf::Syntax value);
1579 
1580   public:
1581   // @@protoc_insertion_point(class_scope:google.protobuf.Enum)
1582  private:
1583   class _Internal;
1584   friend class ::google::protobuf::internal::TcParser;
1585   static const ::google::protobuf::internal::TcParseTable<
1586       3, 6, 3,
1587       40, 2>
1588       _table_;
1589 
1590   friend class ::google::protobuf::MessageLite;
1591   friend class ::google::protobuf::Arena;
1592   template <typename T>
1593   friend class ::google::protobuf::Arena::InternalHelper;
1594   using InternalArenaConstructable_ = void;
1595   using DestructorSkippable_ = void;
1596   struct Impl_ {
1597     inline explicit constexpr Impl_(
1598         ::google::protobuf::internal::ConstantInitialized) noexcept;
1599     inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1600                           ::google::protobuf::Arena* arena);
1601     inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
1602                           ::google::protobuf::Arena* arena, const Impl_& from,
1603                           const Enum& from_msg);
1604     ::google::protobuf::internal::HasBits<1> _has_bits_;
1605     ::google::protobuf::internal::CachedSize _cached_size_;
1606     ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue > enumvalue_;
1607     ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
1608     ::google::protobuf::internal::ArenaStringPtr name_;
1609     ::google::protobuf::internal::ArenaStringPtr edition_;
1610     ::google::protobuf::SourceContext* source_context_;
1611     int syntax_;
1612     PROTOBUF_TSAN_DECLARE_MEMBER
1613   };
1614   union { Impl_ _impl_; };
1615   friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto;
1616 };
1617 
1618 // ===================================================================
1619 
1620 
1621 
1622 
1623 // ===================================================================
1624 
1625 
1626 #ifdef __GNUC__
1627 #pragma GCC diagnostic push
1628 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1629 #endif  // __GNUC__
1630 // -------------------------------------------------------------------
1631 
1632 // Type
1633 
1634 // string name = 1;
clear_name()1635 inline void Type::clear_name() {
1636   ::google::protobuf::internal::TSanWrite(&_impl_);
1637   _impl_.name_.ClearToEmpty();
1638 }
name()1639 inline const std::string& Type::name() const
1640     ABSL_ATTRIBUTE_LIFETIME_BOUND {
1641   // @@protoc_insertion_point(field_get:google.protobuf.Type.name)
1642   return _internal_name();
1643 }
1644 template <typename Arg_, typename... Args_>
set_name(Arg_ && arg,Args_...args)1645 inline PROTOBUF_ALWAYS_INLINE void Type::set_name(Arg_&& arg,
1646                                                      Args_... args) {
1647   ::google::protobuf::internal::TSanWrite(&_impl_);
1648   _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1649   // @@protoc_insertion_point(field_set:google.protobuf.Type.name)
1650 }
mutable_name()1651 inline std::string* Type::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1652   std::string* _s = _internal_mutable_name();
1653   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.name)
1654   return _s;
1655 }
_internal_name()1656 inline const std::string& Type::_internal_name() const {
1657   ::google::protobuf::internal::TSanRead(&_impl_);
1658   return _impl_.name_.Get();
1659 }
_internal_set_name(const std::string & value)1660 inline void Type::_internal_set_name(const std::string& value) {
1661   ::google::protobuf::internal::TSanWrite(&_impl_);
1662   _impl_.name_.Set(value, GetArena());
1663 }
_internal_mutable_name()1664 inline std::string* Type::_internal_mutable_name() {
1665   ::google::protobuf::internal::TSanWrite(&_impl_);
1666   return _impl_.name_.Mutable( GetArena());
1667 }
release_name()1668 inline std::string* Type::release_name() {
1669   ::google::protobuf::internal::TSanWrite(&_impl_);
1670   // @@protoc_insertion_point(field_release:google.protobuf.Type.name)
1671   return _impl_.name_.Release();
1672 }
set_allocated_name(std::string * value)1673 inline void Type::set_allocated_name(std::string* value) {
1674   ::google::protobuf::internal::TSanWrite(&_impl_);
1675   _impl_.name_.SetAllocated(value, GetArena());
1676   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
1677     _impl_.name_.Set("", GetArena());
1678   }
1679   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.name)
1680 }
1681 
1682 // repeated .google.protobuf.Field fields = 2;
_internal_fields_size()1683 inline int Type::_internal_fields_size() const {
1684   return _internal_fields().size();
1685 }
fields_size()1686 inline int Type::fields_size() const {
1687   return _internal_fields_size();
1688 }
clear_fields()1689 inline void Type::clear_fields() {
1690   ::google::protobuf::internal::TSanWrite(&_impl_);
1691   _impl_.fields_.Clear();
1692 }
mutable_fields(int index)1693 inline ::google::protobuf::Field* Type::mutable_fields(int index)
1694     ABSL_ATTRIBUTE_LIFETIME_BOUND {
1695   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.fields)
1696   return _internal_mutable_fields()->Mutable(index);
1697 }
mutable_fields()1698 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>* Type::mutable_fields()
1699     ABSL_ATTRIBUTE_LIFETIME_BOUND {
1700   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.fields)
1701   ::google::protobuf::internal::TSanWrite(&_impl_);
1702   return _internal_mutable_fields();
1703 }
fields(int index)1704 inline const ::google::protobuf::Field& Type::fields(int index) const
1705     ABSL_ATTRIBUTE_LIFETIME_BOUND {
1706   // @@protoc_insertion_point(field_get:google.protobuf.Type.fields)
1707   return _internal_fields().Get(index);
1708 }
add_fields()1709 inline ::google::protobuf::Field* Type::add_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1710   ::google::protobuf::internal::TSanWrite(&_impl_);
1711   ::google::protobuf::Field* _add = _internal_mutable_fields()->Add();
1712   // @@protoc_insertion_point(field_add:google.protobuf.Type.fields)
1713   return _add;
1714 }
fields()1715 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>& Type::fields() const
1716     ABSL_ATTRIBUTE_LIFETIME_BOUND {
1717   // @@protoc_insertion_point(field_list:google.protobuf.Type.fields)
1718   return _internal_fields();
1719 }
1720 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>&
_internal_fields()1721 Type::_internal_fields() const {
1722   ::google::protobuf::internal::TSanRead(&_impl_);
1723   return _impl_.fields_;
1724 }
1725 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>*
_internal_mutable_fields()1726 Type::_internal_mutable_fields() {
1727   ::google::protobuf::internal::TSanRead(&_impl_);
1728   return &_impl_.fields_;
1729 }
1730 
1731 // repeated string oneofs = 3;
_internal_oneofs_size()1732 inline int Type::_internal_oneofs_size() const {
1733   return _internal_oneofs().size();
1734 }
oneofs_size()1735 inline int Type::oneofs_size() const {
1736   return _internal_oneofs_size();
1737 }
clear_oneofs()1738 inline void Type::clear_oneofs() {
1739   ::google::protobuf::internal::TSanWrite(&_impl_);
1740   _impl_.oneofs_.Clear();
1741 }
add_oneofs()1742 inline std::string* Type::add_oneofs() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1743   ::google::protobuf::internal::TSanWrite(&_impl_);
1744   std::string* _s = _internal_mutable_oneofs()->Add();
1745   // @@protoc_insertion_point(field_add_mutable:google.protobuf.Type.oneofs)
1746   return _s;
1747 }
oneofs(int index)1748 inline const std::string& Type::oneofs(int index) const
1749     ABSL_ATTRIBUTE_LIFETIME_BOUND {
1750   // @@protoc_insertion_point(field_get:google.protobuf.Type.oneofs)
1751   return _internal_oneofs().Get(index);
1752 }
mutable_oneofs(int index)1753 inline std::string* Type::mutable_oneofs(int index)
1754     ABSL_ATTRIBUTE_LIFETIME_BOUND {
1755   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.oneofs)
1756   return _internal_mutable_oneofs()->Mutable(index);
1757 }
1758 template <typename Arg_, typename... Args_>
set_oneofs(int index,Arg_ && value,Args_...args)1759 inline void Type::set_oneofs(int index, Arg_&& value, Args_... args) {
1760   ::google::protobuf::internal::AssignToString(
1761       *_internal_mutable_oneofs()->Mutable(index),
1762       std::forward<Arg_>(value), args... );
1763   // @@protoc_insertion_point(field_set:google.protobuf.Type.oneofs)
1764 }
1765 template <typename Arg_, typename... Args_>
add_oneofs(Arg_ && value,Args_...args)1766 inline void Type::add_oneofs(Arg_&& value, Args_... args) {
1767   ::google::protobuf::internal::TSanWrite(&_impl_);
1768   ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_oneofs(),
1769                                std::forward<Arg_>(value),
1770                                args... );
1771   // @@protoc_insertion_point(field_add:google.protobuf.Type.oneofs)
1772 }
1773 inline const ::google::protobuf::RepeatedPtrField<std::string>&
oneofs()1774 Type::oneofs() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1775   // @@protoc_insertion_point(field_list:google.protobuf.Type.oneofs)
1776   return _internal_oneofs();
1777 }
1778 inline ::google::protobuf::RepeatedPtrField<std::string>*
mutable_oneofs()1779 Type::mutable_oneofs() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1780   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.oneofs)
1781   ::google::protobuf::internal::TSanWrite(&_impl_);
1782   return _internal_mutable_oneofs();
1783 }
1784 inline const ::google::protobuf::RepeatedPtrField<std::string>&
_internal_oneofs()1785 Type::_internal_oneofs() const {
1786   ::google::protobuf::internal::TSanRead(&_impl_);
1787   return _impl_.oneofs_;
1788 }
1789 inline ::google::protobuf::RepeatedPtrField<std::string>*
_internal_mutable_oneofs()1790 Type::_internal_mutable_oneofs() {
1791   ::google::protobuf::internal::TSanRead(&_impl_);
1792   return &_impl_.oneofs_;
1793 }
1794 
1795 // repeated .google.protobuf.Option options = 4;
_internal_options_size()1796 inline int Type::_internal_options_size() const {
1797   return _internal_options().size();
1798 }
options_size()1799 inline int Type::options_size() const {
1800   return _internal_options_size();
1801 }
clear_options()1802 inline void Type::clear_options() {
1803   ::google::protobuf::internal::TSanWrite(&_impl_);
1804   _impl_.options_.Clear();
1805 }
mutable_options(int index)1806 inline ::google::protobuf::Option* Type::mutable_options(int index)
1807     ABSL_ATTRIBUTE_LIFETIME_BOUND {
1808   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.options)
1809   return _internal_mutable_options()->Mutable(index);
1810 }
mutable_options()1811 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* Type::mutable_options()
1812     ABSL_ATTRIBUTE_LIFETIME_BOUND {
1813   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Type.options)
1814   ::google::protobuf::internal::TSanWrite(&_impl_);
1815   return _internal_mutable_options();
1816 }
options(int index)1817 inline const ::google::protobuf::Option& Type::options(int index) const
1818     ABSL_ATTRIBUTE_LIFETIME_BOUND {
1819   // @@protoc_insertion_point(field_get:google.protobuf.Type.options)
1820   return _internal_options().Get(index);
1821 }
add_options()1822 inline ::google::protobuf::Option* Type::add_options() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1823   ::google::protobuf::internal::TSanWrite(&_impl_);
1824   ::google::protobuf::Option* _add = _internal_mutable_options()->Add();
1825   // @@protoc_insertion_point(field_add:google.protobuf.Type.options)
1826   return _add;
1827 }
options()1828 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& Type::options() const
1829     ABSL_ATTRIBUTE_LIFETIME_BOUND {
1830   // @@protoc_insertion_point(field_list:google.protobuf.Type.options)
1831   return _internal_options();
1832 }
1833 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>&
_internal_options()1834 Type::_internal_options() const {
1835   ::google::protobuf::internal::TSanRead(&_impl_);
1836   return _impl_.options_;
1837 }
1838 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>*
_internal_mutable_options()1839 Type::_internal_mutable_options() {
1840   ::google::protobuf::internal::TSanRead(&_impl_);
1841   return &_impl_.options_;
1842 }
1843 
1844 // .google.protobuf.SourceContext source_context = 5;
has_source_context()1845 inline bool Type::has_source_context() const {
1846   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1847   PROTOBUF_ASSUME(!value || _impl_.source_context_ != nullptr);
1848   return value;
1849 }
_internal_source_context()1850 inline const ::google::protobuf::SourceContext& Type::_internal_source_context() const {
1851   ::google::protobuf::internal::TSanRead(&_impl_);
1852   const ::google::protobuf::SourceContext* p = _impl_.source_context_;
1853   return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::SourceContext&>(::google::protobuf::_SourceContext_default_instance_);
1854 }
source_context()1855 inline const ::google::protobuf::SourceContext& Type::source_context() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1856   // @@protoc_insertion_point(field_get:google.protobuf.Type.source_context)
1857   return _internal_source_context();
1858 }
unsafe_arena_set_allocated_source_context(::google::protobuf::SourceContext * value)1859 inline void Type::unsafe_arena_set_allocated_source_context(::google::protobuf::SourceContext* value) {
1860   ::google::protobuf::internal::TSanWrite(&_impl_);
1861   if (GetArena() == nullptr) {
1862     delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.source_context_);
1863   }
1864   _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(value);
1865   if (value != nullptr) {
1866     _impl_._has_bits_[0] |= 0x00000001u;
1867   } else {
1868     _impl_._has_bits_[0] &= ~0x00000001u;
1869   }
1870   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Type.source_context)
1871 }
release_source_context()1872 inline ::google::protobuf::SourceContext* Type::release_source_context() {
1873   ::google::protobuf::internal::TSanWrite(&_impl_);
1874 
1875   _impl_._has_bits_[0] &= ~0x00000001u;
1876   ::google::protobuf::SourceContext* released = _impl_.source_context_;
1877   _impl_.source_context_ = nullptr;
1878   if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1879     auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1880     released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1881     if (GetArena() == nullptr) {
1882       delete old;
1883     }
1884   } else {
1885     if (GetArena() != nullptr) {
1886       released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1887     }
1888   }
1889   return released;
1890 }
unsafe_arena_release_source_context()1891 inline ::google::protobuf::SourceContext* Type::unsafe_arena_release_source_context() {
1892   ::google::protobuf::internal::TSanWrite(&_impl_);
1893   // @@protoc_insertion_point(field_release:google.protobuf.Type.source_context)
1894 
1895   _impl_._has_bits_[0] &= ~0x00000001u;
1896   ::google::protobuf::SourceContext* temp = _impl_.source_context_;
1897   _impl_.source_context_ = nullptr;
1898   return temp;
1899 }
_internal_mutable_source_context()1900 inline ::google::protobuf::SourceContext* Type::_internal_mutable_source_context() {
1901   ::google::protobuf::internal::TSanWrite(&_impl_);
1902   if (_impl_.source_context_ == nullptr) {
1903     auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::SourceContext>(GetArena());
1904     _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(p);
1905   }
1906   return _impl_.source_context_;
1907 }
mutable_source_context()1908 inline ::google::protobuf::SourceContext* Type::mutable_source_context() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1909   _impl_._has_bits_[0] |= 0x00000001u;
1910   ::google::protobuf::SourceContext* _msg = _internal_mutable_source_context();
1911   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.source_context)
1912   return _msg;
1913 }
set_allocated_source_context(::google::protobuf::SourceContext * value)1914 inline void Type::set_allocated_source_context(::google::protobuf::SourceContext* value) {
1915   ::google::protobuf::Arena* message_arena = GetArena();
1916   ::google::protobuf::internal::TSanWrite(&_impl_);
1917   if (message_arena == nullptr) {
1918     delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.source_context_);
1919   }
1920 
1921   if (value != nullptr) {
1922     ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
1923     if (message_arena != submessage_arena) {
1924       value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1925     }
1926     _impl_._has_bits_[0] |= 0x00000001u;
1927   } else {
1928     _impl_._has_bits_[0] &= ~0x00000001u;
1929   }
1930 
1931   _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(value);
1932   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.source_context)
1933 }
1934 
1935 // .google.protobuf.Syntax syntax = 6;
clear_syntax()1936 inline void Type::clear_syntax() {
1937   ::google::protobuf::internal::TSanWrite(&_impl_);
1938   _impl_.syntax_ = 0;
1939 }
syntax()1940 inline ::google::protobuf::Syntax Type::syntax() const {
1941   // @@protoc_insertion_point(field_get:google.protobuf.Type.syntax)
1942   return _internal_syntax();
1943 }
set_syntax(::google::protobuf::Syntax value)1944 inline void Type::set_syntax(::google::protobuf::Syntax value) {
1945   _internal_set_syntax(value);
1946   // @@protoc_insertion_point(field_set:google.protobuf.Type.syntax)
1947 }
_internal_syntax()1948 inline ::google::protobuf::Syntax Type::_internal_syntax() const {
1949   ::google::protobuf::internal::TSanRead(&_impl_);
1950   return static_cast<::google::protobuf::Syntax>(_impl_.syntax_);
1951 }
_internal_set_syntax(::google::protobuf::Syntax value)1952 inline void Type::_internal_set_syntax(::google::protobuf::Syntax value) {
1953   ::google::protobuf::internal::TSanWrite(&_impl_);
1954   _impl_.syntax_ = value;
1955 }
1956 
1957 // string edition = 7;
clear_edition()1958 inline void Type::clear_edition() {
1959   ::google::protobuf::internal::TSanWrite(&_impl_);
1960   _impl_.edition_.ClearToEmpty();
1961 }
edition()1962 inline const std::string& Type::edition() const
1963     ABSL_ATTRIBUTE_LIFETIME_BOUND {
1964   // @@protoc_insertion_point(field_get:google.protobuf.Type.edition)
1965   return _internal_edition();
1966 }
1967 template <typename Arg_, typename... Args_>
set_edition(Arg_ && arg,Args_...args)1968 inline PROTOBUF_ALWAYS_INLINE void Type::set_edition(Arg_&& arg,
1969                                                      Args_... args) {
1970   ::google::protobuf::internal::TSanWrite(&_impl_);
1971   _impl_.edition_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1972   // @@protoc_insertion_point(field_set:google.protobuf.Type.edition)
1973 }
mutable_edition()1974 inline std::string* Type::mutable_edition() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1975   std::string* _s = _internal_mutable_edition();
1976   // @@protoc_insertion_point(field_mutable:google.protobuf.Type.edition)
1977   return _s;
1978 }
_internal_edition()1979 inline const std::string& Type::_internal_edition() const {
1980   ::google::protobuf::internal::TSanRead(&_impl_);
1981   return _impl_.edition_.Get();
1982 }
_internal_set_edition(const std::string & value)1983 inline void Type::_internal_set_edition(const std::string& value) {
1984   ::google::protobuf::internal::TSanWrite(&_impl_);
1985   _impl_.edition_.Set(value, GetArena());
1986 }
_internal_mutable_edition()1987 inline std::string* Type::_internal_mutable_edition() {
1988   ::google::protobuf::internal::TSanWrite(&_impl_);
1989   return _impl_.edition_.Mutable( GetArena());
1990 }
release_edition()1991 inline std::string* Type::release_edition() {
1992   ::google::protobuf::internal::TSanWrite(&_impl_);
1993   // @@protoc_insertion_point(field_release:google.protobuf.Type.edition)
1994   return _impl_.edition_.Release();
1995 }
set_allocated_edition(std::string * value)1996 inline void Type::set_allocated_edition(std::string* value) {
1997   ::google::protobuf::internal::TSanWrite(&_impl_);
1998   _impl_.edition_.SetAllocated(value, GetArena());
1999   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.edition_.IsDefault()) {
2000     _impl_.edition_.Set("", GetArena());
2001   }
2002   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Type.edition)
2003 }
2004 
2005 // -------------------------------------------------------------------
2006 
2007 // Field
2008 
2009 // .google.protobuf.Field.Kind kind = 1;
clear_kind()2010 inline void Field::clear_kind() {
2011   ::google::protobuf::internal::TSanWrite(&_impl_);
2012   _impl_.kind_ = 0;
2013 }
kind()2014 inline ::google::protobuf::Field_Kind Field::kind() const {
2015   // @@protoc_insertion_point(field_get:google.protobuf.Field.kind)
2016   return _internal_kind();
2017 }
set_kind(::google::protobuf::Field_Kind value)2018 inline void Field::set_kind(::google::protobuf::Field_Kind value) {
2019   _internal_set_kind(value);
2020   // @@protoc_insertion_point(field_set:google.protobuf.Field.kind)
2021 }
_internal_kind()2022 inline ::google::protobuf::Field_Kind Field::_internal_kind() const {
2023   ::google::protobuf::internal::TSanRead(&_impl_);
2024   return static_cast<::google::protobuf::Field_Kind>(_impl_.kind_);
2025 }
_internal_set_kind(::google::protobuf::Field_Kind value)2026 inline void Field::_internal_set_kind(::google::protobuf::Field_Kind value) {
2027   ::google::protobuf::internal::TSanWrite(&_impl_);
2028   _impl_.kind_ = value;
2029 }
2030 
2031 // .google.protobuf.Field.Cardinality cardinality = 2;
clear_cardinality()2032 inline void Field::clear_cardinality() {
2033   ::google::protobuf::internal::TSanWrite(&_impl_);
2034   _impl_.cardinality_ = 0;
2035 }
cardinality()2036 inline ::google::protobuf::Field_Cardinality Field::cardinality() const {
2037   // @@protoc_insertion_point(field_get:google.protobuf.Field.cardinality)
2038   return _internal_cardinality();
2039 }
set_cardinality(::google::protobuf::Field_Cardinality value)2040 inline void Field::set_cardinality(::google::protobuf::Field_Cardinality value) {
2041   _internal_set_cardinality(value);
2042   // @@protoc_insertion_point(field_set:google.protobuf.Field.cardinality)
2043 }
_internal_cardinality()2044 inline ::google::protobuf::Field_Cardinality Field::_internal_cardinality() const {
2045   ::google::protobuf::internal::TSanRead(&_impl_);
2046   return static_cast<::google::protobuf::Field_Cardinality>(_impl_.cardinality_);
2047 }
_internal_set_cardinality(::google::protobuf::Field_Cardinality value)2048 inline void Field::_internal_set_cardinality(::google::protobuf::Field_Cardinality value) {
2049   ::google::protobuf::internal::TSanWrite(&_impl_);
2050   _impl_.cardinality_ = value;
2051 }
2052 
2053 // int32 number = 3;
clear_number()2054 inline void Field::clear_number() {
2055   ::google::protobuf::internal::TSanWrite(&_impl_);
2056   _impl_.number_ = 0;
2057 }
number()2058 inline ::int32_t Field::number() const {
2059   // @@protoc_insertion_point(field_get:google.protobuf.Field.number)
2060   return _internal_number();
2061 }
set_number(::int32_t value)2062 inline void Field::set_number(::int32_t value) {
2063   _internal_set_number(value);
2064   // @@protoc_insertion_point(field_set:google.protobuf.Field.number)
2065 }
_internal_number()2066 inline ::int32_t Field::_internal_number() const {
2067   ::google::protobuf::internal::TSanRead(&_impl_);
2068   return _impl_.number_;
2069 }
_internal_set_number(::int32_t value)2070 inline void Field::_internal_set_number(::int32_t value) {
2071   ::google::protobuf::internal::TSanWrite(&_impl_);
2072   _impl_.number_ = value;
2073 }
2074 
2075 // string name = 4;
clear_name()2076 inline void Field::clear_name() {
2077   ::google::protobuf::internal::TSanWrite(&_impl_);
2078   _impl_.name_.ClearToEmpty();
2079 }
name()2080 inline const std::string& Field::name() const
2081     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2082   // @@protoc_insertion_point(field_get:google.protobuf.Field.name)
2083   return _internal_name();
2084 }
2085 template <typename Arg_, typename... Args_>
set_name(Arg_ && arg,Args_...args)2086 inline PROTOBUF_ALWAYS_INLINE void Field::set_name(Arg_&& arg,
2087                                                      Args_... args) {
2088   ::google::protobuf::internal::TSanWrite(&_impl_);
2089   _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2090   // @@protoc_insertion_point(field_set:google.protobuf.Field.name)
2091 }
mutable_name()2092 inline std::string* Field::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2093   std::string* _s = _internal_mutable_name();
2094   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.name)
2095   return _s;
2096 }
_internal_name()2097 inline const std::string& Field::_internal_name() const {
2098   ::google::protobuf::internal::TSanRead(&_impl_);
2099   return _impl_.name_.Get();
2100 }
_internal_set_name(const std::string & value)2101 inline void Field::_internal_set_name(const std::string& value) {
2102   ::google::protobuf::internal::TSanWrite(&_impl_);
2103   _impl_.name_.Set(value, GetArena());
2104 }
_internal_mutable_name()2105 inline std::string* Field::_internal_mutable_name() {
2106   ::google::protobuf::internal::TSanWrite(&_impl_);
2107   return _impl_.name_.Mutable( GetArena());
2108 }
release_name()2109 inline std::string* Field::release_name() {
2110   ::google::protobuf::internal::TSanWrite(&_impl_);
2111   // @@protoc_insertion_point(field_release:google.protobuf.Field.name)
2112   return _impl_.name_.Release();
2113 }
set_allocated_name(std::string * value)2114 inline void Field::set_allocated_name(std::string* value) {
2115   ::google::protobuf::internal::TSanWrite(&_impl_);
2116   _impl_.name_.SetAllocated(value, GetArena());
2117   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
2118     _impl_.name_.Set("", GetArena());
2119   }
2120   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.name)
2121 }
2122 
2123 // string type_url = 6;
clear_type_url()2124 inline void Field::clear_type_url() {
2125   ::google::protobuf::internal::TSanWrite(&_impl_);
2126   _impl_.type_url_.ClearToEmpty();
2127 }
type_url()2128 inline const std::string& Field::type_url() const
2129     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2130   // @@protoc_insertion_point(field_get:google.protobuf.Field.type_url)
2131   return _internal_type_url();
2132 }
2133 template <typename Arg_, typename... Args_>
set_type_url(Arg_ && arg,Args_...args)2134 inline PROTOBUF_ALWAYS_INLINE void Field::set_type_url(Arg_&& arg,
2135                                                      Args_... args) {
2136   ::google::protobuf::internal::TSanWrite(&_impl_);
2137   _impl_.type_url_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2138   // @@protoc_insertion_point(field_set:google.protobuf.Field.type_url)
2139 }
mutable_type_url()2140 inline std::string* Field::mutable_type_url() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2141   std::string* _s = _internal_mutable_type_url();
2142   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.type_url)
2143   return _s;
2144 }
_internal_type_url()2145 inline const std::string& Field::_internal_type_url() const {
2146   ::google::protobuf::internal::TSanRead(&_impl_);
2147   return _impl_.type_url_.Get();
2148 }
_internal_set_type_url(const std::string & value)2149 inline void Field::_internal_set_type_url(const std::string& value) {
2150   ::google::protobuf::internal::TSanWrite(&_impl_);
2151   _impl_.type_url_.Set(value, GetArena());
2152 }
_internal_mutable_type_url()2153 inline std::string* Field::_internal_mutable_type_url() {
2154   ::google::protobuf::internal::TSanWrite(&_impl_);
2155   return _impl_.type_url_.Mutable( GetArena());
2156 }
release_type_url()2157 inline std::string* Field::release_type_url() {
2158   ::google::protobuf::internal::TSanWrite(&_impl_);
2159   // @@protoc_insertion_point(field_release:google.protobuf.Field.type_url)
2160   return _impl_.type_url_.Release();
2161 }
set_allocated_type_url(std::string * value)2162 inline void Field::set_allocated_type_url(std::string* value) {
2163   ::google::protobuf::internal::TSanWrite(&_impl_);
2164   _impl_.type_url_.SetAllocated(value, GetArena());
2165   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.type_url_.IsDefault()) {
2166     _impl_.type_url_.Set("", GetArena());
2167   }
2168   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.type_url)
2169 }
2170 
2171 // int32 oneof_index = 7;
clear_oneof_index()2172 inline void Field::clear_oneof_index() {
2173   ::google::protobuf::internal::TSanWrite(&_impl_);
2174   _impl_.oneof_index_ = 0;
2175 }
oneof_index()2176 inline ::int32_t Field::oneof_index() const {
2177   // @@protoc_insertion_point(field_get:google.protobuf.Field.oneof_index)
2178   return _internal_oneof_index();
2179 }
set_oneof_index(::int32_t value)2180 inline void Field::set_oneof_index(::int32_t value) {
2181   _internal_set_oneof_index(value);
2182   // @@protoc_insertion_point(field_set:google.protobuf.Field.oneof_index)
2183 }
_internal_oneof_index()2184 inline ::int32_t Field::_internal_oneof_index() const {
2185   ::google::protobuf::internal::TSanRead(&_impl_);
2186   return _impl_.oneof_index_;
2187 }
_internal_set_oneof_index(::int32_t value)2188 inline void Field::_internal_set_oneof_index(::int32_t value) {
2189   ::google::protobuf::internal::TSanWrite(&_impl_);
2190   _impl_.oneof_index_ = value;
2191 }
2192 
2193 // bool packed = 8;
clear_packed()2194 inline void Field::clear_packed() {
2195   ::google::protobuf::internal::TSanWrite(&_impl_);
2196   _impl_.packed_ = false;
2197 }
packed()2198 inline bool Field::packed() const {
2199   // @@protoc_insertion_point(field_get:google.protobuf.Field.packed)
2200   return _internal_packed();
2201 }
set_packed(bool value)2202 inline void Field::set_packed(bool value) {
2203   _internal_set_packed(value);
2204   // @@protoc_insertion_point(field_set:google.protobuf.Field.packed)
2205 }
_internal_packed()2206 inline bool Field::_internal_packed() const {
2207   ::google::protobuf::internal::TSanRead(&_impl_);
2208   return _impl_.packed_;
2209 }
_internal_set_packed(bool value)2210 inline void Field::_internal_set_packed(bool value) {
2211   ::google::protobuf::internal::TSanWrite(&_impl_);
2212   _impl_.packed_ = value;
2213 }
2214 
2215 // repeated .google.protobuf.Option options = 9;
_internal_options_size()2216 inline int Field::_internal_options_size() const {
2217   return _internal_options().size();
2218 }
options_size()2219 inline int Field::options_size() const {
2220   return _internal_options_size();
2221 }
clear_options()2222 inline void Field::clear_options() {
2223   ::google::protobuf::internal::TSanWrite(&_impl_);
2224   _impl_.options_.Clear();
2225 }
mutable_options(int index)2226 inline ::google::protobuf::Option* Field::mutable_options(int index)
2227     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2228   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.options)
2229   return _internal_mutable_options()->Mutable(index);
2230 }
mutable_options()2231 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* Field::mutable_options()
2232     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2233   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Field.options)
2234   ::google::protobuf::internal::TSanWrite(&_impl_);
2235   return _internal_mutable_options();
2236 }
options(int index)2237 inline const ::google::protobuf::Option& Field::options(int index) const
2238     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2239   // @@protoc_insertion_point(field_get:google.protobuf.Field.options)
2240   return _internal_options().Get(index);
2241 }
add_options()2242 inline ::google::protobuf::Option* Field::add_options() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2243   ::google::protobuf::internal::TSanWrite(&_impl_);
2244   ::google::protobuf::Option* _add = _internal_mutable_options()->Add();
2245   // @@protoc_insertion_point(field_add:google.protobuf.Field.options)
2246   return _add;
2247 }
options()2248 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& Field::options() const
2249     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2250   // @@protoc_insertion_point(field_list:google.protobuf.Field.options)
2251   return _internal_options();
2252 }
2253 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>&
_internal_options()2254 Field::_internal_options() const {
2255   ::google::protobuf::internal::TSanRead(&_impl_);
2256   return _impl_.options_;
2257 }
2258 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>*
_internal_mutable_options()2259 Field::_internal_mutable_options() {
2260   ::google::protobuf::internal::TSanRead(&_impl_);
2261   return &_impl_.options_;
2262 }
2263 
2264 // string json_name = 10;
clear_json_name()2265 inline void Field::clear_json_name() {
2266   ::google::protobuf::internal::TSanWrite(&_impl_);
2267   _impl_.json_name_.ClearToEmpty();
2268 }
json_name()2269 inline const std::string& Field::json_name() const
2270     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2271   // @@protoc_insertion_point(field_get:google.protobuf.Field.json_name)
2272   return _internal_json_name();
2273 }
2274 template <typename Arg_, typename... Args_>
set_json_name(Arg_ && arg,Args_...args)2275 inline PROTOBUF_ALWAYS_INLINE void Field::set_json_name(Arg_&& arg,
2276                                                      Args_... args) {
2277   ::google::protobuf::internal::TSanWrite(&_impl_);
2278   _impl_.json_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2279   // @@protoc_insertion_point(field_set:google.protobuf.Field.json_name)
2280 }
mutable_json_name()2281 inline std::string* Field::mutable_json_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2282   std::string* _s = _internal_mutable_json_name();
2283   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.json_name)
2284   return _s;
2285 }
_internal_json_name()2286 inline const std::string& Field::_internal_json_name() const {
2287   ::google::protobuf::internal::TSanRead(&_impl_);
2288   return _impl_.json_name_.Get();
2289 }
_internal_set_json_name(const std::string & value)2290 inline void Field::_internal_set_json_name(const std::string& value) {
2291   ::google::protobuf::internal::TSanWrite(&_impl_);
2292   _impl_.json_name_.Set(value, GetArena());
2293 }
_internal_mutable_json_name()2294 inline std::string* Field::_internal_mutable_json_name() {
2295   ::google::protobuf::internal::TSanWrite(&_impl_);
2296   return _impl_.json_name_.Mutable( GetArena());
2297 }
release_json_name()2298 inline std::string* Field::release_json_name() {
2299   ::google::protobuf::internal::TSanWrite(&_impl_);
2300   // @@protoc_insertion_point(field_release:google.protobuf.Field.json_name)
2301   return _impl_.json_name_.Release();
2302 }
set_allocated_json_name(std::string * value)2303 inline void Field::set_allocated_json_name(std::string* value) {
2304   ::google::protobuf::internal::TSanWrite(&_impl_);
2305   _impl_.json_name_.SetAllocated(value, GetArena());
2306   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.json_name_.IsDefault()) {
2307     _impl_.json_name_.Set("", GetArena());
2308   }
2309   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.json_name)
2310 }
2311 
2312 // string default_value = 11;
clear_default_value()2313 inline void Field::clear_default_value() {
2314   ::google::protobuf::internal::TSanWrite(&_impl_);
2315   _impl_.default_value_.ClearToEmpty();
2316 }
default_value()2317 inline const std::string& Field::default_value() const
2318     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2319   // @@protoc_insertion_point(field_get:google.protobuf.Field.default_value)
2320   return _internal_default_value();
2321 }
2322 template <typename Arg_, typename... Args_>
set_default_value(Arg_ && arg,Args_...args)2323 inline PROTOBUF_ALWAYS_INLINE void Field::set_default_value(Arg_&& arg,
2324                                                      Args_... args) {
2325   ::google::protobuf::internal::TSanWrite(&_impl_);
2326   _impl_.default_value_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2327   // @@protoc_insertion_point(field_set:google.protobuf.Field.default_value)
2328 }
mutable_default_value()2329 inline std::string* Field::mutable_default_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2330   std::string* _s = _internal_mutable_default_value();
2331   // @@protoc_insertion_point(field_mutable:google.protobuf.Field.default_value)
2332   return _s;
2333 }
_internal_default_value()2334 inline const std::string& Field::_internal_default_value() const {
2335   ::google::protobuf::internal::TSanRead(&_impl_);
2336   return _impl_.default_value_.Get();
2337 }
_internal_set_default_value(const std::string & value)2338 inline void Field::_internal_set_default_value(const std::string& value) {
2339   ::google::protobuf::internal::TSanWrite(&_impl_);
2340   _impl_.default_value_.Set(value, GetArena());
2341 }
_internal_mutable_default_value()2342 inline std::string* Field::_internal_mutable_default_value() {
2343   ::google::protobuf::internal::TSanWrite(&_impl_);
2344   return _impl_.default_value_.Mutable( GetArena());
2345 }
release_default_value()2346 inline std::string* Field::release_default_value() {
2347   ::google::protobuf::internal::TSanWrite(&_impl_);
2348   // @@protoc_insertion_point(field_release:google.protobuf.Field.default_value)
2349   return _impl_.default_value_.Release();
2350 }
set_allocated_default_value(std::string * value)2351 inline void Field::set_allocated_default_value(std::string* value) {
2352   ::google::protobuf::internal::TSanWrite(&_impl_);
2353   _impl_.default_value_.SetAllocated(value, GetArena());
2354   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.default_value_.IsDefault()) {
2355     _impl_.default_value_.Set("", GetArena());
2356   }
2357   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Field.default_value)
2358 }
2359 
2360 // -------------------------------------------------------------------
2361 
2362 // Enum
2363 
2364 // string name = 1;
clear_name()2365 inline void Enum::clear_name() {
2366   ::google::protobuf::internal::TSanWrite(&_impl_);
2367   _impl_.name_.ClearToEmpty();
2368 }
name()2369 inline const std::string& Enum::name() const
2370     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2371   // @@protoc_insertion_point(field_get:google.protobuf.Enum.name)
2372   return _internal_name();
2373 }
2374 template <typename Arg_, typename... Args_>
set_name(Arg_ && arg,Args_...args)2375 inline PROTOBUF_ALWAYS_INLINE void Enum::set_name(Arg_&& arg,
2376                                                      Args_... args) {
2377   ::google::protobuf::internal::TSanWrite(&_impl_);
2378   _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2379   // @@protoc_insertion_point(field_set:google.protobuf.Enum.name)
2380 }
mutable_name()2381 inline std::string* Enum::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2382   std::string* _s = _internal_mutable_name();
2383   // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.name)
2384   return _s;
2385 }
_internal_name()2386 inline const std::string& Enum::_internal_name() const {
2387   ::google::protobuf::internal::TSanRead(&_impl_);
2388   return _impl_.name_.Get();
2389 }
_internal_set_name(const std::string & value)2390 inline void Enum::_internal_set_name(const std::string& value) {
2391   ::google::protobuf::internal::TSanWrite(&_impl_);
2392   _impl_.name_.Set(value, GetArena());
2393 }
_internal_mutable_name()2394 inline std::string* Enum::_internal_mutable_name() {
2395   ::google::protobuf::internal::TSanWrite(&_impl_);
2396   return _impl_.name_.Mutable( GetArena());
2397 }
release_name()2398 inline std::string* Enum::release_name() {
2399   ::google::protobuf::internal::TSanWrite(&_impl_);
2400   // @@protoc_insertion_point(field_release:google.protobuf.Enum.name)
2401   return _impl_.name_.Release();
2402 }
set_allocated_name(std::string * value)2403 inline void Enum::set_allocated_name(std::string* value) {
2404   ::google::protobuf::internal::TSanWrite(&_impl_);
2405   _impl_.name_.SetAllocated(value, GetArena());
2406   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
2407     _impl_.name_.Set("", GetArena());
2408   }
2409   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.name)
2410 }
2411 
2412 // repeated .google.protobuf.EnumValue enumvalue = 2;
_internal_enumvalue_size()2413 inline int Enum::_internal_enumvalue_size() const {
2414   return _internal_enumvalue().size();
2415 }
enumvalue_size()2416 inline int Enum::enumvalue_size() const {
2417   return _internal_enumvalue_size();
2418 }
clear_enumvalue()2419 inline void Enum::clear_enumvalue() {
2420   ::google::protobuf::internal::TSanWrite(&_impl_);
2421   _impl_.enumvalue_.Clear();
2422 }
mutable_enumvalue(int index)2423 inline ::google::protobuf::EnumValue* Enum::mutable_enumvalue(int index)
2424     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2425   // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.enumvalue)
2426   return _internal_mutable_enumvalue()->Mutable(index);
2427 }
mutable_enumvalue()2428 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>* Enum::mutable_enumvalue()
2429     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2430   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.enumvalue)
2431   ::google::protobuf::internal::TSanWrite(&_impl_);
2432   return _internal_mutable_enumvalue();
2433 }
enumvalue(int index)2434 inline const ::google::protobuf::EnumValue& Enum::enumvalue(int index) const
2435     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2436   // @@protoc_insertion_point(field_get:google.protobuf.Enum.enumvalue)
2437   return _internal_enumvalue().Get(index);
2438 }
add_enumvalue()2439 inline ::google::protobuf::EnumValue* Enum::add_enumvalue() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2440   ::google::protobuf::internal::TSanWrite(&_impl_);
2441   ::google::protobuf::EnumValue* _add = _internal_mutable_enumvalue()->Add();
2442   // @@protoc_insertion_point(field_add:google.protobuf.Enum.enumvalue)
2443   return _add;
2444 }
enumvalue()2445 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>& Enum::enumvalue() const
2446     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2447   // @@protoc_insertion_point(field_list:google.protobuf.Enum.enumvalue)
2448   return _internal_enumvalue();
2449 }
2450 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>&
_internal_enumvalue()2451 Enum::_internal_enumvalue() const {
2452   ::google::protobuf::internal::TSanRead(&_impl_);
2453   return _impl_.enumvalue_;
2454 }
2455 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>*
_internal_mutable_enumvalue()2456 Enum::_internal_mutable_enumvalue() {
2457   ::google::protobuf::internal::TSanRead(&_impl_);
2458   return &_impl_.enumvalue_;
2459 }
2460 
2461 // repeated .google.protobuf.Option options = 3;
_internal_options_size()2462 inline int Enum::_internal_options_size() const {
2463   return _internal_options().size();
2464 }
options_size()2465 inline int Enum::options_size() const {
2466   return _internal_options_size();
2467 }
clear_options()2468 inline void Enum::clear_options() {
2469   ::google::protobuf::internal::TSanWrite(&_impl_);
2470   _impl_.options_.Clear();
2471 }
mutable_options(int index)2472 inline ::google::protobuf::Option* Enum::mutable_options(int index)
2473     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2474   // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.options)
2475   return _internal_mutable_options()->Mutable(index);
2476 }
mutable_options()2477 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* Enum::mutable_options()
2478     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2479   // @@protoc_insertion_point(field_mutable_list:google.protobuf.Enum.options)
2480   ::google::protobuf::internal::TSanWrite(&_impl_);
2481   return _internal_mutable_options();
2482 }
options(int index)2483 inline const ::google::protobuf::Option& Enum::options(int index) const
2484     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2485   // @@protoc_insertion_point(field_get:google.protobuf.Enum.options)
2486   return _internal_options().Get(index);
2487 }
add_options()2488 inline ::google::protobuf::Option* Enum::add_options() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2489   ::google::protobuf::internal::TSanWrite(&_impl_);
2490   ::google::protobuf::Option* _add = _internal_mutable_options()->Add();
2491   // @@protoc_insertion_point(field_add:google.protobuf.Enum.options)
2492   return _add;
2493 }
options()2494 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& Enum::options() const
2495     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2496   // @@protoc_insertion_point(field_list:google.protobuf.Enum.options)
2497   return _internal_options();
2498 }
2499 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>&
_internal_options()2500 Enum::_internal_options() const {
2501   ::google::protobuf::internal::TSanRead(&_impl_);
2502   return _impl_.options_;
2503 }
2504 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>*
_internal_mutable_options()2505 Enum::_internal_mutable_options() {
2506   ::google::protobuf::internal::TSanRead(&_impl_);
2507   return &_impl_.options_;
2508 }
2509 
2510 // .google.protobuf.SourceContext source_context = 4;
has_source_context()2511 inline bool Enum::has_source_context() const {
2512   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2513   PROTOBUF_ASSUME(!value || _impl_.source_context_ != nullptr);
2514   return value;
2515 }
_internal_source_context()2516 inline const ::google::protobuf::SourceContext& Enum::_internal_source_context() const {
2517   ::google::protobuf::internal::TSanRead(&_impl_);
2518   const ::google::protobuf::SourceContext* p = _impl_.source_context_;
2519   return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::SourceContext&>(::google::protobuf::_SourceContext_default_instance_);
2520 }
source_context()2521 inline const ::google::protobuf::SourceContext& Enum::source_context() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2522   // @@protoc_insertion_point(field_get:google.protobuf.Enum.source_context)
2523   return _internal_source_context();
2524 }
unsafe_arena_set_allocated_source_context(::google::protobuf::SourceContext * value)2525 inline void Enum::unsafe_arena_set_allocated_source_context(::google::protobuf::SourceContext* value) {
2526   ::google::protobuf::internal::TSanWrite(&_impl_);
2527   if (GetArena() == nullptr) {
2528     delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.source_context_);
2529   }
2530   _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(value);
2531   if (value != nullptr) {
2532     _impl_._has_bits_[0] |= 0x00000001u;
2533   } else {
2534     _impl_._has_bits_[0] &= ~0x00000001u;
2535   }
2536   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Enum.source_context)
2537 }
release_source_context()2538 inline ::google::protobuf::SourceContext* Enum::release_source_context() {
2539   ::google::protobuf::internal::TSanWrite(&_impl_);
2540 
2541   _impl_._has_bits_[0] &= ~0x00000001u;
2542   ::google::protobuf::SourceContext* released = _impl_.source_context_;
2543   _impl_.source_context_ = nullptr;
2544   if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2545     auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2546     released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2547     if (GetArena() == nullptr) {
2548       delete old;
2549     }
2550   } else {
2551     if (GetArena() != nullptr) {
2552       released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2553     }
2554   }
2555   return released;
2556 }
unsafe_arena_release_source_context()2557 inline ::google::protobuf::SourceContext* Enum::unsafe_arena_release_source_context() {
2558   ::google::protobuf::internal::TSanWrite(&_impl_);
2559   // @@protoc_insertion_point(field_release:google.protobuf.Enum.source_context)
2560 
2561   _impl_._has_bits_[0] &= ~0x00000001u;
2562   ::google::protobuf::SourceContext* temp = _impl_.source_context_;
2563   _impl_.source_context_ = nullptr;
2564   return temp;
2565 }
_internal_mutable_source_context()2566 inline ::google::protobuf::SourceContext* Enum::_internal_mutable_source_context() {
2567   ::google::protobuf::internal::TSanWrite(&_impl_);
2568   if (_impl_.source_context_ == nullptr) {
2569     auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::SourceContext>(GetArena());
2570     _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(p);
2571   }
2572   return _impl_.source_context_;
2573 }
mutable_source_context()2574 inline ::google::protobuf::SourceContext* Enum::mutable_source_context() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2575   _impl_._has_bits_[0] |= 0x00000001u;
2576   ::google::protobuf::SourceContext* _msg = _internal_mutable_source_context();
2577   // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.source_context)
2578   return _msg;
2579 }
set_allocated_source_context(::google::protobuf::SourceContext * value)2580 inline void Enum::set_allocated_source_context(::google::protobuf::SourceContext* value) {
2581   ::google::protobuf::Arena* message_arena = GetArena();
2582   ::google::protobuf::internal::TSanWrite(&_impl_);
2583   if (message_arena == nullptr) {
2584     delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.source_context_);
2585   }
2586 
2587   if (value != nullptr) {
2588     ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
2589     if (message_arena != submessage_arena) {
2590       value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2591     }
2592     _impl_._has_bits_[0] |= 0x00000001u;
2593   } else {
2594     _impl_._has_bits_[0] &= ~0x00000001u;
2595   }
2596 
2597   _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(value);
2598   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.source_context)
2599 }
2600 
2601 // .google.protobuf.Syntax syntax = 5;
clear_syntax()2602 inline void Enum::clear_syntax() {
2603   ::google::protobuf::internal::TSanWrite(&_impl_);
2604   _impl_.syntax_ = 0;
2605 }
syntax()2606 inline ::google::protobuf::Syntax Enum::syntax() const {
2607   // @@protoc_insertion_point(field_get:google.protobuf.Enum.syntax)
2608   return _internal_syntax();
2609 }
set_syntax(::google::protobuf::Syntax value)2610 inline void Enum::set_syntax(::google::protobuf::Syntax value) {
2611   _internal_set_syntax(value);
2612   // @@protoc_insertion_point(field_set:google.protobuf.Enum.syntax)
2613 }
_internal_syntax()2614 inline ::google::protobuf::Syntax Enum::_internal_syntax() const {
2615   ::google::protobuf::internal::TSanRead(&_impl_);
2616   return static_cast<::google::protobuf::Syntax>(_impl_.syntax_);
2617 }
_internal_set_syntax(::google::protobuf::Syntax value)2618 inline void Enum::_internal_set_syntax(::google::protobuf::Syntax value) {
2619   ::google::protobuf::internal::TSanWrite(&_impl_);
2620   _impl_.syntax_ = value;
2621 }
2622 
2623 // string edition = 6;
clear_edition()2624 inline void Enum::clear_edition() {
2625   ::google::protobuf::internal::TSanWrite(&_impl_);
2626   _impl_.edition_.ClearToEmpty();
2627 }
edition()2628 inline const std::string& Enum::edition() const
2629     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2630   // @@protoc_insertion_point(field_get:google.protobuf.Enum.edition)
2631   return _internal_edition();
2632 }
2633 template <typename Arg_, typename... Args_>
set_edition(Arg_ && arg,Args_...args)2634 inline PROTOBUF_ALWAYS_INLINE void Enum::set_edition(Arg_&& arg,
2635                                                      Args_... args) {
2636   ::google::protobuf::internal::TSanWrite(&_impl_);
2637   _impl_.edition_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2638   // @@protoc_insertion_point(field_set:google.protobuf.Enum.edition)
2639 }
mutable_edition()2640 inline std::string* Enum::mutable_edition() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2641   std::string* _s = _internal_mutable_edition();
2642   // @@protoc_insertion_point(field_mutable:google.protobuf.Enum.edition)
2643   return _s;
2644 }
_internal_edition()2645 inline const std::string& Enum::_internal_edition() const {
2646   ::google::protobuf::internal::TSanRead(&_impl_);
2647   return _impl_.edition_.Get();
2648 }
_internal_set_edition(const std::string & value)2649 inline void Enum::_internal_set_edition(const std::string& value) {
2650   ::google::protobuf::internal::TSanWrite(&_impl_);
2651   _impl_.edition_.Set(value, GetArena());
2652 }
_internal_mutable_edition()2653 inline std::string* Enum::_internal_mutable_edition() {
2654   ::google::protobuf::internal::TSanWrite(&_impl_);
2655   return _impl_.edition_.Mutable( GetArena());
2656 }
release_edition()2657 inline std::string* Enum::release_edition() {
2658   ::google::protobuf::internal::TSanWrite(&_impl_);
2659   // @@protoc_insertion_point(field_release:google.protobuf.Enum.edition)
2660   return _impl_.edition_.Release();
2661 }
set_allocated_edition(std::string * value)2662 inline void Enum::set_allocated_edition(std::string* value) {
2663   ::google::protobuf::internal::TSanWrite(&_impl_);
2664   _impl_.edition_.SetAllocated(value, GetArena());
2665   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.edition_.IsDefault()) {
2666     _impl_.edition_.Set("", GetArena());
2667   }
2668   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Enum.edition)
2669 }
2670 
2671 // -------------------------------------------------------------------
2672 
2673 // EnumValue
2674 
2675 // string name = 1;
clear_name()2676 inline void EnumValue::clear_name() {
2677   ::google::protobuf::internal::TSanWrite(&_impl_);
2678   _impl_.name_.ClearToEmpty();
2679 }
name()2680 inline const std::string& EnumValue::name() const
2681     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2682   // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.name)
2683   return _internal_name();
2684 }
2685 template <typename Arg_, typename... Args_>
set_name(Arg_ && arg,Args_...args)2686 inline PROTOBUF_ALWAYS_INLINE void EnumValue::set_name(Arg_&& arg,
2687                                                      Args_... args) {
2688   ::google::protobuf::internal::TSanWrite(&_impl_);
2689   _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2690   // @@protoc_insertion_point(field_set:google.protobuf.EnumValue.name)
2691 }
mutable_name()2692 inline std::string* EnumValue::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2693   std::string* _s = _internal_mutable_name();
2694   // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.name)
2695   return _s;
2696 }
_internal_name()2697 inline const std::string& EnumValue::_internal_name() const {
2698   ::google::protobuf::internal::TSanRead(&_impl_);
2699   return _impl_.name_.Get();
2700 }
_internal_set_name(const std::string & value)2701 inline void EnumValue::_internal_set_name(const std::string& value) {
2702   ::google::protobuf::internal::TSanWrite(&_impl_);
2703   _impl_.name_.Set(value, GetArena());
2704 }
_internal_mutable_name()2705 inline std::string* EnumValue::_internal_mutable_name() {
2706   ::google::protobuf::internal::TSanWrite(&_impl_);
2707   return _impl_.name_.Mutable( GetArena());
2708 }
release_name()2709 inline std::string* EnumValue::release_name() {
2710   ::google::protobuf::internal::TSanWrite(&_impl_);
2711   // @@protoc_insertion_point(field_release:google.protobuf.EnumValue.name)
2712   return _impl_.name_.Release();
2713 }
set_allocated_name(std::string * value)2714 inline void EnumValue::set_allocated_name(std::string* value) {
2715   ::google::protobuf::internal::TSanWrite(&_impl_);
2716   _impl_.name_.SetAllocated(value, GetArena());
2717   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
2718     _impl_.name_.Set("", GetArena());
2719   }
2720   // @@protoc_insertion_point(field_set_allocated:google.protobuf.EnumValue.name)
2721 }
2722 
2723 // int32 number = 2;
clear_number()2724 inline void EnumValue::clear_number() {
2725   ::google::protobuf::internal::TSanWrite(&_impl_);
2726   _impl_.number_ = 0;
2727 }
number()2728 inline ::int32_t EnumValue::number() const {
2729   // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.number)
2730   return _internal_number();
2731 }
set_number(::int32_t value)2732 inline void EnumValue::set_number(::int32_t value) {
2733   _internal_set_number(value);
2734   // @@protoc_insertion_point(field_set:google.protobuf.EnumValue.number)
2735 }
_internal_number()2736 inline ::int32_t EnumValue::_internal_number() const {
2737   ::google::protobuf::internal::TSanRead(&_impl_);
2738   return _impl_.number_;
2739 }
_internal_set_number(::int32_t value)2740 inline void EnumValue::_internal_set_number(::int32_t value) {
2741   ::google::protobuf::internal::TSanWrite(&_impl_);
2742   _impl_.number_ = value;
2743 }
2744 
2745 // repeated .google.protobuf.Option options = 3;
_internal_options_size()2746 inline int EnumValue::_internal_options_size() const {
2747   return _internal_options().size();
2748 }
options_size()2749 inline int EnumValue::options_size() const {
2750   return _internal_options_size();
2751 }
clear_options()2752 inline void EnumValue::clear_options() {
2753   ::google::protobuf::internal::TSanWrite(&_impl_);
2754   _impl_.options_.Clear();
2755 }
mutable_options(int index)2756 inline ::google::protobuf::Option* EnumValue::mutable_options(int index)
2757     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2758   // @@protoc_insertion_point(field_mutable:google.protobuf.EnumValue.options)
2759   return _internal_mutable_options()->Mutable(index);
2760 }
mutable_options()2761 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* EnumValue::mutable_options()
2762     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2763   // @@protoc_insertion_point(field_mutable_list:google.protobuf.EnumValue.options)
2764   ::google::protobuf::internal::TSanWrite(&_impl_);
2765   return _internal_mutable_options();
2766 }
options(int index)2767 inline const ::google::protobuf::Option& EnumValue::options(int index) const
2768     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2769   // @@protoc_insertion_point(field_get:google.protobuf.EnumValue.options)
2770   return _internal_options().Get(index);
2771 }
add_options()2772 inline ::google::protobuf::Option* EnumValue::add_options() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2773   ::google::protobuf::internal::TSanWrite(&_impl_);
2774   ::google::protobuf::Option* _add = _internal_mutable_options()->Add();
2775   // @@protoc_insertion_point(field_add:google.protobuf.EnumValue.options)
2776   return _add;
2777 }
options()2778 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& EnumValue::options() const
2779     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2780   // @@protoc_insertion_point(field_list:google.protobuf.EnumValue.options)
2781   return _internal_options();
2782 }
2783 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>&
_internal_options()2784 EnumValue::_internal_options() const {
2785   ::google::protobuf::internal::TSanRead(&_impl_);
2786   return _impl_.options_;
2787 }
2788 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>*
_internal_mutable_options()2789 EnumValue::_internal_mutable_options() {
2790   ::google::protobuf::internal::TSanRead(&_impl_);
2791   return &_impl_.options_;
2792 }
2793 
2794 // -------------------------------------------------------------------
2795 
2796 // Option
2797 
2798 // string name = 1;
clear_name()2799 inline void Option::clear_name() {
2800   ::google::protobuf::internal::TSanWrite(&_impl_);
2801   _impl_.name_.ClearToEmpty();
2802 }
name()2803 inline const std::string& Option::name() const
2804     ABSL_ATTRIBUTE_LIFETIME_BOUND {
2805   // @@protoc_insertion_point(field_get:google.protobuf.Option.name)
2806   return _internal_name();
2807 }
2808 template <typename Arg_, typename... Args_>
set_name(Arg_ && arg,Args_...args)2809 inline PROTOBUF_ALWAYS_INLINE void Option::set_name(Arg_&& arg,
2810                                                      Args_... args) {
2811   ::google::protobuf::internal::TSanWrite(&_impl_);
2812   _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2813   // @@protoc_insertion_point(field_set:google.protobuf.Option.name)
2814 }
mutable_name()2815 inline std::string* Option::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2816   std::string* _s = _internal_mutable_name();
2817   // @@protoc_insertion_point(field_mutable:google.protobuf.Option.name)
2818   return _s;
2819 }
_internal_name()2820 inline const std::string& Option::_internal_name() const {
2821   ::google::protobuf::internal::TSanRead(&_impl_);
2822   return _impl_.name_.Get();
2823 }
_internal_set_name(const std::string & value)2824 inline void Option::_internal_set_name(const std::string& value) {
2825   ::google::protobuf::internal::TSanWrite(&_impl_);
2826   _impl_.name_.Set(value, GetArena());
2827 }
_internal_mutable_name()2828 inline std::string* Option::_internal_mutable_name() {
2829   ::google::protobuf::internal::TSanWrite(&_impl_);
2830   return _impl_.name_.Mutable( GetArena());
2831 }
release_name()2832 inline std::string* Option::release_name() {
2833   ::google::protobuf::internal::TSanWrite(&_impl_);
2834   // @@protoc_insertion_point(field_release:google.protobuf.Option.name)
2835   return _impl_.name_.Release();
2836 }
set_allocated_name(std::string * value)2837 inline void Option::set_allocated_name(std::string* value) {
2838   ::google::protobuf::internal::TSanWrite(&_impl_);
2839   _impl_.name_.SetAllocated(value, GetArena());
2840   if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
2841     _impl_.name_.Set("", GetArena());
2842   }
2843   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.name)
2844 }
2845 
2846 // .google.protobuf.Any value = 2;
has_value()2847 inline bool Option::has_value() const {
2848   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2849   PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr);
2850   return value;
2851 }
_internal_value()2852 inline const ::google::protobuf::Any& Option::_internal_value() const {
2853   ::google::protobuf::internal::TSanRead(&_impl_);
2854   const ::google::protobuf::Any* p = _impl_.value_;
2855   return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Any&>(::google::protobuf::_Any_default_instance_);
2856 }
value()2857 inline const ::google::protobuf::Any& Option::value() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2858   // @@protoc_insertion_point(field_get:google.protobuf.Option.value)
2859   return _internal_value();
2860 }
unsafe_arena_set_allocated_value(::google::protobuf::Any * value)2861 inline void Option::unsafe_arena_set_allocated_value(::google::protobuf::Any* value) {
2862   ::google::protobuf::internal::TSanWrite(&_impl_);
2863   if (GetArena() == nullptr) {
2864     delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_);
2865   }
2866   _impl_.value_ = reinterpret_cast<::google::protobuf::Any*>(value);
2867   if (value != nullptr) {
2868     _impl_._has_bits_[0] |= 0x00000001u;
2869   } else {
2870     _impl_._has_bits_[0] &= ~0x00000001u;
2871   }
2872   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Option.value)
2873 }
release_value()2874 inline ::google::protobuf::Any* Option::release_value() {
2875   ::google::protobuf::internal::TSanWrite(&_impl_);
2876 
2877   _impl_._has_bits_[0] &= ~0x00000001u;
2878   ::google::protobuf::Any* released = _impl_.value_;
2879   _impl_.value_ = nullptr;
2880   if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2881     auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2882     released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2883     if (GetArena() == nullptr) {
2884       delete old;
2885     }
2886   } else {
2887     if (GetArena() != nullptr) {
2888       released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2889     }
2890   }
2891   return released;
2892 }
unsafe_arena_release_value()2893 inline ::google::protobuf::Any* Option::unsafe_arena_release_value() {
2894   ::google::protobuf::internal::TSanWrite(&_impl_);
2895   // @@protoc_insertion_point(field_release:google.protobuf.Option.value)
2896 
2897   _impl_._has_bits_[0] &= ~0x00000001u;
2898   ::google::protobuf::Any* temp = _impl_.value_;
2899   _impl_.value_ = nullptr;
2900   return temp;
2901 }
_internal_mutable_value()2902 inline ::google::protobuf::Any* Option::_internal_mutable_value() {
2903   ::google::protobuf::internal::TSanWrite(&_impl_);
2904   if (_impl_.value_ == nullptr) {
2905     auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Any>(GetArena());
2906     _impl_.value_ = reinterpret_cast<::google::protobuf::Any*>(p);
2907   }
2908   return _impl_.value_;
2909 }
mutable_value()2910 inline ::google::protobuf::Any* Option::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
2911   _impl_._has_bits_[0] |= 0x00000001u;
2912   ::google::protobuf::Any* _msg = _internal_mutable_value();
2913   // @@protoc_insertion_point(field_mutable:google.protobuf.Option.value)
2914   return _msg;
2915 }
set_allocated_value(::google::protobuf::Any * value)2916 inline void Option::set_allocated_value(::google::protobuf::Any* value) {
2917   ::google::protobuf::Arena* message_arena = GetArena();
2918   ::google::protobuf::internal::TSanWrite(&_impl_);
2919   if (message_arena == nullptr) {
2920     delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_);
2921   }
2922 
2923   if (value != nullptr) {
2924     ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
2925     if (message_arena != submessage_arena) {
2926       value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2927     }
2928     _impl_._has_bits_[0] |= 0x00000001u;
2929   } else {
2930     _impl_._has_bits_[0] &= ~0x00000001u;
2931   }
2932 
2933   _impl_.value_ = reinterpret_cast<::google::protobuf::Any*>(value);
2934   // @@protoc_insertion_point(field_set_allocated:google.protobuf.Option.value)
2935 }
2936 
2937 #ifdef __GNUC__
2938 #pragma GCC diagnostic pop
2939 #endif  // __GNUC__
2940 
2941 // @@protoc_insertion_point(namespace_scope)
2942 }  // namespace protobuf
2943 }  // namespace google
2944 
2945 
2946 namespace google {
2947 namespace protobuf {
2948 
2949 template <>
2950 struct is_proto_enum<::google::protobuf::Field_Kind> : std::true_type {};
2951 template <>
2952 inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::Field_Kind>() {
2953   return ::google::protobuf::Field_Kind_descriptor();
2954 }
2955 template <>
2956 struct is_proto_enum<::google::protobuf::Field_Cardinality> : std::true_type {};
2957 template <>
2958 inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::Field_Cardinality>() {
2959   return ::google::protobuf::Field_Cardinality_descriptor();
2960 }
2961 template <>
2962 struct is_proto_enum<::google::protobuf::Syntax> : std::true_type {};
2963 template <>
2964 inline const EnumDescriptor* GetEnumDescriptor<::google::protobuf::Syntax>() {
2965   return ::google::protobuf::Syntax_descriptor();
2966 }
2967 
2968 }  // namespace protobuf
2969 }  // namespace google
2970 
2971 // @@protoc_insertion_point(global_scope)
2972 
2973 #include "google/protobuf/port_undef.inc"
2974 
2975 #endif  // google_2fprotobuf_2ftype_2eproto_2epb_2eh
2976