File indexing completed on 2026-09-23 09:13:24
0001
0002
0003
0004
0005
0006 #ifndef google_2fprotobuf_2ftype_2eproto_2epb_2eh
0007 #define google_2fprotobuf_2ftype_2eproto_2epb_2eh
0008
0009 #include <limits>
0010 #include <string>
0011 #include <type_traits>
0012 #include <utility>
0013
0014 #include "google/protobuf/runtime_version.h"
0015 #if PROTOBUF_VERSION != 6032001
0016 #error "Protobuf C++ gencode is built with an incompatible version of"
0017 #error "Protobuf C++ headers/runtime. See"
0018 #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
0019 #endif
0020 #include "google/protobuf/io/coded_stream.h"
0021 #include "google/protobuf/arena.h"
0022 #include "google/protobuf/arenastring.h"
0023 #include "google/protobuf/generated_message_tctable_decl.h"
0024 #include "google/protobuf/generated_message_util.h"
0025 #include "google/protobuf/metadata_lite.h"
0026 #include "google/protobuf/generated_message_reflection.h"
0027 #include "google/protobuf/message.h"
0028 #include "google/protobuf/message_lite.h"
0029 #include "google/protobuf/repeated_field.h" // IWYU pragma: export
0030 #include "google/protobuf/extension_set.h" // IWYU pragma: export
0031 #include "google/protobuf/generated_enum_reflection.h"
0032 #include "google/protobuf/unknown_field_set.h"
0033 #include "google/protobuf/any.pb.h"
0034 #include "google/protobuf/source_context.pb.h"
0035
0036
0037
0038 #include "google/protobuf/port_def.inc"
0039
0040 #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftype_2eproto PROTOBUF_EXPORT
0041
0042 namespace google {
0043 namespace protobuf {
0044 namespace internal {
0045 template <typename T>
0046 ::absl::string_view GetAnyMessageName();
0047 }
0048 }
0049 }
0050
0051
0052 struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2ftype_2eproto {
0053 static const ::uint32_t offsets[];
0054 };
0055 extern "C" {
0056 PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ftype_2eproto;
0057 }
0058 namespace google {
0059 namespace protobuf {
0060 enum Field_Cardinality : int;
0061 PROTOBUF_EXPORT extern const uint32_t Field_Cardinality_internal_data_[];
0062 enum Field_Kind : int;
0063 PROTOBUF_EXPORT extern const uint32_t Field_Kind_internal_data_[];
0064 enum Syntax : int;
0065 PROTOBUF_EXPORT extern const uint32_t Syntax_internal_data_[];
0066 class Enum;
0067 struct EnumDefaultTypeInternal;
0068 PROTOBUF_EXPORT extern EnumDefaultTypeInternal _Enum_default_instance_;
0069 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Enum_class_data_;
0070 class EnumValue;
0071 struct EnumValueDefaultTypeInternal;
0072 PROTOBUF_EXPORT extern EnumValueDefaultTypeInternal _EnumValue_default_instance_;
0073 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumValue_class_data_;
0074 class Field;
0075 struct FieldDefaultTypeInternal;
0076 PROTOBUF_EXPORT extern FieldDefaultTypeInternal _Field_default_instance_;
0077 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Field_class_data_;
0078 class Option;
0079 struct OptionDefaultTypeInternal;
0080 PROTOBUF_EXPORT extern OptionDefaultTypeInternal _Option_default_instance_;
0081 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Option_class_data_;
0082 class Type;
0083 struct TypeDefaultTypeInternal;
0084 PROTOBUF_EXPORT extern TypeDefaultTypeInternal _Type_default_instance_;
0085 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Type_class_data_;
0086 template <>
0087 internal::EnumTraitsT<::google::protobuf::Field_Cardinality_internal_data_>
0088 internal::EnumTraitsImpl::value<::google::protobuf::Field_Cardinality>;
0089 template <>
0090 internal::EnumTraitsT<::google::protobuf::Field_Kind_internal_data_>
0091 internal::EnumTraitsImpl::value<::google::protobuf::Field_Kind>;
0092 template <>
0093 internal::EnumTraitsT<::google::protobuf::Syntax_internal_data_>
0094 internal::EnumTraitsImpl::value<::google::protobuf::Syntax>;
0095 }
0096 }
0097
0098 namespace google {
0099 namespace protobuf {
0100 enum Field_Kind : int {
0101 Field_Kind_TYPE_UNKNOWN = 0,
0102 Field_Kind_TYPE_DOUBLE = 1,
0103 Field_Kind_TYPE_FLOAT = 2,
0104 Field_Kind_TYPE_INT64 = 3,
0105 Field_Kind_TYPE_UINT64 = 4,
0106 Field_Kind_TYPE_INT32 = 5,
0107 Field_Kind_TYPE_FIXED64 = 6,
0108 Field_Kind_TYPE_FIXED32 = 7,
0109 Field_Kind_TYPE_BOOL = 8,
0110 Field_Kind_TYPE_STRING = 9,
0111 Field_Kind_TYPE_GROUP = 10,
0112 Field_Kind_TYPE_MESSAGE = 11,
0113 Field_Kind_TYPE_BYTES = 12,
0114 Field_Kind_TYPE_UINT32 = 13,
0115 Field_Kind_TYPE_ENUM = 14,
0116 Field_Kind_TYPE_SFIXED32 = 15,
0117 Field_Kind_TYPE_SFIXED64 = 16,
0118 Field_Kind_TYPE_SINT32 = 17,
0119 Field_Kind_TYPE_SINT64 = 18,
0120 Field_Kind_Field_Kind_INT_MIN_SENTINEL_DO_NOT_USE_ =
0121 ::std::numeric_limits<::int32_t>::min(),
0122 Field_Kind_Field_Kind_INT_MAX_SENTINEL_DO_NOT_USE_ =
0123 ::std::numeric_limits<::int32_t>::max(),
0124 };
0125
0126 PROTOBUF_EXPORT extern const uint32_t Field_Kind_internal_data_[];
0127 inline constexpr Field_Kind Field_Kind_Kind_MIN =
0128 static_cast<Field_Kind>(0);
0129 inline constexpr Field_Kind Field_Kind_Kind_MAX =
0130 static_cast<Field_Kind>(18);
0131 inline bool Field_Kind_IsValid(int value) {
0132 return 0 <= value && value <= 18;
0133 }
0134 inline constexpr int Field_Kind_Kind_ARRAYSIZE = 18 + 1;
0135 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Field_Kind_descriptor();
0136 template <typename T>
0137 const ::std::string& Field_Kind_Name(T value) {
0138 static_assert(::std::is_same<T, Field_Kind>::value ||
0139 ::std::is_integral<T>::value,
0140 "Incorrect type passed to Kind_Name().");
0141 return Field_Kind_Name(static_cast<Field_Kind>(value));
0142 }
0143 template <>
0144 inline const ::std::string& Field_Kind_Name(Field_Kind value) {
0145 return ::google::protobuf::internal::NameOfDenseEnum<Field_Kind_descriptor, 0, 18>(
0146 static_cast<int>(value));
0147 }
0148 inline bool Field_Kind_Parse(
0149 ::absl::string_view name, Field_Kind* PROTOBUF_NONNULL value) {
0150 return ::google::protobuf::internal::ParseNamedEnum<Field_Kind>(Field_Kind_descriptor(), name,
0151 value);
0152 }
0153 enum Field_Cardinality : int {
0154 Field_Cardinality_CARDINALITY_UNKNOWN = 0,
0155 Field_Cardinality_CARDINALITY_OPTIONAL = 1,
0156 Field_Cardinality_CARDINALITY_REQUIRED = 2,
0157 Field_Cardinality_CARDINALITY_REPEATED = 3,
0158 Field_Cardinality_Field_Cardinality_INT_MIN_SENTINEL_DO_NOT_USE_ =
0159 ::std::numeric_limits<::int32_t>::min(),
0160 Field_Cardinality_Field_Cardinality_INT_MAX_SENTINEL_DO_NOT_USE_ =
0161 ::std::numeric_limits<::int32_t>::max(),
0162 };
0163
0164 PROTOBUF_EXPORT extern const uint32_t Field_Cardinality_internal_data_[];
0165 inline constexpr Field_Cardinality Field_Cardinality_Cardinality_MIN =
0166 static_cast<Field_Cardinality>(0);
0167 inline constexpr Field_Cardinality Field_Cardinality_Cardinality_MAX =
0168 static_cast<Field_Cardinality>(3);
0169 inline bool Field_Cardinality_IsValid(int value) {
0170 return 0 <= value && value <= 3;
0171 }
0172 inline constexpr int Field_Cardinality_Cardinality_ARRAYSIZE = 3 + 1;
0173 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Field_Cardinality_descriptor();
0174 template <typename T>
0175 const ::std::string& Field_Cardinality_Name(T value) {
0176 static_assert(::std::is_same<T, Field_Cardinality>::value ||
0177 ::std::is_integral<T>::value,
0178 "Incorrect type passed to Cardinality_Name().");
0179 return Field_Cardinality_Name(static_cast<Field_Cardinality>(value));
0180 }
0181 template <>
0182 inline const ::std::string& Field_Cardinality_Name(Field_Cardinality value) {
0183 return ::google::protobuf::internal::NameOfDenseEnum<Field_Cardinality_descriptor, 0, 3>(
0184 static_cast<int>(value));
0185 }
0186 inline bool Field_Cardinality_Parse(
0187 ::absl::string_view name, Field_Cardinality* PROTOBUF_NONNULL value) {
0188 return ::google::protobuf::internal::ParseNamedEnum<Field_Cardinality>(Field_Cardinality_descriptor(), name,
0189 value);
0190 }
0191 enum Syntax : int {
0192 SYNTAX_PROTO2 = 0,
0193 SYNTAX_PROTO3 = 1,
0194 SYNTAX_EDITIONS = 2,
0195 Syntax_INT_MIN_SENTINEL_DO_NOT_USE_ =
0196 ::std::numeric_limits<::int32_t>::min(),
0197 Syntax_INT_MAX_SENTINEL_DO_NOT_USE_ =
0198 ::std::numeric_limits<::int32_t>::max(),
0199 };
0200
0201 PROTOBUF_EXPORT extern const uint32_t Syntax_internal_data_[];
0202 inline constexpr Syntax Syntax_MIN =
0203 static_cast<Syntax>(0);
0204 inline constexpr Syntax Syntax_MAX =
0205 static_cast<Syntax>(2);
0206 inline bool Syntax_IsValid(int value) {
0207 return 0 <= value && value <= 2;
0208 }
0209 inline constexpr int Syntax_ARRAYSIZE = 2 + 1;
0210 PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Syntax_descriptor();
0211 template <typename T>
0212 const ::std::string& Syntax_Name(T value) {
0213 static_assert(::std::is_same<T, Syntax>::value ||
0214 ::std::is_integral<T>::value,
0215 "Incorrect type passed to Syntax_Name().");
0216 return Syntax_Name(static_cast<Syntax>(value));
0217 }
0218 template <>
0219 inline const ::std::string& Syntax_Name(Syntax value) {
0220 return ::google::protobuf::internal::NameOfDenseEnum<Syntax_descriptor, 0, 2>(
0221 static_cast<int>(value));
0222 }
0223 inline bool Syntax_Parse(
0224 ::absl::string_view name, Syntax* PROTOBUF_NONNULL value) {
0225 return ::google::protobuf::internal::ParseNamedEnum<Syntax>(Syntax_descriptor(), name,
0226 value);
0227 }
0228
0229
0230
0231
0232
0233
0234 class PROTOBUF_EXPORT Option final : public ::google::protobuf::Message
0235 {
0236 public:
0237 inline Option() : Option(nullptr) {}
0238 ~Option() PROTOBUF_FINAL;
0239
0240 #if defined(PROTOBUF_CUSTOM_VTABLE)
0241 void operator delete(Option* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
0242 SharedDtor(*msg);
0243 ::google::protobuf::internal::SizedDelete(msg, sizeof(Option));
0244 }
0245 #endif
0246
0247 template <typename = void>
0248 explicit PROTOBUF_CONSTEXPR Option(::google::protobuf::internal::ConstantInitialized);
0249
0250 inline Option(const Option& from) : Option(nullptr, from) {}
0251 inline Option(Option&& from) noexcept
0252 : Option(nullptr, ::std::move(from)) {}
0253 inline Option& operator=(const Option& from) {
0254 CopyFrom(from);
0255 return *this;
0256 }
0257 inline Option& operator=(Option&& from) noexcept {
0258 if (this == &from) return *this;
0259 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
0260 InternalSwap(&from);
0261 } else {
0262 CopyFrom(from);
0263 }
0264 return *this;
0265 }
0266
0267 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0268 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0269 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0270 }
0271 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
0272 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0273 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0274 }
0275
0276 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
0277 return GetDescriptor();
0278 }
0279 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
0280 return default_instance().GetMetadata().descriptor;
0281 }
0282 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
0283 return default_instance().GetMetadata().reflection;
0284 }
0285 static const Option& default_instance() {
0286 return *reinterpret_cast<const Option*>(
0287 &_Option_default_instance_);
0288 }
0289 static constexpr int kIndexInFileMessages = 4;
0290 friend void swap(Option& a, Option& b) { a.Swap(&b); }
0291 inline void Swap(Option* PROTOBUF_NONNULL other) {
0292 if (other == this) return;
0293 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
0294 InternalSwap(other);
0295 } else {
0296 ::google::protobuf::internal::GenericSwap(this, other);
0297 }
0298 }
0299 void UnsafeArenaSwap(Option* PROTOBUF_NONNULL other) {
0300 if (other == this) return;
0301 ABSL_DCHECK(GetArena() == other->GetArena());
0302 InternalSwap(other);
0303 }
0304
0305
0306
0307 Option* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
0308 return ::google::protobuf::Message::DefaultConstruct<Option>(arena);
0309 }
0310 using ::google::protobuf::Message::CopyFrom;
0311 void CopyFrom(const Option& from);
0312 using ::google::protobuf::Message::MergeFrom;
0313 void MergeFrom(const Option& from) { Option::MergeImpl(*this, from); }
0314
0315 private:
0316 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
0317 const ::google::protobuf::MessageLite& from_msg);
0318
0319 public:
0320 bool IsInitialized() const {
0321 return true;
0322 }
0323 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
0324 #if defined(PROTOBUF_CUSTOM_VTABLE)
0325 private:
0326 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
0327 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0328 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
0329 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
0330
0331 public:
0332 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
0333 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0334 ::uint8_t* PROTOBUF_NONNULL target,
0335 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
0336 return _InternalSerialize(*this, target, stream);
0337 }
0338 #else
0339 ::size_t ByteSizeLong() const final;
0340 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0341 ::uint8_t* PROTOBUF_NONNULL target,
0342 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
0343 #endif
0344 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
0345
0346 private:
0347 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0348 static void SharedDtor(MessageLite& self);
0349 void InternalSwap(Option* PROTOBUF_NONNULL other);
0350 private:
0351 template <typename T>
0352 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
0353 static ::absl::string_view FullMessageName() { return "google.protobuf.Option"; }
0354
0355 protected:
0356 explicit Option(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0357 Option(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Option& from);
0358 Option(
0359 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Option&& from) noexcept
0360 : Option(arena) {
0361 *this = ::std::move(from);
0362 }
0363 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
0364 static void* PROTOBUF_NONNULL PlacementNew_(
0365 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
0366 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0367 static constexpr auto InternalNewImpl_();
0368
0369 public:
0370 static constexpr auto InternalGenerateClassData_();
0371
0372 ::google::protobuf::Metadata GetMetadata() const;
0373
0374
0375
0376 enum : int {
0377 kNameFieldNumber = 1,
0378 kValueFieldNumber = 2,
0379 };
0380
0381 void clear_name() ;
0382 const ::std::string& name() const;
0383 template <typename Arg_ = const ::std::string&, typename... Args_>
0384 void set_name(Arg_&& arg, Args_... args);
0385 ::std::string* PROTOBUF_NONNULL mutable_name();
0386 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
0387 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
0388
0389 private:
0390 const ::std::string& _internal_name() const;
0391 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
0392 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
0393
0394 public:
0395
0396 bool has_value() const;
0397 void clear_value() ;
0398 const ::google::protobuf::Any& value() const;
0399 [[nodiscard]] ::google::protobuf::Any* PROTOBUF_NULLABLE release_value();
0400 ::google::protobuf::Any* PROTOBUF_NONNULL mutable_value();
0401 void set_allocated_value(::google::protobuf::Any* PROTOBUF_NULLABLE value);
0402 void unsafe_arena_set_allocated_value(::google::protobuf::Any* PROTOBUF_NULLABLE value);
0403 ::google::protobuf::Any* PROTOBUF_NULLABLE unsafe_arena_release_value();
0404
0405 private:
0406 const ::google::protobuf::Any& _internal_value() const;
0407 ::google::protobuf::Any* PROTOBUF_NONNULL _internal_mutable_value();
0408
0409 public:
0410
0411 private:
0412 class _Internal;
0413 friend class ::google::protobuf::internal::TcParser;
0414 static const ::google::protobuf::internal::TcParseTable<1, 2,
0415 1, 35,
0416 2>
0417 _table_;
0418
0419 friend class ::google::protobuf::MessageLite;
0420 friend class ::google::protobuf::Arena;
0421 template <typename T>
0422 friend class ::google::protobuf::Arena::InternalHelper;
0423 using InternalArenaConstructable_ = void;
0424 using DestructorSkippable_ = void;
0425 struct Impl_ {
0426 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
0427 inline explicit Impl_(
0428 ::google::protobuf::internal::InternalVisibility visibility,
0429 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0430 inline explicit Impl_(
0431 ::google::protobuf::internal::InternalVisibility visibility,
0432 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
0433 const Option& from_msg);
0434 ::google::protobuf::internal::HasBits<1> _has_bits_;
0435 ::google::protobuf::internal::CachedSize _cached_size_;
0436 ::google::protobuf::internal::ArenaStringPtr name_;
0437 ::google::protobuf::Any* PROTOBUF_NULLABLE value_;
0438 PROTOBUF_TSAN_DECLARE_MEMBER
0439 };
0440 union { Impl_ _impl_; };
0441 friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto;
0442 };
0443
0444 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Option_class_data_;
0445
0446
0447 class PROTOBUF_EXPORT Field final : public ::google::protobuf::Message
0448 {
0449 public:
0450 inline Field() : Field(nullptr) {}
0451 ~Field() PROTOBUF_FINAL;
0452
0453 #if defined(PROTOBUF_CUSTOM_VTABLE)
0454 void operator delete(Field* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
0455 SharedDtor(*msg);
0456 ::google::protobuf::internal::SizedDelete(msg, sizeof(Field));
0457 }
0458 #endif
0459
0460 template <typename = void>
0461 explicit PROTOBUF_CONSTEXPR Field(::google::protobuf::internal::ConstantInitialized);
0462
0463 inline Field(const Field& from) : Field(nullptr, from) {}
0464 inline Field(Field&& from) noexcept
0465 : Field(nullptr, ::std::move(from)) {}
0466 inline Field& operator=(const Field& from) {
0467 CopyFrom(from);
0468 return *this;
0469 }
0470 inline Field& operator=(Field&& from) noexcept {
0471 if (this == &from) return *this;
0472 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
0473 InternalSwap(&from);
0474 } else {
0475 CopyFrom(from);
0476 }
0477 return *this;
0478 }
0479
0480 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0481 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0482 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0483 }
0484 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
0485 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0486 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0487 }
0488
0489 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
0490 return GetDescriptor();
0491 }
0492 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
0493 return default_instance().GetMetadata().descriptor;
0494 }
0495 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
0496 return default_instance().GetMetadata().reflection;
0497 }
0498 static const Field& default_instance() {
0499 return *reinterpret_cast<const Field*>(
0500 &_Field_default_instance_);
0501 }
0502 static constexpr int kIndexInFileMessages = 1;
0503 friend void swap(Field& a, Field& b) { a.Swap(&b); }
0504 inline void Swap(Field* PROTOBUF_NONNULL other) {
0505 if (other == this) return;
0506 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
0507 InternalSwap(other);
0508 } else {
0509 ::google::protobuf::internal::GenericSwap(this, other);
0510 }
0511 }
0512 void UnsafeArenaSwap(Field* PROTOBUF_NONNULL other) {
0513 if (other == this) return;
0514 ABSL_DCHECK(GetArena() == other->GetArena());
0515 InternalSwap(other);
0516 }
0517
0518
0519
0520 Field* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
0521 return ::google::protobuf::Message::DefaultConstruct<Field>(arena);
0522 }
0523 using ::google::protobuf::Message::CopyFrom;
0524 void CopyFrom(const Field& from);
0525 using ::google::protobuf::Message::MergeFrom;
0526 void MergeFrom(const Field& from) { Field::MergeImpl(*this, from); }
0527
0528 private:
0529 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
0530 const ::google::protobuf::MessageLite& from_msg);
0531
0532 public:
0533 bool IsInitialized() const {
0534 return true;
0535 }
0536 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
0537 #if defined(PROTOBUF_CUSTOM_VTABLE)
0538 private:
0539 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
0540 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0541 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
0542 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
0543
0544 public:
0545 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
0546 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0547 ::uint8_t* PROTOBUF_NONNULL target,
0548 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
0549 return _InternalSerialize(*this, target, stream);
0550 }
0551 #else
0552 ::size_t ByteSizeLong() const final;
0553 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0554 ::uint8_t* PROTOBUF_NONNULL target,
0555 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
0556 #endif
0557 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
0558
0559 private:
0560 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0561 static void SharedDtor(MessageLite& self);
0562 void InternalSwap(Field* PROTOBUF_NONNULL other);
0563 private:
0564 template <typename T>
0565 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
0566 static ::absl::string_view FullMessageName() { return "google.protobuf.Field"; }
0567
0568 protected:
0569 explicit Field(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0570 Field(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Field& from);
0571 Field(
0572 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Field&& from) noexcept
0573 : Field(arena) {
0574 *this = ::std::move(from);
0575 }
0576 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
0577 static void* PROTOBUF_NONNULL PlacementNew_(
0578 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
0579 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0580 static constexpr auto InternalNewImpl_();
0581
0582 public:
0583 static constexpr auto InternalGenerateClassData_();
0584
0585 ::google::protobuf::Metadata GetMetadata() const;
0586
0587 using Kind = Field_Kind;
0588 static constexpr Kind TYPE_UNKNOWN = Field_Kind_TYPE_UNKNOWN;
0589 static constexpr Kind TYPE_DOUBLE = Field_Kind_TYPE_DOUBLE;
0590 static constexpr Kind TYPE_FLOAT = Field_Kind_TYPE_FLOAT;
0591 static constexpr Kind TYPE_INT64 = Field_Kind_TYPE_INT64;
0592 static constexpr Kind TYPE_UINT64 = Field_Kind_TYPE_UINT64;
0593 static constexpr Kind TYPE_INT32 = Field_Kind_TYPE_INT32;
0594 static constexpr Kind TYPE_FIXED64 = Field_Kind_TYPE_FIXED64;
0595 static constexpr Kind TYPE_FIXED32 = Field_Kind_TYPE_FIXED32;
0596 static constexpr Kind TYPE_BOOL = Field_Kind_TYPE_BOOL;
0597 static constexpr Kind TYPE_STRING = Field_Kind_TYPE_STRING;
0598 static constexpr Kind TYPE_GROUP = Field_Kind_TYPE_GROUP;
0599 static constexpr Kind TYPE_MESSAGE = Field_Kind_TYPE_MESSAGE;
0600 static constexpr Kind TYPE_BYTES = Field_Kind_TYPE_BYTES;
0601 static constexpr Kind TYPE_UINT32 = Field_Kind_TYPE_UINT32;
0602 static constexpr Kind TYPE_ENUM = Field_Kind_TYPE_ENUM;
0603 static constexpr Kind TYPE_SFIXED32 = Field_Kind_TYPE_SFIXED32;
0604 static constexpr Kind TYPE_SFIXED64 = Field_Kind_TYPE_SFIXED64;
0605 static constexpr Kind TYPE_SINT32 = Field_Kind_TYPE_SINT32;
0606 static constexpr Kind TYPE_SINT64 = Field_Kind_TYPE_SINT64;
0607 static inline bool Kind_IsValid(int value) {
0608 return Field_Kind_IsValid(value);
0609 }
0610 static constexpr Kind Kind_MIN = Field_Kind_Kind_MIN;
0611 static constexpr Kind Kind_MAX = Field_Kind_Kind_MAX;
0612 static constexpr int Kind_ARRAYSIZE = Field_Kind_Kind_ARRAYSIZE;
0613 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Kind_descriptor() {
0614 return Field_Kind_descriptor();
0615 }
0616 template <typename T>
0617 static inline const ::std::string& Kind_Name(T value) {
0618 return Field_Kind_Name(value);
0619 }
0620 static inline bool Kind_Parse(
0621 ::absl::string_view name, Kind* PROTOBUF_NONNULL value) {
0622 return Field_Kind_Parse(name, value);
0623 }
0624 using Cardinality = Field_Cardinality;
0625 static constexpr Cardinality CARDINALITY_UNKNOWN = Field_Cardinality_CARDINALITY_UNKNOWN;
0626 static constexpr Cardinality CARDINALITY_OPTIONAL = Field_Cardinality_CARDINALITY_OPTIONAL;
0627 static constexpr Cardinality CARDINALITY_REQUIRED = Field_Cardinality_CARDINALITY_REQUIRED;
0628 static constexpr Cardinality CARDINALITY_REPEATED = Field_Cardinality_CARDINALITY_REPEATED;
0629 static inline bool Cardinality_IsValid(int value) {
0630 return Field_Cardinality_IsValid(value);
0631 }
0632 static constexpr Cardinality Cardinality_MIN = Field_Cardinality_Cardinality_MIN;
0633 static constexpr Cardinality Cardinality_MAX = Field_Cardinality_Cardinality_MAX;
0634 static constexpr int Cardinality_ARRAYSIZE = Field_Cardinality_Cardinality_ARRAYSIZE;
0635 static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Cardinality_descriptor() {
0636 return Field_Cardinality_descriptor();
0637 }
0638 template <typename T>
0639 static inline const ::std::string& Cardinality_Name(T value) {
0640 return Field_Cardinality_Name(value);
0641 }
0642 static inline bool Cardinality_Parse(
0643 ::absl::string_view name, Cardinality* PROTOBUF_NONNULL value) {
0644 return Field_Cardinality_Parse(name, value);
0645 }
0646
0647
0648 enum : int {
0649 kOptionsFieldNumber = 9,
0650 kNameFieldNumber = 4,
0651 kTypeUrlFieldNumber = 6,
0652 kJsonNameFieldNumber = 10,
0653 kDefaultValueFieldNumber = 11,
0654 kKindFieldNumber = 1,
0655 kCardinalityFieldNumber = 2,
0656 kNumberFieldNumber = 3,
0657 kOneofIndexFieldNumber = 7,
0658 kPackedFieldNumber = 8,
0659 };
0660
0661 int options_size() const;
0662 private:
0663 int _internal_options_size() const;
0664
0665 public:
0666 void clear_options() ;
0667 ::google::protobuf::Option* PROTOBUF_NONNULL mutable_options(int index);
0668 ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL mutable_options();
0669
0670 private:
0671 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& _internal_options() const;
0672 ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL _internal_mutable_options();
0673 public:
0674 const ::google::protobuf::Option& options(int index) const;
0675 ::google::protobuf::Option* PROTOBUF_NONNULL add_options();
0676 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& options() const;
0677
0678 void clear_name() ;
0679 const ::std::string& name() const;
0680 template <typename Arg_ = const ::std::string&, typename... Args_>
0681 void set_name(Arg_&& arg, Args_... args);
0682 ::std::string* PROTOBUF_NONNULL mutable_name();
0683 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
0684 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
0685
0686 private:
0687 const ::std::string& _internal_name() const;
0688 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
0689 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
0690
0691 public:
0692
0693 void clear_type_url() ;
0694 const ::std::string& type_url() const;
0695 template <typename Arg_ = const ::std::string&, typename... Args_>
0696 void set_type_url(Arg_&& arg, Args_... args);
0697 ::std::string* PROTOBUF_NONNULL mutable_type_url();
0698 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_type_url();
0699 void set_allocated_type_url(::std::string* PROTOBUF_NULLABLE value);
0700
0701 private:
0702 const ::std::string& _internal_type_url() const;
0703 PROTOBUF_ALWAYS_INLINE void _internal_set_type_url(const ::std::string& value);
0704 ::std::string* PROTOBUF_NONNULL _internal_mutable_type_url();
0705
0706 public:
0707
0708 void clear_json_name() ;
0709 const ::std::string& json_name() const;
0710 template <typename Arg_ = const ::std::string&, typename... Args_>
0711 void set_json_name(Arg_&& arg, Args_... args);
0712 ::std::string* PROTOBUF_NONNULL mutable_json_name();
0713 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_json_name();
0714 void set_allocated_json_name(::std::string* PROTOBUF_NULLABLE value);
0715
0716 private:
0717 const ::std::string& _internal_json_name() const;
0718 PROTOBUF_ALWAYS_INLINE void _internal_set_json_name(const ::std::string& value);
0719 ::std::string* PROTOBUF_NONNULL _internal_mutable_json_name();
0720
0721 public:
0722
0723 void clear_default_value() ;
0724 const ::std::string& default_value() const;
0725 template <typename Arg_ = const ::std::string&, typename... Args_>
0726 void set_default_value(Arg_&& arg, Args_... args);
0727 ::std::string* PROTOBUF_NONNULL mutable_default_value();
0728 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_default_value();
0729 void set_allocated_default_value(::std::string* PROTOBUF_NULLABLE value);
0730
0731 private:
0732 const ::std::string& _internal_default_value() const;
0733 PROTOBUF_ALWAYS_INLINE void _internal_set_default_value(const ::std::string& value);
0734 ::std::string* PROTOBUF_NONNULL _internal_mutable_default_value();
0735
0736 public:
0737
0738 void clear_kind() ;
0739 ::google::protobuf::Field_Kind kind() const;
0740 void set_kind(::google::protobuf::Field_Kind value);
0741
0742 private:
0743 ::google::protobuf::Field_Kind _internal_kind() const;
0744 void _internal_set_kind(::google::protobuf::Field_Kind value);
0745
0746 public:
0747
0748 void clear_cardinality() ;
0749 ::google::protobuf::Field_Cardinality cardinality() const;
0750 void set_cardinality(::google::protobuf::Field_Cardinality value);
0751
0752 private:
0753 ::google::protobuf::Field_Cardinality _internal_cardinality() const;
0754 void _internal_set_cardinality(::google::protobuf::Field_Cardinality value);
0755
0756 public:
0757
0758 void clear_number() ;
0759 ::int32_t number() const;
0760 void set_number(::int32_t value);
0761
0762 private:
0763 ::int32_t _internal_number() const;
0764 void _internal_set_number(::int32_t value);
0765
0766 public:
0767
0768 void clear_oneof_index() ;
0769 ::int32_t oneof_index() const;
0770 void set_oneof_index(::int32_t value);
0771
0772 private:
0773 ::int32_t _internal_oneof_index() const;
0774 void _internal_set_oneof_index(::int32_t value);
0775
0776 public:
0777
0778 void clear_packed() ;
0779 bool packed() const;
0780 void set_packed(bool value);
0781
0782 private:
0783 bool _internal_packed() const;
0784 void _internal_set_packed(bool value);
0785
0786 public:
0787
0788 private:
0789 class _Internal;
0790 friend class ::google::protobuf::internal::TcParser;
0791 static const ::google::protobuf::internal::TcParseTable<4, 10,
0792 1, 72,
0793 2>
0794 _table_;
0795
0796 friend class ::google::protobuf::MessageLite;
0797 friend class ::google::protobuf::Arena;
0798 template <typename T>
0799 friend class ::google::protobuf::Arena::InternalHelper;
0800 using InternalArenaConstructable_ = void;
0801 using DestructorSkippable_ = void;
0802 struct Impl_ {
0803 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
0804 inline explicit Impl_(
0805 ::google::protobuf::internal::InternalVisibility visibility,
0806 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0807 inline explicit Impl_(
0808 ::google::protobuf::internal::InternalVisibility visibility,
0809 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
0810 const Field& from_msg);
0811 ::google::protobuf::internal::HasBits<1> _has_bits_;
0812 ::google::protobuf::internal::CachedSize _cached_size_;
0813 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
0814 ::google::protobuf::internal::ArenaStringPtr name_;
0815 ::google::protobuf::internal::ArenaStringPtr type_url_;
0816 ::google::protobuf::internal::ArenaStringPtr json_name_;
0817 ::google::protobuf::internal::ArenaStringPtr default_value_;
0818 int kind_;
0819 int cardinality_;
0820 ::int32_t number_;
0821 ::int32_t oneof_index_;
0822 bool packed_;
0823 PROTOBUF_TSAN_DECLARE_MEMBER
0824 };
0825 union { Impl_ _impl_; };
0826 friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto;
0827 };
0828
0829 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Field_class_data_;
0830
0831
0832 class PROTOBUF_EXPORT EnumValue final : public ::google::protobuf::Message
0833 {
0834 public:
0835 inline EnumValue() : EnumValue(nullptr) {}
0836 ~EnumValue() PROTOBUF_FINAL;
0837
0838 #if defined(PROTOBUF_CUSTOM_VTABLE)
0839 void operator delete(EnumValue* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
0840 SharedDtor(*msg);
0841 ::google::protobuf::internal::SizedDelete(msg, sizeof(EnumValue));
0842 }
0843 #endif
0844
0845 template <typename = void>
0846 explicit PROTOBUF_CONSTEXPR EnumValue(::google::protobuf::internal::ConstantInitialized);
0847
0848 inline EnumValue(const EnumValue& from) : EnumValue(nullptr, from) {}
0849 inline EnumValue(EnumValue&& from) noexcept
0850 : EnumValue(nullptr, ::std::move(from)) {}
0851 inline EnumValue& operator=(const EnumValue& from) {
0852 CopyFrom(from);
0853 return *this;
0854 }
0855 inline EnumValue& operator=(EnumValue&& from) noexcept {
0856 if (this == &from) return *this;
0857 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
0858 InternalSwap(&from);
0859 } else {
0860 CopyFrom(from);
0861 }
0862 return *this;
0863 }
0864
0865 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
0866 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0867 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
0868 }
0869 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
0870 ABSL_ATTRIBUTE_LIFETIME_BOUND {
0871 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
0872 }
0873
0874 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
0875 return GetDescriptor();
0876 }
0877 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
0878 return default_instance().GetMetadata().descriptor;
0879 }
0880 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
0881 return default_instance().GetMetadata().reflection;
0882 }
0883 static const EnumValue& default_instance() {
0884 return *reinterpret_cast<const EnumValue*>(
0885 &_EnumValue_default_instance_);
0886 }
0887 static constexpr int kIndexInFileMessages = 3;
0888 friend void swap(EnumValue& a, EnumValue& b) { a.Swap(&b); }
0889 inline void Swap(EnumValue* PROTOBUF_NONNULL other) {
0890 if (other == this) return;
0891 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
0892 InternalSwap(other);
0893 } else {
0894 ::google::protobuf::internal::GenericSwap(this, other);
0895 }
0896 }
0897 void UnsafeArenaSwap(EnumValue* PROTOBUF_NONNULL other) {
0898 if (other == this) return;
0899 ABSL_DCHECK(GetArena() == other->GetArena());
0900 InternalSwap(other);
0901 }
0902
0903
0904
0905 EnumValue* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
0906 return ::google::protobuf::Message::DefaultConstruct<EnumValue>(arena);
0907 }
0908 using ::google::protobuf::Message::CopyFrom;
0909 void CopyFrom(const EnumValue& from);
0910 using ::google::protobuf::Message::MergeFrom;
0911 void MergeFrom(const EnumValue& from) { EnumValue::MergeImpl(*this, from); }
0912
0913 private:
0914 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
0915 const ::google::protobuf::MessageLite& from_msg);
0916
0917 public:
0918 bool IsInitialized() const {
0919 return true;
0920 }
0921 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
0922 #if defined(PROTOBUF_CUSTOM_VTABLE)
0923 private:
0924 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
0925 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0926 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
0927 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
0928
0929 public:
0930 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
0931 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0932 ::uint8_t* PROTOBUF_NONNULL target,
0933 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
0934 return _InternalSerialize(*this, target, stream);
0935 }
0936 #else
0937 ::size_t ByteSizeLong() const final;
0938 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
0939 ::uint8_t* PROTOBUF_NONNULL target,
0940 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
0941 #endif
0942 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
0943
0944 private:
0945 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0946 static void SharedDtor(MessageLite& self);
0947 void InternalSwap(EnumValue* PROTOBUF_NONNULL other);
0948 private:
0949 template <typename T>
0950 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
0951 static ::absl::string_view FullMessageName() { return "google.protobuf.EnumValue"; }
0952
0953 protected:
0954 explicit EnumValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0955 EnumValue(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const EnumValue& from);
0956 EnumValue(
0957 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, EnumValue&& from) noexcept
0958 : EnumValue(arena) {
0959 *this = ::std::move(from);
0960 }
0961 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
0962 static void* PROTOBUF_NONNULL PlacementNew_(
0963 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
0964 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
0965 static constexpr auto InternalNewImpl_();
0966
0967 public:
0968 static constexpr auto InternalGenerateClassData_();
0969
0970 ::google::protobuf::Metadata GetMetadata() const;
0971
0972
0973
0974 enum : int {
0975 kOptionsFieldNumber = 3,
0976 kNameFieldNumber = 1,
0977 kNumberFieldNumber = 2,
0978 };
0979
0980 int options_size() const;
0981 private:
0982 int _internal_options_size() const;
0983
0984 public:
0985 void clear_options() ;
0986 ::google::protobuf::Option* PROTOBUF_NONNULL mutable_options(int index);
0987 ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL mutable_options();
0988
0989 private:
0990 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& _internal_options() const;
0991 ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL _internal_mutable_options();
0992 public:
0993 const ::google::protobuf::Option& options(int index) const;
0994 ::google::protobuf::Option* PROTOBUF_NONNULL add_options();
0995 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& options() const;
0996
0997 void clear_name() ;
0998 const ::std::string& name() const;
0999 template <typename Arg_ = const ::std::string&, typename... Args_>
1000 void set_name(Arg_&& arg, Args_... args);
1001 ::std::string* PROTOBUF_NONNULL mutable_name();
1002 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1003 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1004
1005 private:
1006 const ::std::string& _internal_name() const;
1007 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
1008 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1009
1010 public:
1011
1012 void clear_number() ;
1013 ::int32_t number() const;
1014 void set_number(::int32_t value);
1015
1016 private:
1017 ::int32_t _internal_number() const;
1018 void _internal_set_number(::int32_t value);
1019
1020 public:
1021
1022 private:
1023 class _Internal;
1024 friend class ::google::protobuf::internal::TcParser;
1025 static const ::google::protobuf::internal::TcParseTable<2, 3,
1026 1, 38,
1027 2>
1028 _table_;
1029
1030 friend class ::google::protobuf::MessageLite;
1031 friend class ::google::protobuf::Arena;
1032 template <typename T>
1033 friend class ::google::protobuf::Arena::InternalHelper;
1034 using InternalArenaConstructable_ = void;
1035 using DestructorSkippable_ = void;
1036 struct Impl_ {
1037 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1038 inline explicit Impl_(
1039 ::google::protobuf::internal::InternalVisibility visibility,
1040 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1041 inline explicit Impl_(
1042 ::google::protobuf::internal::InternalVisibility visibility,
1043 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1044 const EnumValue& from_msg);
1045 ::google::protobuf::internal::HasBits<1> _has_bits_;
1046 ::google::protobuf::internal::CachedSize _cached_size_;
1047 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
1048 ::google::protobuf::internal::ArenaStringPtr name_;
1049 ::int32_t number_;
1050 PROTOBUF_TSAN_DECLARE_MEMBER
1051 };
1052 union { Impl_ _impl_; };
1053 friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto;
1054 };
1055
1056 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumValue_class_data_;
1057
1058
1059 class PROTOBUF_EXPORT Type final : public ::google::protobuf::Message
1060 {
1061 public:
1062 inline Type() : Type(nullptr) {}
1063 ~Type() PROTOBUF_FINAL;
1064
1065 #if defined(PROTOBUF_CUSTOM_VTABLE)
1066 void operator delete(Type* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1067 SharedDtor(*msg);
1068 ::google::protobuf::internal::SizedDelete(msg, sizeof(Type));
1069 }
1070 #endif
1071
1072 template <typename = void>
1073 explicit PROTOBUF_CONSTEXPR Type(::google::protobuf::internal::ConstantInitialized);
1074
1075 inline Type(const Type& from) : Type(nullptr, from) {}
1076 inline Type(Type&& from) noexcept
1077 : Type(nullptr, ::std::move(from)) {}
1078 inline Type& operator=(const Type& from) {
1079 CopyFrom(from);
1080 return *this;
1081 }
1082 inline Type& operator=(Type&& from) noexcept {
1083 if (this == &from) return *this;
1084 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1085 InternalSwap(&from);
1086 } else {
1087 CopyFrom(from);
1088 }
1089 return *this;
1090 }
1091
1092 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1093 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1094 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1095 }
1096 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1097 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1098 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1099 }
1100
1101 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1102 return GetDescriptor();
1103 }
1104 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1105 return default_instance().GetMetadata().descriptor;
1106 }
1107 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1108 return default_instance().GetMetadata().reflection;
1109 }
1110 static const Type& default_instance() {
1111 return *reinterpret_cast<const Type*>(
1112 &_Type_default_instance_);
1113 }
1114 static constexpr int kIndexInFileMessages = 0;
1115 friend void swap(Type& a, Type& b) { a.Swap(&b); }
1116 inline void Swap(Type* PROTOBUF_NONNULL other) {
1117 if (other == this) return;
1118 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1119 InternalSwap(other);
1120 } else {
1121 ::google::protobuf::internal::GenericSwap(this, other);
1122 }
1123 }
1124 void UnsafeArenaSwap(Type* PROTOBUF_NONNULL other) {
1125 if (other == this) return;
1126 ABSL_DCHECK(GetArena() == other->GetArena());
1127 InternalSwap(other);
1128 }
1129
1130
1131
1132 Type* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1133 return ::google::protobuf::Message::DefaultConstruct<Type>(arena);
1134 }
1135 using ::google::protobuf::Message::CopyFrom;
1136 void CopyFrom(const Type& from);
1137 using ::google::protobuf::Message::MergeFrom;
1138 void MergeFrom(const Type& from) { Type::MergeImpl(*this, from); }
1139
1140 private:
1141 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1142 const ::google::protobuf::MessageLite& from_msg);
1143
1144 public:
1145 bool IsInitialized() const {
1146 return true;
1147 }
1148 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1149 #if defined(PROTOBUF_CUSTOM_VTABLE)
1150 private:
1151 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1152 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1153 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1154 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1155
1156 public:
1157 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1158 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1159 ::uint8_t* PROTOBUF_NONNULL target,
1160 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1161 return _InternalSerialize(*this, target, stream);
1162 }
1163 #else
1164 ::size_t ByteSizeLong() const final;
1165 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1166 ::uint8_t* PROTOBUF_NONNULL target,
1167 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1168 #endif
1169 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1170
1171 private:
1172 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1173 static void SharedDtor(MessageLite& self);
1174 void InternalSwap(Type* PROTOBUF_NONNULL other);
1175 private:
1176 template <typename T>
1177 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1178 static ::absl::string_view FullMessageName() { return "google.protobuf.Type"; }
1179
1180 protected:
1181 explicit Type(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1182 Type(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Type& from);
1183 Type(
1184 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Type&& from) noexcept
1185 : Type(arena) {
1186 *this = ::std::move(from);
1187 }
1188 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1189 static void* PROTOBUF_NONNULL PlacementNew_(
1190 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1191 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1192 static constexpr auto InternalNewImpl_();
1193
1194 public:
1195 static constexpr auto InternalGenerateClassData_();
1196
1197 ::google::protobuf::Metadata GetMetadata() const;
1198
1199
1200
1201 enum : int {
1202 kFieldsFieldNumber = 2,
1203 kOneofsFieldNumber = 3,
1204 kOptionsFieldNumber = 4,
1205 kNameFieldNumber = 1,
1206 kEditionFieldNumber = 7,
1207 kSourceContextFieldNumber = 5,
1208 kSyntaxFieldNumber = 6,
1209 };
1210
1211 int fields_size() const;
1212 private:
1213 int _internal_fields_size() const;
1214
1215 public:
1216 void clear_fields() ;
1217 ::google::protobuf::Field* PROTOBUF_NONNULL mutable_fields(int index);
1218 ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>* PROTOBUF_NONNULL mutable_fields();
1219
1220 private:
1221 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>& _internal_fields() const;
1222 ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>* PROTOBUF_NONNULL _internal_mutable_fields();
1223 public:
1224 const ::google::protobuf::Field& fields(int index) const;
1225 ::google::protobuf::Field* PROTOBUF_NONNULL add_fields();
1226 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>& fields() const;
1227
1228 int oneofs_size() const;
1229 private:
1230 int _internal_oneofs_size() const;
1231
1232 public:
1233 void clear_oneofs() ;
1234 const ::std::string& oneofs(int index) const;
1235 ::std::string* PROTOBUF_NONNULL mutable_oneofs(int index);
1236 template <typename Arg_ = const ::std::string&, typename... Args_>
1237 void set_oneofs(int index, Arg_&& value, Args_... args);
1238 ::std::string* PROTOBUF_NONNULL add_oneofs();
1239 template <typename Arg_ = const ::std::string&, typename... Args_>
1240 void add_oneofs(Arg_&& value, Args_... args);
1241 const ::google::protobuf::RepeatedPtrField<::std::string>& oneofs() const;
1242 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_oneofs();
1243
1244 private:
1245 const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_oneofs() const;
1246 ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_oneofs();
1247
1248 public:
1249
1250 int options_size() const;
1251 private:
1252 int _internal_options_size() const;
1253
1254 public:
1255 void clear_options() ;
1256 ::google::protobuf::Option* PROTOBUF_NONNULL mutable_options(int index);
1257 ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL mutable_options();
1258
1259 private:
1260 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& _internal_options() const;
1261 ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL _internal_mutable_options();
1262 public:
1263 const ::google::protobuf::Option& options(int index) const;
1264 ::google::protobuf::Option* PROTOBUF_NONNULL add_options();
1265 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& options() const;
1266
1267 void clear_name() ;
1268 const ::std::string& name() const;
1269 template <typename Arg_ = const ::std::string&, typename... Args_>
1270 void set_name(Arg_&& arg, Args_... args);
1271 ::std::string* PROTOBUF_NONNULL mutable_name();
1272 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1273 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1274
1275 private:
1276 const ::std::string& _internal_name() const;
1277 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
1278 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1279
1280 public:
1281
1282 void clear_edition() ;
1283 const ::std::string& edition() const;
1284 template <typename Arg_ = const ::std::string&, typename... Args_>
1285 void set_edition(Arg_&& arg, Args_... args);
1286 ::std::string* PROTOBUF_NONNULL mutable_edition();
1287 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_edition();
1288 void set_allocated_edition(::std::string* PROTOBUF_NULLABLE value);
1289
1290 private:
1291 const ::std::string& _internal_edition() const;
1292 PROTOBUF_ALWAYS_INLINE void _internal_set_edition(const ::std::string& value);
1293 ::std::string* PROTOBUF_NONNULL _internal_mutable_edition();
1294
1295 public:
1296
1297 bool has_source_context() const;
1298 void clear_source_context() ;
1299 const ::google::protobuf::SourceContext& source_context() const;
1300 [[nodiscard]] ::google::protobuf::SourceContext* PROTOBUF_NULLABLE release_source_context();
1301 ::google::protobuf::SourceContext* PROTOBUF_NONNULL mutable_source_context();
1302 void set_allocated_source_context(::google::protobuf::SourceContext* PROTOBUF_NULLABLE value);
1303 void unsafe_arena_set_allocated_source_context(::google::protobuf::SourceContext* PROTOBUF_NULLABLE value);
1304 ::google::protobuf::SourceContext* PROTOBUF_NULLABLE unsafe_arena_release_source_context();
1305
1306 private:
1307 const ::google::protobuf::SourceContext& _internal_source_context() const;
1308 ::google::protobuf::SourceContext* PROTOBUF_NONNULL _internal_mutable_source_context();
1309
1310 public:
1311
1312 void clear_syntax() ;
1313 ::google::protobuf::Syntax syntax() const;
1314 void set_syntax(::google::protobuf::Syntax value);
1315
1316 private:
1317 ::google::protobuf::Syntax _internal_syntax() const;
1318 void _internal_set_syntax(::google::protobuf::Syntax value);
1319
1320 public:
1321
1322 private:
1323 class _Internal;
1324 friend class ::google::protobuf::internal::TcParser;
1325 static const ::google::protobuf::internal::TcParseTable<3, 7,
1326 3, 46,
1327 2>
1328 _table_;
1329
1330 friend class ::google::protobuf::MessageLite;
1331 friend class ::google::protobuf::Arena;
1332 template <typename T>
1333 friend class ::google::protobuf::Arena::InternalHelper;
1334 using InternalArenaConstructable_ = void;
1335 using DestructorSkippable_ = void;
1336 struct Impl_ {
1337 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1338 inline explicit Impl_(
1339 ::google::protobuf::internal::InternalVisibility visibility,
1340 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1341 inline explicit Impl_(
1342 ::google::protobuf::internal::InternalVisibility visibility,
1343 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1344 const Type& from_msg);
1345 ::google::protobuf::internal::HasBits<1> _has_bits_;
1346 ::google::protobuf::internal::CachedSize _cached_size_;
1347 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field > fields_;
1348 ::google::protobuf::RepeatedPtrField<::std::string> oneofs_;
1349 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
1350 ::google::protobuf::internal::ArenaStringPtr name_;
1351 ::google::protobuf::internal::ArenaStringPtr edition_;
1352 ::google::protobuf::SourceContext* PROTOBUF_NULLABLE source_context_;
1353 int syntax_;
1354 PROTOBUF_TSAN_DECLARE_MEMBER
1355 };
1356 union { Impl_ _impl_; };
1357 friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto;
1358 };
1359
1360 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Type_class_data_;
1361
1362
1363 class PROTOBUF_EXPORT Enum final : public ::google::protobuf::Message
1364 {
1365 public:
1366 inline Enum() : Enum(nullptr) {}
1367 ~Enum() PROTOBUF_FINAL;
1368
1369 #if defined(PROTOBUF_CUSTOM_VTABLE)
1370 void operator delete(Enum* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
1371 SharedDtor(*msg);
1372 ::google::protobuf::internal::SizedDelete(msg, sizeof(Enum));
1373 }
1374 #endif
1375
1376 template <typename = void>
1377 explicit PROTOBUF_CONSTEXPR Enum(::google::protobuf::internal::ConstantInitialized);
1378
1379 inline Enum(const Enum& from) : Enum(nullptr, from) {}
1380 inline Enum(Enum&& from) noexcept
1381 : Enum(nullptr, ::std::move(from)) {}
1382 inline Enum& operator=(const Enum& from) {
1383 CopyFrom(from);
1384 return *this;
1385 }
1386 inline Enum& operator=(Enum&& from) noexcept {
1387 if (this == &from) return *this;
1388 if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
1389 InternalSwap(&from);
1390 } else {
1391 CopyFrom(from);
1392 }
1393 return *this;
1394 }
1395
1396 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
1397 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1398 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
1399 }
1400 inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
1401 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1402 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
1403 }
1404
1405 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
1406 return GetDescriptor();
1407 }
1408 static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
1409 return default_instance().GetMetadata().descriptor;
1410 }
1411 static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
1412 return default_instance().GetMetadata().reflection;
1413 }
1414 static const Enum& default_instance() {
1415 return *reinterpret_cast<const Enum*>(
1416 &_Enum_default_instance_);
1417 }
1418 static constexpr int kIndexInFileMessages = 2;
1419 friend void swap(Enum& a, Enum& b) { a.Swap(&b); }
1420 inline void Swap(Enum* PROTOBUF_NONNULL other) {
1421 if (other == this) return;
1422 if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
1423 InternalSwap(other);
1424 } else {
1425 ::google::protobuf::internal::GenericSwap(this, other);
1426 }
1427 }
1428 void UnsafeArenaSwap(Enum* PROTOBUF_NONNULL other) {
1429 if (other == this) return;
1430 ABSL_DCHECK(GetArena() == other->GetArena());
1431 InternalSwap(other);
1432 }
1433
1434
1435
1436 Enum* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
1437 return ::google::protobuf::Message::DefaultConstruct<Enum>(arena);
1438 }
1439 using ::google::protobuf::Message::CopyFrom;
1440 void CopyFrom(const Enum& from);
1441 using ::google::protobuf::Message::MergeFrom;
1442 void MergeFrom(const Enum& from) { Enum::MergeImpl(*this, from); }
1443
1444 private:
1445 static void MergeImpl(::google::protobuf::MessageLite& to_msg,
1446 const ::google::protobuf::MessageLite& from_msg);
1447
1448 public:
1449 bool IsInitialized() const {
1450 return true;
1451 }
1452 ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL;
1453 #if defined(PROTOBUF_CUSTOM_VTABLE)
1454 private:
1455 static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
1456 static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1457 const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
1458 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
1459
1460 public:
1461 ::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
1462 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1463 ::uint8_t* PROTOBUF_NONNULL target,
1464 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
1465 return _InternalSerialize(*this, target, stream);
1466 }
1467 #else
1468 ::size_t ByteSizeLong() const final;
1469 ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
1470 ::uint8_t* PROTOBUF_NONNULL target,
1471 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
1472 #endif
1473 int GetCachedSize() const { return _impl_._cached_size_.Get(); }
1474
1475 private:
1476 void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1477 static void SharedDtor(MessageLite& self);
1478 void InternalSwap(Enum* PROTOBUF_NONNULL other);
1479 private:
1480 template <typename T>
1481 friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
1482 static ::absl::string_view FullMessageName() { return "google.protobuf.Enum"; }
1483
1484 protected:
1485 explicit Enum(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1486 Enum(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Enum& from);
1487 Enum(
1488 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, Enum&& from) noexcept
1489 : Enum(arena) {
1490 *this = ::std::move(from);
1491 }
1492 const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
1493 static void* PROTOBUF_NONNULL PlacementNew_(
1494 const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
1495 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1496 static constexpr auto InternalNewImpl_();
1497
1498 public:
1499 static constexpr auto InternalGenerateClassData_();
1500
1501 ::google::protobuf::Metadata GetMetadata() const;
1502
1503
1504
1505 enum : int {
1506 kEnumvalueFieldNumber = 2,
1507 kOptionsFieldNumber = 3,
1508 kNameFieldNumber = 1,
1509 kEditionFieldNumber = 6,
1510 kSourceContextFieldNumber = 4,
1511 kSyntaxFieldNumber = 5,
1512 };
1513
1514 int enumvalue_size() const;
1515 private:
1516 int _internal_enumvalue_size() const;
1517
1518 public:
1519 void clear_enumvalue() ;
1520 ::google::protobuf::EnumValue* PROTOBUF_NONNULL mutable_enumvalue(int index);
1521 ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>* PROTOBUF_NONNULL mutable_enumvalue();
1522
1523 private:
1524 const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>& _internal_enumvalue() const;
1525 ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>* PROTOBUF_NONNULL _internal_mutable_enumvalue();
1526 public:
1527 const ::google::protobuf::EnumValue& enumvalue(int index) const;
1528 ::google::protobuf::EnumValue* PROTOBUF_NONNULL add_enumvalue();
1529 const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>& enumvalue() const;
1530
1531 int options_size() const;
1532 private:
1533 int _internal_options_size() const;
1534
1535 public:
1536 void clear_options() ;
1537 ::google::protobuf::Option* PROTOBUF_NONNULL mutable_options(int index);
1538 ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL mutable_options();
1539
1540 private:
1541 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& _internal_options() const;
1542 ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL _internal_mutable_options();
1543 public:
1544 const ::google::protobuf::Option& options(int index) const;
1545 ::google::protobuf::Option* PROTOBUF_NONNULL add_options();
1546 const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& options() const;
1547
1548 void clear_name() ;
1549 const ::std::string& name() const;
1550 template <typename Arg_ = const ::std::string&, typename... Args_>
1551 void set_name(Arg_&& arg, Args_... args);
1552 ::std::string* PROTOBUF_NONNULL mutable_name();
1553 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
1554 void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
1555
1556 private:
1557 const ::std::string& _internal_name() const;
1558 PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
1559 ::std::string* PROTOBUF_NONNULL _internal_mutable_name();
1560
1561 public:
1562
1563 void clear_edition() ;
1564 const ::std::string& edition() const;
1565 template <typename Arg_ = const ::std::string&, typename... Args_>
1566 void set_edition(Arg_&& arg, Args_... args);
1567 ::std::string* PROTOBUF_NONNULL mutable_edition();
1568 [[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_edition();
1569 void set_allocated_edition(::std::string* PROTOBUF_NULLABLE value);
1570
1571 private:
1572 const ::std::string& _internal_edition() const;
1573 PROTOBUF_ALWAYS_INLINE void _internal_set_edition(const ::std::string& value);
1574 ::std::string* PROTOBUF_NONNULL _internal_mutable_edition();
1575
1576 public:
1577
1578 bool has_source_context() const;
1579 void clear_source_context() ;
1580 const ::google::protobuf::SourceContext& source_context() const;
1581 [[nodiscard]] ::google::protobuf::SourceContext* PROTOBUF_NULLABLE release_source_context();
1582 ::google::protobuf::SourceContext* PROTOBUF_NONNULL mutable_source_context();
1583 void set_allocated_source_context(::google::protobuf::SourceContext* PROTOBUF_NULLABLE value);
1584 void unsafe_arena_set_allocated_source_context(::google::protobuf::SourceContext* PROTOBUF_NULLABLE value);
1585 ::google::protobuf::SourceContext* PROTOBUF_NULLABLE unsafe_arena_release_source_context();
1586
1587 private:
1588 const ::google::protobuf::SourceContext& _internal_source_context() const;
1589 ::google::protobuf::SourceContext* PROTOBUF_NONNULL _internal_mutable_source_context();
1590
1591 public:
1592
1593 void clear_syntax() ;
1594 ::google::protobuf::Syntax syntax() const;
1595 void set_syntax(::google::protobuf::Syntax value);
1596
1597 private:
1598 ::google::protobuf::Syntax _internal_syntax() const;
1599 void _internal_set_syntax(::google::protobuf::Syntax value);
1600
1601 public:
1602
1603 private:
1604 class _Internal;
1605 friend class ::google::protobuf::internal::TcParser;
1606 static const ::google::protobuf::internal::TcParseTable<3, 6,
1607 3, 40,
1608 2>
1609 _table_;
1610
1611 friend class ::google::protobuf::MessageLite;
1612 friend class ::google::protobuf::Arena;
1613 template <typename T>
1614 friend class ::google::protobuf::Arena::InternalHelper;
1615 using InternalArenaConstructable_ = void;
1616 using DestructorSkippable_ = void;
1617 struct Impl_ {
1618 inline explicit constexpr Impl_(::google::protobuf::internal::ConstantInitialized) noexcept;
1619 inline explicit Impl_(
1620 ::google::protobuf::internal::InternalVisibility visibility,
1621 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
1622 inline explicit Impl_(
1623 ::google::protobuf::internal::InternalVisibility visibility,
1624 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
1625 const Enum& from_msg);
1626 ::google::protobuf::internal::HasBits<1> _has_bits_;
1627 ::google::protobuf::internal::CachedSize _cached_size_;
1628 ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValue > enumvalue_;
1629 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Option > options_;
1630 ::google::protobuf::internal::ArenaStringPtr name_;
1631 ::google::protobuf::internal::ArenaStringPtr edition_;
1632 ::google::protobuf::SourceContext* PROTOBUF_NULLABLE source_context_;
1633 int syntax_;
1634 PROTOBUF_TSAN_DECLARE_MEMBER
1635 };
1636 union { Impl_ _impl_; };
1637 friend struct ::TableStruct_google_2fprotobuf_2ftype_2eproto;
1638 };
1639
1640 PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Enum_class_data_;
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650 #ifdef __GNUC__
1651 #pragma GCC diagnostic push
1652 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1653 #endif
1654
1655
1656
1657
1658
1659 inline void Type::clear_name() {
1660 ::google::protobuf::internal::TSanWrite(&_impl_);
1661 _impl_.name_.ClearToEmpty();
1662 _impl_._has_bits_[0] &= ~0x00000001U;
1663 }
1664 inline const ::std::string& Type::name() const
1665 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1666
1667 return _internal_name();
1668 }
1669 template <typename Arg_, typename... Args_>
1670 PROTOBUF_ALWAYS_INLINE void Type::set_name(Arg_&& arg, Args_... args) {
1671 ::google::protobuf::internal::TSanWrite(&_impl_);
1672 _impl_._has_bits_[0] |= 0x00000001U;
1673 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
1674
1675 }
1676 inline ::std::string* PROTOBUF_NONNULL Type::mutable_name()
1677 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1678 ::std::string* _s = _internal_mutable_name();
1679
1680 return _s;
1681 }
1682 inline const ::std::string& Type::_internal_name() const {
1683 ::google::protobuf::internal::TSanRead(&_impl_);
1684 return _impl_.name_.Get();
1685 }
1686 inline void Type::_internal_set_name(const ::std::string& value) {
1687 ::google::protobuf::internal::TSanWrite(&_impl_);
1688 _impl_._has_bits_[0] |= 0x00000001U;
1689 _impl_.name_.Set(value, GetArena());
1690 }
1691 inline ::std::string* PROTOBUF_NONNULL Type::_internal_mutable_name() {
1692 ::google::protobuf::internal::TSanWrite(&_impl_);
1693 _impl_._has_bits_[0] |= 0x00000001U;
1694 return _impl_.name_.Mutable( GetArena());
1695 }
1696 inline ::std::string* PROTOBUF_NULLABLE Type::release_name() {
1697 ::google::protobuf::internal::TSanWrite(&_impl_);
1698
1699 if ((_impl_._has_bits_[0] & 0x00000001U) == 0) {
1700 return nullptr;
1701 }
1702 _impl_._has_bits_[0] &= ~0x00000001U;
1703 auto* released = _impl_.name_.Release();
1704 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
1705 _impl_.name_.Set("", GetArena());
1706 }
1707 return released;
1708 }
1709 inline void Type::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
1710 ::google::protobuf::internal::TSanWrite(&_impl_);
1711 if (value != nullptr) {
1712 _impl_._has_bits_[0] |= 0x00000001U;
1713 } else {
1714 _impl_._has_bits_[0] &= ~0x00000001U;
1715 }
1716 _impl_.name_.SetAllocated(value, GetArena());
1717 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
1718 _impl_.name_.Set("", GetArena());
1719 }
1720
1721 }
1722
1723
1724 inline int Type::_internal_fields_size() const {
1725 return _internal_fields().size();
1726 }
1727 inline int Type::fields_size() const {
1728 return _internal_fields_size();
1729 }
1730 inline void Type::clear_fields() {
1731 ::google::protobuf::internal::TSanWrite(&_impl_);
1732 _impl_.fields_.Clear();
1733 }
1734 inline ::google::protobuf::Field* PROTOBUF_NONNULL Type::mutable_fields(int index)
1735 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1736
1737 return _internal_mutable_fields()->Mutable(index);
1738 }
1739 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>* PROTOBUF_NONNULL Type::mutable_fields()
1740 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1741
1742 ::google::protobuf::internal::TSanWrite(&_impl_);
1743 return _internal_mutable_fields();
1744 }
1745 inline const ::google::protobuf::Field& Type::fields(int index) const
1746 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1747
1748 return _internal_fields().Get(index);
1749 }
1750 inline ::google::protobuf::Field* PROTOBUF_NONNULL Type::add_fields()
1751 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1752 ::google::protobuf::internal::TSanWrite(&_impl_);
1753 ::google::protobuf::Field* _add = _internal_mutable_fields()->Add();
1754
1755 return _add;
1756 }
1757 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>& Type::fields() const
1758 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1759
1760 return _internal_fields();
1761 }
1762 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>&
1763 Type::_internal_fields() const {
1764 ::google::protobuf::internal::TSanRead(&_impl_);
1765 return _impl_.fields_;
1766 }
1767 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Field>* PROTOBUF_NONNULL
1768 Type::_internal_mutable_fields() {
1769 ::google::protobuf::internal::TSanRead(&_impl_);
1770 return &_impl_.fields_;
1771 }
1772
1773
1774 inline int Type::_internal_oneofs_size() const {
1775 return _internal_oneofs().size();
1776 }
1777 inline int Type::oneofs_size() const {
1778 return _internal_oneofs_size();
1779 }
1780 inline void Type::clear_oneofs() {
1781 ::google::protobuf::internal::TSanWrite(&_impl_);
1782 _impl_.oneofs_.Clear();
1783 }
1784 inline ::std::string* PROTOBUF_NONNULL Type::add_oneofs()
1785 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1786 ::google::protobuf::internal::TSanWrite(&_impl_);
1787 ::std::string* _s = _internal_mutable_oneofs()->Add();
1788
1789 return _s;
1790 }
1791 inline const ::std::string& Type::oneofs(int index) const
1792 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1793
1794 return _internal_oneofs().Get(index);
1795 }
1796 inline ::std::string* PROTOBUF_NONNULL Type::mutable_oneofs(int index)
1797 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1798
1799 return _internal_mutable_oneofs()->Mutable(index);
1800 }
1801 template <typename Arg_, typename... Args_>
1802 inline void Type::set_oneofs(int index, Arg_&& value, Args_... args) {
1803 ::google::protobuf::internal::AssignToString(*_internal_mutable_oneofs()->Mutable(index), ::std::forward<Arg_>(value),
1804 args... );
1805
1806 }
1807 template <typename Arg_, typename... Args_>
1808 inline void Type::add_oneofs(Arg_&& value, Args_... args) {
1809 ::google::protobuf::internal::TSanWrite(&_impl_);
1810 ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_oneofs(),
1811 ::std::forward<Arg_>(value),
1812 args... );
1813
1814 }
1815 inline const ::google::protobuf::RepeatedPtrField<::std::string>& Type::oneofs()
1816 const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1817
1818 return _internal_oneofs();
1819 }
1820 inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
1821 Type::mutable_oneofs() ABSL_ATTRIBUTE_LIFETIME_BOUND {
1822
1823 ::google::protobuf::internal::TSanWrite(&_impl_);
1824 return _internal_mutable_oneofs();
1825 }
1826 inline const ::google::protobuf::RepeatedPtrField<::std::string>&
1827 Type::_internal_oneofs() const {
1828 ::google::protobuf::internal::TSanRead(&_impl_);
1829 return _impl_.oneofs_;
1830 }
1831 inline ::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL
1832 Type::_internal_mutable_oneofs() {
1833 ::google::protobuf::internal::TSanRead(&_impl_);
1834 return &_impl_.oneofs_;
1835 }
1836
1837
1838 inline int Type::_internal_options_size() const {
1839 return _internal_options().size();
1840 }
1841 inline int Type::options_size() const {
1842 return _internal_options_size();
1843 }
1844 inline void Type::clear_options() {
1845 ::google::protobuf::internal::TSanWrite(&_impl_);
1846 _impl_.options_.Clear();
1847 }
1848 inline ::google::protobuf::Option* PROTOBUF_NONNULL Type::mutable_options(int index)
1849 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1850
1851 return _internal_mutable_options()->Mutable(index);
1852 }
1853 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL Type::mutable_options()
1854 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1855
1856 ::google::protobuf::internal::TSanWrite(&_impl_);
1857 return _internal_mutable_options();
1858 }
1859 inline const ::google::protobuf::Option& Type::options(int index) const
1860 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1861
1862 return _internal_options().Get(index);
1863 }
1864 inline ::google::protobuf::Option* PROTOBUF_NONNULL Type::add_options()
1865 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1866 ::google::protobuf::internal::TSanWrite(&_impl_);
1867 ::google::protobuf::Option* _add = _internal_mutable_options()->Add();
1868
1869 return _add;
1870 }
1871 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& Type::options() const
1872 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1873
1874 return _internal_options();
1875 }
1876 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>&
1877 Type::_internal_options() const {
1878 ::google::protobuf::internal::TSanRead(&_impl_);
1879 return _impl_.options_;
1880 }
1881 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL
1882 Type::_internal_mutable_options() {
1883 ::google::protobuf::internal::TSanRead(&_impl_);
1884 return &_impl_.options_;
1885 }
1886
1887
1888 inline bool Type::has_source_context() const {
1889 bool value = (_impl_._has_bits_[0] & 0x00000004U) != 0;
1890 PROTOBUF_ASSUME(!value || _impl_.source_context_ != nullptr);
1891 return value;
1892 }
1893 inline const ::google::protobuf::SourceContext& Type::_internal_source_context() const {
1894 ::google::protobuf::internal::TSanRead(&_impl_);
1895 const ::google::protobuf::SourceContext* p = _impl_.source_context_;
1896 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::SourceContext&>(::google::protobuf::_SourceContext_default_instance_);
1897 }
1898 inline const ::google::protobuf::SourceContext& Type::source_context() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
1899
1900 return _internal_source_context();
1901 }
1902 inline void Type::unsafe_arena_set_allocated_source_context(
1903 ::google::protobuf::SourceContext* PROTOBUF_NULLABLE value) {
1904 ::google::protobuf::internal::TSanWrite(&_impl_);
1905 if (GetArena() == nullptr) {
1906 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.source_context_);
1907 }
1908 _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(value);
1909 if (value != nullptr) {
1910 _impl_._has_bits_[0] |= 0x00000004U;
1911 } else {
1912 _impl_._has_bits_[0] &= ~0x00000004U;
1913 }
1914
1915 }
1916 inline ::google::protobuf::SourceContext* PROTOBUF_NULLABLE Type::release_source_context() {
1917 ::google::protobuf::internal::TSanWrite(&_impl_);
1918
1919 _impl_._has_bits_[0] &= ~0x00000004U;
1920 ::google::protobuf::SourceContext* released = _impl_.source_context_;
1921 _impl_.source_context_ = nullptr;
1922 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
1923 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
1924 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1925 if (GetArena() == nullptr) {
1926 delete old;
1927 }
1928 } else {
1929 if (GetArena() != nullptr) {
1930 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
1931 }
1932 }
1933 return released;
1934 }
1935 inline ::google::protobuf::SourceContext* PROTOBUF_NULLABLE Type::unsafe_arena_release_source_context() {
1936 ::google::protobuf::internal::TSanWrite(&_impl_);
1937
1938
1939 _impl_._has_bits_[0] &= ~0x00000004U;
1940 ::google::protobuf::SourceContext* temp = _impl_.source_context_;
1941 _impl_.source_context_ = nullptr;
1942 return temp;
1943 }
1944 inline ::google::protobuf::SourceContext* PROTOBUF_NONNULL Type::_internal_mutable_source_context() {
1945 ::google::protobuf::internal::TSanWrite(&_impl_);
1946 if (_impl_.source_context_ == nullptr) {
1947 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::SourceContext>(GetArena());
1948 _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(p);
1949 }
1950 return _impl_.source_context_;
1951 }
1952 inline ::google::protobuf::SourceContext* PROTOBUF_NONNULL Type::mutable_source_context()
1953 ABSL_ATTRIBUTE_LIFETIME_BOUND {
1954 _impl_._has_bits_[0] |= 0x00000004U;
1955 ::google::protobuf::SourceContext* _msg = _internal_mutable_source_context();
1956
1957 return _msg;
1958 }
1959 inline void Type::set_allocated_source_context(::google::protobuf::SourceContext* PROTOBUF_NULLABLE value) {
1960 ::google::protobuf::Arena* message_arena = GetArena();
1961 ::google::protobuf::internal::TSanWrite(&_impl_);
1962 if (message_arena == nullptr) {
1963 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.source_context_);
1964 }
1965
1966 if (value != nullptr) {
1967 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
1968 if (message_arena != submessage_arena) {
1969 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
1970 }
1971 _impl_._has_bits_[0] |= 0x00000004U;
1972 } else {
1973 _impl_._has_bits_[0] &= ~0x00000004U;
1974 }
1975
1976 _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(value);
1977
1978 }
1979
1980
1981 inline void Type::clear_syntax() {
1982 ::google::protobuf::internal::TSanWrite(&_impl_);
1983 _impl_.syntax_ = 0;
1984 _impl_._has_bits_[0] &= ~0x00000008U;
1985 }
1986 inline ::google::protobuf::Syntax Type::syntax() const {
1987
1988 return _internal_syntax();
1989 }
1990 inline void Type::set_syntax(::google::protobuf::Syntax value) {
1991 _internal_set_syntax(value);
1992 _impl_._has_bits_[0] |= 0x00000008U;
1993
1994 }
1995 inline ::google::protobuf::Syntax Type::_internal_syntax() const {
1996 ::google::protobuf::internal::TSanRead(&_impl_);
1997 return static_cast<::google::protobuf::Syntax>(_impl_.syntax_);
1998 }
1999 inline void Type::_internal_set_syntax(::google::protobuf::Syntax value) {
2000 ::google::protobuf::internal::TSanWrite(&_impl_);
2001 _impl_.syntax_ = value;
2002 }
2003
2004
2005 inline void Type::clear_edition() {
2006 ::google::protobuf::internal::TSanWrite(&_impl_);
2007 _impl_.edition_.ClearToEmpty();
2008 _impl_._has_bits_[0] &= ~0x00000002U;
2009 }
2010 inline const ::std::string& Type::edition() const
2011 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2012
2013 return _internal_edition();
2014 }
2015 template <typename Arg_, typename... Args_>
2016 PROTOBUF_ALWAYS_INLINE void Type::set_edition(Arg_&& arg, Args_... args) {
2017 ::google::protobuf::internal::TSanWrite(&_impl_);
2018 _impl_._has_bits_[0] |= 0x00000002U;
2019 _impl_.edition_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2020
2021 }
2022 inline ::std::string* PROTOBUF_NONNULL Type::mutable_edition()
2023 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2024 ::std::string* _s = _internal_mutable_edition();
2025
2026 return _s;
2027 }
2028 inline const ::std::string& Type::_internal_edition() const {
2029 ::google::protobuf::internal::TSanRead(&_impl_);
2030 return _impl_.edition_.Get();
2031 }
2032 inline void Type::_internal_set_edition(const ::std::string& value) {
2033 ::google::protobuf::internal::TSanWrite(&_impl_);
2034 _impl_._has_bits_[0] |= 0x00000002U;
2035 _impl_.edition_.Set(value, GetArena());
2036 }
2037 inline ::std::string* PROTOBUF_NONNULL Type::_internal_mutable_edition() {
2038 ::google::protobuf::internal::TSanWrite(&_impl_);
2039 _impl_._has_bits_[0] |= 0x00000002U;
2040 return _impl_.edition_.Mutable( GetArena());
2041 }
2042 inline ::std::string* PROTOBUF_NULLABLE Type::release_edition() {
2043 ::google::protobuf::internal::TSanWrite(&_impl_);
2044
2045 if ((_impl_._has_bits_[0] & 0x00000002U) == 0) {
2046 return nullptr;
2047 }
2048 _impl_._has_bits_[0] &= ~0x00000002U;
2049 auto* released = _impl_.edition_.Release();
2050 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2051 _impl_.edition_.Set("", GetArena());
2052 }
2053 return released;
2054 }
2055 inline void Type::set_allocated_edition(::std::string* PROTOBUF_NULLABLE value) {
2056 ::google::protobuf::internal::TSanWrite(&_impl_);
2057 if (value != nullptr) {
2058 _impl_._has_bits_[0] |= 0x00000002U;
2059 } else {
2060 _impl_._has_bits_[0] &= ~0x00000002U;
2061 }
2062 _impl_.edition_.SetAllocated(value, GetArena());
2063 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.edition_.IsDefault()) {
2064 _impl_.edition_.Set("", GetArena());
2065 }
2066
2067 }
2068
2069
2070
2071
2072
2073
2074 inline void Field::clear_kind() {
2075 ::google::protobuf::internal::TSanWrite(&_impl_);
2076 _impl_.kind_ = 0;
2077 _impl_._has_bits_[0] &= ~0x00000010U;
2078 }
2079 inline ::google::protobuf::Field_Kind Field::kind() const {
2080
2081 return _internal_kind();
2082 }
2083 inline void Field::set_kind(::google::protobuf::Field_Kind value) {
2084 _internal_set_kind(value);
2085 _impl_._has_bits_[0] |= 0x00000010U;
2086
2087 }
2088 inline ::google::protobuf::Field_Kind Field::_internal_kind() const {
2089 ::google::protobuf::internal::TSanRead(&_impl_);
2090 return static_cast<::google::protobuf::Field_Kind>(_impl_.kind_);
2091 }
2092 inline void Field::_internal_set_kind(::google::protobuf::Field_Kind value) {
2093 ::google::protobuf::internal::TSanWrite(&_impl_);
2094 _impl_.kind_ = value;
2095 }
2096
2097
2098 inline void Field::clear_cardinality() {
2099 ::google::protobuf::internal::TSanWrite(&_impl_);
2100 _impl_.cardinality_ = 0;
2101 _impl_._has_bits_[0] &= ~0x00000020U;
2102 }
2103 inline ::google::protobuf::Field_Cardinality Field::cardinality() const {
2104
2105 return _internal_cardinality();
2106 }
2107 inline void Field::set_cardinality(::google::protobuf::Field_Cardinality value) {
2108 _internal_set_cardinality(value);
2109 _impl_._has_bits_[0] |= 0x00000020U;
2110
2111 }
2112 inline ::google::protobuf::Field_Cardinality Field::_internal_cardinality() const {
2113 ::google::protobuf::internal::TSanRead(&_impl_);
2114 return static_cast<::google::protobuf::Field_Cardinality>(_impl_.cardinality_);
2115 }
2116 inline void Field::_internal_set_cardinality(::google::protobuf::Field_Cardinality value) {
2117 ::google::protobuf::internal::TSanWrite(&_impl_);
2118 _impl_.cardinality_ = value;
2119 }
2120
2121
2122 inline void Field::clear_number() {
2123 ::google::protobuf::internal::TSanWrite(&_impl_);
2124 _impl_.number_ = 0;
2125 _impl_._has_bits_[0] &= ~0x00000040U;
2126 }
2127 inline ::int32_t Field::number() const {
2128
2129 return _internal_number();
2130 }
2131 inline void Field::set_number(::int32_t value) {
2132 _internal_set_number(value);
2133 _impl_._has_bits_[0] |= 0x00000040U;
2134
2135 }
2136 inline ::int32_t Field::_internal_number() const {
2137 ::google::protobuf::internal::TSanRead(&_impl_);
2138 return _impl_.number_;
2139 }
2140 inline void Field::_internal_set_number(::int32_t value) {
2141 ::google::protobuf::internal::TSanWrite(&_impl_);
2142 _impl_.number_ = value;
2143 }
2144
2145
2146 inline void Field::clear_name() {
2147 ::google::protobuf::internal::TSanWrite(&_impl_);
2148 _impl_.name_.ClearToEmpty();
2149 _impl_._has_bits_[0] &= ~0x00000001U;
2150 }
2151 inline const ::std::string& Field::name() const
2152 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2153
2154 return _internal_name();
2155 }
2156 template <typename Arg_, typename... Args_>
2157 PROTOBUF_ALWAYS_INLINE void Field::set_name(Arg_&& arg, Args_... args) {
2158 ::google::protobuf::internal::TSanWrite(&_impl_);
2159 _impl_._has_bits_[0] |= 0x00000001U;
2160 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2161
2162 }
2163 inline ::std::string* PROTOBUF_NONNULL Field::mutable_name()
2164 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2165 ::std::string* _s = _internal_mutable_name();
2166
2167 return _s;
2168 }
2169 inline const ::std::string& Field::_internal_name() const {
2170 ::google::protobuf::internal::TSanRead(&_impl_);
2171 return _impl_.name_.Get();
2172 }
2173 inline void Field::_internal_set_name(const ::std::string& value) {
2174 ::google::protobuf::internal::TSanWrite(&_impl_);
2175 _impl_._has_bits_[0] |= 0x00000001U;
2176 _impl_.name_.Set(value, GetArena());
2177 }
2178 inline ::std::string* PROTOBUF_NONNULL Field::_internal_mutable_name() {
2179 ::google::protobuf::internal::TSanWrite(&_impl_);
2180 _impl_._has_bits_[0] |= 0x00000001U;
2181 return _impl_.name_.Mutable( GetArena());
2182 }
2183 inline ::std::string* PROTOBUF_NULLABLE Field::release_name() {
2184 ::google::protobuf::internal::TSanWrite(&_impl_);
2185
2186 if ((_impl_._has_bits_[0] & 0x00000001U) == 0) {
2187 return nullptr;
2188 }
2189 _impl_._has_bits_[0] &= ~0x00000001U;
2190 auto* released = _impl_.name_.Release();
2191 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2192 _impl_.name_.Set("", GetArena());
2193 }
2194 return released;
2195 }
2196 inline void Field::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
2197 ::google::protobuf::internal::TSanWrite(&_impl_);
2198 if (value != nullptr) {
2199 _impl_._has_bits_[0] |= 0x00000001U;
2200 } else {
2201 _impl_._has_bits_[0] &= ~0x00000001U;
2202 }
2203 _impl_.name_.SetAllocated(value, GetArena());
2204 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
2205 _impl_.name_.Set("", GetArena());
2206 }
2207
2208 }
2209
2210
2211 inline void Field::clear_type_url() {
2212 ::google::protobuf::internal::TSanWrite(&_impl_);
2213 _impl_.type_url_.ClearToEmpty();
2214 _impl_._has_bits_[0] &= ~0x00000002U;
2215 }
2216 inline const ::std::string& Field::type_url() const
2217 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2218
2219 return _internal_type_url();
2220 }
2221 template <typename Arg_, typename... Args_>
2222 PROTOBUF_ALWAYS_INLINE void Field::set_type_url(Arg_&& arg, Args_... args) {
2223 ::google::protobuf::internal::TSanWrite(&_impl_);
2224 _impl_._has_bits_[0] |= 0x00000002U;
2225 _impl_.type_url_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2226
2227 }
2228 inline ::std::string* PROTOBUF_NONNULL Field::mutable_type_url()
2229 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2230 ::std::string* _s = _internal_mutable_type_url();
2231
2232 return _s;
2233 }
2234 inline const ::std::string& Field::_internal_type_url() const {
2235 ::google::protobuf::internal::TSanRead(&_impl_);
2236 return _impl_.type_url_.Get();
2237 }
2238 inline void Field::_internal_set_type_url(const ::std::string& value) {
2239 ::google::protobuf::internal::TSanWrite(&_impl_);
2240 _impl_._has_bits_[0] |= 0x00000002U;
2241 _impl_.type_url_.Set(value, GetArena());
2242 }
2243 inline ::std::string* PROTOBUF_NONNULL Field::_internal_mutable_type_url() {
2244 ::google::protobuf::internal::TSanWrite(&_impl_);
2245 _impl_._has_bits_[0] |= 0x00000002U;
2246 return _impl_.type_url_.Mutable( GetArena());
2247 }
2248 inline ::std::string* PROTOBUF_NULLABLE Field::release_type_url() {
2249 ::google::protobuf::internal::TSanWrite(&_impl_);
2250
2251 if ((_impl_._has_bits_[0] & 0x00000002U) == 0) {
2252 return nullptr;
2253 }
2254 _impl_._has_bits_[0] &= ~0x00000002U;
2255 auto* released = _impl_.type_url_.Release();
2256 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2257 _impl_.type_url_.Set("", GetArena());
2258 }
2259 return released;
2260 }
2261 inline void Field::set_allocated_type_url(::std::string* PROTOBUF_NULLABLE value) {
2262 ::google::protobuf::internal::TSanWrite(&_impl_);
2263 if (value != nullptr) {
2264 _impl_._has_bits_[0] |= 0x00000002U;
2265 } else {
2266 _impl_._has_bits_[0] &= ~0x00000002U;
2267 }
2268 _impl_.type_url_.SetAllocated(value, GetArena());
2269 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.type_url_.IsDefault()) {
2270 _impl_.type_url_.Set("", GetArena());
2271 }
2272
2273 }
2274
2275
2276 inline void Field::clear_oneof_index() {
2277 ::google::protobuf::internal::TSanWrite(&_impl_);
2278 _impl_.oneof_index_ = 0;
2279 _impl_._has_bits_[0] &= ~0x00000080U;
2280 }
2281 inline ::int32_t Field::oneof_index() const {
2282
2283 return _internal_oneof_index();
2284 }
2285 inline void Field::set_oneof_index(::int32_t value) {
2286 _internal_set_oneof_index(value);
2287 _impl_._has_bits_[0] |= 0x00000080U;
2288
2289 }
2290 inline ::int32_t Field::_internal_oneof_index() const {
2291 ::google::protobuf::internal::TSanRead(&_impl_);
2292 return _impl_.oneof_index_;
2293 }
2294 inline void Field::_internal_set_oneof_index(::int32_t value) {
2295 ::google::protobuf::internal::TSanWrite(&_impl_);
2296 _impl_.oneof_index_ = value;
2297 }
2298
2299
2300 inline void Field::clear_packed() {
2301 ::google::protobuf::internal::TSanWrite(&_impl_);
2302 _impl_.packed_ = false;
2303 _impl_._has_bits_[0] &= ~0x00000100U;
2304 }
2305 inline bool Field::packed() const {
2306
2307 return _internal_packed();
2308 }
2309 inline void Field::set_packed(bool value) {
2310 _internal_set_packed(value);
2311 _impl_._has_bits_[0] |= 0x00000100U;
2312
2313 }
2314 inline bool Field::_internal_packed() const {
2315 ::google::protobuf::internal::TSanRead(&_impl_);
2316 return _impl_.packed_;
2317 }
2318 inline void Field::_internal_set_packed(bool value) {
2319 ::google::protobuf::internal::TSanWrite(&_impl_);
2320 _impl_.packed_ = value;
2321 }
2322
2323
2324 inline int Field::_internal_options_size() const {
2325 return _internal_options().size();
2326 }
2327 inline int Field::options_size() const {
2328 return _internal_options_size();
2329 }
2330 inline void Field::clear_options() {
2331 ::google::protobuf::internal::TSanWrite(&_impl_);
2332 _impl_.options_.Clear();
2333 }
2334 inline ::google::protobuf::Option* PROTOBUF_NONNULL Field::mutable_options(int index)
2335 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2336
2337 return _internal_mutable_options()->Mutable(index);
2338 }
2339 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL Field::mutable_options()
2340 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2341
2342 ::google::protobuf::internal::TSanWrite(&_impl_);
2343 return _internal_mutable_options();
2344 }
2345 inline const ::google::protobuf::Option& Field::options(int index) const
2346 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2347
2348 return _internal_options().Get(index);
2349 }
2350 inline ::google::protobuf::Option* PROTOBUF_NONNULL Field::add_options()
2351 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2352 ::google::protobuf::internal::TSanWrite(&_impl_);
2353 ::google::protobuf::Option* _add = _internal_mutable_options()->Add();
2354
2355 return _add;
2356 }
2357 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& Field::options() const
2358 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2359
2360 return _internal_options();
2361 }
2362 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>&
2363 Field::_internal_options() const {
2364 ::google::protobuf::internal::TSanRead(&_impl_);
2365 return _impl_.options_;
2366 }
2367 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL
2368 Field::_internal_mutable_options() {
2369 ::google::protobuf::internal::TSanRead(&_impl_);
2370 return &_impl_.options_;
2371 }
2372
2373
2374 inline void Field::clear_json_name() {
2375 ::google::protobuf::internal::TSanWrite(&_impl_);
2376 _impl_.json_name_.ClearToEmpty();
2377 _impl_._has_bits_[0] &= ~0x00000004U;
2378 }
2379 inline const ::std::string& Field::json_name() const
2380 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2381
2382 return _internal_json_name();
2383 }
2384 template <typename Arg_, typename... Args_>
2385 PROTOBUF_ALWAYS_INLINE void Field::set_json_name(Arg_&& arg, Args_... args) {
2386 ::google::protobuf::internal::TSanWrite(&_impl_);
2387 _impl_._has_bits_[0] |= 0x00000004U;
2388 _impl_.json_name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2389
2390 }
2391 inline ::std::string* PROTOBUF_NONNULL Field::mutable_json_name()
2392 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2393 ::std::string* _s = _internal_mutable_json_name();
2394
2395 return _s;
2396 }
2397 inline const ::std::string& Field::_internal_json_name() const {
2398 ::google::protobuf::internal::TSanRead(&_impl_);
2399 return _impl_.json_name_.Get();
2400 }
2401 inline void Field::_internal_set_json_name(const ::std::string& value) {
2402 ::google::protobuf::internal::TSanWrite(&_impl_);
2403 _impl_._has_bits_[0] |= 0x00000004U;
2404 _impl_.json_name_.Set(value, GetArena());
2405 }
2406 inline ::std::string* PROTOBUF_NONNULL Field::_internal_mutable_json_name() {
2407 ::google::protobuf::internal::TSanWrite(&_impl_);
2408 _impl_._has_bits_[0] |= 0x00000004U;
2409 return _impl_.json_name_.Mutable( GetArena());
2410 }
2411 inline ::std::string* PROTOBUF_NULLABLE Field::release_json_name() {
2412 ::google::protobuf::internal::TSanWrite(&_impl_);
2413
2414 if ((_impl_._has_bits_[0] & 0x00000004U) == 0) {
2415 return nullptr;
2416 }
2417 _impl_._has_bits_[0] &= ~0x00000004U;
2418 auto* released = _impl_.json_name_.Release();
2419 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2420 _impl_.json_name_.Set("", GetArena());
2421 }
2422 return released;
2423 }
2424 inline void Field::set_allocated_json_name(::std::string* PROTOBUF_NULLABLE value) {
2425 ::google::protobuf::internal::TSanWrite(&_impl_);
2426 if (value != nullptr) {
2427 _impl_._has_bits_[0] |= 0x00000004U;
2428 } else {
2429 _impl_._has_bits_[0] &= ~0x00000004U;
2430 }
2431 _impl_.json_name_.SetAllocated(value, GetArena());
2432 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.json_name_.IsDefault()) {
2433 _impl_.json_name_.Set("", GetArena());
2434 }
2435
2436 }
2437
2438
2439 inline void Field::clear_default_value() {
2440 ::google::protobuf::internal::TSanWrite(&_impl_);
2441 _impl_.default_value_.ClearToEmpty();
2442 _impl_._has_bits_[0] &= ~0x00000008U;
2443 }
2444 inline const ::std::string& Field::default_value() const
2445 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2446
2447 return _internal_default_value();
2448 }
2449 template <typename Arg_, typename... Args_>
2450 PROTOBUF_ALWAYS_INLINE void Field::set_default_value(Arg_&& arg, Args_... args) {
2451 ::google::protobuf::internal::TSanWrite(&_impl_);
2452 _impl_._has_bits_[0] |= 0x00000008U;
2453 _impl_.default_value_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2454
2455 }
2456 inline ::std::string* PROTOBUF_NONNULL Field::mutable_default_value()
2457 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2458 ::std::string* _s = _internal_mutable_default_value();
2459
2460 return _s;
2461 }
2462 inline const ::std::string& Field::_internal_default_value() const {
2463 ::google::protobuf::internal::TSanRead(&_impl_);
2464 return _impl_.default_value_.Get();
2465 }
2466 inline void Field::_internal_set_default_value(const ::std::string& value) {
2467 ::google::protobuf::internal::TSanWrite(&_impl_);
2468 _impl_._has_bits_[0] |= 0x00000008U;
2469 _impl_.default_value_.Set(value, GetArena());
2470 }
2471 inline ::std::string* PROTOBUF_NONNULL Field::_internal_mutable_default_value() {
2472 ::google::protobuf::internal::TSanWrite(&_impl_);
2473 _impl_._has_bits_[0] |= 0x00000008U;
2474 return _impl_.default_value_.Mutable( GetArena());
2475 }
2476 inline ::std::string* PROTOBUF_NULLABLE Field::release_default_value() {
2477 ::google::protobuf::internal::TSanWrite(&_impl_);
2478
2479 if ((_impl_._has_bits_[0] & 0x00000008U) == 0) {
2480 return nullptr;
2481 }
2482 _impl_._has_bits_[0] &= ~0x00000008U;
2483 auto* released = _impl_.default_value_.Release();
2484 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2485 _impl_.default_value_.Set("", GetArena());
2486 }
2487 return released;
2488 }
2489 inline void Field::set_allocated_default_value(::std::string* PROTOBUF_NULLABLE value) {
2490 ::google::protobuf::internal::TSanWrite(&_impl_);
2491 if (value != nullptr) {
2492 _impl_._has_bits_[0] |= 0x00000008U;
2493 } else {
2494 _impl_._has_bits_[0] &= ~0x00000008U;
2495 }
2496 _impl_.default_value_.SetAllocated(value, GetArena());
2497 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.default_value_.IsDefault()) {
2498 _impl_.default_value_.Set("", GetArena());
2499 }
2500
2501 }
2502
2503
2504
2505
2506
2507
2508 inline void Enum::clear_name() {
2509 ::google::protobuf::internal::TSanWrite(&_impl_);
2510 _impl_.name_.ClearToEmpty();
2511 _impl_._has_bits_[0] &= ~0x00000001U;
2512 }
2513 inline const ::std::string& Enum::name() const
2514 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2515
2516 return _internal_name();
2517 }
2518 template <typename Arg_, typename... Args_>
2519 PROTOBUF_ALWAYS_INLINE void Enum::set_name(Arg_&& arg, Args_... args) {
2520 ::google::protobuf::internal::TSanWrite(&_impl_);
2521 _impl_._has_bits_[0] |= 0x00000001U;
2522 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2523
2524 }
2525 inline ::std::string* PROTOBUF_NONNULL Enum::mutable_name()
2526 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2527 ::std::string* _s = _internal_mutable_name();
2528
2529 return _s;
2530 }
2531 inline const ::std::string& Enum::_internal_name() const {
2532 ::google::protobuf::internal::TSanRead(&_impl_);
2533 return _impl_.name_.Get();
2534 }
2535 inline void Enum::_internal_set_name(const ::std::string& value) {
2536 ::google::protobuf::internal::TSanWrite(&_impl_);
2537 _impl_._has_bits_[0] |= 0x00000001U;
2538 _impl_.name_.Set(value, GetArena());
2539 }
2540 inline ::std::string* PROTOBUF_NONNULL Enum::_internal_mutable_name() {
2541 ::google::protobuf::internal::TSanWrite(&_impl_);
2542 _impl_._has_bits_[0] |= 0x00000001U;
2543 return _impl_.name_.Mutable( GetArena());
2544 }
2545 inline ::std::string* PROTOBUF_NULLABLE Enum::release_name() {
2546 ::google::protobuf::internal::TSanWrite(&_impl_);
2547
2548 if ((_impl_._has_bits_[0] & 0x00000001U) == 0) {
2549 return nullptr;
2550 }
2551 _impl_._has_bits_[0] &= ~0x00000001U;
2552 auto* released = _impl_.name_.Release();
2553 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2554 _impl_.name_.Set("", GetArena());
2555 }
2556 return released;
2557 }
2558 inline void Enum::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
2559 ::google::protobuf::internal::TSanWrite(&_impl_);
2560 if (value != nullptr) {
2561 _impl_._has_bits_[0] |= 0x00000001U;
2562 } else {
2563 _impl_._has_bits_[0] &= ~0x00000001U;
2564 }
2565 _impl_.name_.SetAllocated(value, GetArena());
2566 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
2567 _impl_.name_.Set("", GetArena());
2568 }
2569
2570 }
2571
2572
2573 inline int Enum::_internal_enumvalue_size() const {
2574 return _internal_enumvalue().size();
2575 }
2576 inline int Enum::enumvalue_size() const {
2577 return _internal_enumvalue_size();
2578 }
2579 inline void Enum::clear_enumvalue() {
2580 ::google::protobuf::internal::TSanWrite(&_impl_);
2581 _impl_.enumvalue_.Clear();
2582 }
2583 inline ::google::protobuf::EnumValue* PROTOBUF_NONNULL Enum::mutable_enumvalue(int index)
2584 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2585
2586 return _internal_mutable_enumvalue()->Mutable(index);
2587 }
2588 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>* PROTOBUF_NONNULL Enum::mutable_enumvalue()
2589 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2590
2591 ::google::protobuf::internal::TSanWrite(&_impl_);
2592 return _internal_mutable_enumvalue();
2593 }
2594 inline const ::google::protobuf::EnumValue& Enum::enumvalue(int index) const
2595 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2596
2597 return _internal_enumvalue().Get(index);
2598 }
2599 inline ::google::protobuf::EnumValue* PROTOBUF_NONNULL Enum::add_enumvalue()
2600 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2601 ::google::protobuf::internal::TSanWrite(&_impl_);
2602 ::google::protobuf::EnumValue* _add = _internal_mutable_enumvalue()->Add();
2603
2604 return _add;
2605 }
2606 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>& Enum::enumvalue() const
2607 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2608
2609 return _internal_enumvalue();
2610 }
2611 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>&
2612 Enum::_internal_enumvalue() const {
2613 ::google::protobuf::internal::TSanRead(&_impl_);
2614 return _impl_.enumvalue_;
2615 }
2616 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValue>* PROTOBUF_NONNULL
2617 Enum::_internal_mutable_enumvalue() {
2618 ::google::protobuf::internal::TSanRead(&_impl_);
2619 return &_impl_.enumvalue_;
2620 }
2621
2622
2623 inline int Enum::_internal_options_size() const {
2624 return _internal_options().size();
2625 }
2626 inline int Enum::options_size() const {
2627 return _internal_options_size();
2628 }
2629 inline void Enum::clear_options() {
2630 ::google::protobuf::internal::TSanWrite(&_impl_);
2631 _impl_.options_.Clear();
2632 }
2633 inline ::google::protobuf::Option* PROTOBUF_NONNULL Enum::mutable_options(int index)
2634 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2635
2636 return _internal_mutable_options()->Mutable(index);
2637 }
2638 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL Enum::mutable_options()
2639 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2640
2641 ::google::protobuf::internal::TSanWrite(&_impl_);
2642 return _internal_mutable_options();
2643 }
2644 inline const ::google::protobuf::Option& Enum::options(int index) const
2645 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2646
2647 return _internal_options().Get(index);
2648 }
2649 inline ::google::protobuf::Option* PROTOBUF_NONNULL Enum::add_options()
2650 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2651 ::google::protobuf::internal::TSanWrite(&_impl_);
2652 ::google::protobuf::Option* _add = _internal_mutable_options()->Add();
2653
2654 return _add;
2655 }
2656 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& Enum::options() const
2657 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2658
2659 return _internal_options();
2660 }
2661 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>&
2662 Enum::_internal_options() const {
2663 ::google::protobuf::internal::TSanRead(&_impl_);
2664 return _impl_.options_;
2665 }
2666 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL
2667 Enum::_internal_mutable_options() {
2668 ::google::protobuf::internal::TSanRead(&_impl_);
2669 return &_impl_.options_;
2670 }
2671
2672
2673 inline bool Enum::has_source_context() const {
2674 bool value = (_impl_._has_bits_[0] & 0x00000004U) != 0;
2675 PROTOBUF_ASSUME(!value || _impl_.source_context_ != nullptr);
2676 return value;
2677 }
2678 inline const ::google::protobuf::SourceContext& Enum::_internal_source_context() const {
2679 ::google::protobuf::internal::TSanRead(&_impl_);
2680 const ::google::protobuf::SourceContext* p = _impl_.source_context_;
2681 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::SourceContext&>(::google::protobuf::_SourceContext_default_instance_);
2682 }
2683 inline const ::google::protobuf::SourceContext& Enum::source_context() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
2684
2685 return _internal_source_context();
2686 }
2687 inline void Enum::unsafe_arena_set_allocated_source_context(
2688 ::google::protobuf::SourceContext* PROTOBUF_NULLABLE value) {
2689 ::google::protobuf::internal::TSanWrite(&_impl_);
2690 if (GetArena() == nullptr) {
2691 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.source_context_);
2692 }
2693 _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(value);
2694 if (value != nullptr) {
2695 _impl_._has_bits_[0] |= 0x00000004U;
2696 } else {
2697 _impl_._has_bits_[0] &= ~0x00000004U;
2698 }
2699
2700 }
2701 inline ::google::protobuf::SourceContext* PROTOBUF_NULLABLE Enum::release_source_context() {
2702 ::google::protobuf::internal::TSanWrite(&_impl_);
2703
2704 _impl_._has_bits_[0] &= ~0x00000004U;
2705 ::google::protobuf::SourceContext* released = _impl_.source_context_;
2706 _impl_.source_context_ = nullptr;
2707 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
2708 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
2709 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2710 if (GetArena() == nullptr) {
2711 delete old;
2712 }
2713 } else {
2714 if (GetArena() != nullptr) {
2715 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
2716 }
2717 }
2718 return released;
2719 }
2720 inline ::google::protobuf::SourceContext* PROTOBUF_NULLABLE Enum::unsafe_arena_release_source_context() {
2721 ::google::protobuf::internal::TSanWrite(&_impl_);
2722
2723
2724 _impl_._has_bits_[0] &= ~0x00000004U;
2725 ::google::protobuf::SourceContext* temp = _impl_.source_context_;
2726 _impl_.source_context_ = nullptr;
2727 return temp;
2728 }
2729 inline ::google::protobuf::SourceContext* PROTOBUF_NONNULL Enum::_internal_mutable_source_context() {
2730 ::google::protobuf::internal::TSanWrite(&_impl_);
2731 if (_impl_.source_context_ == nullptr) {
2732 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::SourceContext>(GetArena());
2733 _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(p);
2734 }
2735 return _impl_.source_context_;
2736 }
2737 inline ::google::protobuf::SourceContext* PROTOBUF_NONNULL Enum::mutable_source_context()
2738 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2739 _impl_._has_bits_[0] |= 0x00000004U;
2740 ::google::protobuf::SourceContext* _msg = _internal_mutable_source_context();
2741
2742 return _msg;
2743 }
2744 inline void Enum::set_allocated_source_context(::google::protobuf::SourceContext* PROTOBUF_NULLABLE value) {
2745 ::google::protobuf::Arena* message_arena = GetArena();
2746 ::google::protobuf::internal::TSanWrite(&_impl_);
2747 if (message_arena == nullptr) {
2748 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.source_context_);
2749 }
2750
2751 if (value != nullptr) {
2752 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
2753 if (message_arena != submessage_arena) {
2754 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
2755 }
2756 _impl_._has_bits_[0] |= 0x00000004U;
2757 } else {
2758 _impl_._has_bits_[0] &= ~0x00000004U;
2759 }
2760
2761 _impl_.source_context_ = reinterpret_cast<::google::protobuf::SourceContext*>(value);
2762
2763 }
2764
2765
2766 inline void Enum::clear_syntax() {
2767 ::google::protobuf::internal::TSanWrite(&_impl_);
2768 _impl_.syntax_ = 0;
2769 _impl_._has_bits_[0] &= ~0x00000008U;
2770 }
2771 inline ::google::protobuf::Syntax Enum::syntax() const {
2772
2773 return _internal_syntax();
2774 }
2775 inline void Enum::set_syntax(::google::protobuf::Syntax value) {
2776 _internal_set_syntax(value);
2777 _impl_._has_bits_[0] |= 0x00000008U;
2778
2779 }
2780 inline ::google::protobuf::Syntax Enum::_internal_syntax() const {
2781 ::google::protobuf::internal::TSanRead(&_impl_);
2782 return static_cast<::google::protobuf::Syntax>(_impl_.syntax_);
2783 }
2784 inline void Enum::_internal_set_syntax(::google::protobuf::Syntax value) {
2785 ::google::protobuf::internal::TSanWrite(&_impl_);
2786 _impl_.syntax_ = value;
2787 }
2788
2789
2790 inline void Enum::clear_edition() {
2791 ::google::protobuf::internal::TSanWrite(&_impl_);
2792 _impl_.edition_.ClearToEmpty();
2793 _impl_._has_bits_[0] &= ~0x00000002U;
2794 }
2795 inline const ::std::string& Enum::edition() const
2796 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2797
2798 return _internal_edition();
2799 }
2800 template <typename Arg_, typename... Args_>
2801 PROTOBUF_ALWAYS_INLINE void Enum::set_edition(Arg_&& arg, Args_... args) {
2802 ::google::protobuf::internal::TSanWrite(&_impl_);
2803 _impl_._has_bits_[0] |= 0x00000002U;
2804 _impl_.edition_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2805
2806 }
2807 inline ::std::string* PROTOBUF_NONNULL Enum::mutable_edition()
2808 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2809 ::std::string* _s = _internal_mutable_edition();
2810
2811 return _s;
2812 }
2813 inline const ::std::string& Enum::_internal_edition() const {
2814 ::google::protobuf::internal::TSanRead(&_impl_);
2815 return _impl_.edition_.Get();
2816 }
2817 inline void Enum::_internal_set_edition(const ::std::string& value) {
2818 ::google::protobuf::internal::TSanWrite(&_impl_);
2819 _impl_._has_bits_[0] |= 0x00000002U;
2820 _impl_.edition_.Set(value, GetArena());
2821 }
2822 inline ::std::string* PROTOBUF_NONNULL Enum::_internal_mutable_edition() {
2823 ::google::protobuf::internal::TSanWrite(&_impl_);
2824 _impl_._has_bits_[0] |= 0x00000002U;
2825 return _impl_.edition_.Mutable( GetArena());
2826 }
2827 inline ::std::string* PROTOBUF_NULLABLE Enum::release_edition() {
2828 ::google::protobuf::internal::TSanWrite(&_impl_);
2829
2830 if ((_impl_._has_bits_[0] & 0x00000002U) == 0) {
2831 return nullptr;
2832 }
2833 _impl_._has_bits_[0] &= ~0x00000002U;
2834 auto* released = _impl_.edition_.Release();
2835 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2836 _impl_.edition_.Set("", GetArena());
2837 }
2838 return released;
2839 }
2840 inline void Enum::set_allocated_edition(::std::string* PROTOBUF_NULLABLE value) {
2841 ::google::protobuf::internal::TSanWrite(&_impl_);
2842 if (value != nullptr) {
2843 _impl_._has_bits_[0] |= 0x00000002U;
2844 } else {
2845 _impl_._has_bits_[0] &= ~0x00000002U;
2846 }
2847 _impl_.edition_.SetAllocated(value, GetArena());
2848 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.edition_.IsDefault()) {
2849 _impl_.edition_.Set("", GetArena());
2850 }
2851
2852 }
2853
2854
2855
2856
2857
2858
2859 inline void EnumValue::clear_name() {
2860 ::google::protobuf::internal::TSanWrite(&_impl_);
2861 _impl_.name_.ClearToEmpty();
2862 _impl_._has_bits_[0] &= ~0x00000001U;
2863 }
2864 inline const ::std::string& EnumValue::name() const
2865 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2866
2867 return _internal_name();
2868 }
2869 template <typename Arg_, typename... Args_>
2870 PROTOBUF_ALWAYS_INLINE void EnumValue::set_name(Arg_&& arg, Args_... args) {
2871 ::google::protobuf::internal::TSanWrite(&_impl_);
2872 _impl_._has_bits_[0] |= 0x00000001U;
2873 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
2874
2875 }
2876 inline ::std::string* PROTOBUF_NONNULL EnumValue::mutable_name()
2877 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2878 ::std::string* _s = _internal_mutable_name();
2879
2880 return _s;
2881 }
2882 inline const ::std::string& EnumValue::_internal_name() const {
2883 ::google::protobuf::internal::TSanRead(&_impl_);
2884 return _impl_.name_.Get();
2885 }
2886 inline void EnumValue::_internal_set_name(const ::std::string& value) {
2887 ::google::protobuf::internal::TSanWrite(&_impl_);
2888 _impl_._has_bits_[0] |= 0x00000001U;
2889 _impl_.name_.Set(value, GetArena());
2890 }
2891 inline ::std::string* PROTOBUF_NONNULL EnumValue::_internal_mutable_name() {
2892 ::google::protobuf::internal::TSanWrite(&_impl_);
2893 _impl_._has_bits_[0] |= 0x00000001U;
2894 return _impl_.name_.Mutable( GetArena());
2895 }
2896 inline ::std::string* PROTOBUF_NULLABLE EnumValue::release_name() {
2897 ::google::protobuf::internal::TSanWrite(&_impl_);
2898
2899 if ((_impl_._has_bits_[0] & 0x00000001U) == 0) {
2900 return nullptr;
2901 }
2902 _impl_._has_bits_[0] &= ~0x00000001U;
2903 auto* released = _impl_.name_.Release();
2904 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
2905 _impl_.name_.Set("", GetArena());
2906 }
2907 return released;
2908 }
2909 inline void EnumValue::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
2910 ::google::protobuf::internal::TSanWrite(&_impl_);
2911 if (value != nullptr) {
2912 _impl_._has_bits_[0] |= 0x00000001U;
2913 } else {
2914 _impl_._has_bits_[0] &= ~0x00000001U;
2915 }
2916 _impl_.name_.SetAllocated(value, GetArena());
2917 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
2918 _impl_.name_.Set("", GetArena());
2919 }
2920
2921 }
2922
2923
2924 inline void EnumValue::clear_number() {
2925 ::google::protobuf::internal::TSanWrite(&_impl_);
2926 _impl_.number_ = 0;
2927 _impl_._has_bits_[0] &= ~0x00000002U;
2928 }
2929 inline ::int32_t EnumValue::number() const {
2930
2931 return _internal_number();
2932 }
2933 inline void EnumValue::set_number(::int32_t value) {
2934 _internal_set_number(value);
2935 _impl_._has_bits_[0] |= 0x00000002U;
2936
2937 }
2938 inline ::int32_t EnumValue::_internal_number() const {
2939 ::google::protobuf::internal::TSanRead(&_impl_);
2940 return _impl_.number_;
2941 }
2942 inline void EnumValue::_internal_set_number(::int32_t value) {
2943 ::google::protobuf::internal::TSanWrite(&_impl_);
2944 _impl_.number_ = value;
2945 }
2946
2947
2948 inline int EnumValue::_internal_options_size() const {
2949 return _internal_options().size();
2950 }
2951 inline int EnumValue::options_size() const {
2952 return _internal_options_size();
2953 }
2954 inline void EnumValue::clear_options() {
2955 ::google::protobuf::internal::TSanWrite(&_impl_);
2956 _impl_.options_.Clear();
2957 }
2958 inline ::google::protobuf::Option* PROTOBUF_NONNULL EnumValue::mutable_options(int index)
2959 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2960
2961 return _internal_mutable_options()->Mutable(index);
2962 }
2963 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL EnumValue::mutable_options()
2964 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2965
2966 ::google::protobuf::internal::TSanWrite(&_impl_);
2967 return _internal_mutable_options();
2968 }
2969 inline const ::google::protobuf::Option& EnumValue::options(int index) const
2970 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2971
2972 return _internal_options().Get(index);
2973 }
2974 inline ::google::protobuf::Option* PROTOBUF_NONNULL EnumValue::add_options()
2975 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2976 ::google::protobuf::internal::TSanWrite(&_impl_);
2977 ::google::protobuf::Option* _add = _internal_mutable_options()->Add();
2978
2979 return _add;
2980 }
2981 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>& EnumValue::options() const
2982 ABSL_ATTRIBUTE_LIFETIME_BOUND {
2983
2984 return _internal_options();
2985 }
2986 inline const ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>&
2987 EnumValue::_internal_options() const {
2988 ::google::protobuf::internal::TSanRead(&_impl_);
2989 return _impl_.options_;
2990 }
2991 inline ::google::protobuf::RepeatedPtrField<::google::protobuf::Option>* PROTOBUF_NONNULL
2992 EnumValue::_internal_mutable_options() {
2993 ::google::protobuf::internal::TSanRead(&_impl_);
2994 return &_impl_.options_;
2995 }
2996
2997
2998
2999
3000
3001
3002 inline void Option::clear_name() {
3003 ::google::protobuf::internal::TSanWrite(&_impl_);
3004 _impl_.name_.ClearToEmpty();
3005 _impl_._has_bits_[0] &= ~0x00000001U;
3006 }
3007 inline const ::std::string& Option::name() const
3008 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3009
3010 return _internal_name();
3011 }
3012 template <typename Arg_, typename... Args_>
3013 PROTOBUF_ALWAYS_INLINE void Option::set_name(Arg_&& arg, Args_... args) {
3014 ::google::protobuf::internal::TSanWrite(&_impl_);
3015 _impl_._has_bits_[0] |= 0x00000001U;
3016 _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
3017
3018 }
3019 inline ::std::string* PROTOBUF_NONNULL Option::mutable_name()
3020 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3021 ::std::string* _s = _internal_mutable_name();
3022
3023 return _s;
3024 }
3025 inline const ::std::string& Option::_internal_name() const {
3026 ::google::protobuf::internal::TSanRead(&_impl_);
3027 return _impl_.name_.Get();
3028 }
3029 inline void Option::_internal_set_name(const ::std::string& value) {
3030 ::google::protobuf::internal::TSanWrite(&_impl_);
3031 _impl_._has_bits_[0] |= 0x00000001U;
3032 _impl_.name_.Set(value, GetArena());
3033 }
3034 inline ::std::string* PROTOBUF_NONNULL Option::_internal_mutable_name() {
3035 ::google::protobuf::internal::TSanWrite(&_impl_);
3036 _impl_._has_bits_[0] |= 0x00000001U;
3037 return _impl_.name_.Mutable( GetArena());
3038 }
3039 inline ::std::string* PROTOBUF_NULLABLE Option::release_name() {
3040 ::google::protobuf::internal::TSanWrite(&_impl_);
3041
3042 if ((_impl_._has_bits_[0] & 0x00000001U) == 0) {
3043 return nullptr;
3044 }
3045 _impl_._has_bits_[0] &= ~0x00000001U;
3046 auto* released = _impl_.name_.Release();
3047 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) {
3048 _impl_.name_.Set("", GetArena());
3049 }
3050 return released;
3051 }
3052 inline void Option::set_allocated_name(::std::string* PROTOBUF_NULLABLE value) {
3053 ::google::protobuf::internal::TSanWrite(&_impl_);
3054 if (value != nullptr) {
3055 _impl_._has_bits_[0] |= 0x00000001U;
3056 } else {
3057 _impl_._has_bits_[0] &= ~0x00000001U;
3058 }
3059 _impl_.name_.SetAllocated(value, GetArena());
3060 if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) {
3061 _impl_.name_.Set("", GetArena());
3062 }
3063
3064 }
3065
3066
3067 inline bool Option::has_value() const {
3068 bool value = (_impl_._has_bits_[0] & 0x00000002U) != 0;
3069 PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr);
3070 return value;
3071 }
3072 inline const ::google::protobuf::Any& Option::_internal_value() const {
3073 ::google::protobuf::internal::TSanRead(&_impl_);
3074 const ::google::protobuf::Any* p = _impl_.value_;
3075 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Any&>(::google::protobuf::_Any_default_instance_);
3076 }
3077 inline const ::google::protobuf::Any& Option::value() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
3078
3079 return _internal_value();
3080 }
3081 inline void Option::unsafe_arena_set_allocated_value(
3082 ::google::protobuf::Any* PROTOBUF_NULLABLE value) {
3083 ::google::protobuf::internal::TSanWrite(&_impl_);
3084 if (GetArena() == nullptr) {
3085 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_);
3086 }
3087 _impl_.value_ = reinterpret_cast<::google::protobuf::Any*>(value);
3088 if (value != nullptr) {
3089 _impl_._has_bits_[0] |= 0x00000002U;
3090 } else {
3091 _impl_._has_bits_[0] &= ~0x00000002U;
3092 }
3093
3094 }
3095 inline ::google::protobuf::Any* PROTOBUF_NULLABLE Option::release_value() {
3096 ::google::protobuf::internal::TSanWrite(&_impl_);
3097
3098 _impl_._has_bits_[0] &= ~0x00000002U;
3099 ::google::protobuf::Any* released = _impl_.value_;
3100 _impl_.value_ = nullptr;
3101 if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) {
3102 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
3103 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3104 if (GetArena() == nullptr) {
3105 delete old;
3106 }
3107 } else {
3108 if (GetArena() != nullptr) {
3109 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
3110 }
3111 }
3112 return released;
3113 }
3114 inline ::google::protobuf::Any* PROTOBUF_NULLABLE Option::unsafe_arena_release_value() {
3115 ::google::protobuf::internal::TSanWrite(&_impl_);
3116
3117
3118 _impl_._has_bits_[0] &= ~0x00000002U;
3119 ::google::protobuf::Any* temp = _impl_.value_;
3120 _impl_.value_ = nullptr;
3121 return temp;
3122 }
3123 inline ::google::protobuf::Any* PROTOBUF_NONNULL Option::_internal_mutable_value() {
3124 ::google::protobuf::internal::TSanWrite(&_impl_);
3125 if (_impl_.value_ == nullptr) {
3126 auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Any>(GetArena());
3127 _impl_.value_ = reinterpret_cast<::google::protobuf::Any*>(p);
3128 }
3129 return _impl_.value_;
3130 }
3131 inline ::google::protobuf::Any* PROTOBUF_NONNULL Option::mutable_value()
3132 ABSL_ATTRIBUTE_LIFETIME_BOUND {
3133 _impl_._has_bits_[0] |= 0x00000002U;
3134 ::google::protobuf::Any* _msg = _internal_mutable_value();
3135
3136 return _msg;
3137 }
3138 inline void Option::set_allocated_value(::google::protobuf::Any* PROTOBUF_NULLABLE value) {
3139 ::google::protobuf::Arena* message_arena = GetArena();
3140 ::google::protobuf::internal::TSanWrite(&_impl_);
3141 if (message_arena == nullptr) {
3142 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_);
3143 }
3144
3145 if (value != nullptr) {
3146 ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::Message*>(value)->GetArena();
3147 if (message_arena != submessage_arena) {
3148 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
3149 }
3150 _impl_._has_bits_[0] |= 0x00000002U;
3151 } else {
3152 _impl_._has_bits_[0] &= ~0x00000002U;
3153 }
3154
3155 _impl_.value_ = reinterpret_cast<::google::protobuf::Any*>(value);
3156
3157 }
3158
3159 #ifdef __GNUC__
3160 #pragma GCC diagnostic pop
3161 #endif
3162
3163
3164 }
3165 }
3166
3167
3168 namespace google {
3169 namespace protobuf {
3170
3171 template <>
3172 struct is_proto_enum<::google::protobuf::Field_Kind> : std::true_type {};
3173 template <>
3174 inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::google::protobuf::Field_Kind>() {
3175 return ::google::protobuf::Field_Kind_descriptor();
3176 }
3177 template <>
3178 struct is_proto_enum<::google::protobuf::Field_Cardinality> : std::true_type {};
3179 template <>
3180 inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::google::protobuf::Field_Cardinality>() {
3181 return ::google::protobuf::Field_Cardinality_descriptor();
3182 }
3183 template <>
3184 struct is_proto_enum<::google::protobuf::Syntax> : std::true_type {};
3185 template <>
3186 inline const EnumDescriptor* PROTOBUF_NONNULL GetEnumDescriptor<::google::protobuf::Syntax>() {
3187 return ::google::protobuf::Syntax_descriptor();
3188 }
3189
3190 }
3191 }
3192
3193
3194
3195 #include "google/protobuf/port_undef.inc"
3196
3197 #endif