blob: f97e944d7004685aab9b0b6138d212770f5f9943 [file] [log] [blame]
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/protobuf/descriptor.proto
// Protobuf C++ Version: 6.33.0-rc1
#ifndef google_2fprotobuf_2fdescriptor_2eproto_2epb_2eh
#define google_2fprotobuf_2fdescriptor_2eproto_2epb_2eh
#include <limits>
#include <string>
#include <type_traits>
#include <utility>
#include "google/protobuf/runtime_version.h"
#if PROTOBUF_VERSION != 6033000
#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_bases.h"
#include "google/protobuf/generated_message_tctable_decl.h"
#include "google/protobuf/generated_message_util.h"
#include "google/protobuf/metadata_lite.h"
#include "google/protobuf/generated_message_reflection.h"
#include "google/protobuf/message.h"
#include "google/protobuf/message_lite.h"
#include "google/protobuf/repeated_field.h" // IWYU pragma: export
#include "google/protobuf/extension_set.h" // IWYU pragma: export
#include "google/protobuf/generated_enum_reflection.h"
#include "google/protobuf/unknown_field_set.h"
// @@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 {
template <typename T>
::absl::string_view GetAnyMessageName();
} // 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[];
};
extern "C" {
PROTOBUF_EXPORT extern const ::google::protobuf::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fdescriptor_2eproto;
} // extern "C"
namespace google {
namespace protobuf {
enum Edition : int;
PROTOBUF_EXPORT extern const uint32_t Edition_internal_data_[];
enum ExtensionRangeOptions_VerificationState : int;
PROTOBUF_EXPORT extern const uint32_t ExtensionRangeOptions_VerificationState_internal_data_[];
enum FeatureSet_EnforceNamingStyle : int;
PROTOBUF_EXPORT extern const uint32_t FeatureSet_EnforceNamingStyle_internal_data_[];
enum FeatureSet_EnumType : int;
PROTOBUF_EXPORT extern const uint32_t FeatureSet_EnumType_internal_data_[];
enum FeatureSet_FieldPresence : int;
PROTOBUF_EXPORT extern const uint32_t FeatureSet_FieldPresence_internal_data_[];
enum FeatureSet_JsonFormat : int;
PROTOBUF_EXPORT extern const uint32_t FeatureSet_JsonFormat_internal_data_[];
enum FeatureSet_MessageEncoding : int;
PROTOBUF_EXPORT extern const uint32_t FeatureSet_MessageEncoding_internal_data_[];
enum FeatureSet_RepeatedFieldEncoding : int;
PROTOBUF_EXPORT extern const uint32_t FeatureSet_RepeatedFieldEncoding_internal_data_[];
enum FeatureSet_Utf8Validation : int;
PROTOBUF_EXPORT extern const uint32_t FeatureSet_Utf8Validation_internal_data_[];
enum FeatureSet_VisibilityFeature_DefaultSymbolVisibility : int;
PROTOBUF_EXPORT extern const uint32_t FeatureSet_VisibilityFeature_DefaultSymbolVisibility_internal_data_[];
enum FieldDescriptorProto_Label : int;
PROTOBUF_EXPORT extern const uint32_t FieldDescriptorProto_Label_internal_data_[];
enum FieldDescriptorProto_Type : int;
PROTOBUF_EXPORT extern const uint32_t FieldDescriptorProto_Type_internal_data_[];
enum FieldOptions_CType : int;
PROTOBUF_EXPORT extern const uint32_t FieldOptions_CType_internal_data_[];
enum FieldOptions_JSType : int;
PROTOBUF_EXPORT extern const uint32_t FieldOptions_JSType_internal_data_[];
enum FieldOptions_OptionRetention : int;
PROTOBUF_EXPORT extern const uint32_t FieldOptions_OptionRetention_internal_data_[];
enum FieldOptions_OptionTargetType : int;
PROTOBUF_EXPORT extern const uint32_t FieldOptions_OptionTargetType_internal_data_[];
enum FileOptions_OptimizeMode : int;
PROTOBUF_EXPORT extern const uint32_t FileOptions_OptimizeMode_internal_data_[];
enum GeneratedCodeInfo_Annotation_Semantic : int;
PROTOBUF_EXPORT extern const uint32_t GeneratedCodeInfo_Annotation_Semantic_internal_data_[];
enum MethodOptions_IdempotencyLevel : int;
PROTOBUF_EXPORT extern const uint32_t MethodOptions_IdempotencyLevel_internal_data_[];
enum SymbolVisibility : int;
PROTOBUF_EXPORT extern const uint32_t SymbolVisibility_internal_data_[];
class DescriptorProto;
struct DescriptorProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern DescriptorProtoDefaultTypeInternal _DescriptorProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_class_data_;
class DescriptorProto_ExtensionRange;
struct DescriptorProto_ExtensionRangeDefaultTypeInternal;
PROTOBUF_EXPORT extern DescriptorProto_ExtensionRangeDefaultTypeInternal _DescriptorProto_ExtensionRange_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_ExtensionRange_class_data_;
class DescriptorProto_ReservedRange;
struct DescriptorProto_ReservedRangeDefaultTypeInternal;
PROTOBUF_EXPORT extern DescriptorProto_ReservedRangeDefaultTypeInternal _DescriptorProto_ReservedRange_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_ReservedRange_class_data_;
class EnumDescriptorProto;
struct EnumDescriptorProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern EnumDescriptorProtoDefaultTypeInternal _EnumDescriptorProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_class_data_;
class EnumDescriptorProto_EnumReservedRange;
struct EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal;
PROTOBUF_EXPORT extern EnumDescriptorProto_EnumReservedRangeDefaultTypeInternal _EnumDescriptorProto_EnumReservedRange_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_EnumReservedRange_class_data_;
class EnumOptions;
struct EnumOptionsDefaultTypeInternal;
PROTOBUF_EXPORT extern EnumOptionsDefaultTypeInternal _EnumOptions_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumOptions_class_data_;
class EnumValueDescriptorProto;
struct EnumValueDescriptorProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern EnumValueDescriptorProtoDefaultTypeInternal _EnumValueDescriptorProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumValueDescriptorProto_class_data_;
class EnumValueOptions;
struct EnumValueOptionsDefaultTypeInternal;
PROTOBUF_EXPORT extern EnumValueOptionsDefaultTypeInternal _EnumValueOptions_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumValueOptions_class_data_;
class ExtensionRangeOptions;
struct ExtensionRangeOptionsDefaultTypeInternal;
PROTOBUF_EXPORT extern ExtensionRangeOptionsDefaultTypeInternal _ExtensionRangeOptions_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_class_data_;
class ExtensionRangeOptions_Declaration;
struct ExtensionRangeOptions_DeclarationDefaultTypeInternal;
PROTOBUF_EXPORT extern ExtensionRangeOptions_DeclarationDefaultTypeInternal _ExtensionRangeOptions_Declaration_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_Declaration_class_data_;
class FeatureSet;
struct FeatureSetDefaultTypeInternal;
PROTOBUF_EXPORT extern FeatureSetDefaultTypeInternal _FeatureSet_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSet_class_data_;
class FeatureSetDefaults;
struct FeatureSetDefaultsDefaultTypeInternal;
PROTOBUF_EXPORT extern FeatureSetDefaultsDefaultTypeInternal _FeatureSetDefaults_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_class_data_;
class FeatureSetDefaults_FeatureSetEditionDefault;
struct FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal;
PROTOBUF_EXPORT extern FeatureSetDefaults_FeatureSetEditionDefaultDefaultTypeInternal _FeatureSetDefaults_FeatureSetEditionDefault_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_FeatureSetEditionDefault_class_data_;
class FeatureSet_VisibilityFeature;
struct FeatureSet_VisibilityFeatureDefaultTypeInternal;
PROTOBUF_EXPORT extern FeatureSet_VisibilityFeatureDefaultTypeInternal _FeatureSet_VisibilityFeature_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSet_VisibilityFeature_class_data_;
class FieldDescriptorProto;
struct FieldDescriptorProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern FieldDescriptorProtoDefaultTypeInternal _FieldDescriptorProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldDescriptorProto_class_data_;
class FieldOptions;
struct FieldOptionsDefaultTypeInternal;
PROTOBUF_EXPORT extern FieldOptionsDefaultTypeInternal _FieldOptions_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_class_data_;
class FieldOptions_EditionDefault;
struct FieldOptions_EditionDefaultDefaultTypeInternal;
PROTOBUF_EXPORT extern FieldOptions_EditionDefaultDefaultTypeInternal _FieldOptions_EditionDefault_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_EditionDefault_class_data_;
class FieldOptions_FeatureSupport;
struct FieldOptions_FeatureSupportDefaultTypeInternal;
PROTOBUF_EXPORT extern FieldOptions_FeatureSupportDefaultTypeInternal _FieldOptions_FeatureSupport_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_FeatureSupport_class_data_;
class FileDescriptorProto;
struct FileDescriptorProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern FileDescriptorProtoDefaultTypeInternal _FileDescriptorProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileDescriptorProto_class_data_;
class FileDescriptorSet;
struct FileDescriptorSetDefaultTypeInternal;
PROTOBUF_EXPORT extern FileDescriptorSetDefaultTypeInternal _FileDescriptorSet_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileDescriptorSet_class_data_;
class FileOptions;
struct FileOptionsDefaultTypeInternal;
PROTOBUF_EXPORT extern FileOptionsDefaultTypeInternal _FileOptions_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileOptions_class_data_;
class GeneratedCodeInfo;
struct GeneratedCodeInfoDefaultTypeInternal;
PROTOBUF_EXPORT extern GeneratedCodeInfoDefaultTypeInternal _GeneratedCodeInfo_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_class_data_;
class GeneratedCodeInfo_Annotation;
struct GeneratedCodeInfo_AnnotationDefaultTypeInternal;
PROTOBUF_EXPORT extern GeneratedCodeInfo_AnnotationDefaultTypeInternal _GeneratedCodeInfo_Annotation_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_Annotation_class_data_;
class MessageOptions;
struct MessageOptionsDefaultTypeInternal;
PROTOBUF_EXPORT extern MessageOptionsDefaultTypeInternal _MessageOptions_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MessageOptions_class_data_;
class MethodDescriptorProto;
struct MethodDescriptorProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern MethodDescriptorProtoDefaultTypeInternal _MethodDescriptorProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MethodDescriptorProto_class_data_;
class MethodOptions;
struct MethodOptionsDefaultTypeInternal;
PROTOBUF_EXPORT extern MethodOptionsDefaultTypeInternal _MethodOptions_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MethodOptions_class_data_;
class OneofDescriptorProto;
struct OneofDescriptorProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern OneofDescriptorProtoDefaultTypeInternal _OneofDescriptorProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull OneofDescriptorProto_class_data_;
class OneofOptions;
struct OneofOptionsDefaultTypeInternal;
PROTOBUF_EXPORT extern OneofOptionsDefaultTypeInternal _OneofOptions_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull OneofOptions_class_data_;
class ServiceDescriptorProto;
struct ServiceDescriptorProtoDefaultTypeInternal;
PROTOBUF_EXPORT extern ServiceDescriptorProtoDefaultTypeInternal _ServiceDescriptorProto_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ServiceDescriptorProto_class_data_;
class ServiceOptions;
struct ServiceOptionsDefaultTypeInternal;
PROTOBUF_EXPORT extern ServiceOptionsDefaultTypeInternal _ServiceOptions_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ServiceOptions_class_data_;
class SourceCodeInfo;
struct SourceCodeInfoDefaultTypeInternal;
PROTOBUF_EXPORT extern SourceCodeInfoDefaultTypeInternal _SourceCodeInfo_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull SourceCodeInfo_class_data_;
class SourceCodeInfo_Location;
struct SourceCodeInfo_LocationDefaultTypeInternal;
PROTOBUF_EXPORT extern SourceCodeInfo_LocationDefaultTypeInternal _SourceCodeInfo_Location_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull SourceCodeInfo_Location_class_data_;
class UninterpretedOption;
struct UninterpretedOptionDefaultTypeInternal;
PROTOBUF_EXPORT extern UninterpretedOptionDefaultTypeInternal _UninterpretedOption_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull UninterpretedOption_class_data_;
class UninterpretedOption_NamePart;
struct UninterpretedOption_NamePartDefaultTypeInternal;
PROTOBUF_EXPORT extern UninterpretedOption_NamePartDefaultTypeInternal _UninterpretedOption_NamePart_default_instance_;
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull UninterpretedOption_NamePart_class_data_;
template <>
internal::EnumTraitsT<::google::protobuf::Edition_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::Edition>;
template <>
internal::EnumTraitsT<::google::protobuf::ExtensionRangeOptions_VerificationState_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::ExtensionRangeOptions_VerificationState>;
template <>
internal::EnumTraitsT<::google::protobuf::FeatureSet_EnforceNamingStyle_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FeatureSet_EnforceNamingStyle>;
template <>
internal::EnumTraitsT<::google::protobuf::FeatureSet_EnumType_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FeatureSet_EnumType>;
template <>
internal::EnumTraitsT<::google::protobuf::FeatureSet_FieldPresence_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FeatureSet_FieldPresence>;
template <>
internal::EnumTraitsT<::google::protobuf::FeatureSet_JsonFormat_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FeatureSet_JsonFormat>;
template <>
internal::EnumTraitsT<::google::protobuf::FeatureSet_MessageEncoding_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FeatureSet_MessageEncoding>;
template <>
internal::EnumTraitsT<::google::protobuf::FeatureSet_RepeatedFieldEncoding_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FeatureSet_RepeatedFieldEncoding>;
template <>
internal::EnumTraitsT<::google::protobuf::FeatureSet_Utf8Validation_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FeatureSet_Utf8Validation>;
template <>
internal::EnumTraitsT<::google::protobuf::FeatureSet_VisibilityFeature_DefaultSymbolVisibility_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FeatureSet_VisibilityFeature_DefaultSymbolVisibility>;
template <>
internal::EnumTraitsT<::google::protobuf::FieldDescriptorProto_Label_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FieldDescriptorProto_Label>;
template <>
internal::EnumTraitsT<::google::protobuf::FieldDescriptorProto_Type_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FieldDescriptorProto_Type>;
template <>
internal::EnumTraitsT<::google::protobuf::FieldOptions_CType_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FieldOptions_CType>;
template <>
internal::EnumTraitsT<::google::protobuf::FieldOptions_JSType_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FieldOptions_JSType>;
template <>
internal::EnumTraitsT<::google::protobuf::FieldOptions_OptionRetention_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FieldOptions_OptionRetention>;
template <>
internal::EnumTraitsT<::google::protobuf::FieldOptions_OptionTargetType_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FieldOptions_OptionTargetType>;
template <>
internal::EnumTraitsT<::google::protobuf::FileOptions_OptimizeMode_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::FileOptions_OptimizeMode>;
template <>
internal::EnumTraitsT<::google::protobuf::GeneratedCodeInfo_Annotation_Semantic_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::GeneratedCodeInfo_Annotation_Semantic>;
template <>
internal::EnumTraitsT<::google::protobuf::MethodOptions_IdempotencyLevel_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::MethodOptions_IdempotencyLevel>;
template <>
internal::EnumTraitsT<::google::protobuf::SymbolVisibility_internal_data_>
internal::EnumTraitsImpl::value<::google::protobuf::SymbolVisibility>;
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 extern const uint32_t ExtensionRangeOptions_VerificationState_internal_data_[];
inline constexpr ExtensionRangeOptions_VerificationState ExtensionRangeOptions_VerificationState_VerificationState_MIN =
static_cast<ExtensionRangeOptions_VerificationState>(0);
inline constexpr ExtensionRangeOptions_VerificationState ExtensionRangeOptions_VerificationState_VerificationState_MAX =
static_cast<ExtensionRangeOptions_VerificationState>(1);
inline bool ExtensionRangeOptions_VerificationState_IsValid(int value) {
return 0 <= value && value <= 1;
}
inline constexpr int ExtensionRangeOptions_VerificationState_VerificationState_ARRAYSIZE = 1 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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 extern const uint32_t FieldDescriptorProto_Type_internal_data_[];
inline constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN =
static_cast<FieldDescriptorProto_Type>(1);
inline constexpr FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX =
static_cast<FieldDescriptorProto_Type>(18);
inline bool FieldDescriptorProto_Type_IsValid(int value) {
return 1 <= value && value <= 18;
}
inline constexpr int FieldDescriptorProto_Type_Type_ARRAYSIZE = 18 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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 extern const uint32_t FieldDescriptorProto_Label_internal_data_[];
inline constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN =
static_cast<FieldDescriptorProto_Label>(1);
inline constexpr FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX =
static_cast<FieldDescriptorProto_Label>(3);
inline bool FieldDescriptorProto_Label_IsValid(int value) {
return 1 <= value && value <= 3;
}
inline constexpr int FieldDescriptorProto_Label_Label_ARRAYSIZE = 3 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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 extern const uint32_t FileOptions_OptimizeMode_internal_data_[];
inline constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN =
static_cast<FileOptions_OptimizeMode>(1);
inline constexpr FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX =
static_cast<FileOptions_OptimizeMode>(3);
inline bool FileOptions_OptimizeMode_IsValid(int value) {
return 1 <= value && value <= 3;
}
inline constexpr int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = 3 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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 extern const uint32_t FieldOptions_CType_internal_data_[];
inline constexpr FieldOptions_CType FieldOptions_CType_CType_MIN =
static_cast<FieldOptions_CType>(0);
inline constexpr FieldOptions_CType FieldOptions_CType_CType_MAX =
static_cast<FieldOptions_CType>(2);
inline bool FieldOptions_CType_IsValid(int value) {
return 0 <= value && value <= 2;
}
inline constexpr int FieldOptions_CType_CType_ARRAYSIZE = 2 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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 extern const uint32_t FieldOptions_JSType_internal_data_[];
inline constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MIN =
static_cast<FieldOptions_JSType>(0);
inline constexpr FieldOptions_JSType FieldOptions_JSType_JSType_MAX =
static_cast<FieldOptions_JSType>(2);
inline bool FieldOptions_JSType_IsValid(int value) {
return 0 <= value && value <= 2;
}
inline constexpr int FieldOptions_JSType_JSType_ARRAYSIZE = 2 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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 extern const uint32_t FieldOptions_OptionRetention_internal_data_[];
inline constexpr FieldOptions_OptionRetention FieldOptions_OptionRetention_OptionRetention_MIN =
static_cast<FieldOptions_OptionRetention>(0);
inline constexpr FieldOptions_OptionRetention FieldOptions_OptionRetention_OptionRetention_MAX =
static_cast<FieldOptions_OptionRetention>(2);
inline bool FieldOptions_OptionRetention_IsValid(int value) {
return 0 <= value && value <= 2;
}
inline constexpr int FieldOptions_OptionRetention_OptionRetention_ARRAYSIZE = 2 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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 extern const uint32_t FieldOptions_OptionTargetType_internal_data_[];
inline constexpr FieldOptions_OptionTargetType FieldOptions_OptionTargetType_OptionTargetType_MIN =
static_cast<FieldOptions_OptionTargetType>(0);
inline constexpr FieldOptions_OptionTargetType FieldOptions_OptionTargetType_OptionTargetType_MAX =
static_cast<FieldOptions_OptionTargetType>(9);
inline bool FieldOptions_OptionTargetType_IsValid(int value) {
return 0 <= value && value <= 9;
}
inline constexpr int FieldOptions_OptionTargetType_OptionTargetType_ARRAYSIZE = 9 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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 extern const uint32_t MethodOptions_IdempotencyLevel_internal_data_[];
inline constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN =
static_cast<MethodOptions_IdempotencyLevel>(0);
inline constexpr MethodOptions_IdempotencyLevel MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX =
static_cast<MethodOptions_IdempotencyLevel>(2);
inline bool MethodOptions_IdempotencyLevel_IsValid(int value) {
return 0 <= value && value <= 2;
}
inline constexpr int MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE = 2 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL value) {
return ::google::protobuf::internal::ParseNamedEnum<MethodOptions_IdempotencyLevel>(MethodOptions_IdempotencyLevel_descriptor(), name,
value);
}
enum FeatureSet_VisibilityFeature_DefaultSymbolVisibility : int {
FeatureSet_VisibilityFeature_DefaultSymbolVisibility_DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0,
FeatureSet_VisibilityFeature_DefaultSymbolVisibility_EXPORT_ALL = 1,
FeatureSet_VisibilityFeature_DefaultSymbolVisibility_EXPORT_TOP_LEVEL = 2,
FeatureSet_VisibilityFeature_DefaultSymbolVisibility_LOCAL_ALL = 3,
FeatureSet_VisibilityFeature_DefaultSymbolVisibility_STRICT = 4,
};
PROTOBUF_EXPORT extern const uint32_t FeatureSet_VisibilityFeature_DefaultSymbolVisibility_internal_data_[];
inline constexpr FeatureSet_VisibilityFeature_DefaultSymbolVisibility FeatureSet_VisibilityFeature_DefaultSymbolVisibility_DefaultSymbolVisibility_MIN =
static_cast<FeatureSet_VisibilityFeature_DefaultSymbolVisibility>(0);
inline constexpr FeatureSet_VisibilityFeature_DefaultSymbolVisibility FeatureSet_VisibilityFeature_DefaultSymbolVisibility_DefaultSymbolVisibility_MAX =
static_cast<FeatureSet_VisibilityFeature_DefaultSymbolVisibility>(4);
inline bool FeatureSet_VisibilityFeature_DefaultSymbolVisibility_IsValid(int value) {
return 0 <= value && value <= 4;
}
inline constexpr int FeatureSet_VisibilityFeature_DefaultSymbolVisibility_DefaultSymbolVisibility_ARRAYSIZE = 4 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL FeatureSet_VisibilityFeature_DefaultSymbolVisibility_descriptor();
template <typename T>
const ::std::string& FeatureSet_VisibilityFeature_DefaultSymbolVisibility_Name(T value) {
static_assert(::std::is_same<T, FeatureSet_VisibilityFeature_DefaultSymbolVisibility>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to DefaultSymbolVisibility_Name().");
return FeatureSet_VisibilityFeature_DefaultSymbolVisibility_Name(static_cast<FeatureSet_VisibilityFeature_DefaultSymbolVisibility>(value));
}
template <>
inline const ::std::string& FeatureSet_VisibilityFeature_DefaultSymbolVisibility_Name(FeatureSet_VisibilityFeature_DefaultSymbolVisibility value) {
return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_VisibilityFeature_DefaultSymbolVisibility_descriptor, 0, 4>(
static_cast<int>(value));
}
inline bool FeatureSet_VisibilityFeature_DefaultSymbolVisibility_Parse(
::absl::string_view name, FeatureSet_VisibilityFeature_DefaultSymbolVisibility* PROTOBUF_NONNULL value) {
return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_VisibilityFeature_DefaultSymbolVisibility>(FeatureSet_VisibilityFeature_DefaultSymbolVisibility_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 extern const uint32_t FeatureSet_FieldPresence_internal_data_[];
inline constexpr FeatureSet_FieldPresence FeatureSet_FieldPresence_FieldPresence_MIN =
static_cast<FeatureSet_FieldPresence>(0);
inline constexpr FeatureSet_FieldPresence FeatureSet_FieldPresence_FieldPresence_MAX =
static_cast<FeatureSet_FieldPresence>(3);
inline bool FeatureSet_FieldPresence_IsValid(int value) {
return 0 <= value && value <= 3;
}
inline constexpr int FeatureSet_FieldPresence_FieldPresence_ARRAYSIZE = 3 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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 extern const uint32_t FeatureSet_EnumType_internal_data_[];
inline constexpr FeatureSet_EnumType FeatureSet_EnumType_EnumType_MIN =
static_cast<FeatureSet_EnumType>(0);
inline constexpr FeatureSet_EnumType FeatureSet_EnumType_EnumType_MAX =
static_cast<FeatureSet_EnumType>(2);
inline bool FeatureSet_EnumType_IsValid(int value) {
return 0 <= value && value <= 2;
}
inline constexpr int FeatureSet_EnumType_EnumType_ARRAYSIZE = 2 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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 extern const uint32_t FeatureSet_RepeatedFieldEncoding_internal_data_[];
inline constexpr FeatureSet_RepeatedFieldEncoding FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_MIN =
static_cast<FeatureSet_RepeatedFieldEncoding>(0);
inline constexpr FeatureSet_RepeatedFieldEncoding FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_MAX =
static_cast<FeatureSet_RepeatedFieldEncoding>(2);
inline bool FeatureSet_RepeatedFieldEncoding_IsValid(int value) {
return 0 <= value && value <= 2;
}
inline constexpr int FeatureSet_RepeatedFieldEncoding_RepeatedFieldEncoding_ARRAYSIZE = 2 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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 extern const uint32_t FeatureSet_Utf8Validation_internal_data_[];
inline constexpr FeatureSet_Utf8Validation FeatureSet_Utf8Validation_Utf8Validation_MIN =
static_cast<FeatureSet_Utf8Validation>(0);
inline constexpr FeatureSet_Utf8Validation FeatureSet_Utf8Validation_Utf8Validation_MAX =
static_cast<FeatureSet_Utf8Validation>(3);
inline bool FeatureSet_Utf8Validation_IsValid(int value) {
return 0 <= value && value <= 3 && ((13u >> value) & 1) != 0;
}
inline constexpr int FeatureSet_Utf8Validation_Utf8Validation_ARRAYSIZE = 3 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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 extern const uint32_t FeatureSet_MessageEncoding_internal_data_[];
inline constexpr FeatureSet_MessageEncoding FeatureSet_MessageEncoding_MessageEncoding_MIN =
static_cast<FeatureSet_MessageEncoding>(0);
inline constexpr FeatureSet_MessageEncoding FeatureSet_MessageEncoding_MessageEncoding_MAX =
static_cast<FeatureSet_MessageEncoding>(2);
inline bool FeatureSet_MessageEncoding_IsValid(int value) {
return 0 <= value && value <= 2;
}
inline constexpr int FeatureSet_MessageEncoding_MessageEncoding_ARRAYSIZE = 2 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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 extern const uint32_t FeatureSet_JsonFormat_internal_data_[];
inline constexpr FeatureSet_JsonFormat FeatureSet_JsonFormat_JsonFormat_MIN =
static_cast<FeatureSet_JsonFormat>(0);
inline constexpr FeatureSet_JsonFormat FeatureSet_JsonFormat_JsonFormat_MAX =
static_cast<FeatureSet_JsonFormat>(2);
inline bool FeatureSet_JsonFormat_IsValid(int value) {
return 0 <= value && value <= 2;
}
inline constexpr int FeatureSet_JsonFormat_JsonFormat_ARRAYSIZE = 2 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL value) {
return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_JsonFormat>(FeatureSet_JsonFormat_descriptor(), name,
value);
}
enum FeatureSet_EnforceNamingStyle : int {
FeatureSet_EnforceNamingStyle_ENFORCE_NAMING_STYLE_UNKNOWN = 0,
FeatureSet_EnforceNamingStyle_STYLE2024 = 1,
FeatureSet_EnforceNamingStyle_STYLE_LEGACY = 2,
};
PROTOBUF_EXPORT extern const uint32_t FeatureSet_EnforceNamingStyle_internal_data_[];
inline constexpr FeatureSet_EnforceNamingStyle FeatureSet_EnforceNamingStyle_EnforceNamingStyle_MIN =
static_cast<FeatureSet_EnforceNamingStyle>(0);
inline constexpr FeatureSet_EnforceNamingStyle FeatureSet_EnforceNamingStyle_EnforceNamingStyle_MAX =
static_cast<FeatureSet_EnforceNamingStyle>(2);
inline bool FeatureSet_EnforceNamingStyle_IsValid(int value) {
return 0 <= value && value <= 2;
}
inline constexpr int FeatureSet_EnforceNamingStyle_EnforceNamingStyle_ARRAYSIZE = 2 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL FeatureSet_EnforceNamingStyle_descriptor();
template <typename T>
const ::std::string& FeatureSet_EnforceNamingStyle_Name(T value) {
static_assert(::std::is_same<T, FeatureSet_EnforceNamingStyle>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to EnforceNamingStyle_Name().");
return FeatureSet_EnforceNamingStyle_Name(static_cast<FeatureSet_EnforceNamingStyle>(value));
}
template <>
inline const ::std::string& FeatureSet_EnforceNamingStyle_Name(FeatureSet_EnforceNamingStyle value) {
return ::google::protobuf::internal::NameOfDenseEnum<FeatureSet_EnforceNamingStyle_descriptor, 0, 2>(
static_cast<int>(value));
}
inline bool FeatureSet_EnforceNamingStyle_Parse(
::absl::string_view name, FeatureSet_EnforceNamingStyle* PROTOBUF_NONNULL value) {
return ::google::protobuf::internal::ParseNamedEnum<FeatureSet_EnforceNamingStyle>(FeatureSet_EnforceNamingStyle_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 extern const uint32_t GeneratedCodeInfo_Annotation_Semantic_internal_data_[];
inline constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation_Semantic_Semantic_MIN =
static_cast<GeneratedCodeInfo_Annotation_Semantic>(0);
inline constexpr GeneratedCodeInfo_Annotation_Semantic GeneratedCodeInfo_Annotation_Semantic_Semantic_MAX =
static_cast<GeneratedCodeInfo_Annotation_Semantic>(2);
inline bool GeneratedCodeInfo_Annotation_Semantic_IsValid(int value) {
return 0 <= value && value <= 2;
}
inline constexpr int GeneratedCodeInfo_Annotation_Semantic_Semantic_ARRAYSIZE = 2 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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 extern const uint32_t Edition_internal_data_[];
inline constexpr Edition Edition_MIN =
static_cast<Edition>(0);
inline constexpr Edition Edition_MAX =
static_cast<Edition>(2147483647);
inline bool Edition_IsValid(int value) {
return ::google::protobuf::internal::ValidateEnum(value, Edition_internal_data_);
}
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL value) {
return ::google::protobuf::internal::ParseNamedEnum<Edition>(Edition_descriptor(), name,
value);
}
enum SymbolVisibility : int {
VISIBILITY_UNSET = 0,
VISIBILITY_LOCAL = 1,
VISIBILITY_EXPORT = 2,
};
PROTOBUF_EXPORT extern const uint32_t SymbolVisibility_internal_data_[];
inline constexpr SymbolVisibility SymbolVisibility_MIN =
static_cast<SymbolVisibility>(0);
inline constexpr SymbolVisibility SymbolVisibility_MAX =
static_cast<SymbolVisibility>(2);
inline bool SymbolVisibility_IsValid(int value) {
return 0 <= value && value <= 2;
}
inline constexpr int SymbolVisibility_ARRAYSIZE = 2 + 1;
PROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL SymbolVisibility_descriptor();
template <typename T>
const ::std::string& SymbolVisibility_Name(T value) {
static_assert(::std::is_same<T, SymbolVisibility>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to SymbolVisibility_Name().");
return SymbolVisibility_Name(static_cast<SymbolVisibility>(value));
}
template <>
inline const ::std::string& SymbolVisibility_Name(SymbolVisibility value) {
return ::google::protobuf::internal::NameOfDenseEnum<SymbolVisibility_descriptor, 0, 2>(
static_cast<int>(value));
}
inline bool SymbolVisibility_Parse(
::absl::string_view name, SymbolVisibility* PROTOBUF_NONNULL value) {
return ::google::protobuf::internal::ParseNamedEnum<SymbolVisibility>(SymbolVisibility_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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(UninterpretedOption_NamePart* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(UninterpretedOption_NamePart));
}
#endif
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 (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const UninterpretedOption_NamePart& 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* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(UninterpretedOption_NamePart* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
UninterpretedOption_NamePart* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(UninterpretedOption_NamePart* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.UninterpretedOption.NamePart"; }
explicit UninterpretedOption_NamePart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
UninterpretedOption_NamePart(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UninterpretedOption_NamePart& from);
UninterpretedOption_NamePart(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, UninterpretedOption_NamePart&& from) noexcept
: UninterpretedOption_NamePart(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::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* PROTOBUF_NONNULL mutable_name_part();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name_part();
void set_allocated_name_part(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_name_part() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_name_part(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _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, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const UninterpretedOption_NamePart& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::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;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull UninterpretedOption_NamePart_class_data_;
// -------------------------------------------------------------------
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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SourceCodeInfo_Location* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SourceCodeInfo_Location));
}
#endif
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 (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const SourceCodeInfo_Location& default_instance() {
return *reinterpret_cast<const SourceCodeInfo_Location*>(
&_SourceCodeInfo_Location_default_instance_);
}
static constexpr int kIndexInFileMessages = 30;
friend void swap(SourceCodeInfo_Location& a, SourceCodeInfo_Location& b) { a.Swap(&b); }
inline void Swap(SourceCodeInfo_Location* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SourceCodeInfo_Location* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SourceCodeInfo_Location* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SourceCodeInfo_Location* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.SourceCodeInfo.Location"; }
explicit SourceCodeInfo_Location(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SourceCodeInfo_Location(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SourceCodeInfo_Location& from);
SourceCodeInfo_Location(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SourceCodeInfo_Location&& from) noexcept
: SourceCodeInfo_Location(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::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>* PROTOBUF_NONNULL mutable_path();
private:
const ::google::protobuf::RepeatedField<::int32_t>& _internal_path() const;
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _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>* PROTOBUF_NONNULL mutable_span();
private:
const ::google::protobuf::RepeatedField<::int32_t>& _internal_span() const;
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _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* PROTOBUF_NONNULL mutable_leading_detached_comments(int index);
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_leading_detached_comments(int index, Arg_&& value, Args_... args);
::std::string* PROTOBUF_NONNULL add_leading_detached_comments();
template <typename Arg_ = const ::std::string&, typename... Args_>
void add_leading_detached_comments(Arg_&& value, Args_... args);
const ::google::protobuf::RepeatedPtrField<::std::string>& leading_detached_comments() const;
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_leading_detached_comments();
private:
const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_leading_detached_comments() const;
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _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* PROTOBUF_NONNULL mutable_leading_comments();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_leading_comments();
void set_allocated_leading_comments(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_leading_comments() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_leading_comments(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _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* PROTOBUF_NONNULL mutable_trailing_comments();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_trailing_comments();
void set_allocated_trailing_comments(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_trailing_comments() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_trailing_comments(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _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, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SourceCodeInfo_Location& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedField<::int32_t> path_;
::google::protobuf::internal::CachedSize _path_cached_byte_size_;
::google::protobuf::RepeatedField<::int32_t> span_;
::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;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull SourceCodeInfo_Location_class_data_;
// -------------------------------------------------------------------
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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(GeneratedCodeInfo_Annotation* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(GeneratedCodeInfo_Annotation));
}
#endif
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 (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const GeneratedCodeInfo_Annotation& default_instance() {
return *reinterpret_cast<const GeneratedCodeInfo_Annotation*>(
&_GeneratedCodeInfo_Annotation_default_instance_);
}
static constexpr int kIndexInFileMessages = 32;
friend void swap(GeneratedCodeInfo_Annotation& a, GeneratedCodeInfo_Annotation& b) { a.Swap(&b); }
inline void Swap(GeneratedCodeInfo_Annotation* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(GeneratedCodeInfo_Annotation* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
GeneratedCodeInfo_Annotation* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(GeneratedCodeInfo_Annotation* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.GeneratedCodeInfo.Annotation"; }
explicit GeneratedCodeInfo_Annotation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
GeneratedCodeInfo_Annotation(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GeneratedCodeInfo_Annotation& from);
GeneratedCodeInfo_Annotation(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GeneratedCodeInfo_Annotation&& from) noexcept
: GeneratedCodeInfo_Annotation(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::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* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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>* PROTOBUF_NONNULL mutable_path();
private:
const ::google::protobuf::RepeatedField<::int32_t>& _internal_path() const;
::google::protobuf::RepeatedField<::int32_t>* PROTOBUF_NONNULL _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* PROTOBUF_NONNULL mutable_source_file();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_source_file();
void set_allocated_source_file(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_source_file() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_source_file(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _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, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const GeneratedCodeInfo_Annotation& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedField<::int32_t> path_;
::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;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_Annotation_class_data_;
// -------------------------------------------------------------------
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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(FieldOptions_FeatureSupport* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(FieldOptions_FeatureSupport));
}
#endif
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 (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const FieldOptions_FeatureSupport& 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* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(FieldOptions_FeatureSupport* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
FieldOptions_FeatureSupport* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(FieldOptions_FeatureSupport* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.FieldOptions.FeatureSupport"; }
explicit FieldOptions_FeatureSupport(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
FieldOptions_FeatureSupport(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FieldOptions_FeatureSupport& from);
FieldOptions_FeatureSupport(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FieldOptions_FeatureSupport&& from) noexcept
: FieldOptions_FeatureSupport(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::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* PROTOBUF_NONNULL mutable_deprecation_warning();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_deprecation_warning();
void set_allocated_deprecation_warning(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_deprecation_warning() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_deprecation_warning(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _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, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const FieldOptions_FeatureSupport& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::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;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_FeatureSupport_class_data_;
// -------------------------------------------------------------------
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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(FieldOptions_EditionDefault* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(FieldOptions_EditionDefault));
}
#endif
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 (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const FieldOptions_EditionDefault& 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* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(FieldOptions_EditionDefault* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
FieldOptions_EditionDefault* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(FieldOptions_EditionDefault* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.FieldOptions.EditionDefault"; }
explicit FieldOptions_EditionDefault(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
FieldOptions_EditionDefault(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FieldOptions_EditionDefault& from);
FieldOptions_EditionDefault(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FieldOptions_EditionDefault&& from) noexcept
: FieldOptions_EditionDefault(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::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* PROTOBUF_NONNULL mutable_value();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_value();
void set_allocated_value(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_value() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_value(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _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, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const FieldOptions_EditionDefault& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::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;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_EditionDefault_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT FeatureSet_VisibilityFeature final : public ::google::protobuf::internal::ZeroFieldsBase
/* @@protoc_insertion_point(class_definition:google.protobuf.FeatureSet.VisibilityFeature) */ {
public:
inline FeatureSet_VisibilityFeature() : FeatureSet_VisibilityFeature(nullptr) {}
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(FeatureSet_VisibilityFeature* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(FeatureSet_VisibilityFeature));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR FeatureSet_VisibilityFeature(::google::protobuf::internal::ConstantInitialized);
inline FeatureSet_VisibilityFeature(const FeatureSet_VisibilityFeature& from) : FeatureSet_VisibilityFeature(nullptr, from) {}
inline FeatureSet_VisibilityFeature(FeatureSet_VisibilityFeature&& from) noexcept
: FeatureSet_VisibilityFeature(nullptr, ::std::move(from)) {}
inline FeatureSet_VisibilityFeature& operator=(const FeatureSet_VisibilityFeature& from) {
CopyFrom(from);
return *this;
}
inline FeatureSet_VisibilityFeature& operator=(FeatureSet_VisibilityFeature&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const FeatureSet_VisibilityFeature& default_instance() {
return *reinterpret_cast<const FeatureSet_VisibilityFeature*>(
&_FeatureSet_VisibilityFeature_default_instance_);
}
static constexpr int kIndexInFileMessages = 26;
friend void swap(FeatureSet_VisibilityFeature& a, FeatureSet_VisibilityFeature& b) { a.Swap(&b); }
inline void Swap(FeatureSet_VisibilityFeature* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(FeatureSet_VisibilityFeature* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
FeatureSet_VisibilityFeature* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct<FeatureSet_VisibilityFeature>(arena);
}
using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
inline void CopyFrom(const FeatureSet_VisibilityFeature& from) {
::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
}
using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
void MergeFrom(const FeatureSet_VisibilityFeature& from) {
::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
}
public:
bool IsInitialized() const {
return true;
}
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.FeatureSet.VisibilityFeature"; }
explicit FeatureSet_VisibilityFeature(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
FeatureSet_VisibilityFeature(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FeatureSet_VisibilityFeature& from);
FeatureSet_VisibilityFeature(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FeatureSet_VisibilityFeature&& from) noexcept
: FeatureSet_VisibilityFeature(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
using DefaultSymbolVisibility = FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
static constexpr DefaultSymbolVisibility DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = FeatureSet_VisibilityFeature_DefaultSymbolVisibility_DEFAULT_SYMBOL_VISIBILITY_UNKNOWN;
static constexpr DefaultSymbolVisibility EXPORT_ALL = FeatureSet_VisibilityFeature_DefaultSymbolVisibility_EXPORT_ALL;
static constexpr DefaultSymbolVisibility EXPORT_TOP_LEVEL = FeatureSet_VisibilityFeature_DefaultSymbolVisibility_EXPORT_TOP_LEVEL;
static constexpr DefaultSymbolVisibility LOCAL_ALL = FeatureSet_VisibilityFeature_DefaultSymbolVisibility_LOCAL_ALL;
static constexpr DefaultSymbolVisibility STRICT = FeatureSet_VisibilityFeature_DefaultSymbolVisibility_STRICT;
static inline bool DefaultSymbolVisibility_IsValid(int value) {
return FeatureSet_VisibilityFeature_DefaultSymbolVisibility_IsValid(value);
}
static constexpr DefaultSymbolVisibility DefaultSymbolVisibility_MIN = FeatureSet_VisibilityFeature_DefaultSymbolVisibility_DefaultSymbolVisibility_MIN;
static constexpr DefaultSymbolVisibility DefaultSymbolVisibility_MAX = FeatureSet_VisibilityFeature_DefaultSymbolVisibility_DefaultSymbolVisibility_MAX;
static constexpr int DefaultSymbolVisibility_ARRAYSIZE = FeatureSet_VisibilityFeature_DefaultSymbolVisibility_DefaultSymbolVisibility_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL DefaultSymbolVisibility_descriptor() {
return FeatureSet_VisibilityFeature_DefaultSymbolVisibility_descriptor();
}
template <typename T>
static inline const ::std::string& DefaultSymbolVisibility_Name(T value) {
return FeatureSet_VisibilityFeature_DefaultSymbolVisibility_Name(value);
}
static inline bool DefaultSymbolVisibility_Parse(
::absl::string_view name, DefaultSymbolVisibility* PROTOBUF_NONNULL value) {
return FeatureSet_VisibilityFeature_DefaultSymbolVisibility_Parse(name, value);
}
// accessors -------------------------------------------------------
// @@protoc_insertion_point(class_scope:google.protobuf.FeatureSet.VisibilityFeature)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 0,
0, 0,
2>
_table_;
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;
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSet_VisibilityFeature_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT FeatureSet final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.FeatureSet) */ {
public:
inline FeatureSet() : FeatureSet(nullptr) {}
~FeatureSet() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(FeatureSet* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(FeatureSet));
}
#endif
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 (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const FeatureSet& default_instance() {
return *reinterpret_cast<const FeatureSet*>(
&_FeatureSet_default_instance_);
}
static constexpr int kIndexInFileMessages = 27;
friend void swap(FeatureSet& a, FeatureSet& b) { a.Swap(&b); }
inline void Swap(FeatureSet* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(FeatureSet* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
FeatureSet* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(FeatureSet* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.FeatureSet"; }
explicit FeatureSet(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
FeatureSet(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FeatureSet& from);
FeatureSet(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FeatureSet&& from) noexcept
: FeatureSet(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
using VisibilityFeature = FeatureSet_VisibilityFeature;
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* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL 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* PROTOBUF_NONNULL value) {
return FeatureSet_JsonFormat_Parse(name, value);
}
using EnforceNamingStyle = FeatureSet_EnforceNamingStyle;
static constexpr EnforceNamingStyle ENFORCE_NAMING_STYLE_UNKNOWN = FeatureSet_EnforceNamingStyle_ENFORCE_NAMING_STYLE_UNKNOWN;
static constexpr EnforceNamingStyle STYLE2024 = FeatureSet_EnforceNamingStyle_STYLE2024;
static constexpr EnforceNamingStyle STYLE_LEGACY = FeatureSet_EnforceNamingStyle_STYLE_LEGACY;
static inline bool EnforceNamingStyle_IsValid(int value) {
return FeatureSet_EnforceNamingStyle_IsValid(value);
}
static constexpr EnforceNamingStyle EnforceNamingStyle_MIN = FeatureSet_EnforceNamingStyle_EnforceNamingStyle_MIN;
static constexpr EnforceNamingStyle EnforceNamingStyle_MAX = FeatureSet_EnforceNamingStyle_EnforceNamingStyle_MAX;
static constexpr int EnforceNamingStyle_ARRAYSIZE = FeatureSet_EnforceNamingStyle_EnforceNamingStyle_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL EnforceNamingStyle_descriptor() {
return FeatureSet_EnforceNamingStyle_descriptor();
}
template <typename T>
static inline const ::std::string& EnforceNamingStyle_Name(T value) {
return FeatureSet_EnforceNamingStyle_Name(value);
}
static inline bool EnforceNamingStyle_Parse(
::absl::string_view name, EnforceNamingStyle* PROTOBUF_NONNULL value) {
return FeatureSet_EnforceNamingStyle_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kFieldPresenceFieldNumber = 1,
kEnumTypeFieldNumber = 2,
kRepeatedFieldEncodingFieldNumber = 3,
kUtf8ValidationFieldNumber = 4,
kMessageEncodingFieldNumber = 5,
kJsonFormatFieldNumber = 6,
kEnforceNamingStyleFieldNumber = 7,
kDefaultSymbolVisibilityFieldNumber = 8,
};
// 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:
// optional .google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7 [retention = RETENTION_SOURCE, targets = TARGET_TYPE_FILE, targets = TARGET_TYPE_EXTENSION_RANGE, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_ONEOF, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_ENUM_ENTRY, targets = TARGET_TYPE_SERVICE, targets = TARGET_TYPE_METHOD, edition_defaults = {
bool has_enforce_naming_style() const;
void clear_enforce_naming_style() ;
::google::protobuf::FeatureSet_EnforceNamingStyle enforce_naming_style() const;
void set_enforce_naming_style(::google::protobuf::FeatureSet_EnforceNamingStyle value);
private:
::google::protobuf::FeatureSet_EnforceNamingStyle _internal_enforce_naming_style() const;
void _internal_set_enforce_naming_style(::google::protobuf::FeatureSet_EnforceNamingStyle value);
public:
// optional .google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8 [retention = RETENTION_SOURCE, targets = TARGET_TYPE_FILE, edition_defaults = {
bool has_default_symbol_visibility() const;
void clear_default_symbol_visibility() ;
::google::protobuf::FeatureSet_VisibilityFeature_DefaultSymbolVisibility default_symbol_visibility() const;
void set_default_symbol_visibility(::google::protobuf::FeatureSet_VisibilityFeature_DefaultSymbolVisibility value);
private:
::google::protobuf::FeatureSet_VisibilityFeature_DefaultSymbolVisibility _internal_default_symbol_visibility() const;
void _internal_set_default_symbol_visibility(::google::protobuf::FeatureSet_VisibilityFeature_DefaultSymbolVisibility value);
public:
template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
bool _is_packed,
typename = typename _proto_TypeTraits::Singular>
PROTOBUF_FUTURE_ADD_NODISCARD 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>
PROTOBUF_FUTURE_ADD_NODISCARD 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>
PROTOBUF_FUTURE_ADD_NODISCARD 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>
PROTOBUF_FUTURE_ADD_NODISCARD 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>
[[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>
PROTOBUF_FUTURE_ADD_NODISCARD 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>
PROTOBUF_FUTURE_ADD_NODISCARD 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>
PROTOBUF_FUTURE_ADD_NODISCARD 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* PROTOBUF_NONNULL
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, 8,
8, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const FeatureSet& from_msg);
::google::protobuf::internal::ExtensionSet _extensions_;
::google::protobuf::internal::HasBits<1> _has_bits_;
::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_;
int enforce_naming_style_;
int default_symbol_visibility_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSet_class_data_;
// -------------------------------------------------------------------
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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(ExtensionRangeOptions_Declaration* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(ExtensionRangeOptions_Declaration));
}
#endif
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 (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const ExtensionRangeOptions_Declaration& 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* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(ExtensionRangeOptions_Declaration* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
ExtensionRangeOptions_Declaration* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<ExtensionRangeOptions_Declaration>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const ExtensionRangeOptions_Declaration& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const ExtensionRangeOptions_Declaration& from) { ExtensionRangeOptions_Declaration::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(ExtensionRangeOptions_Declaration* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.ExtensionRangeOptions.Declaration"; }
explicit ExtensionRangeOptions_Declaration(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
ExtensionRangeOptions_Declaration(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ExtensionRangeOptions_Declaration& from);
ExtensionRangeOptions_Declaration(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ExtensionRangeOptions_Declaration&& from) noexcept
: ExtensionRangeOptions_Declaration(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kFullNameFieldNumber = 2,
kTypeFieldNumber = 3,
kNumberFieldNumber = 1,
kReservedFieldNumber = 5,
kRepeatedFieldNumber = 6,
};
// optional string full_name = 2;
bool has_full_name() const;
void clear_full_name() ;
const ::std::string& full_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_full_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_full_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_full_name();
void set_allocated_full_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_full_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_full_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_full_name();
public:
// optional string type = 3;
bool has_type() const;
void clear_type() ;
const ::std::string& type() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_type(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_type();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_type();
void set_allocated_type(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_type() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_type(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_type();
public:
// optional int32 number = 1;
bool has_number() const;
void clear_number() ;
::int32_t number() const;
void set_number(::int32_t value);
private:
::int32_t _internal_number() const;
void _internal_set_number(::int32_t value);
public:
// optional bool reserved = 5;
bool has_reserved() const;
void clear_reserved() ;
bool reserved() const;
void set_reserved(bool value);
private:
bool _internal_reserved() const;
void _internal_set_reserved(bool value);
public:
// optional bool repeated = 6;
bool has_repeated() const;
void clear_repeated() ;
bool repeated() const;
void set_repeated(bool value);
private:
bool _internal_repeated() const;
void _internal_set_repeated(bool value);
public:
// @@protoc_insertion_point(class_scope:google.protobuf.ExtensionRangeOptions.Declaration)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 5,
0, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const ExtensionRangeOptions_Declaration& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr full_name_;
::google::protobuf::internal::ArenaStringPtr type_;
::int32_t number_;
bool reserved_;
bool repeated_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_Declaration_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT EnumDescriptorProto_EnumReservedRange final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto.EnumReservedRange) */ {
public:
inline EnumDescriptorProto_EnumReservedRange() : EnumDescriptorProto_EnumReservedRange(nullptr) {}
~EnumDescriptorProto_EnumReservedRange() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(EnumDescriptorProto_EnumReservedRange* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(EnumDescriptorProto_EnumReservedRange));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR EnumDescriptorProto_EnumReservedRange(::google::protobuf::internal::ConstantInitialized);
inline EnumDescriptorProto_EnumReservedRange(const EnumDescriptorProto_EnumReservedRange& from) : EnumDescriptorProto_EnumReservedRange(nullptr, from) {}
inline EnumDescriptorProto_EnumReservedRange(EnumDescriptorProto_EnumReservedRange&& from) noexcept
: EnumDescriptorProto_EnumReservedRange(nullptr, ::std::move(from)) {}
inline EnumDescriptorProto_EnumReservedRange& operator=(const EnumDescriptorProto_EnumReservedRange& from) {
CopyFrom(from);
return *this;
}
inline EnumDescriptorProto_EnumReservedRange& operator=(EnumDescriptorProto_EnumReservedRange&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const EnumDescriptorProto_EnumReservedRange& default_instance() {
return *reinterpret_cast<const EnumDescriptorProto_EnumReservedRange*>(
&_EnumDescriptorProto_EnumReservedRange_default_instance_);
}
static constexpr int kIndexInFileMessages = 9;
friend void swap(EnumDescriptorProto_EnumReservedRange& a, EnumDescriptorProto_EnumReservedRange& b) { a.Swap(&b); }
inline void Swap(EnumDescriptorProto_EnumReservedRange* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(EnumDescriptorProto_EnumReservedRange* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
EnumDescriptorProto_EnumReservedRange* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<EnumDescriptorProto_EnumReservedRange>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const EnumDescriptorProto_EnumReservedRange& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const EnumDescriptorProto_EnumReservedRange& from) { EnumDescriptorProto_EnumReservedRange::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(EnumDescriptorProto_EnumReservedRange* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.EnumDescriptorProto.EnumReservedRange"; }
explicit EnumDescriptorProto_EnumReservedRange(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
EnumDescriptorProto_EnumReservedRange(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const EnumDescriptorProto_EnumReservedRange& from);
EnumDescriptorProto_EnumReservedRange(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, EnumDescriptorProto_EnumReservedRange&& from) noexcept
: EnumDescriptorProto_EnumReservedRange(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kStartFieldNumber = 1,
kEndFieldNumber = 2,
};
// optional int32 start = 1;
bool has_start() const;
void clear_start() ;
::int32_t start() const;
void set_start(::int32_t value);
private:
::int32_t _internal_start() const;
void _internal_set_start(::int32_t value);
public:
// optional int32 end = 2;
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:
// @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto.EnumReservedRange)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
0, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const EnumDescriptorProto_EnumReservedRange& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int32_t start_;
::int32_t end_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_EnumReservedRange_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT DescriptorProto_ReservedRange final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ReservedRange) */ {
public:
inline DescriptorProto_ReservedRange() : DescriptorProto_ReservedRange(nullptr) {}
~DescriptorProto_ReservedRange() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(DescriptorProto_ReservedRange* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(DescriptorProto_ReservedRange));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR DescriptorProto_ReservedRange(::google::protobuf::internal::ConstantInitialized);
inline DescriptorProto_ReservedRange(const DescriptorProto_ReservedRange& from) : DescriptorProto_ReservedRange(nullptr, from) {}
inline DescriptorProto_ReservedRange(DescriptorProto_ReservedRange&& from) noexcept
: DescriptorProto_ReservedRange(nullptr, ::std::move(from)) {}
inline DescriptorProto_ReservedRange& operator=(const DescriptorProto_ReservedRange& from) {
CopyFrom(from);
return *this;
}
inline DescriptorProto_ReservedRange& operator=(DescriptorProto_ReservedRange&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const DescriptorProto_ReservedRange& default_instance() {
return *reinterpret_cast<const DescriptorProto_ReservedRange*>(
&_DescriptorProto_ReservedRange_default_instance_);
}
static constexpr int kIndexInFileMessages = 3;
friend void swap(DescriptorProto_ReservedRange& a, DescriptorProto_ReservedRange& b) { a.Swap(&b); }
inline void Swap(DescriptorProto_ReservedRange* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(DescriptorProto_ReservedRange* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
DescriptorProto_ReservedRange* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<DescriptorProto_ReservedRange>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const DescriptorProto_ReservedRange& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const DescriptorProto_ReservedRange& from) { DescriptorProto_ReservedRange::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(DescriptorProto_ReservedRange* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.DescriptorProto.ReservedRange"; }
explicit DescriptorProto_ReservedRange(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
DescriptorProto_ReservedRange(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DescriptorProto_ReservedRange& from);
DescriptorProto_ReservedRange(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, DescriptorProto_ReservedRange&& from) noexcept
: DescriptorProto_ReservedRange(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kStartFieldNumber = 1,
kEndFieldNumber = 2,
};
// optional int32 start = 1;
bool has_start() const;
void clear_start() ;
::int32_t start() const;
void set_start(::int32_t value);
private:
::int32_t _internal_start() const;
void _internal_set_start(::int32_t value);
public:
// optional int32 end = 2;
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:
// @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ReservedRange)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
0, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const DescriptorProto_ReservedRange& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::int32_t start_;
::int32_t end_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_ReservedRange_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT UninterpretedOption final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.UninterpretedOption) */ {
public:
inline UninterpretedOption() : UninterpretedOption(nullptr) {}
~UninterpretedOption() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(UninterpretedOption* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(UninterpretedOption));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR UninterpretedOption(::google::protobuf::internal::ConstantInitialized);
inline UninterpretedOption(const UninterpretedOption& from) : UninterpretedOption(nullptr, from) {}
inline UninterpretedOption(UninterpretedOption&& from) noexcept
: UninterpretedOption(nullptr, ::std::move(from)) {}
inline UninterpretedOption& operator=(const UninterpretedOption& from) {
CopyFrom(from);
return *this;
}
inline UninterpretedOption& operator=(UninterpretedOption&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const UninterpretedOption& default_instance() {
return *reinterpret_cast<const UninterpretedOption*>(
&_UninterpretedOption_default_instance_);
}
static constexpr int kIndexInFileMessages = 25;
friend void swap(UninterpretedOption& a, UninterpretedOption& b) { a.Swap(&b); }
inline void Swap(UninterpretedOption* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(UninterpretedOption* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
UninterpretedOption* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<UninterpretedOption>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const UninterpretedOption& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const UninterpretedOption& from) { UninterpretedOption::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(UninterpretedOption* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.UninterpretedOption"; }
explicit UninterpretedOption(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
UninterpretedOption(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const UninterpretedOption& from);
UninterpretedOption(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, UninterpretedOption&& from) noexcept
: UninterpretedOption(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
using NamePart = UninterpretedOption_NamePart;
// accessors -------------------------------------------------------
enum : int {
kNameFieldNumber = 2,
kIdentifierValueFieldNumber = 3,
kStringValueFieldNumber = 7,
kAggregateValueFieldNumber = 8,
kPositiveIntValueFieldNumber = 4,
kNegativeIntValueFieldNumber = 5,
kDoubleValueFieldNumber = 6,
};
// repeated .google.protobuf.UninterpretedOption.NamePart name = 2;
int name_size() const;
private:
int _internal_name_size() const;
public:
void clear_name() ;
::google::protobuf::UninterpretedOption_NamePart* PROTOBUF_NONNULL mutable_name(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>* PROTOBUF_NONNULL mutable_name();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>& _internal_name() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>* PROTOBUF_NONNULL _internal_mutable_name();
public:
const ::google::protobuf::UninterpretedOption_NamePart& name(int index) const;
::google::protobuf::UninterpretedOption_NamePart* PROTOBUF_NONNULL add_name();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption_NamePart>& name() const;
// optional string identifier_value = 3;
bool has_identifier_value() const;
void clear_identifier_value() ;
const ::std::string& identifier_value() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_identifier_value(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_identifier_value();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_identifier_value();
void set_allocated_identifier_value(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_identifier_value() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_identifier_value(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_identifier_value();
public:
// optional bytes string_value = 7;
bool has_string_value() const;
void clear_string_value() ;
const ::std::string& string_value() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_string_value(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_string_value();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_string_value();
void set_allocated_string_value(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_string_value() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_string_value();
public:
// optional string aggregate_value = 8;
bool has_aggregate_value() const;
void clear_aggregate_value() ;
const ::std::string& aggregate_value() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_aggregate_value(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_aggregate_value();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_aggregate_value();
void set_allocated_aggregate_value(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_aggregate_value() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_aggregate_value(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_aggregate_value();
public:
// optional uint64 positive_int_value = 4;
bool has_positive_int_value() const;
void clear_positive_int_value() ;
::uint64_t positive_int_value() const;
void set_positive_int_value(::uint64_t value);
private:
::uint64_t _internal_positive_int_value() const;
void _internal_set_positive_int_value(::uint64_t value);
public:
// optional int64 negative_int_value = 5;
bool has_negative_int_value() const;
void clear_negative_int_value() ;
::int64_t negative_int_value() const;
void set_negative_int_value(::int64_t value);
private:
::int64_t _internal_negative_int_value() const;
void _internal_set_negative_int_value(::int64_t value);
public:
// optional double double_value = 6;
bool has_double_value() const;
void clear_double_value() ;
double double_value() const;
void set_double_value(double value);
private:
double _internal_double_value() const;
void _internal_set_double_value(double value);
public:
// @@protoc_insertion_point(class_scope:google.protobuf.UninterpretedOption)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 7,
1, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const UninterpretedOption& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption_NamePart > name_;
::google::protobuf::internal::ArenaStringPtr identifier_value_;
::google::protobuf::internal::ArenaStringPtr string_value_;
::google::protobuf::internal::ArenaStringPtr aggregate_value_;
::uint64_t positive_int_value_;
::int64_t negative_int_value_;
double double_value_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull UninterpretedOption_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT SourceCodeInfo final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.SourceCodeInfo) */ {
public:
inline SourceCodeInfo() : SourceCodeInfo(nullptr) {}
~SourceCodeInfo() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(SourceCodeInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(SourceCodeInfo));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR SourceCodeInfo(::google::protobuf::internal::ConstantInitialized);
inline SourceCodeInfo(const SourceCodeInfo& from) : SourceCodeInfo(nullptr, from) {}
inline SourceCodeInfo(SourceCodeInfo&& from) noexcept
: SourceCodeInfo(nullptr, ::std::move(from)) {}
inline SourceCodeInfo& operator=(const SourceCodeInfo& from) {
CopyFrom(from);
return *this;
}
inline SourceCodeInfo& operator=(SourceCodeInfo&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const SourceCodeInfo& default_instance() {
return *reinterpret_cast<const SourceCodeInfo*>(
&_SourceCodeInfo_default_instance_);
}
static constexpr int kIndexInFileMessages = 31;
friend void swap(SourceCodeInfo& a, SourceCodeInfo& b) { a.Swap(&b); }
inline void Swap(SourceCodeInfo* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(SourceCodeInfo* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
SourceCodeInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<SourceCodeInfo>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const SourceCodeInfo& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const SourceCodeInfo& from) { SourceCodeInfo::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(SourceCodeInfo* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.SourceCodeInfo"; }
explicit SourceCodeInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
SourceCodeInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const SourceCodeInfo& from);
SourceCodeInfo(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, SourceCodeInfo&& from) noexcept
: SourceCodeInfo(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
using Location = SourceCodeInfo_Location;
// accessors -------------------------------------------------------
enum : int {
kLocationFieldNumber = 1,
};
// repeated .google.protobuf.SourceCodeInfo.Location location = 1;
int location_size() const;
private:
int _internal_location_size() const;
public:
void clear_location() ;
::google::protobuf::SourceCodeInfo_Location* PROTOBUF_NONNULL mutable_location(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>* PROTOBUF_NONNULL mutable_location();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>& _internal_location() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>* PROTOBUF_NONNULL _internal_mutable_location();
public:
const ::google::protobuf::SourceCodeInfo_Location& location(int index) const;
::google::protobuf::SourceCodeInfo_Location* PROTOBUF_NONNULL add_location();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::SourceCodeInfo_Location>& location() const;
template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
bool _is_packed,
typename = typename _proto_TypeTraits::Singular>
PROTOBUF_FUTURE_ADD_NODISCARD inline bool HasExtension(
const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _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<SourceCodeInfo, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline int ExtensionSize(
const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
SourceCodeInfo, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
SourceCodeInfo, _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<SourceCodeInfo, _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<SourceCodeInfo, _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<SourceCodeInfo, _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<SourceCodeInfo, _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>
[[nodiscard]] inline typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const ::google::protobuf::internal::ExtensionIdentifier<
SourceCodeInfo, _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<SourceCodeInfo, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _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<SourceCodeInfo, _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<SourceCodeInfo, _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<SourceCodeInfo, _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<SourceCodeInfo, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline const typename _proto_TypeTraits::
Repeated::RepeatedFieldType&
GetRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _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* PROTOBUF_NONNULL
MutableRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<SourceCodeInfo, _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.SourceCodeInfo)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
1, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const SourceCodeInfo& from_msg);
::google::protobuf::internal::ExtensionSet _extensions_;
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::SourceCodeInfo_Location > location_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull SourceCodeInfo_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT GeneratedCodeInfo final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.GeneratedCodeInfo) */ {
public:
inline GeneratedCodeInfo() : GeneratedCodeInfo(nullptr) {}
~GeneratedCodeInfo() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(GeneratedCodeInfo* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(GeneratedCodeInfo));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR GeneratedCodeInfo(::google::protobuf::internal::ConstantInitialized);
inline GeneratedCodeInfo(const GeneratedCodeInfo& from) : GeneratedCodeInfo(nullptr, from) {}
inline GeneratedCodeInfo(GeneratedCodeInfo&& from) noexcept
: GeneratedCodeInfo(nullptr, ::std::move(from)) {}
inline GeneratedCodeInfo& operator=(const GeneratedCodeInfo& from) {
CopyFrom(from);
return *this;
}
inline GeneratedCodeInfo& operator=(GeneratedCodeInfo&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const GeneratedCodeInfo& default_instance() {
return *reinterpret_cast<const GeneratedCodeInfo*>(
&_GeneratedCodeInfo_default_instance_);
}
static constexpr int kIndexInFileMessages = 33;
friend void swap(GeneratedCodeInfo& a, GeneratedCodeInfo& b) { a.Swap(&b); }
inline void Swap(GeneratedCodeInfo* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(GeneratedCodeInfo* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
GeneratedCodeInfo* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<GeneratedCodeInfo>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const GeneratedCodeInfo& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const GeneratedCodeInfo& from) { GeneratedCodeInfo::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(GeneratedCodeInfo* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.GeneratedCodeInfo"; }
explicit GeneratedCodeInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
GeneratedCodeInfo(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const GeneratedCodeInfo& from);
GeneratedCodeInfo(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, GeneratedCodeInfo&& from) noexcept
: GeneratedCodeInfo(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
using Annotation = GeneratedCodeInfo_Annotation;
// accessors -------------------------------------------------------
enum : int {
kAnnotationFieldNumber = 1,
};
// repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
int annotation_size() const;
private:
int _internal_annotation_size() const;
public:
void clear_annotation() ;
::google::protobuf::GeneratedCodeInfo_Annotation* PROTOBUF_NONNULL mutable_annotation(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>* PROTOBUF_NONNULL mutable_annotation();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>& _internal_annotation() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>* PROTOBUF_NONNULL _internal_mutable_annotation();
public:
const ::google::protobuf::GeneratedCodeInfo_Annotation& annotation(int index) const;
::google::protobuf::GeneratedCodeInfo_Annotation* PROTOBUF_NONNULL add_annotation();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::GeneratedCodeInfo_Annotation>& annotation() const;
// @@protoc_insertion_point(class_scope:google.protobuf.GeneratedCodeInfo)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<0, 1,
1, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const GeneratedCodeInfo& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::GeneratedCodeInfo_Annotation > annotation_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull GeneratedCodeInfo_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT FeatureSetDefaults_FeatureSetEditionDefault final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault) */ {
public:
inline FeatureSetDefaults_FeatureSetEditionDefault() : FeatureSetDefaults_FeatureSetEditionDefault(nullptr) {}
~FeatureSetDefaults_FeatureSetEditionDefault() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(FeatureSetDefaults_FeatureSetEditionDefault* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(FeatureSetDefaults_FeatureSetEditionDefault));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR FeatureSetDefaults_FeatureSetEditionDefault(::google::protobuf::internal::ConstantInitialized);
inline FeatureSetDefaults_FeatureSetEditionDefault(const FeatureSetDefaults_FeatureSetEditionDefault& from) : FeatureSetDefaults_FeatureSetEditionDefault(nullptr, from) {}
inline FeatureSetDefaults_FeatureSetEditionDefault(FeatureSetDefaults_FeatureSetEditionDefault&& from) noexcept
: FeatureSetDefaults_FeatureSetEditionDefault(nullptr, ::std::move(from)) {}
inline FeatureSetDefaults_FeatureSetEditionDefault& operator=(const FeatureSetDefaults_FeatureSetEditionDefault& from) {
CopyFrom(from);
return *this;
}
inline FeatureSetDefaults_FeatureSetEditionDefault& operator=(FeatureSetDefaults_FeatureSetEditionDefault&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const FeatureSetDefaults_FeatureSetEditionDefault& default_instance() {
return *reinterpret_cast<const FeatureSetDefaults_FeatureSetEditionDefault*>(
&_FeatureSetDefaults_FeatureSetEditionDefault_default_instance_);
}
static constexpr int kIndexInFileMessages = 28;
friend void swap(FeatureSetDefaults_FeatureSetEditionDefault& a, FeatureSetDefaults_FeatureSetEditionDefault& b) { a.Swap(&b); }
inline void Swap(FeatureSetDefaults_FeatureSetEditionDefault* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(FeatureSetDefaults_FeatureSetEditionDefault* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
FeatureSetDefaults_FeatureSetEditionDefault* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<FeatureSetDefaults_FeatureSetEditionDefault>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const FeatureSetDefaults_FeatureSetEditionDefault& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const FeatureSetDefaults_FeatureSetEditionDefault& from) { FeatureSetDefaults_FeatureSetEditionDefault::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(FeatureSetDefaults_FeatureSetEditionDefault* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"; }
explicit FeatureSetDefaults_FeatureSetEditionDefault(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
FeatureSetDefaults_FeatureSetEditionDefault(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FeatureSetDefaults_FeatureSetEditionDefault& from);
FeatureSetDefaults_FeatureSetEditionDefault(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FeatureSetDefaults_FeatureSetEditionDefault&& from) noexcept
: FeatureSetDefaults_FeatureSetEditionDefault(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kOverridableFeaturesFieldNumber = 4,
kFixedFeaturesFieldNumber = 5,
kEditionFieldNumber = 3,
};
// optional .google.protobuf.FeatureSet overridable_features = 4;
bool has_overridable_features() const;
void clear_overridable_features() ;
const ::google::protobuf::FeatureSet& overridable_features() const;
[[nodiscard]] ::google::protobuf::FeatureSet* PROTOBUF_NULLABLE release_overridable_features();
::google::protobuf::FeatureSet* PROTOBUF_NONNULL mutable_overridable_features();
void set_allocated_overridable_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_overridable_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE unsafe_arena_release_overridable_features();
private:
const ::google::protobuf::FeatureSet& _internal_overridable_features() const;
::google::protobuf::FeatureSet* PROTOBUF_NONNULL _internal_mutable_overridable_features();
public:
// optional .google.protobuf.FeatureSet fixed_features = 5;
bool has_fixed_features() const;
void clear_fixed_features() ;
const ::google::protobuf::FeatureSet& fixed_features() const;
[[nodiscard]] ::google::protobuf::FeatureSet* PROTOBUF_NULLABLE release_fixed_features();
::google::protobuf::FeatureSet* PROTOBUF_NONNULL mutable_fixed_features();
void set_allocated_fixed_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_fixed_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE unsafe_arena_release_fixed_features();
private:
const ::google::protobuf::FeatureSet& _internal_fixed_features() const;
::google::protobuf::FeatureSet* PROTOBUF_NONNULL _internal_mutable_fixed_features();
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.FeatureSetDefaults.FeatureSetEditionDefault)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3,
3, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const FeatureSetDefaults_FeatureSetEditionDefault& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE overridable_features_;
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE fixed_features_;
int edition_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_FeatureSetEditionDefault_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT ServiceOptions final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.ServiceOptions) */ {
public:
inline ServiceOptions() : ServiceOptions(nullptr) {}
~ServiceOptions() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(ServiceOptions* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(ServiceOptions));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR ServiceOptions(::google::protobuf::internal::ConstantInitialized);
inline ServiceOptions(const ServiceOptions& from) : ServiceOptions(nullptr, from) {}
inline ServiceOptions(ServiceOptions&& from) noexcept
: ServiceOptions(nullptr, ::std::move(from)) {}
inline ServiceOptions& operator=(const ServiceOptions& from) {
CopyFrom(from);
return *this;
}
inline ServiceOptions& operator=(ServiceOptions&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const ServiceOptions& default_instance() {
return *reinterpret_cast<const ServiceOptions*>(
&_ServiceOptions_default_instance_);
}
static constexpr int kIndexInFileMessages = 22;
friend void swap(ServiceOptions& a, ServiceOptions& b) { a.Swap(&b); }
inline void Swap(ServiceOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(ServiceOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
ServiceOptions* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<ServiceOptions>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const ServiceOptions& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const ServiceOptions& from) { ServiceOptions::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(ServiceOptions* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.ServiceOptions"; }
explicit ServiceOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
ServiceOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ServiceOptions& from);
ServiceOptions(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ServiceOptions&& from) noexcept
: ServiceOptions(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kUninterpretedOptionFieldNumber = 999,
kFeaturesFieldNumber = 34,
kDeprecatedFieldNumber = 33,
};
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
int uninterpreted_option_size() const;
private:
int _internal_uninterpreted_option_size() const;
public:
void clear_uninterpreted_option() ;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL mutable_uninterpreted_option(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL mutable_uninterpreted_option();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL _internal_mutable_uninterpreted_option();
public:
const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL add_uninterpreted_option();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
// optional .google.protobuf.FeatureSet features = 34;
bool has_features() const;
void clear_features() ;
const ::google::protobuf::FeatureSet& features() const;
[[nodiscard]] ::google::protobuf::FeatureSet* PROTOBUF_NULLABLE release_features();
::google::protobuf::FeatureSet* PROTOBUF_NONNULL mutable_features();
void set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE unsafe_arena_release_features();
private:
const ::google::protobuf::FeatureSet& _internal_features() const;
::google::protobuf::FeatureSet* PROTOBUF_NONNULL _internal_mutable_features();
public:
// optional bool deprecated = 33 [default = false];
bool has_deprecated() const;
void clear_deprecated() ;
bool deprecated() const;
void set_deprecated(bool value);
private:
bool _internal_deprecated() const;
void _internal_set_deprecated(bool value);
public:
template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
bool _is_packed,
typename = typename _proto_TypeTraits::Singular>
PROTOBUF_FUTURE_ADD_NODISCARD inline bool HasExtension(
const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _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<ServiceOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline int ExtensionSize(
const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
ServiceOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
ServiceOptions, _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<ServiceOptions, _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<ServiceOptions, _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<ServiceOptions, _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<ServiceOptions, _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>
[[nodiscard]] inline typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const ::google::protobuf::internal::ExtensionIdentifier<
ServiceOptions, _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<ServiceOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _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<ServiceOptions, _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<ServiceOptions, _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<ServiceOptions, _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<ServiceOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline const typename _proto_TypeTraits::
Repeated::RepeatedFieldType&
GetRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _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* PROTOBUF_NONNULL
MutableRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<ServiceOptions, _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.ServiceOptions)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3,
2, 0,
12>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const ServiceOptions& from_msg);
::google::protobuf::internal::ExtensionSet _extensions_;
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE features_;
bool deprecated_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ServiceOptions_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT OneofOptions final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.OneofOptions) */ {
public:
inline OneofOptions() : OneofOptions(nullptr) {}
~OneofOptions() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(OneofOptions* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(OneofOptions));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR OneofOptions(::google::protobuf::internal::ConstantInitialized);
inline OneofOptions(const OneofOptions& from) : OneofOptions(nullptr, from) {}
inline OneofOptions(OneofOptions&& from) noexcept
: OneofOptions(nullptr, ::std::move(from)) {}
inline OneofOptions& operator=(const OneofOptions& from) {
CopyFrom(from);
return *this;
}
inline OneofOptions& operator=(OneofOptions&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const OneofOptions& default_instance() {
return *reinterpret_cast<const OneofOptions*>(
&_OneofOptions_default_instance_);
}
static constexpr int kIndexInFileMessages = 19;
friend void swap(OneofOptions& a, OneofOptions& b) { a.Swap(&b); }
inline void Swap(OneofOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(OneofOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
OneofOptions* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<OneofOptions>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const OneofOptions& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const OneofOptions& from) { OneofOptions::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(OneofOptions* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.OneofOptions"; }
explicit OneofOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
OneofOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OneofOptions& from);
OneofOptions(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, OneofOptions&& from) noexcept
: OneofOptions(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kUninterpretedOptionFieldNumber = 999,
kFeaturesFieldNumber = 1,
};
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
int uninterpreted_option_size() const;
private:
int _internal_uninterpreted_option_size() const;
public:
void clear_uninterpreted_option() ;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL mutable_uninterpreted_option(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL mutable_uninterpreted_option();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL _internal_mutable_uninterpreted_option();
public:
const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL add_uninterpreted_option();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
// optional .google.protobuf.FeatureSet features = 1;
bool has_features() const;
void clear_features() ;
const ::google::protobuf::FeatureSet& features() const;
[[nodiscard]] ::google::protobuf::FeatureSet* PROTOBUF_NULLABLE release_features();
::google::protobuf::FeatureSet* PROTOBUF_NONNULL mutable_features();
void set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE unsafe_arena_release_features();
private:
const ::google::protobuf::FeatureSet& _internal_features() const;
::google::protobuf::FeatureSet* PROTOBUF_NONNULL _internal_mutable_features();
public:
template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
bool _is_packed,
typename = typename _proto_TypeTraits::Singular>
PROTOBUF_FUTURE_ADD_NODISCARD inline bool HasExtension(
const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _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<OneofOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline int ExtensionSize(
const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
OneofOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
OneofOptions, _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<OneofOptions, _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<OneofOptions, _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<OneofOptions, _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<OneofOptions, _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>
[[nodiscard]] inline typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const ::google::protobuf::internal::ExtensionIdentifier<
OneofOptions, _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<OneofOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _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<OneofOptions, _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<OneofOptions, _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<OneofOptions, _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<OneofOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline const typename _proto_TypeTraits::
Repeated::RepeatedFieldType&
GetRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _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* PROTOBUF_NONNULL
MutableRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<OneofOptions, _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.OneofOptions)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 2,
2, 0,
7>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const OneofOptions& from_msg);
::google::protobuf::internal::ExtensionSet _extensions_;
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE features_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull OneofOptions_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT MethodOptions final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.MethodOptions) */ {
public:
inline MethodOptions() : MethodOptions(nullptr) {}
~MethodOptions() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(MethodOptions* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(MethodOptions));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR MethodOptions(::google::protobuf::internal::ConstantInitialized);
inline MethodOptions(const MethodOptions& from) : MethodOptions(nullptr, from) {}
inline MethodOptions(MethodOptions&& from) noexcept
: MethodOptions(nullptr, ::std::move(from)) {}
inline MethodOptions& operator=(const MethodOptions& from) {
CopyFrom(from);
return *this;
}
inline MethodOptions& operator=(MethodOptions&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const MethodOptions& default_instance() {
return *reinterpret_cast<const MethodOptions*>(
&_MethodOptions_default_instance_);
}
static constexpr int kIndexInFileMessages = 23;
friend void swap(MethodOptions& a, MethodOptions& b) { a.Swap(&b); }
inline void Swap(MethodOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(MethodOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
MethodOptions* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<MethodOptions>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const MethodOptions& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const MethodOptions& from) { MethodOptions::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(MethodOptions* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.MethodOptions"; }
explicit MethodOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
MethodOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MethodOptions& from);
MethodOptions(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MethodOptions&& from) noexcept
: MethodOptions(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
using IdempotencyLevel = MethodOptions_IdempotencyLevel;
static constexpr IdempotencyLevel IDEMPOTENCY_UNKNOWN = MethodOptions_IdempotencyLevel_IDEMPOTENCY_UNKNOWN;
static constexpr IdempotencyLevel NO_SIDE_EFFECTS = MethodOptions_IdempotencyLevel_NO_SIDE_EFFECTS;
static constexpr IdempotencyLevel IDEMPOTENT = MethodOptions_IdempotencyLevel_IDEMPOTENT;
static inline bool IdempotencyLevel_IsValid(int value) {
return MethodOptions_IdempotencyLevel_IsValid(value);
}
static constexpr IdempotencyLevel IdempotencyLevel_MIN = MethodOptions_IdempotencyLevel_IdempotencyLevel_MIN;
static constexpr IdempotencyLevel IdempotencyLevel_MAX = MethodOptions_IdempotencyLevel_IdempotencyLevel_MAX;
static constexpr int IdempotencyLevel_ARRAYSIZE = MethodOptions_IdempotencyLevel_IdempotencyLevel_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL IdempotencyLevel_descriptor() {
return MethodOptions_IdempotencyLevel_descriptor();
}
template <typename T>
static inline const ::std::string& IdempotencyLevel_Name(T value) {
return MethodOptions_IdempotencyLevel_Name(value);
}
static inline bool IdempotencyLevel_Parse(
::absl::string_view name, IdempotencyLevel* PROTOBUF_NONNULL value) {
return MethodOptions_IdempotencyLevel_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kUninterpretedOptionFieldNumber = 999,
kFeaturesFieldNumber = 35,
kDeprecatedFieldNumber = 33,
kIdempotencyLevelFieldNumber = 34,
};
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
int uninterpreted_option_size() const;
private:
int _internal_uninterpreted_option_size() const;
public:
void clear_uninterpreted_option() ;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL mutable_uninterpreted_option(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL mutable_uninterpreted_option();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL _internal_mutable_uninterpreted_option();
public:
const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL add_uninterpreted_option();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
// optional .google.protobuf.FeatureSet features = 35;
bool has_features() const;
void clear_features() ;
const ::google::protobuf::FeatureSet& features() const;
[[nodiscard]] ::google::protobuf::FeatureSet* PROTOBUF_NULLABLE release_features();
::google::protobuf::FeatureSet* PROTOBUF_NONNULL mutable_features();
void set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE unsafe_arena_release_features();
private:
const ::google::protobuf::FeatureSet& _internal_features() const;
::google::protobuf::FeatureSet* PROTOBUF_NONNULL _internal_mutable_features();
public:
// optional bool deprecated = 33 [default = false];
bool has_deprecated() const;
void clear_deprecated() ;
bool deprecated() const;
void set_deprecated(bool value);
private:
bool _internal_deprecated() const;
void _internal_set_deprecated(bool value);
public:
// optional .google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
bool has_idempotency_level() const;
void clear_idempotency_level() ;
::google::protobuf::MethodOptions_IdempotencyLevel idempotency_level() const;
void set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel value);
private:
::google::protobuf::MethodOptions_IdempotencyLevel _internal_idempotency_level() const;
void _internal_set_idempotency_level(::google::protobuf::MethodOptions_IdempotencyLevel value);
public:
template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
bool _is_packed,
typename = typename _proto_TypeTraits::Singular>
PROTOBUF_FUTURE_ADD_NODISCARD inline bool HasExtension(
const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _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<MethodOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline int ExtensionSize(
const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
MethodOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
MethodOptions, _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<MethodOptions, _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<MethodOptions, _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<MethodOptions, _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<MethodOptions, _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>
[[nodiscard]] inline typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const ::google::protobuf::internal::ExtensionIdentifier<
MethodOptions, _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<MethodOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _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<MethodOptions, _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<MethodOptions, _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<MethodOptions, _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<MethodOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline const typename _proto_TypeTraits::
Repeated::RepeatedFieldType&
GetRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _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* PROTOBUF_NONNULL
MutableRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<MethodOptions, _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.MethodOptions)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 4,
3, 0,
12>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const MethodOptions& from_msg);
::google::protobuf::internal::ExtensionSet _extensions_;
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE features_;
bool deprecated_;
int idempotency_level_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MethodOptions_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT MessageOptions final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.MessageOptions) */ {
public:
inline MessageOptions() : MessageOptions(nullptr) {}
~MessageOptions() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(MessageOptions* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(MessageOptions));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR MessageOptions(::google::protobuf::internal::ConstantInitialized);
inline MessageOptions(const MessageOptions& from) : MessageOptions(nullptr, from) {}
inline MessageOptions(MessageOptions&& from) noexcept
: MessageOptions(nullptr, ::std::move(from)) {}
inline MessageOptions& operator=(const MessageOptions& from) {
CopyFrom(from);
return *this;
}
inline MessageOptions& operator=(MessageOptions&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const MessageOptions& default_instance() {
return *reinterpret_cast<const MessageOptions*>(
&_MessageOptions_default_instance_);
}
static constexpr int kIndexInFileMessages = 15;
friend void swap(MessageOptions& a, MessageOptions& b) { a.Swap(&b); }
inline void Swap(MessageOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(MessageOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
MessageOptions* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<MessageOptions>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const MessageOptions& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const MessageOptions& from) { MessageOptions::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(MessageOptions* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.MessageOptions"; }
explicit MessageOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
MessageOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MessageOptions& from);
MessageOptions(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MessageOptions&& from) noexcept
: MessageOptions(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kFeaturesFieldNumber = 12,
kMessageSetWireFormatFieldNumber = 1,
kNoStandardDescriptorAccessorFieldNumber = 2,
kDeprecatedFieldNumber = 3,
kMapEntryFieldNumber = 7,
kDeprecatedLegacyJsonFieldConflictsFieldNumber = 11,
kUninterpretedOptionFieldNumber = 999,
};
// optional .google.protobuf.FeatureSet features = 12;
bool has_features() const;
void clear_features() ;
const ::google::protobuf::FeatureSet& features() const;
[[nodiscard]] ::google::protobuf::FeatureSet* PROTOBUF_NULLABLE release_features();
::google::protobuf::FeatureSet* PROTOBUF_NONNULL mutable_features();
void set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE unsafe_arena_release_features();
private:
const ::google::protobuf::FeatureSet& _internal_features() const;
::google::protobuf::FeatureSet* PROTOBUF_NONNULL _internal_mutable_features();
public:
// optional bool message_set_wire_format = 1 [default = false];
bool has_message_set_wire_format() const;
void clear_message_set_wire_format() ;
bool message_set_wire_format() const;
void set_message_set_wire_format(bool value);
private:
bool _internal_message_set_wire_format() const;
void _internal_set_message_set_wire_format(bool value);
public:
// optional bool no_standard_descriptor_accessor = 2 [default = false];
bool has_no_standard_descriptor_accessor() const;
void clear_no_standard_descriptor_accessor() ;
bool no_standard_descriptor_accessor() const;
void set_no_standard_descriptor_accessor(bool value);
private:
bool _internal_no_standard_descriptor_accessor() const;
void _internal_set_no_standard_descriptor_accessor(bool value);
public:
// optional bool deprecated = 3 [default = false];
bool has_deprecated() const;
void clear_deprecated() ;
bool deprecated() const;
void set_deprecated(bool value);
private:
bool _internal_deprecated() const;
void _internal_set_deprecated(bool value);
public:
// optional bool map_entry = 7;
bool has_map_entry() const;
void clear_map_entry() ;
bool map_entry() const;
void set_map_entry(bool value);
private:
bool _internal_map_entry() const;
void _internal_set_map_entry(bool value);
public:
// optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
[[deprecated]] bool has_deprecated_legacy_json_field_conflicts() const;
[[deprecated]] void clear_deprecated_legacy_json_field_conflicts() ;
[[deprecated]] bool deprecated_legacy_json_field_conflicts() const;
[[deprecated]] void set_deprecated_legacy_json_field_conflicts(bool value);
private:
bool _internal_deprecated_legacy_json_field_conflicts() const;
void _internal_set_deprecated_legacy_json_field_conflicts(bool value);
public:
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
int uninterpreted_option_size() const;
private:
int _internal_uninterpreted_option_size() const;
public:
void clear_uninterpreted_option() ;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL mutable_uninterpreted_option(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL mutable_uninterpreted_option();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL _internal_mutable_uninterpreted_option();
public:
const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL add_uninterpreted_option();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
bool _is_packed,
typename = typename _proto_TypeTraits::Singular>
PROTOBUF_FUTURE_ADD_NODISCARD inline bool HasExtension(
const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _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<MessageOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline int ExtensionSize(
const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
MessageOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
MessageOptions, _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<MessageOptions, _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<MessageOptions, _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<MessageOptions, _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<MessageOptions, _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>
[[nodiscard]] inline typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const ::google::protobuf::internal::ExtensionIdentifier<
MessageOptions, _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<MessageOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _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<MessageOptions, _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<MessageOptions, _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<MessageOptions, _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<MessageOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline const typename _proto_TypeTraits::
Repeated::RepeatedFieldType&
GetRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _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* PROTOBUF_NONNULL
MutableRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<MessageOptions, _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.MessageOptions)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 7,
2, 0,
7>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const MessageOptions& from_msg);
::google::protobuf::internal::ExtensionSet _extensions_;
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE features_;
bool message_set_wire_format_;
bool no_standard_descriptor_accessor_;
bool deprecated_;
bool map_entry_;
bool deprecated_legacy_json_field_conflicts_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MessageOptions_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT FileOptions final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.FileOptions) */ {
public:
inline FileOptions() : FileOptions(nullptr) {}
~FileOptions() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(FileOptions* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(FileOptions));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR FileOptions(::google::protobuf::internal::ConstantInitialized);
inline FileOptions(const FileOptions& from) : FileOptions(nullptr, from) {}
inline FileOptions(FileOptions&& from) noexcept
: FileOptions(nullptr, ::std::move(from)) {}
inline FileOptions& operator=(const FileOptions& from) {
CopyFrom(from);
return *this;
}
inline FileOptions& operator=(FileOptions&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const FileOptions& default_instance() {
return *reinterpret_cast<const FileOptions*>(
&_FileOptions_default_instance_);
}
static constexpr int kIndexInFileMessages = 14;
friend void swap(FileOptions& a, FileOptions& b) { a.Swap(&b); }
inline void Swap(FileOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(FileOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
FileOptions* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<FileOptions>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const FileOptions& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const FileOptions& from) { FileOptions::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(FileOptions* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.FileOptions"; }
explicit FileOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
FileOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FileOptions& from);
FileOptions(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FileOptions&& from) noexcept
: FileOptions(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
using OptimizeMode = FileOptions_OptimizeMode;
static constexpr OptimizeMode SPEED = FileOptions_OptimizeMode_SPEED;
static constexpr OptimizeMode CODE_SIZE = FileOptions_OptimizeMode_CODE_SIZE;
static constexpr OptimizeMode LITE_RUNTIME = FileOptions_OptimizeMode_LITE_RUNTIME;
static inline bool OptimizeMode_IsValid(int value) {
return FileOptions_OptimizeMode_IsValid(value);
}
static constexpr OptimizeMode OptimizeMode_MIN = FileOptions_OptimizeMode_OptimizeMode_MIN;
static constexpr OptimizeMode OptimizeMode_MAX = FileOptions_OptimizeMode_OptimizeMode_MAX;
static constexpr int OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL OptimizeMode_descriptor() {
return FileOptions_OptimizeMode_descriptor();
}
template <typename T>
static inline const ::std::string& OptimizeMode_Name(T value) {
return FileOptions_OptimizeMode_Name(value);
}
static inline bool OptimizeMode_Parse(
::absl::string_view name, OptimizeMode* PROTOBUF_NONNULL value) {
return FileOptions_OptimizeMode_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kJavaPackageFieldNumber = 1,
kJavaOuterClassnameFieldNumber = 8,
kGoPackageFieldNumber = 11,
kObjcClassPrefixFieldNumber = 36,
kCsharpNamespaceFieldNumber = 37,
kSwiftPrefixFieldNumber = 39,
kPhpClassPrefixFieldNumber = 40,
kPhpNamespaceFieldNumber = 41,
kPhpMetadataNamespaceFieldNumber = 44,
kRubyPackageFieldNumber = 45,
kFeaturesFieldNumber = 50,
kJavaMultipleFilesFieldNumber = 10,
kCcGenericServicesFieldNumber = 16,
kJavaGenericServicesFieldNumber = 17,
kPyGenericServicesFieldNumber = 18,
kJavaGenerateEqualsAndHashFieldNumber = 20,
kDeprecatedFieldNumber = 23,
kJavaStringCheckUtf8FieldNumber = 27,
kOptimizeForFieldNumber = 9,
kCcEnableArenasFieldNumber = 31,
kUninterpretedOptionFieldNumber = 999,
};
// optional string java_package = 1;
bool has_java_package() const;
void clear_java_package() ;
const ::std::string& java_package() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_java_package(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_java_package();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_java_package();
void set_allocated_java_package(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_java_package() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_java_package(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_java_package();
public:
// optional string java_outer_classname = 8;
bool has_java_outer_classname() const;
void clear_java_outer_classname() ;
const ::std::string& java_outer_classname() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_java_outer_classname(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_java_outer_classname();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_java_outer_classname();
void set_allocated_java_outer_classname(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_java_outer_classname() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_java_outer_classname(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_java_outer_classname();
public:
// optional string go_package = 11;
bool has_go_package() const;
void clear_go_package() ;
const ::std::string& go_package() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_go_package(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_go_package();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_go_package();
void set_allocated_go_package(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_go_package() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_go_package(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_go_package();
public:
// optional string objc_class_prefix = 36;
bool has_objc_class_prefix() const;
void clear_objc_class_prefix() ;
const ::std::string& objc_class_prefix() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_objc_class_prefix(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_objc_class_prefix();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_objc_class_prefix();
void set_allocated_objc_class_prefix(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_objc_class_prefix() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_objc_class_prefix(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_objc_class_prefix();
public:
// optional string csharp_namespace = 37;
bool has_csharp_namespace() const;
void clear_csharp_namespace() ;
const ::std::string& csharp_namespace() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_csharp_namespace(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_csharp_namespace();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_csharp_namespace();
void set_allocated_csharp_namespace(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_csharp_namespace() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_csharp_namespace(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_csharp_namespace();
public:
// optional string swift_prefix = 39;
bool has_swift_prefix() const;
void clear_swift_prefix() ;
const ::std::string& swift_prefix() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_swift_prefix(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_swift_prefix();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_swift_prefix();
void set_allocated_swift_prefix(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_swift_prefix() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_swift_prefix(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_swift_prefix();
public:
// optional string php_class_prefix = 40;
bool has_php_class_prefix() const;
void clear_php_class_prefix() ;
const ::std::string& php_class_prefix() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_php_class_prefix(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_php_class_prefix();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_php_class_prefix();
void set_allocated_php_class_prefix(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_php_class_prefix() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_php_class_prefix(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_php_class_prefix();
public:
// optional string php_namespace = 41;
bool has_php_namespace() const;
void clear_php_namespace() ;
const ::std::string& php_namespace() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_php_namespace(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_php_namespace();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_php_namespace();
void set_allocated_php_namespace(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_php_namespace() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_php_namespace(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_php_namespace();
public:
// optional string php_metadata_namespace = 44;
bool has_php_metadata_namespace() const;
void clear_php_metadata_namespace() ;
const ::std::string& php_metadata_namespace() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_php_metadata_namespace(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_php_metadata_namespace();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_php_metadata_namespace();
void set_allocated_php_metadata_namespace(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_php_metadata_namespace() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_php_metadata_namespace(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_php_metadata_namespace();
public:
// optional string ruby_package = 45;
bool has_ruby_package() const;
void clear_ruby_package() ;
const ::std::string& ruby_package() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_ruby_package(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_ruby_package();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_ruby_package();
void set_allocated_ruby_package(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_ruby_package() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_ruby_package(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_ruby_package();
public:
// optional .google.protobuf.FeatureSet features = 50;
bool has_features() const;
void clear_features() ;
const ::google::protobuf::FeatureSet& features() const;
[[nodiscard]] ::google::protobuf::FeatureSet* PROTOBUF_NULLABLE release_features();
::google::protobuf::FeatureSet* PROTOBUF_NONNULL mutable_features();
void set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE unsafe_arena_release_features();
private:
const ::google::protobuf::FeatureSet& _internal_features() const;
::google::protobuf::FeatureSet* PROTOBUF_NONNULL _internal_mutable_features();
public:
// optional bool java_multiple_files = 10 [default = false];
bool has_java_multiple_files() const;
void clear_java_multiple_files() ;
bool java_multiple_files() const;
void set_java_multiple_files(bool value);
private:
bool _internal_java_multiple_files() const;
void _internal_set_java_multiple_files(bool value);
public:
// optional bool cc_generic_services = 16 [default = false];
bool has_cc_generic_services() const;
void clear_cc_generic_services() ;
bool cc_generic_services() const;
void set_cc_generic_services(bool value);
private:
bool _internal_cc_generic_services() const;
void _internal_set_cc_generic_services(bool value);
public:
// optional bool java_generic_services = 17 [default = false];
bool has_java_generic_services() const;
void clear_java_generic_services() ;
bool java_generic_services() const;
void set_java_generic_services(bool value);
private:
bool _internal_java_generic_services() const;
void _internal_set_java_generic_services(bool value);
public:
// optional bool py_generic_services = 18 [default = false];
bool has_py_generic_services() const;
void clear_py_generic_services() ;
bool py_generic_services() const;
void set_py_generic_services(bool value);
private:
bool _internal_py_generic_services() const;
void _internal_set_py_generic_services(bool value);
public:
// optional bool java_generate_equals_and_hash = 20 [deprecated = true];
[[deprecated]] bool has_java_generate_equals_and_hash() const;
[[deprecated]] void clear_java_generate_equals_and_hash() ;
[[deprecated]] bool java_generate_equals_and_hash() const;
[[deprecated]] void set_java_generate_equals_and_hash(bool value);
private:
bool _internal_java_generate_equals_and_hash() const;
void _internal_set_java_generate_equals_and_hash(bool value);
public:
// optional bool deprecated = 23 [default = false];
bool has_deprecated() const;
void clear_deprecated() ;
bool deprecated() const;
void set_deprecated(bool value);
private:
bool _internal_deprecated() const;
void _internal_set_deprecated(bool value);
public:
// optional bool java_string_check_utf8 = 27 [default = false];
bool has_java_string_check_utf8() const;
void clear_java_string_check_utf8() ;
bool java_string_check_utf8() const;
void set_java_string_check_utf8(bool value);
private:
bool _internal_java_string_check_utf8() const;
void _internal_set_java_string_check_utf8(bool value);
public:
// optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
bool has_optimize_for() const;
void clear_optimize_for() ;
::google::protobuf::FileOptions_OptimizeMode optimize_for() const;
void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value);
private:
::google::protobuf::FileOptions_OptimizeMode _internal_optimize_for() const;
void _internal_set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value);
public:
// optional bool cc_enable_arenas = 31 [default = true];
bool has_cc_enable_arenas() const;
void clear_cc_enable_arenas() ;
bool cc_enable_arenas() const;
void set_cc_enable_arenas(bool value);
private:
bool _internal_cc_enable_arenas() const;
void _internal_set_cc_enable_arenas(bool value);
public:
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
int uninterpreted_option_size() const;
private:
int _internal_uninterpreted_option_size() const;
public:
void clear_uninterpreted_option() ;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL mutable_uninterpreted_option(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL mutable_uninterpreted_option();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL _internal_mutable_uninterpreted_option();
public:
const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL add_uninterpreted_option();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
bool _is_packed,
typename = typename _proto_TypeTraits::Singular>
PROTOBUF_FUTURE_ADD_NODISCARD inline bool HasExtension(
const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _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<FileOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline int ExtensionSize(
const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
FileOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
FileOptions, _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<FileOptions, _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<FileOptions, _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<FileOptions, _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<FileOptions, _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>
[[nodiscard]] inline typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const ::google::protobuf::internal::ExtensionIdentifier<
FileOptions, _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<FileOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _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<FileOptions, _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<FileOptions, _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<FileOptions, _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<FileOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline const typename _proto_TypeTraits::
Repeated::RepeatedFieldType&
GetRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _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* PROTOBUF_NONNULL
MutableRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<FileOptions, _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.FileOptions)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<5, 21,
3, 0,
12>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const FileOptions& from_msg);
::google::protobuf::internal::ExtensionSet _extensions_;
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr java_package_;
::google::protobuf::internal::ArenaStringPtr java_outer_classname_;
::google::protobuf::internal::ArenaStringPtr go_package_;
::google::protobuf::internal::ArenaStringPtr objc_class_prefix_;
::google::protobuf::internal::ArenaStringPtr csharp_namespace_;
::google::protobuf::internal::ArenaStringPtr swift_prefix_;
::google::protobuf::internal::ArenaStringPtr php_class_prefix_;
::google::protobuf::internal::ArenaStringPtr php_namespace_;
::google::protobuf::internal::ArenaStringPtr php_metadata_namespace_;
::google::protobuf::internal::ArenaStringPtr ruby_package_;
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE features_;
bool java_multiple_files_;
bool cc_generic_services_;
bool java_generic_services_;
bool py_generic_services_;
bool java_generate_equals_and_hash_;
bool deprecated_;
bool java_string_check_utf8_;
int optimize_for_;
bool cc_enable_arenas_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FileOptions_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT FieldOptions final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.FieldOptions) */ {
public:
inline FieldOptions() : FieldOptions(nullptr) {}
~FieldOptions() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(FieldOptions* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(FieldOptions));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR FieldOptions(::google::protobuf::internal::ConstantInitialized);
inline FieldOptions(const FieldOptions& from) : FieldOptions(nullptr, from) {}
inline FieldOptions(FieldOptions&& from) noexcept
: FieldOptions(nullptr, ::std::move(from)) {}
inline FieldOptions& operator=(const FieldOptions& from) {
CopyFrom(from);
return *this;
}
inline FieldOptions& operator=(FieldOptions&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const FieldOptions& default_instance() {
return *reinterpret_cast<const FieldOptions*>(
&_FieldOptions_default_instance_);
}
static constexpr int kIndexInFileMessages = 18;
friend void swap(FieldOptions& a, FieldOptions& b) { a.Swap(&b); }
inline void Swap(FieldOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(FieldOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
FieldOptions* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<FieldOptions>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const FieldOptions& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const FieldOptions& from) { FieldOptions::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(FieldOptions* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.FieldOptions"; }
explicit FieldOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
FieldOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FieldOptions& from);
FieldOptions(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FieldOptions&& from) noexcept
: FieldOptions(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
using EditionDefault = FieldOptions_EditionDefault;
using FeatureSupport = FieldOptions_FeatureSupport;
using CType = FieldOptions_CType;
static constexpr CType STRING = FieldOptions_CType_STRING;
static constexpr CType CORD = FieldOptions_CType_CORD;
static constexpr CType STRING_PIECE = FieldOptions_CType_STRING_PIECE;
static inline bool CType_IsValid(int value) {
return FieldOptions_CType_IsValid(value);
}
static constexpr CType CType_MIN = FieldOptions_CType_CType_MIN;
static constexpr CType CType_MAX = FieldOptions_CType_CType_MAX;
static constexpr int CType_ARRAYSIZE = FieldOptions_CType_CType_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL CType_descriptor() {
return FieldOptions_CType_descriptor();
}
template <typename T>
static inline const ::std::string& CType_Name(T value) {
return FieldOptions_CType_Name(value);
}
static inline bool CType_Parse(
::absl::string_view name, CType* PROTOBUF_NONNULL value) {
return FieldOptions_CType_Parse(name, value);
}
using JSType = FieldOptions_JSType;
static constexpr JSType JS_NORMAL = FieldOptions_JSType_JS_NORMAL;
static constexpr JSType JS_STRING = FieldOptions_JSType_JS_STRING;
static constexpr JSType JS_NUMBER = FieldOptions_JSType_JS_NUMBER;
static inline bool JSType_IsValid(int value) {
return FieldOptions_JSType_IsValid(value);
}
static constexpr JSType JSType_MIN = FieldOptions_JSType_JSType_MIN;
static constexpr JSType JSType_MAX = FieldOptions_JSType_JSType_MAX;
static constexpr int JSType_ARRAYSIZE = FieldOptions_JSType_JSType_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL JSType_descriptor() {
return FieldOptions_JSType_descriptor();
}
template <typename T>
static inline const ::std::string& JSType_Name(T value) {
return FieldOptions_JSType_Name(value);
}
static inline bool JSType_Parse(
::absl::string_view name, JSType* PROTOBUF_NONNULL value) {
return FieldOptions_JSType_Parse(name, value);
}
using OptionRetention = FieldOptions_OptionRetention;
static constexpr OptionRetention RETENTION_UNKNOWN = FieldOptions_OptionRetention_RETENTION_UNKNOWN;
static constexpr OptionRetention RETENTION_RUNTIME = FieldOptions_OptionRetention_RETENTION_RUNTIME;
static constexpr OptionRetention RETENTION_SOURCE = FieldOptions_OptionRetention_RETENTION_SOURCE;
static inline bool OptionRetention_IsValid(int value) {
return FieldOptions_OptionRetention_IsValid(value);
}
static constexpr OptionRetention OptionRetention_MIN = FieldOptions_OptionRetention_OptionRetention_MIN;
static constexpr OptionRetention OptionRetention_MAX = FieldOptions_OptionRetention_OptionRetention_MAX;
static constexpr int OptionRetention_ARRAYSIZE = FieldOptions_OptionRetention_OptionRetention_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL OptionRetention_descriptor() {
return FieldOptions_OptionRetention_descriptor();
}
template <typename T>
static inline const ::std::string& OptionRetention_Name(T value) {
return FieldOptions_OptionRetention_Name(value);
}
static inline bool OptionRetention_Parse(
::absl::string_view name, OptionRetention* PROTOBUF_NONNULL value) {
return FieldOptions_OptionRetention_Parse(name, value);
}
using OptionTargetType = FieldOptions_OptionTargetType;
static constexpr OptionTargetType TARGET_TYPE_UNKNOWN = FieldOptions_OptionTargetType_TARGET_TYPE_UNKNOWN;
static constexpr OptionTargetType TARGET_TYPE_FILE = FieldOptions_OptionTargetType_TARGET_TYPE_FILE;
static constexpr OptionTargetType TARGET_TYPE_EXTENSION_RANGE = FieldOptions_OptionTargetType_TARGET_TYPE_EXTENSION_RANGE;
static constexpr OptionTargetType TARGET_TYPE_MESSAGE = FieldOptions_OptionTargetType_TARGET_TYPE_MESSAGE;
static constexpr OptionTargetType TARGET_TYPE_FIELD = FieldOptions_OptionTargetType_TARGET_TYPE_FIELD;
static constexpr OptionTargetType TARGET_TYPE_ONEOF = FieldOptions_OptionTargetType_TARGET_TYPE_ONEOF;
static constexpr OptionTargetType TARGET_TYPE_ENUM = FieldOptions_OptionTargetType_TARGET_TYPE_ENUM;
static constexpr OptionTargetType TARGET_TYPE_ENUM_ENTRY = FieldOptions_OptionTargetType_TARGET_TYPE_ENUM_ENTRY;
static constexpr OptionTargetType TARGET_TYPE_SERVICE = FieldOptions_OptionTargetType_TARGET_TYPE_SERVICE;
static constexpr OptionTargetType TARGET_TYPE_METHOD = FieldOptions_OptionTargetType_TARGET_TYPE_METHOD;
static inline bool OptionTargetType_IsValid(int value) {
return FieldOptions_OptionTargetType_IsValid(value);
}
static constexpr OptionTargetType OptionTargetType_MIN = FieldOptions_OptionTargetType_OptionTargetType_MIN;
static constexpr OptionTargetType OptionTargetType_MAX = FieldOptions_OptionTargetType_OptionTargetType_MAX;
static constexpr int OptionTargetType_ARRAYSIZE = FieldOptions_OptionTargetType_OptionTargetType_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL OptionTargetType_descriptor() {
return FieldOptions_OptionTargetType_descriptor();
}
template <typename T>
static inline const ::std::string& OptionTargetType_Name(T value) {
return FieldOptions_OptionTargetType_Name(value);
}
static inline bool OptionTargetType_Parse(
::absl::string_view name, OptionTargetType* PROTOBUF_NONNULL value) {
return FieldOptions_OptionTargetType_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kEditionDefaultsFieldNumber = 20,
kUninterpretedOptionFieldNumber = 999,
kFeaturesFieldNumber = 21,
kFeatureSupportFieldNumber = 22,
kCtypeFieldNumber = 1,
kPackedFieldNumber = 2,
kDeprecatedFieldNumber = 3,
kLazyFieldNumber = 5,
kWeakFieldNumber = 10,
kJstypeFieldNumber = 6,
kUnverifiedLazyFieldNumber = 15,
kDebugRedactFieldNumber = 16,
kRetentionFieldNumber = 17,
kTargetsFieldNumber = 19,
};
// repeated .google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;
int edition_defaults_size() const;
private:
int _internal_edition_defaults_size() const;
public:
void clear_edition_defaults() ;
::google::protobuf::FieldOptions_EditionDefault* PROTOBUF_NONNULL mutable_edition_defaults(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>* PROTOBUF_NONNULL mutable_edition_defaults();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>& _internal_edition_defaults() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>* PROTOBUF_NONNULL _internal_mutable_edition_defaults();
public:
const ::google::protobuf::FieldOptions_EditionDefault& edition_defaults(int index) const;
::google::protobuf::FieldOptions_EditionDefault* PROTOBUF_NONNULL add_edition_defaults();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldOptions_EditionDefault>& edition_defaults() const;
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
int uninterpreted_option_size() const;
private:
int _internal_uninterpreted_option_size() const;
public:
void clear_uninterpreted_option() ;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL mutable_uninterpreted_option(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL mutable_uninterpreted_option();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL _internal_mutable_uninterpreted_option();
public:
const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL add_uninterpreted_option();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
// optional .google.protobuf.FeatureSet features = 21;
bool has_features() const;
void clear_features() ;
const ::google::protobuf::FeatureSet& features() const;
[[nodiscard]] ::google::protobuf::FeatureSet* PROTOBUF_NULLABLE release_features();
::google::protobuf::FeatureSet* PROTOBUF_NONNULL mutable_features();
void set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE unsafe_arena_release_features();
private:
const ::google::protobuf::FeatureSet& _internal_features() const;
::google::protobuf::FeatureSet* PROTOBUF_NONNULL _internal_mutable_features();
public:
// optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 22;
bool has_feature_support() const;
void clear_feature_support() ;
const ::google::protobuf::FieldOptions_FeatureSupport& feature_support() const;
[[nodiscard]] ::google::protobuf::FieldOptions_FeatureSupport* PROTOBUF_NULLABLE release_feature_support();
::google::protobuf::FieldOptions_FeatureSupport* PROTOBUF_NONNULL mutable_feature_support();
void set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* PROTOBUF_NULLABLE value);
::google::protobuf::FieldOptions_FeatureSupport* PROTOBUF_NULLABLE unsafe_arena_release_feature_support();
private:
const ::google::protobuf::FieldOptions_FeatureSupport& _internal_feature_support() const;
::google::protobuf::FieldOptions_FeatureSupport* PROTOBUF_NONNULL _internal_mutable_feature_support();
public:
// optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
bool has_ctype() const;
void clear_ctype() ;
::google::protobuf::FieldOptions_CType ctype() const;
void set_ctype(::google::protobuf::FieldOptions_CType value);
private:
::google::protobuf::FieldOptions_CType _internal_ctype() const;
void _internal_set_ctype(::google::protobuf::FieldOptions_CType value);
public:
// optional bool packed = 2;
bool has_packed() const;
void clear_packed() ;
bool packed() const;
void set_packed(bool value);
private:
bool _internal_packed() const;
void _internal_set_packed(bool value);
public:
// optional bool deprecated = 3 [default = false];
bool has_deprecated() const;
void clear_deprecated() ;
bool deprecated() const;
void set_deprecated(bool value);
private:
bool _internal_deprecated() const;
void _internal_set_deprecated(bool value);
public:
// optional bool lazy = 5 [default = false];
bool has_lazy() const;
void clear_lazy() ;
bool lazy() const;
void set_lazy(bool value);
private:
bool _internal_lazy() const;
void _internal_set_lazy(bool value);
public:
// optional bool weak = 10 [default = false, deprecated = true];
[[deprecated]] bool has_weak() const;
[[deprecated]] void clear_weak() ;
[[deprecated]] bool weak() const;
[[deprecated]] void set_weak(bool value);
private:
bool _internal_weak() const;
void _internal_set_weak(bool value);
public:
// optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
bool has_jstype() const;
void clear_jstype() ;
::google::protobuf::FieldOptions_JSType jstype() const;
void set_jstype(::google::protobuf::FieldOptions_JSType value);
private:
::google::protobuf::FieldOptions_JSType _internal_jstype() const;
void _internal_set_jstype(::google::protobuf::FieldOptions_JSType value);
public:
// optional bool unverified_lazy = 15 [default = false];
bool has_unverified_lazy() const;
void clear_unverified_lazy() ;
bool unverified_lazy() const;
void set_unverified_lazy(bool value);
private:
bool _internal_unverified_lazy() const;
void _internal_set_unverified_lazy(bool value);
public:
// optional bool debug_redact = 16 [default = false];
bool has_debug_redact() const;
void clear_debug_redact() ;
bool debug_redact() const;
void set_debug_redact(bool value);
private:
bool _internal_debug_redact() const;
void _internal_set_debug_redact(bool value);
public:
// optional .google.protobuf.FieldOptions.OptionRetention retention = 17;
bool has_retention() const;
void clear_retention() ;
::google::protobuf::FieldOptions_OptionRetention retention() const;
void set_retention(::google::protobuf::FieldOptions_OptionRetention value);
private:
::google::protobuf::FieldOptions_OptionRetention _internal_retention() const;
void _internal_set_retention(::google::protobuf::FieldOptions_OptionRetention value);
public:
// repeated .google.protobuf.FieldOptions.OptionTargetType targets = 19;
int targets_size() const;
private:
int _internal_targets_size() const;
public:
void clear_targets() ;
public:
::google::protobuf::FieldOptions_OptionTargetType targets(int index) const;
void set_targets(int index, ::google::protobuf::FieldOptions_OptionTargetType value);
void add_targets(::google::protobuf::FieldOptions_OptionTargetType value);
const ::google::protobuf::RepeatedField<int>& targets() const;
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL mutable_targets();
private:
const ::google::protobuf::RepeatedField<int>& _internal_targets() const;
::google::protobuf::RepeatedField<int>* PROTOBUF_NONNULL _internal_mutable_targets();
public:
template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
bool _is_packed,
typename = typename _proto_TypeTraits::Singular>
PROTOBUF_FUTURE_ADD_NODISCARD inline bool HasExtension(
const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _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<FieldOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline int ExtensionSize(
const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
FieldOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
FieldOptions, _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<FieldOptions, _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<FieldOptions, _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<FieldOptions, _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<FieldOptions, _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>
[[nodiscard]] inline typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const ::google::protobuf::internal::ExtensionIdentifier<
FieldOptions, _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<FieldOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _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<FieldOptions, _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<FieldOptions, _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<FieldOptions, _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<FieldOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline const typename _proto_TypeTraits::
Repeated::RepeatedFieldType&
GetRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _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* PROTOBUF_NONNULL
MutableRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<FieldOptions, _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.FieldOptions)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<4, 14,
8, 0,
7>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const FieldOptions& from_msg);
::google::protobuf::internal::ExtensionSet _extensions_;
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldOptions_EditionDefault > edition_defaults_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE features_;
::google::protobuf::FieldOptions_FeatureSupport* PROTOBUF_NULLABLE feature_support_;
int ctype_;
bool packed_;
bool deprecated_;
bool lazy_;
bool weak_;
int jstype_;
bool unverified_lazy_;
bool debug_redact_;
int retention_;
::google::protobuf::RepeatedField<int> targets_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldOptions_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT FeatureSetDefaults final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.FeatureSetDefaults) */ {
public:
inline FeatureSetDefaults() : FeatureSetDefaults(nullptr) {}
~FeatureSetDefaults() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(FeatureSetDefaults* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(FeatureSetDefaults));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR FeatureSetDefaults(::google::protobuf::internal::ConstantInitialized);
inline FeatureSetDefaults(const FeatureSetDefaults& from) : FeatureSetDefaults(nullptr, from) {}
inline FeatureSetDefaults(FeatureSetDefaults&& from) noexcept
: FeatureSetDefaults(nullptr, ::std::move(from)) {}
inline FeatureSetDefaults& operator=(const FeatureSetDefaults& from) {
CopyFrom(from);
return *this;
}
inline FeatureSetDefaults& operator=(FeatureSetDefaults&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const FeatureSetDefaults& default_instance() {
return *reinterpret_cast<const FeatureSetDefaults*>(
&_FeatureSetDefaults_default_instance_);
}
static constexpr int kIndexInFileMessages = 29;
friend void swap(FeatureSetDefaults& a, FeatureSetDefaults& b) { a.Swap(&b); }
inline void Swap(FeatureSetDefaults* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(FeatureSetDefaults* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
FeatureSetDefaults* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<FeatureSetDefaults>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const FeatureSetDefaults& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const FeatureSetDefaults& from) { FeatureSetDefaults::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(FeatureSetDefaults* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.FeatureSetDefaults"; }
explicit FeatureSetDefaults(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
FeatureSetDefaults(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FeatureSetDefaults& from);
FeatureSetDefaults(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FeatureSetDefaults&& from) noexcept
: FeatureSetDefaults(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
using FeatureSetEditionDefault = FeatureSetDefaults_FeatureSetEditionDefault;
// accessors -------------------------------------------------------
enum : int {
kDefaultsFieldNumber = 1,
kMinimumEditionFieldNumber = 4,
kMaximumEditionFieldNumber = 5,
};
// repeated .google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
int defaults_size() const;
private:
int _internal_defaults_size() const;
public:
void clear_defaults() ;
::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault* PROTOBUF_NONNULL mutable_defaults(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>* PROTOBUF_NONNULL mutable_defaults();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>& _internal_defaults() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>* PROTOBUF_NONNULL _internal_mutable_defaults();
public:
const ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault& defaults(int index) const;
::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault* PROTOBUF_NONNULL add_defaults();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault>& defaults() const;
// optional .google.protobuf.Edition minimum_edition = 4;
bool has_minimum_edition() const;
void clear_minimum_edition() ;
::google::protobuf::Edition minimum_edition() const;
void set_minimum_edition(::google::protobuf::Edition value);
private:
::google::protobuf::Edition _internal_minimum_edition() const;
void _internal_set_minimum_edition(::google::protobuf::Edition value);
public:
// optional .google.protobuf.Edition maximum_edition = 5;
bool has_maximum_edition() const;
void clear_maximum_edition() ;
::google::protobuf::Edition maximum_edition() const;
void set_maximum_edition(::google::protobuf::Edition value);
private:
::google::protobuf::Edition _internal_maximum_edition() const;
void _internal_set_maximum_edition(::google::protobuf::Edition value);
public:
// @@protoc_insertion_point(class_scope:google.protobuf.FeatureSetDefaults)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 3,
3, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const FeatureSetDefaults& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::FeatureSetDefaults_FeatureSetEditionDefault > defaults_;
int minimum_edition_;
int maximum_edition_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FeatureSetDefaults_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT ExtensionRangeOptions final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.ExtensionRangeOptions) */ {
public:
inline ExtensionRangeOptions() : ExtensionRangeOptions(nullptr) {}
~ExtensionRangeOptions() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(ExtensionRangeOptions* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(ExtensionRangeOptions));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR ExtensionRangeOptions(::google::protobuf::internal::ConstantInitialized);
inline ExtensionRangeOptions(const ExtensionRangeOptions& from) : ExtensionRangeOptions(nullptr, from) {}
inline ExtensionRangeOptions(ExtensionRangeOptions&& from) noexcept
: ExtensionRangeOptions(nullptr, ::std::move(from)) {}
inline ExtensionRangeOptions& operator=(const ExtensionRangeOptions& from) {
CopyFrom(from);
return *this;
}
inline ExtensionRangeOptions& operator=(ExtensionRangeOptions&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const ExtensionRangeOptions& default_instance() {
return *reinterpret_cast<const ExtensionRangeOptions*>(
&_ExtensionRangeOptions_default_instance_);
}
static constexpr int kIndexInFileMessages = 6;
friend void swap(ExtensionRangeOptions& a, ExtensionRangeOptions& b) { a.Swap(&b); }
inline void Swap(ExtensionRangeOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(ExtensionRangeOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
ExtensionRangeOptions* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<ExtensionRangeOptions>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const ExtensionRangeOptions& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const ExtensionRangeOptions& from) { ExtensionRangeOptions::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(ExtensionRangeOptions* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.ExtensionRangeOptions"; }
explicit ExtensionRangeOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
ExtensionRangeOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ExtensionRangeOptions& from);
ExtensionRangeOptions(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ExtensionRangeOptions&& from) noexcept
: ExtensionRangeOptions(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
using Declaration = ExtensionRangeOptions_Declaration;
using VerificationState = ExtensionRangeOptions_VerificationState;
static constexpr VerificationState DECLARATION = ExtensionRangeOptions_VerificationState_DECLARATION;
static constexpr VerificationState UNVERIFIED = ExtensionRangeOptions_VerificationState_UNVERIFIED;
static inline bool VerificationState_IsValid(int value) {
return ExtensionRangeOptions_VerificationState_IsValid(value);
}
static constexpr VerificationState VerificationState_MIN = ExtensionRangeOptions_VerificationState_VerificationState_MIN;
static constexpr VerificationState VerificationState_MAX = ExtensionRangeOptions_VerificationState_VerificationState_MAX;
static constexpr int VerificationState_ARRAYSIZE = ExtensionRangeOptions_VerificationState_VerificationState_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL VerificationState_descriptor() {
return ExtensionRangeOptions_VerificationState_descriptor();
}
template <typename T>
static inline const ::std::string& VerificationState_Name(T value) {
return ExtensionRangeOptions_VerificationState_Name(value);
}
static inline bool VerificationState_Parse(
::absl::string_view name, VerificationState* PROTOBUF_NONNULL value) {
return ExtensionRangeOptions_VerificationState_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kDeclarationFieldNumber = 2,
kUninterpretedOptionFieldNumber = 999,
kFeaturesFieldNumber = 50,
kVerificationFieldNumber = 3,
};
// repeated .google.protobuf.ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
int declaration_size() const;
private:
int _internal_declaration_size() const;
public:
void clear_declaration() ;
::google::protobuf::ExtensionRangeOptions_Declaration* PROTOBUF_NONNULL mutable_declaration(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>* PROTOBUF_NONNULL mutable_declaration();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>& _internal_declaration() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>* PROTOBUF_NONNULL _internal_mutable_declaration();
public:
const ::google::protobuf::ExtensionRangeOptions_Declaration& declaration(int index) const;
::google::protobuf::ExtensionRangeOptions_Declaration* PROTOBUF_NONNULL add_declaration();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::ExtensionRangeOptions_Declaration>& declaration() const;
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
int uninterpreted_option_size() const;
private:
int _internal_uninterpreted_option_size() const;
public:
void clear_uninterpreted_option() ;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL mutable_uninterpreted_option(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL mutable_uninterpreted_option();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL _internal_mutable_uninterpreted_option();
public:
const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL add_uninterpreted_option();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
// optional .google.protobuf.FeatureSet features = 50;
bool has_features() const;
void clear_features() ;
const ::google::protobuf::FeatureSet& features() const;
[[nodiscard]] ::google::protobuf::FeatureSet* PROTOBUF_NULLABLE release_features();
::google::protobuf::FeatureSet* PROTOBUF_NONNULL mutable_features();
void set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE unsafe_arena_release_features();
private:
const ::google::protobuf::FeatureSet& _internal_features() const;
::google::protobuf::FeatureSet* PROTOBUF_NONNULL _internal_mutable_features();
public:
// optional .google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED, retention = RETENTION_SOURCE];
bool has_verification() const;
void clear_verification() ;
::google::protobuf::ExtensionRangeOptions_VerificationState verification() const;
void set_verification(::google::protobuf::ExtensionRangeOptions_VerificationState value);
private:
::google::protobuf::ExtensionRangeOptions_VerificationState _internal_verification() const;
void _internal_set_verification(::google::protobuf::ExtensionRangeOptions_VerificationState value);
public:
template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
bool _is_packed,
typename = typename _proto_TypeTraits::Singular>
PROTOBUF_FUTURE_ADD_NODISCARD inline bool HasExtension(
const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _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<ExtensionRangeOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline int ExtensionSize(
const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
ExtensionRangeOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
ExtensionRangeOptions, _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<ExtensionRangeOptions, _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<ExtensionRangeOptions, _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<ExtensionRangeOptions, _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<ExtensionRangeOptions, _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>
[[nodiscard]] inline typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const ::google::protobuf::internal::ExtensionIdentifier<
ExtensionRangeOptions, _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<ExtensionRangeOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _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<ExtensionRangeOptions, _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<ExtensionRangeOptions, _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<ExtensionRangeOptions, _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<ExtensionRangeOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline const typename _proto_TypeTraits::
Repeated::RepeatedFieldType&
GetRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _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* PROTOBUF_NONNULL
MutableRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<ExtensionRangeOptions, _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.ExtensionRangeOptions)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 4,
4, 0,
12>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const ExtensionRangeOptions& from_msg);
::google::protobuf::internal::ExtensionSet _extensions_;
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::ExtensionRangeOptions_Declaration > declaration_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE features_;
int verification_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ExtensionRangeOptions_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT EnumValueOptions final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueOptions) */ {
public:
inline EnumValueOptions() : EnumValueOptions(nullptr) {}
~EnumValueOptions() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(EnumValueOptions* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(EnumValueOptions));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR EnumValueOptions(::google::protobuf::internal::ConstantInitialized);
inline EnumValueOptions(const EnumValueOptions& from) : EnumValueOptions(nullptr, from) {}
inline EnumValueOptions(EnumValueOptions&& from) noexcept
: EnumValueOptions(nullptr, ::std::move(from)) {}
inline EnumValueOptions& operator=(const EnumValueOptions& from) {
CopyFrom(from);
return *this;
}
inline EnumValueOptions& operator=(EnumValueOptions&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const EnumValueOptions& default_instance() {
return *reinterpret_cast<const EnumValueOptions*>(
&_EnumValueOptions_default_instance_);
}
static constexpr int kIndexInFileMessages = 21;
friend void swap(EnumValueOptions& a, EnumValueOptions& b) { a.Swap(&b); }
inline void Swap(EnumValueOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(EnumValueOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
EnumValueOptions* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<EnumValueOptions>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const EnumValueOptions& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const EnumValueOptions& from) { EnumValueOptions::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(EnumValueOptions* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.EnumValueOptions"; }
explicit EnumValueOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
EnumValueOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const EnumValueOptions& from);
EnumValueOptions(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, EnumValueOptions&& from) noexcept
: EnumValueOptions(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kUninterpretedOptionFieldNumber = 999,
kFeaturesFieldNumber = 2,
kFeatureSupportFieldNumber = 4,
kDeprecatedFieldNumber = 1,
kDebugRedactFieldNumber = 3,
};
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
int uninterpreted_option_size() const;
private:
int _internal_uninterpreted_option_size() const;
public:
void clear_uninterpreted_option() ;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL mutable_uninterpreted_option(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL mutable_uninterpreted_option();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL _internal_mutable_uninterpreted_option();
public:
const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL add_uninterpreted_option();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
// optional .google.protobuf.FeatureSet features = 2;
bool has_features() const;
void clear_features() ;
const ::google::protobuf::FeatureSet& features() const;
[[nodiscard]] ::google::protobuf::FeatureSet* PROTOBUF_NULLABLE release_features();
::google::protobuf::FeatureSet* PROTOBUF_NONNULL mutable_features();
void set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE unsafe_arena_release_features();
private:
const ::google::protobuf::FeatureSet& _internal_features() const;
::google::protobuf::FeatureSet* PROTOBUF_NONNULL _internal_mutable_features();
public:
// optional .google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
bool has_feature_support() const;
void clear_feature_support() ;
const ::google::protobuf::FieldOptions_FeatureSupport& feature_support() const;
[[nodiscard]] ::google::protobuf::FieldOptions_FeatureSupport* PROTOBUF_NULLABLE release_feature_support();
::google::protobuf::FieldOptions_FeatureSupport* PROTOBUF_NONNULL mutable_feature_support();
void set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_feature_support(::google::protobuf::FieldOptions_FeatureSupport* PROTOBUF_NULLABLE value);
::google::protobuf::FieldOptions_FeatureSupport* PROTOBUF_NULLABLE unsafe_arena_release_feature_support();
private:
const ::google::protobuf::FieldOptions_FeatureSupport& _internal_feature_support() const;
::google::protobuf::FieldOptions_FeatureSupport* PROTOBUF_NONNULL _internal_mutable_feature_support();
public:
// optional bool deprecated = 1 [default = false];
bool has_deprecated() const;
void clear_deprecated() ;
bool deprecated() const;
void set_deprecated(bool value);
private:
bool _internal_deprecated() const;
void _internal_set_deprecated(bool value);
public:
// optional bool debug_redact = 3 [default = false];
bool has_debug_redact() const;
void clear_debug_redact() ;
bool debug_redact() const;
void set_debug_redact(bool value);
private:
bool _internal_debug_redact() const;
void _internal_set_debug_redact(bool value);
public:
template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
bool _is_packed,
typename = typename _proto_TypeTraits::Singular>
PROTOBUF_FUTURE_ADD_NODISCARD inline bool HasExtension(
const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _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<EnumValueOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline int ExtensionSize(
const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
EnumValueOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
EnumValueOptions, _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<EnumValueOptions, _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<EnumValueOptions, _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<EnumValueOptions, _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<EnumValueOptions, _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>
[[nodiscard]] inline typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const ::google::protobuf::internal::ExtensionIdentifier<
EnumValueOptions, _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<EnumValueOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _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<EnumValueOptions, _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<EnumValueOptions, _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<EnumValueOptions, _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<EnumValueOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline const typename _proto_TypeTraits::
Repeated::RepeatedFieldType&
GetRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _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* PROTOBUF_NONNULL
MutableRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<EnumValueOptions, _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.EnumValueOptions)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 5,
3, 0,
7>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const EnumValueOptions& from_msg);
::google::protobuf::internal::ExtensionSet _extensions_;
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE features_;
::google::protobuf::FieldOptions_FeatureSupport* PROTOBUF_NULLABLE feature_support_;
bool deprecated_;
bool debug_redact_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumValueOptions_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT EnumOptions final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.EnumOptions) */ {
public:
inline EnumOptions() : EnumOptions(nullptr) {}
~EnumOptions() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(EnumOptions* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(EnumOptions));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR EnumOptions(::google::protobuf::internal::ConstantInitialized);
inline EnumOptions(const EnumOptions& from) : EnumOptions(nullptr, from) {}
inline EnumOptions(EnumOptions&& from) noexcept
: EnumOptions(nullptr, ::std::move(from)) {}
inline EnumOptions& operator=(const EnumOptions& from) {
CopyFrom(from);
return *this;
}
inline EnumOptions& operator=(EnumOptions&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const EnumOptions& default_instance() {
return *reinterpret_cast<const EnumOptions*>(
&_EnumOptions_default_instance_);
}
static constexpr int kIndexInFileMessages = 20;
friend void swap(EnumOptions& a, EnumOptions& b) { a.Swap(&b); }
inline void Swap(EnumOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(EnumOptions* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
EnumOptions* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<EnumOptions>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const EnumOptions& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const EnumOptions& from) { EnumOptions::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(EnumOptions* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.EnumOptions"; }
explicit EnumOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
EnumOptions(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const EnumOptions& from);
EnumOptions(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, EnumOptions&& from) noexcept
: EnumOptions(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kFeaturesFieldNumber = 7,
kAllowAliasFieldNumber = 2,
kDeprecatedFieldNumber = 3,
kDeprecatedLegacyJsonFieldConflictsFieldNumber = 6,
kUninterpretedOptionFieldNumber = 999,
};
// optional .google.protobuf.FeatureSet features = 7;
bool has_features() const;
void clear_features() ;
const ::google::protobuf::FeatureSet& features() const;
[[nodiscard]] ::google::protobuf::FeatureSet* PROTOBUF_NULLABLE release_features();
::google::protobuf::FeatureSet* PROTOBUF_NONNULL mutable_features();
void set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_features(::google::protobuf::FeatureSet* PROTOBUF_NULLABLE value);
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE unsafe_arena_release_features();
private:
const ::google::protobuf::FeatureSet& _internal_features() const;
::google::protobuf::FeatureSet* PROTOBUF_NONNULL _internal_mutable_features();
public:
// optional bool allow_alias = 2;
bool has_allow_alias() const;
void clear_allow_alias() ;
bool allow_alias() const;
void set_allow_alias(bool value);
private:
bool _internal_allow_alias() const;
void _internal_set_allow_alias(bool value);
public:
// optional bool deprecated = 3 [default = false];
bool has_deprecated() const;
void clear_deprecated() ;
bool deprecated() const;
void set_deprecated(bool value);
private:
bool _internal_deprecated() const;
void _internal_set_deprecated(bool value);
public:
// optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
[[deprecated]] bool has_deprecated_legacy_json_field_conflicts() const;
[[deprecated]] void clear_deprecated_legacy_json_field_conflicts() ;
[[deprecated]] bool deprecated_legacy_json_field_conflicts() const;
[[deprecated]] void set_deprecated_legacy_json_field_conflicts(bool value);
private:
bool _internal_deprecated_legacy_json_field_conflicts() const;
void _internal_set_deprecated_legacy_json_field_conflicts(bool value);
public:
// repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
int uninterpreted_option_size() const;
private:
int _internal_uninterpreted_option_size() const;
public:
void clear_uninterpreted_option() ;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL mutable_uninterpreted_option(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL mutable_uninterpreted_option();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& _internal_uninterpreted_option() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>* PROTOBUF_NONNULL _internal_mutable_uninterpreted_option();
public:
const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
::google::protobuf::UninterpretedOption* PROTOBUF_NONNULL add_uninterpreted_option();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::UninterpretedOption>& uninterpreted_option() const;
template <typename _proto_TypeTraits, ::google::protobuf::internal::FieldType _field_type,
bool _is_packed,
typename = typename _proto_TypeTraits::Singular>
PROTOBUF_FUTURE_ADD_NODISCARD inline bool HasExtension(
const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _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<EnumOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline int ExtensionSize(
const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
EnumOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Singular::ConstType
GetExtension(const ::google::protobuf::internal::ExtensionIdentifier<
EnumOptions, _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<EnumOptions, _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<EnumOptions, _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<EnumOptions, _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<EnumOptions, _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>
[[nodiscard]] inline typename _proto_TypeTraits::Singular::MutableType
ReleaseExtension(const ::google::protobuf::internal::ExtensionIdentifier<
EnumOptions, _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<EnumOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline
typename _proto_TypeTraits::Repeated::ConstType
GetExtension(
const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _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<EnumOptions, _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<EnumOptions, _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<EnumOptions, _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<EnumOptions, _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>
PROTOBUF_FUTURE_ADD_NODISCARD inline const typename _proto_TypeTraits::
Repeated::RepeatedFieldType&
GetRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _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* PROTOBUF_NONNULL
MutableRepeatedExtension(
const ::google::protobuf::internal::ExtensionIdentifier<EnumOptions, _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.EnumOptions)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 5,
2, 0,
7>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const EnumOptions& from_msg);
::google::protobuf::internal::ExtensionSet _extensions_;
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::FeatureSet* PROTOBUF_NULLABLE features_;
bool allow_alias_;
bool deprecated_;
bool deprecated_legacy_json_field_conflicts_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumOptions_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT OneofDescriptorProto final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.OneofDescriptorProto) */ {
public:
inline OneofDescriptorProto() : OneofDescriptorProto(nullptr) {}
~OneofDescriptorProto() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(OneofDescriptorProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(OneofDescriptorProto));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR OneofDescriptorProto(::google::protobuf::internal::ConstantInitialized);
inline OneofDescriptorProto(const OneofDescriptorProto& from) : OneofDescriptorProto(nullptr, from) {}
inline OneofDescriptorProto(OneofDescriptorProto&& from) noexcept
: OneofDescriptorProto(nullptr, ::std::move(from)) {}
inline OneofDescriptorProto& operator=(const OneofDescriptorProto& from) {
CopyFrom(from);
return *this;
}
inline OneofDescriptorProto& operator=(OneofDescriptorProto&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const OneofDescriptorProto& default_instance() {
return *reinterpret_cast<const OneofDescriptorProto*>(
&_OneofDescriptorProto_default_instance_);
}
static constexpr int kIndexInFileMessages = 8;
friend void swap(OneofDescriptorProto& a, OneofDescriptorProto& b) { a.Swap(&b); }
inline void Swap(OneofDescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(OneofDescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
OneofDescriptorProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<OneofDescriptorProto>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const OneofDescriptorProto& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const OneofDescriptorProto& from) { OneofDescriptorProto::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(OneofDescriptorProto* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.OneofDescriptorProto"; }
explicit OneofDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
OneofDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const OneofDescriptorProto& from);
OneofDescriptorProto(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, OneofDescriptorProto&& from) noexcept
: OneofDescriptorProto(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kNameFieldNumber = 1,
kOptionsFieldNumber = 2,
};
// optional string name = 1;
bool has_name() const;
void clear_name() ;
const ::std::string& name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_name();
public:
// optional .google.protobuf.OneofOptions options = 2;
bool has_options() const;
void clear_options() ;
const ::google::protobuf::OneofOptions& options() const;
[[nodiscard]] ::google::protobuf::OneofOptions* PROTOBUF_NULLABLE release_options();
::google::protobuf::OneofOptions* PROTOBUF_NONNULL mutable_options();
void set_allocated_options(::google::protobuf::OneofOptions* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_options(::google::protobuf::OneofOptions* PROTOBUF_NULLABLE value);
::google::protobuf::OneofOptions* PROTOBUF_NULLABLE unsafe_arena_release_options();
private:
const ::google::protobuf::OneofOptions& _internal_options() const;
::google::protobuf::OneofOptions* PROTOBUF_NONNULL _internal_mutable_options();
public:
// @@protoc_insertion_point(class_scope:google.protobuf.OneofDescriptorProto)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<1, 2,
1, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const OneofDescriptorProto& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr name_;
::google::protobuf::OneofOptions* PROTOBUF_NULLABLE options_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull OneofDescriptorProto_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT MethodDescriptorProto final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.MethodDescriptorProto) */ {
public:
inline MethodDescriptorProto() : MethodDescriptorProto(nullptr) {}
~MethodDescriptorProto() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(MethodDescriptorProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(MethodDescriptorProto));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR MethodDescriptorProto(::google::protobuf::internal::ConstantInitialized);
inline MethodDescriptorProto(const MethodDescriptorProto& from) : MethodDescriptorProto(nullptr, from) {}
inline MethodDescriptorProto(MethodDescriptorProto&& from) noexcept
: MethodDescriptorProto(nullptr, ::std::move(from)) {}
inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) {
CopyFrom(from);
return *this;
}
inline MethodDescriptorProto& operator=(MethodDescriptorProto&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const MethodDescriptorProto& default_instance() {
return *reinterpret_cast<const MethodDescriptorProto*>(
&_MethodDescriptorProto_default_instance_);
}
static constexpr int kIndexInFileMessages = 13;
friend void swap(MethodDescriptorProto& a, MethodDescriptorProto& b) { a.Swap(&b); }
inline void Swap(MethodDescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(MethodDescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
MethodDescriptorProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<MethodDescriptorProto>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const MethodDescriptorProto& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const MethodDescriptorProto& from) { MethodDescriptorProto::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(MethodDescriptorProto* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.MethodDescriptorProto"; }
explicit MethodDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
MethodDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const MethodDescriptorProto& from);
MethodDescriptorProto(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, MethodDescriptorProto&& from) noexcept
: MethodDescriptorProto(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kNameFieldNumber = 1,
kInputTypeFieldNumber = 2,
kOutputTypeFieldNumber = 3,
kOptionsFieldNumber = 4,
kClientStreamingFieldNumber = 5,
kServerStreamingFieldNumber = 6,
};
// optional string name = 1;
bool has_name() const;
void clear_name() ;
const ::std::string& name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_name();
public:
// optional string input_type = 2;
bool has_input_type() const;
void clear_input_type() ;
const ::std::string& input_type() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_input_type(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_input_type();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_input_type();
void set_allocated_input_type(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_input_type() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_input_type(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_input_type();
public:
// optional string output_type = 3;
bool has_output_type() const;
void clear_output_type() ;
const ::std::string& output_type() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_output_type(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_output_type();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_output_type();
void set_allocated_output_type(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_output_type() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_output_type(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_output_type();
public:
// optional .google.protobuf.MethodOptions options = 4;
bool has_options() const;
void clear_options() ;
const ::google::protobuf::MethodOptions& options() const;
[[nodiscard]] ::google::protobuf::MethodOptions* PROTOBUF_NULLABLE release_options();
::google::protobuf::MethodOptions* PROTOBUF_NONNULL mutable_options();
void set_allocated_options(::google::protobuf::MethodOptions* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_options(::google::protobuf::MethodOptions* PROTOBUF_NULLABLE value);
::google::protobuf::MethodOptions* PROTOBUF_NULLABLE unsafe_arena_release_options();
private:
const ::google::protobuf::MethodOptions& _internal_options() const;
::google::protobuf::MethodOptions* PROTOBUF_NONNULL _internal_mutable_options();
public:
// optional bool client_streaming = 5 [default = false];
bool has_client_streaming() const;
void clear_client_streaming() ;
bool client_streaming() const;
void set_client_streaming(bool value);
private:
bool _internal_client_streaming() const;
void _internal_set_client_streaming(bool value);
public:
// optional bool server_streaming = 6 [default = false];
bool has_server_streaming() const;
void clear_server_streaming() ;
bool server_streaming() const;
void set_server_streaming(bool value);
private:
bool _internal_server_streaming() const;
void _internal_set_server_streaming(bool value);
public:
// @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 6,
1, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const MethodDescriptorProto& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr name_;
::google::protobuf::internal::ArenaStringPtr input_type_;
::google::protobuf::internal::ArenaStringPtr output_type_;
::google::protobuf::MethodOptions* PROTOBUF_NULLABLE options_;
bool client_streaming_;
bool server_streaming_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull MethodDescriptorProto_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT FieldDescriptorProto final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.FieldDescriptorProto) */ {
public:
inline FieldDescriptorProto() : FieldDescriptorProto(nullptr) {}
~FieldDescriptorProto() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(FieldDescriptorProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(FieldDescriptorProto));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR FieldDescriptorProto(::google::protobuf::internal::ConstantInitialized);
inline FieldDescriptorProto(const FieldDescriptorProto& from) : FieldDescriptorProto(nullptr, from) {}
inline FieldDescriptorProto(FieldDescriptorProto&& from) noexcept
: FieldDescriptorProto(nullptr, ::std::move(from)) {}
inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) {
CopyFrom(from);
return *this;
}
inline FieldDescriptorProto& operator=(FieldDescriptorProto&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const FieldDescriptorProto& default_instance() {
return *reinterpret_cast<const FieldDescriptorProto*>(
&_FieldDescriptorProto_default_instance_);
}
static constexpr int kIndexInFileMessages = 7;
friend void swap(FieldDescriptorProto& a, FieldDescriptorProto& b) { a.Swap(&b); }
inline void Swap(FieldDescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(FieldDescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
FieldDescriptorProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<FieldDescriptorProto>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const FieldDescriptorProto& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const FieldDescriptorProto& from) { FieldDescriptorProto::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(FieldDescriptorProto* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.FieldDescriptorProto"; }
explicit FieldDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
FieldDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FieldDescriptorProto& from);
FieldDescriptorProto(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FieldDescriptorProto&& from) noexcept
: FieldDescriptorProto(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
using Type = FieldDescriptorProto_Type;
static constexpr Type TYPE_DOUBLE = FieldDescriptorProto_Type_TYPE_DOUBLE;
static constexpr Type TYPE_FLOAT = FieldDescriptorProto_Type_TYPE_FLOAT;
static constexpr Type TYPE_INT64 = FieldDescriptorProto_Type_TYPE_INT64;
static constexpr Type TYPE_UINT64 = FieldDescriptorProto_Type_TYPE_UINT64;
static constexpr Type TYPE_INT32 = FieldDescriptorProto_Type_TYPE_INT32;
static constexpr Type TYPE_FIXED64 = FieldDescriptorProto_Type_TYPE_FIXED64;
static constexpr Type TYPE_FIXED32 = FieldDescriptorProto_Type_TYPE_FIXED32;
static constexpr Type TYPE_BOOL = FieldDescriptorProto_Type_TYPE_BOOL;
static constexpr Type TYPE_STRING = FieldDescriptorProto_Type_TYPE_STRING;
static constexpr Type TYPE_GROUP = FieldDescriptorProto_Type_TYPE_GROUP;
static constexpr Type TYPE_MESSAGE = FieldDescriptorProto_Type_TYPE_MESSAGE;
static constexpr Type TYPE_BYTES = FieldDescriptorProto_Type_TYPE_BYTES;
static constexpr Type TYPE_UINT32 = FieldDescriptorProto_Type_TYPE_UINT32;
static constexpr Type TYPE_ENUM = FieldDescriptorProto_Type_TYPE_ENUM;
static constexpr Type TYPE_SFIXED32 = FieldDescriptorProto_Type_TYPE_SFIXED32;
static constexpr Type TYPE_SFIXED64 = FieldDescriptorProto_Type_TYPE_SFIXED64;
static constexpr Type TYPE_SINT32 = FieldDescriptorProto_Type_TYPE_SINT32;
static constexpr Type TYPE_SINT64 = FieldDescriptorProto_Type_TYPE_SINT64;
static inline bool Type_IsValid(int value) {
return FieldDescriptorProto_Type_IsValid(value);
}
static constexpr Type Type_MIN = FieldDescriptorProto_Type_Type_MIN;
static constexpr Type Type_MAX = FieldDescriptorProto_Type_Type_MAX;
static constexpr int Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Type_descriptor() {
return FieldDescriptorProto_Type_descriptor();
}
template <typename T>
static inline const ::std::string& Type_Name(T value) {
return FieldDescriptorProto_Type_Name(value);
}
static inline bool Type_Parse(
::absl::string_view name, Type* PROTOBUF_NONNULL value) {
return FieldDescriptorProto_Type_Parse(name, value);
}
using Label = FieldDescriptorProto_Label;
static constexpr Label LABEL_OPTIONAL = FieldDescriptorProto_Label_LABEL_OPTIONAL;
static constexpr Label LABEL_REPEATED = FieldDescriptorProto_Label_LABEL_REPEATED;
static constexpr Label LABEL_REQUIRED = FieldDescriptorProto_Label_LABEL_REQUIRED;
static inline bool Label_IsValid(int value) {
return FieldDescriptorProto_Label_IsValid(value);
}
static constexpr Label Label_MIN = FieldDescriptorProto_Label_Label_MIN;
static constexpr Label Label_MAX = FieldDescriptorProto_Label_Label_MAX;
static constexpr int Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_ARRAYSIZE;
static inline const ::google::protobuf::EnumDescriptor* PROTOBUF_NONNULL Label_descriptor() {
return FieldDescriptorProto_Label_descriptor();
}
template <typename T>
static inline const ::std::string& Label_Name(T value) {
return FieldDescriptorProto_Label_Name(value);
}
static inline bool Label_Parse(
::absl::string_view name, Label* PROTOBUF_NONNULL value) {
return FieldDescriptorProto_Label_Parse(name, value);
}
// accessors -------------------------------------------------------
enum : int {
kNameFieldNumber = 1,
kExtendeeFieldNumber = 2,
kTypeNameFieldNumber = 6,
kDefaultValueFieldNumber = 7,
kJsonNameFieldNumber = 10,
kOptionsFieldNumber = 8,
kNumberFieldNumber = 3,
kOneofIndexFieldNumber = 9,
kProto3OptionalFieldNumber = 17,
kLabelFieldNumber = 4,
kTypeFieldNumber = 5,
};
// optional string name = 1;
bool has_name() const;
void clear_name() ;
const ::std::string& name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_name();
public:
// optional string extendee = 2;
bool has_extendee() const;
void clear_extendee() ;
const ::std::string& extendee() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_extendee(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_extendee();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_extendee();
void set_allocated_extendee(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_extendee() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_extendee(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_extendee();
public:
// optional string type_name = 6;
bool has_type_name() const;
void clear_type_name() ;
const ::std::string& type_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_type_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_type_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_type_name();
void set_allocated_type_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_type_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_type_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_type_name();
public:
// optional string default_value = 7;
bool has_default_value() const;
void clear_default_value() ;
const ::std::string& default_value() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_default_value(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_default_value();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_default_value();
void set_allocated_default_value(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_default_value() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_default_value(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_default_value();
public:
// optional string json_name = 10;
bool has_json_name() const;
void clear_json_name() ;
const ::std::string& json_name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_json_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_json_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_json_name();
void set_allocated_json_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_json_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_json_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_json_name();
public:
// optional .google.protobuf.FieldOptions options = 8;
bool has_options() const;
void clear_options() ;
const ::google::protobuf::FieldOptions& options() const;
[[nodiscard]] ::google::protobuf::FieldOptions* PROTOBUF_NULLABLE release_options();
::google::protobuf::FieldOptions* PROTOBUF_NONNULL mutable_options();
void set_allocated_options(::google::protobuf::FieldOptions* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_options(::google::protobuf::FieldOptions* PROTOBUF_NULLABLE value);
::google::protobuf::FieldOptions* PROTOBUF_NULLABLE unsafe_arena_release_options();
private:
const ::google::protobuf::FieldOptions& _internal_options() const;
::google::protobuf::FieldOptions* PROTOBUF_NONNULL _internal_mutable_options();
public:
// optional int32 number = 3;
bool has_number() const;
void clear_number() ;
::int32_t number() const;
void set_number(::int32_t value);
private:
::int32_t _internal_number() const;
void _internal_set_number(::int32_t value);
public:
// optional int32 oneof_index = 9;
bool has_oneof_index() const;
void clear_oneof_index() ;
::int32_t oneof_index() const;
void set_oneof_index(::int32_t value);
private:
::int32_t _internal_oneof_index() const;
void _internal_set_oneof_index(::int32_t value);
public:
// optional bool proto3_optional = 17;
bool has_proto3_optional() const;
void clear_proto3_optional() ;
bool proto3_optional() const;
void set_proto3_optional(bool value);
private:
bool _internal_proto3_optional() const;
void _internal_set_proto3_optional(bool value);
public:
// optional .google.protobuf.FieldDescriptorProto.Label label = 4;
bool has_label() const;
void clear_label() ;
::google::protobuf::FieldDescriptorProto_Label label() const;
void set_label(::google::protobuf::FieldDescriptorProto_Label value);
private:
::google::protobuf::FieldDescriptorProto_Label _internal_label() const;
void _internal_set_label(::google::protobuf::FieldDescriptorProto_Label value);
public:
// optional .google.protobuf.FieldDescriptorProto.Type type = 5;
bool has_type() const;
void clear_type() ;
::google::protobuf::FieldDescriptorProto_Type type() const;
void set_type(::google::protobuf::FieldDescriptorProto_Type value);
private:
::google::protobuf::FieldDescriptorProto_Type _internal_type() const;
void _internal_set_type(::google::protobuf::FieldDescriptorProto_Type value);
public:
// @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<4, 11,
3, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const FieldDescriptorProto& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr name_;
::google::protobuf::internal::ArenaStringPtr extendee_;
::google::protobuf::internal::ArenaStringPtr type_name_;
::google::protobuf::internal::ArenaStringPtr default_value_;
::google::protobuf::internal::ArenaStringPtr json_name_;
::google::protobuf::FieldOptions* PROTOBUF_NULLABLE options_;
::int32_t number_;
::int32_t oneof_index_;
bool proto3_optional_;
int label_;
int type_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull FieldDescriptorProto_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT EnumValueDescriptorProto final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.EnumValueDescriptorProto) */ {
public:
inline EnumValueDescriptorProto() : EnumValueDescriptorProto(nullptr) {}
~EnumValueDescriptorProto() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(EnumValueDescriptorProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(EnumValueDescriptorProto));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR EnumValueDescriptorProto(::google::protobuf::internal::ConstantInitialized);
inline EnumValueDescriptorProto(const EnumValueDescriptorProto& from) : EnumValueDescriptorProto(nullptr, from) {}
inline EnumValueDescriptorProto(EnumValueDescriptorProto&& from) noexcept
: EnumValueDescriptorProto(nullptr, ::std::move(from)) {}
inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) {
CopyFrom(from);
return *this;
}
inline EnumValueDescriptorProto& operator=(EnumValueDescriptorProto&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const EnumValueDescriptorProto& default_instance() {
return *reinterpret_cast<const EnumValueDescriptorProto*>(
&_EnumValueDescriptorProto_default_instance_);
}
static constexpr int kIndexInFileMessages = 11;
friend void swap(EnumValueDescriptorProto& a, EnumValueDescriptorProto& b) { a.Swap(&b); }
inline void Swap(EnumValueDescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(EnumValueDescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
EnumValueDescriptorProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<EnumValueDescriptorProto>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const EnumValueDescriptorProto& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const EnumValueDescriptorProto& from) { EnumValueDescriptorProto::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(EnumValueDescriptorProto* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.EnumValueDescriptorProto"; }
explicit EnumValueDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
EnumValueDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const EnumValueDescriptorProto& from);
EnumValueDescriptorProto(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, EnumValueDescriptorProto&& from) noexcept
: EnumValueDescriptorProto(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kNameFieldNumber = 1,
kOptionsFieldNumber = 3,
kNumberFieldNumber = 2,
};
// optional string name = 1;
bool has_name() const;
void clear_name() ;
const ::std::string& name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_name();
public:
// optional .google.protobuf.EnumValueOptions options = 3;
bool has_options() const;
void clear_options() ;
const ::google::protobuf::EnumValueOptions& options() const;
[[nodiscard]] ::google::protobuf::EnumValueOptions* PROTOBUF_NULLABLE release_options();
::google::protobuf::EnumValueOptions* PROTOBUF_NONNULL mutable_options();
void set_allocated_options(::google::protobuf::EnumValueOptions* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_options(::google::protobuf::EnumValueOptions* PROTOBUF_NULLABLE value);
::google::protobuf::EnumValueOptions* PROTOBUF_NULLABLE unsafe_arena_release_options();
private:
const ::google::protobuf::EnumValueOptions& _internal_options() const;
::google::protobuf::EnumValueOptions* PROTOBUF_NONNULL _internal_mutable_options();
public:
// optional int32 number = 2;
bool has_number() const;
void clear_number() ;
::int32_t number() const;
void set_number(::int32_t value);
private:
::int32_t _internal_number() const;
void _internal_set_number(::int32_t value);
public:
// @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3,
1, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const EnumValueDescriptorProto& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::internal::ArenaStringPtr name_;
::google::protobuf::EnumValueOptions* PROTOBUF_NULLABLE options_;
::int32_t number_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumValueDescriptorProto_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT DescriptorProto_ExtensionRange final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto.ExtensionRange) */ {
public:
inline DescriptorProto_ExtensionRange() : DescriptorProto_ExtensionRange(nullptr) {}
~DescriptorProto_ExtensionRange() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(DescriptorProto_ExtensionRange* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(DescriptorProto_ExtensionRange));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR DescriptorProto_ExtensionRange(::google::protobuf::internal::ConstantInitialized);
inline DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from) : DescriptorProto_ExtensionRange(nullptr, from) {}
inline DescriptorProto_ExtensionRange(DescriptorProto_ExtensionRange&& from) noexcept
: DescriptorProto_ExtensionRange(nullptr, ::std::move(from)) {}
inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) {
CopyFrom(from);
return *this;
}
inline DescriptorProto_ExtensionRange& operator=(DescriptorProto_ExtensionRange&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const DescriptorProto_ExtensionRange& default_instance() {
return *reinterpret_cast<const DescriptorProto_ExtensionRange*>(
&_DescriptorProto_ExtensionRange_default_instance_);
}
static constexpr int kIndexInFileMessages = 2;
friend void swap(DescriptorProto_ExtensionRange& a, DescriptorProto_ExtensionRange& b) { a.Swap(&b); }
inline void Swap(DescriptorProto_ExtensionRange* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(DescriptorProto_ExtensionRange* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
DescriptorProto_ExtensionRange* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<DescriptorProto_ExtensionRange>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const DescriptorProto_ExtensionRange& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const DescriptorProto_ExtensionRange& from) { DescriptorProto_ExtensionRange::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(DescriptorProto_ExtensionRange* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.DescriptorProto.ExtensionRange"; }
explicit DescriptorProto_ExtensionRange(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
DescriptorProto_ExtensionRange(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DescriptorProto_ExtensionRange& from);
DescriptorProto_ExtensionRange(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, DescriptorProto_ExtensionRange&& from) noexcept
: DescriptorProto_ExtensionRange(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kOptionsFieldNumber = 3,
kStartFieldNumber = 1,
kEndFieldNumber = 2,
};
// optional .google.protobuf.ExtensionRangeOptions options = 3;
bool has_options() const;
void clear_options() ;
const ::google::protobuf::ExtensionRangeOptions& options() const;
[[nodiscard]] ::google::protobuf::ExtensionRangeOptions* PROTOBUF_NULLABLE release_options();
::google::protobuf::ExtensionRangeOptions* PROTOBUF_NONNULL mutable_options();
void set_allocated_options(::google::protobuf::ExtensionRangeOptions* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_options(::google::protobuf::ExtensionRangeOptions* PROTOBUF_NULLABLE value);
::google::protobuf::ExtensionRangeOptions* PROTOBUF_NULLABLE unsafe_arena_release_options();
private:
const ::google::protobuf::ExtensionRangeOptions& _internal_options() const;
::google::protobuf::ExtensionRangeOptions* PROTOBUF_NONNULL _internal_mutable_options();
public:
// optional int32 start = 1;
bool has_start() const;
void clear_start() ;
::int32_t start() const;
void set_start(::int32_t value);
private:
::int32_t _internal_start() const;
void _internal_set_start(::int32_t value);
public:
// optional int32 end = 2;
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:
// @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3,
1, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const DescriptorProto_ExtensionRange& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::ExtensionRangeOptions* PROTOBUF_NULLABLE options_;
::int32_t start_;
::int32_t end_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_ExtensionRange_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT ServiceDescriptorProto final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.ServiceDescriptorProto) */ {
public:
inline ServiceDescriptorProto() : ServiceDescriptorProto(nullptr) {}
~ServiceDescriptorProto() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(ServiceDescriptorProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(ServiceDescriptorProto));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR ServiceDescriptorProto(::google::protobuf::internal::ConstantInitialized);
inline ServiceDescriptorProto(const ServiceDescriptorProto& from) : ServiceDescriptorProto(nullptr, from) {}
inline ServiceDescriptorProto(ServiceDescriptorProto&& from) noexcept
: ServiceDescriptorProto(nullptr, ::std::move(from)) {}
inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) {
CopyFrom(from);
return *this;
}
inline ServiceDescriptorProto& operator=(ServiceDescriptorProto&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const ServiceDescriptorProto& default_instance() {
return *reinterpret_cast<const ServiceDescriptorProto*>(
&_ServiceDescriptorProto_default_instance_);
}
static constexpr int kIndexInFileMessages = 12;
friend void swap(ServiceDescriptorProto& a, ServiceDescriptorProto& b) { a.Swap(&b); }
inline void Swap(ServiceDescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(ServiceDescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
ServiceDescriptorProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<ServiceDescriptorProto>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const ServiceDescriptorProto& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const ServiceDescriptorProto& from) { ServiceDescriptorProto::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(ServiceDescriptorProto* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.ServiceDescriptorProto"; }
explicit ServiceDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
ServiceDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const ServiceDescriptorProto& from);
ServiceDescriptorProto(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, ServiceDescriptorProto&& from) noexcept
: ServiceDescriptorProto(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kMethodFieldNumber = 2,
kNameFieldNumber = 1,
kOptionsFieldNumber = 3,
};
// repeated .google.protobuf.MethodDescriptorProto method = 2;
int method_size() const;
private:
int _internal_method_size() const;
public:
void clear_method() ;
::google::protobuf::MethodDescriptorProto* PROTOBUF_NONNULL mutable_method(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>* PROTOBUF_NONNULL mutable_method();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>& _internal_method() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>* PROTOBUF_NONNULL _internal_mutable_method();
public:
const ::google::protobuf::MethodDescriptorProto& method(int index) const;
::google::protobuf::MethodDescriptorProto* PROTOBUF_NONNULL add_method();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::MethodDescriptorProto>& method() const;
// optional string name = 1;
bool has_name() const;
void clear_name() ;
const ::std::string& name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_name();
public:
// optional .google.protobuf.ServiceOptions options = 3;
bool has_options() const;
void clear_options() ;
const ::google::protobuf::ServiceOptions& options() const;
[[nodiscard]] ::google::protobuf::ServiceOptions* PROTOBUF_NULLABLE release_options();
::google::protobuf::ServiceOptions* PROTOBUF_NONNULL mutable_options();
void set_allocated_options(::google::protobuf::ServiceOptions* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_options(::google::protobuf::ServiceOptions* PROTOBUF_NULLABLE value);
::google::protobuf::ServiceOptions* PROTOBUF_NULLABLE unsafe_arena_release_options();
private:
const ::google::protobuf::ServiceOptions& _internal_options() const;
::google::protobuf::ServiceOptions* PROTOBUF_NONNULL _internal_mutable_options();
public:
// @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<2, 3,
2, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const ServiceDescriptorProto& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_;
::google::protobuf::internal::ArenaStringPtr name_;
::google::protobuf::ServiceOptions* PROTOBUF_NULLABLE options_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull ServiceDescriptorProto_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT EnumDescriptorProto final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.EnumDescriptorProto) */ {
public:
inline EnumDescriptorProto() : EnumDescriptorProto(nullptr) {}
~EnumDescriptorProto() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(EnumDescriptorProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(EnumDescriptorProto));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR EnumDescriptorProto(::google::protobuf::internal::ConstantInitialized);
inline EnumDescriptorProto(const EnumDescriptorProto& from) : EnumDescriptorProto(nullptr, from) {}
inline EnumDescriptorProto(EnumDescriptorProto&& from) noexcept
: EnumDescriptorProto(nullptr, ::std::move(from)) {}
inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) {
CopyFrom(from);
return *this;
}
inline EnumDescriptorProto& operator=(EnumDescriptorProto&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const EnumDescriptorProto& default_instance() {
return *reinterpret_cast<const EnumDescriptorProto*>(
&_EnumDescriptorProto_default_instance_);
}
static constexpr int kIndexInFileMessages = 10;
friend void swap(EnumDescriptorProto& a, EnumDescriptorProto& b) { a.Swap(&b); }
inline void Swap(EnumDescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(EnumDescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
EnumDescriptorProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<EnumDescriptorProto>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const EnumDescriptorProto& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const EnumDescriptorProto& from) { EnumDescriptorProto::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(EnumDescriptorProto* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.EnumDescriptorProto"; }
explicit EnumDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
EnumDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const EnumDescriptorProto& from);
EnumDescriptorProto(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, EnumDescriptorProto&& from) noexcept
: EnumDescriptorProto(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
using EnumReservedRange = EnumDescriptorProto_EnumReservedRange;
// accessors -------------------------------------------------------
enum : int {
kValueFieldNumber = 2,
kReservedRangeFieldNumber = 4,
kReservedNameFieldNumber = 5,
kNameFieldNumber = 1,
kOptionsFieldNumber = 3,
kVisibilityFieldNumber = 6,
};
// repeated .google.protobuf.EnumValueDescriptorProto value = 2;
int value_size() const;
private:
int _internal_value_size() const;
public:
void clear_value() ;
::google::protobuf::EnumValueDescriptorProto* PROTOBUF_NONNULL mutable_value(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>* PROTOBUF_NONNULL mutable_value();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>& _internal_value() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>* PROTOBUF_NONNULL _internal_mutable_value();
public:
const ::google::protobuf::EnumValueDescriptorProto& value(int index) const;
::google::protobuf::EnumValueDescriptorProto* PROTOBUF_NONNULL add_value();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumValueDescriptorProto>& value() const;
// repeated .google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
int reserved_range_size() const;
private:
int _internal_reserved_range_size() const;
public:
void clear_reserved_range() ;
::google::protobuf::EnumDescriptorProto_EnumReservedRange* PROTOBUF_NONNULL mutable_reserved_range(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>* PROTOBUF_NONNULL mutable_reserved_range();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>& _internal_reserved_range() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>* PROTOBUF_NONNULL _internal_mutable_reserved_range();
public:
const ::google::protobuf::EnumDescriptorProto_EnumReservedRange& reserved_range(int index) const;
::google::protobuf::EnumDescriptorProto_EnumReservedRange* PROTOBUF_NONNULL add_reserved_range();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto_EnumReservedRange>& reserved_range() const;
// repeated string reserved_name = 5;
int reserved_name_size() const;
private:
int _internal_reserved_name_size() const;
public:
void clear_reserved_name() ;
const ::std::string& reserved_name(int index) const;
::std::string* PROTOBUF_NONNULL mutable_reserved_name(int index);
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_reserved_name(int index, Arg_&& value, Args_... args);
::std::string* PROTOBUF_NONNULL add_reserved_name();
template <typename Arg_ = const ::std::string&, typename... Args_>
void add_reserved_name(Arg_&& value, Args_... args);
const ::google::protobuf::RepeatedPtrField<::std::string>& reserved_name() const;
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_reserved_name();
private:
const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_reserved_name() const;
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_reserved_name();
public:
// optional string name = 1;
bool has_name() const;
void clear_name() ;
const ::std::string& name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_name();
public:
// optional .google.protobuf.EnumOptions options = 3;
bool has_options() const;
void clear_options() ;
const ::google::protobuf::EnumOptions& options() const;
[[nodiscard]] ::google::protobuf::EnumOptions* PROTOBUF_NULLABLE release_options();
::google::protobuf::EnumOptions* PROTOBUF_NONNULL mutable_options();
void set_allocated_options(::google::protobuf::EnumOptions* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_options(::google::protobuf::EnumOptions* PROTOBUF_NULLABLE value);
::google::protobuf::EnumOptions* PROTOBUF_NULLABLE unsafe_arena_release_options();
private:
const ::google::protobuf::EnumOptions& _internal_options() const;
::google::protobuf::EnumOptions* PROTOBUF_NONNULL _internal_mutable_options();
public:
// optional .google.protobuf.SymbolVisibility visibility = 6;
bool has_visibility() const;
void clear_visibility() ;
::google::protobuf::SymbolVisibility visibility() const;
void set_visibility(::google::protobuf::SymbolVisibility value);
private:
::google::protobuf::SymbolVisibility _internal_visibility() const;
void _internal_set_visibility(::google::protobuf::SymbolVisibility value);
public:
// @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<3, 6,
4, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const EnumDescriptorProto& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto > value_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto_EnumReservedRange > reserved_range_;
::google::protobuf::RepeatedPtrField<::std::string> reserved_name_;
::google::protobuf::internal::ArenaStringPtr name_;
::google::protobuf::EnumOptions* PROTOBUF_NULLABLE options_;
int visibility_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull EnumDescriptorProto_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT DescriptorProto final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.DescriptorProto) */ {
public:
inline DescriptorProto() : DescriptorProto(nullptr) {}
~DescriptorProto() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(DescriptorProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(DescriptorProto));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR DescriptorProto(::google::protobuf::internal::ConstantInitialized);
inline DescriptorProto(const DescriptorProto& from) : DescriptorProto(nullptr, from) {}
inline DescriptorProto(DescriptorProto&& from) noexcept
: DescriptorProto(nullptr, ::std::move(from)) {}
inline DescriptorProto& operator=(const DescriptorProto& from) {
CopyFrom(from);
return *this;
}
inline DescriptorProto& operator=(DescriptorProto&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const DescriptorProto& default_instance() {
return *reinterpret_cast<const DescriptorProto*>(
&_DescriptorProto_default_instance_);
}
static constexpr int kIndexInFileMessages = 4;
friend void swap(DescriptorProto& a, DescriptorProto& b) { a.Swap(&b); }
inline void Swap(DescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(DescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
DescriptorProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<DescriptorProto>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const DescriptorProto& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const DescriptorProto& from) { DescriptorProto::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(DescriptorProto* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.DescriptorProto"; }
explicit DescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
DescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const DescriptorProto& from);
DescriptorProto(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, DescriptorProto&& from) noexcept
: DescriptorProto(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
using ExtensionRange = DescriptorProto_ExtensionRange;
using ReservedRange = DescriptorProto_ReservedRange;
// accessors -------------------------------------------------------
enum : int {
kFieldFieldNumber = 2,
kNestedTypeFieldNumber = 3,
kEnumTypeFieldNumber = 4,
kExtensionRangeFieldNumber = 5,
kExtensionFieldNumber = 6,
kOneofDeclFieldNumber = 8,
kReservedRangeFieldNumber = 9,
kReservedNameFieldNumber = 10,
kNameFieldNumber = 1,
kOptionsFieldNumber = 7,
kVisibilityFieldNumber = 11,
};
// repeated .google.protobuf.FieldDescriptorProto field = 2;
int field_size() const;
private:
int _internal_field_size() const;
public:
void clear_field() ;
::google::protobuf::FieldDescriptorProto* PROTOBUF_NONNULL mutable_field(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* PROTOBUF_NONNULL mutable_field();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& _internal_field() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* PROTOBUF_NONNULL _internal_mutable_field();
public:
const ::google::protobuf::FieldDescriptorProto& field(int index) const;
::google::protobuf::FieldDescriptorProto* PROTOBUF_NONNULL add_field();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& field() const;
// repeated .google.protobuf.DescriptorProto nested_type = 3;
int nested_type_size() const;
private:
int _internal_nested_type_size() const;
public:
void clear_nested_type() ;
::google::protobuf::DescriptorProto* PROTOBUF_NONNULL mutable_nested_type(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* PROTOBUF_NONNULL mutable_nested_type();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& _internal_nested_type() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>* PROTOBUF_NONNULL _internal_mutable_nested_type();
public:
const ::google::protobuf::DescriptorProto& nested_type(int index) const;
::google::protobuf::DescriptorProto* PROTOBUF_NONNULL add_nested_type();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto>& nested_type() const;
// repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
int enum_type_size() const;
private:
int _internal_enum_type_size() const;
public:
void clear_enum_type() ;
::google::protobuf::EnumDescriptorProto* PROTOBUF_NONNULL mutable_enum_type(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* PROTOBUF_NONNULL mutable_enum_type();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& _internal_enum_type() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>* PROTOBUF_NONNULL _internal_mutable_enum_type();
public:
const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;
::google::protobuf::EnumDescriptorProto* PROTOBUF_NONNULL add_enum_type();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::EnumDescriptorProto>& enum_type() const;
// repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
int extension_range_size() const;
private:
int _internal_extension_range_size() const;
public:
void clear_extension_range() ;
::google::protobuf::DescriptorProto_ExtensionRange* PROTOBUF_NONNULL mutable_extension_range(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>* PROTOBUF_NONNULL mutable_extension_range();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>& _internal_extension_range() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>* PROTOBUF_NONNULL _internal_mutable_extension_range();
public:
const ::google::protobuf::DescriptorProto_ExtensionRange& extension_range(int index) const;
::google::protobuf::DescriptorProto_ExtensionRange* PROTOBUF_NONNULL add_extension_range();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ExtensionRange>& extension_range() const;
// repeated .google.protobuf.FieldDescriptorProto extension = 6;
int extension_size() const;
private:
int _internal_extension_size() const;
public:
void clear_extension() ;
::google::protobuf::FieldDescriptorProto* PROTOBUF_NONNULL mutable_extension(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* PROTOBUF_NONNULL mutable_extension();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& _internal_extension() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>* PROTOBUF_NONNULL _internal_mutable_extension();
public:
const ::google::protobuf::FieldDescriptorProto& extension(int index) const;
::google::protobuf::FieldDescriptorProto* PROTOBUF_NONNULL add_extension();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::FieldDescriptorProto>& extension() const;
// repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8;
int oneof_decl_size() const;
private:
int _internal_oneof_decl_size() const;
public:
void clear_oneof_decl() ;
::google::protobuf::OneofDescriptorProto* PROTOBUF_NONNULL mutable_oneof_decl(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>* PROTOBUF_NONNULL mutable_oneof_decl();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>& _internal_oneof_decl() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>* PROTOBUF_NONNULL _internal_mutable_oneof_decl();
public:
const ::google::protobuf::OneofDescriptorProto& oneof_decl(int index) const;
::google::protobuf::OneofDescriptorProto* PROTOBUF_NONNULL add_oneof_decl();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::OneofDescriptorProto>& oneof_decl() const;
// repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
int reserved_range_size() const;
private:
int _internal_reserved_range_size() const;
public:
void clear_reserved_range() ;
::google::protobuf::DescriptorProto_ReservedRange* PROTOBUF_NONNULL mutable_reserved_range(int index);
::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>* PROTOBUF_NONNULL mutable_reserved_range();
private:
const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>& _internal_reserved_range() const;
::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>* PROTOBUF_NONNULL _internal_mutable_reserved_range();
public:
const ::google::protobuf::DescriptorProto_ReservedRange& reserved_range(int index) const;
::google::protobuf::DescriptorProto_ReservedRange* PROTOBUF_NONNULL add_reserved_range();
const ::google::protobuf::RepeatedPtrField<::google::protobuf::DescriptorProto_ReservedRange>& reserved_range() const;
// repeated string reserved_name = 10;
int reserved_name_size() const;
private:
int _internal_reserved_name_size() const;
public:
void clear_reserved_name() ;
const ::std::string& reserved_name(int index) const;
::std::string* PROTOBUF_NONNULL mutable_reserved_name(int index);
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_reserved_name(int index, Arg_&& value, Args_... args);
::std::string* PROTOBUF_NONNULL add_reserved_name();
template <typename Arg_ = const ::std::string&, typename... Args_>
void add_reserved_name(Arg_&& value, Args_... args);
const ::google::protobuf::RepeatedPtrField<::std::string>& reserved_name() const;
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_reserved_name();
private:
const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_reserved_name() const;
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_reserved_name();
public:
// optional string name = 1;
bool has_name() const;
void clear_name() ;
const ::std::string& name() const;
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_name(Arg_&& arg, Args_... args);
::std::string* PROTOBUF_NONNULL mutable_name();
[[nodiscard]] ::std::string* PROTOBUF_NULLABLE release_name();
void set_allocated_name(::std::string* PROTOBUF_NULLABLE value);
private:
const ::std::string& _internal_name() const;
PROTOBUF_ALWAYS_INLINE void _internal_set_name(const ::std::string& value);
::std::string* PROTOBUF_NONNULL _internal_mutable_name();
public:
// optional .google.protobuf.MessageOptions options = 7;
bool has_options() const;
void clear_options() ;
const ::google::protobuf::MessageOptions& options() const;
[[nodiscard]] ::google::protobuf::MessageOptions* PROTOBUF_NULLABLE release_options();
::google::protobuf::MessageOptions* PROTOBUF_NONNULL mutable_options();
void set_allocated_options(::google::protobuf::MessageOptions* PROTOBUF_NULLABLE value);
void unsafe_arena_set_allocated_options(::google::protobuf::MessageOptions* PROTOBUF_NULLABLE value);
::google::protobuf::MessageOptions* PROTOBUF_NULLABLE unsafe_arena_release_options();
private:
const ::google::protobuf::MessageOptions& _internal_options() const;
::google::protobuf::MessageOptions* PROTOBUF_NONNULL _internal_mutable_options();
public:
// optional .google.protobuf.SymbolVisibility visibility = 11;
bool has_visibility() const;
void clear_visibility() ;
::google::protobuf::SymbolVisibility visibility() const;
void set_visibility(::google::protobuf::SymbolVisibility value);
private:
::google::protobuf::SymbolVisibility _internal_visibility() const;
void _internal_set_visibility(::google::protobuf::SymbolVisibility value);
public:
// @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
private:
class _Internal;
friend class ::google::protobuf::internal::TcParser;
static const ::google::protobuf::internal::TcParseTable<4, 11,
9, 0,
2>
_table_;
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* PROTOBUF_NULLABLE arena);
inline explicit Impl_(
::google::protobuf::internal::InternalVisibility visibility,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const Impl_& from,
const DescriptorProto& from_msg);
::google::protobuf::internal::HasBits<1> _has_bits_;
::google::protobuf::internal::CachedSize _cached_size_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::OneofDescriptorProto > oneof_decl_;
::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ReservedRange > reserved_range_;
::google::protobuf::RepeatedPtrField<::std::string> reserved_name_;
::google::protobuf::internal::ArenaStringPtr name_;
::google::protobuf::MessageOptions* PROTOBUF_NULLABLE options_;
int visibility_;
PROTOBUF_TSAN_DECLARE_MEMBER
};
union { Impl_ _impl_; };
friend struct ::TableStruct_google_2fprotobuf_2fdescriptor_2eproto;
};
PROTOBUF_EXPORT extern const ::google::protobuf::internal::ClassDataFull DescriptorProto_class_data_;
// -------------------------------------------------------------------
class PROTOBUF_EXPORT FileDescriptorProto final : public ::google::protobuf::Message
/* @@protoc_insertion_point(class_definition:google.protobuf.FileDescriptorProto) */ {
public:
inline FileDescriptorProto() : FileDescriptorProto(nullptr) {}
~FileDescriptorProto() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
void operator delete(FileDescriptorProto* PROTOBUF_NONNULL msg, ::std::destroying_delete_t) {
SharedDtor(*msg);
::google::protobuf::internal::SizedDelete(msg, sizeof(FileDescriptorProto));
}
#endif
template <typename = void>
explicit PROTOBUF_CONSTEXPR FileDescriptorProto(::google::protobuf::internal::ConstantInitialized);
inline FileDescriptorProto(const FileDescriptorProto& from) : FileDescriptorProto(nullptr, from) {}
inline FileDescriptorProto(FileDescriptorProto&& from) noexcept
: FileDescriptorProto(nullptr, ::std::move(from)) {}
inline FileDescriptorProto& operator=(const FileDescriptorProto& from) {
CopyFrom(from);
return *this;
}
inline FileDescriptorProto& operator=(FileDescriptorProto&& from) noexcept {
if (this == &from) return *this;
if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) {
InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
}
inline ::google::protobuf::UnknownFieldSet* PROTOBUF_NONNULL mutable_unknown_fields()
ABSL_ATTRIBUTE_LIFETIME_BOUND {
return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL descriptor() {
return GetDescriptor();
}
static const ::google::protobuf::Descriptor* PROTOBUF_NONNULL GetDescriptor() {
return default_instance().GetMetadata().descriptor;
}
static const ::google::protobuf::Reflection* PROTOBUF_NONNULL GetReflection() {
return default_instance().GetMetadata().reflection;
}
static const FileDescriptorProto& default_instance() {
return *reinterpret_cast<const FileDescriptorProto*>(
&_FileDescriptorProto_default_instance_);
}
static constexpr int kIndexInFileMessages = 1;
friend void swap(FileDescriptorProto& a, FileDescriptorProto& b) { a.Swap(&b); }
inline void Swap(FileDescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) {
InternalSwap(other);
} else {
::google::protobuf::internal::GenericSwap(this, other);
}
}
void UnsafeArenaSwap(FileDescriptorProto* PROTOBUF_NONNULL other) {
if (other == this) return;
ABSL_DCHECK(GetArena() == other->GetArena());
InternalSwap(other);
}
// implements Message ----------------------------------------------
FileDescriptorProto* PROTOBUF_NONNULL New(::google::protobuf::Arena* PROTOBUF_NULLABLE arena = nullptr) const {
return ::google::protobuf::Message::DefaultConstruct<FileDescriptorProto>(arena);
}
using ::google::protobuf::Message::CopyFrom;
void CopyFrom(const FileDescriptorProto& from);
using ::google::protobuf::Message::MergeFrom;
void MergeFrom(const FileDescriptorProto& from) { FileDescriptorProto::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() PROTOBUF_FINAL;
#if defined(PROTOBUF_CUSTOM_VTABLE)
private:
static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg);
static ::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
const ::google::protobuf::MessageLite& msg, ::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream);
public:
::size_t ByteSizeLong() const { return ByteSizeLong(*this); }
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const {
return _InternalSerialize(*this, target, stream);
}
#else // PROTOBUF_CUSTOM_VTABLE
::size_t ByteSizeLong() const final;
::uint8_t* PROTOBUF_NONNULL _InternalSerialize(
::uint8_t* PROTOBUF_NONNULL target,
::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) const final;
#endif // PROTOBUF_CUSTOM_VTABLE
int GetCachedSize() const { return _impl_._cached_size_.Get(); }
private:
void SharedCtor(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static void SharedDtor(MessageLite& self);
void InternalSwap(FileDescriptorProto* PROTOBUF_NONNULL other);
private:
template <typename T>
friend ::absl::string_view(::google::protobuf::internal::GetAnyMessageName)();
static ::absl::string_view FullMessageName() { return "google.protobuf.FileDescriptorProto"; }
explicit FileDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
FileDescriptorProto(::google::protobuf::Arena* PROTOBUF_NULLABLE arena, const FileDescriptorProto& from);
FileDescriptorProto(
::google::protobuf::Arena* PROTOBUF_NULLABLE arena, FileDescriptorProto&& from) noexcept
: FileDescriptorProto(arena) {
*this = ::std::move(from);
}
const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL GetClassData() const PROTOBUF_FINAL;
static void* PROTOBUF_NONNULL PlacementNew_(
const void* PROTOBUF_NONNULL, void* PROTOBUF_NONNULL mem,
::google::protobuf::Arena* PROTOBUF_NULLABLE arena);
static constexpr auto InternalNewImpl_();
public:
static constexpr auto InternalGenerateClassData_();
::google::protobuf::Metadata GetMetadata() const;
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kDependencyFieldNumber = 3,
kMessageTypeFieldNumber = 4,
kEnumTypeFieldNumber = 5,
kServiceFieldNumber = 6,
kExtensionFieldNumber = 7,
kPublicDependencyFieldNumber = 10,
kWeakDependencyFieldNumber = 11,
kOptionDependencyFieldNumber = 15,
kNameFieldNumber = 1,
kPackageFieldNumber = 2,
kSyntaxFieldNumber = 12,
kOptionsFieldNumber = 8,
kSourceCodeInfoFieldNumber = 9,
kEditionFieldNumber = 14,
};
// repeated string dependency = 3;
int dependency_size() const;
private:
int _internal_dependency_size() const;
public:
void clear_dependency() ;
const ::std::string& dependency(int index) const;
::std::string* PROTOBUF_NONNULL mutable_dependency(int index);
template <typename Arg_ = const ::std::string&, typename... Args_>
void set_dependency(int index, Arg_&& value, Args_... args);
::std::string* PROTOBUF_NONNULL add_dependency();
template <typename Arg_ = const ::std::string&, typename... Args_>
void add_dependency(Arg_&& value, Args_... args);
const ::google::protobuf::RepeatedPtrField<::std::string>& dependency() const;
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL mutable_dependency();
private:
const ::google::protobuf::RepeatedPtrField<::std::string>& _internal_dependency() const;
::google::protobuf::RepeatedPtrField<::std::string>* PROTOBUF_NONNULL _internal_mutable_dependency();