// Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: google/protobuf/type.proto // Protobuf C++ Version: 6.31.1 #ifndef google_2fprotobuf_2ftype_2eproto_2epb_2eh #define google_2fprotobuf_2ftype_2eproto_2epb_2eh #include #include #include #include #include "google/protobuf/runtime_version.h" #if PROTOBUF_VERSION != 6031001 #error "Protobuf C++ gencode is built with an incompatible version of" #error "Protobuf C++ headers/runtime. See" #error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" #endif #include "google/protobuf/io/coded_stream.h" #include "google/protobuf/arena.h" #include "google/protobuf/arenastring.h" #include "google/protobuf/generated_message_tctable_decl.h" #include "google/protobuf/generated_message_util.h" #include "google/protobuf/metadata_lite.h" #include "google/protobuf/generated_message_reflection.h" #include "google/protobuf/message.h" #include "google/protobuf/message_lite.h" #include "google/protobuf/repeated_field.h" // IWYU pragma: export #include "google/protobuf/extension_set.h" // IWYU pragma: export #include "google/protobuf/generated_enum_reflection.h" #include "google/protobuf/unknown_field_set.h" #include "google/protobuf/any.pb.h" #include "google/protobuf/source_context.pb.h" // @@protoc_insertion_point(includes) // Must be included last. #include "google/protobuf/port_def.inc" #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2ftype_2eproto PROTOBUF_EXPORT namespace google { namespace protobuf { namespace internal { template ::absl::string_view GetAnyMessageName(); } // namespace internal } // namespace protobuf } // namespace google // Internal implementation detail -- do not use these members. struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2ftype_2eproto { static const ::uint32_t offsets[]; }; extern "C" { PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2ftype_2eproto; } // extern "C" namespace google { namespace protobuf { enum Field_Cardinality : int; PROTOBUF_EXPORT extern const uint32_t Field_Cardinality_internal_data_[]; enum Field_Kind : int; PROTOBUF_EXPORT extern const uint32_t Field_Kind_internal_data_[]; enum Syntax : int; PROTOBUF_EXPORT extern const uint32_t Syntax_internal_data_[]; class Enum; struct EnumDefaultTypeInternal; PROTOBUF_EXPORT extern EnumDefaultTypeInternal _Enum_default_instance_; PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Enum_class_data_; class EnumValue; struct EnumValueDefaultTypeInternal; PROTOBUF_EXPORT extern EnumValueDefaultTypeInternal _EnumValue_default_instance_; PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumValue_class_data_; class Field; struct FieldDefaultTypeInternal; PROTOBUF_EXPORT extern FieldDefaultTypeInternal _Field_default_instance_; PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Field_class_data_; class Option; struct OptionDefaultTypeInternal; PROTOBUF_EXPORT extern OptionDefaultTypeInternal _Option_default_instance_; PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Option_class_data_; class Type; struct TypeDefaultTypeInternal; PROTOBUF_EXPORT extern TypeDefaultTypeInternal _Type_default_instance_; PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Type_class_data_; template <> internal::EnumTraitsT<::google::protobuf::Field_Cardinality_internal_data_> internal::EnumTraitsImpl::value<::google::protobuf::Field_Cardinality>; template <> internal::EnumTraitsT<::google::protobuf::Field_Kind_internal_data_> internal::EnumTraitsImpl::value<::google::protobuf::Field_Kind>; template <> internal::EnumTraitsT<::google::protobuf::Syntax_internal_data_> internal::EnumTraitsImpl::value<::google::protobuf::Syntax>; } // namespace protobuf } // namespace google namespace google { namespace protobuf { enum Field_Kind : int { Field_Kind_TYPE_UNKNOWN = 0, Field_Kind_TYPE_DOUBLE = 1, Field_Kind_TYPE_FLOAT = 2, Field_Kind_TYPE_INT64 = 3, Field_Kind_TYPE_UINT64 = 4, Field_Kind_TYPE_INT32 = 5, Field_Kind_TYPE_FIXED64 = 6, Field_Kind_TYPE_FIXED32 = 7, Field_Kind_TYPE_BOOL = 8, Field_Kind_TYPE_STRING = 9, Field_Kind_TYPE_GROUP = 10, Field_Kind_TYPE_MESSAGE = 11, Field_Kind_TYPE_BYTES = 12, Field_Kind_TYPE_UINT32 = 13, Field_Kind_TYPE_ENUM = 14, Field_Kind_TYPE_SFIXED32 = 15, Field_Kind_TYPE_SFIXED64 = 16, Field_Kind_TYPE_SINT32 = 17, Field_Kind_TYPE_SINT64 = 18, Field_Kind_Field_Kind_INT_MIN_SENTINEL_DO_NOT_USE_ = ::std::numeric_limits<::int32_t>::min(), Field_Kind_Field_Kind_INT_MAX_SENTINEL_DO_NOT_USE_ = ::std::numeric_limits<::int32_t>::max(), }; PROTOBUF_EXPORT extern const uint32_t Field_Kind_internal_data_[]; inline constexpr Field_Kind Field_Kind_Kind_MIN = static_cast(0); inline constexpr Field_Kind Field_Kind_Kind_MAX = static_cast(18); inline bool Field_Kind_IsValid(int value) { return 0 <= value && value <= 18; } inline constexpr int Field_Kind_Kind_ARRAYSIZE = 18 + 1; PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Field_Kind_descriptor(); template const ::std::string& Field_Kind_Name(T value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to Kind_Name()."); return Field_Kind_Name(static_cast(value)); } template <> inline const ::std::string& Field_Kind_Name(Field_Kind value) { return ::google::protobuf::internal::NameOfDenseEnum( static_cast(value)); } inline bool Field_Kind_Parse( ::absl::string_view name, Field_Kind* PROTOBUF_NONNULL value) { return ::google::protobuf::internal::ParseNamedEnum(Field_Kind_descriptor(), name, value); } enum Field_Cardinality : int { Field_Cardinality_CARDINALITY_UNKNOWN = 0, Field_Cardinality_CARDINALITY_OPTIONAL = 1, Field_Cardinality_CARDINALITY_REQUIRED = 2, Field_Cardinality_CARDINALITY_REPEATED = 3, Field_Cardinality_Field_Cardinality_INT_MIN_SENTINEL_DO_NOT_USE_ = ::std::numeric_limits<::int32_t>::min(), Field_Cardinality_Field_Cardinality_INT_MAX_SENTINEL_DO_NOT_USE_ = ::std::numeric_limits<::int32_t>::max(), }; PROTOBUF_EXPORT extern const uint32_t Field_Cardinality_internal_data_[]; inline constexpr Field_Cardinality Field_Cardinality_Cardinality_MIN = static_cast(0); inline constexpr Field_Cardinality Field_Cardinality_Cardinality_MAX = static_cast(3); inline bool Field_Cardinality_IsValid(int value) { return 0 <= value && value <= 3; } inline constexpr int Field_Cardinality_Cardinality_ARRAYSIZE = 3 + 1; PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Field_Cardinality_descriptor(); template const ::std::string& Field_Cardinality_Name(T value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to Cardinality_Name()."); return Field_Cardinality_Name(static_cast(value)); } template <> inline const ::std::string& Field_Cardinality_Name(Field_Cardinality value) { return ::google::protobuf::internal::NameOfDenseEnum( static_cast(value)); } inline bool Field_Cardinality_Parse( ::absl::string_view name, Field_Cardinality* PROTOBUF_NONNULL value) { return ::google::protobuf::internal::ParseNamedEnum(Field_Cardinality_descriptor(), name, value); } enum Syntax : int { SYNTAX_PROTO2 = 0, SYNTAX_PROTO3 = 1, SYNTAX_EDITIONS = 2, Syntax_INT_MIN_SENTINEL_DO_NOT_USE_ = ::std::numeric_limits<::int32_t>::min(), Syntax_INT_MAX_SENTINEL_DO_NOT_USE_ = ::std::numeric_limits<::int32_t>::max(), }; PROTOBUF_EXPORT extern const uint32_t Syntax_internal_data_[]; inline constexpr Syntax Syntax_MIN = static_cast(0); inline constexpr Syntax Syntax_MAX = static_cast(2); inline bool Syntax_IsValid(int value) { return 0 <= value && value <= 2; } inline constexpr int Syntax_ARRAYSIZE = 2 + 1; PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Syntax_descriptor(); template const ::std::string& Syntax_Name(T value) { static_assert(::std::is_same::value || ::std::is_integral::value, "Incorrect type passed to Syntax_Name()."); return Syntax_Name(static_cast(value)); } template <> inline const ::std::string& Syntax_Name(Syntax value) { return ::google::protobuf::internal::NameOfDenseEnum( static_cast(value)); } inline bool Syntax_Parse( ::absl::string_view name, Syntax* PROTOBUF_NONNULL value) { return ::google::protobuf::internal::ParseNamedEnum(Syntax_descriptor(), name, value); } // =================================================================== // ------------------------------------------------------------------- class PROTOBUF_EXPORT Option final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Option) */ { public: inline Option() : Option(nullptr) {} ~Option() PROTOBUF_FINAL; #if defined(PROTOBUF_CUSTOM_VTABLE) void operator delete(Option* PROTOBUF_NONNULL msg, std::destroying_delete_t) { SharedDtor(*msg); ::google::protobuf::internal::SizedDelete(msg, sizeof(Option)); } #endif template explicit PROTOBUF_CONSTEXPR Option(::google::protobuf::internal::ConstantInitialized); inline Option(const Option& from) : Option(nullptr, from) {} inline Option(Option&& from) noexcept : Option(nullptr, ::std::move(from)) {} inline Option& operator=(const Option& from) { CopyFrom(from); return *this; } inline Option& operator=(Option&& from) noexcept { if (this == &from) return *this; if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { InternalSwap(&from); } else { CopyFrom(from); } return *this; } inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); } inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } static const Option& default_instance() { return *reinterpret_cast( &_Option_default_instance_); } static constexpr int kIndexInFileMessages = 4; friend void swap(Option& a, Option& b) { a.Swap(&b); } inline void Swap(Option* PROTOBUF_NONNULL other) { if (other == this) return; if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { InternalSwap(other); } else { ::google::protobuf::internal::GenericSwap(this, other); } } void UnsafeArenaSwap(Option* PROTOBUF_NONNULL other) { if (other == this) return; ABSL_DCHECK(GetArena() == other->GetArena()); InternalSwap(other); } // implements Message ---------------------------------------------- Option* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const { return ::google::protobuf::Message::DefaultConstruct