| // Generated by the protocol buffer compiler. DO NOT EDIT! |
| // NO CHECKED-IN PROTOBUF GENCODE |
| // source: google/protobuf/descriptor.proto |
| // Protobuf C++ Version: 5.27.2-dev |
| |
| #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto_2epb_2eh |
| #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fdescriptor_2eproto_2epb_2eh |
| |
| #include <limits> |
| #include <string> |
| #include <type_traits> |
| #include <utility> |
| |
| #include "google/protobuf/runtime_version.h" |
| #if PROTOBUF_VERSION != 5027002 |
| #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/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" |
| // @@protoc_insertion_point(includes) |
| |
| // Must be included last. |
| #include "google/protobuf/port_def.inc" |
| |
| #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fdescriptor_2eproto PROTOBUF_EXPORT |
| |
| namespace google { |
| namespace protobuf { |
| namespace internal { |
| class AnyMetadata; |
| } // namespace internal |
| } // namespace protobuf |
| } // namespace google |
| |
| // Internal implementation detail -- do not use these members. |
| struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fdescriptor_2eproto { |
| static const ::uint32_t offsets[]; |
| }; |
| PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable |
| descriptor_table_google_2fprotobuf_2fdescriptor_2eproto; |
| namespace google { |
| namespace protobuf { |
| class DescriptorProto; |
| struct DescriptorProtoDefaultTypeInternal; |
| PROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_; |
| class DescriptorProto_ExtensionRange; |
| struct DescriptorProto_ExtensionRangeDefaultTypeInternal; |
| PROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_; |
| class DescriptorProto_ReservedRange; |
| struct DescriptorProto_ReservedRangeDefaultTypeInternal; |
| PROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_; |
| class EnumDescriptorProto; |
| struct EnumDescriptorProtoDefaultTypeInternal; |
| PROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_; |
| class EnumDescriptorProto_EnumReservedRange; |
| struct EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal; |
| PROTOBUF_EXPORT extern EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_; |
| class EnumOptions; |
| struct EnumOptionsDefaultTypeInternal; |
| PROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_; |
| class EnumValueDescriptorProto; |
| struct EnumValueDescriptorProtoDefaultTypeInternal; |
| PROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_; |
| class EnumValueOptions; |
| struct EnumValueOptionsDefaultTypeInternal; |
| PROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_; |
| class ExtensionRangeOptions; |
| struct ExtensionRangeOptionsDefaultTypeInternal; |
| PROTOBUF_EXPORT extern ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_; |
| class ExtensionRangeOptions_Declaration; |
| struct ExtensionRangeOptions_DeclarationDefaultTypeInternal; |
| PROTOBUF_EXPORT extern ExtensionRangeOptions_DeclarationDefaultTypeInternal _ExtensionRangeOptions_Declaration_default_instance_; |
| class FeatureSet; |
| struct FeatureSetDefaultTypeInternal; |
| PROTOBUF_EXPORT extern FeatureSetDefaultTypeInternal _FeatureSet_default_instance_; |
| class FeatureSetDefaults; |
| struct FeatureSetDefaultsDefaultTypeInternal; |
| PROTOBUF_EXPORT extern FeatureSetDefaultsDefaultTypeInternal _FeatureSetDefaults_default_instance_; |
| class FeatureSetDefaults_FeatureSetEditionDefault; |
| struct FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal; |
| PROTOBUF_EXPORT extern FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal _FeatureSetDefaults_FeatureSetEditionDefault_default_instance_; |
| class FieldDescriptorProto; |
| struct FieldDescriptorProtoDefaultTypeInternal; |
| PROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_; |
| class FieldOptions; |
| struct FieldOptionsDefaultTypeInternal; |
| PROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_; |
| class FieldOptions_EditionDefault; |
| struct FieldOptions_EditionDefaultDefaultTypeInternal; |
| PROTOBUF_EXPORT extern FieldOptions_EditionDefaultDefaultTypeInternal _FieldOptions_EditionDefault_default_instance_; |
| class FieldOptions_FeatureSupport; |
| struct FieldOptions_FeatureSupportDefaultTypeInternal; |
| PROTOBUF_EXPORT extern FieldOptions_FeatureSupportDefaultTypeInternal _FieldOptions_FeatureSupport_default_instance_; |
| class FileDescriptorProto; |
| struct FileDescriptorProtoDefaultTypeInternal; |
| PROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_; |
| class FileDescriptorSet; |
| struct FileDescriptorSetDefaultTypeInternal; |
| PROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_; |
| class FileOptions; |
| struct FileOptionsDefaultTypeInternal; |
| PROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_; |
| class GeneratedCodeInfo; |
| struct GeneratedCodeInfoDefaultTypeInternal; |
| PROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_; |
| class GeneratedCodeInfo_Annotation; |
| struct GeneratedCodeInfo_AnnotationDefaultTypeInternal; |
| PROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_; |
| class MessageOptions; |
| struct MessageOptionsDefaultTypeInternal; |
| PROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_; |
| class MethodDescriptorProto; |
| struct MethodDescriptorProtoDefaultTypeInternal; |
| PROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_; |
| class MethodOptions; |
| struct MethodOptionsDefaultTypeInternal; |
| PROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_; |
| class OneofDescriptorProto; |
| struct OneofDescriptorProtoDefaultTypeInternal; |
| PROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_; |
| class OneofOptions; |
| struct OneofOptionsDefaultTypeInternal; |
| PROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_; |
| class ServiceDescriptorProto; |
| struct ServiceDescriptorProtoDefaultTypeInternal; |
| PROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_; |
| class ServiceOptions; |
| struct ServiceOptionsDefaultTypeInternal; |
| PROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_; |
| class SourceCodeInfo; |
| struct SourceCodeInfoDefaultTypeInternal; |
| PROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_; |
| class SourceCodeInfo_Location; |
| struct SourceCodeInfo_LocationDefaultTypeInternal; |
| PROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_; |
| class UninterpretedOption; |
| struct UninterpretedOptionDefaultTypeInternal; |
| PROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_; |
| class UninterpretedOption_NamePart; |
| struct UninterpretedOption_NamePartDefaultTypeInternal; |
| PROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_; |
| namespace internal { |
| #if !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) |
| PROTOBUF_EXPORT void InitializeFileDescriptorDefaultInstancesSlow(); |
| #endif // !defined(PROTOBUF_CONSTINIT_DEFAULT_INSTANCES) |
| } // namespace internal |
| } // namespace protobuf |
| } // namespace google |
| |
| namespace google { |
| namespace protobuf { |
| enum ExtensionRangeOptions_VerificationState : int { |
| ExtensionRangeOptions_VerificationState_DECLARATION = 0, |
| ExtensionRangeOptions_VerificationState_UNVERIFIED = 1, |
| }; |
| |
| PROTOBUF_EXPORT bool ExtensionRangeOptions_VerificationState_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t ExtensionRangeOptions_VerificationState_internal_data_[]; |
| constexpr ExtensionRangeOptions_VerificationState ExtensionRangeOptions_VerificationState_VerificationState_MIN = static_cast<ExtensionRangeOptions_VerificationState>(0); |
| constexpr ExtensionRangeOptions_VerificationState ExtensionRangeOptions_VerificationState_VerificationState_MAX = static_cast<ExtensionRangeOptions_VerificationState>(1); |
| constexpr int ExtensionRangeOptions_VerificationState_VerificationState_ARRAYSIZE = 1 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| ExtensionRangeOptions_VerificationState_descriptor(); |
| template <typename T> |
| const std::string& ExtensionRangeOptions_VerificationState_Name(T value) { |
| static_assert(std::is_same<T, ExtensionRangeOptions_VerificationState>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to VerificationState_Name()."); |
| return ExtensionRangeOptions_VerificationState_Name(static_cast<ExtensionRangeOptions_VerificationState>(value)); |
| } |
| template <> |
| inline const std::string& ExtensionRangeOptions_VerificationState_Name(ExtensionRangeOptions_VerificationState value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<ExtensionRangeOptions_VerificationState_descriptor, |
| 0, 1>( |
| static_cast<int>(value)); |
| } |
| inline bool ExtensionRangeOptions_VerificationState_Parse(absl::string_view name, ExtensionRangeOptions_VerificationState* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<ExtensionRangeOptions_VerificationState>( |
| ExtensionRangeOptions_VerificationState_descriptor(), name, value); |
| } |
| enum FieldDescriptorProto_Type : int { |
| FieldDescriptorProto_Type_TYPE_DOUBLE = 1, |
| FieldDescriptorProto_Type_TYPE_FLOAT = 2, |
| FieldDescriptorProto_Type_TYPE_INT64 = 3, |
| FieldDescriptorProto_Type_TYPE_UINT64 = 4, |
| FieldDescriptorProto_Type_TYPE_INT32 = 5, |
| FieldDescriptorProto_Type_TYPE_FIXED64 = 6, |
| FieldDescriptorProto_Type_TYPE_FIXED32 = 7, |
| FieldDescriptorProto_Type_TYPE_BOOL = 8, |
| FieldDescriptorProto_Type_TYPE_STRING = 9, |
| FieldDescriptorProto_Type_TYPE_GROUP = 10, |
| FieldDescriptorProto_Type_TYPE_MESSAGE = 11, |
| FieldDescriptorProto_Type_TYPE_BYTES = 12, |
| FieldDescriptorProto_Type_TYPE_UINT32 = 13, |
| FieldDescriptorProto_Type_TYPE_ENUM = 14, |
| FieldDescriptorProto_Type_TYPE_SFIXED32 = 15, |
| FieldDescriptorProto_Type_TYPE_SFIXED64 = 16, |
| FieldDescriptorProto_Type_TYPE_SINT32 = 17, |
| FieldDescriptorProto_Type_TYPE_SINT64 = 18, |
| }; |
| |
| PROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t FieldDescriptorProto_Type_internal_data_[]; |
| constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = static_cast<FieldDescriptorProto_Type>(1); |
| constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = static_cast<FieldDescriptorProto_Type>(18); |
| constexpr int FieldDescriptorProto_Type_Type_ARRAYSIZE = 18 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| FieldDescriptorProto_Type_descriptor(); |
| template <typename T> |
| const std::string& FieldDescriptorProto_Type_Name(T value) { |
| static_assert(std::is_same<T, FieldDescriptorProto_Type>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to Type_Name()."); |
| return FieldDescriptorProto_Type_Name(static_cast<FieldDescriptorProto_Type>(value)); |
| } |
| template <> |
| inline const std::string& FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<FieldDescriptorProto_Type_descriptor, |
| 1, 18>( |
| static_cast<int>(value)); |
| } |
| inline bool FieldDescriptorProto_Type_Parse(absl::string_view name, FieldDescriptorProto_Type* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Type>( |
| FieldDescriptorProto_Type_descriptor(), name, value); |
| } |
| enum FieldDescriptorProto_Label : int { |
| FieldDescriptorProto_Label_LABEL_OPTIONAL = 1, |
| FieldDescriptorProto_Label_LABEL_REPEATED = 3, |
| FieldDescriptorProto_Label_LABEL_REQUIRED = 2, |
| }; |
| |
| PROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t FieldDescriptorProto_Label_internal_data_[]; |
| constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = static_cast<FieldDescriptorProto_Label>(1); |
| constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = static_cast<FieldDescriptorProto_Label>(3); |
| constexpr int FieldDescriptorProto_Label_Label_ARRAYSIZE = 3 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| FieldDescriptorProto_Label_descriptor(); |
| template <typename T> |
| const std::string& FieldDescriptorProto_Label_Name(T value) { |
| static_assert(std::is_same<T, FieldDescriptorProto_Label>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to Label_Name()."); |
| return FieldDescriptorProto_Label_Name(static_cast<FieldDescriptorProto_Label>(value)); |
| } |
| template <> |
| inline const std::string& FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<FieldDescriptorProto_Label_descriptor, |
| 1, 3>( |
| static_cast<int>(value)); |
| } |
| inline bool FieldDescriptorProto_Label_Parse(absl::string_view name, FieldDescriptorProto_Label* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Label>( |
| FieldDescriptorProto_Label_descriptor(), name, value); |
| } |
| enum FileOptions_OptimizeMode : int { |
| FileOptions_OptimizeMode_SPEED = 1, |
| FileOptions_OptimizeMode_CODE_SIZE = 2, |
| FileOptions_OptimizeMode_LITE_RUNTIME = 3, |
| }; |
| |
| PROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t FileOptions_OptimizeMode_internal_data_[]; |
| constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = static_cast<FileOptions_OptimizeMode>(1); |
| constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = static_cast<FileOptions_OptimizeMode>(3); |
| constexpr int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = 3 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| FileOptions_OptimizeMode_descriptor(); |
| template <typename T> |
| const std::string& FileOptions_OptimizeMode_Name(T value) { |
| static_assert(std::is_same<T, FileOptions_OptimizeMode>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to OptimizeMode_Name()."); |
| return FileOptions_OptimizeMode_Name(static_cast<FileOptions_OptimizeMode>(value)); |
| } |
| template <> |
| inline const std::string& FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<FileOptions_OptimizeMode_descriptor, |
| 1, 3>( |
| static_cast<int>(value)); |
| } |
| inline bool FileOptions_OptimizeMode_Parse(absl::string_view name, FileOptions_OptimizeMode* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FileOptions_OptimizeMode>( |
| FileOptions_OptimizeMode_descriptor(), name, value); |
| } |
| enum FieldOptions_CType : int { |
| FieldOptions_CType_STRING = 0, |
| FieldOptions_CType_CORD = 1, |
| FieldOptions_CType_STRING_PIECE = 2, |
| }; |
| |
| PROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t FieldOptions_CType_internal_data_[]; |
| constexpr FieldOptions_CType FieldOptions_CType_CType_MIN = static_cast<FieldOptions_CType>(0); |
| constexpr FieldOptions_CType FieldOptions_CType_CType_MAX = static_cast<FieldOptions_CType>(2); |
| constexpr int FieldOptions_CType_CType_ARRAYSIZE = 2 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| FieldOptions_CType_descriptor(); |
| template <typename T> |
| const std::string& FieldOptions_CType_Name(T value) { |
| static_assert(std::is_same<T, FieldOptions_CType>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to CType_Name()."); |
| return FieldOptions_CType_Name(static_cast<FieldOptions_CType>(value)); |
| } |
| template <> |
| inline const std::string& FieldOptions_CType_Name(FieldOptions_CType value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_CType_descriptor, |
| 0, 2>( |
| static_cast<int>(value)); |
| } |
| inline bool FieldOptions_CType_Parse(absl::string_view name, FieldOptions_CType* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_CType>( |
| FieldOptions_CType_descriptor(), name, value); |
| } |
| enum FieldOptions_JSType : int { |
| FieldOptions_JSType_JS_NORMAL = 0, |
| FieldOptions_JSType_JS_STRING = 1, |
| FieldOptions_JSType_JS_NUMBER = 2, |
| }; |
| |
| PROTOBUF_EXPORT bool FieldOptions_JSType_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t FieldOptions_JSType_internal_data_[]; |
| constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MIN = static_cast<FieldOptions_JSType>(0); |
| constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MAX = static_cast<FieldOptions_JSType>(2); |
| constexpr int FieldOptions_JSType_JSType_ARRAYSIZE = 2 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| FieldOptions_JSType_descriptor(); |
| template <typename T> |
| const std::string& FieldOptions_JSType_Name(T value) { |
| static_assert(std::is_same<T, FieldOptions_JSType>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to JSType_Name()."); |
| return FieldOptions_JSType_Name(static_cast<FieldOptions_JSType>(value)); |
| } |
| template <> |
| inline const std::string& FieldOptions_JSType_Name(FieldOptions_JSType value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_JSType_descriptor, |
| 0, 2>( |
| static_cast<int>(value)); |
| } |
| inline bool FieldOptions_JSType_Parse(absl::string_view name, FieldOptions_JSType* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_JSType>( |
| FieldOptions_JSType_descriptor(), name, value); |
| } |
| enum FieldOptions_OptionRetention : int { |
| FieldOptions_OptionRetention_RETENTION_UNKNOWN = 0, |
| FieldOptions_OptionRetention_RETENTION_RUNTIME = 1, |
| FieldOptions_OptionRetention_RETENTION_SOURCE = 2, |
| }; |
| |
| PROTOBUF_EXPORT bool FieldOptions_OptionRetention_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t FieldOptions_OptionRetention_internal_data_[]; |
| constexpr FieldOptions_OptionRetention FieldOptions_OptionRetention_OptionRetention_MIN = static_cast<FieldOptions_OptionRetention>(0); |
| constexpr FieldOptions_OptionRetention FieldOptions_OptionRetention_OptionRetention_MAX = static_cast<FieldOptions_OptionRetention>(2); |
| constexpr int FieldOptions_OptionRetention_OptionRetention_ARRAYSIZE = 2 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| FieldOptions_OptionRetention_descriptor(); |
| template <typename T> |
| const std::string& FieldOptions_OptionRetention_Name(T value) { |
| static_assert(std::is_same<T, FieldOptions_OptionRetention>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to OptionRetention_Name()."); |
| return FieldOptions_OptionRetention_Name(static_cast<FieldOptions_OptionRetention>(value)); |
| } |
| template <> |
| inline const std::string& FieldOptions_OptionRetention_Name(FieldOptions_OptionRetention value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_OptionRetention_descriptor, |
| 0, 2>( |
| static_cast<int>(value)); |
| } |
| inline bool FieldOptions_OptionRetention_Parse(absl::string_view name, FieldOptions_OptionRetention* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_OptionRetention>( |
| FieldOptions_OptionRetention_descriptor(), name, value); |
| } |
| enum FieldOptions_OptionTargetType : int { |
| FieldOptions_OptionTargetType_TARGET_TYPE_UNKNOWN = 0, |
| FieldOptions_OptionTargetType_TARGET_TYPE_FILE = 1, |
| FieldOptions_OptionTargetType_TARGET_TYPE_EXTENSION_RANGE = 2, |
| FieldOptions_OptionTargetType_TARGET_TYPE_MESSAGE = 3, |
| FieldOptions_OptionTargetType_TARGET_TYPE_FIELD = 4, |
| FieldOptions_OptionTargetType_TARGET_TYPE_ONEOF = 5, |
| FieldOptions_OptionTargetType_TARGET_TYPE_ENUM = 6, |
| FieldOptions_OptionTargetType_TARGET_TYPE_ENUM_ENTRY = 7, |
| FieldOptions_OptionTargetType_TARGET_TYPE_SERVICE = 8, |
| FieldOptions_OptionTargetType_TARGET_TYPE_METHOD = 9, |
| }; |
| |
| PROTOBUF_EXPORT bool FieldOptions_OptionTargetType_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t FieldOptions_OptionTargetType_internal_data_[]; |
| constexpr FieldOptions_OptionTargetType FieldOptions_OptionTargetType_OptionTargetType_MIN = static_cast<FieldOptions_OptionTargetType>(0); |
| constexpr FieldOptions_OptionTargetType FieldOptions_OptionTargetType_OptionTargetType_MAX = static_cast<FieldOptions_OptionTargetType>(9); |
| constexpr int FieldOptions_OptionTargetType_OptionTargetType_ARRAYSIZE = 9 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| FieldOptions_OptionTargetType_descriptor(); |
| template <typename T> |
| const std::string& FieldOptions_OptionTargetType_Name(T value) { |
| static_assert(std::is_same<T, FieldOptions_OptionTargetType>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to OptionTargetType_Name()."); |
| return FieldOptions_OptionTargetType_Name(static_cast<FieldOptions_OptionTargetType>(value)); |
| } |
| template <> |
| inline const std::string& FieldOptions_OptionTargetType_Name(FieldOptions_OptionTargetType value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<FieldOptions_OptionTargetType_descriptor, |
| 0, 9>( |
| static_cast<int>(value)); |
| } |
| inline bool FieldOptions_OptionTargetType_Parse(absl::string_view name, FieldOptions_OptionTargetType* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_OptionTargetType>( |
| FieldOptions_OptionTargetType_descriptor(), name, value); |
| } |
| enum MethodOptions_IdempotencyLevel : int { |
| MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN = 0, |
| MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS = 1, |
| MethodOptions_IdempotencyLevel_IDEMPOTENT = 2, |
| }; |
| |
| PROTOBUF_EXPORT bool MethodOptions_IdempotencyLevel_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t MethodOptions_IdempotencyLevel_internal_data_[]; |
| constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN = static_cast<MethodOptions_IdempotencyLevel>(0); |
| constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX = static_cast<MethodOptions_IdempotencyLevel>(2); |
| constexpr int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = 2 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| MethodOptions_IdempotencyLevel_descriptor(); |
| template <typename T> |
| const std::string& MethodOptions_IdempotencyLevel_Name(T value) { |
| static_assert(std::is_same<T, MethodOptions_IdempotencyLevel>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to IdempotencyLevel_Name()."); |
| return MethodOptions_IdempotencyLevel_Name(static_cast<MethodOptions_IdempotencyLevel>(value)); |
| } |
| template <> |
| inline const std::string& MethodOptions_IdempotencyLevel_Name(MethodOptions_IdempotencyLevel value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<MethodOptions_IdempotencyLevel_descriptor, |
| 0, 2>( |
| static_cast<int>(value)); |
| } |
| inline bool MethodOptions_IdempotencyLevel_Parse(absl::string_view name, MethodOptions_IdempotencyLevel* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<MethodOptions_IdempotencyLevel>( |
| MethodOptions_IdempotencyLevel_descriptor(), name, value); |
| } |
| enum FeatureSet_FieldPresence : int { |
| FeatureSet_FieldPresence_FIELD_PRESENCE_UNKNOWN = 0, |
| FeatureSet_FieldPresence_EXPLICIT = 1, |
| FeatureSet_FieldPresence_IMPLICIT = 2, |
| FeatureSet_FieldPresence_LEGACY_REQUIRED = 3, |
| }; |
| |
| PROTOBUF_EXPORT bool FeatureSet_FieldPresence_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t FeatureSet_FieldPresence_internal_data_[]; |
| constexpr FeatureSet_FieldPresence FeatureSet_FieldPresence_FieldPresence_MIN = static_cast<FeatureSet_FieldPresence>(0); |
| constexpr FeatureSet_FieldPresence FeatureSet_FieldPresence_FieldPresence_MAX = static_cast<FeatureSet_FieldPresence>(3); |
| constexpr int FeatureSet_FieldPresence_FieldPresence_ARRAYSIZE = 3 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| FeatureSet_FieldPresence_descriptor(); |
| template <typename T> |
| const std::string& FeatureSet_FieldPresence_Name(T value) { |
| static_assert(std::is_same<T, FeatureSet_FieldPresence>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to FieldPresence_Name()."); |
| return FeatureSet_FieldPresence_Name(static_cast<FeatureSet_FieldPresence>(value)); |
| } |
| template <> |
| inline const std::string& FeatureSet_FieldPresence_Name(FeatureSet_FieldPresence value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_FieldPresence_descriptor, |
| 0, 3>( |
| static_cast<int>(value)); |
| } |
| inline bool FeatureSet_FieldPresence_Parse(absl::string_view name, FeatureSet_FieldPresence* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_FieldPresence>( |
| FeatureSet_FieldPresence_descriptor(), name, value); |
| } |
| enum FeatureSet_EnumType : int { |
| FeatureSet_EnumType_ENUM_TYPE_UNKNOWN = 0, |
| FeatureSet_EnumType_OPEN = 1, |
| FeatureSet_EnumType_CLOSED = 2, |
| }; |
| |
| PROTOBUF_EXPORT bool FeatureSet_EnumType_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t FeatureSet_EnumType_internal_data_[]; |
| constexpr FeatureSet_EnumType FeatureSet_EnumType_EnumType_MIN = static_cast<FeatureSet_EnumType>(0); |
| constexpr FeatureSet_EnumType FeatureSet_EnumType_EnumType_MAX = static_cast<FeatureSet_EnumType>(2); |
| constexpr int FeatureSet_EnumType_EnumType_ARRAYSIZE = 2 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| FeatureSet_EnumType_descriptor(); |
| template <typename T> |
| const std::string& FeatureSet_EnumType_Name(T value) { |
| static_assert(std::is_same<T, FeatureSet_EnumType>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to EnumType_Name()."); |
| return FeatureSet_EnumType_Name(static_cast<FeatureSet_EnumType>(value)); |
| } |
| template <> |
| inline const std::string& FeatureSet_EnumType_Name(FeatureSet_EnumType value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_EnumType_descriptor, |
| 0, 2>( |
| static_cast<int>(value)); |
| } |
| inline bool FeatureSet_EnumType_Parse(absl::string_view name, FeatureSet_EnumType* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_EnumType>( |
| FeatureSet_EnumType_descriptor(), name, value); |
| } |
| enum FeatureSet_RepeatedFieldEncoding : int { |
| FeatureSet_RepeatedFieldEncoding_REPEATED_FIELD_ENCODING_UNKNOWN = 0, |
| FeatureSet_RepeatedFieldEncoding_PACKED = 1, |
| FeatureSet_RepeatedFieldEncoding_EXPANDED = 2, |
| }; |
| |
| PROTOBUF_EXPORT bool FeatureSet_RepeatedFieldEncoding_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t FeatureSet_RepeatedFieldEncoding_internal_data_[]; |
| constexpr FeatureSet_RepeatedFieldEncoding FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_MIN = static_cast<FeatureSet_RepeatedFieldEncoding>(0); |
| constexpr FeatureSet_RepeatedFieldEncoding FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_MAX = static_cast<FeatureSet_RepeatedFieldEncoding>(2); |
| constexpr int FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_ARRAYSIZE = 2 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| FeatureSet_RepeatedFieldEncoding_descriptor(); |
| template <typename T> |
| const std::string& FeatureSet_RepeatedFieldEncoding_Name(T value) { |
| static_assert(std::is_same<T, FeatureSet_RepeatedFieldEncoding>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to RepeatedFieldEncoding_Name()."); |
| return FeatureSet_RepeatedFieldEncoding_Name(static_cast<FeatureSet_RepeatedFieldEncoding>(value)); |
| } |
| template <> |
| inline const std::string& FeatureSet_RepeatedFieldEncoding_Name(FeatureSet_RepeatedFieldEncoding value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_RepeatedFieldEncoding_descriptor, |
| 0, 2>( |
| static_cast<int>(value)); |
| } |
| inline bool FeatureSet_RepeatedFieldEncoding_Parse(absl::string_view name, FeatureSet_RepeatedFieldEncoding* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_RepeatedFieldEncoding>( |
| FeatureSet_RepeatedFieldEncoding_descriptor(), name, value); |
| } |
| enum FeatureSet_Utf8Validation : int { |
| FeatureSet_Utf8Validation_UTF8_VALIDATION_UNKNOWN = 0, |
| FeatureSet_Utf8Validation_VERIFY = 2, |
| FeatureSet_Utf8Validation_NONE = 3, |
| }; |
| |
| PROTOBUF_EXPORT bool FeatureSet_Utf8Validation_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t FeatureSet_Utf8Validation_internal_data_[]; |
| constexpr FeatureSet_Utf8Validation FeatureSet_Utf8Validation_Utf8Validation_MIN = static_cast<FeatureSet_Utf8Validation>(0); |
| constexpr FeatureSet_Utf8Validation FeatureSet_Utf8Validation_Utf8Validation_MAX = static_cast<FeatureSet_Utf8Validation>(3); |
| constexpr int FeatureSet_Utf8Validation_Utf8Validation_ARRAYSIZE = 3 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| FeatureSet_Utf8Validation_descriptor(); |
| template <typename T> |
| const std::string& FeatureSet_Utf8Validation_Name(T value) { |
| static_assert(std::is_same<T, FeatureSet_Utf8Validation>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to Utf8Validation_Name()."); |
| return FeatureSet_Utf8Validation_Name(static_cast<FeatureSet_Utf8Validation>(value)); |
| } |
| template <> |
| inline const std::string& FeatureSet_Utf8Validation_Name(FeatureSet_Utf8Validation value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_Utf8Validation_descriptor, |
| 0, 3>( |
| static_cast<int>(value)); |
| } |
| inline bool FeatureSet_Utf8Validation_Parse(absl::string_view name, FeatureSet_Utf8Validation* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_Utf8Validation>( |
| FeatureSet_Utf8Validation_descriptor(), name, value); |
| } |
| enum FeatureSet_MessageEncoding : int { |
| FeatureSet_MessageEncoding_MESSAGE_ENCODING_UNKNOWN = 0, |
| FeatureSet_MessageEncoding_LENGTH_PREFIXED = 1, |
| FeatureSet_MessageEncoding_DELIMITED = 2, |
| }; |
| |
| PROTOBUF_EXPORT bool FeatureSet_MessageEncoding_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t FeatureSet_MessageEncoding_internal_data_[]; |
| constexpr FeatureSet_MessageEncoding FeatureSet_MessageEncoding_MessageEncoding_MIN = static_cast<FeatureSet_MessageEncoding>(0); |
| constexpr FeatureSet_MessageEncoding FeatureSet_MessageEncoding_MessageEncoding_MAX = static_cast<FeatureSet_MessageEncoding>(2); |
| constexpr int FeatureSet_MessageEncoding_MessageEncoding_ARRAYSIZE = 2 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| FeatureSet_MessageEncoding_descriptor(); |
| template <typename T> |
| const std::string& FeatureSet_MessageEncoding_Name(T value) { |
| static_assert(std::is_same<T, FeatureSet_MessageEncoding>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to MessageEncoding_Name()."); |
| return FeatureSet_MessageEncoding_Name(static_cast<FeatureSet_MessageEncoding>(value)); |
| } |
| template <> |
| inline const std::string& FeatureSet_MessageEncoding_Name(FeatureSet_MessageEncoding value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_MessageEncoding_descriptor, |
| 0, 2>( |
| static_cast<int>(value)); |
| } |
| inline bool FeatureSet_MessageEncoding_Parse(absl::string_view name, FeatureSet_MessageEncoding* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_MessageEncoding>( |
| FeatureSet_MessageEncoding_descriptor(), name, value); |
| } |
| enum FeatureSet_JsonFormat : int { |
| FeatureSet_JsonFormat_JSON_FORMAT_UNKNOWN = 0, |
| FeatureSet_JsonFormat_ALLOW = 1, |
| FeatureSet_JsonFormat_LEGACY_BEST_EFFORT = 2, |
| }; |
| |
| PROTOBUF_EXPORT bool FeatureSet_JsonFormat_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t FeatureSet_JsonFormat_internal_data_[]; |
| constexpr FeatureSet_JsonFormat FeatureSet_JsonFormat_JsonFormat_MIN = static_cast<FeatureSet_JsonFormat>(0); |
| constexpr FeatureSet_JsonFormat FeatureSet_JsonFormat_JsonFormat_MAX = static_cast<FeatureSet_JsonFormat>(2); |
| constexpr int FeatureSet_JsonFormat_JsonFormat_ARRAYSIZE = 2 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| FeatureSet_JsonFormat_descriptor(); |
| template <typename T> |
| const std::string& FeatureSet_JsonFormat_Name(T value) { |
| static_assert(std::is_same<T, FeatureSet_JsonFormat>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to JsonFormat_Name()."); |
| return FeatureSet_JsonFormat_Name(static_cast<FeatureSet_JsonFormat>(value)); |
| } |
| template <> |
| inline const std::string& FeatureSet_JsonFormat_Name(FeatureSet_JsonFormat value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_JsonFormat_descriptor, |
| 0, 2>( |
| static_cast<int>(value)); |
| } |
| inline bool FeatureSet_JsonFormat_Parse(absl::string_view name, FeatureSet_JsonFormat* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_JsonFormat>( |
| FeatureSet_JsonFormat_descriptor(), name, value); |
| } |
| enum GeneratedCodeInfo_Annotation_Semantic : int { |
| GeneratedCodeInfo_Annotation_Semantic_NONE = 0, |
| GeneratedCodeInfo_Annotation_Semantic_SET = 1, |
| GeneratedCodeInfo_Annotation_Semantic_ALIAS = 2, |
| }; |
| |
| PROTOBUF_EXPORT bool GeneratedCodeInfo_Annotation_Semantic_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t GeneratedCodeInfo_Annotation_Semantic_internal_data_[]; |
| constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation_Semantic_Semantic_MIN = static_cast<GeneratedCodeInfo_Annotation_Semantic>(0); |
| constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation_Semantic_Semantic_MAX = static_cast<GeneratedCodeInfo_Annotation_Semantic>(2); |
| constexpr int GeneratedCodeInfo_Annotation_Semantic_Semantic_ARRAYSIZE = 2 + 1; |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| GeneratedCodeInfo_Annotation_Semantic_descriptor(); |
| template <typename T> |
| const std::string& GeneratedCodeInfo_Annotation_Semantic_Name(T value) { |
| static_assert(std::is_same<T, GeneratedCodeInfo_Annotation_Semantic>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to Semantic_Name()."); |
| return GeneratedCodeInfo_Annotation_Semantic_Name(static_cast<GeneratedCodeInfo_Annotation_Semantic>(value)); |
| } |
| template <> |
| inline const std::string& GeneratedCodeInfo_Annotation_Semantic_Name(GeneratedCodeInfo_Annotation_Semantic value) { |
| return ::google::protobuf::internal::NameOfDenseEnum<GeneratedCodeInfo_Annotation_Semantic_descriptor, |
| 0, 2>( |
| static_cast<int>(value)); |
| } |
| inline bool GeneratedCodeInfo_Annotation_Semantic_Parse(absl::string_view name, GeneratedCodeInfo_Annotation_Semantic* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<GeneratedCodeInfo_Annotation_Semantic>( |
| GeneratedCodeInfo_Annotation_Semantic_descriptor(), name, value); |
| } |
| enum Edition : int { |
| EDITION_UNKNOWN = 0, |
| EDITION_LEGACY = 900, |
| EDITION_PROTO2 = 998, |
| EDITION_PROTO3 = 999, |
| EDITION_2023 = 1000, |
| EDITION_2024 = 1001, |
| EDITION_1_TEST_ONLY = 1, |
| EDITION_2_TEST_ONLY = 2, |
| EDITION_99997_TEST_ONLY = 99997, |
| EDITION_99998_TEST_ONLY = 99998, |
| EDITION_99999_TEST_ONLY = 99999, |
| EDITION_MAX = 2147483647, |
| }; |
| |
| PROTOBUF_EXPORT bool Edition_IsValid(int value); |
| PROTOBUF_EXPORT extern const uint32_t Edition_internal_data_[]; |
| constexpr Edition Edition_MIN = static_cast<Edition>(0); |
| constexpr Edition Edition_MAX = static_cast<Edition>(2147483647); |
| PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* |
| Edition_descriptor(); |
| template <typename T> |
| const std::string& Edition_Name(T value) { |
| static_assert(std::is_same<T, Edition>::value || |
| std::is_integral<T>::value, |
| "Incorrect type passed to Edition_Name()."); |
| return ::google::protobuf::internal::NameOfEnum(Edition_descriptor(), value); |
| } |
| inline bool Edition_Parse(absl::string_view name, Edition* value) { |
| return ::google::protobuf::internal::ParseNamedEnum<Edition>( |
| Edition_descriptor(), name, value); |
| } |
| |
| // =================================================================== |
| |
| |
| // ------------------------------------------------------------------- |
| |
| class PROTOBUF_EXPORT UninterpretedOption_NamePart final : public ::google::protobuf::Message |
| /* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption.NamePart) */ { |
| public: |
| inline UninterpretedOption_NamePart() : UninterpretedOption_NamePart(nullptr) {} |
| ~UninterpretedOption_NamePart() override; |
| template <typename = void> |
| explicit PROTOBUF_CONSTEXPR UninterpretedOption_NamePart( |
| ::google::protobuf::internal::ConstantInitialized); |
| |
| inline UninterpretedOption_NamePart(const UninterpretedOption_NamePart& from) : UninterpretedOption_NamePart(nullptr, from) {} |
| inline UninterpretedOption_NamePart(UninterpretedOption_NamePart&& from) noexcept |
| : UninterpretedOption_NamePart(nullptr, std::move(from)) {} |
| inline UninterpretedOption_NamePart& operator=(const UninterpretedOption_NamePart& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| inline UninterpretedOption_NamePart& operator=(UninterpretedOption_NamePart&& from) noexcept { |
| if (this == &from) return *this; |
| if (GetArena() == from.GetArena() |
| #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| && GetArena() != nullptr |
| #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| ) { |
| 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* mutable_unknown_fields() |
| ABSL_ATTRIBUTE_LIFETIME_BOUND { |
| return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor() { |
| return GetDescriptor(); |
| } |
| static const ::google::protobuf::Descriptor* GetDescriptor() { |
| return default_instance().GetMetadata().descriptor; |
| } |
| static const ::google::protobuf::Reflection* GetReflection() { |
| return default_instance().GetMetadata().reflection; |
| } |
| static const UninterpretedOption_NamePart& default_instance() { |
| return *internal_default_instance(); |
| } |
| static inline const UninterpretedOption_NamePart* internal_default_instance() { |
| return reinterpret_cast<const UninterpretedOption_NamePart*>( |
| &_UninterpretedOption_NamePart_default_instance_); |
| } |
| static constexpr int kIndexInFileMessages = 24; |
| friend void swap(UninterpretedOption_NamePart& a, UninterpretedOption_NamePart& b) { a.Swap(&b); } |
| inline void Swap(UninterpretedOption_NamePart* other) { |
| if (other == this) return; |
| #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
| #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| if (GetArena() == other->GetArena()) { |
| #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| InternalSwap(other); |
| } else { |
| ::google::protobuf::internal::GenericSwap(this, other); |
| } |
| } |
| void UnsafeArenaSwap(UninterpretedOption_NamePart* other) { |
| if (other == this) return; |
| ABSL_DCHECK(GetArena() == other->GetArena()); |
| InternalSwap(other); |
| } |
| |
| // implements Message ---------------------------------------------- |
| |
| UninterpretedOption_NamePart* New(::google::protobuf::Arena* arena = nullptr) const final { |
| return ::google::protobuf::Message::DefaultConstruct<UninterpretedOption_NamePart>(arena); |
| } |
| using ::google::protobuf::Message::CopyFrom; |
| void CopyFrom(const UninterpretedOption_NamePart& from); |
| using ::google::protobuf::Message::MergeFrom; |
| void MergeFrom(const UninterpretedOption_NamePart& from) { UninterpretedOption_NamePart::MergeImpl(*this, from); } |
| |
| private: |
| static void MergeImpl( |
| ::google::protobuf::MessageLite& to_msg, |
| const ::google::protobuf::MessageLite& from_msg); |
| |
| public: |
| bool IsInitialized() const { |
| return IsInitializedImpl(*this); |
| } |
| |
| private: |
| static bool IsInitializedImpl(const MessageLite& msg); |
| |
| public: |
| ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
| ::size_t ByteSizeLong() const final; |
| ::uint8_t* _InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
| int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
| |
| private: |
| void SharedCtor(::google::protobuf::Arena* arena); |
| void SharedDtor(); |
| void InternalSwap(UninterpretedOption_NamePart* other); |
| private: |
| friend class ::google::protobuf::internal::AnyMetadata; |
| static ::absl::string_view FullMessageName() { return "google.protobuf.UninterpretedOption.NamePart"; } |
| |
| protected: |
| explicit UninterpretedOption_NamePart(::google::protobuf::Arena* arena); |
| UninterpretedOption_NamePart(::google::protobuf::Arena* arena, const UninterpretedOption_NamePart& from); |
| UninterpretedOption_NamePart(::google::protobuf::Arena* arena, UninterpretedOption_NamePart&& from) noexcept |
| : UninterpretedOption_NamePart(arena) { |
| *this = ::std::move(from); |
| } |
| const ::google::protobuf::Message::ClassData* GetClassData() const final; |
| |
| public: |
| ::google::protobuf::Metadata GetMetadata() const; |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| enum : int { |
| kNamePartFieldNumber = 1, |
| kIsExtensionFieldNumber = 2, |
| }; |
| // required string name_part = 1; |
| bool has_name_part() const; |
| void clear_name_part() ; |
| const std::string& name_part() const; |
| template <typename Arg_ = const std::string&, typename... Args_> |
| void set_name_part(Arg_&& arg, Args_... args); |
| std::string* mutable_name_part(); |
| PROTOBUF_NODISCARD std::string* release_name_part(); |
| void set_allocated_name_part(std::string* value); |
| |
| private: |
| const std::string& _internal_name_part() const; |
| inline PROTOBUF_ALWAYS_INLINE void _internal_set_name_part( |
| const std::string& value); |
| std::string* _internal_mutable_name_part(); |
| |
| public: |
| // required bool is_extension = 2; |
| bool has_is_extension() const; |
| void clear_is_extension() ; |
| bool is_extension() const; |
| void set_is_extension(bool value); |
| |
| private: |
| bool _internal_is_extension() const; |
| void _internal_set_is_extension(bool value); |
| |
| public: |
| // @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption.NamePart) |
| private: |
| class _Internal; |
| friend class ::google::protobuf::internal::TcParser; |
| static const ::google::protobuf::internal::TcParseTable< |
| 1, 2, 0, |
| 62, 2> |
| _table_; |
| |
| static constexpr const void* _raw_default_instance_ = |
| &_UninterpretedOption_NamePart_default_instance_; |
| |
| friend class ::google::protobuf::MessageLite; |
| friend class ::google::protobuf::Arena; |
| template <typename T> |
| friend class ::google::protobuf::Arena::InternalHelper; |
| using InternalArenaConstructable_ = void; |
| using DestructorSkippable_ = void; |
| struct Impl_ { |
| inline explicit constexpr Impl_( |
| ::google::protobuf::internal::ConstantInitialized) noexcept; |
| inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena); |
| inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena, const Impl_& from, |
| const UninterpretedOption_NamePart& from_msg); |
| ::google::protobuf::internal::HasBits<1> _has_bits_; |
| mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| ::google::protobuf::internal::ArenaStringPtr name_part_; |
| bool is_extension_; |
| PROTOBUF_TSAN_DECLARE_MEMBER |
| }; |
| union { Impl_ _impl_; }; |
| friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class PROTOBUF_EXPORT SourceCodeInfo_Location final : public ::google::protobuf::Message |
| /* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo.Location) */ { |
| public: |
| inline SourceCodeInfo_Location() : SourceCodeInfo_Location(nullptr) {} |
| ~SourceCodeInfo_Location() override; |
| template <typename = void> |
| explicit PROTOBUF_CONSTEXPR SourceCodeInfo_Location( |
| ::google::protobuf::internal::ConstantInitialized); |
| |
| inline SourceCodeInfo_Location(const SourceCodeInfo_Location& from) : SourceCodeInfo_Location(nullptr, from) {} |
| inline SourceCodeInfo_Location(SourceCodeInfo_Location&& from) noexcept |
| : SourceCodeInfo_Location(nullptr, std::move(from)) {} |
| inline SourceCodeInfo_Location& operator=(const SourceCodeInfo_Location& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| inline SourceCodeInfo_Location& operator=(SourceCodeInfo_Location&& from) noexcept { |
| if (this == &from) return *this; |
| if (GetArena() == from.GetArena() |
| #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| && GetArena() != nullptr |
| #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| ) { |
| 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* mutable_unknown_fields() |
| ABSL_ATTRIBUTE_LIFETIME_BOUND { |
| return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor() { |
| return GetDescriptor(); |
| } |
| static const ::google::protobuf::Descriptor* GetDescriptor() { |
| return default_instance().GetMetadata().descriptor; |
| } |
| static const ::google::protobuf::Reflection* GetReflection() { |
| return default_instance().GetMetadata().reflection; |
| } |
| static const SourceCodeInfo_Location& default_instance() { |
| return *internal_default_instance(); |
| } |
| static inline const SourceCodeInfo_Location* internal_default_instance() { |
| return reinterpret_cast<const SourceCodeInfo_Location*>( |
| &_SourceCodeInfo_Location_default_instance_); |
| } |
| static constexpr int kIndexInFileMessages = 29; |
| friend void swap(SourceCodeInfo_Location& a, SourceCodeInfo_Location& b) { a.Swap(&b); } |
| inline void Swap(SourceCodeInfo_Location* other) { |
| if (other == this) return; |
| #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
| #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| if (GetArena() == other->GetArena()) { |
| #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| InternalSwap(other); |
| } else { |
| ::google::protobuf::internal::GenericSwap(this, other); |
| } |
| } |
| void UnsafeArenaSwap(SourceCodeInfo_Location* other) { |
| if (other == this) return; |
| ABSL_DCHECK(GetArena() == other->GetArena()); |
| InternalSwap(other); |
| } |
| |
| // implements Message ---------------------------------------------- |
| |
| SourceCodeInfo_Location* New(::google::protobuf::Arena* arena = nullptr) const final { |
| return ::google::protobuf::Message::DefaultConstruct<SourceCodeInfo_Location>(arena); |
| } |
| using ::google::protobuf::Message::CopyFrom; |
| void CopyFrom(const SourceCodeInfo_Location& from); |
| using ::google::protobuf::Message::MergeFrom; |
| void MergeFrom(const SourceCodeInfo_Location& from) { SourceCodeInfo_Location::MergeImpl(*this, from); } |
| |
| private: |
| static void MergeImpl( |
| ::google::protobuf::MessageLite& to_msg, |
| const ::google::protobuf::MessageLite& from_msg); |
| |
| public: |
| bool IsInitialized() const { |
| return true; |
| } |
| ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
| ::size_t ByteSizeLong() const final; |
| ::uint8_t* _InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
| int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
| |
| private: |
| void SharedCtor(::google::protobuf::Arena* arena); |
| void SharedDtor(); |
| void InternalSwap(SourceCodeInfo_Location* other); |
| private: |
| friend class ::google::protobuf::internal::AnyMetadata; |
| static ::absl::string_view FullMessageName() { return "google.protobuf.SourceCodeInfo.Location"; } |
| |
| protected: |
| explicit SourceCodeInfo_Location(::google::protobuf::Arena* arena); |
| SourceCodeInfo_Location(::google::protobuf::Arena* arena, const SourceCodeInfo_Location& from); |
| SourceCodeInfo_Location(::google::protobuf::Arena* arena, SourceCodeInfo_Location&& from) noexcept |
| : SourceCodeInfo_Location(arena) { |
| *this = ::std::move(from); |
| } |
| const ::google::protobuf::Message::ClassData* GetClassData() const final; |
| |
| public: |
| ::google::protobuf::Metadata GetMetadata() const; |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| enum : int { |
| kPathFieldNumber = 1, |
| kSpanFieldNumber = 2, |
| kLeadingDetachedCommentsFieldNumber = 6, |
| kLeadingCommentsFieldNumber = 3, |
| kTrailingCommentsFieldNumber = 4, |
| }; |
| // repeated int32 path = 1 [packed = true]; |
| int path_size() const; |
| private: |
| int _internal_path_size() const; |
| |
| public: |
| void clear_path() ; |
| ::int32_t path(int index) const; |
| void set_path(int index, ::int32_t value); |
| void add_path(::int32_t value); |
| const ::google::protobuf::RepeatedField<::int32_t>& path() const; |
| ::google::protobuf::RepeatedField<::int32_t>* mutable_path(); |
| |
| private: |
| const ::google::protobuf::RepeatedField<::int32_t>& _internal_path() const; |
| ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_path(); |
| |
| public: |
| // repeated int32 span = 2 [packed = true]; |
| int span_size() const; |
| private: |
| int _internal_span_size() const; |
| |
| public: |
| void clear_span() ; |
| ::int32_t span(int index) const; |
| void set_span(int index, ::int32_t value); |
| void add_span(::int32_t value); |
| const ::google::protobuf::RepeatedField<::int32_t>& span() const; |
| ::google::protobuf::RepeatedField<::int32_t>* mutable_span(); |
| |
| private: |
| const ::google::protobuf::RepeatedField<::int32_t>& _internal_span() const; |
| ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_span(); |
| |
| public: |
| // repeated string leading_detached_comments = 6; |
| int leading_detached_comments_size() const; |
| private: |
| int _internal_leading_detached_comments_size() const; |
| |
| public: |
| void clear_leading_detached_comments() ; |
| const std::string& leading_detached_comments(int index) const; |
| std::string* mutable_leading_detached_comments(int index); |
| void set_leading_detached_comments(int index, const std::string& value); |
| void set_leading_detached_comments(int index, std::string&& value); |
| void set_leading_detached_comments(int index, const char* value); |
| void set_leading_detached_comments(int index, const char* value, std::size_t size); |
| void set_leading_detached_comments(int index, absl::string_view value); |
| std::string* add_leading_detached_comments(); |
| void add_leading_detached_comments(const std::string& value); |
| void add_leading_detached_comments(std::string&& value); |
| void add_leading_detached_comments(const char* value); |
| void add_leading_detached_comments(const char* value, std::size_t size); |
| void add_leading_detached_comments(absl::string_view value); |
| const ::google::protobuf::RepeatedPtrField<std::string>& leading_detached_comments() const; |
| ::google::protobuf::RepeatedPtrField<std::string>* mutable_leading_detached_comments(); |
| |
| private: |
| const ::google::protobuf::RepeatedPtrField<std::string>& _internal_leading_detached_comments() const; |
| ::google::protobuf::RepeatedPtrField<std::string>* _internal_mutable_leading_detached_comments(); |
| |
| public: |
| // optional string leading_comments = 3; |
| bool has_leading_comments() const; |
| void clear_leading_comments() ; |
| const std::string& leading_comments() const; |
| template <typename Arg_ = const std::string&, typename... Args_> |
| void set_leading_comments(Arg_&& arg, Args_... args); |
| std::string* mutable_leading_comments(); |
| PROTOBUF_NODISCARD std::string* release_leading_comments(); |
| void set_allocated_leading_comments(std::string* value); |
| |
| private: |
| const std::string& _internal_leading_comments() const; |
| inline PROTOBUF_ALWAYS_INLINE void _internal_set_leading_comments( |
| const std::string& value); |
| std::string* _internal_mutable_leading_comments(); |
| |
| public: |
| // optional string trailing_comments = 4; |
| bool has_trailing_comments() const; |
| void clear_trailing_comments() ; |
| const std::string& trailing_comments() const; |
| template <typename Arg_ = const std::string&, typename... Args_> |
| void set_trailing_comments(Arg_&& arg, Args_... args); |
| std::string* mutable_trailing_comments(); |
| PROTOBUF_NODISCARD std::string* release_trailing_comments(); |
| void set_allocated_trailing_comments(std::string* value); |
| |
| private: |
| const std::string& _internal_trailing_comments() const; |
| inline PROTOBUF_ALWAYS_INLINE void _internal_set_trailing_comments( |
| const std::string& value); |
| std::string* _internal_mutable_trailing_comments(); |
| |
| public: |
| // @@protoc_insertion_point(class_scope:google.protobuf.SourceCodeInfo.Location) |
| private: |
| class _Internal; |
| friend class ::google::protobuf::internal::TcParser; |
| static const ::google::protobuf::internal::TcParseTable< |
| 3, 5, 0, |
| 106, 2> |
| _table_; |
| |
| static constexpr const void* _raw_default_instance_ = |
| &_SourceCodeInfo_Location_default_instance_; |
| |
| friend class ::google::protobuf::MessageLite; |
| friend class ::google::protobuf::Arena; |
| template <typename T> |
| friend class ::google::protobuf::Arena::InternalHelper; |
| using InternalArenaConstructable_ = void; |
| using DestructorSkippable_ = void; |
| struct Impl_ { |
| inline explicit constexpr Impl_( |
| ::google::protobuf::internal::ConstantInitialized) noexcept; |
| inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena); |
| inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena, const Impl_& from, |
| const SourceCodeInfo_Location& from_msg); |
| ::google::protobuf::internal::HasBits<1> _has_bits_; |
| mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| ::google::protobuf::RepeatedField<::int32_t> path_; |
| mutable ::google::protobuf::internal::CachedSize _path_cached_byte_size_; |
| ::google::protobuf::RepeatedField<::int32_t> span_; |
| mutable ::google::protobuf::internal::CachedSize _span_cached_byte_size_; |
| ::google::protobuf::RepeatedPtrField<std::string> leading_detached_comments_; |
| ::google::protobuf::internal::ArenaStringPtr leading_comments_; |
| ::google::protobuf::internal::ArenaStringPtr trailing_comments_; |
| PROTOBUF_TSAN_DECLARE_MEMBER |
| }; |
| union { Impl_ _impl_; }; |
| friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class PROTOBUF_EXPORT GeneratedCodeInfo_Annotation final : public ::google::protobuf::Message |
| /* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo.Annotation) */ { |
| public: |
| inline GeneratedCodeInfo_Annotation() : GeneratedCodeInfo_Annotation(nullptr) {} |
| ~GeneratedCodeInfo_Annotation() override; |
| template <typename = void> |
| explicit PROTOBUF_CONSTEXPR GeneratedCodeInfo_Annotation( |
| ::google::protobuf::internal::ConstantInitialized); |
| |
| inline GeneratedCodeInfo_Annotation(const GeneratedCodeInfo_Annotation& from) : GeneratedCodeInfo_Annotation(nullptr, from) {} |
| inline GeneratedCodeInfo_Annotation(GeneratedCodeInfo_Annotation&& from) noexcept |
| : GeneratedCodeInfo_Annotation(nullptr, std::move(from)) {} |
| inline GeneratedCodeInfo_Annotation& operator=(const GeneratedCodeInfo_Annotation& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| inline GeneratedCodeInfo_Annotation& operator=(GeneratedCodeInfo_Annotation&& from) noexcept { |
| if (this == &from) return *this; |
| if (GetArena() == from.GetArena() |
| #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| && GetArena() != nullptr |
| #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| ) { |
| 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* mutable_unknown_fields() |
| ABSL_ATTRIBUTE_LIFETIME_BOUND { |
| return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor() { |
| return GetDescriptor(); |
| } |
| static const ::google::protobuf::Descriptor* GetDescriptor() { |
| return default_instance().GetMetadata().descriptor; |
| } |
| static const ::google::protobuf::Reflection* GetReflection() { |
| return default_instance().GetMetadata().reflection; |
| } |
| static const GeneratedCodeInfo_Annotation& default_instance() { |
| return *internal_default_instance(); |
| } |
| static inline const GeneratedCodeInfo_Annotation* internal_default_instance() { |
| return reinterpret_cast<const GeneratedCodeInfo_Annotation*>( |
| &_GeneratedCodeInfo_Annotation_default_instance_); |
| } |
| static constexpr int kIndexInFileMessages = 31; |
| friend void swap(GeneratedCodeInfo_Annotation& a, GeneratedCodeInfo_Annotation& b) { a.Swap(&b); } |
| inline void Swap(GeneratedCodeInfo_Annotation* other) { |
| if (other == this) return; |
| #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
| #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| if (GetArena() == other->GetArena()) { |
| #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| InternalSwap(other); |
| } else { |
| ::google::protobuf::internal::GenericSwap(this, other); |
| } |
| } |
| void UnsafeArenaSwap(GeneratedCodeInfo_Annotation* other) { |
| if (other == this) return; |
| ABSL_DCHECK(GetArena() == other->GetArena()); |
| InternalSwap(other); |
| } |
| |
| // implements Message ---------------------------------------------- |
| |
| GeneratedCodeInfo_Annotation* New(::google::protobuf::Arena* arena = nullptr) const final { |
| return ::google::protobuf::Message::DefaultConstruct<GeneratedCodeInfo_Annotation>(arena); |
| } |
| using ::google::protobuf::Message::CopyFrom; |
| void CopyFrom(const GeneratedCodeInfo_Annotation& from); |
| using ::google::protobuf::Message::MergeFrom; |
| void MergeFrom(const GeneratedCodeInfo_Annotation& from) { GeneratedCodeInfo_Annotation::MergeImpl(*this, from); } |
| |
| private: |
| static void MergeImpl( |
| ::google::protobuf::MessageLite& to_msg, |
| const ::google::protobuf::MessageLite& from_msg); |
| |
| public: |
| bool IsInitialized() const { |
| return true; |
| } |
| ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
| ::size_t ByteSizeLong() const final; |
| ::uint8_t* _InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
| int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
| |
| private: |
| void SharedCtor(::google::protobuf::Arena* arena); |
| void SharedDtor(); |
| void InternalSwap(GeneratedCodeInfo_Annotation* other); |
| private: |
| friend class ::google::protobuf::internal::AnyMetadata; |
| static ::absl::string_view FullMessageName() { return "google.protobuf.GeneratedCodeInfo.Annotation"; } |
| |
| protected: |
| explicit GeneratedCodeInfo_Annotation(::google::protobuf::Arena* arena); |
| GeneratedCodeInfo_Annotation(::google::protobuf::Arena* arena, const GeneratedCodeInfo_Annotation& from); |
| GeneratedCodeInfo_Annotation(::google::protobuf::Arena* arena, GeneratedCodeInfo_Annotation&& from) noexcept |
| : GeneratedCodeInfo_Annotation(arena) { |
| *this = ::std::move(from); |
| } |
| const ::google::protobuf::Message::ClassData* GetClassData() const final; |
| |
| public: |
| ::google::protobuf::Metadata GetMetadata() const; |
| // nested types ---------------------------------------------------- |
| using Semantic = GeneratedCodeInfo_Annotation_Semantic; |
| static constexpr Semantic NONE = GeneratedCodeInfo_Annotation_Semantic_NONE; |
| static constexpr Semantic SET = GeneratedCodeInfo_Annotation_Semantic_SET; |
| static constexpr Semantic ALIAS = GeneratedCodeInfo_Annotation_Semantic_ALIAS; |
| static inline bool Semantic_IsValid(int value) { |
| return GeneratedCodeInfo_Annotation_Semantic_IsValid(value); |
| } |
| static constexpr Semantic Semantic_MIN = GeneratedCodeInfo_Annotation_Semantic_Semantic_MIN; |
| static constexpr Semantic Semantic_MAX = GeneratedCodeInfo_Annotation_Semantic_Semantic_MAX; |
| static constexpr int Semantic_ARRAYSIZE = GeneratedCodeInfo_Annotation_Semantic_Semantic_ARRAYSIZE; |
| static inline const ::google::protobuf::EnumDescriptor* Semantic_descriptor() { |
| return GeneratedCodeInfo_Annotation_Semantic_descriptor(); |
| } |
| template <typename T> |
| static inline const std::string& Semantic_Name(T value) { |
| return GeneratedCodeInfo_Annotation_Semantic_Name(value); |
| } |
| static inline bool Semantic_Parse(absl::string_view name, Semantic* value) { |
| return GeneratedCodeInfo_Annotation_Semantic_Parse(name, value); |
| } |
| |
| // accessors ------------------------------------------------------- |
| enum : int { |
| kPathFieldNumber = 1, |
| kSourceFileFieldNumber = 2, |
| kBeginFieldNumber = 3, |
| kEndFieldNumber = 4, |
| kSemanticFieldNumber = 5, |
| }; |
| // repeated int32 path = 1 [packed = true]; |
| int path_size() const; |
| private: |
| int _internal_path_size() const; |
| |
| public: |
| void clear_path() ; |
| ::int32_t path(int index) const; |
| void set_path(int index, ::int32_t value); |
| void add_path(::int32_t value); |
| const ::google::protobuf::RepeatedField<::int32_t>& path() const; |
| ::google::protobuf::RepeatedField<::int32_t>* mutable_path(); |
| |
| private: |
| const ::google::protobuf::RepeatedField<::int32_t>& _internal_path() const; |
| ::google::protobuf::RepeatedField<::int32_t>* _internal_mutable_path(); |
| |
| public: |
| // optional string source_file = 2; |
| bool has_source_file() const; |
| void clear_source_file() ; |
| const std::string& source_file() const; |
| template <typename Arg_ = const std::string&, typename... Args_> |
| void set_source_file(Arg_&& arg, Args_... args); |
| std::string* mutable_source_file(); |
| PROTOBUF_NODISCARD std::string* release_source_file(); |
| void set_allocated_source_file(std::string* value); |
| |
| private: |
| const std::string& _internal_source_file() const; |
| inline PROTOBUF_ALWAYS_INLINE void _internal_set_source_file( |
| const std::string& value); |
| std::string* _internal_mutable_source_file(); |
| |
| public: |
| // optional int32 begin = 3; |
| bool has_begin() const; |
| void clear_begin() ; |
| ::int32_t begin() const; |
| void set_begin(::int32_t value); |
| |
| private: |
| ::int32_t _internal_begin() const; |
| void _internal_set_begin(::int32_t value); |
| |
| public: |
| // optional int32 end = 4; |
| bool has_end() const; |
| void clear_end() ; |
| ::int32_t end() const; |
| void set_end(::int32_t value); |
| |
| private: |
| ::int32_t _internal_end() const; |
| void _internal_set_end(::int32_t value); |
| |
| public: |
| // optional .google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5; |
| bool has_semantic() const; |
| void clear_semantic() ; |
| ::google::protobuf::GeneratedCodeInfo_Annotation_Semantic semantic() const; |
| void set_semantic(::google::protobuf::GeneratedCodeInfo_Annotation_Semantic value); |
| |
| private: |
| ::google::protobuf::GeneratedCodeInfo_Annotation_Semantic _internal_semantic() const; |
| void _internal_set_semantic(::google::protobuf::GeneratedCodeInfo_Annotation_Semantic value); |
| |
| public: |
| // @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo.Annotation) |
| private: |
| class _Internal; |
| friend class ::google::protobuf::internal::TcParser; |
| static const ::google::protobuf::internal::TcParseTable< |
| 3, 5, 1, |
| 64, 2> |
| _table_; |
| |
| static constexpr const void* _raw_default_instance_ = |
| &_GeneratedCodeInfo_Annotation_default_instance_; |
| |
| friend class ::google::protobuf::MessageLite; |
| friend class ::google::protobuf::Arena; |
| template <typename T> |
| friend class ::google::protobuf::Arena::InternalHelper; |
| using InternalArenaConstructable_ = void; |
| using DestructorSkippable_ = void; |
| struct Impl_ { |
| inline explicit constexpr Impl_( |
| ::google::protobuf::internal::ConstantInitialized) noexcept; |
| inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena); |
| inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena, const Impl_& from, |
| const GeneratedCodeInfo_Annotation& from_msg); |
| ::google::protobuf::internal::HasBits<1> _has_bits_; |
| mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| ::google::protobuf::RepeatedField<::int32_t> path_; |
| mutable ::google::protobuf::internal::CachedSize _path_cached_byte_size_; |
| ::google::protobuf::internal::ArenaStringPtr source_file_; |
| ::int32_t begin_; |
| ::int32_t end_; |
| int semantic_; |
| PROTOBUF_TSAN_DECLARE_MEMBER |
| }; |
| union { Impl_ _impl_; }; |
| friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class PROTOBUF_EXPORT FieldOptions_FeatureSupport final : public ::google::protobuf::Message |
| /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions.FeatureSupport) */ { |
| public: |
| inline FieldOptions_FeatureSupport() : FieldOptions_FeatureSupport(nullptr) {} |
| ~FieldOptions_FeatureSupport() override; |
| template <typename = void> |
| explicit PROTOBUF_CONSTEXPR FieldOptions_FeatureSupport( |
| ::google::protobuf::internal::ConstantInitialized); |
| |
| inline FieldOptions_FeatureSupport(const FieldOptions_FeatureSupport& from) : FieldOptions_FeatureSupport(nullptr, from) {} |
| inline FieldOptions_FeatureSupport(FieldOptions_FeatureSupport&& from) noexcept |
| : FieldOptions_FeatureSupport(nullptr, std::move(from)) {} |
| inline FieldOptions_FeatureSupport& operator=(const FieldOptions_FeatureSupport& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| inline FieldOptions_FeatureSupport& operator=(FieldOptions_FeatureSupport&& from) noexcept { |
| if (this == &from) return *this; |
| if (GetArena() == from.GetArena() |
| #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| && GetArena() != nullptr |
| #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| ) { |
| 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* mutable_unknown_fields() |
| ABSL_ATTRIBUTE_LIFETIME_BOUND { |
| return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor() { |
| return GetDescriptor(); |
| } |
| static const ::google::protobuf::Descriptor* GetDescriptor() { |
| return default_instance().GetMetadata().descriptor; |
| } |
| static const ::google::protobuf::Reflection* GetReflection() { |
| return default_instance().GetMetadata().reflection; |
| } |
| static const FieldOptions_FeatureSupport& default_instance() { |
| return *internal_default_instance(); |
| } |
| static inline const FieldOptions_FeatureSupport* internal_default_instance() { |
| return reinterpret_cast<const FieldOptions_FeatureSupport*>( |
| &_FieldOptions_FeatureSupport_default_instance_); |
| } |
| static constexpr int kIndexInFileMessages = 17; |
| friend void swap(FieldOptions_FeatureSupport& a, FieldOptions_FeatureSupport& b) { a.Swap(&b); } |
| inline void Swap(FieldOptions_FeatureSupport* other) { |
| if (other == this) return; |
| #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
| #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| if (GetArena() == other->GetArena()) { |
| #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| InternalSwap(other); |
| } else { |
| ::google::protobuf::internal::GenericSwap(this, other); |
| } |
| } |
| void UnsafeArenaSwap(FieldOptions_FeatureSupport* other) { |
| if (other == this) return; |
| ABSL_DCHECK(GetArena() == other->GetArena()); |
| InternalSwap(other); |
| } |
| |
| // implements Message ---------------------------------------------- |
| |
| FieldOptions_FeatureSupport* New(::google::protobuf::Arena* arena = nullptr) const final { |
| return ::google::protobuf::Message::DefaultConstruct<FieldOptions_FeatureSupport>(arena); |
| } |
| using ::google::protobuf::Message::CopyFrom; |
| void CopyFrom(const FieldOptions_FeatureSupport& from); |
| using ::google::protobuf::Message::MergeFrom; |
| void MergeFrom(const FieldOptions_FeatureSupport& from) { FieldOptions_FeatureSupport::MergeImpl(*this, from); } |
| |
| private: |
| static void MergeImpl( |
| ::google::protobuf::MessageLite& to_msg, |
| const ::google::protobuf::MessageLite& from_msg); |
| |
| public: |
| bool IsInitialized() const { |
| return true; |
| } |
| ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
| ::size_t ByteSizeLong() const final; |
| ::uint8_t* _InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
| int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
| |
| private: |
| void SharedCtor(::google::protobuf::Arena* arena); |
| void SharedDtor(); |
| void InternalSwap(FieldOptions_FeatureSupport* other); |
| private: |
| friend class ::google::protobuf::internal::AnyMetadata; |
| static ::absl::string_view FullMessageName() { return "google.protobuf.FieldOptions.FeatureSupport"; } |
| |
| protected: |
| explicit FieldOptions_FeatureSupport(::google::protobuf::Arena* arena); |
| FieldOptions_FeatureSupport(::google::protobuf::Arena* arena, const FieldOptions_FeatureSupport& from); |
| FieldOptions_FeatureSupport(::google::protobuf::Arena* arena, FieldOptions_FeatureSupport&& from) noexcept |
| : FieldOptions_FeatureSupport(arena) { |
| *this = ::std::move(from); |
| } |
| const ::google::protobuf::Message::ClassData* GetClassData() const final; |
| |
| public: |
| ::google::protobuf::Metadata GetMetadata() const; |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| enum : int { |
| kDeprecationWarningFieldNumber = 3, |
| kEditionIntroducedFieldNumber = 1, |
| kEditionDeprecatedFieldNumber = 2, |
| kEditionRemovedFieldNumber = 4, |
| }; |
| // optional string deprecation_warning = 3; |
| bool has_deprecation_warning() const; |
| void clear_deprecation_warning() ; |
| const std::string& deprecation_warning() const; |
| template <typename Arg_ = const std::string&, typename... Args_> |
| void set_deprecation_warning(Arg_&& arg, Args_... args); |
| std::string* mutable_deprecation_warning(); |
| PROTOBUF_NODISCARD std::string* release_deprecation_warning(); |
| void set_allocated_deprecation_warning(std::string* value); |
| |
| private: |
| const std::string& _internal_deprecation_warning() const; |
| inline PROTOBUF_ALWAYS_INLINE void _internal_set_deprecation_warning( |
| const std::string& value); |
| std::string* _internal_mutable_deprecation_warning(); |
| |
| public: |
| // optional .google.protobuf.Edition edition_introduced = 1; |
| bool has_edition_introduced() const; |
| void clear_edition_introduced() ; |
| ::google::protobuf::Edition edition_introduced() const; |
| void set_edition_introduced(::google::protobuf::Edition value); |
| |
| private: |
| ::google::protobuf::Edition _internal_edition_introduced() const; |
| void _internal_set_edition_introduced(::google::protobuf::Edition value); |
| |
| public: |
| // optional .google.protobuf.Edition edition_deprecated = 2; |
| bool has_edition_deprecated() const; |
| void clear_edition_deprecated() ; |
| ::google::protobuf::Edition edition_deprecated() const; |
| void set_edition_deprecated(::google::protobuf::Edition value); |
| |
| private: |
| ::google::protobuf::Edition _internal_edition_deprecated() const; |
| void _internal_set_edition_deprecated(::google::protobuf::Edition value); |
| |
| public: |
| // optional .google.protobuf.Edition edition_removed = 4; |
| bool has_edition_removed() const; |
| void clear_edition_removed() ; |
| ::google::protobuf::Edition edition_removed() const; |
| void set_edition_removed(::google::protobuf::Edition value); |
| |
| private: |
| ::google::protobuf::Edition _internal_edition_removed() const; |
| void _internal_set_edition_removed(::google::protobuf::Edition value); |
| |
| public: |
| // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions.FeatureSupport) |
| private: |
| class _Internal; |
| friend class ::google::protobuf::internal::TcParser; |
| static const ::google::protobuf::internal::TcParseTable< |
| 2, 4, 3, |
| 71, 2> |
| _table_; |
| |
| static constexpr const void* _raw_default_instance_ = |
| &_FieldOptions_FeatureSupport_default_instance_; |
| |
| friend class ::google::protobuf::MessageLite; |
| friend class ::google::protobuf::Arena; |
| template <typename T> |
| friend class ::google::protobuf::Arena::InternalHelper; |
| using InternalArenaConstructable_ = void; |
| using DestructorSkippable_ = void; |
| struct Impl_ { |
| inline explicit constexpr Impl_( |
| ::google::protobuf::internal::ConstantInitialized) noexcept; |
| inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena); |
| inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena, const Impl_& from, |
| const FieldOptions_FeatureSupport& from_msg); |
| ::google::protobuf::internal::HasBits<1> _has_bits_; |
| mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| ::google::protobuf::internal::ArenaStringPtr deprecation_warning_; |
| int edition_introduced_; |
| int edition_deprecated_; |
| int edition_removed_; |
| PROTOBUF_TSAN_DECLARE_MEMBER |
| }; |
| union { Impl_ _impl_; }; |
| friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class PROTOBUF_EXPORT FieldOptions_EditionDefault final : public ::google::protobuf::Message |
| /* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions.EditionDefault) */ { |
| public: |
| inline FieldOptions_EditionDefault() : FieldOptions_EditionDefault(nullptr) {} |
| ~FieldOptions_EditionDefault() override; |
| template <typename = void> |
| explicit PROTOBUF_CONSTEXPR FieldOptions_EditionDefault( |
| ::google::protobuf::internal::ConstantInitialized); |
| |
| inline FieldOptions_EditionDefault(const FieldOptions_EditionDefault& from) : FieldOptions_EditionDefault(nullptr, from) {} |
| inline FieldOptions_EditionDefault(FieldOptions_EditionDefault&& from) noexcept |
| : FieldOptions_EditionDefault(nullptr, std::move(from)) {} |
| inline FieldOptions_EditionDefault& operator=(const FieldOptions_EditionDefault& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| inline FieldOptions_EditionDefault& operator=(FieldOptions_EditionDefault&& from) noexcept { |
| if (this == &from) return *this; |
| if (GetArena() == from.GetArena() |
| #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| && GetArena() != nullptr |
| #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| ) { |
| 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* mutable_unknown_fields() |
| ABSL_ATTRIBUTE_LIFETIME_BOUND { |
| return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor() { |
| return GetDescriptor(); |
| } |
| static const ::google::protobuf::Descriptor* GetDescriptor() { |
| return default_instance().GetMetadata().descriptor; |
| } |
| static const ::google::protobuf::Reflection* GetReflection() { |
| return default_instance().GetMetadata().reflection; |
| } |
| static const FieldOptions_EditionDefault& default_instance() { |
| return *internal_default_instance(); |
| } |
| static inline const FieldOptions_EditionDefault* internal_default_instance() { |
| return reinterpret_cast<const FieldOptions_EditionDefault*>( |
| &_FieldOptions_EditionDefault_default_instance_); |
| } |
| static constexpr int kIndexInFileMessages = 16; |
| friend void swap(FieldOptions_EditionDefault& a, FieldOptions_EditionDefault& b) { a.Swap(&b); } |
| inline void Swap(FieldOptions_EditionDefault* other) { |
| if (other == this) return; |
| #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
| #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| if (GetArena() == other->GetArena()) { |
| #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| InternalSwap(other); |
| } else { |
| ::google::protobuf::internal::GenericSwap(this, other); |
| } |
| } |
| void UnsafeArenaSwap(FieldOptions_EditionDefault* other) { |
| if (other == this) return; |
| ABSL_DCHECK(GetArena() == other->GetArena()); |
| InternalSwap(other); |
| } |
| |
| // implements Message ---------------------------------------------- |
| |
| FieldOptions_EditionDefault* New(::google::protobuf::Arena* arena = nullptr) const final { |
| return ::google::protobuf::Message::DefaultConstruct<FieldOptions_EditionDefault>(arena); |
| } |
| using ::google::protobuf::Message::CopyFrom; |
| void CopyFrom(const FieldOptions_EditionDefault& from); |
| using ::google::protobuf::Message::MergeFrom; |
| void MergeFrom(const FieldOptions_EditionDefault& from) { FieldOptions_EditionDefault::MergeImpl(*this, from); } |
| |
| private: |
| static void MergeImpl( |
| ::google::protobuf::MessageLite& to_msg, |
| const ::google::protobuf::MessageLite& from_msg); |
| |
| public: |
| bool IsInitialized() const { |
| return true; |
| } |
| ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
| ::size_t ByteSizeLong() const final; |
| ::uint8_t* _InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
| int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
| |
| private: |
| void SharedCtor(::google::protobuf::Arena* arena); |
| void SharedDtor(); |
| void InternalSwap(FieldOptions_EditionDefault* other); |
| private: |
| friend class ::google::protobuf::internal::AnyMetadata; |
| static ::absl::string_view FullMessageName() { return "google.protobuf.FieldOptions.EditionDefault"; } |
| |
| protected: |
| explicit FieldOptions_EditionDefault(::google::protobuf::Arena* arena); |
| FieldOptions_EditionDefault(::google::protobuf::Arena* arena, const FieldOptions_EditionDefault& from); |
| FieldOptions_EditionDefault(::google::protobuf::Arena* arena, FieldOptions_EditionDefault&& from) noexcept |
| : FieldOptions_EditionDefault(arena) { |
| *this = ::std::move(from); |
| } |
| const ::google::protobuf::Message::ClassData* GetClassData() const final; |
| |
| public: |
| ::google::protobuf::Metadata GetMetadata() const; |
| // nested types ---------------------------------------------------- |
| |
| // accessors ------------------------------------------------------- |
| enum : int { |
| kValueFieldNumber = 2, |
| kEditionFieldNumber = 3, |
| }; |
| // optional string value = 2; |
| bool has_value() const; |
| void clear_value() ; |
| const std::string& value() const; |
| template <typename Arg_ = const std::string&, typename... Args_> |
| void set_value(Arg_&& arg, Args_... args); |
| std::string* mutable_value(); |
| PROTOBUF_NODISCARD std::string* release_value(); |
| void set_allocated_value(std::string* value); |
| |
| private: |
| const std::string& _internal_value() const; |
| inline PROTOBUF_ALWAYS_INLINE void _internal_set_value( |
| const std::string& value); |
| std::string* _internal_mutable_value(); |
| |
| public: |
| // optional .google.protobuf.Edition edition = 3; |
| bool has_edition() const; |
| void clear_edition() ; |
| ::google::protobuf::Edition edition() const; |
| void set_edition(::google::protobuf::Edition value); |
| |
| private: |
| ::google::protobuf::Edition _internal_edition() const; |
| void _internal_set_edition(::google::protobuf::Edition value); |
| |
| public: |
| // @@protoc_insertion_point(class_scope:google.protobuf.FieldOptions.EditionDefault) |
| private: |
| class _Internal; |
| friend class ::google::protobuf::internal::TcParser; |
| static const ::google::protobuf::internal::TcParseTable< |
| 1, 2, 1, |
| 57, 2> |
| _table_; |
| |
| static constexpr const void* _raw_default_instance_ = |
| &_FieldOptions_EditionDefault_default_instance_; |
| |
| friend class ::google::protobuf::MessageLite; |
| friend class ::google::protobuf::Arena; |
| template <typename T> |
| friend class ::google::protobuf::Arena::InternalHelper; |
| using InternalArenaConstructable_ = void; |
| using DestructorSkippable_ = void; |
| struct Impl_ { |
| inline explicit constexpr Impl_( |
| ::google::protobuf::internal::ConstantInitialized) noexcept; |
| inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena); |
| inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena, const Impl_& from, |
| const FieldOptions_EditionDefault& from_msg); |
| ::google::protobuf::internal::HasBits<1> _has_bits_; |
| mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| ::google::protobuf::internal::ArenaStringPtr value_; |
| int edition_; |
| PROTOBUF_TSAN_DECLARE_MEMBER |
| }; |
| union { Impl_ _impl_; }; |
| friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class PROTOBUF_EXPORT FeatureSet final : public ::google::protobuf::Message |
| /* @@protoc_insertion_point(class_definition:google.protobuf.FeatureSet) */ { |
| public: |
| inline FeatureSet() : FeatureSet(nullptr) {} |
| ~FeatureSet() override; |
| template <typename = void> |
| explicit PROTOBUF_CONSTEXPR FeatureSet( |
| ::google::protobuf::internal::ConstantInitialized); |
| |
| inline FeatureSet(const FeatureSet& from) : FeatureSet(nullptr, from) {} |
| inline FeatureSet(FeatureSet&& from) noexcept |
| : FeatureSet(nullptr, std::move(from)) {} |
| inline FeatureSet& operator=(const FeatureSet& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| inline FeatureSet& operator=(FeatureSet&& from) noexcept { |
| if (this == &from) return *this; |
| if (GetArena() == from.GetArena() |
| #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| && GetArena() != nullptr |
| #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| ) { |
| 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* mutable_unknown_fields() |
| ABSL_ATTRIBUTE_LIFETIME_BOUND { |
| return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor() { |
| return GetDescriptor(); |
| } |
| static const ::google::protobuf::Descriptor* GetDescriptor() { |
| return default_instance().GetMetadata().descriptor; |
| } |
| static const ::google::protobuf::Reflection* GetReflection() { |
| return default_instance().GetMetadata().reflection; |
| } |
| static const FeatureSet& default_instance() { |
| return *internal_default_instance(); |
| } |
| static inline const FeatureSet* internal_default_instance() { |
| return reinterpret_cast<const FeatureSet*>( |
| &_FeatureSet_default_instance_); |
| } |
| static constexpr int kIndexInFileMessages = 26; |
| friend void swap(FeatureSet& a, FeatureSet& b) { a.Swap(&b); } |
| inline void Swap(FeatureSet* other) { |
| if (other == this) return; |
| #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
| #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| if (GetArena() == other->GetArena()) { |
| #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| InternalSwap(other); |
| } else { |
| ::google::protobuf::internal::GenericSwap(this, other); |
| } |
| } |
| void UnsafeArenaSwap(FeatureSet* other) { |
| if (other == this) return; |
| ABSL_DCHECK(GetArena() == other->GetArena()); |
| InternalSwap(other); |
| } |
| |
| // implements Message ---------------------------------------------- |
| |
| FeatureSet* New(::google::protobuf::Arena* arena = nullptr) const final { |
| return ::google::protobuf::Message::DefaultConstruct<FeatureSet>(arena); |
| } |
| using ::google::protobuf::Message::CopyFrom; |
| void CopyFrom(const FeatureSet& from); |
| using ::google::protobuf::Message::MergeFrom; |
| void MergeFrom(const FeatureSet& from) { FeatureSet::MergeImpl(*this, from); } |
| |
| private: |
| static void MergeImpl( |
| ::google::protobuf::MessageLite& to_msg, |
| const ::google::protobuf::MessageLite& from_msg); |
| |
| public: |
| bool IsInitialized() const { |
| return IsInitializedImpl(*this); |
| } |
| |
| private: |
| static bool IsInitializedImpl(const MessageLite& msg); |
| |
| public: |
| ABSL_ATTRIBUTE_REINITIALIZES void Clear() final; |
| ::size_t ByteSizeLong() const final; |
| ::uint8_t* _InternalSerialize( |
| ::uint8_t* target, |
| ::google::protobuf::io::EpsCopyOutputStream* stream) const final; |
| int GetCachedSize() const { return _impl_._cached_size_.Get(); } |
| |
| private: |
| void SharedCtor(::google::protobuf::Arena* arena); |
| void SharedDtor(); |
| void InternalSwap(FeatureSet* other); |
| private: |
| friend class ::google::protobuf::internal::AnyMetadata; |
| static ::absl::string_view FullMessageName() { return "google.protobuf.FeatureSet"; } |
| |
| protected: |
| explicit FeatureSet(::google::protobuf::Arena* arena); |
| FeatureSet(::google::protobuf::Arena* arena, const FeatureSet& from); |
| FeatureSet(::google::protobuf::Arena* arena, FeatureSet&& from) noexcept |
| : FeatureSet(arena) { |
| *this = ::std::move(from); |
| } |
| const ::google::protobuf::Message::ClassData* GetClassData() const final; |
| |
| public: |
| ::google::protobuf::Metadata GetMetadata() const; |
| // nested types ---------------------------------------------------- |
| using FieldPresence = FeatureSet_FieldPresence; |
| static constexpr FieldPresence FIELD_PRESENCE_UNKNOWN = FeatureSet_FieldPresence_FIELD_PRESENCE_UNKNOWN; |
| static constexpr FieldPresence EXPLICIT = FeatureSet_FieldPresence_EXPLICIT; |
| static constexpr FieldPresence IMPLICIT = FeatureSet_FieldPresence_IMPLICIT; |
| static constexpr FieldPresence LEGACY_REQUIRED = FeatureSet_FieldPresence_LEGACY_REQUIRED; |
| static inline bool FieldPresence_IsValid(int value) { |
| return FeatureSet_FieldPresence_IsValid(value); |
| } |
| static constexpr FieldPresence FieldPresence_MIN = FeatureSet_FieldPresence_FieldPresence_MIN; |
| static constexpr FieldPresence FieldPresence_MAX = FeatureSet_FieldPresence_FieldPresence_MAX; |
| static constexpr int FieldPresence_ARRAYSIZE = FeatureSet_FieldPresence_FieldPresence_ARRAYSIZE; |
| static inline const ::google::protobuf::EnumDescriptor* FieldPresence_descriptor() { |
| return FeatureSet_FieldPresence_descriptor(); |
| } |
| template <typename T> |
| static inline const std::string& FieldPresence_Name(T value) { |
| return FeatureSet_FieldPresence_Name(value); |
| } |
| static inline bool FieldPresence_Parse(absl::string_view name, FieldPresence* value) { |
| return FeatureSet_FieldPresence_Parse(name, value); |
| } |
| using EnumType = FeatureSet_EnumType; |
| static constexpr EnumType ENUM_TYPE_UNKNOWN = FeatureSet_EnumType_ENUM_TYPE_UNKNOWN; |
| static constexpr EnumType OPEN = FeatureSet_EnumType_OPEN; |
| static constexpr EnumType CLOSED = FeatureSet_EnumType_CLOSED; |
| static inline bool EnumType_IsValid(int value) { |
| return FeatureSet_EnumType_IsValid(value); |
| } |
| static constexpr EnumType EnumType_MIN = FeatureSet_EnumType_EnumType_MIN; |
| static constexpr EnumType EnumType_MAX = FeatureSet_EnumType_EnumType_MAX; |
| static constexpr int EnumType_ARRAYSIZE = FeatureSet_EnumType_EnumType_ARRAYSIZE; |
| static inline const ::google::protobuf::EnumDescriptor* EnumType_descriptor() { |
| return FeatureSet_EnumType_descriptor(); |
| } |
| template <typename T> |
| static inline const std::string& EnumType_Name(T value) { |
| return FeatureSet_EnumType_Name(value); |
| } |
| static inline bool EnumType_Parse(absl::string_view name, EnumType* value) { |
| return FeatureSet_EnumType_Parse(name, value); |
| } |
| using RepeatedFieldEncoding = FeatureSet_RepeatedFieldEncoding; |
| static constexpr RepeatedFieldEncoding REPEATED_FIELD_ENCODING_UNKNOWN = FeatureSet_RepeatedFieldEncoding_REPEATED_FIELD_ENCODING_UNKNOWN; |
| static constexpr RepeatedFieldEncoding PACKED = FeatureSet_RepeatedFieldEncoding_PACKED; |
| static constexpr RepeatedFieldEncoding EXPANDED = FeatureSet_RepeatedFieldEncoding_EXPANDED; |
| static inline bool RepeatedFieldEncoding_IsValid(int value) { |
| return FeatureSet_RepeatedFieldEncoding_IsValid(value); |
| } |
| static constexpr RepeatedFieldEncoding RepeatedFieldEncoding_MIN = FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_MIN; |
| static constexpr RepeatedFieldEncoding RepeatedFieldEncoding_MAX = FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_MAX; |
| static constexpr int RepeatedFieldEncoding_ARRAYSIZE = FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_ARRAYSIZE; |
| static inline const ::google::protobuf::EnumDescriptor* RepeatedFieldEncoding_descriptor() { |
| return FeatureSet_RepeatedFieldEncoding_descriptor(); |
| } |
| template <typename T> |
| static inline const std::string& RepeatedFieldEncoding_Name(T value) { |
| return FeatureSet_RepeatedFieldEncoding_Name(value); |
| } |
| static inline bool RepeatedFieldEncoding_Parse(absl::string_view name, RepeatedFieldEncoding* value) { |
| return FeatureSet_RepeatedFieldEncoding_Parse(name, value); |
| } |
| using Utf8Validation = FeatureSet_Utf8Validation; |
| static constexpr Utf8Validation UTF8_VALIDATION_UNKNOWN = FeatureSet_Utf8Validation_UTF8_VALIDATION_UNKNOWN; |
| static constexpr Utf8Validation VERIFY = FeatureSet_Utf8Validation_VERIFY; |
| static constexpr Utf8Validation NONE = FeatureSet_Utf8Validation_NONE; |
| static inline bool Utf8Validation_IsValid(int value) { |
| return FeatureSet_Utf8Validation_IsValid(value); |
| } |
| static constexpr Utf8Validation Utf8Validation_MIN = FeatureSet_Utf8Validation_Utf8Validation_MIN; |
| static constexpr Utf8Validation Utf8Validation_MAX = FeatureSet_Utf8Validation_Utf8Validation_MAX; |
| static constexpr int Utf8Validation_ARRAYSIZE = FeatureSet_Utf8Validation_Utf8Validation_ARRAYSIZE; |
| static inline const ::google::protobuf::EnumDescriptor* Utf8Validation_descriptor() { |
| return FeatureSet_Utf8Validation_descriptor(); |
| } |
| template <typename T> |
| static inline const std::string& Utf8Validation_Name(T value) { |
| return FeatureSet_Utf8Validation_Name(value); |
| } |
| static inline bool Utf8Validation_Parse(absl::string_view name, Utf8Validation* value) { |
| return FeatureSet_Utf8Validation_Parse(name, value); |
| } |
| using MessageEncoding = FeatureSet_MessageEncoding; |
| static constexpr MessageEncoding MESSAGE_ENCODING_UNKNOWN = FeatureSet_MessageEncoding_MESSAGE_ENCODING_UNKNOWN; |
| static constexpr MessageEncoding LENGTH_PREFIXED = FeatureSet_MessageEncoding_LENGTH_PREFIXED; |
| static constexpr MessageEncoding DELIMITED = FeatureSet_MessageEncoding_DELIMITED; |
| static inline bool MessageEncoding_IsValid(int value) { |
| return FeatureSet_MessageEncoding_IsValid(value); |
| } |
| static constexpr MessageEncoding MessageEncoding_MIN = FeatureSet_MessageEncoding_MessageEncoding_MIN; |
| static constexpr MessageEncoding MessageEncoding_MAX = FeatureSet_MessageEncoding_MessageEncoding_MAX; |
| static constexpr int MessageEncoding_ARRAYSIZE = FeatureSet_MessageEncoding_MessageEncoding_ARRAYSIZE; |
| static inline const ::google::protobuf::EnumDescriptor* MessageEncoding_descriptor() { |
| return FeatureSet_MessageEncoding_descriptor(); |
| } |
| template <typename T> |
| static inline const std::string& MessageEncoding_Name(T value) { |
| return FeatureSet_MessageEncoding_Name(value); |
| } |
| static inline bool MessageEncoding_Parse(absl::string_view name, MessageEncoding* value) { |
| return FeatureSet_MessageEncoding_Parse(name, value); |
| } |
| using JsonFormat = FeatureSet_JsonFormat; |
| static constexpr JsonFormat JSON_FORMAT_UNKNOWN = FeatureSet_JsonFormat_JSON_FORMAT_UNKNOWN; |
| static constexpr JsonFormat ALLOW = FeatureSet_JsonFormat_ALLOW; |
| static constexpr JsonFormat LEGACY_BEST_EFFORT = FeatureSet_JsonFormat_LEGACY_BEST_EFFORT; |
| static inline bool JsonFormat_IsValid(int value) { |
| return FeatureSet_JsonFormat_IsValid(value); |
| } |
| static constexpr JsonFormat JsonFormat_MIN = FeatureSet_JsonFormat_JsonFormat_MIN; |
| static constexpr JsonFormat JsonFormat_MAX = FeatureSet_JsonFormat_JsonFormat_MAX; |
| static constexpr int JsonFormat_ARRAYSIZE = FeatureSet_JsonFormat_JsonFormat_ARRAYSIZE; |
| static inline const ::google::protobuf::EnumDescriptor* JsonFormat_descriptor() { |
| return FeatureSet_JsonFormat_descriptor(); |
| } |
| template <typename T> |
| static inline const std::string& JsonFormat_Name(T value) { |
| return FeatureSet_JsonFormat_Name(value); |
| } |
| static inline bool JsonFormat_Parse(absl::string_view name, JsonFormat* value) { |
| return FeatureSet_JsonFormat_Parse(name, value); |
| } |
| |
| // accessors ------------------------------------------------------- |
| enum : int { |
| kFieldPresenceFieldNumber = 1, |
| kEnumTypeFieldNumber = 2, |
| kRepeatedFieldEncodingFieldNumber = 3, |
| kUtf8ValidationFieldNumber = 4, |
| kMessageEncodingFieldNumber = 5, |
| kJsonFormatFieldNumber = 6, |
| }; |
| // optional .google.protobuf.FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
| bool has_field_presence() const; |
| void clear_field_presence() ; |
| ::google::protobuf::FeatureSet_FieldPresence field_presence() const; |
| void set_field_presence(::google::protobuf::FeatureSet_FieldPresence value); |
| |
| private: |
| ::google::protobuf::FeatureSet_FieldPresence _internal_field_presence() const; |
| void _internal_set_field_presence(::google::protobuf::FeatureSet_FieldPresence value); |
| |
| public: |
| // optional .google.protobuf.FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { |
| bool has_enum_type() const; |
| void clear_enum_type() ; |
| ::google::protobuf::FeatureSet_EnumType enum_type() const; |
| void set_enum_type(::google::protobuf::FeatureSet_EnumType value); |
| |
| private: |
| ::google::protobuf::FeatureSet_EnumType _internal_enum_type() const; |
| void _internal_set_enum_type(::google::protobuf::FeatureSet_EnumType value); |
| |
| public: |
| // optional .google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
| bool has_repeated_field_encoding() const; |
| void clear_repeated_field_encoding() ; |
| ::google::protobuf::FeatureSet_RepeatedFieldEncoding repeated_field_encoding() const; |
| void set_repeated_field_encoding(::google::protobuf::FeatureSet_RepeatedFieldEncoding value); |
| |
| private: |
| ::google::protobuf::FeatureSet_RepeatedFieldEncoding _internal_repeated_field_encoding() const; |
| void _internal_set_repeated_field_encoding(::google::protobuf::FeatureSet_RepeatedFieldEncoding value); |
| |
| public: |
| // optional .google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
| bool has_utf8_validation() const; |
| void clear_utf8_validation() ; |
| ::google::protobuf::FeatureSet_Utf8Validation utf8_validation() const; |
| void set_utf8_validation(::google::protobuf::FeatureSet_Utf8Validation value); |
| |
| private: |
| ::google::protobuf::FeatureSet_Utf8Validation _internal_utf8_validation() const; |
| void _internal_set_utf8_validation(::google::protobuf::FeatureSet_Utf8Validation value); |
| |
| public: |
| // optional .google.protobuf.FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { |
| bool has_message_encoding() const; |
| void clear_message_encoding() ; |
| ::google::protobuf::FeatureSet_MessageEncoding message_encoding() const; |
| void set_message_encoding(::google::protobuf::FeatureSet_MessageEncoding value); |
| |
| private: |
| ::google::protobuf::FeatureSet_MessageEncoding _internal_message_encoding() const; |
| void _internal_set_message_encoding(::google::protobuf::FeatureSet_MessageEncoding value); |
| |
| public: |
| // optional .google.protobuf.FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { |
| bool has_json_format() const; |
| void clear_json_format() ; |
| ::google::protobuf::FeatureSet_JsonFormat json_format() const; |
| void set_json_format(::google::protobuf::FeatureSet_JsonFormat value); |
| |
| private: |
| ::google::protobuf::FeatureSet_JsonFormat _internal_json_format() const; |
| void _internal_set_json_format(::google::protobuf::FeatureSet_JsonFormat value); |
| |
| public: |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed, |
| typename = typename _proto_TypeTraits::Singular> |
| inline bool HasExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id) const { |
| return _impl_._extensions_.Has(id.number()); |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed> |
| inline void ClearExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id) { |
| _impl_._extensions_.ClearExtension(id.number()); |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed, |
| typename = typename _proto_TypeTraits::Repeated> |
| inline int ExtensionSize( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id) const { |
| return _impl_._extensions_.ExtensionSize(id.number()); |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed, |
| std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
| inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id) const { |
| return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed, |
| std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
| inline typename _proto_TypeTraits::Singular::ConstType GetExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id) const |
| ABSL_ATTRIBUTE_LIFETIME_BOUND { |
| return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, id.default_value()); |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed> |
| inline typename _proto_TypeTraits::Singular::MutableType MutableExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id) |
| ABSL_ATTRIBUTE_LIFETIME_BOUND { |
| return _proto_TypeTraits::Mutable(id.number(), _field_type, &_impl_._extensions_); |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed> |
| inline void SetExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id, |
| typename _proto_TypeTraits::Singular::ConstType value) { |
| _proto_TypeTraits::Set(id.number(), _field_type, value, &_impl_._extensions_); |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed> |
| inline void SetAllocatedExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id, |
| typename _proto_TypeTraits::Singular::MutableType value) { |
| _proto_TypeTraits::SetAllocated(id.number(), _field_type, value, |
| &_impl_._extensions_); |
| } |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed> |
| inline void UnsafeArenaSetAllocatedExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id, |
| typename _proto_TypeTraits::Singular::MutableType value) { |
| _proto_TypeTraits::UnsafeArenaSetAllocated(id.number(), _field_type, |
| value, &_impl_._extensions_); |
| } |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed> |
| PROTOBUF_NODISCARD inline |
| typename _proto_TypeTraits::Singular::MutableType |
| ReleaseExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id) { |
| return _proto_TypeTraits::Release(id.number(), _field_type, &_impl_._extensions_); |
| } |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed> |
| inline typename _proto_TypeTraits::Singular::MutableType |
| UnsafeArenaReleaseExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id) { |
| return _proto_TypeTraits::UnsafeArenaRelease(id.number(), _field_type, |
| &_impl_._extensions_); |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed, |
| std::enable_if_t<!_proto_TypeTraits::kLifetimeBound, int> = 0> |
| inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id, |
| int index) const { |
| return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed, |
| std::enable_if_t<_proto_TypeTraits::kLifetimeBound, int> = 0> |
| inline typename _proto_TypeTraits::Repeated::ConstType GetExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id, |
| int index) const ABSL_ATTRIBUTE_LIFETIME_BOUND { |
| return _proto_TypeTraits::Get(id.number(), _impl_._extensions_, index); |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed> |
| inline typename _proto_TypeTraits::Repeated::MutableType MutableExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id, |
| int index) ABSL_ATTRIBUTE_LIFETIME_BOUND { |
| return _proto_TypeTraits::Mutable(id.number(), index, &_impl_._extensions_); |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed> |
| inline void SetExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id, |
| int index, typename _proto_TypeTraits::Repeated::ConstType value) { |
| _proto_TypeTraits::Set(id.number(), index, value, &_impl_._extensions_); |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed> |
| inline typename _proto_TypeTraits::Repeated::MutableType AddExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id) |
| ABSL_ATTRIBUTE_LIFETIME_BOUND { |
| typename _proto_TypeTraits::Repeated::MutableType to_add = |
| _proto_TypeTraits::Add(id.number(), _field_type, &_impl_._extensions_); |
| return to_add; |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed> |
| inline void AddExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id, |
| typename _proto_TypeTraits::Repeated::ConstType value) { |
| _proto_TypeTraits::Add(id.number(), _field_type, _is_packed, value, |
| &_impl_._extensions_); |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed> |
| inline const typename _proto_TypeTraits::Repeated::RepeatedFieldType& |
| GetRepeatedExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id) const |
| ABSL_ATTRIBUTE_LIFETIME_BOUND { |
| return _proto_TypeTraits::GetRepeated(id.number(), _impl_._extensions_); |
| } |
| |
| template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type, |
| bool _is_packed> |
| inline typename _proto_TypeTraits::Repeated::RepeatedFieldType* |
| MutableRepeatedExtension( |
| const ::google::protobuf::internal::ExtensionIdentifier<FeatureSet, _proto_TypeTraits, |
| _field_type, _is_packed>& id) |
| ABSL_ATTRIBUTE_LIFETIME_BOUND { |
| return _proto_TypeTraits::MutableRepeated(id.number(), _field_type, |
| _is_packed, &_impl_._extensions_); |
| } |
| // @@protoc_insertion_point(class_scope:google.protobuf.FeatureSet) |
| private: |
| class _Internal; |
| friend class ::google::protobuf::internal::TcParser; |
| static const ::google::protobuf::internal::TcParseTable< |
| 3, 6, 6, |
| 0, 2> |
| _table_; |
| |
| static constexpr const void* _raw_default_instance_ = |
| &_FeatureSet_default_instance_; |
| |
| friend class ::google::protobuf::MessageLite; |
| friend class ::google::protobuf::Arena; |
| template <typename T> |
| friend class ::google::protobuf::Arena::InternalHelper; |
| using InternalArenaConstructable_ = void; |
| using DestructorSkippable_ = void; |
| struct Impl_ { |
| inline explicit constexpr Impl_( |
| ::google::protobuf::internal::ConstantInitialized) noexcept; |
| inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena); |
| inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, |
| ::google::protobuf::Arena* arena, const Impl_& from, |
| const FeatureSet& from_msg); |
| ::google::protobuf::internal::ExtensionSet _extensions_; |
| ::google::protobuf::internal::HasBits<1> _has_bits_; |
| mutable ::google::protobuf::internal::CachedSize _cached_size_; |
| int field_presence_; |
| int enum_type_; |
| int repeated_field_encoding_; |
| int utf8_validation_; |
| int message_encoding_; |
| int json_format_; |
| PROTOBUF_TSAN_DECLARE_MEMBER |
| }; |
| union { Impl_ _impl_; }; |
| friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto; |
| }; |
| // ------------------------------------------------------------------- |
| |
| class PROTOBUF_EXPORT ExtensionRangeOptions_Declaration final : public ::google::protobuf::Message |
| /* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions.Declaration) */ { |
| public: |
| inline ExtensionRangeOptions_Declaration() : ExtensionRangeOptions_Declaration(nullptr) {} |
| ~ExtensionRangeOptions_Declaration() override; |
| template <typename = void> |
| explicit PROTOBUF_CONSTEXPR ExtensionRangeOptions_Declaration( |
| ::google::protobuf::internal::ConstantInitialized); |
| |
| inline ExtensionRangeOptions_Declaration(const ExtensionRangeOptions_Declaration& from) : ExtensionRangeOptions_Declaration(nullptr, from) {} |
| inline ExtensionRangeOptions_Declaration(ExtensionRangeOptions_Declaration&& from) noexcept |
| : ExtensionRangeOptions_Declaration(nullptr, std::move(from)) {} |
| inline ExtensionRangeOptions_Declaration& operator=(const ExtensionRangeOptions_Declaration& from) { |
| CopyFrom(from); |
| return *this; |
| } |
| inline ExtensionRangeOptions_Declaration& operator=(ExtensionRangeOptions_Declaration&& from) noexcept { |
| if (this == &from) return *this; |
| if (GetArena() == from.GetArena() |
| #ifdef PROTOBUF_FORCE_COPY_IN_MOVE |
| && GetArena() != nullptr |
| #endif // !PROTOBUF_FORCE_COPY_IN_MOVE |
| ) { |
| 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* mutable_unknown_fields() |
| ABSL_ATTRIBUTE_LIFETIME_BOUND { |
| return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); |
| } |
| |
| static const ::google::protobuf::Descriptor* descriptor() { |
| return GetDescriptor(); |
| } |
| static const ::google::protobuf::Descriptor* GetDescriptor() { |
| return default_instance().GetMetadata().descriptor; |
| } |
| static const ::google::protobuf::Reflection* GetReflection() { |
| return default_instance().GetMetadata().reflection; |
| } |
| static const ExtensionRangeOptions_Declaration& default_instance() { |
| return *internal_default_instance(); |
| } |
| static inline const ExtensionRangeOptions_Declaration* internal_default_instance() { |
| return reinterpret_cast<const ExtensionRangeOptions_Declaration*>( |
| &_ExtensionRangeOptions_Declaration_default_instance_); |
| } |
| static constexpr int kIndexInFileMessages = 5; |
| friend void swap(ExtensionRangeOptions_Declaration& a, ExtensionRangeOptions_Declaration& b) { a.Swap(&b); } |
| inline void Swap(ExtensionRangeOptions_Declaration* other) { |
| if (other == this) return; |
| #ifdef PROTOBUF_FORCE_COPY_IN_SWAP |
| if (GetArena() != nullptr && GetArena() == other->GetArena()) { |
| #else // PROTOBUF_FORCE_COPY_IN_SWAP |
| if (GetArena() == other->GetArena()) { |
| #endif // !PROTOBUF_FORCE_COPY_IN_SWAP |
| InternalSwap(other); |
| } else { |
| ::google::protobuf::internal::GenericSwap(this, other); |
| } |
| }
|