// Generated by the protocol buffer compiler. DO NOT EDIT! // NO CHECKED-IN PROTOBUF GENCODE // source: google/protobuf/type.proto // Protobuf C++ Version: 7.36.1 #ifndef google_2fprotobuf_2ftype_2eproto_2epb_2eh #define google_2fprotobuf_2ftype_2eproto_2epb_2eh #include #include #include #include // clang-format off #include "google/protobuf/runtime_version.h" #if PROTOBUF_VERSION != 7036001 #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 // 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 EnumGlobalsTypeInternal; #ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern EnumGlobalsTypeInternal Enum_globals_; PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Enum_class_data_; #else PROTOBUF_EXPORT extern const EnumGlobalsTypeInternal Enum_globals_; #endif // PROTOBUF_MESSAGE_GLOBALS class EnumValue; struct EnumValueGlobalsTypeInternal; #ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern EnumValueGlobalsTypeInternal EnumValue_globals_; PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumValue_class_data_; #else PROTOBUF_EXPORT extern const EnumValueGlobalsTypeInternal EnumValue_globals_; #endif // PROTOBUF_MESSAGE_GLOBALS class Field; struct FieldGlobalsTypeInternal; #ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern FieldGlobalsTypeInternal Field_globals_; PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Field_class_data_; #else PROTOBUF_EXPORT extern const FieldGlobalsTypeInternal Field_globals_; #endif // PROTOBUF_MESSAGE_GLOBALS class Option; struct OptionGlobalsTypeInternal; #ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern OptionGlobalsTypeInternal Option_globals_; PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Option_class_data_; #else PROTOBUF_EXPORT extern const OptionGlobalsTypeInternal Option_globals_; #endif // PROTOBUF_MESSAGE_GLOBALS class Type; struct TypeGlobalsTypeInternal; #ifndef PROTOBUF_MESSAGE_GLOBALS PROTOBUF_EXPORT extern TypeGlobalsTypeInternal Type_globals_; PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull Type_class_data_; #else PROTOBUF_EXPORT extern const TypeGlobalsTypeInternal Type_globals_; #endif // PROTOBUF_MESSAGE_GLOBALS 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); [[nodiscard]] inline bool Field_Kind_IsValid(int value) { return 0 <= value && value <= 18; } inline constexpr int Field_Kind_Kind_ARRAYSIZE = 18 + 1; [[nodiscard]] PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Field_Kind_descriptor(); [[nodiscard]] inline auto ProtobufInternalGetEnumDescriptor(Field_Kind) { return Field_Kind_descriptor(); } template [[nodiscard]] 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 <> [[nodiscard]] inline const ::std::string& Field_Kind_Name(Field_Kind value) { return ::google::protobuf::internal::NameOfDenseEnum( static_cast(value)); } [[nodiscard]] 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); [[nodiscard]] inline bool Field_Cardinality_IsValid(int value) { return 0 <= value && value <= 3; } inline constexpr int Field_Cardinality_Cardinality_ARRAYSIZE = 3 + 1; [[nodiscard]] PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Field_Cardinality_descriptor(); [[nodiscard]] inline auto ProtobufInternalGetEnumDescriptor(Field_Cardinality) { return Field_Cardinality_descriptor(); } template [[nodiscard]] 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 <> [[nodiscard]] inline const ::std::string& Field_Cardinality_Name(Field_Cardinality value) { return ::google::protobuf::internal::NameOfDenseEnum( static_cast(value)); } [[nodiscard]] 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); [[nodiscard]] inline bool Syntax_IsValid(int value) { return 0 <= value && value <= 2; } inline constexpr int Syntax_ARRAYSIZE = 2 + 1; [[nodiscard]] PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Syntax_descriptor(); [[nodiscard]] inline auto ProtobufInternalGetEnumDescriptor(Syntax) { return Syntax_descriptor(); } template [[nodiscard]] 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 <> [[nodiscard]] inline const ::std::string& Syntax_Name(Syntax value) { return ::google::protobuf::internal::NameOfDenseEnum( static_cast(value)); } [[nodiscard]] inline bool Syntax_Parse( ::absl::string_view name, Syntax* PROTOBUF_NONNULL value) { return ::google::protobuf::internal::ParseNamedEnum(Syntax_descriptor(), name, value); } using ::google::protobuf::internal::generated_enum::AbslParseFlag; using ::google::protobuf::internal::generated_enum::AbslUnparseFlag; // =================================================================== // ------------------------------------------------------------------- class PROTOBUF_EXPORT PROTOBUF_FUTURE_ADD_EARLY_WARN_UNUSED Option final : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Option) */ { using Super_ = ::google::protobuf::Message; 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 constexpr Option(::google::protobuf::internal::ConstantInitialized, const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL class_data); 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; } [[nodiscard]] 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); } [[nodiscard]] inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND { return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() { return GetDescriptor(); } [[nodiscard]] static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() { return default_instance().GetMetadata().descriptor; } [[nodiscard]] static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() { return default_instance().GetMetadata().reflection; } [[nodiscard]] static const Option& default_instance() { return *::google::protobuf::internal::MessageGlobalsBase::ToDefaultInstance