diff --git a/Makefile b/Makefile index dbb8ba1..b24f2c1 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,6 @@ SHELL := /bin/bash SRC_DIR := proto # Output directory for compiled Go files GO_OUT_DIR := go -# Output directory for compiled C++ files -CPP_OUT_DIR := cpp # Output directory for compiled Rust files RUST_OUT_DIR := rust @@ -14,14 +12,13 @@ all: protos .PHONY: protos protos: check-tools - mkdir -p $(GO_OUT_DIR) $(CPP_OUT_DIR) $(RUST_OUT_DIR) + mkdir -p $(GO_OUT_DIR) $(RUST_OUT_DIR) protoc -I $(SRC_DIR) \ --go_opt=module="github.com/thinkparq/protobuf/go" \ --go_opt=default_api_level=API_HYBRID \ --go_out=$(GO_OUT_DIR) \ --go-grpc_opt=module="github.com/thinkparq/protobuf/go" \ --go-grpc_out=$(GO_OUT_DIR) \ - --cpp_out=$(CPP_OUT_DIR) \ $(SRC_DIR)/*.proto protoc-rs -I $(SRC_DIR) --out=$(RUST_OUT_DIR) $(SRC_DIR)/*.proto @@ -35,7 +32,7 @@ protos: check-tools test: test-protos test-protos: protos - @out="$$(git status --porcelain $$(find $(GO_OUT_DIR) $(CPP_OUT_DIR) $(RUST_OUT_DIR)))"; \ + @out="$$(git status --porcelain $$(find $(GO_OUT_DIR) $(RUST_OUT_DIR)))"; \ if [ -n "$$out" ]; then \ echo "Protobuf files are not up to date. Please run 'make protos' and commit the changes."; \ echo "The following files are not up to date:"; \ @@ -48,7 +45,7 @@ test-protos: protos # Clean up .PHONY: clean clean: - rm -rf $(GO_OUT_DIR) $(CPP_OUT_DIR) $(RUST_OUT_DIR) + rm -rf $(GO_OUT_DIR) $(RUST_OUT_DIR) rm -rf target/ rm -f Cargo.lock diff --git a/README.md b/README.md index 6da4139..453c900 100644 --- a/README.md +++ b/README.md @@ -32,10 +32,11 @@ Languages with precompiled/generated code: | Language | Availability | Notes | | -------- | ------------ | ------------------------------------------------------------------------------------------ | -| C++ | Yes | A target has been added to the Makefile, but the resulting files have not been tested yet. | | Go | Yes | N/A | | Rust | Yes | N/A | +C++ files must be generated by the C++ build system during configure/build. + # Quick Start Most users will not need to worry about generating code themselves, and can simply import the @@ -130,7 +131,7 @@ The reasons are: The project Makefile is setup with targets to compile all protobuf files under the `./proto` directory into a multiple target languages when `make` or `make protos` is executed. Each languages -output is put into a separate output directory (e.g. `./go`, `./rust`, `./cpp`). +output is put into a separate output directory (e.g. `./go`, `./rust`). To add a new language amend the Makefile as follows: @@ -145,6 +146,10 @@ To add a new language amend the Makefile as follows: In general, you can likely just copy the code for one of the existing languages and modify it to your needs. +Note that dependend on the language (e.g. C++), it might be more reasonable to build the output +from the consumer repository as that ensures matching versions between the generator and the +protobuf/gRPC libraries consuming the generated code. + ## Generating Code for Golang If you plan to make changes to the protocol buffers (.proto files) or simply diff --git a/cpp/beegfs.pb.cc b/cpp/beegfs.pb.cc deleted file mode 100644 index a345520..0000000 --- a/cpp/beegfs.pb.cc +++ /dev/null @@ -1,817 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: beegfs.proto -// Protobuf C++ Version: 5.29.2 - -#include "beegfs.pb.h" - -#include -#include -#include "google/protobuf/io/coded_stream.h" -#include "google/protobuf/generated_message_tctable_impl.h" -#include "google/protobuf/extension_set.h" -#include "google/protobuf/generated_message_util.h" -#include "google/protobuf/wire_format_lite.h" -#include "google/protobuf/descriptor.h" -#include "google/protobuf/generated_message_reflection.h" -#include "google/protobuf/reflection_ops.h" -#include "google/protobuf/wire_format.h" -// @@protoc_insertion_point(includes) - -// Must be included last. -#include "google/protobuf/port_def.inc" -PROTOBUF_PRAGMA_INIT_SEG -namespace _pb = ::google::protobuf; -namespace _pbi = ::google::protobuf::internal; -namespace _fl = ::google::protobuf::internal::field_layout; -namespace beegfs { - -inline constexpr LegacyId::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : num_id_{0u}, - node_type_{static_cast< ::beegfs::NodeType >(0)}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR LegacyId::LegacyId(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct LegacyIdDefaultTypeInternal { - PROTOBUF_CONSTEXPR LegacyIdDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~LegacyIdDefaultTypeInternal() {} - union { - LegacyId _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 LegacyIdDefaultTypeInternal _LegacyId_default_instance_; - -inline constexpr EntityIdSet::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - alias_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - legacy_id_{nullptr}, - uid_{::int64_t{0}} {} - -template -PROTOBUF_CONSTEXPR EntityIdSet::EntityIdSet(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct EntityIdSetDefaultTypeInternal { - PROTOBUF_CONSTEXPR EntityIdSetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~EntityIdSetDefaultTypeInternal() {} - union { - EntityIdSet _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EntityIdSetDefaultTypeInternal _EntityIdSet_default_instance_; -} // namespace beegfs -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_beegfs_2eproto[8]; -static constexpr const ::_pb::ServiceDescriptor** - file_level_service_descriptors_beegfs_2eproto = nullptr; -const ::uint32_t - TableStruct_beegfs_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::beegfs::LegacyId, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::beegfs::LegacyId, _impl_.num_id_), - PROTOBUF_FIELD_OFFSET(::beegfs::LegacyId, _impl_.node_type_), - PROTOBUF_FIELD_OFFSET(::beegfs::EntityIdSet, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beegfs::EntityIdSet, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::beegfs::EntityIdSet, _impl_.uid_), - PROTOBUF_FIELD_OFFSET(::beegfs::EntityIdSet, _impl_.alias_), - PROTOBUF_FIELD_OFFSET(::beegfs::EntityIdSet, _impl_.legacy_id_), - 2, - 0, - 1, -}; - -static const ::_pbi::MigrationSchema - schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - {0, -1, -1, sizeof(::beegfs::LegacyId)}, - {10, 21, -1, sizeof(::beegfs::EntityIdSet)}, -}; -static const ::_pb::Message* const file_default_instances[] = { - &::beegfs::_LegacyId_default_instance_._instance, - &::beegfs::_EntityIdSet_default_instance_._instance, -}; -const char descriptor_table_protodef_beegfs_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - "\n\014beegfs.proto\022\006beegfs\"\?\n\010LegacyId\022\016\n\006nu" - "m_id\030\001 \001(\r\022#\n\tnode_type\030\002 \001(\0162\020.beegfs.N" - "odeType\"}\n\013EntityIdSet\022\020\n\003uid\030\001 \001(\003H\000\210\001\001" - "\022\022\n\005alias\030\002 \001(\tH\001\210\001\001\022(\n\tlegacy_id\030\003 \001(\0132" - "\020.beegfs.LegacyIdH\002\210\001\001B\006\n\004_uidB\010\n\006_alias" - "B\014\n\n_legacy_id*Z\n\nEntityType\022\033\n\027ENTITY_T" - "YPE_UNSPECIFIED\020\000\022\010\n\004NODE\020\001\022\n\n\006TARGET\020\002\022" - "\017\n\013BUDDY_GROUP\020\003\022\010\n\004POOL\020\004*X\n\010NodeType\022\031" - "\n\025NODE_TYPE_UNSPECIFIED\020\000\022\n\n\006CLIENT\020\001\022\010\n" - "\004META\020\002\022\013\n\007STORAGE\020\003\022\016\n\nMANAGEMENT\020\004*^\n\021" - "ReachabilityState\022\"\n\036REACHABILITY_STATE_" - "UNSPECIFIED\020\000\022\n\n\006ONLINE\020\001\022\014\n\010POFFLINE\020\002\022" - "\013\n\007OFFLINE\020\003*Z\n\020ConsistencyState\022!\n\035CONS" - "ISTENCY_STATE_UNSPECIFIED\020\000\022\010\n\004GOOD\020\001\022\020\n" - "\014NEEDS_RESYNC\020\002\022\007\n\003BAD\020\003*Q\n\014CapacityPool" - "\022\035\n\031CAPACITY_POOL_UNSPECIFIED\020\000\022\n\n\006NORMA" - "L\020\001\022\007\n\003LOW\020\002\022\r\n\tEMERGENCY\020\003*;\n\007NicType\022\030" - "\n\024NIC_TYPE_UNSPECIFIED\020\000\022\014\n\010ETHERNET\020\001\022\010" - "\n\004RDMA\020\002*]\n\013QuotaIdType\022\035\n\031QUOTA_ID_TYPE" - "_UNSPECIFIED\020\000\022\026\n\022QUOTA_ID_TYPE_USER\020\001\022\027" - "\n\023QUOTA_ID_TYPE_GROUP\020\002*S\n\tQuotaType\022\032\n\026" - "QUOTA_TYPE_UNSPECIFIED\020\000\022\024\n\020QUOTA_TYPE_S" - "PACE\020\001\022\024\n\020QUOTA_TYPE_INODE\020\002B)Z\'github.c" - "om/thinkparq/protobuf/go/beegfsb\006proto3" -}; -static ::absl::once_flag descriptor_table_beegfs_2eproto_once; -PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_beegfs_2eproto = { - false, - false, - 959, - descriptor_table_protodef_beegfs_2eproto, - "beegfs.proto", - &descriptor_table_beegfs_2eproto_once, - nullptr, - 0, - 2, - schemas, - file_default_instances, - TableStruct_beegfs_2eproto::offsets, - file_level_enum_descriptors_beegfs_2eproto, - file_level_service_descriptors_beegfs_2eproto, -}; -namespace beegfs { -const ::google::protobuf::EnumDescriptor* EntityType_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beegfs_2eproto); - return file_level_enum_descriptors_beegfs_2eproto[0]; -} -PROTOBUF_CONSTINIT const uint32_t EntityType_internal_data_[] = { - 327680u, 0u, }; -bool EntityType_IsValid(int value) { - return 0 <= value && value <= 4; -} -const ::google::protobuf::EnumDescriptor* NodeType_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beegfs_2eproto); - return file_level_enum_descriptors_beegfs_2eproto[1]; -} -PROTOBUF_CONSTINIT const uint32_t NodeType_internal_data_[] = { - 327680u, 0u, }; -bool NodeType_IsValid(int value) { - return 0 <= value && value <= 4; -} -const ::google::protobuf::EnumDescriptor* ReachabilityState_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beegfs_2eproto); - return file_level_enum_descriptors_beegfs_2eproto[2]; -} -PROTOBUF_CONSTINIT const uint32_t ReachabilityState_internal_data_[] = { - 262144u, 0u, }; -bool ReachabilityState_IsValid(int value) { - return 0 <= value && value <= 3; -} -const ::google::protobuf::EnumDescriptor* ConsistencyState_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beegfs_2eproto); - return file_level_enum_descriptors_beegfs_2eproto[3]; -} -PROTOBUF_CONSTINIT const uint32_t ConsistencyState_internal_data_[] = { - 262144u, 0u, }; -bool ConsistencyState_IsValid(int value) { - return 0 <= value && value <= 3; -} -const ::google::protobuf::EnumDescriptor* CapacityPool_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beegfs_2eproto); - return file_level_enum_descriptors_beegfs_2eproto[4]; -} -PROTOBUF_CONSTINIT const uint32_t CapacityPool_internal_data_[] = { - 262144u, 0u, }; -bool CapacityPool_IsValid(int value) { - return 0 <= value && value <= 3; -} -const ::google::protobuf::EnumDescriptor* NicType_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beegfs_2eproto); - return file_level_enum_descriptors_beegfs_2eproto[5]; -} -PROTOBUF_CONSTINIT const uint32_t NicType_internal_data_[] = { - 196608u, 0u, }; -bool NicType_IsValid(int value) { - return 0 <= value && value <= 2; -} -const ::google::protobuf::EnumDescriptor* QuotaIdType_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beegfs_2eproto); - return file_level_enum_descriptors_beegfs_2eproto[6]; -} -PROTOBUF_CONSTINIT const uint32_t QuotaIdType_internal_data_[] = { - 196608u, 0u, }; -bool QuotaIdType_IsValid(int value) { - return 0 <= value && value <= 2; -} -const ::google::protobuf::EnumDescriptor* QuotaType_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beegfs_2eproto); - return file_level_enum_descriptors_beegfs_2eproto[7]; -} -PROTOBUF_CONSTINIT const uint32_t QuotaType_internal_data_[] = { - 196608u, 0u, }; -bool QuotaType_IsValid(int value) { - return 0 <= value && value <= 2; -} -// =================================================================== - -class LegacyId::_Internal { - public: -}; - -LegacyId::LegacyId(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:beegfs.LegacyId) -} -LegacyId::LegacyId( - ::google::protobuf::Arena* arena, const LegacyId& from) - : LegacyId(arena) { - MergeFrom(from); -} -inline PROTOBUF_NDEBUG_INLINE LegacyId::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void LegacyId::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, num_id_), - 0, - offsetof(Impl_, node_type_) - - offsetof(Impl_, num_id_) + - sizeof(Impl_::node_type_)); -} -LegacyId::~LegacyId() { - // @@protoc_insertion_point(destructor:beegfs.LegacyId) - SharedDtor(*this); -} -inline void LegacyId::SharedDtor(MessageLite& self) { - LegacyId& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* LegacyId::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) LegacyId(arena); -} -constexpr auto LegacyId::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(LegacyId), - alignof(LegacyId)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull LegacyId::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_LegacyId_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &LegacyId::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &LegacyId::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &LegacyId::ByteSizeLong, - &LegacyId::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(LegacyId, _impl_._cached_size_), - false, - }, - &LegacyId::kDescriptorMethods, - &descriptor_table_beegfs_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* LegacyId::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 0, 0, 2> LegacyId::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 2, 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::beegfs::LegacyId>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // .beegfs.NodeType node_type = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LegacyId, _impl_.node_type_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(LegacyId, _impl_.node_type_)}}, - // uint32 num_id = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(LegacyId, _impl_.num_id_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(LegacyId, _impl_.num_id_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // uint32 num_id = 1; - {PROTOBUF_FIELD_OFFSET(LegacyId, _impl_.num_id_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // .beegfs.NodeType node_type = 2; - {PROTOBUF_FIELD_OFFSET(LegacyId, _impl_.node_type_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - }}, - // no aux_entries - {{ - }}, -}; - -PROTOBUF_NOINLINE void LegacyId::Clear() { -// @@protoc_insertion_point(message_clear_start:beegfs.LegacyId) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - ::memset(&_impl_.num_id_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.node_type_) - - reinterpret_cast(&_impl_.num_id_)) + sizeof(_impl_.node_type_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* LegacyId::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const LegacyId& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* LegacyId::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const LegacyId& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beegfs.LegacyId) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // uint32 num_id = 1; - if (this_._internal_num_id() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 1, this_._internal_num_id(), target); - } - - // .beegfs.NodeType node_type = 2; - if (this_._internal_node_type() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this_._internal_node_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:beegfs.LegacyId) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t LegacyId::ByteSizeLong(const MessageLite& base) { - const LegacyId& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t LegacyId::ByteSizeLong() const { - const LegacyId& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beegfs.LegacyId) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // uint32 num_id = 1; - if (this_._internal_num_id() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_num_id()); - } - // .beegfs.NodeType node_type = 2; - if (this_._internal_node_type() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_node_type()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void LegacyId::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:beegfs.LegacyId) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_num_id() != 0) { - _this->_impl_.num_id_ = from._impl_.num_id_; - } - if (from._internal_node_type() != 0) { - _this->_impl_.node_type_ = from._impl_.node_type_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void LegacyId::CopyFrom(const LegacyId& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beegfs.LegacyId) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void LegacyId::InternalSwap(LegacyId* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(LegacyId, _impl_.node_type_) - + sizeof(LegacyId::_impl_.node_type_) - - PROTOBUF_FIELD_OFFSET(LegacyId, _impl_.num_id_)>( - reinterpret_cast(&_impl_.num_id_), - reinterpret_cast(&other->_impl_.num_id_)); -} - -::google::protobuf::Metadata LegacyId::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class EntityIdSet::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(EntityIdSet, _impl_._has_bits_); -}; - -EntityIdSet::EntityIdSet(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:beegfs.EntityIdSet) -} -inline PROTOBUF_NDEBUG_INLINE EntityIdSet::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beegfs::EntityIdSet& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - alias_(arena, from.alias_) {} - -EntityIdSet::EntityIdSet( - ::google::protobuf::Arena* arena, - const EntityIdSet& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - EntityIdSet* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.legacy_id_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::LegacyId>( - arena, *from._impl_.legacy_id_) - : nullptr; - _impl_.uid_ = from._impl_.uid_; - - // @@protoc_insertion_point(copy_constructor:beegfs.EntityIdSet) -} -inline PROTOBUF_NDEBUG_INLINE EntityIdSet::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - alias_(arena) {} - -inline void EntityIdSet::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, legacy_id_), - 0, - offsetof(Impl_, uid_) - - offsetof(Impl_, legacy_id_) + - sizeof(Impl_::uid_)); -} -EntityIdSet::~EntityIdSet() { - // @@protoc_insertion_point(destructor:beegfs.EntityIdSet) - SharedDtor(*this); -} -inline void EntityIdSet::SharedDtor(MessageLite& self) { - EntityIdSet& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.alias_.Destroy(); - delete this_._impl_.legacy_id_; - this_._impl_.~Impl_(); -} - -inline void* EntityIdSet::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) EntityIdSet(arena); -} -constexpr auto EntityIdSet::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(EntityIdSet), - alignof(EntityIdSet)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull EntityIdSet::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_EntityIdSet_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &EntityIdSet::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &EntityIdSet::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &EntityIdSet::ByteSizeLong, - &EntityIdSet::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(EntityIdSet, _impl_._cached_size_), - false, - }, - &EntityIdSet::kDescriptorMethods, - &descriptor_table_beegfs_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* EntityIdSet::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 1, 32, 2> EntityIdSet::_table_ = { - { - PROTOBUF_FIELD_OFFSET(EntityIdSet, _impl_._has_bits_), - 0, // no _extensions_ - 3, 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967288, // skipmap - offsetof(decltype(_table_), field_entries), - 3, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // optional int64 uid = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(EntityIdSet, _impl_.uid_), 2>(), - {8, 2, 0, PROTOBUF_FIELD_OFFSET(EntityIdSet, _impl_.uid_)}}, - // optional string alias = 2; - {::_pbi::TcParser::FastUS1, - {18, 0, 0, PROTOBUF_FIELD_OFFSET(EntityIdSet, _impl_.alias_)}}, - // optional .beegfs.LegacyId legacy_id = 3; - {::_pbi::TcParser::FastMtS1, - {26, 1, 0, PROTOBUF_FIELD_OFFSET(EntityIdSet, _impl_.legacy_id_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional int64 uid = 1; - {PROTOBUF_FIELD_OFFSET(EntityIdSet, _impl_.uid_), _Internal::kHasBitsOffset + 2, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - // optional string alias = 2; - {PROTOBUF_FIELD_OFFSET(EntityIdSet, _impl_.alias_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // optional .beegfs.LegacyId legacy_id = 3; - {PROTOBUF_FIELD_OFFSET(EntityIdSet, _impl_.legacy_id_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::LegacyId>()}, - }}, {{ - "\22\0\5\0\0\0\0\0" - "beegfs.EntityIdSet" - "alias" - }}, -}; - -PROTOBUF_NOINLINE void EntityIdSet::Clear() { -// @@protoc_insertion_point(message_clear_start:beegfs.EntityIdSet) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - _impl_.alias_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.legacy_id_ != nullptr); - _impl_.legacy_id_->Clear(); - } - } - _impl_.uid_ = ::int64_t{0}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* EntityIdSet::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const EntityIdSet& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* EntityIdSet::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const EntityIdSet& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beegfs.EntityIdSet) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional int64 uid = 1; - if (cached_has_bits & 0x00000004u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<1>( - stream, this_._internal_uid(), target); - } - - // optional string alias = 2; - if (cached_has_bits & 0x00000001u) { - const std::string& _s = this_._internal_alias(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beegfs.EntityIdSet.alias"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - // optional .beegfs.LegacyId legacy_id = 3; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 3, *this_._impl_.legacy_id_, this_._impl_.legacy_id_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:beegfs.EntityIdSet) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t EntityIdSet::ByteSizeLong(const MessageLite& base) { - const EntityIdSet& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t EntityIdSet::ByteSizeLong() const { - const EntityIdSet& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beegfs.EntityIdSet) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string alias = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_alias()); - } - // optional .beegfs.LegacyId legacy_id = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.legacy_id_); - } - // optional int64 uid = 1; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_uid()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void EntityIdSet::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:beegfs.EntityIdSet) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_alias(from._internal_alias()); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.legacy_id_ != nullptr); - if (_this->_impl_.legacy_id_ == nullptr) { - _this->_impl_.legacy_id_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::LegacyId>(arena, *from._impl_.legacy_id_); - } else { - _this->_impl_.legacy_id_->MergeFrom(*from._impl_.legacy_id_); - } - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.uid_ = from._impl_.uid_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void EntityIdSet::CopyFrom(const EntityIdSet& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beegfs.EntityIdSet) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void EntityIdSet::InternalSwap(EntityIdSet* PROTOBUF_RESTRICT other) { - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.alias_, &other->_impl_.alias_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(EntityIdSet, _impl_.uid_) - + sizeof(EntityIdSet::_impl_.uid_) - - PROTOBUF_FIELD_OFFSET(EntityIdSet, _impl_.legacy_id_)>( - reinterpret_cast(&_impl_.legacy_id_), - reinterpret_cast(&other->_impl_.legacy_id_)); -} - -::google::protobuf::Metadata EntityIdSet::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// @@protoc_insertion_point(namespace_scope) -} // namespace beegfs -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google -// @@protoc_insertion_point(global_scope) -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = - (::_pbi::AddDescriptors(&descriptor_table_beegfs_2eproto), - ::std::false_type{}); -#include "google/protobuf/port_undef.inc" diff --git a/cpp/beegfs.pb.h b/cpp/beegfs.pb.h deleted file mode 100644 index 4f2b6fc..0000000 --- a/cpp/beegfs.pb.h +++ /dev/null @@ -1,1107 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: beegfs.proto -// Protobuf C++ Version: 5.29.2 - -#ifndef beegfs_2eproto_2epb_2eh -#define beegfs_2eproto_2epb_2eh - -#include -#include -#include -#include - -#include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 5029002 -#error "Protobuf C++ gencode is built with an incompatible version of" -#error "Protobuf C++ headers/runtime. See" -#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" -#endif -#include "google/protobuf/io/coded_stream.h" -#include "google/protobuf/arena.h" -#include "google/protobuf/arenastring.h" -#include "google/protobuf/generated_message_tctable_decl.h" -#include "google/protobuf/generated_message_util.h" -#include "google/protobuf/metadata_lite.h" -#include "google/protobuf/generated_message_reflection.h" -#include "google/protobuf/message.h" -#include "google/protobuf/message_lite.h" -#include "google/protobuf/repeated_field.h" // IWYU pragma: export -#include "google/protobuf/extension_set.h" // IWYU pragma: export -#include "google/protobuf/generated_enum_reflection.h" -#include "google/protobuf/unknown_field_set.h" -// @@protoc_insertion_point(includes) - -// Must be included last. -#include "google/protobuf/port_def.inc" - -#define PROTOBUF_INTERNAL_EXPORT_beegfs_2eproto - -namespace google { -namespace protobuf { -namespace internal { -template -::absl::string_view GetAnyMessageName(); -} // namespace internal -} // namespace protobuf -} // namespace google - -// Internal implementation detail -- do not use these members. -struct TableStruct_beegfs_2eproto { - static const ::uint32_t offsets[]; -}; -extern const ::google::protobuf::internal::DescriptorTable - descriptor_table_beegfs_2eproto; -namespace beegfs { -class EntityIdSet; -struct EntityIdSetDefaultTypeInternal; -extern EntityIdSetDefaultTypeInternal _EntityIdSet_default_instance_; -class LegacyId; -struct LegacyIdDefaultTypeInternal; -extern LegacyIdDefaultTypeInternal _LegacyId_default_instance_; -} // namespace beegfs -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google - -namespace beegfs { -enum EntityType : int { - ENTITY_TYPE_UNSPECIFIED = 0, - NODE = 1, - TARGET = 2, - BUDDY_GROUP = 3, - POOL = 4, - EntityType_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - EntityType_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool EntityType_IsValid(int value); -extern const uint32_t EntityType_internal_data_[]; -constexpr EntityType EntityType_MIN = static_cast(0); -constexpr EntityType EntityType_MAX = static_cast(4); -constexpr int EntityType_ARRAYSIZE = 4 + 1; -const ::google::protobuf::EnumDescriptor* -EntityType_descriptor(); -template -const std::string& EntityType_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to EntityType_Name()."); - return EntityType_Name(static_cast(value)); -} -template <> -inline const std::string& EntityType_Name(EntityType value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool EntityType_Parse(absl::string_view name, EntityType* value) { - return ::google::protobuf::internal::ParseNamedEnum( - EntityType_descriptor(), name, value); -} -enum NodeType : int { - NODE_TYPE_UNSPECIFIED = 0, - CLIENT = 1, - META = 2, - STORAGE = 3, - MANAGEMENT = 4, - NodeType_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - NodeType_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool NodeType_IsValid(int value); -extern const uint32_t NodeType_internal_data_[]; -constexpr NodeType NodeType_MIN = static_cast(0); -constexpr NodeType NodeType_MAX = static_cast(4); -constexpr int NodeType_ARRAYSIZE = 4 + 1; -const ::google::protobuf::EnumDescriptor* -NodeType_descriptor(); -template -const std::string& NodeType_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to NodeType_Name()."); - return NodeType_Name(static_cast(value)); -} -template <> -inline const std::string& NodeType_Name(NodeType value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool NodeType_Parse(absl::string_view name, NodeType* value) { - return ::google::protobuf::internal::ParseNamedEnum( - NodeType_descriptor(), name, value); -} -enum ReachabilityState : int { - REACHABILITY_STATE_UNSPECIFIED = 0, - ONLINE = 1, - POFFLINE = 2, - OFFLINE = 3, - ReachabilityState_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - ReachabilityState_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool ReachabilityState_IsValid(int value); -extern const uint32_t ReachabilityState_internal_data_[]; -constexpr ReachabilityState ReachabilityState_MIN = static_cast(0); -constexpr ReachabilityState ReachabilityState_MAX = static_cast(3); -constexpr int ReachabilityState_ARRAYSIZE = 3 + 1; -const ::google::protobuf::EnumDescriptor* -ReachabilityState_descriptor(); -template -const std::string& ReachabilityState_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to ReachabilityState_Name()."); - return ReachabilityState_Name(static_cast(value)); -} -template <> -inline const std::string& ReachabilityState_Name(ReachabilityState value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool ReachabilityState_Parse(absl::string_view name, ReachabilityState* value) { - return ::google::protobuf::internal::ParseNamedEnum( - ReachabilityState_descriptor(), name, value); -} -enum ConsistencyState : int { - CONSISTENCY_STATE_UNSPECIFIED = 0, - GOOD = 1, - NEEDS_RESYNC = 2, - BAD = 3, - ConsistencyState_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - ConsistencyState_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool ConsistencyState_IsValid(int value); -extern const uint32_t ConsistencyState_internal_data_[]; -constexpr ConsistencyState ConsistencyState_MIN = static_cast(0); -constexpr ConsistencyState ConsistencyState_MAX = static_cast(3); -constexpr int ConsistencyState_ARRAYSIZE = 3 + 1; -const ::google::protobuf::EnumDescriptor* -ConsistencyState_descriptor(); -template -const std::string& ConsistencyState_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to ConsistencyState_Name()."); - return ConsistencyState_Name(static_cast(value)); -} -template <> -inline const std::string& ConsistencyState_Name(ConsistencyState value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool ConsistencyState_Parse(absl::string_view name, ConsistencyState* value) { - return ::google::protobuf::internal::ParseNamedEnum( - ConsistencyState_descriptor(), name, value); -} -enum CapacityPool : int { - CAPACITY_POOL_UNSPECIFIED = 0, - NORMAL = 1, - LOW = 2, - EMERGENCY = 3, - CapacityPool_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - CapacityPool_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool CapacityPool_IsValid(int value); -extern const uint32_t CapacityPool_internal_data_[]; -constexpr CapacityPool CapacityPool_MIN = static_cast(0); -constexpr CapacityPool CapacityPool_MAX = static_cast(3); -constexpr int CapacityPool_ARRAYSIZE = 3 + 1; -const ::google::protobuf::EnumDescriptor* -CapacityPool_descriptor(); -template -const std::string& CapacityPool_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to CapacityPool_Name()."); - return CapacityPool_Name(static_cast(value)); -} -template <> -inline const std::string& CapacityPool_Name(CapacityPool value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool CapacityPool_Parse(absl::string_view name, CapacityPool* value) { - return ::google::protobuf::internal::ParseNamedEnum( - CapacityPool_descriptor(), name, value); -} -enum NicType : int { - NIC_TYPE_UNSPECIFIED = 0, - ETHERNET = 1, - RDMA = 2, - NicType_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - NicType_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool NicType_IsValid(int value); -extern const uint32_t NicType_internal_data_[]; -constexpr NicType NicType_MIN = static_cast(0); -constexpr NicType NicType_MAX = static_cast(2); -constexpr int NicType_ARRAYSIZE = 2 + 1; -const ::google::protobuf::EnumDescriptor* -NicType_descriptor(); -template -const std::string& NicType_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to NicType_Name()."); - return NicType_Name(static_cast(value)); -} -template <> -inline const std::string& NicType_Name(NicType value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool NicType_Parse(absl::string_view name, NicType* value) { - return ::google::protobuf::internal::ParseNamedEnum( - NicType_descriptor(), name, value); -} -enum QuotaIdType : int { - QUOTA_ID_TYPE_UNSPECIFIED = 0, - QUOTA_ID_TYPE_USER = 1, - QUOTA_ID_TYPE_GROUP = 2, - QuotaIdType_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - QuotaIdType_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool QuotaIdType_IsValid(int value); -extern const uint32_t QuotaIdType_internal_data_[]; -constexpr QuotaIdType QuotaIdType_MIN = static_cast(0); -constexpr QuotaIdType QuotaIdType_MAX = static_cast(2); -constexpr int QuotaIdType_ARRAYSIZE = 2 + 1; -const ::google::protobuf::EnumDescriptor* -QuotaIdType_descriptor(); -template -const std::string& QuotaIdType_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to QuotaIdType_Name()."); - return QuotaIdType_Name(static_cast(value)); -} -template <> -inline const std::string& QuotaIdType_Name(QuotaIdType value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool QuotaIdType_Parse(absl::string_view name, QuotaIdType* value) { - return ::google::protobuf::internal::ParseNamedEnum( - QuotaIdType_descriptor(), name, value); -} -enum QuotaType : int { - QUOTA_TYPE_UNSPECIFIED = 0, - QUOTA_TYPE_SPACE = 1, - QUOTA_TYPE_INODE = 2, - QuotaType_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - QuotaType_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool QuotaType_IsValid(int value); -extern const uint32_t QuotaType_internal_data_[]; -constexpr QuotaType QuotaType_MIN = static_cast(0); -constexpr QuotaType QuotaType_MAX = static_cast(2); -constexpr int QuotaType_ARRAYSIZE = 2 + 1; -const ::google::protobuf::EnumDescriptor* -QuotaType_descriptor(); -template -const std::string& QuotaType_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to QuotaType_Name()."); - return QuotaType_Name(static_cast(value)); -} -template <> -inline const std::string& QuotaType_Name(QuotaType value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool QuotaType_Parse(absl::string_view name, QuotaType* value) { - return ::google::protobuf::internal::ParseNamedEnum( - QuotaType_descriptor(), name, value); -} - -// =================================================================== - - -// ------------------------------------------------------------------- - -class LegacyId final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beegfs.LegacyId) */ { - public: - inline LegacyId() : LegacyId(nullptr) {} - ~LegacyId() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(LegacyId* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(LegacyId)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR LegacyId( - ::google::protobuf::internal::ConstantInitialized); - - inline LegacyId(const LegacyId& from) : LegacyId(nullptr, from) {} - inline LegacyId(LegacyId&& from) noexcept - : LegacyId(nullptr, std::move(from)) {} - inline LegacyId& operator=(const LegacyId& from) { - CopyFrom(from); - return *this; - } - inline LegacyId& operator=(LegacyId&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const LegacyId& default_instance() { - return *internal_default_instance(); - } - static inline const LegacyId* internal_default_instance() { - return reinterpret_cast( - &_LegacyId_default_instance_); - } - static constexpr int kIndexInFileMessages = 0; - friend void swap(LegacyId& a, LegacyId& b) { a.Swap(&b); } - inline void Swap(LegacyId* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(LegacyId* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - LegacyId* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const LegacyId& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const LegacyId& from) { LegacyId::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(LegacyId* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beegfs.LegacyId"; } - - protected: - explicit LegacyId(::google::protobuf::Arena* arena); - LegacyId(::google::protobuf::Arena* arena, const LegacyId& from); - LegacyId(::google::protobuf::Arena* arena, LegacyId&& from) noexcept - : LegacyId(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kNumIdFieldNumber = 1, - kNodeTypeFieldNumber = 2, - }; - // uint32 num_id = 1; - void clear_num_id() ; - ::uint32_t num_id() const; - void set_num_id(::uint32_t value); - - private: - ::uint32_t _internal_num_id() const; - void _internal_set_num_id(::uint32_t value); - - public: - // .beegfs.NodeType node_type = 2; - void clear_node_type() ; - ::beegfs::NodeType node_type() const; - void set_node_type(::beegfs::NodeType value); - - private: - ::beegfs::NodeType _internal_node_type() const; - void _internal_set_node_type(::beegfs::NodeType value); - - public: - // @@protoc_insertion_point(class_scope:beegfs.LegacyId) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const LegacyId& from_msg); - ::uint32_t num_id_; - int node_type_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beegfs_2eproto; -}; -// ------------------------------------------------------------------- - -class EntityIdSet final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beegfs.EntityIdSet) */ { - public: - inline EntityIdSet() : EntityIdSet(nullptr) {} - ~EntityIdSet() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(EntityIdSet* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(EntityIdSet)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR EntityIdSet( - ::google::protobuf::internal::ConstantInitialized); - - inline EntityIdSet(const EntityIdSet& from) : EntityIdSet(nullptr, from) {} - inline EntityIdSet(EntityIdSet&& from) noexcept - : EntityIdSet(nullptr, std::move(from)) {} - inline EntityIdSet& operator=(const EntityIdSet& from) { - CopyFrom(from); - return *this; - } - inline EntityIdSet& operator=(EntityIdSet&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const EntityIdSet& default_instance() { - return *internal_default_instance(); - } - static inline const EntityIdSet* internal_default_instance() { - return reinterpret_cast( - &_EntityIdSet_default_instance_); - } - static constexpr int kIndexInFileMessages = 1; - friend void swap(EntityIdSet& a, EntityIdSet& b) { a.Swap(&b); } - inline void Swap(EntityIdSet* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(EntityIdSet* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - EntityIdSet* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const EntityIdSet& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const EntityIdSet& from) { EntityIdSet::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(EntityIdSet* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beegfs.EntityIdSet"; } - - protected: - explicit EntityIdSet(::google::protobuf::Arena* arena); - EntityIdSet(::google::protobuf::Arena* arena, const EntityIdSet& from); - EntityIdSet(::google::protobuf::Arena* arena, EntityIdSet&& from) noexcept - : EntityIdSet(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kAliasFieldNumber = 2, - kLegacyIdFieldNumber = 3, - kUidFieldNumber = 1, - }; - // optional string alias = 2; - bool has_alias() const; - void clear_alias() ; - const std::string& alias() const; - template - void set_alias(Arg_&& arg, Args_... args); - std::string* mutable_alias(); - PROTOBUF_NODISCARD std::string* release_alias(); - void set_allocated_alias(std::string* value); - - private: - const std::string& _internal_alias() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_alias( - const std::string& value); - std::string* _internal_mutable_alias(); - - public: - // optional .beegfs.LegacyId legacy_id = 3; - bool has_legacy_id() const; - void clear_legacy_id() ; - const ::beegfs::LegacyId& legacy_id() const; - PROTOBUF_NODISCARD ::beegfs::LegacyId* release_legacy_id(); - ::beegfs::LegacyId* mutable_legacy_id(); - void set_allocated_legacy_id(::beegfs::LegacyId* value); - void unsafe_arena_set_allocated_legacy_id(::beegfs::LegacyId* value); - ::beegfs::LegacyId* unsafe_arena_release_legacy_id(); - - private: - const ::beegfs::LegacyId& _internal_legacy_id() const; - ::beegfs::LegacyId* _internal_mutable_legacy_id(); - - public: - // optional int64 uid = 1; - bool has_uid() const; - void clear_uid() ; - ::int64_t uid() const; - void set_uid(::int64_t value); - - private: - ::int64_t _internal_uid() const; - void _internal_set_uid(::int64_t value); - - public: - // @@protoc_insertion_point(class_scope:beegfs.EntityIdSet) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 1, - 32, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const EntityIdSet& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr alias_; - ::beegfs::LegacyId* legacy_id_; - ::int64_t uid_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beegfs_2eproto; -}; - -// =================================================================== - - - - -// =================================================================== - - -#ifdef __GNUC__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// LegacyId - -// uint32 num_id = 1; -inline void LegacyId::clear_num_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.num_id_ = 0u; -} -inline ::uint32_t LegacyId::num_id() const { - // @@protoc_insertion_point(field_get:beegfs.LegacyId.num_id) - return _internal_num_id(); -} -inline void LegacyId::set_num_id(::uint32_t value) { - _internal_set_num_id(value); - // @@protoc_insertion_point(field_set:beegfs.LegacyId.num_id) -} -inline ::uint32_t LegacyId::_internal_num_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.num_id_; -} -inline void LegacyId::_internal_set_num_id(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.num_id_ = value; -} - -// .beegfs.NodeType node_type = 2; -inline void LegacyId::clear_node_type() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.node_type_ = 0; -} -inline ::beegfs::NodeType LegacyId::node_type() const { - // @@protoc_insertion_point(field_get:beegfs.LegacyId.node_type) - return _internal_node_type(); -} -inline void LegacyId::set_node_type(::beegfs::NodeType value) { - _internal_set_node_type(value); - // @@protoc_insertion_point(field_set:beegfs.LegacyId.node_type) -} -inline ::beegfs::NodeType LegacyId::_internal_node_type() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::NodeType>(_impl_.node_type_); -} -inline void LegacyId::_internal_set_node_type(::beegfs::NodeType value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.node_type_ = value; -} - -// ------------------------------------------------------------------- - -// EntityIdSet - -// optional int64 uid = 1; -inline bool EntityIdSet::has_uid() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline void EntityIdSet::clear_uid() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.uid_ = ::int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::int64_t EntityIdSet::uid() const { - // @@protoc_insertion_point(field_get:beegfs.EntityIdSet.uid) - return _internal_uid(); -} -inline void EntityIdSet::set_uid(::int64_t value) { - _internal_set_uid(value); - _impl_._has_bits_[0] |= 0x00000004u; - // @@protoc_insertion_point(field_set:beegfs.EntityIdSet.uid) -} -inline ::int64_t EntityIdSet::_internal_uid() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.uid_; -} -inline void EntityIdSet::_internal_set_uid(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.uid_ = value; -} - -// optional string alias = 2; -inline bool EntityIdSet::has_alias() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline void EntityIdSet::clear_alias() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.alias_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& EntityIdSet::alias() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beegfs.EntityIdSet.alias) - return _internal_alias(); -} -template -inline PROTOBUF_ALWAYS_INLINE void EntityIdSet::set_alias(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.alias_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beegfs.EntityIdSet.alias) -} -inline std::string* EntityIdSet::mutable_alias() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_alias(); - // @@protoc_insertion_point(field_mutable:beegfs.EntityIdSet.alias) - return _s; -} -inline const std::string& EntityIdSet::_internal_alias() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.alias_.Get(); -} -inline void EntityIdSet::_internal_set_alias(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.alias_.Set(value, GetArena()); -} -inline std::string* EntityIdSet::_internal_mutable_alias() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.alias_.Mutable( GetArena()); -} -inline std::string* EntityIdSet::release_alias() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beegfs.EntityIdSet.alias) - if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* released = _impl_.alias_.Release(); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { - _impl_.alias_.Set("", GetArena()); - } - return released; -} -inline void EntityIdSet::set_allocated_alias(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.alias_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.alias_.IsDefault()) { - _impl_.alias_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beegfs.EntityIdSet.alias) -} - -// optional .beegfs.LegacyId legacy_id = 3; -inline bool EntityIdSet::has_legacy_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.legacy_id_ != nullptr); - return value; -} -inline void EntityIdSet::clear_legacy_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.legacy_id_ != nullptr) _impl_.legacy_id_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::beegfs::LegacyId& EntityIdSet::_internal_legacy_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::LegacyId* p = _impl_.legacy_id_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_LegacyId_default_instance_); -} -inline const ::beegfs::LegacyId& EntityIdSet::legacy_id() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beegfs.EntityIdSet.legacy_id) - return _internal_legacy_id(); -} -inline void EntityIdSet::unsafe_arena_set_allocated_legacy_id(::beegfs::LegacyId* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.legacy_id_); - } - _impl_.legacy_id_ = reinterpret_cast<::beegfs::LegacyId*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beegfs.EntityIdSet.legacy_id) -} -inline ::beegfs::LegacyId* EntityIdSet::release_legacy_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::beegfs::LegacyId* released = _impl_.legacy_id_; - _impl_.legacy_id_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::LegacyId* EntityIdSet::unsafe_arena_release_legacy_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beegfs.EntityIdSet.legacy_id) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::beegfs::LegacyId* temp = _impl_.legacy_id_; - _impl_.legacy_id_ = nullptr; - return temp; -} -inline ::beegfs::LegacyId* EntityIdSet::_internal_mutable_legacy_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.legacy_id_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::LegacyId>(GetArena()); - _impl_.legacy_id_ = reinterpret_cast<::beegfs::LegacyId*>(p); - } - return _impl_.legacy_id_; -} -inline ::beegfs::LegacyId* EntityIdSet::mutable_legacy_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; - ::beegfs::LegacyId* _msg = _internal_mutable_legacy_id(); - // @@protoc_insertion_point(field_mutable:beegfs.EntityIdSet.legacy_id) - return _msg; -} -inline void EntityIdSet::set_allocated_legacy_id(::beegfs::LegacyId* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.legacy_id_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - - _impl_.legacy_id_ = reinterpret_cast<::beegfs::LegacyId*>(value); - // @@protoc_insertion_point(field_set_allocated:beegfs.EntityIdSet.legacy_id) -} - -#ifdef __GNUC__ -#pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) -} // namespace beegfs - - -namespace google { -namespace protobuf { - -template <> -struct is_proto_enum<::beegfs::EntityType> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::EntityType>() { - return ::beegfs::EntityType_descriptor(); -} -template <> -struct is_proto_enum<::beegfs::NodeType> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::NodeType>() { - return ::beegfs::NodeType_descriptor(); -} -template <> -struct is_proto_enum<::beegfs::ReachabilityState> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::ReachabilityState>() { - return ::beegfs::ReachabilityState_descriptor(); -} -template <> -struct is_proto_enum<::beegfs::ConsistencyState> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::ConsistencyState>() { - return ::beegfs::ConsistencyState_descriptor(); -} -template <> -struct is_proto_enum<::beegfs::CapacityPool> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::CapacityPool>() { - return ::beegfs::CapacityPool_descriptor(); -} -template <> -struct is_proto_enum<::beegfs::NicType> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::NicType>() { - return ::beegfs::NicType_descriptor(); -} -template <> -struct is_proto_enum<::beegfs::QuotaIdType> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::QuotaIdType>() { - return ::beegfs::QuotaIdType_descriptor(); -} -template <> -struct is_proto_enum<::beegfs::QuotaType> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::beegfs::QuotaType>() { - return ::beegfs::QuotaType_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include "google/protobuf/port_undef.inc" - -#endif // beegfs_2eproto_2epb_2eh diff --git a/cpp/license.pb.cc b/cpp/license.pb.cc deleted file mode 100644 index 09c063a..0000000 --- a/cpp/license.pb.cc +++ /dev/null @@ -1,1842 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: license.proto -// Protobuf C++ Version: 5.29.2 - -#include "license.pb.h" - -#include -#include -#include "google/protobuf/io/coded_stream.h" -#include "google/protobuf/generated_message_tctable_impl.h" -#include "google/protobuf/extension_set.h" -#include "google/protobuf/generated_message_util.h" -#include "google/protobuf/wire_format_lite.h" -#include "google/protobuf/descriptor.h" -#include "google/protobuf/generated_message_reflection.h" -#include "google/protobuf/reflection_ops.h" -#include "google/protobuf/wire_format.h" -// @@protoc_insertion_point(includes) - -// Must be included last. -#include "google/protobuf/port_def.inc" -PROTOBUF_PRAGMA_INIT_SEG -namespace _pb = ::google::protobuf; -namespace _pbi = ::google::protobuf::internal; -namespace _fl = ::google::protobuf::internal::field_layout; -namespace license { - -inline constexpr VerifyFeatureResult::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : message_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - result_{static_cast< ::license::VerifyResult >(0)}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR VerifyFeatureResult::VerifyFeatureResult(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct VerifyFeatureResultDefaultTypeInternal { - PROTOBUF_CONSTEXPR VerifyFeatureResultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~VerifyFeatureResultDefaultTypeInternal() {} - union { - VerifyFeatureResult _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VerifyFeatureResultDefaultTypeInternal _VerifyFeatureResult_default_instance_; - -inline constexpr VerifyCertResult::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : serial_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - message_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - result_{static_cast< ::license::VerifyResult >(0)}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR VerifyCertResult::VerifyCertResult(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct VerifyCertResultDefaultTypeInternal { - PROTOBUF_CONSTEXPR VerifyCertResultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~VerifyCertResultDefaultTypeInternal() {} - union { - VerifyCertResult _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 VerifyCertResultDefaultTypeInternal _VerifyCertResult_default_instance_; - -inline constexpr CertData::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - dns_names_{}, - organization_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - organizational_unit_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - country_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - locality_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - common_name_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - subject_serial_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - valid_from_{nullptr}, - valid_until_{nullptr}, - parent_data_{nullptr}, - serial_{::int64_t{0}}, - type_{static_cast< ::license::CertType >(0)}, - is_ca_{false} {} - -template -PROTOBUF_CONSTEXPR CertData::CertData(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct CertDataDefaultTypeInternal { - PROTOBUF_CONSTEXPR CertDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~CertDataDefaultTypeInternal() {} - union { - CertData _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CertDataDefaultTypeInternal _CertData_default_instance_; - -inline constexpr GetCertDataResult::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - message_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - data_{nullptr}, - result_{static_cast< ::license::VerifyResult >(0)} {} - -template -PROTOBUF_CONSTEXPR GetCertDataResult::GetCertDataResult(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetCertDataResultDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetCertDataResultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetCertDataResultDefaultTypeInternal() {} - union { - GetCertDataResult _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetCertDataResultDefaultTypeInternal _GetCertDataResult_default_instance_; -} // namespace license -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_license_2eproto[2]; -static constexpr const ::_pb::ServiceDescriptor** - file_level_service_descriptors_license_2eproto = nullptr; -const ::uint32_t - TableStruct_license_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::license::VerifyCertResult, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::license::VerifyCertResult, _impl_.result_), - PROTOBUF_FIELD_OFFSET(::license::VerifyCertResult, _impl_.serial_), - PROTOBUF_FIELD_OFFSET(::license::VerifyCertResult, _impl_.message_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::license::VerifyFeatureResult, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::license::VerifyFeatureResult, _impl_.result_), - PROTOBUF_FIELD_OFFSET(::license::VerifyFeatureResult, _impl_.message_), - PROTOBUF_FIELD_OFFSET(::license::GetCertDataResult, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::license::GetCertDataResult, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::license::GetCertDataResult, _impl_.result_), - PROTOBUF_FIELD_OFFSET(::license::GetCertDataResult, _impl_.data_), - PROTOBUF_FIELD_OFFSET(::license::GetCertDataResult, _impl_.message_), - ~0u, - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::license::CertData, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_.serial_), - PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_.organization_), - PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_.organizational_unit_), - PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_.country_), - PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_.locality_), - PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_.common_name_), - PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_.subject_serial_), - PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_.valid_from_), - PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_.valid_until_), - PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_.dns_names_), - PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_.is_ca_), - PROTOBUF_FIELD_OFFSET(::license::CertData, _impl_.parent_data_), - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - 0, - 1, - ~0u, - ~0u, - 2, -}; - -static const ::_pbi::MigrationSchema - schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - {0, -1, -1, sizeof(::license::VerifyCertResult)}, - {11, -1, -1, sizeof(::license::VerifyFeatureResult)}, - {21, 32, -1, sizeof(::license::GetCertDataResult)}, - {35, 56, -1, sizeof(::license::CertData)}, -}; -static const ::_pb::Message* const file_default_instances[] = { - &::license::_VerifyCertResult_default_instance_._instance, - &::license::_VerifyFeatureResult_default_instance_._instance, - &::license::_GetCertDataResult_default_instance_._instance, - &::license::_CertData_default_instance_._instance, -}; -const char descriptor_table_protodef_license_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - "\n\rlicense.proto\022\007license\032\037google/protobu" - "f/timestamp.proto\"Z\n\020VerifyCertResult\022%\n" - "\006result\030\001 \001(\0162\025.license.VerifyResult\022\016\n\006" - "serial\030\002 \001(\t\022\017\n\007message\030\003 \001(\t\"M\n\023VerifyF" - "eatureResult\022%\n\006result\030\001 \001(\0162\025.license.V" - "erifyResult\022\017\n\007message\030\002 \001(\t\"l\n\021GetCertD" - "ataResult\022%\n\006result\030\001 \001(\0162\025.license.Veri" - "fyResult\022\037\n\004data\030\002 \001(\0132\021.license.CertDat" - "a\022\017\n\007message\030\003 \001(\t\"\210\003\n\010CertData\022\037\n\004type\030" - "\001 \001(\0162\021.license.CertType\022\016\n\006serial\030\002 \001(\003" - "\022\024\n\014organization\030\003 \001(\t\022\033\n\023organizational" - "_unit\030\004 \001(\t\022\017\n\007country\030\005 \001(\t\022\020\n\010locality" - "\030\006 \001(\t\022\023\n\013common_name\030\007 \001(\t\022\026\n\016subject_s" - "erial\030\010 \001(\t\022.\n\nvalid_from\030\t \001(\0132\032.google" - ".protobuf.Timestamp\022/\n\013valid_until\030\n \001(\013" - "2\032.google.protobuf.Timestamp\022\033\n\tdns_name" - "s\030\013 \003(\tR\010DNSNames\022\r\n\005is_ca\030\014 \001(\010\022+\n\013pare" - "nt_data\030\r \001(\0132\021.license.CertDataH\000\210\001\001B\016\n" - "\014_parent_data*^\n\014VerifyResult\022\026\n\022VERIFY_" - "UNSPECIFIED\020\000\022\020\n\014VERIFY_ERROR\020\001\022\020\n\014VERIF" - "Y_VALID\020\002\022\022\n\016VERIFY_INVALID\020\003*\272\001\n\010CertTy" - "pe\022\031\n\025CERT_TYPE_UNSPECIFIED\020\000\022\025\n\021CERT_TY" - "PE_CA_ROOT\020\001\022\035\n\031CERT_TYPE_CA_INTERMEDIAT" - "E\020\002\022\025\n\021CERT_TYPE_PARTNER\020\003\022\030\n\024CERT_TYPE_" - "ENTERPRISE\020\004\022\023\n\017CERT_TYPE_TRIAL\020\005\022\027\n\023CER" - "T_TYPE_COMMUNITY\020\006B*Z(github.com/thinkpa" - "rq/protobuf/go/licenseb\006proto3" -}; -static const ::_pbi::DescriptorTable* const descriptor_table_license_2eproto_deps[1] = - { - &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, -}; -static ::absl::once_flag descriptor_table_license_2eproto_once; -PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_license_2eproto = { - false, - false, - 1070, - descriptor_table_protodef_license_2eproto, - "license.proto", - &descriptor_table_license_2eproto_once, - descriptor_table_license_2eproto_deps, - 1, - 4, - schemas, - file_default_instances, - TableStruct_license_2eproto::offsets, - file_level_enum_descriptors_license_2eproto, - file_level_service_descriptors_license_2eproto, -}; -namespace license { -const ::google::protobuf::EnumDescriptor* VerifyResult_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_license_2eproto); - return file_level_enum_descriptors_license_2eproto[0]; -} -PROTOBUF_CONSTINIT const uint32_t VerifyResult_internal_data_[] = { - 262144u, 0u, }; -bool VerifyResult_IsValid(int value) { - return 0 <= value && value <= 3; -} -const ::google::protobuf::EnumDescriptor* CertType_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_license_2eproto); - return file_level_enum_descriptors_license_2eproto[1]; -} -PROTOBUF_CONSTINIT const uint32_t CertType_internal_data_[] = { - 458752u, 0u, }; -bool CertType_IsValid(int value) { - return 0 <= value && value <= 6; -} -// =================================================================== - -class VerifyCertResult::_Internal { - public: -}; - -VerifyCertResult::VerifyCertResult(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:license.VerifyCertResult) -} -inline PROTOBUF_NDEBUG_INLINE VerifyCertResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::license::VerifyCertResult& from_msg) - : serial_(arena, from.serial_), - message_(arena, from.message_), - _cached_size_{0} {} - -VerifyCertResult::VerifyCertResult( - ::google::protobuf::Arena* arena, - const VerifyCertResult& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - VerifyCertResult* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _impl_.result_ = from._impl_.result_; - - // @@protoc_insertion_point(copy_constructor:license.VerifyCertResult) -} -inline PROTOBUF_NDEBUG_INLINE VerifyCertResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : serial_(arena), - message_(arena), - _cached_size_{0} {} - -inline void VerifyCertResult::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.result_ = {}; -} -VerifyCertResult::~VerifyCertResult() { - // @@protoc_insertion_point(destructor:license.VerifyCertResult) - SharedDtor(*this); -} -inline void VerifyCertResult::SharedDtor(MessageLite& self) { - VerifyCertResult& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.serial_.Destroy(); - this_._impl_.message_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* VerifyCertResult::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) VerifyCertResult(arena); -} -constexpr auto VerifyCertResult::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(VerifyCertResult), - alignof(VerifyCertResult)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull VerifyCertResult::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_VerifyCertResult_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &VerifyCertResult::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &VerifyCertResult::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &VerifyCertResult::ByteSizeLong, - &VerifyCertResult::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(VerifyCertResult, _impl_._cached_size_), - false, - }, - &VerifyCertResult::kDescriptorMethods, - &descriptor_table_license_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* VerifyCertResult::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 0, 46, 2> VerifyCertResult::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 3, 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967288, // skipmap - offsetof(decltype(_table_), field_entries), - 3, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::license::VerifyCertResult>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // .license.VerifyResult result = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(VerifyCertResult, _impl_.result_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(VerifyCertResult, _impl_.result_)}}, - // string serial = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(VerifyCertResult, _impl_.serial_)}}, - // string message = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(VerifyCertResult, _impl_.message_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .license.VerifyResult result = 1; - {PROTOBUF_FIELD_OFFSET(VerifyCertResult, _impl_.result_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // string serial = 2; - {PROTOBUF_FIELD_OFFSET(VerifyCertResult, _impl_.serial_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string message = 3; - {PROTOBUF_FIELD_OFFSET(VerifyCertResult, _impl_.message_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{ - "\30\0\6\7\0\0\0\0" - "license.VerifyCertResult" - "serial" - "message" - }}, -}; - -PROTOBUF_NOINLINE void VerifyCertResult::Clear() { -// @@protoc_insertion_point(message_clear_start:license.VerifyCertResult) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.serial_.ClearToEmpty(); - _impl_.message_.ClearToEmpty(); - _impl_.result_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* VerifyCertResult::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const VerifyCertResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* VerifyCertResult::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const VerifyCertResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:license.VerifyCertResult) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // .license.VerifyResult result = 1; - if (this_._internal_result() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this_._internal_result(), target); - } - - // string serial = 2; - if (!this_._internal_serial().empty()) { - const std::string& _s = this_._internal_serial(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "license.VerifyCertResult.serial"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - // string message = 3; - if (!this_._internal_message().empty()) { - const std::string& _s = this_._internal_message(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "license.VerifyCertResult.message"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:license.VerifyCertResult) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t VerifyCertResult::ByteSizeLong(const MessageLite& base) { - const VerifyCertResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t VerifyCertResult::ByteSizeLong() const { - const VerifyCertResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:license.VerifyCertResult) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // string serial = 2; - if (!this_._internal_serial().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_serial()); - } - // string message = 3; - if (!this_._internal_message().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_message()); - } - // .license.VerifyResult result = 1; - if (this_._internal_result() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_result()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void VerifyCertResult::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:license.VerifyCertResult) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_serial().empty()) { - _this->_internal_set_serial(from._internal_serial()); - } - if (!from._internal_message().empty()) { - _this->_internal_set_message(from._internal_message()); - } - if (from._internal_result() != 0) { - _this->_impl_.result_ = from._impl_.result_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void VerifyCertResult::CopyFrom(const VerifyCertResult& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:license.VerifyCertResult) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void VerifyCertResult::InternalSwap(VerifyCertResult* PROTOBUF_RESTRICT other) { - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.serial_, &other->_impl_.serial_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, &other->_impl_.message_, arena); - swap(_impl_.result_, other->_impl_.result_); -} - -::google::protobuf::Metadata VerifyCertResult::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class VerifyFeatureResult::_Internal { - public: -}; - -VerifyFeatureResult::VerifyFeatureResult(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:license.VerifyFeatureResult) -} -inline PROTOBUF_NDEBUG_INLINE VerifyFeatureResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::license::VerifyFeatureResult& from_msg) - : message_(arena, from.message_), - _cached_size_{0} {} - -VerifyFeatureResult::VerifyFeatureResult( - ::google::protobuf::Arena* arena, - const VerifyFeatureResult& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - VerifyFeatureResult* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _impl_.result_ = from._impl_.result_; - - // @@protoc_insertion_point(copy_constructor:license.VerifyFeatureResult) -} -inline PROTOBUF_NDEBUG_INLINE VerifyFeatureResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : message_(arena), - _cached_size_{0} {} - -inline void VerifyFeatureResult::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.result_ = {}; -} -VerifyFeatureResult::~VerifyFeatureResult() { - // @@protoc_insertion_point(destructor:license.VerifyFeatureResult) - SharedDtor(*this); -} -inline void VerifyFeatureResult::SharedDtor(MessageLite& self) { - VerifyFeatureResult& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.message_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* VerifyFeatureResult::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) VerifyFeatureResult(arena); -} -constexpr auto VerifyFeatureResult::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(VerifyFeatureResult), - alignof(VerifyFeatureResult)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull VerifyFeatureResult::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_VerifyFeatureResult_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &VerifyFeatureResult::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &VerifyFeatureResult::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &VerifyFeatureResult::ByteSizeLong, - &VerifyFeatureResult::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(VerifyFeatureResult, _impl_._cached_size_), - false, - }, - &VerifyFeatureResult::kDescriptorMethods, - &descriptor_table_license_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* VerifyFeatureResult::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 0, 43, 2> VerifyFeatureResult::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 2, 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::license::VerifyFeatureResult>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // string message = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(VerifyFeatureResult, _impl_.message_)}}, - // .license.VerifyResult result = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(VerifyFeatureResult, _impl_.result_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(VerifyFeatureResult, _impl_.result_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .license.VerifyResult result = 1; - {PROTOBUF_FIELD_OFFSET(VerifyFeatureResult, _impl_.result_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // string message = 2; - {PROTOBUF_FIELD_OFFSET(VerifyFeatureResult, _impl_.message_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{ - "\33\0\7\0\0\0\0\0" - "license.VerifyFeatureResult" - "message" - }}, -}; - -PROTOBUF_NOINLINE void VerifyFeatureResult::Clear() { -// @@protoc_insertion_point(message_clear_start:license.VerifyFeatureResult) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.message_.ClearToEmpty(); - _impl_.result_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* VerifyFeatureResult::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const VerifyFeatureResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* VerifyFeatureResult::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const VerifyFeatureResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:license.VerifyFeatureResult) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // .license.VerifyResult result = 1; - if (this_._internal_result() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this_._internal_result(), target); - } - - // string message = 2; - if (!this_._internal_message().empty()) { - const std::string& _s = this_._internal_message(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "license.VerifyFeatureResult.message"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:license.VerifyFeatureResult) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t VerifyFeatureResult::ByteSizeLong(const MessageLite& base) { - const VerifyFeatureResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t VerifyFeatureResult::ByteSizeLong() const { - const VerifyFeatureResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:license.VerifyFeatureResult) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // string message = 2; - if (!this_._internal_message().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_message()); - } - // .license.VerifyResult result = 1; - if (this_._internal_result() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_result()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void VerifyFeatureResult::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:license.VerifyFeatureResult) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_message().empty()) { - _this->_internal_set_message(from._internal_message()); - } - if (from._internal_result() != 0) { - _this->_impl_.result_ = from._impl_.result_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void VerifyFeatureResult::CopyFrom(const VerifyFeatureResult& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:license.VerifyFeatureResult) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void VerifyFeatureResult::InternalSwap(VerifyFeatureResult* PROTOBUF_RESTRICT other) { - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, &other->_impl_.message_, arena); - swap(_impl_.result_, other->_impl_.result_); -} - -::google::protobuf::Metadata VerifyFeatureResult::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetCertDataResult::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_._has_bits_); -}; - -GetCertDataResult::GetCertDataResult(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:license.GetCertDataResult) -} -inline PROTOBUF_NDEBUG_INLINE GetCertDataResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::license::GetCertDataResult& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - message_(arena, from.message_) {} - -GetCertDataResult::GetCertDataResult( - ::google::protobuf::Arena* arena, - const GetCertDataResult& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetCertDataResult* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.data_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::license::CertData>( - arena, *from._impl_.data_) - : nullptr; - _impl_.result_ = from._impl_.result_; - - // @@protoc_insertion_point(copy_constructor:license.GetCertDataResult) -} -inline PROTOBUF_NDEBUG_INLINE GetCertDataResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - message_(arena) {} - -inline void GetCertDataResult::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, data_), - 0, - offsetof(Impl_, result_) - - offsetof(Impl_, data_) + - sizeof(Impl_::result_)); -} -GetCertDataResult::~GetCertDataResult() { - // @@protoc_insertion_point(destructor:license.GetCertDataResult) - SharedDtor(*this); -} -inline void GetCertDataResult::SharedDtor(MessageLite& self) { - GetCertDataResult& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.message_.Destroy(); - delete this_._impl_.data_; - this_._impl_.~Impl_(); -} - -inline void* GetCertDataResult::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetCertDataResult(arena); -} -constexpr auto GetCertDataResult::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GetCertDataResult), - alignof(GetCertDataResult)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetCertDataResult::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetCertDataResult_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetCertDataResult::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetCertDataResult::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetCertDataResult::ByteSizeLong, - &GetCertDataResult::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_._cached_size_), - false, - }, - &GetCertDataResult::kDescriptorMethods, - &descriptor_table_license_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetCertDataResult::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 1, 41, 2> GetCertDataResult::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_._has_bits_), - 0, // no _extensions_ - 3, 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967288, // skipmap - offsetof(decltype(_table_), field_entries), - 3, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::license::GetCertDataResult>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // .license.VerifyResult result = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetCertDataResult, _impl_.result_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_.result_)}}, - // .license.CertData data = 2; - {::_pbi::TcParser::FastMtS1, - {18, 0, 0, PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_.data_)}}, - // string message = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_.message_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .license.VerifyResult result = 1; - {PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_.result_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // .license.CertData data = 2; - {PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_.data_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // string message = 3; - {PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_.message_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, {{ - {::_pbi::TcParser::GetTable<::license::CertData>()}, - }}, {{ - "\31\0\0\7\0\0\0\0" - "license.GetCertDataResult" - "message" - }}, -}; - -PROTOBUF_NOINLINE void GetCertDataResult::Clear() { -// @@protoc_insertion_point(message_clear_start:license.GetCertDataResult) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.message_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.data_ != nullptr); - _impl_.data_->Clear(); - } - _impl_.result_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetCertDataResult::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetCertDataResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetCertDataResult::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetCertDataResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:license.GetCertDataResult) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // .license.VerifyResult result = 1; - if (this_._internal_result() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this_._internal_result(), target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .license.CertData data = 2; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, *this_._impl_.data_, this_._impl_.data_->GetCachedSize(), target, - stream); - } - - // string message = 3; - if (!this_._internal_message().empty()) { - const std::string& _s = this_._internal_message(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "license.GetCertDataResult.message"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:license.GetCertDataResult) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetCertDataResult::ByteSizeLong(const MessageLite& base) { - const GetCertDataResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetCertDataResult::ByteSizeLong() const { - const GetCertDataResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:license.GetCertDataResult) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // string message = 3; - if (!this_._internal_message().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_message()); - } - } - { - // .license.CertData data = 2; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.data_); - } - } - { - // .license.VerifyResult result = 1; - if (this_._internal_result() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_result()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetCertDataResult::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:license.GetCertDataResult) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_message().empty()) { - _this->_internal_set_message(from._internal_message()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.data_ != nullptr); - if (_this->_impl_.data_ == nullptr) { - _this->_impl_.data_ = - ::google::protobuf::Message::CopyConstruct<::license::CertData>(arena, *from._impl_.data_); - } else { - _this->_impl_.data_->MergeFrom(*from._impl_.data_); - } - } - if (from._internal_result() != 0) { - _this->_impl_.result_ = from._impl_.result_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetCertDataResult::CopyFrom(const GetCertDataResult& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:license.GetCertDataResult) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetCertDataResult::InternalSwap(GetCertDataResult* PROTOBUF_RESTRICT other) { - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, &other->_impl_.message_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_.result_) - + sizeof(GetCertDataResult::_impl_.result_) - - PROTOBUF_FIELD_OFFSET(GetCertDataResult, _impl_.data_)>( - reinterpret_cast(&_impl_.data_), - reinterpret_cast(&other->_impl_.data_)); -} - -::google::protobuf::Metadata GetCertDataResult::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class CertData::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(CertData, _impl_._has_bits_); -}; - -void CertData::clear_valid_from() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.valid_from_ != nullptr) _impl_.valid_from_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void CertData::clear_valid_until() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.valid_until_ != nullptr) _impl_.valid_until_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -CertData::CertData(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:license.CertData) -} -inline PROTOBUF_NDEBUG_INLINE CertData::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::license::CertData& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - dns_names_{visibility, arena, from.dns_names_}, - organization_(arena, from.organization_), - organizational_unit_(arena, from.organizational_unit_), - country_(arena, from.country_), - locality_(arena, from.locality_), - common_name_(arena, from.common_name_), - subject_serial_(arena, from.subject_serial_) {} - -CertData::CertData( - ::google::protobuf::Arena* arena, - const CertData& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - CertData* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.valid_from_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( - arena, *from._impl_.valid_from_) - : nullptr; - _impl_.valid_until_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( - arena, *from._impl_.valid_until_) - : nullptr; - _impl_.parent_data_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::license::CertData>( - arena, *from._impl_.parent_data_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, serial_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, serial_), - offsetof(Impl_, is_ca_) - - offsetof(Impl_, serial_) + - sizeof(Impl_::is_ca_)); - - // @@protoc_insertion_point(copy_constructor:license.CertData) -} -inline PROTOBUF_NDEBUG_INLINE CertData::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - dns_names_{visibility, arena}, - organization_(arena), - organizational_unit_(arena), - country_(arena), - locality_(arena), - common_name_(arena), - subject_serial_(arena) {} - -inline void CertData::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, valid_from_), - 0, - offsetof(Impl_, is_ca_) - - offsetof(Impl_, valid_from_) + - sizeof(Impl_::is_ca_)); -} -CertData::~CertData() { - // @@protoc_insertion_point(destructor:license.CertData) - SharedDtor(*this); -} -inline void CertData::SharedDtor(MessageLite& self) { - CertData& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.organization_.Destroy(); - this_._impl_.organizational_unit_.Destroy(); - this_._impl_.country_.Destroy(); - this_._impl_.locality_.Destroy(); - this_._impl_.common_name_.Destroy(); - this_._impl_.subject_serial_.Destroy(); - delete this_._impl_.valid_from_; - delete this_._impl_.valid_until_; - delete this_._impl_.parent_data_; - this_._impl_.~Impl_(); -} - -inline void* CertData::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) CertData(arena); -} -constexpr auto CertData::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(CertData, _impl_.dns_names_) + - decltype(CertData::_impl_.dns_names_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(CertData), alignof(CertData), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&CertData::PlacementNew_, - sizeof(CertData), - alignof(CertData)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull CertData::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_CertData_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &CertData::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &CertData::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &CertData::ByteSizeLong, - &CertData::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(CertData, _impl_._cached_size_), - false, - }, - &CertData::kDescriptorMethods, - &descriptor_table_license_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* CertData::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<4, 13, 3, 113, 2> CertData::_table_ = { - { - PROTOBUF_FIELD_OFFSET(CertData, _impl_._has_bits_), - 0, // no _extensions_ - 13, 120, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294959104, // skipmap - offsetof(decltype(_table_), field_entries), - 13, // num_field_entries - 3, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::license::CertData>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // .license.CertType type = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CertData, _impl_.type_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.type_)}}, - // int64 serial = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(CertData, _impl_.serial_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.serial_)}}, - // string organization = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.organization_)}}, - // string organizational_unit = 4; - {::_pbi::TcParser::FastUS1, - {34, 63, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.organizational_unit_)}}, - // string country = 5; - {::_pbi::TcParser::FastUS1, - {42, 63, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.country_)}}, - // string locality = 6; - {::_pbi::TcParser::FastUS1, - {50, 63, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.locality_)}}, - // string common_name = 7; - {::_pbi::TcParser::FastUS1, - {58, 63, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.common_name_)}}, - // string subject_serial = 8; - {::_pbi::TcParser::FastUS1, - {66, 63, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.subject_serial_)}}, - // .google.protobuf.Timestamp valid_from = 9; - {::_pbi::TcParser::FastMtS1, - {74, 0, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.valid_from_)}}, - // .google.protobuf.Timestamp valid_until = 10; - {::_pbi::TcParser::FastMtS1, - {82, 1, 1, PROTOBUF_FIELD_OFFSET(CertData, _impl_.valid_until_)}}, - // repeated string dns_names = 11 [json_name = "DNSNames"]; - {::_pbi::TcParser::FastUR1, - {90, 63, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.dns_names_)}}, - // bool is_ca = 12; - {::_pbi::TcParser::SingularVarintNoZag1(), - {96, 63, 0, PROTOBUF_FIELD_OFFSET(CertData, _impl_.is_ca_)}}, - // optional .license.CertData parent_data = 13; - {::_pbi::TcParser::FastMtS1, - {106, 2, 2, PROTOBUF_FIELD_OFFSET(CertData, _impl_.parent_data_)}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // .license.CertType type = 1; - {PROTOBUF_FIELD_OFFSET(CertData, _impl_.type_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // int64 serial = 2; - {PROTOBUF_FIELD_OFFSET(CertData, _impl_.serial_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, - // string organization = 3; - {PROTOBUF_FIELD_OFFSET(CertData, _impl_.organization_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string organizational_unit = 4; - {PROTOBUF_FIELD_OFFSET(CertData, _impl_.organizational_unit_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string country = 5; - {PROTOBUF_FIELD_OFFSET(CertData, _impl_.country_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string locality = 6; - {PROTOBUF_FIELD_OFFSET(CertData, _impl_.locality_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string common_name = 7; - {PROTOBUF_FIELD_OFFSET(CertData, _impl_.common_name_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string subject_serial = 8; - {PROTOBUF_FIELD_OFFSET(CertData, _impl_.subject_serial_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // .google.protobuf.Timestamp valid_from = 9; - {PROTOBUF_FIELD_OFFSET(CertData, _impl_.valid_from_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .google.protobuf.Timestamp valid_until = 10; - {PROTOBUF_FIELD_OFFSET(CertData, _impl_.valid_until_), _Internal::kHasBitsOffset + 1, 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // repeated string dns_names = 11 [json_name = "DNSNames"]; - {PROTOBUF_FIELD_OFFSET(CertData, _impl_.dns_names_), -1, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kUtf8String | ::_fl::kRepSString)}, - // bool is_ca = 12; - {PROTOBUF_FIELD_OFFSET(CertData, _impl_.is_ca_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // optional .license.CertData parent_data = 13; - {PROTOBUF_FIELD_OFFSET(CertData, _impl_.parent_data_), _Internal::kHasBitsOffset + 2, 2, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, - {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, - {::_pbi::TcParser::GetTable<::license::CertData>()}, - }}, {{ - "\20\0\0\14\23\7\10\13\16\0\0\11\0\0\0\0" - "license.CertData" - "organization" - "organizational_unit" - "country" - "locality" - "common_name" - "subject_serial" - "dns_names" - }}, -}; - -PROTOBUF_NOINLINE void CertData::Clear() { -// @@protoc_insertion_point(message_clear_start:license.CertData) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.dns_names_.Clear(); - _impl_.organization_.ClearToEmpty(); - _impl_.organizational_unit_.ClearToEmpty(); - _impl_.country_.ClearToEmpty(); - _impl_.locality_.ClearToEmpty(); - _impl_.common_name_.ClearToEmpty(); - _impl_.subject_serial_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.valid_from_ != nullptr); - _impl_.valid_from_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.valid_until_ != nullptr); - _impl_.valid_until_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(_impl_.parent_data_ != nullptr); - _impl_.parent_data_->Clear(); - } - } - ::memset(&_impl_.serial_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.is_ca_) - - reinterpret_cast(&_impl_.serial_)) + sizeof(_impl_.is_ca_)); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* CertData::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const CertData& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* CertData::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const CertData& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:license.CertData) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // .license.CertType type = 1; - if (this_._internal_type() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this_._internal_type(), target); - } - - // int64 serial = 2; - if (this_._internal_serial() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<2>( - stream, this_._internal_serial(), target); - } - - // string organization = 3; - if (!this_._internal_organization().empty()) { - const std::string& _s = this_._internal_organization(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "license.CertData.organization"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - // string organizational_unit = 4; - if (!this_._internal_organizational_unit().empty()) { - const std::string& _s = this_._internal_organizational_unit(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "license.CertData.organizational_unit"); - target = stream->WriteStringMaybeAliased(4, _s, target); - } - - // string country = 5; - if (!this_._internal_country().empty()) { - const std::string& _s = this_._internal_country(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "license.CertData.country"); - target = stream->WriteStringMaybeAliased(5, _s, target); - } - - // string locality = 6; - if (!this_._internal_locality().empty()) { - const std::string& _s = this_._internal_locality(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "license.CertData.locality"); - target = stream->WriteStringMaybeAliased(6, _s, target); - } - - // string common_name = 7; - if (!this_._internal_common_name().empty()) { - const std::string& _s = this_._internal_common_name(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "license.CertData.common_name"); - target = stream->WriteStringMaybeAliased(7, _s, target); - } - - // string subject_serial = 8; - if (!this_._internal_subject_serial().empty()) { - const std::string& _s = this_._internal_subject_serial(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "license.CertData.subject_serial"); - target = stream->WriteStringMaybeAliased(8, _s, target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .google.protobuf.Timestamp valid_from = 9; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 9, *this_._impl_.valid_from_, this_._impl_.valid_from_->GetCachedSize(), target, - stream); - } - - // .google.protobuf.Timestamp valid_until = 10; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 10, *this_._impl_.valid_until_, this_._impl_.valid_until_->GetCachedSize(), target, - stream); - } - - // repeated string dns_names = 11 [json_name = "DNSNames"]; - for (int i = 0, n = this_._internal_dns_names_size(); i < n; ++i) { - const auto& s = this_._internal_dns_names().Get(i); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - s.data(), static_cast(s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "license.CertData.dns_names"); - target = stream->WriteString(11, s, target); - } - - // bool is_ca = 12; - if (this_._internal_is_ca() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 12, this_._internal_is_ca(), target); - } - - // optional .license.CertData parent_data = 13; - if (cached_has_bits & 0x00000004u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 13, *this_._impl_.parent_data_, this_._impl_.parent_data_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:license.CertData) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t CertData::ByteSizeLong(const MessageLite& base) { - const CertData& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t CertData::ByteSizeLong() const { - const CertData& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:license.CertData) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated string dns_names = 11 [json_name = "DNSNames"]; - { - total_size += - 1 * ::google::protobuf::internal::FromIntSize(this_._internal_dns_names().size()); - for (int i = 0, n = this_._internal_dns_names().size(); i < n; ++i) { - total_size += ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_dns_names().Get(i)); - } - } - } - { - // string organization = 3; - if (!this_._internal_organization().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_organization()); - } - // string organizational_unit = 4; - if (!this_._internal_organizational_unit().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_organizational_unit()); - } - // string country = 5; - if (!this_._internal_country().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_country()); - } - // string locality = 6; - if (!this_._internal_locality().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_locality()); - } - // string common_name = 7; - if (!this_._internal_common_name().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_common_name()); - } - // string subject_serial = 8; - if (!this_._internal_subject_serial().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_subject_serial()); - } - } - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // .google.protobuf.Timestamp valid_from = 9; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.valid_from_); - } - // .google.protobuf.Timestamp valid_until = 10; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.valid_until_); - } - // optional .license.CertData parent_data = 13; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.parent_data_); - } - } - { - // int64 serial = 2; - if (this_._internal_serial() != 0) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_serial()); - } - // .license.CertType type = 1; - if (this_._internal_type() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); - } - // bool is_ca = 12; - if (this_._internal_is_ca() != 0) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void CertData::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:license.CertData) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_dns_names()->MergeFrom(from._internal_dns_names()); - if (!from._internal_organization().empty()) { - _this->_internal_set_organization(from._internal_organization()); - } - if (!from._internal_organizational_unit().empty()) { - _this->_internal_set_organizational_unit(from._internal_organizational_unit()); - } - if (!from._internal_country().empty()) { - _this->_internal_set_country(from._internal_country()); - } - if (!from._internal_locality().empty()) { - _this->_internal_set_locality(from._internal_locality()); - } - if (!from._internal_common_name().empty()) { - _this->_internal_set_common_name(from._internal_common_name()); - } - if (!from._internal_subject_serial().empty()) { - _this->_internal_set_subject_serial(from._internal_subject_serial()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.valid_from_ != nullptr); - if (_this->_impl_.valid_from_ == nullptr) { - _this->_impl_.valid_from_ = - ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.valid_from_); - } else { - _this->_impl_.valid_from_->MergeFrom(*from._impl_.valid_from_); - } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.valid_until_ != nullptr); - if (_this->_impl_.valid_until_ == nullptr) { - _this->_impl_.valid_until_ = - ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.valid_until_); - } else { - _this->_impl_.valid_until_->MergeFrom(*from._impl_.valid_until_); - } - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(from._impl_.parent_data_ != nullptr); - if (_this->_impl_.parent_data_ == nullptr) { - _this->_impl_.parent_data_ = - ::google::protobuf::Message::CopyConstruct<::license::CertData>(arena, *from._impl_.parent_data_); - } else { - _this->_impl_.parent_data_->MergeFrom(*from._impl_.parent_data_); - } - } - } - if (from._internal_serial() != 0) { - _this->_impl_.serial_ = from._impl_.serial_; - } - if (from._internal_type() != 0) { - _this->_impl_.type_ = from._impl_.type_; - } - if (from._internal_is_ca() != 0) { - _this->_impl_.is_ca_ = from._impl_.is_ca_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void CertData::CopyFrom(const CertData& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:license.CertData) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void CertData::InternalSwap(CertData* PROTOBUF_RESTRICT other) { - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.dns_names_.InternalSwap(&other->_impl_.dns_names_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.organization_, &other->_impl_.organization_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.organizational_unit_, &other->_impl_.organizational_unit_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.country_, &other->_impl_.country_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.locality_, &other->_impl_.locality_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.common_name_, &other->_impl_.common_name_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.subject_serial_, &other->_impl_.subject_serial_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(CertData, _impl_.is_ca_) - + sizeof(CertData::_impl_.is_ca_) - - PROTOBUF_FIELD_OFFSET(CertData, _impl_.valid_from_)>( - reinterpret_cast(&_impl_.valid_from_), - reinterpret_cast(&other->_impl_.valid_from_)); -} - -::google::protobuf::Metadata CertData::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// @@protoc_insertion_point(namespace_scope) -} // namespace license -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google -// @@protoc_insertion_point(global_scope) -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = - (::_pbi::AddDescriptors(&descriptor_table_license_2eproto), - ::std::false_type{}); -#include "google/protobuf/port_undef.inc" diff --git a/cpp/license.pb.h b/cpp/license.pb.h deleted file mode 100644 index 5d78260..0000000 --- a/cpp/license.pb.h +++ /dev/null @@ -1,2321 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: license.proto -// Protobuf C++ Version: 5.29.2 - -#ifndef license_2eproto_2epb_2eh -#define license_2eproto_2epb_2eh - -#include -#include -#include -#include - -#include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 5029002 -#error "Protobuf C++ gencode is built with an incompatible version of" -#error "Protobuf C++ headers/runtime. See" -#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" -#endif -#include "google/protobuf/io/coded_stream.h" -#include "google/protobuf/arena.h" -#include "google/protobuf/arenastring.h" -#include "google/protobuf/generated_message_tctable_decl.h" -#include "google/protobuf/generated_message_util.h" -#include "google/protobuf/metadata_lite.h" -#include "google/protobuf/generated_message_reflection.h" -#include "google/protobuf/message.h" -#include "google/protobuf/message_lite.h" -#include "google/protobuf/repeated_field.h" // IWYU pragma: export -#include "google/protobuf/extension_set.h" // IWYU pragma: export -#include "google/protobuf/generated_enum_reflection.h" -#include "google/protobuf/unknown_field_set.h" -#include "google/protobuf/timestamp.pb.h" -// @@protoc_insertion_point(includes) - -// Must be included last. -#include "google/protobuf/port_def.inc" - -#define PROTOBUF_INTERNAL_EXPORT_license_2eproto - -namespace google { -namespace protobuf { -namespace internal { -template -::absl::string_view GetAnyMessageName(); -} // namespace internal -} // namespace protobuf -} // namespace google - -// Internal implementation detail -- do not use these members. -struct TableStruct_license_2eproto { - static const ::uint32_t offsets[]; -}; -extern const ::google::protobuf::internal::DescriptorTable - descriptor_table_license_2eproto; -namespace license { -class CertData; -struct CertDataDefaultTypeInternal; -extern CertDataDefaultTypeInternal _CertData_default_instance_; -class GetCertDataResult; -struct GetCertDataResultDefaultTypeInternal; -extern GetCertDataResultDefaultTypeInternal _GetCertDataResult_default_instance_; -class VerifyCertResult; -struct VerifyCertResultDefaultTypeInternal; -extern VerifyCertResultDefaultTypeInternal _VerifyCertResult_default_instance_; -class VerifyFeatureResult; -struct VerifyFeatureResultDefaultTypeInternal; -extern VerifyFeatureResultDefaultTypeInternal _VerifyFeatureResult_default_instance_; -} // namespace license -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google - -namespace license { -enum VerifyResult : int { - VERIFY_UNSPECIFIED = 0, - VERIFY_ERROR = 1, - VERIFY_VALID = 2, - VERIFY_INVALID = 3, - VerifyResult_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - VerifyResult_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool VerifyResult_IsValid(int value); -extern const uint32_t VerifyResult_internal_data_[]; -constexpr VerifyResult VerifyResult_MIN = static_cast(0); -constexpr VerifyResult VerifyResult_MAX = static_cast(3); -constexpr int VerifyResult_ARRAYSIZE = 3 + 1; -const ::google::protobuf::EnumDescriptor* -VerifyResult_descriptor(); -template -const std::string& VerifyResult_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to VerifyResult_Name()."); - return VerifyResult_Name(static_cast(value)); -} -template <> -inline const std::string& VerifyResult_Name(VerifyResult value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool VerifyResult_Parse(absl::string_view name, VerifyResult* value) { - return ::google::protobuf::internal::ParseNamedEnum( - VerifyResult_descriptor(), name, value); -} -enum CertType : int { - CERT_TYPE_UNSPECIFIED = 0, - CERT_TYPE_CA_ROOT = 1, - CERT_TYPE_CA_INTERMEDIATE = 2, - CERT_TYPE_PARTNER = 3, - CERT_TYPE_ENTERPRISE = 4, - CERT_TYPE_TRIAL = 5, - CERT_TYPE_COMMUNITY = 6, - CertType_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - CertType_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool CertType_IsValid(int value); -extern const uint32_t CertType_internal_data_[]; -constexpr CertType CertType_MIN = static_cast(0); -constexpr CertType CertType_MAX = static_cast(6); -constexpr int CertType_ARRAYSIZE = 6 + 1; -const ::google::protobuf::EnumDescriptor* -CertType_descriptor(); -template -const std::string& CertType_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to CertType_Name()."); - return CertType_Name(static_cast(value)); -} -template <> -inline const std::string& CertType_Name(CertType value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool CertType_Parse(absl::string_view name, CertType* value) { - return ::google::protobuf::internal::ParseNamedEnum( - CertType_descriptor(), name, value); -} - -// =================================================================== - - -// ------------------------------------------------------------------- - -class VerifyFeatureResult final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:license.VerifyFeatureResult) */ { - public: - inline VerifyFeatureResult() : VerifyFeatureResult(nullptr) {} - ~VerifyFeatureResult() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(VerifyFeatureResult* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(VerifyFeatureResult)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR VerifyFeatureResult( - ::google::protobuf::internal::ConstantInitialized); - - inline VerifyFeatureResult(const VerifyFeatureResult& from) : VerifyFeatureResult(nullptr, from) {} - inline VerifyFeatureResult(VerifyFeatureResult&& from) noexcept - : VerifyFeatureResult(nullptr, std::move(from)) {} - inline VerifyFeatureResult& operator=(const VerifyFeatureResult& from) { - CopyFrom(from); - return *this; - } - inline VerifyFeatureResult& operator=(VerifyFeatureResult&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const VerifyFeatureResult& default_instance() { - return *internal_default_instance(); - } - static inline const VerifyFeatureResult* internal_default_instance() { - return reinterpret_cast( - &_VerifyFeatureResult_default_instance_); - } - static constexpr int kIndexInFileMessages = 1; - friend void swap(VerifyFeatureResult& a, VerifyFeatureResult& b) { a.Swap(&b); } - inline void Swap(VerifyFeatureResult* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(VerifyFeatureResult* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - VerifyFeatureResult* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const VerifyFeatureResult& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const VerifyFeatureResult& from) { VerifyFeatureResult::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(VerifyFeatureResult* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "license.VerifyFeatureResult"; } - - protected: - explicit VerifyFeatureResult(::google::protobuf::Arena* arena); - VerifyFeatureResult(::google::protobuf::Arena* arena, const VerifyFeatureResult& from); - VerifyFeatureResult(::google::protobuf::Arena* arena, VerifyFeatureResult&& from) noexcept - : VerifyFeatureResult(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kMessageFieldNumber = 2, - kResultFieldNumber = 1, - }; - // string message = 2; - void clear_message() ; - const std::string& message() const; - template - void set_message(Arg_&& arg, Args_... args); - std::string* mutable_message(); - PROTOBUF_NODISCARD std::string* release_message(); - void set_allocated_message(std::string* value); - - private: - const std::string& _internal_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_message( - const std::string& value); - std::string* _internal_mutable_message(); - - public: - // .license.VerifyResult result = 1; - void clear_result() ; - ::license::VerifyResult result() const; - void set_result(::license::VerifyResult value); - - private: - ::license::VerifyResult _internal_result() const; - void _internal_set_result(::license::VerifyResult value); - - public: - // @@protoc_insertion_point(class_scope:license.VerifyFeatureResult) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 43, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const VerifyFeatureResult& from_msg); - ::google::protobuf::internal::ArenaStringPtr message_; - int result_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_license_2eproto; -}; -// ------------------------------------------------------------------- - -class VerifyCertResult final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:license.VerifyCertResult) */ { - public: - inline VerifyCertResult() : VerifyCertResult(nullptr) {} - ~VerifyCertResult() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(VerifyCertResult* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(VerifyCertResult)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR VerifyCertResult( - ::google::protobuf::internal::ConstantInitialized); - - inline VerifyCertResult(const VerifyCertResult& from) : VerifyCertResult(nullptr, from) {} - inline VerifyCertResult(VerifyCertResult&& from) noexcept - : VerifyCertResult(nullptr, std::move(from)) {} - inline VerifyCertResult& operator=(const VerifyCertResult& from) { - CopyFrom(from); - return *this; - } - inline VerifyCertResult& operator=(VerifyCertResult&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const VerifyCertResult& default_instance() { - return *internal_default_instance(); - } - static inline const VerifyCertResult* internal_default_instance() { - return reinterpret_cast( - &_VerifyCertResult_default_instance_); - } - static constexpr int kIndexInFileMessages = 0; - friend void swap(VerifyCertResult& a, VerifyCertResult& b) { a.Swap(&b); } - inline void Swap(VerifyCertResult* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(VerifyCertResult* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - VerifyCertResult* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const VerifyCertResult& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const VerifyCertResult& from) { VerifyCertResult::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(VerifyCertResult* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "license.VerifyCertResult"; } - - protected: - explicit VerifyCertResult(::google::protobuf::Arena* arena); - VerifyCertResult(::google::protobuf::Arena* arena, const VerifyCertResult& from); - VerifyCertResult(::google::protobuf::Arena* arena, VerifyCertResult&& from) noexcept - : VerifyCertResult(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kSerialFieldNumber = 2, - kMessageFieldNumber = 3, - kResultFieldNumber = 1, - }; - // string serial = 2; - void clear_serial() ; - const std::string& serial() const; - template - void set_serial(Arg_&& arg, Args_... args); - std::string* mutable_serial(); - PROTOBUF_NODISCARD std::string* release_serial(); - void set_allocated_serial(std::string* value); - - private: - const std::string& _internal_serial() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial( - const std::string& value); - std::string* _internal_mutable_serial(); - - public: - // string message = 3; - void clear_message() ; - const std::string& message() const; - template - void set_message(Arg_&& arg, Args_... args); - std::string* mutable_message(); - PROTOBUF_NODISCARD std::string* release_message(); - void set_allocated_message(std::string* value); - - private: - const std::string& _internal_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_message( - const std::string& value); - std::string* _internal_mutable_message(); - - public: - // .license.VerifyResult result = 1; - void clear_result() ; - ::license::VerifyResult result() const; - void set_result(::license::VerifyResult value); - - private: - ::license::VerifyResult _internal_result() const; - void _internal_set_result(::license::VerifyResult value); - - public: - // @@protoc_insertion_point(class_scope:license.VerifyCertResult) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 0, - 46, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const VerifyCertResult& from_msg); - ::google::protobuf::internal::ArenaStringPtr serial_; - ::google::protobuf::internal::ArenaStringPtr message_; - int result_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_license_2eproto; -}; -// ------------------------------------------------------------------- - -class CertData final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:license.CertData) */ { - public: - inline CertData() : CertData(nullptr) {} - ~CertData() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CertData* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(CertData)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR CertData( - ::google::protobuf::internal::ConstantInitialized); - - inline CertData(const CertData& from) : CertData(nullptr, from) {} - inline CertData(CertData&& from) noexcept - : CertData(nullptr, std::move(from)) {} - inline CertData& operator=(const CertData& from) { - CopyFrom(from); - return *this; - } - inline CertData& operator=(CertData&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CertData& default_instance() { - return *internal_default_instance(); - } - static inline const CertData* internal_default_instance() { - return reinterpret_cast( - &_CertData_default_instance_); - } - static constexpr int kIndexInFileMessages = 3; - friend void swap(CertData& a, CertData& b) { a.Swap(&b); } - inline void Swap(CertData* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CertData* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CertData* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const CertData& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const CertData& from) { CertData::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(CertData* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "license.CertData"; } - - protected: - explicit CertData(::google::protobuf::Arena* arena); - CertData(::google::protobuf::Arena* arena, const CertData& from); - CertData(::google::protobuf::Arena* arena, CertData&& from) noexcept - : CertData(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kDnsNamesFieldNumber = 11, - kOrganizationFieldNumber = 3, - kOrganizationalUnitFieldNumber = 4, - kCountryFieldNumber = 5, - kLocalityFieldNumber = 6, - kCommonNameFieldNumber = 7, - kSubjectSerialFieldNumber = 8, - kValidFromFieldNumber = 9, - kValidUntilFieldNumber = 10, - kParentDataFieldNumber = 13, - kSerialFieldNumber = 2, - kTypeFieldNumber = 1, - kIsCaFieldNumber = 12, - }; - // repeated string dns_names = 11 [json_name = "DNSNames"]; - int dns_names_size() const; - private: - int _internal_dns_names_size() const; - - public: - void clear_dns_names() ; - const std::string& dns_names(int index) const; - std::string* mutable_dns_names(int index); - template - void set_dns_names(int index, Arg_&& value, Args_... args); - std::string* add_dns_names(); - template - void add_dns_names(Arg_&& value, Args_... args); - const ::google::protobuf::RepeatedPtrField& dns_names() const; - ::google::protobuf::RepeatedPtrField* mutable_dns_names(); - - private: - const ::google::protobuf::RepeatedPtrField& _internal_dns_names() const; - ::google::protobuf::RepeatedPtrField* _internal_mutable_dns_names(); - - public: - // string organization = 3; - void clear_organization() ; - const std::string& organization() const; - template - void set_organization(Arg_&& arg, Args_... args); - std::string* mutable_organization(); - PROTOBUF_NODISCARD std::string* release_organization(); - void set_allocated_organization(std::string* value); - - private: - const std::string& _internal_organization() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_organization( - const std::string& value); - std::string* _internal_mutable_organization(); - - public: - // string organizational_unit = 4; - void clear_organizational_unit() ; - const std::string& organizational_unit() const; - template - void set_organizational_unit(Arg_&& arg, Args_... args); - std::string* mutable_organizational_unit(); - PROTOBUF_NODISCARD std::string* release_organizational_unit(); - void set_allocated_organizational_unit(std::string* value); - - private: - const std::string& _internal_organizational_unit() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_organizational_unit( - const std::string& value); - std::string* _internal_mutable_organizational_unit(); - - public: - // string country = 5; - void clear_country() ; - const std::string& country() const; - template - void set_country(Arg_&& arg, Args_... args); - std::string* mutable_country(); - PROTOBUF_NODISCARD std::string* release_country(); - void set_allocated_country(std::string* value); - - private: - const std::string& _internal_country() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_country( - const std::string& value); - std::string* _internal_mutable_country(); - - public: - // string locality = 6; - void clear_locality() ; - const std::string& locality() const; - template - void set_locality(Arg_&& arg, Args_... args); - std::string* mutable_locality(); - PROTOBUF_NODISCARD std::string* release_locality(); - void set_allocated_locality(std::string* value); - - private: - const std::string& _internal_locality() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_locality( - const std::string& value); - std::string* _internal_mutable_locality(); - - public: - // string common_name = 7; - void clear_common_name() ; - const std::string& common_name() const; - template - void set_common_name(Arg_&& arg, Args_... args); - std::string* mutable_common_name(); - PROTOBUF_NODISCARD std::string* release_common_name(); - void set_allocated_common_name(std::string* value); - - private: - const std::string& _internal_common_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_common_name( - const std::string& value); - std::string* _internal_mutable_common_name(); - - public: - // string subject_serial = 8; - void clear_subject_serial() ; - const std::string& subject_serial() const; - template - void set_subject_serial(Arg_&& arg, Args_... args); - std::string* mutable_subject_serial(); - PROTOBUF_NODISCARD std::string* release_subject_serial(); - void set_allocated_subject_serial(std::string* value); - - private: - const std::string& _internal_subject_serial() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_subject_serial( - const std::string& value); - std::string* _internal_mutable_subject_serial(); - - public: - // .google.protobuf.Timestamp valid_from = 9; - bool has_valid_from() const; - void clear_valid_from() ; - const ::google::protobuf::Timestamp& valid_from() const; - PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_valid_from(); - ::google::protobuf::Timestamp* mutable_valid_from(); - void set_allocated_valid_from(::google::protobuf::Timestamp* value); - void unsafe_arena_set_allocated_valid_from(::google::protobuf::Timestamp* value); - ::google::protobuf::Timestamp* unsafe_arena_release_valid_from(); - - private: - const ::google::protobuf::Timestamp& _internal_valid_from() const; - ::google::protobuf::Timestamp* _internal_mutable_valid_from(); - - public: - // .google.protobuf.Timestamp valid_until = 10; - bool has_valid_until() const; - void clear_valid_until() ; - const ::google::protobuf::Timestamp& valid_until() const; - PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_valid_until(); - ::google::protobuf::Timestamp* mutable_valid_until(); - void set_allocated_valid_until(::google::protobuf::Timestamp* value); - void unsafe_arena_set_allocated_valid_until(::google::protobuf::Timestamp* value); - ::google::protobuf::Timestamp* unsafe_arena_release_valid_until(); - - private: - const ::google::protobuf::Timestamp& _internal_valid_until() const; - ::google::protobuf::Timestamp* _internal_mutable_valid_until(); - - public: - // optional .license.CertData parent_data = 13; - bool has_parent_data() const; - void clear_parent_data() ; - const ::license::CertData& parent_data() const; - PROTOBUF_NODISCARD ::license::CertData* release_parent_data(); - ::license::CertData* mutable_parent_data(); - void set_allocated_parent_data(::license::CertData* value); - void unsafe_arena_set_allocated_parent_data(::license::CertData* value); - ::license::CertData* unsafe_arena_release_parent_data(); - - private: - const ::license::CertData& _internal_parent_data() const; - ::license::CertData* _internal_mutable_parent_data(); - - public: - // int64 serial = 2; - void clear_serial() ; - ::int64_t serial() const; - void set_serial(::int64_t value); - - private: - ::int64_t _internal_serial() const; - void _internal_set_serial(::int64_t value); - - public: - // .license.CertType type = 1; - void clear_type() ; - ::license::CertType type() const; - void set_type(::license::CertType value); - - private: - ::license::CertType _internal_type() const; - void _internal_set_type(::license::CertType value); - - public: - // bool is_ca = 12; - void clear_is_ca() ; - bool is_ca() const; - void set_is_ca(bool value); - - private: - bool _internal_is_ca() const; - void _internal_set_is_ca(bool value); - - public: - // @@protoc_insertion_point(class_scope:license.CertData) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 13, 3, - 113, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const CertData& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::RepeatedPtrField dns_names_; - ::google::protobuf::internal::ArenaStringPtr organization_; - ::google::protobuf::internal::ArenaStringPtr organizational_unit_; - ::google::protobuf::internal::ArenaStringPtr country_; - ::google::protobuf::internal::ArenaStringPtr locality_; - ::google::protobuf::internal::ArenaStringPtr common_name_; - ::google::protobuf::internal::ArenaStringPtr subject_serial_; - ::google::protobuf::Timestamp* valid_from_; - ::google::protobuf::Timestamp* valid_until_; - ::license::CertData* parent_data_; - ::int64_t serial_; - int type_; - bool is_ca_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_license_2eproto; -}; -// ------------------------------------------------------------------- - -class GetCertDataResult final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:license.GetCertDataResult) */ { - public: - inline GetCertDataResult() : GetCertDataResult(nullptr) {} - ~GetCertDataResult() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetCertDataResult* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetCertDataResult)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetCertDataResult( - ::google::protobuf::internal::ConstantInitialized); - - inline GetCertDataResult(const GetCertDataResult& from) : GetCertDataResult(nullptr, from) {} - inline GetCertDataResult(GetCertDataResult&& from) noexcept - : GetCertDataResult(nullptr, std::move(from)) {} - inline GetCertDataResult& operator=(const GetCertDataResult& from) { - CopyFrom(from); - return *this; - } - inline GetCertDataResult& operator=(GetCertDataResult&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetCertDataResult& default_instance() { - return *internal_default_instance(); - } - static inline const GetCertDataResult* internal_default_instance() { - return reinterpret_cast( - &_GetCertDataResult_default_instance_); - } - static constexpr int kIndexInFileMessages = 2; - friend void swap(GetCertDataResult& a, GetCertDataResult& b) { a.Swap(&b); } - inline void Swap(GetCertDataResult* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetCertDataResult* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetCertDataResult* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetCertDataResult& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetCertDataResult& from) { GetCertDataResult::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetCertDataResult* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "license.GetCertDataResult"; } - - protected: - explicit GetCertDataResult(::google::protobuf::Arena* arena); - GetCertDataResult(::google::protobuf::Arena* arena, const GetCertDataResult& from); - GetCertDataResult(::google::protobuf::Arena* arena, GetCertDataResult&& from) noexcept - : GetCertDataResult(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kMessageFieldNumber = 3, - kDataFieldNumber = 2, - kResultFieldNumber = 1, - }; - // string message = 3; - void clear_message() ; - const std::string& message() const; - template - void set_message(Arg_&& arg, Args_... args); - std::string* mutable_message(); - PROTOBUF_NODISCARD std::string* release_message(); - void set_allocated_message(std::string* value); - - private: - const std::string& _internal_message() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_message( - const std::string& value); - std::string* _internal_mutable_message(); - - public: - // .license.CertData data = 2; - bool has_data() const; - void clear_data() ; - const ::license::CertData& data() const; - PROTOBUF_NODISCARD ::license::CertData* release_data(); - ::license::CertData* mutable_data(); - void set_allocated_data(::license::CertData* value); - void unsafe_arena_set_allocated_data(::license::CertData* value); - ::license::CertData* unsafe_arena_release_data(); - - private: - const ::license::CertData& _internal_data() const; - ::license::CertData* _internal_mutable_data(); - - public: - // .license.VerifyResult result = 1; - void clear_result() ; - ::license::VerifyResult result() const; - void set_result(::license::VerifyResult value); - - private: - ::license::VerifyResult _internal_result() const; - void _internal_set_result(::license::VerifyResult value); - - public: - // @@protoc_insertion_point(class_scope:license.GetCertDataResult) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 1, - 41, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetCertDataResult& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr message_; - ::license::CertData* data_; - int result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_license_2eproto; -}; - -// =================================================================== - - - - -// =================================================================== - - -#ifdef __GNUC__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// VerifyCertResult - -// .license.VerifyResult result = 1; -inline void VerifyCertResult::clear_result() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = 0; -} -inline ::license::VerifyResult VerifyCertResult::result() const { - // @@protoc_insertion_point(field_get:license.VerifyCertResult.result) - return _internal_result(); -} -inline void VerifyCertResult::set_result(::license::VerifyResult value) { - _internal_set_result(value); - // @@protoc_insertion_point(field_set:license.VerifyCertResult.result) -} -inline ::license::VerifyResult VerifyCertResult::_internal_result() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::license::VerifyResult>(_impl_.result_); -} -inline void VerifyCertResult::_internal_set_result(::license::VerifyResult value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = value; -} - -// string serial = 2; -inline void VerifyCertResult::clear_serial() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.serial_.ClearToEmpty(); -} -inline const std::string& VerifyCertResult::serial() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.VerifyCertResult.serial) - return _internal_serial(); -} -template -inline PROTOBUF_ALWAYS_INLINE void VerifyCertResult::set_serial(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.serial_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:license.VerifyCertResult.serial) -} -inline std::string* VerifyCertResult::mutable_serial() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_serial(); - // @@protoc_insertion_point(field_mutable:license.VerifyCertResult.serial) - return _s; -} -inline const std::string& VerifyCertResult::_internal_serial() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.serial_.Get(); -} -inline void VerifyCertResult::_internal_set_serial(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.serial_.Set(value, GetArena()); -} -inline std::string* VerifyCertResult::_internal_mutable_serial() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.serial_.Mutable( GetArena()); -} -inline std::string* VerifyCertResult::release_serial() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:license.VerifyCertResult.serial) - return _impl_.serial_.Release(); -} -inline void VerifyCertResult::set_allocated_serial(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.serial_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.serial_.IsDefault()) { - _impl_.serial_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:license.VerifyCertResult.serial) -} - -// string message = 3; -inline void VerifyCertResult::clear_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.ClearToEmpty(); -} -inline const std::string& VerifyCertResult::message() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.VerifyCertResult.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE void VerifyCertResult::set_message(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:license.VerifyCertResult.message) -} -inline std::string* VerifyCertResult::mutable_message() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:license.VerifyCertResult.message) - return _s; -} -inline const std::string& VerifyCertResult::_internal_message() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.message_.Get(); -} -inline void VerifyCertResult::_internal_set_message(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(value, GetArena()); -} -inline std::string* VerifyCertResult::_internal_mutable_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.message_.Mutable( GetArena()); -} -inline std::string* VerifyCertResult::release_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:license.VerifyCertResult.message) - return _impl_.message_.Release(); -} -inline void VerifyCertResult::set_allocated_message(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:license.VerifyCertResult.message) -} - -// ------------------------------------------------------------------- - -// VerifyFeatureResult - -// .license.VerifyResult result = 1; -inline void VerifyFeatureResult::clear_result() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = 0; -} -inline ::license::VerifyResult VerifyFeatureResult::result() const { - // @@protoc_insertion_point(field_get:license.VerifyFeatureResult.result) - return _internal_result(); -} -inline void VerifyFeatureResult::set_result(::license::VerifyResult value) { - _internal_set_result(value); - // @@protoc_insertion_point(field_set:license.VerifyFeatureResult.result) -} -inline ::license::VerifyResult VerifyFeatureResult::_internal_result() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::license::VerifyResult>(_impl_.result_); -} -inline void VerifyFeatureResult::_internal_set_result(::license::VerifyResult value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = value; -} - -// string message = 2; -inline void VerifyFeatureResult::clear_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.ClearToEmpty(); -} -inline const std::string& VerifyFeatureResult::message() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.VerifyFeatureResult.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE void VerifyFeatureResult::set_message(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:license.VerifyFeatureResult.message) -} -inline std::string* VerifyFeatureResult::mutable_message() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:license.VerifyFeatureResult.message) - return _s; -} -inline const std::string& VerifyFeatureResult::_internal_message() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.message_.Get(); -} -inline void VerifyFeatureResult::_internal_set_message(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(value, GetArena()); -} -inline std::string* VerifyFeatureResult::_internal_mutable_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.message_.Mutable( GetArena()); -} -inline std::string* VerifyFeatureResult::release_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:license.VerifyFeatureResult.message) - return _impl_.message_.Release(); -} -inline void VerifyFeatureResult::set_allocated_message(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:license.VerifyFeatureResult.message) -} - -// ------------------------------------------------------------------- - -// GetCertDataResult - -// .license.VerifyResult result = 1; -inline void GetCertDataResult::clear_result() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = 0; -} -inline ::license::VerifyResult GetCertDataResult::result() const { - // @@protoc_insertion_point(field_get:license.GetCertDataResult.result) - return _internal_result(); -} -inline void GetCertDataResult::set_result(::license::VerifyResult value) { - _internal_set_result(value); - // @@protoc_insertion_point(field_set:license.GetCertDataResult.result) -} -inline ::license::VerifyResult GetCertDataResult::_internal_result() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::license::VerifyResult>(_impl_.result_); -} -inline void GetCertDataResult::_internal_set_result(::license::VerifyResult value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = value; -} - -// .license.CertData data = 2; -inline bool GetCertDataResult::has_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.data_ != nullptr); - return value; -} -inline void GetCertDataResult::clear_data() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.data_ != nullptr) _impl_.data_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::license::CertData& GetCertDataResult::_internal_data() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::license::CertData* p = _impl_.data_; - return p != nullptr ? *p : reinterpret_cast(::license::_CertData_default_instance_); -} -inline const ::license::CertData& GetCertDataResult::data() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.GetCertDataResult.data) - return _internal_data(); -} -inline void GetCertDataResult::unsafe_arena_set_allocated_data(::license::CertData* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.data_); - } - _impl_.data_ = reinterpret_cast<::license::CertData*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:license.GetCertDataResult.data) -} -inline ::license::CertData* GetCertDataResult::release_data() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::license::CertData* released = _impl_.data_; - _impl_.data_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::license::CertData* GetCertDataResult::unsafe_arena_release_data() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:license.GetCertDataResult.data) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::license::CertData* temp = _impl_.data_; - _impl_.data_ = nullptr; - return temp; -} -inline ::license::CertData* GetCertDataResult::_internal_mutable_data() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.data_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::license::CertData>(GetArena()); - _impl_.data_ = reinterpret_cast<::license::CertData*>(p); - } - return _impl_.data_; -} -inline ::license::CertData* GetCertDataResult::mutable_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::license::CertData* _msg = _internal_mutable_data(); - // @@protoc_insertion_point(field_mutable:license.GetCertDataResult.data) - return _msg; -} -inline void GetCertDataResult::set_allocated_data(::license::CertData* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.data_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.data_ = reinterpret_cast<::license::CertData*>(value); - // @@protoc_insertion_point(field_set_allocated:license.GetCertDataResult.data) -} - -// string message = 3; -inline void GetCertDataResult::clear_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.ClearToEmpty(); -} -inline const std::string& GetCertDataResult::message() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.GetCertDataResult.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE void GetCertDataResult::set_message(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:license.GetCertDataResult.message) -} -inline std::string* GetCertDataResult::mutable_message() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:license.GetCertDataResult.message) - return _s; -} -inline const std::string& GetCertDataResult::_internal_message() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.message_.Get(); -} -inline void GetCertDataResult::_internal_set_message(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(value, GetArena()); -} -inline std::string* GetCertDataResult::_internal_mutable_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.message_.Mutable( GetArena()); -} -inline std::string* GetCertDataResult::release_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:license.GetCertDataResult.message) - return _impl_.message_.Release(); -} -inline void GetCertDataResult::set_allocated_message(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.message_.IsDefault()) { - _impl_.message_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:license.GetCertDataResult.message) -} - -// ------------------------------------------------------------------- - -// CertData - -// .license.CertType type = 1; -inline void CertData::clear_type() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.type_ = 0; -} -inline ::license::CertType CertData::type() const { - // @@protoc_insertion_point(field_get:license.CertData.type) - return _internal_type(); -} -inline void CertData::set_type(::license::CertType value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:license.CertData.type) -} -inline ::license::CertType CertData::_internal_type() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::license::CertType>(_impl_.type_); -} -inline void CertData::_internal_set_type(::license::CertType value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.type_ = value; -} - -// int64 serial = 2; -inline void CertData::clear_serial() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.serial_ = ::int64_t{0}; -} -inline ::int64_t CertData::serial() const { - // @@protoc_insertion_point(field_get:license.CertData.serial) - return _internal_serial(); -} -inline void CertData::set_serial(::int64_t value) { - _internal_set_serial(value); - // @@protoc_insertion_point(field_set:license.CertData.serial) -} -inline ::int64_t CertData::_internal_serial() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.serial_; -} -inline void CertData::_internal_set_serial(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.serial_ = value; -} - -// string organization = 3; -inline void CertData::clear_organization() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.organization_.ClearToEmpty(); -} -inline const std::string& CertData::organization() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.CertData.organization) - return _internal_organization(); -} -template -inline PROTOBUF_ALWAYS_INLINE void CertData::set_organization(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.organization_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:license.CertData.organization) -} -inline std::string* CertData::mutable_organization() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_organization(); - // @@protoc_insertion_point(field_mutable:license.CertData.organization) - return _s; -} -inline const std::string& CertData::_internal_organization() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.organization_.Get(); -} -inline void CertData::_internal_set_organization(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.organization_.Set(value, GetArena()); -} -inline std::string* CertData::_internal_mutable_organization() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.organization_.Mutable( GetArena()); -} -inline std::string* CertData::release_organization() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:license.CertData.organization) - return _impl_.organization_.Release(); -} -inline void CertData::set_allocated_organization(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.organization_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.organization_.IsDefault()) { - _impl_.organization_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:license.CertData.organization) -} - -// string organizational_unit = 4; -inline void CertData::clear_organizational_unit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.organizational_unit_.ClearToEmpty(); -} -inline const std::string& CertData::organizational_unit() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.CertData.organizational_unit) - return _internal_organizational_unit(); -} -template -inline PROTOBUF_ALWAYS_INLINE void CertData::set_organizational_unit(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.organizational_unit_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:license.CertData.organizational_unit) -} -inline std::string* CertData::mutable_organizational_unit() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_organizational_unit(); - // @@protoc_insertion_point(field_mutable:license.CertData.organizational_unit) - return _s; -} -inline const std::string& CertData::_internal_organizational_unit() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.organizational_unit_.Get(); -} -inline void CertData::_internal_set_organizational_unit(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.organizational_unit_.Set(value, GetArena()); -} -inline std::string* CertData::_internal_mutable_organizational_unit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.organizational_unit_.Mutable( GetArena()); -} -inline std::string* CertData::release_organizational_unit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:license.CertData.organizational_unit) - return _impl_.organizational_unit_.Release(); -} -inline void CertData::set_allocated_organizational_unit(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.organizational_unit_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.organizational_unit_.IsDefault()) { - _impl_.organizational_unit_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:license.CertData.organizational_unit) -} - -// string country = 5; -inline void CertData::clear_country() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.country_.ClearToEmpty(); -} -inline const std::string& CertData::country() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.CertData.country) - return _internal_country(); -} -template -inline PROTOBUF_ALWAYS_INLINE void CertData::set_country(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.country_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:license.CertData.country) -} -inline std::string* CertData::mutable_country() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_country(); - // @@protoc_insertion_point(field_mutable:license.CertData.country) - return _s; -} -inline const std::string& CertData::_internal_country() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.country_.Get(); -} -inline void CertData::_internal_set_country(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.country_.Set(value, GetArena()); -} -inline std::string* CertData::_internal_mutable_country() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.country_.Mutable( GetArena()); -} -inline std::string* CertData::release_country() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:license.CertData.country) - return _impl_.country_.Release(); -} -inline void CertData::set_allocated_country(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.country_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.country_.IsDefault()) { - _impl_.country_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:license.CertData.country) -} - -// string locality = 6; -inline void CertData::clear_locality() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.locality_.ClearToEmpty(); -} -inline const std::string& CertData::locality() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.CertData.locality) - return _internal_locality(); -} -template -inline PROTOBUF_ALWAYS_INLINE void CertData::set_locality(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.locality_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:license.CertData.locality) -} -inline std::string* CertData::mutable_locality() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_locality(); - // @@protoc_insertion_point(field_mutable:license.CertData.locality) - return _s; -} -inline const std::string& CertData::_internal_locality() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.locality_.Get(); -} -inline void CertData::_internal_set_locality(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.locality_.Set(value, GetArena()); -} -inline std::string* CertData::_internal_mutable_locality() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.locality_.Mutable( GetArena()); -} -inline std::string* CertData::release_locality() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:license.CertData.locality) - return _impl_.locality_.Release(); -} -inline void CertData::set_allocated_locality(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.locality_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.locality_.IsDefault()) { - _impl_.locality_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:license.CertData.locality) -} - -// string common_name = 7; -inline void CertData::clear_common_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.common_name_.ClearToEmpty(); -} -inline const std::string& CertData::common_name() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.CertData.common_name) - return _internal_common_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE void CertData::set_common_name(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.common_name_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:license.CertData.common_name) -} -inline std::string* CertData::mutable_common_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_common_name(); - // @@protoc_insertion_point(field_mutable:license.CertData.common_name) - return _s; -} -inline const std::string& CertData::_internal_common_name() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.common_name_.Get(); -} -inline void CertData::_internal_set_common_name(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.common_name_.Set(value, GetArena()); -} -inline std::string* CertData::_internal_mutable_common_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.common_name_.Mutable( GetArena()); -} -inline std::string* CertData::release_common_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:license.CertData.common_name) - return _impl_.common_name_.Release(); -} -inline void CertData::set_allocated_common_name(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.common_name_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.common_name_.IsDefault()) { - _impl_.common_name_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:license.CertData.common_name) -} - -// string subject_serial = 8; -inline void CertData::clear_subject_serial() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.subject_serial_.ClearToEmpty(); -} -inline const std::string& CertData::subject_serial() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.CertData.subject_serial) - return _internal_subject_serial(); -} -template -inline PROTOBUF_ALWAYS_INLINE void CertData::set_subject_serial(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.subject_serial_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:license.CertData.subject_serial) -} -inline std::string* CertData::mutable_subject_serial() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_subject_serial(); - // @@protoc_insertion_point(field_mutable:license.CertData.subject_serial) - return _s; -} -inline const std::string& CertData::_internal_subject_serial() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.subject_serial_.Get(); -} -inline void CertData::_internal_set_subject_serial(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.subject_serial_.Set(value, GetArena()); -} -inline std::string* CertData::_internal_mutable_subject_serial() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.subject_serial_.Mutable( GetArena()); -} -inline std::string* CertData::release_subject_serial() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:license.CertData.subject_serial) - return _impl_.subject_serial_.Release(); -} -inline void CertData::set_allocated_subject_serial(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.subject_serial_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.subject_serial_.IsDefault()) { - _impl_.subject_serial_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:license.CertData.subject_serial) -} - -// .google.protobuf.Timestamp valid_from = 9; -inline bool CertData::has_valid_from() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.valid_from_ != nullptr); - return value; -} -inline const ::google::protobuf::Timestamp& CertData::_internal_valid_from() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::google::protobuf::Timestamp* p = _impl_.valid_from_; - return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); -} -inline const ::google::protobuf::Timestamp& CertData::valid_from() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.CertData.valid_from) - return _internal_valid_from(); -} -inline void CertData::unsafe_arena_set_allocated_valid_from(::google::protobuf::Timestamp* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.valid_from_); - } - _impl_.valid_from_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:license.CertData.valid_from) -} -inline ::google::protobuf::Timestamp* CertData::release_valid_from() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::google::protobuf::Timestamp* released = _impl_.valid_from_; - _impl_.valid_from_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::google::protobuf::Timestamp* CertData::unsafe_arena_release_valid_from() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:license.CertData.valid_from) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::google::protobuf::Timestamp* temp = _impl_.valid_from_; - _impl_.valid_from_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* CertData::_internal_mutable_valid_from() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.valid_from_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); - _impl_.valid_from_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); - } - return _impl_.valid_from_; -} -inline ::google::protobuf::Timestamp* CertData::mutable_valid_from() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::google::protobuf::Timestamp* _msg = _internal_mutable_valid_from(); - // @@protoc_insertion_point(field_mutable:license.CertData.valid_from) - return _msg; -} -inline void CertData::set_allocated_valid_from(::google::protobuf::Timestamp* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.valid_from_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.valid_from_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - // @@protoc_insertion_point(field_set_allocated:license.CertData.valid_from) -} - -// .google.protobuf.Timestamp valid_until = 10; -inline bool CertData::has_valid_until() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.valid_until_ != nullptr); - return value; -} -inline const ::google::protobuf::Timestamp& CertData::_internal_valid_until() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::google::protobuf::Timestamp* p = _impl_.valid_until_; - return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); -} -inline const ::google::protobuf::Timestamp& CertData::valid_until() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.CertData.valid_until) - return _internal_valid_until(); -} -inline void CertData::unsafe_arena_set_allocated_valid_until(::google::protobuf::Timestamp* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.valid_until_); - } - _impl_.valid_until_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:license.CertData.valid_until) -} -inline ::google::protobuf::Timestamp* CertData::release_valid_until() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::google::protobuf::Timestamp* released = _impl_.valid_until_; - _impl_.valid_until_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::google::protobuf::Timestamp* CertData::unsafe_arena_release_valid_until() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:license.CertData.valid_until) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::google::protobuf::Timestamp* temp = _impl_.valid_until_; - _impl_.valid_until_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* CertData::_internal_mutable_valid_until() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.valid_until_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); - _impl_.valid_until_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); - } - return _impl_.valid_until_; -} -inline ::google::protobuf::Timestamp* CertData::mutable_valid_until() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; - ::google::protobuf::Timestamp* _msg = _internal_mutable_valid_until(); - // @@protoc_insertion_point(field_mutable:license.CertData.valid_until) - return _msg; -} -inline void CertData::set_allocated_valid_until(::google::protobuf::Timestamp* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.valid_until_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - - _impl_.valid_until_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - // @@protoc_insertion_point(field_set_allocated:license.CertData.valid_until) -} - -// repeated string dns_names = 11 [json_name = "DNSNames"]; -inline int CertData::_internal_dns_names_size() const { - return _internal_dns_names().size(); -} -inline int CertData::dns_names_size() const { - return _internal_dns_names_size(); -} -inline void CertData::clear_dns_names() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.dns_names_.Clear(); -} -inline std::string* CertData::add_dns_names() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - std::string* _s = _internal_mutable_dns_names()->Add(); - // @@protoc_insertion_point(field_add_mutable:license.CertData.dns_names) - return _s; -} -inline const std::string& CertData::dns_names(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.CertData.dns_names) - return _internal_dns_names().Get(index); -} -inline std::string* CertData::mutable_dns_names(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:license.CertData.dns_names) - return _internal_mutable_dns_names()->Mutable(index); -} -template -inline void CertData::set_dns_names(int index, Arg_&& value, Args_... args) { - ::google::protobuf::internal::AssignToString( - *_internal_mutable_dns_names()->Mutable(index), - std::forward(value), args... ); - // @@protoc_insertion_point(field_set:license.CertData.dns_names) -} -template -inline void CertData::add_dns_names(Arg_&& value, Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::google::protobuf::internal::AddToRepeatedPtrField(*_internal_mutable_dns_names(), - std::forward(value), - args... ); - // @@protoc_insertion_point(field_add:license.CertData.dns_names) -} -inline const ::google::protobuf::RepeatedPtrField& -CertData::dns_names() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:license.CertData.dns_names) - return _internal_dns_names(); -} -inline ::google::protobuf::RepeatedPtrField* -CertData::mutable_dns_names() ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:license.CertData.dns_names) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_dns_names(); -} -inline const ::google::protobuf::RepeatedPtrField& -CertData::_internal_dns_names() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.dns_names_; -} -inline ::google::protobuf::RepeatedPtrField* -CertData::_internal_mutable_dns_names() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.dns_names_; -} - -// bool is_ca = 12; -inline void CertData::clear_is_ca() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.is_ca_ = false; -} -inline bool CertData::is_ca() const { - // @@protoc_insertion_point(field_get:license.CertData.is_ca) - return _internal_is_ca(); -} -inline void CertData::set_is_ca(bool value) { - _internal_set_is_ca(value); - // @@protoc_insertion_point(field_set:license.CertData.is_ca) -} -inline bool CertData::_internal_is_ca() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.is_ca_; -} -inline void CertData::_internal_set_is_ca(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.is_ca_ = value; -} - -// optional .license.CertData parent_data = 13; -inline bool CertData::has_parent_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.parent_data_ != nullptr); - return value; -} -inline void CertData::clear_parent_data() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.parent_data_ != nullptr) _impl_.parent_data_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::license::CertData& CertData::_internal_parent_data() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::license::CertData* p = _impl_.parent_data_; - return p != nullptr ? *p : reinterpret_cast(::license::_CertData_default_instance_); -} -inline const ::license::CertData& CertData::parent_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:license.CertData.parent_data) - return _internal_parent_data(); -} -inline void CertData::unsafe_arena_set_allocated_parent_data(::license::CertData* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.parent_data_); - } - _impl_.parent_data_ = reinterpret_cast<::license::CertData*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:license.CertData.parent_data) -} -inline ::license::CertData* CertData::release_parent_data() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000004u; - ::license::CertData* released = _impl_.parent_data_; - _impl_.parent_data_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::license::CertData* CertData::unsafe_arena_release_parent_data() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:license.CertData.parent_data) - - _impl_._has_bits_[0] &= ~0x00000004u; - ::license::CertData* temp = _impl_.parent_data_; - _impl_.parent_data_ = nullptr; - return temp; -} -inline ::license::CertData* CertData::_internal_mutable_parent_data() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.parent_data_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::license::CertData>(GetArena()); - _impl_.parent_data_ = reinterpret_cast<::license::CertData*>(p); - } - return _impl_.parent_data_; -} -inline ::license::CertData* CertData::mutable_parent_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000004u; - ::license::CertData* _msg = _internal_mutable_parent_data(); - // @@protoc_insertion_point(field_mutable:license.CertData.parent_data) - return _msg; -} -inline void CertData::set_allocated_parent_data(::license::CertData* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.parent_data_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - - _impl_.parent_data_ = reinterpret_cast<::license::CertData*>(value); - // @@protoc_insertion_point(field_set_allocated:license.CertData.parent_data) -} - -#ifdef __GNUC__ -#pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) -} // namespace license - - -namespace google { -namespace protobuf { - -template <> -struct is_proto_enum<::license::VerifyResult> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::license::VerifyResult>() { - return ::license::VerifyResult_descriptor(); -} -template <> -struct is_proto_enum<::license::CertType> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::license::CertType>() { - return ::license::CertType_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include "google/protobuf/port_undef.inc" - -#endif // license_2eproto_2epb_2eh diff --git a/cpp/management.pb.cc b/cpp/management.pb.cc deleted file mode 100644 index 8b5fad4..0000000 --- a/cpp/management.pb.cc +++ /dev/null @@ -1,14700 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: management.proto -// Protobuf C++ Version: 5.29.2 - -#include "management.pb.h" - -#include -#include -#include "google/protobuf/io/coded_stream.h" -#include "google/protobuf/generated_message_tctable_impl.h" -#include "google/protobuf/extension_set.h" -#include "google/protobuf/generated_message_util.h" -#include "google/protobuf/wire_format_lite.h" -#include "google/protobuf/descriptor.h" -#include "google/protobuf/generated_message_reflection.h" -#include "google/protobuf/reflection_ops.h" -#include "google/protobuf/wire_format.h" -// @@protoc_insertion_point(includes) - -// Must be included last. -#include "google/protobuf/port_def.inc" -PROTOBUF_PRAGMA_INIT_SEG -namespace _pb = ::google::protobuf; -namespace _pbi = ::google::protobuf::internal; -namespace _fl = ::google::protobuf::internal::field_layout; -namespace management { - template -PROTOBUF_CONSTEXPR StartResyncResponse::StartResyncResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase() { -} -#endif // PROTOBUF_CUSTOM_VTABLE -struct StartResyncResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR StartResyncResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~StartResyncResponseDefaultTypeInternal() {} - union { - StartResyncResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartResyncResponseDefaultTypeInternal _StartResyncResponse_default_instance_; - template -PROTOBUF_CONSTEXPR SetTargetStateResponse::SetTargetStateResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase() { -} -#endif // PROTOBUF_CUSTOM_VTABLE -struct SetTargetStateResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetTargetStateResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SetTargetStateResponseDefaultTypeInternal() {} - union { - SetTargetStateResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetTargetStateResponseDefaultTypeInternal _SetTargetStateResponse_default_instance_; - template -PROTOBUF_CONSTEXPR SetQuotaLimitsResponse::SetQuotaLimitsResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase() { -} -#endif // PROTOBUF_CUSTOM_VTABLE -struct SetQuotaLimitsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetQuotaLimitsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SetQuotaLimitsResponseDefaultTypeInternal() {} - union { - SetQuotaLimitsResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetQuotaLimitsResponseDefaultTypeInternal _SetQuotaLimitsResponse_default_instance_; - template -PROTOBUF_CONSTEXPR SetDefaultQuotaLimitsResponse::SetDefaultQuotaLimitsResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase() { -} -#endif // PROTOBUF_CUSTOM_VTABLE -struct SetDefaultQuotaLimitsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetDefaultQuotaLimitsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SetDefaultQuotaLimitsResponseDefaultTypeInternal() {} - union { - SetDefaultQuotaLimitsResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetDefaultQuotaLimitsResponseDefaultTypeInternal _SetDefaultQuotaLimitsResponse_default_instance_; - template -PROTOBUF_CONSTEXPR SetAliasResponse::SetAliasResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase() { -} -#endif // PROTOBUF_CUSTOM_VTABLE -struct SetAliasResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetAliasResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SetAliasResponseDefaultTypeInternal() {} - union { - SetAliasResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetAliasResponseDefaultTypeInternal _SetAliasResponse_default_instance_; - template -PROTOBUF_CONSTEXPR MirrorRootInodeResponse::MirrorRootInodeResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase() { -} -#endif // PROTOBUF_CUSTOM_VTABLE -struct MirrorRootInodeResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR MirrorRootInodeResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~MirrorRootInodeResponseDefaultTypeInternal() {} - union { - MirrorRootInodeResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MirrorRootInodeResponseDefaultTypeInternal _MirrorRootInodeResponse_default_instance_; - template -PROTOBUF_CONSTEXPR MirrorRootInodeRequest::MirrorRootInodeRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase() { -} -#endif // PROTOBUF_CUSTOM_VTABLE -struct MirrorRootInodeRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR MirrorRootInodeRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~MirrorRootInodeRequestDefaultTypeInternal() {} - union { - MirrorRootInodeRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MirrorRootInodeRequestDefaultTypeInternal _MirrorRootInodeRequest_default_instance_; - template -PROTOBUF_CONSTEXPR GetTargetsRequest::GetTargetsRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase() { -} -#endif // PROTOBUF_CUSTOM_VTABLE -struct GetTargetsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetTargetsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetTargetsRequestDefaultTypeInternal() {} - union { - GetTargetsRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetTargetsRequestDefaultTypeInternal _GetTargetsRequest_default_instance_; - -inline constexpr GetPoolsRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : with_quota_limits_{false}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR GetPoolsRequest::GetPoolsRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetPoolsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetPoolsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetPoolsRequestDefaultTypeInternal() {} - union { - GetPoolsRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetPoolsRequestDefaultTypeInternal _GetPoolsRequest_default_instance_; - -inline constexpr GetNodesResponse_Node_Nic::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : addr_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - name_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - nic_type_{static_cast< ::beegfs::NicType >(0)}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR GetNodesResponse_Node_Nic::GetNodesResponse_Node_Nic(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetNodesResponse_Node_NicDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetNodesResponse_Node_NicDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetNodesResponse_Node_NicDefaultTypeInternal() {} - union { - GetNodesResponse_Node_Nic _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetNodesResponse_Node_NicDefaultTypeInternal _GetNodesResponse_Node_Nic_default_instance_; - -inline constexpr GetNodesRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : include_nics_{false}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR GetNodesRequest::GetNodesRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetNodesRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetNodesRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetNodesRequestDefaultTypeInternal() {} - union { - GetNodesRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetNodesRequestDefaultTypeInternal _GetNodesRequest_default_instance_; - -inline constexpr GetLicenseRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - reload_{false} {} - -template -PROTOBUF_CONSTEXPR GetLicenseRequest::GetLicenseRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetLicenseRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetLicenseRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetLicenseRequestDefaultTypeInternal() {} - union { - GetLicenseRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetLicenseRequestDefaultTypeInternal _GetLicenseRequest_default_instance_; - template -PROTOBUF_CONSTEXPR GetBuddyGroupsRequest::GetBuddyGroupsRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase() { -} -#endif // PROTOBUF_CUSTOM_VTABLE -struct GetBuddyGroupsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetBuddyGroupsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetBuddyGroupsRequestDefaultTypeInternal() {} - union { - GetBuddyGroupsRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetBuddyGroupsRequestDefaultTypeInternal _GetBuddyGroupsRequest_default_instance_; - -inline constexpr StartResyncRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - buddy_group_{nullptr}, - timestamp_{::int64_t{0}}, - restart_{false} {} - -template -PROTOBUF_CONSTEXPR StartResyncRequest::StartResyncRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct StartResyncRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR StartResyncRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~StartResyncRequestDefaultTypeInternal() {} - union { - StartResyncRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 StartResyncRequestDefaultTypeInternal _StartResyncRequest_default_instance_; - -inline constexpr SetTargetStateRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - target_{nullptr}, - consistency_state_{static_cast< ::beegfs::ConsistencyState >(0)} {} - -template -PROTOBUF_CONSTEXPR SetTargetStateRequest::SetTargetStateRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct SetTargetStateRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetTargetStateRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SetTargetStateRequestDefaultTypeInternal() {} - union { - SetTargetStateRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetTargetStateRequestDefaultTypeInternal _SetTargetStateRequest_default_instance_; - -inline constexpr SetDefaultQuotaLimitsRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - pool_{nullptr}, - user_space_limit_{::int64_t{0}}, - user_inode_limit_{::int64_t{0}}, - group_space_limit_{::int64_t{0}}, - group_inode_limit_{::int64_t{0}} {} - -template -PROTOBUF_CONSTEXPR SetDefaultQuotaLimitsRequest::SetDefaultQuotaLimitsRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct SetDefaultQuotaLimitsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetDefaultQuotaLimitsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SetDefaultQuotaLimitsRequestDefaultTypeInternal() {} - union { - SetDefaultQuotaLimitsRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetDefaultQuotaLimitsRequestDefaultTypeInternal _SetDefaultQuotaLimitsRequest_default_instance_; - -inline constexpr SetAliasRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - new_alias_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - entity_id_{nullptr}, - entity_type_{static_cast< ::beegfs::EntityType >(0)} {} - -template -PROTOBUF_CONSTEXPR SetAliasRequest::SetAliasRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct SetAliasRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetAliasRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SetAliasRequestDefaultTypeInternal() {} - union { - SetAliasRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetAliasRequestDefaultTypeInternal _SetAliasRequest_default_instance_; - -inline constexpr QuotaInfo::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - pool_{nullptr}, - quota_id_{0u}, - id_type_{static_cast< ::beegfs::QuotaIdType >(0)}, - space_limit_{::int64_t{0}}, - inode_limit_{::int64_t{0}}, - space_used_{::int64_t{0}}, - inode_used_{::int64_t{0}} {} - -template -PROTOBUF_CONSTEXPR QuotaInfo::QuotaInfo(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct QuotaInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR QuotaInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~QuotaInfoDefaultTypeInternal() {} - union { - QuotaInfo _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 QuotaInfoDefaultTypeInternal _QuotaInfo_default_instance_; - -inline constexpr GetTargetsResponse_Target::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - id_{nullptr}, - node_{nullptr}, - storage_pool_{nullptr}, - node_type_{static_cast< ::beegfs::NodeType >(0)}, - reachability_state_{static_cast< ::beegfs::ReachabilityState >(0)}, - last_contact_s_{::uint64_t{0u}}, - total_space_bytes_{::uint64_t{0u}}, - free_space_bytes_{::uint64_t{0u}}, - consistency_state_{static_cast< ::beegfs::ConsistencyState >(0)}, - cap_pool_{static_cast< ::beegfs::CapacityPool >(0)}, - total_inodes_{::uint64_t{0u}}, - free_inodes_{::uint64_t{0u}} {} - -template -PROTOBUF_CONSTEXPR GetTargetsResponse_Target::GetTargetsResponse_Target(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetTargetsResponse_TargetDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetTargetsResponse_TargetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetTargetsResponse_TargetDefaultTypeInternal() {} - union { - GetTargetsResponse_Target _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetTargetsResponse_TargetDefaultTypeInternal _GetTargetsResponse_Target_default_instance_; - -inline constexpr GetQuotaUsageRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - user_id_list_{}, - _user_id_list_cached_byte_size_{0}, - group_id_list_{}, - _group_id_list_cached_byte_size_{0}, - pool_{nullptr}, - user_id_min_{0u}, - user_id_max_{0u}, - group_id_min_{0u}, - group_id_max_{0u}, - exceeded_{false} {} - -template -PROTOBUF_CONSTEXPR GetQuotaUsageRequest::GetQuotaUsageRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetQuotaUsageRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetQuotaUsageRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetQuotaUsageRequestDefaultTypeInternal() {} - union { - GetQuotaUsageRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetQuotaUsageRequestDefaultTypeInternal _GetQuotaUsageRequest_default_instance_; - -inline constexpr GetQuotaLimitsRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - user_id_list_{}, - _user_id_list_cached_byte_size_{0}, - group_id_list_{}, - _group_id_list_cached_byte_size_{0}, - pool_{nullptr}, - user_id_min_{0u}, - user_id_max_{0u}, - group_id_min_{0u}, - group_id_max_{0u} {} - -template -PROTOBUF_CONSTEXPR GetQuotaLimitsRequest::GetQuotaLimitsRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetQuotaLimitsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetQuotaLimitsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetQuotaLimitsRequestDefaultTypeInternal() {} - union { - GetQuotaLimitsRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetQuotaLimitsRequestDefaultTypeInternal _GetQuotaLimitsRequest_default_instance_; - -inline constexpr GetPoolsResponse_StoragePool::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - targets_{}, - buddy_groups_{}, - id_{nullptr}, - user_space_limit_{::int64_t{0}}, - user_inode_limit_{::int64_t{0}}, - group_space_limit_{::int64_t{0}}, - group_inode_limit_{::int64_t{0}} {} - -template -PROTOBUF_CONSTEXPR GetPoolsResponse_StoragePool::GetPoolsResponse_StoragePool(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetPoolsResponse_StoragePoolDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetPoolsResponse_StoragePoolDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetPoolsResponse_StoragePoolDefaultTypeInternal() {} - union { - GetPoolsResponse_StoragePool _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetPoolsResponse_StoragePoolDefaultTypeInternal _GetPoolsResponse_StoragePool_default_instance_; - -inline constexpr GetNodesResponse_Node::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - nics_{}, - id_{nullptr}, - node_type_{static_cast< ::beegfs::NodeType >(0)}, - port_{0u} {} - -template -PROTOBUF_CONSTEXPR GetNodesResponse_Node::GetNodesResponse_Node(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetNodesResponse_NodeDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetNodesResponse_NodeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetNodesResponse_NodeDefaultTypeInternal() {} - union { - GetNodesResponse_Node _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetNodesResponse_NodeDefaultTypeInternal _GetNodesResponse_Node_default_instance_; - -inline constexpr GetBuddyGroupsResponse_BuddyGroup::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - id_{nullptr}, - primary_target_{nullptr}, - secondary_target_{nullptr}, - storage_pool_{nullptr}, - node_type_{static_cast< ::beegfs::NodeType >(0)}, - primary_consistency_state_{static_cast< ::beegfs::ConsistencyState >(0)}, - secondary_consistency_state_{static_cast< ::beegfs::ConsistencyState >(0)} {} - -template -PROTOBUF_CONSTEXPR GetBuddyGroupsResponse_BuddyGroup::GetBuddyGroupsResponse_BuddyGroup(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetBuddyGroupsResponse_BuddyGroupDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetBuddyGroupsResponse_BuddyGroupDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetBuddyGroupsResponse_BuddyGroupDefaultTypeInternal() {} - union { - GetBuddyGroupsResponse_BuddyGroup _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetBuddyGroupsResponse_BuddyGroupDefaultTypeInternal _GetBuddyGroupsResponse_BuddyGroup_default_instance_; - -inline constexpr DeleteTargetResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - target_{nullptr} {} - -template -PROTOBUF_CONSTEXPR DeleteTargetResponse::DeleteTargetResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct DeleteTargetResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR DeleteTargetResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~DeleteTargetResponseDefaultTypeInternal() {} - union { - DeleteTargetResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteTargetResponseDefaultTypeInternal _DeleteTargetResponse_default_instance_; - -inline constexpr DeleteTargetRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - target_{nullptr}, - execute_{false} {} - -template -PROTOBUF_CONSTEXPR DeleteTargetRequest::DeleteTargetRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct DeleteTargetRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR DeleteTargetRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~DeleteTargetRequestDefaultTypeInternal() {} - union { - DeleteTargetRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteTargetRequestDefaultTypeInternal _DeleteTargetRequest_default_instance_; - -inline constexpr DeletePoolResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - pool_{nullptr} {} - -template -PROTOBUF_CONSTEXPR DeletePoolResponse::DeletePoolResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct DeletePoolResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR DeletePoolResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~DeletePoolResponseDefaultTypeInternal() {} - union { - DeletePoolResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeletePoolResponseDefaultTypeInternal _DeletePoolResponse_default_instance_; - -inline constexpr DeletePoolRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - pool_{nullptr}, - execute_{false} {} - -template -PROTOBUF_CONSTEXPR DeletePoolRequest::DeletePoolRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct DeletePoolRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR DeletePoolRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~DeletePoolRequestDefaultTypeInternal() {} - union { - DeletePoolRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeletePoolRequestDefaultTypeInternal _DeletePoolRequest_default_instance_; - -inline constexpr DeleteNodeResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - node_{nullptr} {} - -template -PROTOBUF_CONSTEXPR DeleteNodeResponse::DeleteNodeResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct DeleteNodeResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR DeleteNodeResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~DeleteNodeResponseDefaultTypeInternal() {} - union { - DeleteNodeResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteNodeResponseDefaultTypeInternal _DeleteNodeResponse_default_instance_; - -inline constexpr DeleteNodeRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - node_{nullptr}, - execute_{false} {} - -template -PROTOBUF_CONSTEXPR DeleteNodeRequest::DeleteNodeRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct DeleteNodeRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR DeleteNodeRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~DeleteNodeRequestDefaultTypeInternal() {} - union { - DeleteNodeRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteNodeRequestDefaultTypeInternal _DeleteNodeRequest_default_instance_; - -inline constexpr DeleteBuddyGroupResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - group_{nullptr} {} - -template -PROTOBUF_CONSTEXPR DeleteBuddyGroupResponse::DeleteBuddyGroupResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct DeleteBuddyGroupResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR DeleteBuddyGroupResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~DeleteBuddyGroupResponseDefaultTypeInternal() {} - union { - DeleteBuddyGroupResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteBuddyGroupResponseDefaultTypeInternal _DeleteBuddyGroupResponse_default_instance_; - -inline constexpr DeleteBuddyGroupRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - group_{nullptr}, - execute_{false} {} - -template -PROTOBUF_CONSTEXPR DeleteBuddyGroupRequest::DeleteBuddyGroupRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct DeleteBuddyGroupRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR DeleteBuddyGroupRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~DeleteBuddyGroupRequestDefaultTypeInternal() {} - union { - DeleteBuddyGroupRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DeleteBuddyGroupRequestDefaultTypeInternal _DeleteBuddyGroupRequest_default_instance_; - -inline constexpr CreatePoolResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - pool_{nullptr} {} - -template -PROTOBUF_CONSTEXPR CreatePoolResponse::CreatePoolResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct CreatePoolResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CreatePoolResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~CreatePoolResponseDefaultTypeInternal() {} - union { - CreatePoolResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreatePoolResponseDefaultTypeInternal _CreatePoolResponse_default_instance_; - -inline constexpr CreatePoolRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - targets_{}, - buddy_groups_{}, - alias_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - node_type_{static_cast< ::beegfs::NodeType >(0)}, - num_id_{0u} {} - -template -PROTOBUF_CONSTEXPR CreatePoolRequest::CreatePoolRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct CreatePoolRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CreatePoolRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~CreatePoolRequestDefaultTypeInternal() {} - union { - CreatePoolRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreatePoolRequestDefaultTypeInternal _CreatePoolRequest_default_instance_; - -inline constexpr CreateBuddyGroupResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - group_{nullptr} {} - -template -PROTOBUF_CONSTEXPR CreateBuddyGroupResponse::CreateBuddyGroupResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct CreateBuddyGroupResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR CreateBuddyGroupResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~CreateBuddyGroupResponseDefaultTypeInternal() {} - union { - CreateBuddyGroupResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateBuddyGroupResponseDefaultTypeInternal _CreateBuddyGroupResponse_default_instance_; - -inline constexpr CreateBuddyGroupRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - alias_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - primary_target_{nullptr}, - secondary_target_{nullptr}, - node_type_{static_cast< ::beegfs::NodeType >(0)}, - num_id_{0u} {} - -template -PROTOBUF_CONSTEXPR CreateBuddyGroupRequest::CreateBuddyGroupRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct CreateBuddyGroupRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR CreateBuddyGroupRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~CreateBuddyGroupRequestDefaultTypeInternal() {} - union { - CreateBuddyGroupRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CreateBuddyGroupRequestDefaultTypeInternal _CreateBuddyGroupRequest_default_instance_; - -inline constexpr AssignPoolResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - pool_{nullptr} {} - -template -PROTOBUF_CONSTEXPR AssignPoolResponse::AssignPoolResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct AssignPoolResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR AssignPoolResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~AssignPoolResponseDefaultTypeInternal() {} - union { - AssignPoolResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssignPoolResponseDefaultTypeInternal _AssignPoolResponse_default_instance_; - -inline constexpr AssignPoolRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - targets_{}, - buddy_groups_{}, - pool_{nullptr} {} - -template -PROTOBUF_CONSTEXPR AssignPoolRequest::AssignPoolRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct AssignPoolRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR AssignPoolRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~AssignPoolRequestDefaultTypeInternal() {} - union { - AssignPoolRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssignPoolRequestDefaultTypeInternal _AssignPoolRequest_default_instance_; - -inline constexpr SetQuotaLimitsRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : limits_{}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR SetQuotaLimitsRequest::SetQuotaLimitsRequest(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct SetQuotaLimitsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SetQuotaLimitsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SetQuotaLimitsRequestDefaultTypeInternal() {} - union { - SetQuotaLimitsRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SetQuotaLimitsRequestDefaultTypeInternal _SetQuotaLimitsRequest_default_instance_; - -inline constexpr GetTargetsResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : targets_{}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR GetTargetsResponse::GetTargetsResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetTargetsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetTargetsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetTargetsResponseDefaultTypeInternal() {} - union { - GetTargetsResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetTargetsResponseDefaultTypeInternal _GetTargetsResponse_default_instance_; - -inline constexpr GetQuotaUsageResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - entry_{nullptr}, - refresh_period_s_{::uint64_t{0u}} {} - -template -PROTOBUF_CONSTEXPR GetQuotaUsageResponse::GetQuotaUsageResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetQuotaUsageResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetQuotaUsageResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetQuotaUsageResponseDefaultTypeInternal() {} - union { - GetQuotaUsageResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetQuotaUsageResponseDefaultTypeInternal _GetQuotaUsageResponse_default_instance_; - -inline constexpr GetQuotaLimitsResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - limits_{nullptr} {} - -template -PROTOBUF_CONSTEXPR GetQuotaLimitsResponse::GetQuotaLimitsResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetQuotaLimitsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetQuotaLimitsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetQuotaLimitsResponseDefaultTypeInternal() {} - union { - GetQuotaLimitsResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetQuotaLimitsResponseDefaultTypeInternal _GetQuotaLimitsResponse_default_instance_; - -inline constexpr GetPoolsResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : pools_{}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR GetPoolsResponse::GetPoolsResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetPoolsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetPoolsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetPoolsResponseDefaultTypeInternal() {} - union { - GetPoolsResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetPoolsResponseDefaultTypeInternal _GetPoolsResponse_default_instance_; - -inline constexpr GetNodesResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - nodes_{}, - fs_uuid_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - meta_root_node_{nullptr}, - meta_root_buddy_group_{nullptr} {} - -template -PROTOBUF_CONSTEXPR GetNodesResponse::GetNodesResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetNodesResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetNodesResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetNodesResponseDefaultTypeInternal() {} - union { - GetNodesResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetNodesResponseDefaultTypeInternal _GetNodesResponse_default_instance_; - -inline constexpr GetLicenseResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - cert_data_{nullptr} {} - -template -PROTOBUF_CONSTEXPR GetLicenseResponse::GetLicenseResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetLicenseResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetLicenseResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetLicenseResponseDefaultTypeInternal() {} - union { - GetLicenseResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetLicenseResponseDefaultTypeInternal _GetLicenseResponse_default_instance_; - -inline constexpr GetBuddyGroupsResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : buddy_groups_{}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR GetBuddyGroupsResponse::GetBuddyGroupsResponse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(_class_data_.base()), -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(), -#endif // PROTOBUF_CUSTOM_VTABLE - _impl_(::_pbi::ConstantInitialized()) { -} -struct GetBuddyGroupsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetBuddyGroupsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetBuddyGroupsResponseDefaultTypeInternal() {} - union { - GetBuddyGroupsResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetBuddyGroupsResponseDefaultTypeInternal _GetBuddyGroupsResponse_default_instance_; -} // namespace management -static constexpr const ::_pb::EnumDescriptor** - file_level_enum_descriptors_management_2eproto = nullptr; -static constexpr const ::_pb::ServiceDescriptor** - file_level_service_descriptors_management_2eproto = nullptr; -const ::uint32_t - TableStruct_management_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::management::SetAliasRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::SetAliasRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::SetAliasRequest, _impl_.entity_id_), - PROTOBUF_FIELD_OFFSET(::management::SetAliasRequest, _impl_.entity_type_), - PROTOBUF_FIELD_OFFSET(::management::SetAliasRequest, _impl_.new_alias_), - 0, - ~0u, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::SetAliasResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::GetNodesRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetNodesRequest, _impl_.include_nics_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse_Node_Nic, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse_Node_Nic, _impl_.addr_), - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse_Node_Nic, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse_Node_Nic, _impl_.nic_type_), - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse_Node, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse_Node, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse_Node, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse_Node, _impl_.node_type_), - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse_Node, _impl_.port_), - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse_Node, _impl_.nics_), - 0, - ~0u, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse, _impl_.nodes_), - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse, _impl_.meta_root_node_), - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse, _impl_.fs_uuid_), - PROTOBUF_FIELD_OFFSET(::management::GetNodesResponse, _impl_.meta_root_buddy_group_), - ~0u, - 1, - 0, - 2, - PROTOBUF_FIELD_OFFSET(::management::DeleteNodeRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::DeleteNodeRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::DeleteNodeRequest, _impl_.node_), - PROTOBUF_FIELD_OFFSET(::management::DeleteNodeRequest, _impl_.execute_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::management::DeleteNodeResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::DeleteNodeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::DeleteNodeResponse, _impl_.node_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::GetTargetsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_.node_type_), - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_.reachability_state_), - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_.consistency_state_), - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_.last_contact_s_), - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_.total_space_bytes_), - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_.free_space_bytes_), - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_.total_inodes_), - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_.free_inodes_), - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_.cap_pool_), - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_.node_), - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse_Target, _impl_.storage_pool_), - 0, - ~0u, - ~0u, - ~0u, - 3, - 4, - 5, - 6, - 7, - ~0u, - 1, - 2, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetTargetsResponse, _impl_.targets_), - PROTOBUF_FIELD_OFFSET(::management::DeleteTargetRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::DeleteTargetRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::DeleteTargetRequest, _impl_.target_), - PROTOBUF_FIELD_OFFSET(::management::DeleteTargetRequest, _impl_.execute_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::management::DeleteTargetResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::DeleteTargetResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::DeleteTargetResponse, _impl_.target_), - 0, - PROTOBUF_FIELD_OFFSET(::management::SetTargetStateRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::SetTargetStateRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::SetTargetStateRequest, _impl_.target_), - PROTOBUF_FIELD_OFFSET(::management::SetTargetStateRequest, _impl_.consistency_state_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::SetTargetStateResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::GetPoolsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetPoolsRequest, _impl_.with_quota_limits_), - PROTOBUF_FIELD_OFFSET(::management::GetPoolsResponse_StoragePool, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::GetPoolsResponse_StoragePool, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetPoolsResponse_StoragePool, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::management::GetPoolsResponse_StoragePool, _impl_.targets_), - PROTOBUF_FIELD_OFFSET(::management::GetPoolsResponse_StoragePool, _impl_.buddy_groups_), - PROTOBUF_FIELD_OFFSET(::management::GetPoolsResponse_StoragePool, _impl_.user_space_limit_), - PROTOBUF_FIELD_OFFSET(::management::GetPoolsResponse_StoragePool, _impl_.user_inode_limit_), - PROTOBUF_FIELD_OFFSET(::management::GetPoolsResponse_StoragePool, _impl_.group_space_limit_), - PROTOBUF_FIELD_OFFSET(::management::GetPoolsResponse_StoragePool, _impl_.group_inode_limit_), - 0, - ~0u, - ~0u, - 1, - 2, - 3, - 4, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::GetPoolsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetPoolsResponse, _impl_.pools_), - PROTOBUF_FIELD_OFFSET(::management::CreatePoolRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::CreatePoolRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::CreatePoolRequest, _impl_.node_type_), - PROTOBUF_FIELD_OFFSET(::management::CreatePoolRequest, _impl_.num_id_), - PROTOBUF_FIELD_OFFSET(::management::CreatePoolRequest, _impl_.alias_), - PROTOBUF_FIELD_OFFSET(::management::CreatePoolRequest, _impl_.targets_), - PROTOBUF_FIELD_OFFSET(::management::CreatePoolRequest, _impl_.buddy_groups_), - 1, - 2, - 0, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::management::CreatePoolResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::CreatePoolResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::CreatePoolResponse, _impl_.pool_), - 0, - PROTOBUF_FIELD_OFFSET(::management::AssignPoolRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::AssignPoolRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::AssignPoolRequest, _impl_.pool_), - PROTOBUF_FIELD_OFFSET(::management::AssignPoolRequest, _impl_.targets_), - PROTOBUF_FIELD_OFFSET(::management::AssignPoolRequest, _impl_.buddy_groups_), - 0, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::management::AssignPoolResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::AssignPoolResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::AssignPoolResponse, _impl_.pool_), - 0, - PROTOBUF_FIELD_OFFSET(::management::DeletePoolRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::DeletePoolRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::DeletePoolRequest, _impl_.pool_), - PROTOBUF_FIELD_OFFSET(::management::DeletePoolRequest, _impl_.execute_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::management::DeletePoolResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::DeletePoolResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::DeletePoolResponse, _impl_.pool_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsResponse_BuddyGroup, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsResponse_BuddyGroup, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsResponse_BuddyGroup, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsResponse_BuddyGroup, _impl_.node_type_), - PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsResponse_BuddyGroup, _impl_.primary_target_), - PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsResponse_BuddyGroup, _impl_.secondary_target_), - PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsResponse_BuddyGroup, _impl_.primary_consistency_state_), - PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsResponse_BuddyGroup, _impl_.secondary_consistency_state_), - PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsResponse_BuddyGroup, _impl_.storage_pool_), - 0, - ~0u, - 1, - 2, - ~0u, - ~0u, - 3, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetBuddyGroupsResponse, _impl_.buddy_groups_), - PROTOBUF_FIELD_OFFSET(::management::CreateBuddyGroupRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::CreateBuddyGroupRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::CreateBuddyGroupRequest, _impl_.node_type_), - PROTOBUF_FIELD_OFFSET(::management::CreateBuddyGroupRequest, _impl_.num_id_), - PROTOBUF_FIELD_OFFSET(::management::CreateBuddyGroupRequest, _impl_.alias_), - PROTOBUF_FIELD_OFFSET(::management::CreateBuddyGroupRequest, _impl_.primary_target_), - PROTOBUF_FIELD_OFFSET(::management::CreateBuddyGroupRequest, _impl_.secondary_target_), - 3, - 4, - 0, - 1, - 2, - PROTOBUF_FIELD_OFFSET(::management::CreateBuddyGroupResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::CreateBuddyGroupResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::CreateBuddyGroupResponse, _impl_.group_), - 0, - PROTOBUF_FIELD_OFFSET(::management::DeleteBuddyGroupRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::DeleteBuddyGroupRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::DeleteBuddyGroupRequest, _impl_.group_), - PROTOBUF_FIELD_OFFSET(::management::DeleteBuddyGroupRequest, _impl_.execute_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::management::DeleteBuddyGroupResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::DeleteBuddyGroupResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::DeleteBuddyGroupResponse, _impl_.group_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::MirrorRootInodeRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::MirrorRootInodeResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::StartResyncRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::StartResyncRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::StartResyncRequest, _impl_.buddy_group_), - PROTOBUF_FIELD_OFFSET(::management::StartResyncRequest, _impl_.timestamp_), - PROTOBUF_FIELD_OFFSET(::management::StartResyncRequest, _impl_.restart_), - 0, - 1, - 2, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::StartResyncResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::QuotaInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::QuotaInfo, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::QuotaInfo, _impl_.quota_id_), - PROTOBUF_FIELD_OFFSET(::management::QuotaInfo, _impl_.id_type_), - PROTOBUF_FIELD_OFFSET(::management::QuotaInfo, _impl_.pool_), - PROTOBUF_FIELD_OFFSET(::management::QuotaInfo, _impl_.space_limit_), - PROTOBUF_FIELD_OFFSET(::management::QuotaInfo, _impl_.inode_limit_), - PROTOBUF_FIELD_OFFSET(::management::QuotaInfo, _impl_.space_used_), - PROTOBUF_FIELD_OFFSET(::management::QuotaInfo, _impl_.inode_used_), - 1, - ~0u, - 0, - 2, - 3, - 4, - 5, - PROTOBUF_FIELD_OFFSET(::management::SetDefaultQuotaLimitsRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::SetDefaultQuotaLimitsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::SetDefaultQuotaLimitsRequest, _impl_.pool_), - PROTOBUF_FIELD_OFFSET(::management::SetDefaultQuotaLimitsRequest, _impl_.user_space_limit_), - PROTOBUF_FIELD_OFFSET(::management::SetDefaultQuotaLimitsRequest, _impl_.user_inode_limit_), - PROTOBUF_FIELD_OFFSET(::management::SetDefaultQuotaLimitsRequest, _impl_.group_space_limit_), - PROTOBUF_FIELD_OFFSET(::management::SetDefaultQuotaLimitsRequest, _impl_.group_inode_limit_), - 0, - 1, - 2, - 3, - 4, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::SetDefaultQuotaLimitsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::SetQuotaLimitsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::SetQuotaLimitsRequest, _impl_.limits_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::management::SetQuotaLimitsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetQuotaLimitsRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaLimitsRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetQuotaLimitsRequest, _impl_.user_id_min_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaLimitsRequest, _impl_.user_id_max_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaLimitsRequest, _impl_.user_id_list_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaLimitsRequest, _impl_.group_id_min_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaLimitsRequest, _impl_.group_id_max_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaLimitsRequest, _impl_.group_id_list_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaLimitsRequest, _impl_.pool_), - 1, - 2, - ~0u, - 3, - 4, - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::management::GetQuotaLimitsResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaLimitsResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetQuotaLimitsResponse, _impl_.limits_), - 0, - PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageRequest, _impl_.user_id_min_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageRequest, _impl_.user_id_max_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageRequest, _impl_.user_id_list_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageRequest, _impl_.group_id_min_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageRequest, _impl_.group_id_max_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageRequest, _impl_.group_id_list_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageRequest, _impl_.pool_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageRequest, _impl_.exceeded_), - 1, - 2, - ~0u, - 3, - 4, - ~0u, - 0, - 5, - PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageResponse, _impl_.entry_), - PROTOBUF_FIELD_OFFSET(::management::GetQuotaUsageResponse, _impl_.refresh_period_s_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::management::GetLicenseRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::GetLicenseRequest, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetLicenseRequest, _impl_.reload_), - 0, - PROTOBUF_FIELD_OFFSET(::management::GetLicenseResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::management::GetLicenseResponse, _internal_metadata_), - ~0u, // no _extensions_ - ~0u, // no _oneof_case_ - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::management::GetLicenseResponse, _impl_.cert_data_), - 0, -}; - -static const ::_pbi::MigrationSchema - schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - {0, 11, -1, sizeof(::management::SetAliasRequest)}, - {14, -1, -1, sizeof(::management::SetAliasResponse)}, - {22, -1, -1, sizeof(::management::GetNodesRequest)}, - {31, -1, -1, sizeof(::management::GetNodesResponse_Node_Nic)}, - {42, 54, -1, sizeof(::management::GetNodesResponse_Node)}, - {58, 70, -1, sizeof(::management::GetNodesResponse)}, - {74, 84, -1, sizeof(::management::DeleteNodeRequest)}, - {86, 95, -1, sizeof(::management::DeleteNodeResponse)}, - {96, -1, -1, sizeof(::management::GetTargetsRequest)}, - {104, 124, -1, sizeof(::management::GetTargetsResponse_Target)}, - {136, -1, -1, sizeof(::management::GetTargetsResponse)}, - {145, 155, -1, sizeof(::management::DeleteTargetRequest)}, - {157, 166, -1, sizeof(::management::DeleteTargetResponse)}, - {167, 177, -1, sizeof(::management::SetTargetStateRequest)}, - {179, -1, -1, sizeof(::management::SetTargetStateResponse)}, - {187, -1, -1, sizeof(::management::GetPoolsRequest)}, - {196, 211, -1, sizeof(::management::GetPoolsResponse_StoragePool)}, - {218, -1, -1, sizeof(::management::GetPoolsResponse)}, - {227, 240, -1, sizeof(::management::CreatePoolRequest)}, - {245, 254, -1, sizeof(::management::CreatePoolResponse)}, - {255, 266, -1, sizeof(::management::AssignPoolRequest)}, - {269, 278, -1, sizeof(::management::AssignPoolResponse)}, - {279, 289, -1, sizeof(::management::DeletePoolRequest)}, - {291, 300, -1, sizeof(::management::DeletePoolResponse)}, - {301, -1, -1, sizeof(::management::GetBuddyGroupsRequest)}, - {309, 324, -1, sizeof(::management::GetBuddyGroupsResponse_BuddyGroup)}, - {331, -1, -1, sizeof(::management::GetBuddyGroupsResponse)}, - {340, 353, -1, sizeof(::management::CreateBuddyGroupRequest)}, - {358, 367, -1, sizeof(::management::CreateBuddyGroupResponse)}, - {368, 378, -1, sizeof(::management::DeleteBuddyGroupRequest)}, - {380, 389, -1, sizeof(::management::DeleteBuddyGroupResponse)}, - {390, -1, -1, sizeof(::management::MirrorRootInodeRequest)}, - {398, -1, -1, sizeof(::management::MirrorRootInodeResponse)}, - {406, 417, -1, sizeof(::management::StartResyncRequest)}, - {420, -1, -1, sizeof(::management::StartResyncResponse)}, - {428, 443, -1, sizeof(::management::QuotaInfo)}, - {450, 463, -1, sizeof(::management::SetDefaultQuotaLimitsRequest)}, - {468, -1, -1, sizeof(::management::SetDefaultQuotaLimitsResponse)}, - {476, -1, -1, sizeof(::management::SetQuotaLimitsRequest)}, - {485, -1, -1, sizeof(::management::SetQuotaLimitsResponse)}, - {493, 508, -1, sizeof(::management::GetQuotaLimitsRequest)}, - {515, 524, -1, sizeof(::management::GetQuotaLimitsResponse)}, - {525, 541, -1, sizeof(::management::GetQuotaUsageRequest)}, - {549, 559, -1, sizeof(::management::GetQuotaUsageResponse)}, - {561, 570, -1, sizeof(::management::GetLicenseRequest)}, - {571, 580, -1, sizeof(::management::GetLicenseResponse)}, -}; -static const ::_pb::Message* const file_default_instances[] = { - &::management::_SetAliasRequest_default_instance_._instance, - &::management::_SetAliasResponse_default_instance_._instance, - &::management::_GetNodesRequest_default_instance_._instance, - &::management::_GetNodesResponse_Node_Nic_default_instance_._instance, - &::management::_GetNodesResponse_Node_default_instance_._instance, - &::management::_GetNodesResponse_default_instance_._instance, - &::management::_DeleteNodeRequest_default_instance_._instance, - &::management::_DeleteNodeResponse_default_instance_._instance, - &::management::_GetTargetsRequest_default_instance_._instance, - &::management::_GetTargetsResponse_Target_default_instance_._instance, - &::management::_GetTargetsResponse_default_instance_._instance, - &::management::_DeleteTargetRequest_default_instance_._instance, - &::management::_DeleteTargetResponse_default_instance_._instance, - &::management::_SetTargetStateRequest_default_instance_._instance, - &::management::_SetTargetStateResponse_default_instance_._instance, - &::management::_GetPoolsRequest_default_instance_._instance, - &::management::_GetPoolsResponse_StoragePool_default_instance_._instance, - &::management::_GetPoolsResponse_default_instance_._instance, - &::management::_CreatePoolRequest_default_instance_._instance, - &::management::_CreatePoolResponse_default_instance_._instance, - &::management::_AssignPoolRequest_default_instance_._instance, - &::management::_AssignPoolResponse_default_instance_._instance, - &::management::_DeletePoolRequest_default_instance_._instance, - &::management::_DeletePoolResponse_default_instance_._instance, - &::management::_GetBuddyGroupsRequest_default_instance_._instance, - &::management::_GetBuddyGroupsResponse_BuddyGroup_default_instance_._instance, - &::management::_GetBuddyGroupsResponse_default_instance_._instance, - &::management::_CreateBuddyGroupRequest_default_instance_._instance, - &::management::_CreateBuddyGroupResponse_default_instance_._instance, - &::management::_DeleteBuddyGroupRequest_default_instance_._instance, - &::management::_DeleteBuddyGroupResponse_default_instance_._instance, - &::management::_MirrorRootInodeRequest_default_instance_._instance, - &::management::_MirrorRootInodeResponse_default_instance_._instance, - &::management::_StartResyncRequest_default_instance_._instance, - &::management::_StartResyncResponse_default_instance_._instance, - &::management::_QuotaInfo_default_instance_._instance, - &::management::_SetDefaultQuotaLimitsRequest_default_instance_._instance, - &::management::_SetDefaultQuotaLimitsResponse_default_instance_._instance, - &::management::_SetQuotaLimitsRequest_default_instance_._instance, - &::management::_SetQuotaLimitsResponse_default_instance_._instance, - &::management::_GetQuotaLimitsRequest_default_instance_._instance, - &::management::_GetQuotaLimitsResponse_default_instance_._instance, - &::management::_GetQuotaUsageRequest_default_instance_._instance, - &::management::_GetQuotaUsageResponse_default_instance_._instance, - &::management::_GetLicenseRequest_default_instance_._instance, - &::management::_GetLicenseResponse_default_instance_._instance, -}; -const char descriptor_table_protodef_management_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - "\n\020management.proto\022\nmanagement\032\014beegfs.p" - "roto\032\rlicense.proto\"u\n\017SetAliasRequest\022&" - "\n\tentity_id\030\001 \001(\0132\023.beegfs.EntityIdSet\022\'" - "\n\013entity_type\030\002 \001(\0162\022.beegfs.EntityType\022" - "\021\n\tnew_alias\030\003 \001(\t\"\022\n\020SetAliasResponse\"\'" - "\n\017GetNodesRequest\022\024\n\014include_nics\030\001 \001(\010\"" - "\326\003\n\020GetNodesResponse\0220\n\005nodes\030\001 \003(\0132!.ma" - "nagement.GetNodesResponse.Node\0220\n\016meta_r" - "oot_node\030\002 \001(\0132\023.beegfs.EntityIdSetH\000\210\001\001" - "\022\024\n\007fs_uuid\030\003 \001(\tH\001\210\001\001\0227\n\025meta_root_budd" - "y_group\030\004 \001(\0132\023.beegfs.EntityIdSetH\002\210\001\001\032" - "\325\001\n\004Node\022\037\n\002id\030\001 \001(\0132\023.beegfs.EntityIdSe" - "t\022#\n\tnode_type\030\002 \001(\0162\020.beegfs.NodeType\022\014" - "\n\004port\030\003 \001(\r\0223\n\004nics\030\004 \003(\0132%.management." - "GetNodesResponse.Node.Nic\032D\n\003Nic\022\014\n\004addr" - "\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022!\n\010nic_type\030\003 \001(\0162\017" - ".beegfs.NicTypeB\021\n\017_meta_root_nodeB\n\n\010_f" - "s_uuidB\030\n\026_meta_root_buddy_group\"f\n\021Dele" - "teNodeRequest\022&\n\004node\030\001 \001(\0132\023.beegfs.Ent" - "ityIdSetH\000\210\001\001\022\024\n\007execute\030\002 \001(\010H\001\210\001\001B\007\n\005_" - "nodeB\n\n\010_execute\"E\n\022DeleteNodeResponse\022&" - "\n\004node\030\001 \001(\0132\023.beegfs.EntityIdSetH\000\210\001\001B\007" - "\n\005_node\"\023\n\021GetTargetsRequest\"\205\005\n\022GetTarg" - "etsResponse\0226\n\007targets\030\001 \003(\0132%.managemen" - "t.GetTargetsResponse.Target\032\266\004\n\006Target\022\037" - "\n\002id\030\001 \001(\0132\023.beegfs.EntityIdSet\022#\n\tnode_" - "type\030\002 \001(\0162\020.beegfs.NodeType\0225\n\022reachabi" - "lity_state\030\003 \001(\0162\031.beegfs.ReachabilitySt" - "ate\0223\n\021consistency_state\030\004 \001(\0162\030.beegfs." - "ConsistencyState\022\033\n\016last_contact_s\030\005 \001(\004" - "H\000\210\001\001\022\036\n\021total_space_bytes\030\006 \001(\004H\001\210\001\001\022\035\n" - "\020free_space_bytes\030\007 \001(\004H\002\210\001\001\022\031\n\014total_in" - "odes\030\010 \001(\004H\003\210\001\001\022\030\n\013free_inodes\030\t \001(\004H\004\210\001" - "\001\022&\n\010cap_pool\030\n \001(\0162\024.beegfs.CapacityPoo" - "l\022!\n\004node\030\013 \001(\0132\023.beegfs.EntityIdSet\022.\n\014" - "storage_pool\030\014 \001(\0132\023.beegfs.EntityIdSetH" - "\005\210\001\001B\021\n\017_last_contact_sB\024\n\022_total_space_" - "bytesB\023\n\021_free_space_bytesB\017\n\r_total_ino" - "desB\016\n\014_free_inodesB\017\n\r_storage_pool\"l\n\023" - "DeleteTargetRequest\022(\n\006target\030\001 \001(\0132\023.be" - "egfs.EntityIdSetH\000\210\001\001\022\024\n\007execute\030\002 \001(\010H\001" - "\210\001\001B\t\n\007_targetB\n\n\010_execute\"K\n\024DeleteTarg" - "etResponse\022(\n\006target\030\001 \001(\0132\023.beegfs.Enti" - "tyIdSetH\000\210\001\001B\t\n\007_target\"\234\001\n\025SetTargetSta" - "teRequest\022(\n\006target\030\001 \001(\0132\023.beegfs.Entit" - "yIdSetH\000\210\001\001\0228\n\021consistency_state\030\002 \001(\0162\030" - ".beegfs.ConsistencyStateH\001\210\001\001B\t\n\007_target" - "B\024\n\022_consistency_state\"\030\n\026SetTargetState" - "Response\",\n\017GetPoolsRequest\022\031\n\021with_quot" - "a_limits\030\001 \001(\010\"\241\003\n\020GetPoolsResponse\0227\n\005p" - "ools\030\001 \003(\0132(.management.GetPoolsResponse" - ".StoragePool\032\323\002\n\013StoragePool\022\037\n\002id\030\001 \001(\013" - "2\023.beegfs.EntityIdSet\022$\n\007targets\030\002 \003(\0132\023" - ".beegfs.EntityIdSet\022)\n\014buddy_groups\030\003 \003(" - "\0132\023.beegfs.EntityIdSet\022\035\n\020user_space_lim" - "it\030\004 \001(\003H\000\210\001\001\022\035\n\020user_inode_limit\030\005 \001(\003H" - "\001\210\001\001\022\036\n\021group_space_limit\030\006 \001(\003H\002\210\001\001\022\036\n\021" - "group_inode_limit\030\007 \001(\003H\003\210\001\001B\023\n\021_user_sp" - "ace_limitB\023\n\021_user_inode_limitB\024\n\022_group" - "_space_limitB\024\n\022_group_inode_limit\"\332\001\n\021C" - "reatePoolRequest\022(\n\tnode_type\030\001 \001(\0162\020.be" - "egfs.NodeTypeH\000\210\001\001\022\023\n\006num_id\030\002 \001(\rH\001\210\001\001\022" - "\022\n\005alias\030\003 \001(\tH\002\210\001\001\022$\n\007targets\030\004 \003(\0132\023.b" - "eegfs.EntityIdSet\022)\n\014buddy_groups\030\005 \003(\0132" - "\023.beegfs.EntityIdSetB\014\n\n_node_typeB\t\n\007_n" - "um_idB\010\n\006_alias\"E\n\022CreatePoolResponse\022&\n" - "\004pool\030\001 \001(\0132\023.beegfs.EntityIdSetH\000\210\001\001B\007\n" - "\005_pool\"\225\001\n\021AssignPoolRequest\022&\n\004pool\030\001 \001" - "(\0132\023.beegfs.EntityIdSetH\000\210\001\001\022$\n\007targets\030" - "\002 \003(\0132\023.beegfs.EntityIdSet\022)\n\014buddy_grou" - "ps\030\003 \003(\0132\023.beegfs.EntityIdSetB\007\n\005_pool\"E" - "\n\022AssignPoolResponse\022&\n\004pool\030\001 \001(\0132\023.bee" - "gfs.EntityIdSetH\000\210\001\001B\007\n\005_pool\"f\n\021DeleteP" - "oolRequest\022&\n\004pool\030\001 \001(\0132\023.beegfs.Entity" - "IdSetH\000\210\001\001\022\024\n\007execute\030\002 \001(\010H\001\210\001\001B\007\n\005_poo" - "lB\n\n\010_execute\"E\n\022DeletePoolResponse\022&\n\004p" - "ool\030\001 \001(\0132\023.beegfs.EntityIdSetH\000\210\001\001B\007\n\005_" - "pool\"\027\n\025GetBuddyGroupsRequest\"\313\003\n\026GetBud" - "dyGroupsResponse\022C\n\014buddy_groups\030\001 \003(\0132-" - ".management.GetBuddyGroupsResponse.Buddy" - "Group\032\353\002\n\nBuddyGroup\022\037\n\002id\030\001 \001(\0132\023.beegf" - "s.EntityIdSet\022#\n\tnode_type\030\002 \001(\0162\020.beegf" - "s.NodeType\022+\n\016primary_target\030\003 \001(\0132\023.bee" - "gfs.EntityIdSet\022-\n\020secondary_target\030\004 \001(" - "\0132\023.beegfs.EntityIdSet\022;\n\031primary_consis" - "tency_state\030\005 \001(\0162\030.beegfs.ConsistencySt" - "ate\022=\n\033secondary_consistency_state\030\006 \001(\016" - "2\030.beegfs.ConsistencyState\022.\n\014storage_po" - "ol\030\007 \001(\0132\023.beegfs.EntityIdSetH\000\210\001\001B\017\n\r_s" - "torage_pool\"\235\002\n\027CreateBuddyGroupRequest\022" - "(\n\tnode_type\030\001 \001(\0162\020.beegfs.NodeTypeH\000\210\001" - "\001\022\023\n\006num_id\030\002 \001(\rH\001\210\001\001\022\022\n\005alias\030\003 \001(\tH\002\210" - "\001\001\0220\n\016primary_target\030\004 \001(\0132\023.beegfs.Enti" - "tyIdSetH\003\210\001\001\0222\n\020secondary_target\030\005 \001(\0132\023" - ".beegfs.EntityIdSetH\004\210\001\001B\014\n\n_node_typeB\t" - "\n\007_num_idB\010\n\006_aliasB\021\n\017_primary_targetB\023" - "\n\021_secondary_target\"M\n\030CreateBuddyGroupR" - "esponse\022\'\n\005group\030\001 \001(\0132\023.beegfs.EntityId" - "SetH\000\210\001\001B\010\n\006_group\"n\n\027DeleteBuddyGroupRe" - "quest\022\'\n\005group\030\001 \001(\0132\023.beegfs.EntityIdSe" - "tH\000\210\001\001\022\024\n\007execute\030\002 \001(\010H\001\210\001\001B\010\n\006_groupB\n" - "\n\010_execute\"M\n\030DeleteBuddyGroupResponse\022\'" - "\n\005group\030\001 \001(\0132\023.beegfs.EntityIdSetH\000\210\001\001B" - "\010\n\006_group\"\030\n\026MirrorRootInodeRequest\"\031\n\027M" - "irrorRootInodeResponse\"\233\001\n\022StartResyncRe" - "quest\022-\n\013buddy_group\030\001 \001(\0132\023.beegfs.Enti" - "tyIdSetH\000\210\001\001\022\026\n\ttimestamp\030\002 \001(\003H\001\210\001\001\022\024\n\007" - "restart\030\003 \001(\010H\002\210\001\001B\016\n\014_buddy_groupB\014\n\n_t" - "imestampB\n\n\010_restart\"\025\n\023StartResyncRespo" - "nse\"\252\002\n\tQuotaInfo\022\025\n\010quota_id\030\001 \001(\rH\000\210\001\001" - "\022$\n\007id_type\030\002 \001(\0162\023.beegfs.QuotaIdType\022&" - "\n\004pool\030\003 \001(\0132\023.beegfs.EntityIdSetH\001\210\001\001\022\030" - "\n\013space_limit\030\004 \001(\003H\002\210\001\001\022\030\n\013inode_limit\030" - "\005 \001(\003H\003\210\001\001\022\027\n\nspace_used\030\006 \001(\003H\004\210\001\001\022\027\n\ni" - "node_used\030\007 \001(\003H\005\210\001\001B\013\n\t_quota_idB\007\n\005_po" - "olB\016\n\014_space_limitB\016\n\014_inode_limitB\r\n\013_s" - "pace_usedB\r\n\013_inode_used\"\243\002\n\034SetDefaultQ" - "uotaLimitsRequest\022&\n\004pool\030\001 \001(\0132\023.beegfs" - ".EntityIdSetH\000\210\001\001\022\035\n\020user_space_limit\030\002 " - "\001(\003H\001\210\001\001\022\035\n\020user_inode_limit\030\003 \001(\003H\002\210\001\001\022" - "\036\n\021group_space_limit\030\004 \001(\003H\003\210\001\001\022\036\n\021group" - "_inode_limit\030\005 \001(\003H\004\210\001\001B\007\n\005_poolB\023\n\021_use" - "r_space_limitB\023\n\021_user_inode_limitB\024\n\022_g" - "roup_space_limitB\024\n\022_group_inode_limit\"\037" - "\n\035SetDefaultQuotaLimitsResponse\">\n\025SetQu" - "otaLimitsRequest\022%\n\006limits\030\001 \003(\0132\025.manag" - "ement.QuotaInfo\"\030\n\026SetQuotaLimitsRespons" - "e\"\241\002\n\025GetQuotaLimitsRequest\022\030\n\013user_id_m" - "in\030\001 \001(\rH\000\210\001\001\022\030\n\013user_id_max\030\002 \001(\rH\001\210\001\001\022" - "\024\n\014user_id_list\030\003 \003(\r\022\031\n\014group_id_min\030\004 " - "\001(\rH\002\210\001\001\022\031\n\014group_id_max\030\005 \001(\rH\003\210\001\001\022\025\n\rg" - "roup_id_list\030\006 \003(\r\022&\n\004pool\030\007 \001(\0132\023.beegf" - "s.EntityIdSetH\004\210\001\001B\016\n\014_user_id_minB\016\n\014_u" - "ser_id_maxB\017\n\r_group_id_minB\017\n\r_group_id" - "_maxB\007\n\005_pool\"O\n\026GetQuotaLimitsResponse\022" - "*\n\006limits\030\001 \001(\0132\025.management.QuotaInfoH\000" - "\210\001\001B\t\n\007_limits\"\304\002\n\024GetQuotaUsageRequest\022" - "\030\n\013user_id_min\030\001 \001(\rH\000\210\001\001\022\030\n\013user_id_max" - "\030\002 \001(\rH\001\210\001\001\022\024\n\014user_id_list\030\003 \003(\r\022\031\n\014gro" - "up_id_min\030\004 \001(\rH\002\210\001\001\022\031\n\014group_id_max\030\005 \001" - "(\rH\003\210\001\001\022\025\n\rgroup_id_list\030\006 \003(\r\022&\n\004pool\030\007" - " \001(\0132\023.beegfs.EntityIdSetH\004\210\001\001\022\025\n\010exceed" - "ed\030\010 \001(\010H\005\210\001\001B\016\n\014_user_id_minB\016\n\014_user_i" - "d_maxB\017\n\r_group_id_minB\017\n\r_group_id_maxB" - "\007\n\005_poolB\013\n\t_exceeded\"\200\001\n\025GetQuotaUsageR" - "esponse\022)\n\005entry\030\001 \001(\0132\025.management.Quot" - "aInfoH\000\210\001\001\022\035\n\020refresh_period_s\030\002 \001(\004H\001\210\001" - "\001B\010\n\006_entryB\023\n\021_refresh_period_s\"3\n\021GetL" - "icenseRequest\022\023\n\006reload\030\001 \001(\010H\000\210\001\001B\t\n\007_r" - "eload\"V\n\022GetLicenseResponse\0222\n\tcert_data" - "\030\001 \001(\0132\032.license.GetCertDataResultH\000\210\001\001B" - "\014\n\n_cert_data2\230\r\n\nManagement\022E\n\010SetAlias" - "\022\033.management.SetAliasRequest\032\034.manageme" - "nt.SetAliasResponse\022E\n\010GetNodes\022\033.manage" - "ment.GetNodesRequest\032\034.management.GetNod" - "esResponse\022K\n\nDeleteNode\022\035.management.De" - "leteNodeRequest\032\036.management.DeleteNodeR" - "esponse\022K\n\nGetTargets\022\035.management.GetTa" - "rgetsRequest\032\036.management.GetTargetsResp" - "onse\022Q\n\014DeleteTarget\022\037.management.Delete" - "TargetRequest\032 .management.DeleteTargetR" - "esponse\022W\n\016SetTargetState\022!.management.S" - "etTargetStateRequest\032\".management.SetTar" - "getStateResponse\022E\n\010GetPools\022\033.managemen" - "t.GetPoolsRequest\032\034.management.GetPoolsR" - "esponse\022K\n\nCreatePool\022\035.management.Creat" - "ePoolRequest\032\036.management.CreatePoolResp" - "onse\022K\n\nAssignPool\022\035.management.AssignPo" - "olRequest\032\036.management.AssignPoolRespons" - "e\022K\n\nDeletePool\022\035.management.DeletePoolR" - "equest\032\036.management.DeletePoolResponse\022W" - "\n\016GetBuddyGroups\022!.management.GetBuddyGr" - "oupsRequest\032\".management.GetBuddyGroupsR" - "esponse\022]\n\020CreateBuddyGroup\022#.management" - ".CreateBuddyGroupRequest\032$.management.Cr" - "eateBuddyGroupResponse\022]\n\020DeleteBuddyGro" - "up\022#.management.DeleteBuddyGroupRequest\032" - "$.management.DeleteBuddyGroupResponse\022Z\n" - "\017MirrorRootInode\022\".management.MirrorRoot" - "InodeRequest\032#.management.MirrorRootInod" - "eResponse\022N\n\013StartResync\022\036.management.St" - "artResyncRequest\032\037.management.StartResyn" - "cResponse\022l\n\025SetDefaultQuotaLimits\022(.man" - "agement.SetDefaultQuotaLimitsRequest\032).m" - "anagement.SetDefaultQuotaLimitsResponse\022" - "W\n\016SetQuotaLimits\022!.management.SetQuotaL" - "imitsRequest\032\".management.SetQuotaLimits" - "Response\022Y\n\016GetQuotaLimits\022!.management." - "GetQuotaLimitsRequest\032\".management.GetQu" - "otaLimitsResponse0\001\022V\n\rGetQuotaUsage\022 .m" - "anagement.GetQuotaUsageRequest\032!.managem" - "ent.GetQuotaUsageResponse0\001\022K\n\nGetLicens" - "e\022\035.management.GetLicenseRequest\032\036.manag" - "ement.GetLicenseResponseB-Z+github.com/t" - "hinkparq/protobuf/go/managementb\006proto3" -}; -static const ::_pbi::DescriptorTable* const descriptor_table_management_2eproto_deps[2] = - { - &::descriptor_table_beegfs_2eproto, - &::descriptor_table_license_2eproto, -}; -static ::absl::once_flag descriptor_table_management_2eproto_once; -PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_management_2eproto = { - false, - false, - 7799, - descriptor_table_protodef_management_2eproto, - "management.proto", - &descriptor_table_management_2eproto_once, - descriptor_table_management_2eproto_deps, - 2, - 46, - schemas, - file_default_instances, - TableStruct_management_2eproto::offsets, - file_level_enum_descriptors_management_2eproto, - file_level_service_descriptors_management_2eproto, -}; -namespace management { -// =================================================================== - -class SetAliasRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_._has_bits_); -}; - -void SetAliasRequest::clear_entity_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.entity_id_ != nullptr) _impl_.entity_id_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -SetAliasRequest::SetAliasRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.SetAliasRequest) -} -inline PROTOBUF_NDEBUG_INLINE SetAliasRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::SetAliasRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - new_alias_(arena, from.new_alias_) {} - -SetAliasRequest::SetAliasRequest( - ::google::protobuf::Arena* arena, - const SetAliasRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SetAliasRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.entity_id_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.entity_id_) - : nullptr; - _impl_.entity_type_ = from._impl_.entity_type_; - - // @@protoc_insertion_point(copy_constructor:management.SetAliasRequest) -} -inline PROTOBUF_NDEBUG_INLINE SetAliasRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - new_alias_(arena) {} - -inline void SetAliasRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, entity_id_), - 0, - offsetof(Impl_, entity_type_) - - offsetof(Impl_, entity_id_) + - sizeof(Impl_::entity_type_)); -} -SetAliasRequest::~SetAliasRequest() { - // @@protoc_insertion_point(destructor:management.SetAliasRequest) - SharedDtor(*this); -} -inline void SetAliasRequest::SharedDtor(MessageLite& self) { - SetAliasRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.new_alias_.Destroy(); - delete this_._impl_.entity_id_; - this_._impl_.~Impl_(); -} - -inline void* SetAliasRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) SetAliasRequest(arena); -} -constexpr auto SetAliasRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SetAliasRequest), - alignof(SetAliasRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SetAliasRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SetAliasRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SetAliasRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SetAliasRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &SetAliasRequest::ByteSizeLong, - &SetAliasRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_._cached_size_), - false, - }, - &SetAliasRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetAliasRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 1, 44, 2> SetAliasRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_._has_bits_), - 0, // no _extensions_ - 3, 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967288, // skipmap - offsetof(decltype(_table_), field_entries), - 3, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::SetAliasRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // .beegfs.EntityIdSet entity_id = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_.entity_id_)}}, - // .beegfs.EntityType entity_type = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SetAliasRequest, _impl_.entity_type_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_.entity_type_)}}, - // string new_alias = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_.new_alias_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .beegfs.EntityIdSet entity_id = 1; - {PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_.entity_id_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .beegfs.EntityType entity_type = 2; - {PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_.entity_type_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // string new_alias = 3; - {PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_.new_alias_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - "\32\0\0\11\0\0\0\0" - "management.SetAliasRequest" - "new_alias" - }}, -}; - -PROTOBUF_NOINLINE void SetAliasRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.SetAliasRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.new_alias_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.entity_id_ != nullptr); - _impl_.entity_id_->Clear(); - } - _impl_.entity_type_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* SetAliasRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const SetAliasRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* SetAliasRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const SetAliasRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.SetAliasRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .beegfs.EntityIdSet entity_id = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.entity_id_, this_._impl_.entity_id_->GetCachedSize(), target, - stream); - } - - // .beegfs.EntityType entity_type = 2; - if (this_._internal_entity_type() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this_._internal_entity_type(), target); - } - - // string new_alias = 3; - if (!this_._internal_new_alias().empty()) { - const std::string& _s = this_._internal_new_alias(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "management.SetAliasRequest.new_alias"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.SetAliasRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t SetAliasRequest::ByteSizeLong(const MessageLite& base) { - const SetAliasRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t SetAliasRequest::ByteSizeLong() const { - const SetAliasRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.SetAliasRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // string new_alias = 3; - if (!this_._internal_new_alias().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_new_alias()); - } - } - { - // .beegfs.EntityIdSet entity_id = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entity_id_); - } - } - { - // .beegfs.EntityType entity_type = 2; - if (this_._internal_entity_type() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_entity_type()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void SetAliasRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.SetAliasRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_new_alias().empty()) { - _this->_internal_set_new_alias(from._internal_new_alias()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.entity_id_ != nullptr); - if (_this->_impl_.entity_id_ == nullptr) { - _this->_impl_.entity_id_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.entity_id_); - } else { - _this->_impl_.entity_id_->MergeFrom(*from._impl_.entity_id_); - } - } - if (from._internal_entity_type() != 0) { - _this->_impl_.entity_type_ = from._impl_.entity_type_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void SetAliasRequest::CopyFrom(const SetAliasRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.SetAliasRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void SetAliasRequest::InternalSwap(SetAliasRequest* PROTOBUF_RESTRICT other) { - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.new_alias_, &other->_impl_.new_alias_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_.entity_type_) - + sizeof(SetAliasRequest::_impl_.entity_type_) - - PROTOBUF_FIELD_OFFSET(SetAliasRequest, _impl_.entity_id_)>( - reinterpret_cast(&_impl_.entity_id_), - reinterpret_cast(&other->_impl_.entity_id_)); -} - -::google::protobuf::Metadata SetAliasRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class SetAliasResponse::_Internal { - public: -}; - -SetAliasResponse::SetAliasResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:management.SetAliasResponse) -} -SetAliasResponse::SetAliasResponse( - ::google::protobuf::Arena* arena, - const SetAliasResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SetAliasResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:management.SetAliasResponse) -} - -inline void* SetAliasResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) SetAliasResponse(arena); -} -constexpr auto SetAliasResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetAliasResponse), - alignof(SetAliasResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SetAliasResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SetAliasResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SetAliasResponse::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SetAliasResponse::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SetAliasResponse::ByteSizeLong, - &SetAliasResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SetAliasResponse, _impl_._cached_size_), - false, - }, - &SetAliasResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetAliasResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetAliasResponse::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::SetAliasResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, - // no field_entries, or aux_entries - {{ - }}, -}; - - - - - - - - -::google::protobuf::Metadata SetAliasResponse::GetMetadata() const { - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetNodesRequest::_Internal { - public: -}; - -GetNodesRequest::GetNodesRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetNodesRequest) -} -GetNodesRequest::GetNodesRequest( - ::google::protobuf::Arena* arena, const GetNodesRequest& from) - : GetNodesRequest(arena) { - MergeFrom(from); -} -inline PROTOBUF_NDEBUG_INLINE GetNodesRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void GetNodesRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.include_nics_ = {}; -} -GetNodesRequest::~GetNodesRequest() { - // @@protoc_insertion_point(destructor:management.GetNodesRequest) - SharedDtor(*this); -} -inline void GetNodesRequest::SharedDtor(MessageLite& self) { - GetNodesRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* GetNodesRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetNodesRequest(arena); -} -constexpr auto GetNodesRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetNodesRequest), - alignof(GetNodesRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetNodesRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetNodesRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetNodesRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetNodesRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetNodesRequest::ByteSizeLong, - &GetNodesRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetNodesRequest, _impl_._cached_size_), - false, - }, - &GetNodesRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetNodesRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 0, 0, 2> GetNodesRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetNodesRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // bool include_nics = 1; - {::_pbi::TcParser::SingularVarintNoZag1(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(GetNodesRequest, _impl_.include_nics_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // bool include_nics = 1; - {PROTOBUF_FIELD_OFFSET(GetNodesRequest, _impl_.include_nics_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - // no aux_entries - {{ - }}, -}; - -PROTOBUF_NOINLINE void GetNodesRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetNodesRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.include_nics_ = false; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetNodesRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetNodesRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetNodesRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetNodesRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetNodesRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // bool include_nics = 1; - if (this_._internal_include_nics() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 1, this_._internal_include_nics(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetNodesRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetNodesRequest::ByteSizeLong(const MessageLite& base) { - const GetNodesRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetNodesRequest::ByteSizeLong() const { - const GetNodesRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetNodesRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // bool include_nics = 1; - if (this_._internal_include_nics() != 0) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetNodesRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetNodesRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_include_nics() != 0) { - _this->_impl_.include_nics_ = from._impl_.include_nics_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetNodesRequest::CopyFrom(const GetNodesRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetNodesRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetNodesRequest::InternalSwap(GetNodesRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.include_nics_, other->_impl_.include_nics_); -} - -::google::protobuf::Metadata GetNodesRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetNodesResponse_Node_Nic::_Internal { - public: -}; - -GetNodesResponse_Node_Nic::GetNodesResponse_Node_Nic(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetNodesResponse.Node.Nic) -} -inline PROTOBUF_NDEBUG_INLINE GetNodesResponse_Node_Nic::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::GetNodesResponse_Node_Nic& from_msg) - : addr_(arena, from.addr_), - name_(arena, from.name_), - _cached_size_{0} {} - -GetNodesResponse_Node_Nic::GetNodesResponse_Node_Nic( - ::google::protobuf::Arena* arena, - const GetNodesResponse_Node_Nic& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetNodesResponse_Node_Nic* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _impl_.nic_type_ = from._impl_.nic_type_; - - // @@protoc_insertion_point(copy_constructor:management.GetNodesResponse.Node.Nic) -} -inline PROTOBUF_NDEBUG_INLINE GetNodesResponse_Node_Nic::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : addr_(arena), - name_(arena), - _cached_size_{0} {} - -inline void GetNodesResponse_Node_Nic::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.nic_type_ = {}; -} -GetNodesResponse_Node_Nic::~GetNodesResponse_Node_Nic() { - // @@protoc_insertion_point(destructor:management.GetNodesResponse.Node.Nic) - SharedDtor(*this); -} -inline void GetNodesResponse_Node_Nic::SharedDtor(MessageLite& self) { - GetNodesResponse_Node_Nic& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.addr_.Destroy(); - this_._impl_.name_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* GetNodesResponse_Node_Nic::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetNodesResponse_Node_Nic(arena); -} -constexpr auto GetNodesResponse_Node_Nic::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GetNodesResponse_Node_Nic), - alignof(GetNodesResponse_Node_Nic)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetNodesResponse_Node_Nic::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetNodesResponse_Node_Nic_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetNodesResponse_Node_Nic::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetNodesResponse_Node_Nic::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetNodesResponse_Node_Nic::ByteSizeLong, - &GetNodesResponse_Node_Nic::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node_Nic, _impl_._cached_size_), - false, - }, - &GetNodesResponse_Node_Nic::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetNodesResponse_Node_Nic::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 0, 53, 2> GetNodesResponse_Node_Nic::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 3, 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967288, // skipmap - offsetof(decltype(_table_), field_entries), - 3, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetNodesResponse_Node_Nic>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // string addr = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node_Nic, _impl_.addr_)}}, - // string name = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node_Nic, _impl_.name_)}}, - // .beegfs.NicType nic_type = 3; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetNodesResponse_Node_Nic, _impl_.nic_type_), 63>(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node_Nic, _impl_.nic_type_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string addr = 1; - {PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node_Nic, _impl_.addr_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string name = 2; - {PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node_Nic, _impl_.name_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // .beegfs.NicType nic_type = 3; - {PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node_Nic, _impl_.nic_type_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - }}, - // no aux_entries - {{ - "\44\4\4\0\0\0\0\0" - "management.GetNodesResponse.Node.Nic" - "addr" - "name" - }}, -}; - -PROTOBUF_NOINLINE void GetNodesResponse_Node_Nic::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetNodesResponse.Node.Nic) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.addr_.ClearToEmpty(); - _impl_.name_.ClearToEmpty(); - _impl_.nic_type_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetNodesResponse_Node_Nic::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetNodesResponse_Node_Nic& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetNodesResponse_Node_Nic::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetNodesResponse_Node_Nic& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetNodesResponse.Node.Nic) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string addr = 1; - if (!this_._internal_addr().empty()) { - const std::string& _s = this_._internal_addr(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "management.GetNodesResponse.Node.Nic.addr"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - // string name = 2; - if (!this_._internal_name().empty()) { - const std::string& _s = this_._internal_name(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "management.GetNodesResponse.Node.Nic.name"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - // .beegfs.NicType nic_type = 3; - if (this_._internal_nic_type() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 3, this_._internal_nic_type(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetNodesResponse.Node.Nic) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetNodesResponse_Node_Nic::ByteSizeLong(const MessageLite& base) { - const GetNodesResponse_Node_Nic& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetNodesResponse_Node_Nic::ByteSizeLong() const { - const GetNodesResponse_Node_Nic& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetNodesResponse.Node.Nic) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // string addr = 1; - if (!this_._internal_addr().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_addr()); - } - // string name = 2; - if (!this_._internal_name().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_name()); - } - // .beegfs.NicType nic_type = 3; - if (this_._internal_nic_type() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_nic_type()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetNodesResponse_Node_Nic::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetNodesResponse.Node.Nic) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_addr().empty()) { - _this->_internal_set_addr(from._internal_addr()); - } - if (!from._internal_name().empty()) { - _this->_internal_set_name(from._internal_name()); - } - if (from._internal_nic_type() != 0) { - _this->_impl_.nic_type_ = from._impl_.nic_type_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetNodesResponse_Node_Nic::CopyFrom(const GetNodesResponse_Node_Nic& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetNodesResponse.Node.Nic) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetNodesResponse_Node_Nic::InternalSwap(GetNodesResponse_Node_Nic* PROTOBUF_RESTRICT other) { - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.addr_, &other->_impl_.addr_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); - swap(_impl_.nic_type_, other->_impl_.nic_type_); -} - -::google::protobuf::Metadata GetNodesResponse_Node_Nic::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetNodesResponse_Node::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_._has_bits_); -}; - -void GetNodesResponse_Node::clear_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.id_ != nullptr) _impl_.id_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -GetNodesResponse_Node::GetNodesResponse_Node(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetNodesResponse.Node) -} -inline PROTOBUF_NDEBUG_INLINE GetNodesResponse_Node::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::GetNodesResponse_Node& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - nics_{visibility, arena, from.nics_} {} - -GetNodesResponse_Node::GetNodesResponse_Node( - ::google::protobuf::Arena* arena, - const GetNodesResponse_Node& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetNodesResponse_Node* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.id_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.id_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, node_type_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, node_type_), - offsetof(Impl_, port_) - - offsetof(Impl_, node_type_) + - sizeof(Impl_::port_)); - - // @@protoc_insertion_point(copy_constructor:management.GetNodesResponse.Node) -} -inline PROTOBUF_NDEBUG_INLINE GetNodesResponse_Node::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - nics_{visibility, arena} {} - -inline void GetNodesResponse_Node::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, id_), - 0, - offsetof(Impl_, port_) - - offsetof(Impl_, id_) + - sizeof(Impl_::port_)); -} -GetNodesResponse_Node::~GetNodesResponse_Node() { - // @@protoc_insertion_point(destructor:management.GetNodesResponse.Node) - SharedDtor(*this); -} -inline void GetNodesResponse_Node::SharedDtor(MessageLite& self) { - GetNodesResponse_Node& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.id_; - this_._impl_.~Impl_(); -} - -inline void* GetNodesResponse_Node::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetNodesResponse_Node(arena); -} -constexpr auto GetNodesResponse_Node::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.nics_) + - decltype(GetNodesResponse_Node::_impl_.nics_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetNodesResponse_Node), alignof(GetNodesResponse_Node), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&GetNodesResponse_Node::PlacementNew_, - sizeof(GetNodesResponse_Node), - alignof(GetNodesResponse_Node)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetNodesResponse_Node::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetNodesResponse_Node_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetNodesResponse_Node::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetNodesResponse_Node::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetNodesResponse_Node::ByteSizeLong, - &GetNodesResponse_Node::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_._cached_size_), - false, - }, - &GetNodesResponse_Node::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetNodesResponse_Node::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 4, 2, 0, 2> GetNodesResponse_Node::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_._has_bits_), - 0, // no _extensions_ - 4, 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967280, // skipmap - offsetof(decltype(_table_), field_entries), - 4, // num_field_entries - 2, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetNodesResponse_Node>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // repeated .management.GetNodesResponse.Node.Nic nics = 4; - {::_pbi::TcParser::FastMtR1, - {34, 63, 1, PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.nics_)}}, - // .beegfs.EntityIdSet id = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.id_)}}, - // .beegfs.NodeType node_type = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetNodesResponse_Node, _impl_.node_type_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.node_type_)}}, - // uint32 port = 3; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetNodesResponse_Node, _impl_.port_), 63>(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.port_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .beegfs.EntityIdSet id = 1; - {PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.id_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .beegfs.NodeType node_type = 2; - {PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.node_type_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // uint32 port = 3; - {PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.port_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // repeated .management.GetNodesResponse.Node.Nic nics = 4; - {PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.nics_), -1, 1, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - {::_pbi::TcParser::GetTable<::management::GetNodesResponse_Node_Nic>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void GetNodesResponse_Node::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetNodesResponse.Node) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.nics_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.id_ != nullptr); - _impl_.id_->Clear(); - } - ::memset(&_impl_.node_type_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.port_) - - reinterpret_cast(&_impl_.node_type_)) + sizeof(_impl_.port_)); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetNodesResponse_Node::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetNodesResponse_Node& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetNodesResponse_Node::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetNodesResponse_Node& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetNodesResponse.Node) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .beegfs.EntityIdSet id = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.id_, this_._impl_.id_->GetCachedSize(), target, - stream); - } - - // .beegfs.NodeType node_type = 2; - if (this_._internal_node_type() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this_._internal_node_type(), target); - } - - // uint32 port = 3; - if (this_._internal_port() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 3, this_._internal_port(), target); - } - - // repeated .management.GetNodesResponse.Node.Nic nics = 4; - for (unsigned i = 0, n = static_cast( - this_._internal_nics_size()); - i < n; i++) { - const auto& repfield = this_._internal_nics().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 4, repfield, repfield.GetCachedSize(), - target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetNodesResponse.Node) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetNodesResponse_Node::ByteSizeLong(const MessageLite& base) { - const GetNodesResponse_Node& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetNodesResponse_Node::ByteSizeLong() const { - const GetNodesResponse_Node& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetNodesResponse.Node) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated .management.GetNodesResponse.Node.Nic nics = 4; - { - total_size += 1UL * this_._internal_nics_size(); - for (const auto& msg : this_._internal_nics()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - { - // .beegfs.EntityIdSet id = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.id_); - } - } - { - // .beegfs.NodeType node_type = 2; - if (this_._internal_node_type() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_node_type()); - } - // uint32 port = 3; - if (this_._internal_port() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_port()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetNodesResponse_Node::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetNodesResponse.Node) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_nics()->MergeFrom( - from._internal_nics()); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.id_ != nullptr); - if (_this->_impl_.id_ == nullptr) { - _this->_impl_.id_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.id_); - } else { - _this->_impl_.id_->MergeFrom(*from._impl_.id_); - } - } - if (from._internal_node_type() != 0) { - _this->_impl_.node_type_ = from._impl_.node_type_; - } - if (from._internal_port() != 0) { - _this->_impl_.port_ = from._impl_.port_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetNodesResponse_Node::CopyFrom(const GetNodesResponse_Node& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetNodesResponse.Node) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetNodesResponse_Node::InternalSwap(GetNodesResponse_Node* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.nics_.InternalSwap(&other->_impl_.nics_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.port_) - + sizeof(GetNodesResponse_Node::_impl_.port_) - - PROTOBUF_FIELD_OFFSET(GetNodesResponse_Node, _impl_.id_)>( - reinterpret_cast(&_impl_.id_), - reinterpret_cast(&other->_impl_.id_)); -} - -::google::protobuf::Metadata GetNodesResponse_Node::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetNodesResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_._has_bits_); -}; - -void GetNodesResponse::clear_meta_root_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.meta_root_node_ != nullptr) _impl_.meta_root_node_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void GetNodesResponse::clear_meta_root_buddy_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.meta_root_buddy_group_ != nullptr) _impl_.meta_root_buddy_group_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -GetNodesResponse::GetNodesResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetNodesResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetNodesResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::GetNodesResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - nodes_{visibility, arena, from.nodes_}, - fs_uuid_(arena, from.fs_uuid_) {} - -GetNodesResponse::GetNodesResponse( - ::google::protobuf::Arena* arena, - const GetNodesResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetNodesResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.meta_root_node_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.meta_root_node_) - : nullptr; - _impl_.meta_root_buddy_group_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.meta_root_buddy_group_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:management.GetNodesResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetNodesResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - nodes_{visibility, arena}, - fs_uuid_(arena) {} - -inline void GetNodesResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, meta_root_node_), - 0, - offsetof(Impl_, meta_root_buddy_group_) - - offsetof(Impl_, meta_root_node_) + - sizeof(Impl_::meta_root_buddy_group_)); -} -GetNodesResponse::~GetNodesResponse() { - // @@protoc_insertion_point(destructor:management.GetNodesResponse) - SharedDtor(*this); -} -inline void GetNodesResponse::SharedDtor(MessageLite& self) { - GetNodesResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.fs_uuid_.Destroy(); - delete this_._impl_.meta_root_node_; - delete this_._impl_.meta_root_buddy_group_; - this_._impl_.~Impl_(); -} - -inline void* GetNodesResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetNodesResponse(arena); -} -constexpr auto GetNodesResponse::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_.nodes_) + - decltype(GetNodesResponse::_impl_.nodes_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(GetNodesResponse), alignof(GetNodesResponse), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&GetNodesResponse::PlacementNew_, - sizeof(GetNodesResponse), - alignof(GetNodesResponse)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetNodesResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetNodesResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetNodesResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetNodesResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetNodesResponse::ByteSizeLong, - &GetNodesResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_._cached_size_), - false, - }, - &GetNodesResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetNodesResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 4, 3, 43, 2> GetNodesResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_._has_bits_), - 0, // no _extensions_ - 4, 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967280, // skipmap - offsetof(decltype(_table_), field_entries), - 4, // num_field_entries - 3, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetNodesResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional .beegfs.EntityIdSet meta_root_buddy_group = 4; - {::_pbi::TcParser::FastMtS1, - {34, 2, 2, PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_.meta_root_buddy_group_)}}, - // repeated .management.GetNodesResponse.Node nodes = 1; - {::_pbi::TcParser::FastMtR1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_.nodes_)}}, - // optional .beegfs.EntityIdSet meta_root_node = 2; - {::_pbi::TcParser::FastMtS1, - {18, 1, 1, PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_.meta_root_node_)}}, - // optional string fs_uuid = 3; - {::_pbi::TcParser::FastUS1, - {26, 0, 0, PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_.fs_uuid_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // repeated .management.GetNodesResponse.Node nodes = 1; - {PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_.nodes_), -1, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional .beegfs.EntityIdSet meta_root_node = 2; - {PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_.meta_root_node_), _Internal::kHasBitsOffset + 1, 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional string fs_uuid = 3; - {PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_.fs_uuid_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // optional .beegfs.EntityIdSet meta_root_buddy_group = 4; - {PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_.meta_root_buddy_group_), _Internal::kHasBitsOffset + 2, 2, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::management::GetNodesResponse_Node>()}, - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - "\33\0\0\7\0\0\0\0" - "management.GetNodesResponse" - "fs_uuid" - }}, -}; - -PROTOBUF_NOINLINE void GetNodesResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetNodesResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.nodes_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.fs_uuid_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.meta_root_node_ != nullptr); - _impl_.meta_root_node_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(_impl_.meta_root_buddy_group_ != nullptr); - _impl_.meta_root_buddy_group_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetNodesResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetNodesResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetNodesResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetNodesResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetNodesResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // repeated .management.GetNodesResponse.Node nodes = 1; - for (unsigned i = 0, n = static_cast( - this_._internal_nodes_size()); - i < n; i++) { - const auto& repfield = this_._internal_nodes().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, repfield, repfield.GetCachedSize(), - target, stream); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet meta_root_node = 2; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, *this_._impl_.meta_root_node_, this_._impl_.meta_root_node_->GetCachedSize(), target, - stream); - } - - // optional string fs_uuid = 3; - if (cached_has_bits & 0x00000001u) { - const std::string& _s = this_._internal_fs_uuid(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "management.GetNodesResponse.fs_uuid"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - // optional .beegfs.EntityIdSet meta_root_buddy_group = 4; - if (cached_has_bits & 0x00000004u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 4, *this_._impl_.meta_root_buddy_group_, this_._impl_.meta_root_buddy_group_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetNodesResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetNodesResponse::ByteSizeLong(const MessageLite& base) { - const GetNodesResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetNodesResponse::ByteSizeLong() const { - const GetNodesResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetNodesResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated .management.GetNodesResponse.Node nodes = 1; - { - total_size += 1UL * this_._internal_nodes_size(); - for (const auto& msg : this_._internal_nodes()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string fs_uuid = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_fs_uuid()); - } - // optional .beegfs.EntityIdSet meta_root_node = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.meta_root_node_); - } - // optional .beegfs.EntityIdSet meta_root_buddy_group = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.meta_root_buddy_group_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetNodesResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetNodesResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_nodes()->MergeFrom( - from._internal_nodes()); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_fs_uuid(from._internal_fs_uuid()); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.meta_root_node_ != nullptr); - if (_this->_impl_.meta_root_node_ == nullptr) { - _this->_impl_.meta_root_node_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.meta_root_node_); - } else { - _this->_impl_.meta_root_node_->MergeFrom(*from._impl_.meta_root_node_); - } - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(from._impl_.meta_root_buddy_group_ != nullptr); - if (_this->_impl_.meta_root_buddy_group_ == nullptr) { - _this->_impl_.meta_root_buddy_group_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.meta_root_buddy_group_); - } else { - _this->_impl_.meta_root_buddy_group_->MergeFrom(*from._impl_.meta_root_buddy_group_); - } - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetNodesResponse::CopyFrom(const GetNodesResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetNodesResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetNodesResponse::InternalSwap(GetNodesResponse* PROTOBUF_RESTRICT other) { - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.nodes_.InternalSwap(&other->_impl_.nodes_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.fs_uuid_, &other->_impl_.fs_uuid_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_.meta_root_buddy_group_) - + sizeof(GetNodesResponse::_impl_.meta_root_buddy_group_) - - PROTOBUF_FIELD_OFFSET(GetNodesResponse, _impl_.meta_root_node_)>( - reinterpret_cast(&_impl_.meta_root_node_), - reinterpret_cast(&other->_impl_.meta_root_node_)); -} - -::google::protobuf::Metadata GetNodesResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class DeleteNodeRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(DeleteNodeRequest, _impl_._has_bits_); -}; - -void DeleteNodeRequest::clear_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.node_ != nullptr) _impl_.node_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -DeleteNodeRequest::DeleteNodeRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.DeleteNodeRequest) -} -inline PROTOBUF_NDEBUG_INLINE DeleteNodeRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::DeleteNodeRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -DeleteNodeRequest::DeleteNodeRequest( - ::google::protobuf::Arena* arena, - const DeleteNodeRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - DeleteNodeRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.node_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.node_) - : nullptr; - _impl_.execute_ = from._impl_.execute_; - - // @@protoc_insertion_point(copy_constructor:management.DeleteNodeRequest) -} -inline PROTOBUF_NDEBUG_INLINE DeleteNodeRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void DeleteNodeRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, node_), - 0, - offsetof(Impl_, execute_) - - offsetof(Impl_, node_) + - sizeof(Impl_::execute_)); -} -DeleteNodeRequest::~DeleteNodeRequest() { - // @@protoc_insertion_point(destructor:management.DeleteNodeRequest) - SharedDtor(*this); -} -inline void DeleteNodeRequest::SharedDtor(MessageLite& self) { - DeleteNodeRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.node_; - this_._impl_.~Impl_(); -} - -inline void* DeleteNodeRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) DeleteNodeRequest(arena); -} -constexpr auto DeleteNodeRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DeleteNodeRequest), - alignof(DeleteNodeRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull DeleteNodeRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_DeleteNodeRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &DeleteNodeRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &DeleteNodeRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &DeleteNodeRequest::ByteSizeLong, - &DeleteNodeRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(DeleteNodeRequest, _impl_._cached_size_), - false, - }, - &DeleteNodeRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* DeleteNodeRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeleteNodeRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(DeleteNodeRequest, _impl_._has_bits_), - 0, // no _extensions_ - 2, 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::DeleteNodeRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional bool execute = 2; - {::_pbi::TcParser::SingularVarintNoZag1(), - {16, 1, 0, PROTOBUF_FIELD_OFFSET(DeleteNodeRequest, _impl_.execute_)}}, - // optional .beegfs.EntityIdSet node = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(DeleteNodeRequest, _impl_.node_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet node = 1; - {PROTOBUF_FIELD_OFFSET(DeleteNodeRequest, _impl_.node_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional bool execute = 2; - {PROTOBUF_FIELD_OFFSET(DeleteNodeRequest, _impl_.execute_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void DeleteNodeRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.DeleteNodeRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.node_ != nullptr); - _impl_.node_->Clear(); - } - _impl_.execute_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* DeleteNodeRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const DeleteNodeRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* DeleteNodeRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const DeleteNodeRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.DeleteNodeRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet node = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.node_, this_._impl_.node_->GetCachedSize(), target, - stream); - } - - // optional bool execute = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 2, this_._internal_execute(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.DeleteNodeRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t DeleteNodeRequest::ByteSizeLong(const MessageLite& base) { - const DeleteNodeRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t DeleteNodeRequest::ByteSizeLong() const { - const DeleteNodeRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.DeleteNodeRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .beegfs.EntityIdSet node = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.node_); - } - // optional bool execute = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void DeleteNodeRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.DeleteNodeRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.node_ != nullptr); - if (_this->_impl_.node_ == nullptr) { - _this->_impl_.node_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.node_); - } else { - _this->_impl_.node_->MergeFrom(*from._impl_.node_); - } - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.execute_ = from._impl_.execute_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void DeleteNodeRequest::CopyFrom(const DeleteNodeRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.DeleteNodeRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void DeleteNodeRequest::InternalSwap(DeleteNodeRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(DeleteNodeRequest, _impl_.execute_) - + sizeof(DeleteNodeRequest::_impl_.execute_) - - PROTOBUF_FIELD_OFFSET(DeleteNodeRequest, _impl_.node_)>( - reinterpret_cast(&_impl_.node_), - reinterpret_cast(&other->_impl_.node_)); -} - -::google::protobuf::Metadata DeleteNodeRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class DeleteNodeResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(DeleteNodeResponse, _impl_._has_bits_); -}; - -void DeleteNodeResponse::clear_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.node_ != nullptr) _impl_.node_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -DeleteNodeResponse::DeleteNodeResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.DeleteNodeResponse) -} -inline PROTOBUF_NDEBUG_INLINE DeleteNodeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::DeleteNodeResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -DeleteNodeResponse::DeleteNodeResponse( - ::google::protobuf::Arena* arena, - const DeleteNodeResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - DeleteNodeResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.node_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.node_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:management.DeleteNodeResponse) -} -inline PROTOBUF_NDEBUG_INLINE DeleteNodeResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void DeleteNodeResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.node_ = {}; -} -DeleteNodeResponse::~DeleteNodeResponse() { - // @@protoc_insertion_point(destructor:management.DeleteNodeResponse) - SharedDtor(*this); -} -inline void DeleteNodeResponse::SharedDtor(MessageLite& self) { - DeleteNodeResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.node_; - this_._impl_.~Impl_(); -} - -inline void* DeleteNodeResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) DeleteNodeResponse(arena); -} -constexpr auto DeleteNodeResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DeleteNodeResponse), - alignof(DeleteNodeResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull DeleteNodeResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_DeleteNodeResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &DeleteNodeResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &DeleteNodeResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &DeleteNodeResponse::ByteSizeLong, - &DeleteNodeResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(DeleteNodeResponse, _impl_._cached_size_), - false, - }, - &DeleteNodeResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* DeleteNodeResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeleteNodeResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(DeleteNodeResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::DeleteNodeResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional .beegfs.EntityIdSet node = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(DeleteNodeResponse, _impl_.node_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet node = 1; - {PROTOBUF_FIELD_OFFSET(DeleteNodeResponse, _impl_.node_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void DeleteNodeResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:management.DeleteNodeResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.node_ != nullptr); - _impl_.node_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* DeleteNodeResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const DeleteNodeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* DeleteNodeResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const DeleteNodeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.DeleteNodeResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet node = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.node_, this_._impl_.node_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.DeleteNodeResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t DeleteNodeResponse::ByteSizeLong(const MessageLite& base) { - const DeleteNodeResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t DeleteNodeResponse::ByteSizeLong() const { - const DeleteNodeResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.DeleteNodeResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // optional .beegfs.EntityIdSet node = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.node_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void DeleteNodeResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.DeleteNodeResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.node_ != nullptr); - if (_this->_impl_.node_ == nullptr) { - _this->_impl_.node_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.node_); - } else { - _this->_impl_.node_->MergeFrom(*from._impl_.node_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void DeleteNodeResponse::CopyFrom(const DeleteNodeResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.DeleteNodeResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void DeleteNodeResponse::InternalSwap(DeleteNodeResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.node_, other->_impl_.node_); -} - -::google::protobuf::Metadata DeleteNodeResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetTargetsRequest::_Internal { - public: -}; - -GetTargetsRequest::GetTargetsRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:management.GetTargetsRequest) -} -GetTargetsRequest::GetTargetsRequest( - ::google::protobuf::Arena* arena, - const GetTargetsRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetTargetsRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:management.GetTargetsRequest) -} - -inline void* GetTargetsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetTargetsRequest(arena); -} -constexpr auto GetTargetsRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetTargetsRequest), - alignof(GetTargetsRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetTargetsRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetTargetsRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetTargetsRequest::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetTargetsRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &GetTargetsRequest::ByteSizeLong, - &GetTargetsRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetTargetsRequest, _impl_._cached_size_), - false, - }, - &GetTargetsRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetTargetsRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetTargetsRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetTargetsRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, - // no field_entries, or aux_entries - {{ - }}, -}; - - - - - - - - -::google::protobuf::Metadata GetTargetsRequest::GetMetadata() const { - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetTargetsResponse_Target::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_._has_bits_); -}; - -void GetTargetsResponse_Target::clear_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.id_ != nullptr) _impl_.id_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void GetTargetsResponse_Target::clear_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.node_ != nullptr) _impl_.node_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void GetTargetsResponse_Target::clear_storage_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.storage_pool_ != nullptr) _impl_.storage_pool_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -GetTargetsResponse_Target::GetTargetsResponse_Target(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetTargetsResponse.Target) -} -inline PROTOBUF_NDEBUG_INLINE GetTargetsResponse_Target::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::GetTargetsResponse_Target& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -GetTargetsResponse_Target::GetTargetsResponse_Target( - ::google::protobuf::Arena* arena, - const GetTargetsResponse_Target& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetTargetsResponse_Target* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.id_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.id_) - : nullptr; - _impl_.node_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.node_) - : nullptr; - _impl_.storage_pool_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.storage_pool_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, node_type_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, node_type_), - offsetof(Impl_, free_inodes_) - - offsetof(Impl_, node_type_) + - sizeof(Impl_::free_inodes_)); - - // @@protoc_insertion_point(copy_constructor:management.GetTargetsResponse.Target) -} -inline PROTOBUF_NDEBUG_INLINE GetTargetsResponse_Target::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void GetTargetsResponse_Target::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, id_), - 0, - offsetof(Impl_, free_inodes_) - - offsetof(Impl_, id_) + - sizeof(Impl_::free_inodes_)); -} -GetTargetsResponse_Target::~GetTargetsResponse_Target() { - // @@protoc_insertion_point(destructor:management.GetTargetsResponse.Target) - SharedDtor(*this); -} -inline void GetTargetsResponse_Target::SharedDtor(MessageLite& self) { - GetTargetsResponse_Target& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.id_; - delete this_._impl_.node_; - delete this_._impl_.storage_pool_; - this_._impl_.~Impl_(); -} - -inline void* GetTargetsResponse_Target::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetTargetsResponse_Target(arena); -} -constexpr auto GetTargetsResponse_Target::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetTargetsResponse_Target), - alignof(GetTargetsResponse_Target)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetTargetsResponse_Target::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetTargetsResponse_Target_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetTargetsResponse_Target::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetTargetsResponse_Target::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetTargetsResponse_Target::ByteSizeLong, - &GetTargetsResponse_Target::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_._cached_size_), - false, - }, - &GetTargetsResponse_Target::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetTargetsResponse_Target::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<4, 12, 3, 0, 2> GetTargetsResponse_Target::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_._has_bits_), - 0, // no _extensions_ - 12, 120, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294963200, // skipmap - offsetof(decltype(_table_), field_entries), - 12, // num_field_entries - 3, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetTargetsResponse_Target>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // .beegfs.EntityIdSet id = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.id_)}}, - // .beegfs.NodeType node_type = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetTargetsResponse_Target, _impl_.node_type_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.node_type_)}}, - // .beegfs.ReachabilityState reachability_state = 3; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetTargetsResponse_Target, _impl_.reachability_state_), 63>(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.reachability_state_)}}, - // .beegfs.ConsistencyState consistency_state = 4; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetTargetsResponse_Target, _impl_.consistency_state_), 63>(), - {32, 63, 0, PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.consistency_state_)}}, - // optional uint64 last_contact_s = 5; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetTargetsResponse_Target, _impl_.last_contact_s_), 3>(), - {40, 3, 0, PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.last_contact_s_)}}, - // optional uint64 total_space_bytes = 6; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetTargetsResponse_Target, _impl_.total_space_bytes_), 4>(), - {48, 4, 0, PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.total_space_bytes_)}}, - // optional uint64 free_space_bytes = 7; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetTargetsResponse_Target, _impl_.free_space_bytes_), 5>(), - {56, 5, 0, PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.free_space_bytes_)}}, - // optional uint64 total_inodes = 8; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetTargetsResponse_Target, _impl_.total_inodes_), 6>(), - {64, 6, 0, PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.total_inodes_)}}, - // optional uint64 free_inodes = 9; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetTargetsResponse_Target, _impl_.free_inodes_), 7>(), - {72, 7, 0, PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.free_inodes_)}}, - // .beegfs.CapacityPool cap_pool = 10; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetTargetsResponse_Target, _impl_.cap_pool_), 63>(), - {80, 63, 0, PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.cap_pool_)}}, - // .beegfs.EntityIdSet node = 11; - {::_pbi::TcParser::FastMtS1, - {90, 1, 1, PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.node_)}}, - // optional .beegfs.EntityIdSet storage_pool = 12; - {::_pbi::TcParser::FastMtS1, - {98, 2, 2, PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.storage_pool_)}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // .beegfs.EntityIdSet id = 1; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.id_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .beegfs.NodeType node_type = 2; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.node_type_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // .beegfs.ReachabilityState reachability_state = 3; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.reachability_state_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // .beegfs.ConsistencyState consistency_state = 4; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.consistency_state_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // optional uint64 last_contact_s = 5; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.last_contact_s_), _Internal::kHasBitsOffset + 3, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, - // optional uint64 total_space_bytes = 6; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.total_space_bytes_), _Internal::kHasBitsOffset + 4, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, - // optional uint64 free_space_bytes = 7; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.free_space_bytes_), _Internal::kHasBitsOffset + 5, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, - // optional uint64 total_inodes = 8; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.total_inodes_), _Internal::kHasBitsOffset + 6, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, - // optional uint64 free_inodes = 9; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.free_inodes_), _Internal::kHasBitsOffset + 7, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, - // .beegfs.CapacityPool cap_pool = 10; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.cap_pool_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // .beegfs.EntityIdSet node = 11; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.node_), _Internal::kHasBitsOffset + 1, 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional .beegfs.EntityIdSet storage_pool = 12; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.storage_pool_), _Internal::kHasBitsOffset + 2, 2, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void GetTargetsResponse_Target::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetTargetsResponse.Target) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.id_ != nullptr); - _impl_.id_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.node_ != nullptr); - _impl_.node_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(_impl_.storage_pool_ != nullptr); - _impl_.storage_pool_->Clear(); - } - } - ::memset(&_impl_.node_type_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.reachability_state_) - - reinterpret_cast(&_impl_.node_type_)) + sizeof(_impl_.reachability_state_)); - if (cached_has_bits & 0x00000038u) { - ::memset(&_impl_.last_contact_s_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.free_space_bytes_) - - reinterpret_cast(&_impl_.last_contact_s_)) + sizeof(_impl_.free_space_bytes_)); - } - ::memset(&_impl_.consistency_state_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.cap_pool_) - - reinterpret_cast(&_impl_.consistency_state_)) + sizeof(_impl_.cap_pool_)); - if (cached_has_bits & 0x000000c0u) { - ::memset(&_impl_.total_inodes_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.free_inodes_) - - reinterpret_cast(&_impl_.total_inodes_)) + sizeof(_impl_.free_inodes_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetTargetsResponse_Target::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetTargetsResponse_Target& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetTargetsResponse_Target::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetTargetsResponse_Target& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetTargetsResponse.Target) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .beegfs.EntityIdSet id = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.id_, this_._impl_.id_->GetCachedSize(), target, - stream); - } - - // .beegfs.NodeType node_type = 2; - if (this_._internal_node_type() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this_._internal_node_type(), target); - } - - // .beegfs.ReachabilityState reachability_state = 3; - if (this_._internal_reachability_state() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 3, this_._internal_reachability_state(), target); - } - - // .beegfs.ConsistencyState consistency_state = 4; - if (this_._internal_consistency_state() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 4, this_._internal_consistency_state(), target); - } - - // optional uint64 last_contact_s = 5; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray( - 5, this_._internal_last_contact_s(), target); - } - - // optional uint64 total_space_bytes = 6; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray( - 6, this_._internal_total_space_bytes(), target); - } - - // optional uint64 free_space_bytes = 7; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray( - 7, this_._internal_free_space_bytes(), target); - } - - // optional uint64 total_inodes = 8; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray( - 8, this_._internal_total_inodes(), target); - } - - // optional uint64 free_inodes = 9; - if (cached_has_bits & 0x00000080u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray( - 9, this_._internal_free_inodes(), target); - } - - // .beegfs.CapacityPool cap_pool = 10; - if (this_._internal_cap_pool() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 10, this_._internal_cap_pool(), target); - } - - // .beegfs.EntityIdSet node = 11; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 11, *this_._impl_.node_, this_._impl_.node_->GetCachedSize(), target, - stream); - } - - // optional .beegfs.EntityIdSet storage_pool = 12; - if (cached_has_bits & 0x00000004u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 12, *this_._impl_.storage_pool_, this_._impl_.storage_pool_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetTargetsResponse.Target) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetTargetsResponse_Target::ByteSizeLong(const MessageLite& base) { - const GetTargetsResponse_Target& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetTargetsResponse_Target::ByteSizeLong() const { - const GetTargetsResponse_Target& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetTargetsResponse.Target) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // .beegfs.EntityIdSet id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.id_); - } - // .beegfs.EntityIdSet node = 11; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.node_); - } - // optional .beegfs.EntityIdSet storage_pool = 12; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.storage_pool_); - } - } - { - // .beegfs.NodeType node_type = 2; - if (this_._internal_node_type() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_node_type()); - } - // .beegfs.ReachabilityState reachability_state = 3; - if (this_._internal_reachability_state() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_reachability_state()); - } - } - if (cached_has_bits & 0x00000038u) { - // optional uint64 last_contact_s = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( - this_._internal_last_contact_s()); - } - // optional uint64 total_space_bytes = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( - this_._internal_total_space_bytes()); - } - // optional uint64 free_space_bytes = 7; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( - this_._internal_free_space_bytes()); - } - } - { - // .beegfs.ConsistencyState consistency_state = 4; - if (this_._internal_consistency_state() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_consistency_state()); - } - // .beegfs.CapacityPool cap_pool = 10; - if (this_._internal_cap_pool() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_cap_pool()); - } - } - if (cached_has_bits & 0x000000c0u) { - // optional uint64 total_inodes = 8; - if (cached_has_bits & 0x00000040u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( - this_._internal_total_inodes()); - } - // optional uint64 free_inodes = 9; - if (cached_has_bits & 0x00000080u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( - this_._internal_free_inodes()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetTargetsResponse_Target::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetTargetsResponse.Target) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.id_ != nullptr); - if (_this->_impl_.id_ == nullptr) { - _this->_impl_.id_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.id_); - } else { - _this->_impl_.id_->MergeFrom(*from._impl_.id_); - } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.node_ != nullptr); - if (_this->_impl_.node_ == nullptr) { - _this->_impl_.node_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.node_); - } else { - _this->_impl_.node_->MergeFrom(*from._impl_.node_); - } - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(from._impl_.storage_pool_ != nullptr); - if (_this->_impl_.storage_pool_ == nullptr) { - _this->_impl_.storage_pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.storage_pool_); - } else { - _this->_impl_.storage_pool_->MergeFrom(*from._impl_.storage_pool_); - } - } - } - if (from._internal_node_type() != 0) { - _this->_impl_.node_type_ = from._impl_.node_type_; - } - if (from._internal_reachability_state() != 0) { - _this->_impl_.reachability_state_ = from._impl_.reachability_state_; - } - if (cached_has_bits & 0x00000038u) { - if (cached_has_bits & 0x00000008u) { - _this->_impl_.last_contact_s_ = from._impl_.last_contact_s_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.total_space_bytes_ = from._impl_.total_space_bytes_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.free_space_bytes_ = from._impl_.free_space_bytes_; - } - } - if (from._internal_consistency_state() != 0) { - _this->_impl_.consistency_state_ = from._impl_.consistency_state_; - } - if (from._internal_cap_pool() != 0) { - _this->_impl_.cap_pool_ = from._impl_.cap_pool_; - } - if (cached_has_bits & 0x000000c0u) { - if (cached_has_bits & 0x00000040u) { - _this->_impl_.total_inodes_ = from._impl_.total_inodes_; - } - if (cached_has_bits & 0x00000080u) { - _this->_impl_.free_inodes_ = from._impl_.free_inodes_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetTargetsResponse_Target::CopyFrom(const GetTargetsResponse_Target& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetTargetsResponse.Target) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetTargetsResponse_Target::InternalSwap(GetTargetsResponse_Target* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.free_inodes_) - + sizeof(GetTargetsResponse_Target::_impl_.free_inodes_) - - PROTOBUF_FIELD_OFFSET(GetTargetsResponse_Target, _impl_.id_)>( - reinterpret_cast(&_impl_.id_), - reinterpret_cast(&other->_impl_.id_)); -} - -::google::protobuf::Metadata GetTargetsResponse_Target::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetTargetsResponse::_Internal { - public: -}; - -GetTargetsResponse::GetTargetsResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetTargetsResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetTargetsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::GetTargetsResponse& from_msg) - : targets_{visibility, arena, from.targets_}, - _cached_size_{0} {} - -GetTargetsResponse::GetTargetsResponse( - ::google::protobuf::Arena* arena, - const GetTargetsResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetTargetsResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - - // @@protoc_insertion_point(copy_constructor:management.GetTargetsResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetTargetsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : targets_{visibility, arena}, - _cached_size_{0} {} - -inline void GetTargetsResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); -} -GetTargetsResponse::~GetTargetsResponse() { - // @@protoc_insertion_point(destructor:management.GetTargetsResponse) - SharedDtor(*this); -} -inline void GetTargetsResponse::SharedDtor(MessageLite& self) { - GetTargetsResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* GetTargetsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetTargetsResponse(arena); -} -constexpr auto GetTargetsResponse::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(GetTargetsResponse, _impl_.targets_) + - decltype(GetTargetsResponse::_impl_.targets_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetTargetsResponse), alignof(GetTargetsResponse), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&GetTargetsResponse::PlacementNew_, - sizeof(GetTargetsResponse), - alignof(GetTargetsResponse)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetTargetsResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetTargetsResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetTargetsResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetTargetsResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetTargetsResponse::ByteSizeLong, - &GetTargetsResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetTargetsResponse, _impl_._cached_size_), - false, - }, - &GetTargetsResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetTargetsResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetTargetsResponse::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetTargetsResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // repeated .management.GetTargetsResponse.Target targets = 1; - {::_pbi::TcParser::FastMtR1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetTargetsResponse, _impl_.targets_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // repeated .management.GetTargetsResponse.Target targets = 1; - {PROTOBUF_FIELD_OFFSET(GetTargetsResponse, _impl_.targets_), 0, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::management::GetTargetsResponse_Target>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void GetTargetsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetTargetsResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.targets_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetTargetsResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetTargetsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetTargetsResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetTargetsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetTargetsResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // repeated .management.GetTargetsResponse.Target targets = 1; - for (unsigned i = 0, n = static_cast( - this_._internal_targets_size()); - i < n; i++) { - const auto& repfield = this_._internal_targets().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, repfield, repfield.GetCachedSize(), - target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetTargetsResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetTargetsResponse::ByteSizeLong(const MessageLite& base) { - const GetTargetsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetTargetsResponse::ByteSizeLong() const { - const GetTargetsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetTargetsResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated .management.GetTargetsResponse.Target targets = 1; - { - total_size += 1UL * this_._internal_targets_size(); - for (const auto& msg : this_._internal_targets()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetTargetsResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetTargetsResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_targets()->MergeFrom( - from._internal_targets()); - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetTargetsResponse::CopyFrom(const GetTargetsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetTargetsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetTargetsResponse::InternalSwap(GetTargetsResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.targets_.InternalSwap(&other->_impl_.targets_); -} - -::google::protobuf::Metadata GetTargetsResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class DeleteTargetRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(DeleteTargetRequest, _impl_._has_bits_); -}; - -void DeleteTargetRequest::clear_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.target_ != nullptr) _impl_.target_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -DeleteTargetRequest::DeleteTargetRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.DeleteTargetRequest) -} -inline PROTOBUF_NDEBUG_INLINE DeleteTargetRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::DeleteTargetRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -DeleteTargetRequest::DeleteTargetRequest( - ::google::protobuf::Arena* arena, - const DeleteTargetRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - DeleteTargetRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.target_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.target_) - : nullptr; - _impl_.execute_ = from._impl_.execute_; - - // @@protoc_insertion_point(copy_constructor:management.DeleteTargetRequest) -} -inline PROTOBUF_NDEBUG_INLINE DeleteTargetRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void DeleteTargetRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, target_), - 0, - offsetof(Impl_, execute_) - - offsetof(Impl_, target_) + - sizeof(Impl_::execute_)); -} -DeleteTargetRequest::~DeleteTargetRequest() { - // @@protoc_insertion_point(destructor:management.DeleteTargetRequest) - SharedDtor(*this); -} -inline void DeleteTargetRequest::SharedDtor(MessageLite& self) { - DeleteTargetRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.target_; - this_._impl_.~Impl_(); -} - -inline void* DeleteTargetRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) DeleteTargetRequest(arena); -} -constexpr auto DeleteTargetRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DeleteTargetRequest), - alignof(DeleteTargetRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull DeleteTargetRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_DeleteTargetRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &DeleteTargetRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &DeleteTargetRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &DeleteTargetRequest::ByteSizeLong, - &DeleteTargetRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(DeleteTargetRequest, _impl_._cached_size_), - false, - }, - &DeleteTargetRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* DeleteTargetRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeleteTargetRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(DeleteTargetRequest, _impl_._has_bits_), - 0, // no _extensions_ - 2, 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::DeleteTargetRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional bool execute = 2; - {::_pbi::TcParser::SingularVarintNoZag1(), - {16, 1, 0, PROTOBUF_FIELD_OFFSET(DeleteTargetRequest, _impl_.execute_)}}, - // optional .beegfs.EntityIdSet target = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(DeleteTargetRequest, _impl_.target_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet target = 1; - {PROTOBUF_FIELD_OFFSET(DeleteTargetRequest, _impl_.target_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional bool execute = 2; - {PROTOBUF_FIELD_OFFSET(DeleteTargetRequest, _impl_.execute_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void DeleteTargetRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.DeleteTargetRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.target_ != nullptr); - _impl_.target_->Clear(); - } - _impl_.execute_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* DeleteTargetRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const DeleteTargetRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* DeleteTargetRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const DeleteTargetRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.DeleteTargetRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet target = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.target_, this_._impl_.target_->GetCachedSize(), target, - stream); - } - - // optional bool execute = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 2, this_._internal_execute(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.DeleteTargetRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t DeleteTargetRequest::ByteSizeLong(const MessageLite& base) { - const DeleteTargetRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t DeleteTargetRequest::ByteSizeLong() const { - const DeleteTargetRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.DeleteTargetRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .beegfs.EntityIdSet target = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.target_); - } - // optional bool execute = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void DeleteTargetRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.DeleteTargetRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.target_ != nullptr); - if (_this->_impl_.target_ == nullptr) { - _this->_impl_.target_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.target_); - } else { - _this->_impl_.target_->MergeFrom(*from._impl_.target_); - } - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.execute_ = from._impl_.execute_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void DeleteTargetRequest::CopyFrom(const DeleteTargetRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.DeleteTargetRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void DeleteTargetRequest::InternalSwap(DeleteTargetRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(DeleteTargetRequest, _impl_.execute_) - + sizeof(DeleteTargetRequest::_impl_.execute_) - - PROTOBUF_FIELD_OFFSET(DeleteTargetRequest, _impl_.target_)>( - reinterpret_cast(&_impl_.target_), - reinterpret_cast(&other->_impl_.target_)); -} - -::google::protobuf::Metadata DeleteTargetRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class DeleteTargetResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(DeleteTargetResponse, _impl_._has_bits_); -}; - -void DeleteTargetResponse::clear_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.target_ != nullptr) _impl_.target_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -DeleteTargetResponse::DeleteTargetResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.DeleteTargetResponse) -} -inline PROTOBUF_NDEBUG_INLINE DeleteTargetResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::DeleteTargetResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -DeleteTargetResponse::DeleteTargetResponse( - ::google::protobuf::Arena* arena, - const DeleteTargetResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - DeleteTargetResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.target_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.target_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:management.DeleteTargetResponse) -} -inline PROTOBUF_NDEBUG_INLINE DeleteTargetResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void DeleteTargetResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.target_ = {}; -} -DeleteTargetResponse::~DeleteTargetResponse() { - // @@protoc_insertion_point(destructor:management.DeleteTargetResponse) - SharedDtor(*this); -} -inline void DeleteTargetResponse::SharedDtor(MessageLite& self) { - DeleteTargetResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.target_; - this_._impl_.~Impl_(); -} - -inline void* DeleteTargetResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) DeleteTargetResponse(arena); -} -constexpr auto DeleteTargetResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DeleteTargetResponse), - alignof(DeleteTargetResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull DeleteTargetResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_DeleteTargetResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &DeleteTargetResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &DeleteTargetResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &DeleteTargetResponse::ByteSizeLong, - &DeleteTargetResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(DeleteTargetResponse, _impl_._cached_size_), - false, - }, - &DeleteTargetResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* DeleteTargetResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeleteTargetResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(DeleteTargetResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::DeleteTargetResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional .beegfs.EntityIdSet target = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(DeleteTargetResponse, _impl_.target_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet target = 1; - {PROTOBUF_FIELD_OFFSET(DeleteTargetResponse, _impl_.target_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void DeleteTargetResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:management.DeleteTargetResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.target_ != nullptr); - _impl_.target_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* DeleteTargetResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const DeleteTargetResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* DeleteTargetResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const DeleteTargetResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.DeleteTargetResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet target = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.target_, this_._impl_.target_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.DeleteTargetResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t DeleteTargetResponse::ByteSizeLong(const MessageLite& base) { - const DeleteTargetResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t DeleteTargetResponse::ByteSizeLong() const { - const DeleteTargetResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.DeleteTargetResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // optional .beegfs.EntityIdSet target = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.target_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void DeleteTargetResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.DeleteTargetResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.target_ != nullptr); - if (_this->_impl_.target_ == nullptr) { - _this->_impl_.target_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.target_); - } else { - _this->_impl_.target_->MergeFrom(*from._impl_.target_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void DeleteTargetResponse::CopyFrom(const DeleteTargetResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.DeleteTargetResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void DeleteTargetResponse::InternalSwap(DeleteTargetResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.target_, other->_impl_.target_); -} - -::google::protobuf::Metadata DeleteTargetResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class SetTargetStateRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetTargetStateRequest, _impl_._has_bits_); -}; - -void SetTargetStateRequest::clear_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.target_ != nullptr) _impl_.target_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -SetTargetStateRequest::SetTargetStateRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.SetTargetStateRequest) -} -inline PROTOBUF_NDEBUG_INLINE SetTargetStateRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::SetTargetStateRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -SetTargetStateRequest::SetTargetStateRequest( - ::google::protobuf::Arena* arena, - const SetTargetStateRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SetTargetStateRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.target_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.target_) - : nullptr; - _impl_.consistency_state_ = from._impl_.consistency_state_; - - // @@protoc_insertion_point(copy_constructor:management.SetTargetStateRequest) -} -inline PROTOBUF_NDEBUG_INLINE SetTargetStateRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void SetTargetStateRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, target_), - 0, - offsetof(Impl_, consistency_state_) - - offsetof(Impl_, target_) + - sizeof(Impl_::consistency_state_)); -} -SetTargetStateRequest::~SetTargetStateRequest() { - // @@protoc_insertion_point(destructor:management.SetTargetStateRequest) - SharedDtor(*this); -} -inline void SetTargetStateRequest::SharedDtor(MessageLite& self) { - SetTargetStateRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.target_; - this_._impl_.~Impl_(); -} - -inline void* SetTargetStateRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) SetTargetStateRequest(arena); -} -constexpr auto SetTargetStateRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetTargetStateRequest), - alignof(SetTargetStateRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SetTargetStateRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SetTargetStateRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SetTargetStateRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SetTargetStateRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &SetTargetStateRequest::ByteSizeLong, - &SetTargetStateRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SetTargetStateRequest, _impl_._cached_size_), - false, - }, - &SetTargetStateRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetTargetStateRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 0, 2> SetTargetStateRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetTargetStateRequest, _impl_._has_bits_), - 0, // no _extensions_ - 2, 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::SetTargetStateRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional .beegfs.ConsistencyState consistency_state = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SetTargetStateRequest, _impl_.consistency_state_), 1>(), - {16, 1, 0, PROTOBUF_FIELD_OFFSET(SetTargetStateRequest, _impl_.consistency_state_)}}, - // optional .beegfs.EntityIdSet target = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetTargetStateRequest, _impl_.target_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet target = 1; - {PROTOBUF_FIELD_OFFSET(SetTargetStateRequest, _impl_.target_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional .beegfs.ConsistencyState consistency_state = 2; - {PROTOBUF_FIELD_OFFSET(SetTargetStateRequest, _impl_.consistency_state_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void SetTargetStateRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.SetTargetStateRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.target_ != nullptr); - _impl_.target_->Clear(); - } - _impl_.consistency_state_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* SetTargetStateRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const SetTargetStateRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* SetTargetStateRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const SetTargetStateRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.SetTargetStateRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet target = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.target_, this_._impl_.target_->GetCachedSize(), target, - stream); - } - - // optional .beegfs.ConsistencyState consistency_state = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this_._internal_consistency_state(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.SetTargetStateRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t SetTargetStateRequest::ByteSizeLong(const MessageLite& base) { - const SetTargetStateRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t SetTargetStateRequest::ByteSizeLong() const { - const SetTargetStateRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.SetTargetStateRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .beegfs.EntityIdSet target = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.target_); - } - // optional .beegfs.ConsistencyState consistency_state = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_consistency_state()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void SetTargetStateRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.SetTargetStateRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.target_ != nullptr); - if (_this->_impl_.target_ == nullptr) { - _this->_impl_.target_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.target_); - } else { - _this->_impl_.target_->MergeFrom(*from._impl_.target_); - } - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.consistency_state_ = from._impl_.consistency_state_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void SetTargetStateRequest::CopyFrom(const SetTargetStateRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.SetTargetStateRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void SetTargetStateRequest::InternalSwap(SetTargetStateRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(SetTargetStateRequest, _impl_.consistency_state_) - + sizeof(SetTargetStateRequest::_impl_.consistency_state_) - - PROTOBUF_FIELD_OFFSET(SetTargetStateRequest, _impl_.target_)>( - reinterpret_cast(&_impl_.target_), - reinterpret_cast(&other->_impl_.target_)); -} - -::google::protobuf::Metadata SetTargetStateRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class SetTargetStateResponse::_Internal { - public: -}; - -SetTargetStateResponse::SetTargetStateResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:management.SetTargetStateResponse) -} -SetTargetStateResponse::SetTargetStateResponse( - ::google::protobuf::Arena* arena, - const SetTargetStateResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SetTargetStateResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:management.SetTargetStateResponse) -} - -inline void* SetTargetStateResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) SetTargetStateResponse(arena); -} -constexpr auto SetTargetStateResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetTargetStateResponse), - alignof(SetTargetStateResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SetTargetStateResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SetTargetStateResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SetTargetStateResponse::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SetTargetStateResponse::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SetTargetStateResponse::ByteSizeLong, - &SetTargetStateResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SetTargetStateResponse, _impl_._cached_size_), - false, - }, - &SetTargetStateResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetTargetStateResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetTargetStateResponse::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::SetTargetStateResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, - // no field_entries, or aux_entries - {{ - }}, -}; - - - - - - - - -::google::protobuf::Metadata SetTargetStateResponse::GetMetadata() const { - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetPoolsRequest::_Internal { - public: -}; - -GetPoolsRequest::GetPoolsRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetPoolsRequest) -} -GetPoolsRequest::GetPoolsRequest( - ::google::protobuf::Arena* arena, const GetPoolsRequest& from) - : GetPoolsRequest(arena) { - MergeFrom(from); -} -inline PROTOBUF_NDEBUG_INLINE GetPoolsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void GetPoolsRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.with_quota_limits_ = {}; -} -GetPoolsRequest::~GetPoolsRequest() { - // @@protoc_insertion_point(destructor:management.GetPoolsRequest) - SharedDtor(*this); -} -inline void GetPoolsRequest::SharedDtor(MessageLite& self) { - GetPoolsRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* GetPoolsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetPoolsRequest(arena); -} -constexpr auto GetPoolsRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetPoolsRequest), - alignof(GetPoolsRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetPoolsRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetPoolsRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetPoolsRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetPoolsRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetPoolsRequest::ByteSizeLong, - &GetPoolsRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetPoolsRequest, _impl_._cached_size_), - false, - }, - &GetPoolsRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetPoolsRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 0, 0, 2> GetPoolsRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetPoolsRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // bool with_quota_limits = 1; - {::_pbi::TcParser::SingularVarintNoZag1(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(GetPoolsRequest, _impl_.with_quota_limits_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // bool with_quota_limits = 1; - {PROTOBUF_FIELD_OFFSET(GetPoolsRequest, _impl_.with_quota_limits_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - // no aux_entries - {{ - }}, -}; - -PROTOBUF_NOINLINE void GetPoolsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetPoolsRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.with_quota_limits_ = false; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetPoolsRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetPoolsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetPoolsRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetPoolsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetPoolsRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // bool with_quota_limits = 1; - if (this_._internal_with_quota_limits() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 1, this_._internal_with_quota_limits(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetPoolsRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetPoolsRequest::ByteSizeLong(const MessageLite& base) { - const GetPoolsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetPoolsRequest::ByteSizeLong() const { - const GetPoolsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetPoolsRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // bool with_quota_limits = 1; - if (this_._internal_with_quota_limits() != 0) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetPoolsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetPoolsRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_with_quota_limits() != 0) { - _this->_impl_.with_quota_limits_ = from._impl_.with_quota_limits_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetPoolsRequest::CopyFrom(const GetPoolsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetPoolsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetPoolsRequest::InternalSwap(GetPoolsRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.with_quota_limits_, other->_impl_.with_quota_limits_); -} - -::google::protobuf::Metadata GetPoolsRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetPoolsResponse_StoragePool::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_._has_bits_); -}; - -void GetPoolsResponse_StoragePool::clear_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.id_ != nullptr) _impl_.id_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void GetPoolsResponse_StoragePool::clear_targets() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.targets_.Clear(); -} -void GetPoolsResponse_StoragePool::clear_buddy_groups() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.buddy_groups_.Clear(); -} -GetPoolsResponse_StoragePool::GetPoolsResponse_StoragePool(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetPoolsResponse.StoragePool) -} -inline PROTOBUF_NDEBUG_INLINE GetPoolsResponse_StoragePool::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::GetPoolsResponse_StoragePool& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - targets_{visibility, arena, from.targets_}, - buddy_groups_{visibility, arena, from.buddy_groups_} {} - -GetPoolsResponse_StoragePool::GetPoolsResponse_StoragePool( - ::google::protobuf::Arena* arena, - const GetPoolsResponse_StoragePool& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetPoolsResponse_StoragePool* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.id_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.id_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, user_space_limit_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, user_space_limit_), - offsetof(Impl_, group_inode_limit_) - - offsetof(Impl_, user_space_limit_) + - sizeof(Impl_::group_inode_limit_)); - - // @@protoc_insertion_point(copy_constructor:management.GetPoolsResponse.StoragePool) -} -inline PROTOBUF_NDEBUG_INLINE GetPoolsResponse_StoragePool::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - targets_{visibility, arena}, - buddy_groups_{visibility, arena} {} - -inline void GetPoolsResponse_StoragePool::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, id_), - 0, - offsetof(Impl_, group_inode_limit_) - - offsetof(Impl_, id_) + - sizeof(Impl_::group_inode_limit_)); -} -GetPoolsResponse_StoragePool::~GetPoolsResponse_StoragePool() { - // @@protoc_insertion_point(destructor:management.GetPoolsResponse.StoragePool) - SharedDtor(*this); -} -inline void GetPoolsResponse_StoragePool::SharedDtor(MessageLite& self) { - GetPoolsResponse_StoragePool& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.id_; - this_._impl_.~Impl_(); -} - -inline void* GetPoolsResponse_StoragePool::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetPoolsResponse_StoragePool(arena); -} -constexpr auto GetPoolsResponse_StoragePool::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.targets_) + - decltype(GetPoolsResponse_StoragePool::_impl_.targets_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.buddy_groups_) + - decltype(GetPoolsResponse_StoragePool::_impl_.buddy_groups_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetPoolsResponse_StoragePool), alignof(GetPoolsResponse_StoragePool), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&GetPoolsResponse_StoragePool::PlacementNew_, - sizeof(GetPoolsResponse_StoragePool), - alignof(GetPoolsResponse_StoragePool)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetPoolsResponse_StoragePool::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetPoolsResponse_StoragePool_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetPoolsResponse_StoragePool::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetPoolsResponse_StoragePool::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetPoolsResponse_StoragePool::ByteSizeLong, - &GetPoolsResponse_StoragePool::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_._cached_size_), - false, - }, - &GetPoolsResponse_StoragePool::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetPoolsResponse_StoragePool::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 7, 3, 0, 2> GetPoolsResponse_StoragePool::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_._has_bits_), - 0, // no _extensions_ - 7, 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967168, // skipmap - offsetof(decltype(_table_), field_entries), - 7, // num_field_entries - 3, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetPoolsResponse_StoragePool>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // .beegfs.EntityIdSet id = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.id_)}}, - // repeated .beegfs.EntityIdSet targets = 2; - {::_pbi::TcParser::FastMtR1, - {18, 63, 1, PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.targets_)}}, - // repeated .beegfs.EntityIdSet buddy_groups = 3; - {::_pbi::TcParser::FastMtR1, - {26, 63, 2, PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.buddy_groups_)}}, - // optional int64 user_space_limit = 4; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetPoolsResponse_StoragePool, _impl_.user_space_limit_), 1>(), - {32, 1, 0, PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.user_space_limit_)}}, - // optional int64 user_inode_limit = 5; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetPoolsResponse_StoragePool, _impl_.user_inode_limit_), 2>(), - {40, 2, 0, PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.user_inode_limit_)}}, - // optional int64 group_space_limit = 6; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetPoolsResponse_StoragePool, _impl_.group_space_limit_), 3>(), - {48, 3, 0, PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.group_space_limit_)}}, - // optional int64 group_inode_limit = 7; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetPoolsResponse_StoragePool, _impl_.group_inode_limit_), 4>(), - {56, 4, 0, PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.group_inode_limit_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .beegfs.EntityIdSet id = 1; - {PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.id_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // repeated .beegfs.EntityIdSet targets = 2; - {PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.targets_), -1, 1, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - // repeated .beegfs.EntityIdSet buddy_groups = 3; - {PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.buddy_groups_), -1, 2, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional int64 user_space_limit = 4; - {PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.user_space_limit_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - // optional int64 user_inode_limit = 5; - {PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.user_inode_limit_), _Internal::kHasBitsOffset + 2, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - // optional int64 group_space_limit = 6; - {PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.group_space_limit_), _Internal::kHasBitsOffset + 3, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - // optional int64 group_inode_limit = 7; - {PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.group_inode_limit_), _Internal::kHasBitsOffset + 4, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void GetPoolsResponse_StoragePool::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetPoolsResponse.StoragePool) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.targets_.Clear(); - _impl_.buddy_groups_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.id_ != nullptr); - _impl_.id_->Clear(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.user_space_limit_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.group_inode_limit_) - - reinterpret_cast(&_impl_.user_space_limit_)) + sizeof(_impl_.group_inode_limit_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetPoolsResponse_StoragePool::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetPoolsResponse_StoragePool& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetPoolsResponse_StoragePool::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetPoolsResponse_StoragePool& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetPoolsResponse.StoragePool) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .beegfs.EntityIdSet id = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.id_, this_._impl_.id_->GetCachedSize(), target, - stream); - } - - // repeated .beegfs.EntityIdSet targets = 2; - for (unsigned i = 0, n = static_cast( - this_._internal_targets_size()); - i < n; i++) { - const auto& repfield = this_._internal_targets().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, repfield, repfield.GetCachedSize(), - target, stream); - } - - // repeated .beegfs.EntityIdSet buddy_groups = 3; - for (unsigned i = 0, n = static_cast( - this_._internal_buddy_groups_size()); - i < n; i++) { - const auto& repfield = this_._internal_buddy_groups().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 3, repfield, repfield.GetCachedSize(), - target, stream); - } - - // optional int64 user_space_limit = 4; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<4>( - stream, this_._internal_user_space_limit(), target); - } - - // optional int64 user_inode_limit = 5; - if (cached_has_bits & 0x00000004u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<5>( - stream, this_._internal_user_inode_limit(), target); - } - - // optional int64 group_space_limit = 6; - if (cached_has_bits & 0x00000008u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<6>( - stream, this_._internal_group_space_limit(), target); - } - - // optional int64 group_inode_limit = 7; - if (cached_has_bits & 0x00000010u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<7>( - stream, this_._internal_group_inode_limit(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetPoolsResponse.StoragePool) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetPoolsResponse_StoragePool::ByteSizeLong(const MessageLite& base) { - const GetPoolsResponse_StoragePool& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetPoolsResponse_StoragePool::ByteSizeLong() const { - const GetPoolsResponse_StoragePool& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetPoolsResponse.StoragePool) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated .beegfs.EntityIdSet targets = 2; - { - total_size += 1UL * this_._internal_targets_size(); - for (const auto& msg : this_._internal_targets()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - // repeated .beegfs.EntityIdSet buddy_groups = 3; - { - total_size += 1UL * this_._internal_buddy_groups_size(); - for (const auto& msg : this_._internal_buddy_groups()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // .beegfs.EntityIdSet id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.id_); - } - // optional int64 user_space_limit = 4; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_user_space_limit()); - } - // optional int64 user_inode_limit = 5; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_user_inode_limit()); - } - // optional int64 group_space_limit = 6; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_group_space_limit()); - } - // optional int64 group_inode_limit = 7; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_group_inode_limit()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetPoolsResponse_StoragePool::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetPoolsResponse.StoragePool) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_targets()->MergeFrom( - from._internal_targets()); - _this->_internal_mutable_buddy_groups()->MergeFrom( - from._internal_buddy_groups()); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.id_ != nullptr); - if (_this->_impl_.id_ == nullptr) { - _this->_impl_.id_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.id_); - } else { - _this->_impl_.id_->MergeFrom(*from._impl_.id_); - } - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.user_space_limit_ = from._impl_.user_space_limit_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.user_inode_limit_ = from._impl_.user_inode_limit_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.group_space_limit_ = from._impl_.group_space_limit_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.group_inode_limit_ = from._impl_.group_inode_limit_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetPoolsResponse_StoragePool::CopyFrom(const GetPoolsResponse_StoragePool& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetPoolsResponse.StoragePool) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetPoolsResponse_StoragePool::InternalSwap(GetPoolsResponse_StoragePool* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.targets_.InternalSwap(&other->_impl_.targets_); - _impl_.buddy_groups_.InternalSwap(&other->_impl_.buddy_groups_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.group_inode_limit_) - + sizeof(GetPoolsResponse_StoragePool::_impl_.group_inode_limit_) - - PROTOBUF_FIELD_OFFSET(GetPoolsResponse_StoragePool, _impl_.id_)>( - reinterpret_cast(&_impl_.id_), - reinterpret_cast(&other->_impl_.id_)); -} - -::google::protobuf::Metadata GetPoolsResponse_StoragePool::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetPoolsResponse::_Internal { - public: -}; - -GetPoolsResponse::GetPoolsResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetPoolsResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetPoolsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::GetPoolsResponse& from_msg) - : pools_{visibility, arena, from.pools_}, - _cached_size_{0} {} - -GetPoolsResponse::GetPoolsResponse( - ::google::protobuf::Arena* arena, - const GetPoolsResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetPoolsResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - - // @@protoc_insertion_point(copy_constructor:management.GetPoolsResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetPoolsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : pools_{visibility, arena}, - _cached_size_{0} {} - -inline void GetPoolsResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); -} -GetPoolsResponse::~GetPoolsResponse() { - // @@protoc_insertion_point(destructor:management.GetPoolsResponse) - SharedDtor(*this); -} -inline void GetPoolsResponse::SharedDtor(MessageLite& self) { - GetPoolsResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* GetPoolsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetPoolsResponse(arena); -} -constexpr auto GetPoolsResponse::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(GetPoolsResponse, _impl_.pools_) + - decltype(GetPoolsResponse::_impl_.pools_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetPoolsResponse), alignof(GetPoolsResponse), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&GetPoolsResponse::PlacementNew_, - sizeof(GetPoolsResponse), - alignof(GetPoolsResponse)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetPoolsResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetPoolsResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetPoolsResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetPoolsResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetPoolsResponse::ByteSizeLong, - &GetPoolsResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetPoolsResponse, _impl_._cached_size_), - false, - }, - &GetPoolsResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetPoolsResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetPoolsResponse::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetPoolsResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // repeated .management.GetPoolsResponse.StoragePool pools = 1; - {::_pbi::TcParser::FastMtR1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetPoolsResponse, _impl_.pools_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // repeated .management.GetPoolsResponse.StoragePool pools = 1; - {PROTOBUF_FIELD_OFFSET(GetPoolsResponse, _impl_.pools_), 0, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::management::GetPoolsResponse_StoragePool>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void GetPoolsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetPoolsResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.pools_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetPoolsResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetPoolsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetPoolsResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetPoolsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetPoolsResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // repeated .management.GetPoolsResponse.StoragePool pools = 1; - for (unsigned i = 0, n = static_cast( - this_._internal_pools_size()); - i < n; i++) { - const auto& repfield = this_._internal_pools().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, repfield, repfield.GetCachedSize(), - target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetPoolsResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetPoolsResponse::ByteSizeLong(const MessageLite& base) { - const GetPoolsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetPoolsResponse::ByteSizeLong() const { - const GetPoolsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetPoolsResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated .management.GetPoolsResponse.StoragePool pools = 1; - { - total_size += 1UL * this_._internal_pools_size(); - for (const auto& msg : this_._internal_pools()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetPoolsResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetPoolsResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_pools()->MergeFrom( - from._internal_pools()); - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetPoolsResponse::CopyFrom(const GetPoolsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetPoolsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetPoolsResponse::InternalSwap(GetPoolsResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.pools_.InternalSwap(&other->_impl_.pools_); -} - -::google::protobuf::Metadata GetPoolsResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class CreatePoolRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_._has_bits_); -}; - -void CreatePoolRequest::clear_targets() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.targets_.Clear(); -} -void CreatePoolRequest::clear_buddy_groups() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.buddy_groups_.Clear(); -} -CreatePoolRequest::CreatePoolRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.CreatePoolRequest) -} -inline PROTOBUF_NDEBUG_INLINE CreatePoolRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::CreatePoolRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - targets_{visibility, arena, from.targets_}, - buddy_groups_{visibility, arena, from.buddy_groups_}, - alias_(arena, from.alias_) {} - -CreatePoolRequest::CreatePoolRequest( - ::google::protobuf::Arena* arena, - const CreatePoolRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - CreatePoolRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, node_type_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, node_type_), - offsetof(Impl_, num_id_) - - offsetof(Impl_, node_type_) + - sizeof(Impl_::num_id_)); - - // @@protoc_insertion_point(copy_constructor:management.CreatePoolRequest) -} -inline PROTOBUF_NDEBUG_INLINE CreatePoolRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - targets_{visibility, arena}, - buddy_groups_{visibility, arena}, - alias_(arena) {} - -inline void CreatePoolRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, node_type_), - 0, - offsetof(Impl_, num_id_) - - offsetof(Impl_, node_type_) + - sizeof(Impl_::num_id_)); -} -CreatePoolRequest::~CreatePoolRequest() { - // @@protoc_insertion_point(destructor:management.CreatePoolRequest) - SharedDtor(*this); -} -inline void CreatePoolRequest::SharedDtor(MessageLite& self) { - CreatePoolRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.alias_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* CreatePoolRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) CreatePoolRequest(arena); -} -constexpr auto CreatePoolRequest::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_.targets_) + - decltype(CreatePoolRequest::_impl_.targets_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_.buddy_groups_) + - decltype(CreatePoolRequest::_impl_.buddy_groups_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(CreatePoolRequest), alignof(CreatePoolRequest), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&CreatePoolRequest::PlacementNew_, - sizeof(CreatePoolRequest), - alignof(CreatePoolRequest)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull CreatePoolRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_CreatePoolRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &CreatePoolRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &CreatePoolRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &CreatePoolRequest::ByteSizeLong, - &CreatePoolRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_._cached_size_), - false, - }, - &CreatePoolRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* CreatePoolRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 5, 2, 42, 2> CreatePoolRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_._has_bits_), - 0, // no _extensions_ - 5, 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967264, // skipmap - offsetof(decltype(_table_), field_entries), - 5, // num_field_entries - 2, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::CreatePoolRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // optional .beegfs.NodeType node_type = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CreatePoolRequest, _impl_.node_type_), 1>(), - {8, 1, 0, PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_.node_type_)}}, - // optional uint32 num_id = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CreatePoolRequest, _impl_.num_id_), 2>(), - {16, 2, 0, PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_.num_id_)}}, - // optional string alias = 3; - {::_pbi::TcParser::FastUS1, - {26, 0, 0, PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_.alias_)}}, - // repeated .beegfs.EntityIdSet targets = 4; - {::_pbi::TcParser::FastMtR1, - {34, 63, 0, PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_.targets_)}}, - // repeated .beegfs.EntityIdSet buddy_groups = 5; - {::_pbi::TcParser::FastMtR1, - {42, 63, 1, PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_.buddy_groups_)}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.NodeType node_type = 1; - {PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_.node_type_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, - // optional uint32 num_id = 2; - {PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_.num_id_), _Internal::kHasBitsOffset + 2, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, - // optional string alias = 3; - {PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_.alias_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // repeated .beegfs.EntityIdSet targets = 4; - {PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_.targets_), -1, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - // repeated .beegfs.EntityIdSet buddy_groups = 5; - {PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_.buddy_groups_), -1, 1, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - "\34\0\0\5\0\0\0\0" - "management.CreatePoolRequest" - "alias" - }}, -}; - -PROTOBUF_NOINLINE void CreatePoolRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.CreatePoolRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.targets_.Clear(); - _impl_.buddy_groups_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.alias_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.node_type_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.num_id_) - - reinterpret_cast(&_impl_.node_type_)) + sizeof(_impl_.num_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* CreatePoolRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const CreatePoolRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* CreatePoolRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const CreatePoolRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.CreatePoolRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.NodeType node_type = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this_._internal_node_type(), target); - } - - // optional uint32 num_id = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 2, this_._internal_num_id(), target); - } - - // optional string alias = 3; - if (cached_has_bits & 0x00000001u) { - const std::string& _s = this_._internal_alias(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "management.CreatePoolRequest.alias"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - // repeated .beegfs.EntityIdSet targets = 4; - for (unsigned i = 0, n = static_cast( - this_._internal_targets_size()); - i < n; i++) { - const auto& repfield = this_._internal_targets().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 4, repfield, repfield.GetCachedSize(), - target, stream); - } - - // repeated .beegfs.EntityIdSet buddy_groups = 5; - for (unsigned i = 0, n = static_cast( - this_._internal_buddy_groups_size()); - i < n; i++) { - const auto& repfield = this_._internal_buddy_groups().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 5, repfield, repfield.GetCachedSize(), - target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.CreatePoolRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t CreatePoolRequest::ByteSizeLong(const MessageLite& base) { - const CreatePoolRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t CreatePoolRequest::ByteSizeLong() const { - const CreatePoolRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.CreatePoolRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated .beegfs.EntityIdSet targets = 4; - { - total_size += 1UL * this_._internal_targets_size(); - for (const auto& msg : this_._internal_targets()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - // repeated .beegfs.EntityIdSet buddy_groups = 5; - { - total_size += 1UL * this_._internal_buddy_groups_size(); - for (const auto& msg : this_._internal_buddy_groups()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string alias = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_alias()); - } - // optional .beegfs.NodeType node_type = 1; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_node_type()); - } - // optional uint32 num_id = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_num_id()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void CreatePoolRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:management.CreatePoolRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_targets()->MergeFrom( - from._internal_targets()); - _this->_internal_mutable_buddy_groups()->MergeFrom( - from._internal_buddy_groups()); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_alias(from._internal_alias()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.node_type_ = from._impl_.node_type_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.num_id_ = from._impl_.num_id_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void CreatePoolRequest::CopyFrom(const CreatePoolRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.CreatePoolRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void CreatePoolRequest::InternalSwap(CreatePoolRequest* PROTOBUF_RESTRICT other) { - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.targets_.InternalSwap(&other->_impl_.targets_); - _impl_.buddy_groups_.InternalSwap(&other->_impl_.buddy_groups_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.alias_, &other->_impl_.alias_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_.num_id_) - + sizeof(CreatePoolRequest::_impl_.num_id_) - - PROTOBUF_FIELD_OFFSET(CreatePoolRequest, _impl_.node_type_)>( - reinterpret_cast(&_impl_.node_type_), - reinterpret_cast(&other->_impl_.node_type_)); -} - -::google::protobuf::Metadata CreatePoolRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class CreatePoolResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(CreatePoolResponse, _impl_._has_bits_); -}; - -void CreatePoolResponse::clear_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CreatePoolResponse::CreatePoolResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.CreatePoolResponse) -} -inline PROTOBUF_NDEBUG_INLINE CreatePoolResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::CreatePoolResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -CreatePoolResponse::CreatePoolResponse( - ::google::protobuf::Arena* arena, - const CreatePoolResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - CreatePoolResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.pool_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.pool_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:management.CreatePoolResponse) -} -inline PROTOBUF_NDEBUG_INLINE CreatePoolResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void CreatePoolResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.pool_ = {}; -} -CreatePoolResponse::~CreatePoolResponse() { - // @@protoc_insertion_point(destructor:management.CreatePoolResponse) - SharedDtor(*this); -} -inline void CreatePoolResponse::SharedDtor(MessageLite& self) { - CreatePoolResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.pool_; - this_._impl_.~Impl_(); -} - -inline void* CreatePoolResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) CreatePoolResponse(arena); -} -constexpr auto CreatePoolResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CreatePoolResponse), - alignof(CreatePoolResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull CreatePoolResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_CreatePoolResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &CreatePoolResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &CreatePoolResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &CreatePoolResponse::ByteSizeLong, - &CreatePoolResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(CreatePoolResponse, _impl_._cached_size_), - false, - }, - &CreatePoolResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* CreatePoolResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> CreatePoolResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(CreatePoolResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::CreatePoolResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional .beegfs.EntityIdSet pool = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(CreatePoolResponse, _impl_.pool_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet pool = 1; - {PROTOBUF_FIELD_OFFSET(CreatePoolResponse, _impl_.pool_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void CreatePoolResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:management.CreatePoolResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.pool_ != nullptr); - _impl_.pool_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* CreatePoolResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const CreatePoolResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* CreatePoolResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const CreatePoolResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.CreatePoolResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet pool = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.pool_, this_._impl_.pool_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.CreatePoolResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t CreatePoolResponse::ByteSizeLong(const MessageLite& base) { - const CreatePoolResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t CreatePoolResponse::ByteSizeLong() const { - const CreatePoolResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.CreatePoolResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // optional .beegfs.EntityIdSet pool = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pool_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void CreatePoolResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.CreatePoolResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.pool_ != nullptr); - if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); - } else { - _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void CreatePoolResponse::CopyFrom(const CreatePoolResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.CreatePoolResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void CreatePoolResponse::InternalSwap(CreatePoolResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.pool_, other->_impl_.pool_); -} - -::google::protobuf::Metadata CreatePoolResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class AssignPoolRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(AssignPoolRequest, _impl_._has_bits_); -}; - -void AssignPoolRequest::clear_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void AssignPoolRequest::clear_targets() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.targets_.Clear(); -} -void AssignPoolRequest::clear_buddy_groups() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.buddy_groups_.Clear(); -} -AssignPoolRequest::AssignPoolRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.AssignPoolRequest) -} -inline PROTOBUF_NDEBUG_INLINE AssignPoolRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::AssignPoolRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - targets_{visibility, arena, from.targets_}, - buddy_groups_{visibility, arena, from.buddy_groups_} {} - -AssignPoolRequest::AssignPoolRequest( - ::google::protobuf::Arena* arena, - const AssignPoolRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - AssignPoolRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.pool_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.pool_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:management.AssignPoolRequest) -} -inline PROTOBUF_NDEBUG_INLINE AssignPoolRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - targets_{visibility, arena}, - buddy_groups_{visibility, arena} {} - -inline void AssignPoolRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.pool_ = {}; -} -AssignPoolRequest::~AssignPoolRequest() { - // @@protoc_insertion_point(destructor:management.AssignPoolRequest) - SharedDtor(*this); -} -inline void AssignPoolRequest::SharedDtor(MessageLite& self) { - AssignPoolRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.pool_; - this_._impl_.~Impl_(); -} - -inline void* AssignPoolRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) AssignPoolRequest(arena); -} -constexpr auto AssignPoolRequest::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(AssignPoolRequest, _impl_.targets_) + - decltype(AssignPoolRequest::_impl_.targets_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - PROTOBUF_FIELD_OFFSET(AssignPoolRequest, _impl_.buddy_groups_) + - decltype(AssignPoolRequest::_impl_.buddy_groups_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(AssignPoolRequest), alignof(AssignPoolRequest), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&AssignPoolRequest::PlacementNew_, - sizeof(AssignPoolRequest), - alignof(AssignPoolRequest)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull AssignPoolRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_AssignPoolRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &AssignPoolRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &AssignPoolRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &AssignPoolRequest::ByteSizeLong, - &AssignPoolRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(AssignPoolRequest, _impl_._cached_size_), - false, - }, - &AssignPoolRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* AssignPoolRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 3, 0, 2> AssignPoolRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(AssignPoolRequest, _impl_._has_bits_), - 0, // no _extensions_ - 3, 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967288, // skipmap - offsetof(decltype(_table_), field_entries), - 3, // num_field_entries - 3, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::AssignPoolRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // optional .beegfs.EntityIdSet pool = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(AssignPoolRequest, _impl_.pool_)}}, - // repeated .beegfs.EntityIdSet targets = 2; - {::_pbi::TcParser::FastMtR1, - {18, 63, 1, PROTOBUF_FIELD_OFFSET(AssignPoolRequest, _impl_.targets_)}}, - // repeated .beegfs.EntityIdSet buddy_groups = 3; - {::_pbi::TcParser::FastMtR1, - {26, 63, 2, PROTOBUF_FIELD_OFFSET(AssignPoolRequest, _impl_.buddy_groups_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet pool = 1; - {PROTOBUF_FIELD_OFFSET(AssignPoolRequest, _impl_.pool_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // repeated .beegfs.EntityIdSet targets = 2; - {PROTOBUF_FIELD_OFFSET(AssignPoolRequest, _impl_.targets_), -1, 1, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - // repeated .beegfs.EntityIdSet buddy_groups = 3; - {PROTOBUF_FIELD_OFFSET(AssignPoolRequest, _impl_.buddy_groups_), -1, 2, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void AssignPoolRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.AssignPoolRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.targets_.Clear(); - _impl_.buddy_groups_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.pool_ != nullptr); - _impl_.pool_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* AssignPoolRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const AssignPoolRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* AssignPoolRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const AssignPoolRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.AssignPoolRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet pool = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.pool_, this_._impl_.pool_->GetCachedSize(), target, - stream); - } - - // repeated .beegfs.EntityIdSet targets = 2; - for (unsigned i = 0, n = static_cast( - this_._internal_targets_size()); - i < n; i++) { - const auto& repfield = this_._internal_targets().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, repfield, repfield.GetCachedSize(), - target, stream); - } - - // repeated .beegfs.EntityIdSet buddy_groups = 3; - for (unsigned i = 0, n = static_cast( - this_._internal_buddy_groups_size()); - i < n; i++) { - const auto& repfield = this_._internal_buddy_groups().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 3, repfield, repfield.GetCachedSize(), - target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.AssignPoolRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t AssignPoolRequest::ByteSizeLong(const MessageLite& base) { - const AssignPoolRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t AssignPoolRequest::ByteSizeLong() const { - const AssignPoolRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.AssignPoolRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated .beegfs.EntityIdSet targets = 2; - { - total_size += 1UL * this_._internal_targets_size(); - for (const auto& msg : this_._internal_targets()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - // repeated .beegfs.EntityIdSet buddy_groups = 3; - { - total_size += 1UL * this_._internal_buddy_groups_size(); - for (const auto& msg : this_._internal_buddy_groups()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - { - // optional .beegfs.EntityIdSet pool = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pool_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void AssignPoolRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.AssignPoolRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_targets()->MergeFrom( - from._internal_targets()); - _this->_internal_mutable_buddy_groups()->MergeFrom( - from._internal_buddy_groups()); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.pool_ != nullptr); - if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); - } else { - _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void AssignPoolRequest::CopyFrom(const AssignPoolRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.AssignPoolRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void AssignPoolRequest::InternalSwap(AssignPoolRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.targets_.InternalSwap(&other->_impl_.targets_); - _impl_.buddy_groups_.InternalSwap(&other->_impl_.buddy_groups_); - swap(_impl_.pool_, other->_impl_.pool_); -} - -::google::protobuf::Metadata AssignPoolRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class AssignPoolResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(AssignPoolResponse, _impl_._has_bits_); -}; - -void AssignPoolResponse::clear_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -AssignPoolResponse::AssignPoolResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.AssignPoolResponse) -} -inline PROTOBUF_NDEBUG_INLINE AssignPoolResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::AssignPoolResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -AssignPoolResponse::AssignPoolResponse( - ::google::protobuf::Arena* arena, - const AssignPoolResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - AssignPoolResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.pool_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.pool_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:management.AssignPoolResponse) -} -inline PROTOBUF_NDEBUG_INLINE AssignPoolResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void AssignPoolResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.pool_ = {}; -} -AssignPoolResponse::~AssignPoolResponse() { - // @@protoc_insertion_point(destructor:management.AssignPoolResponse) - SharedDtor(*this); -} -inline void AssignPoolResponse::SharedDtor(MessageLite& self) { - AssignPoolResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.pool_; - this_._impl_.~Impl_(); -} - -inline void* AssignPoolResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) AssignPoolResponse(arena); -} -constexpr auto AssignPoolResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(AssignPoolResponse), - alignof(AssignPoolResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull AssignPoolResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_AssignPoolResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &AssignPoolResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &AssignPoolResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &AssignPoolResponse::ByteSizeLong, - &AssignPoolResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(AssignPoolResponse, _impl_._cached_size_), - false, - }, - &AssignPoolResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* AssignPoolResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> AssignPoolResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(AssignPoolResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::AssignPoolResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional .beegfs.EntityIdSet pool = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(AssignPoolResponse, _impl_.pool_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet pool = 1; - {PROTOBUF_FIELD_OFFSET(AssignPoolResponse, _impl_.pool_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void AssignPoolResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:management.AssignPoolResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.pool_ != nullptr); - _impl_.pool_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* AssignPoolResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const AssignPoolResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* AssignPoolResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const AssignPoolResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.AssignPoolResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet pool = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.pool_, this_._impl_.pool_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.AssignPoolResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t AssignPoolResponse::ByteSizeLong(const MessageLite& base) { - const AssignPoolResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t AssignPoolResponse::ByteSizeLong() const { - const AssignPoolResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.AssignPoolResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // optional .beegfs.EntityIdSet pool = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pool_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void AssignPoolResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.AssignPoolResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.pool_ != nullptr); - if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); - } else { - _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void AssignPoolResponse::CopyFrom(const AssignPoolResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.AssignPoolResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void AssignPoolResponse::InternalSwap(AssignPoolResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.pool_, other->_impl_.pool_); -} - -::google::protobuf::Metadata AssignPoolResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class DeletePoolRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(DeletePoolRequest, _impl_._has_bits_); -}; - -void DeletePoolRequest::clear_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -DeletePoolRequest::DeletePoolRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.DeletePoolRequest) -} -inline PROTOBUF_NDEBUG_INLINE DeletePoolRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::DeletePoolRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -DeletePoolRequest::DeletePoolRequest( - ::google::protobuf::Arena* arena, - const DeletePoolRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - DeletePoolRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.pool_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.pool_) - : nullptr; - _impl_.execute_ = from._impl_.execute_; - - // @@protoc_insertion_point(copy_constructor:management.DeletePoolRequest) -} -inline PROTOBUF_NDEBUG_INLINE DeletePoolRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void DeletePoolRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, pool_), - 0, - offsetof(Impl_, execute_) - - offsetof(Impl_, pool_) + - sizeof(Impl_::execute_)); -} -DeletePoolRequest::~DeletePoolRequest() { - // @@protoc_insertion_point(destructor:management.DeletePoolRequest) - SharedDtor(*this); -} -inline void DeletePoolRequest::SharedDtor(MessageLite& self) { - DeletePoolRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.pool_; - this_._impl_.~Impl_(); -} - -inline void* DeletePoolRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) DeletePoolRequest(arena); -} -constexpr auto DeletePoolRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DeletePoolRequest), - alignof(DeletePoolRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull DeletePoolRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_DeletePoolRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &DeletePoolRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &DeletePoolRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &DeletePoolRequest::ByteSizeLong, - &DeletePoolRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(DeletePoolRequest, _impl_._cached_size_), - false, - }, - &DeletePoolRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* DeletePoolRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeletePoolRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(DeletePoolRequest, _impl_._has_bits_), - 0, // no _extensions_ - 2, 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::DeletePoolRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional bool execute = 2; - {::_pbi::TcParser::SingularVarintNoZag1(), - {16, 1, 0, PROTOBUF_FIELD_OFFSET(DeletePoolRequest, _impl_.execute_)}}, - // optional .beegfs.EntityIdSet pool = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(DeletePoolRequest, _impl_.pool_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet pool = 1; - {PROTOBUF_FIELD_OFFSET(DeletePoolRequest, _impl_.pool_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional bool execute = 2; - {PROTOBUF_FIELD_OFFSET(DeletePoolRequest, _impl_.execute_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void DeletePoolRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.DeletePoolRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.pool_ != nullptr); - _impl_.pool_->Clear(); - } - _impl_.execute_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* DeletePoolRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const DeletePoolRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* DeletePoolRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const DeletePoolRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.DeletePoolRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet pool = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.pool_, this_._impl_.pool_->GetCachedSize(), target, - stream); - } - - // optional bool execute = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 2, this_._internal_execute(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.DeletePoolRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t DeletePoolRequest::ByteSizeLong(const MessageLite& base) { - const DeletePoolRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t DeletePoolRequest::ByteSizeLong() const { - const DeletePoolRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.DeletePoolRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .beegfs.EntityIdSet pool = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pool_); - } - // optional bool execute = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void DeletePoolRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.DeletePoolRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.pool_ != nullptr); - if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); - } else { - _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); - } - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.execute_ = from._impl_.execute_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void DeletePoolRequest::CopyFrom(const DeletePoolRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.DeletePoolRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void DeletePoolRequest::InternalSwap(DeletePoolRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(DeletePoolRequest, _impl_.execute_) - + sizeof(DeletePoolRequest::_impl_.execute_) - - PROTOBUF_FIELD_OFFSET(DeletePoolRequest, _impl_.pool_)>( - reinterpret_cast(&_impl_.pool_), - reinterpret_cast(&other->_impl_.pool_)); -} - -::google::protobuf::Metadata DeletePoolRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class DeletePoolResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(DeletePoolResponse, _impl_._has_bits_); -}; - -void DeletePoolResponse::clear_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -DeletePoolResponse::DeletePoolResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.DeletePoolResponse) -} -inline PROTOBUF_NDEBUG_INLINE DeletePoolResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::DeletePoolResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -DeletePoolResponse::DeletePoolResponse( - ::google::protobuf::Arena* arena, - const DeletePoolResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - DeletePoolResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.pool_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.pool_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:management.DeletePoolResponse) -} -inline PROTOBUF_NDEBUG_INLINE DeletePoolResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void DeletePoolResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.pool_ = {}; -} -DeletePoolResponse::~DeletePoolResponse() { - // @@protoc_insertion_point(destructor:management.DeletePoolResponse) - SharedDtor(*this); -} -inline void DeletePoolResponse::SharedDtor(MessageLite& self) { - DeletePoolResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.pool_; - this_._impl_.~Impl_(); -} - -inline void* DeletePoolResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) DeletePoolResponse(arena); -} -constexpr auto DeletePoolResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DeletePoolResponse), - alignof(DeletePoolResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull DeletePoolResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_DeletePoolResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &DeletePoolResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &DeletePoolResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &DeletePoolResponse::ByteSizeLong, - &DeletePoolResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(DeletePoolResponse, _impl_._cached_size_), - false, - }, - &DeletePoolResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* DeletePoolResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeletePoolResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(DeletePoolResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::DeletePoolResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional .beegfs.EntityIdSet pool = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(DeletePoolResponse, _impl_.pool_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet pool = 1; - {PROTOBUF_FIELD_OFFSET(DeletePoolResponse, _impl_.pool_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void DeletePoolResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:management.DeletePoolResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.pool_ != nullptr); - _impl_.pool_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* DeletePoolResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const DeletePoolResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* DeletePoolResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const DeletePoolResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.DeletePoolResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet pool = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.pool_, this_._impl_.pool_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.DeletePoolResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t DeletePoolResponse::ByteSizeLong(const MessageLite& base) { - const DeletePoolResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t DeletePoolResponse::ByteSizeLong() const { - const DeletePoolResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.DeletePoolResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // optional .beegfs.EntityIdSet pool = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pool_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void DeletePoolResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.DeletePoolResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.pool_ != nullptr); - if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); - } else { - _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void DeletePoolResponse::CopyFrom(const DeletePoolResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.DeletePoolResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void DeletePoolResponse::InternalSwap(DeletePoolResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.pool_, other->_impl_.pool_); -} - -::google::protobuf::Metadata DeletePoolResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetBuddyGroupsRequest::_Internal { - public: -}; - -GetBuddyGroupsRequest::GetBuddyGroupsRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:management.GetBuddyGroupsRequest) -} -GetBuddyGroupsRequest::GetBuddyGroupsRequest( - ::google::protobuf::Arena* arena, - const GetBuddyGroupsRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetBuddyGroupsRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:management.GetBuddyGroupsRequest) -} - -inline void* GetBuddyGroupsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetBuddyGroupsRequest(arena); -} -constexpr auto GetBuddyGroupsRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetBuddyGroupsRequest), - alignof(GetBuddyGroupsRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetBuddyGroupsRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetBuddyGroupsRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetBuddyGroupsRequest::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetBuddyGroupsRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &GetBuddyGroupsRequest::ByteSizeLong, - &GetBuddyGroupsRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetBuddyGroupsRequest, _impl_._cached_size_), - false, - }, - &GetBuddyGroupsRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetBuddyGroupsRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> GetBuddyGroupsRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetBuddyGroupsRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, - // no field_entries, or aux_entries - {{ - }}, -}; - - - - - - - - -::google::protobuf::Metadata GetBuddyGroupsRequest::GetMetadata() const { - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetBuddyGroupsResponse_BuddyGroup::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_._has_bits_); -}; - -void GetBuddyGroupsResponse_BuddyGroup::clear_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.id_ != nullptr) _impl_.id_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void GetBuddyGroupsResponse_BuddyGroup::clear_primary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.primary_target_ != nullptr) _impl_.primary_target_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void GetBuddyGroupsResponse_BuddyGroup::clear_secondary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.secondary_target_ != nullptr) _impl_.secondary_target_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -void GetBuddyGroupsResponse_BuddyGroup::clear_storage_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.storage_pool_ != nullptr) _impl_.storage_pool_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -GetBuddyGroupsResponse_BuddyGroup::GetBuddyGroupsResponse_BuddyGroup(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetBuddyGroupsResponse.BuddyGroup) -} -inline PROTOBUF_NDEBUG_INLINE GetBuddyGroupsResponse_BuddyGroup::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::GetBuddyGroupsResponse_BuddyGroup& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -GetBuddyGroupsResponse_BuddyGroup::GetBuddyGroupsResponse_BuddyGroup( - ::google::protobuf::Arena* arena, - const GetBuddyGroupsResponse_BuddyGroup& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetBuddyGroupsResponse_BuddyGroup* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.id_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.id_) - : nullptr; - _impl_.primary_target_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.primary_target_) - : nullptr; - _impl_.secondary_target_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.secondary_target_) - : nullptr; - _impl_.storage_pool_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.storage_pool_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, node_type_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, node_type_), - offsetof(Impl_, secondary_consistency_state_) - - offsetof(Impl_, node_type_) + - sizeof(Impl_::secondary_consistency_state_)); - - // @@protoc_insertion_point(copy_constructor:management.GetBuddyGroupsResponse.BuddyGroup) -} -inline PROTOBUF_NDEBUG_INLINE GetBuddyGroupsResponse_BuddyGroup::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void GetBuddyGroupsResponse_BuddyGroup::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, id_), - 0, - offsetof(Impl_, secondary_consistency_state_) - - offsetof(Impl_, id_) + - sizeof(Impl_::secondary_consistency_state_)); -} -GetBuddyGroupsResponse_BuddyGroup::~GetBuddyGroupsResponse_BuddyGroup() { - // @@protoc_insertion_point(destructor:management.GetBuddyGroupsResponse.BuddyGroup) - SharedDtor(*this); -} -inline void GetBuddyGroupsResponse_BuddyGroup::SharedDtor(MessageLite& self) { - GetBuddyGroupsResponse_BuddyGroup& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.id_; - delete this_._impl_.primary_target_; - delete this_._impl_.secondary_target_; - delete this_._impl_.storage_pool_; - this_._impl_.~Impl_(); -} - -inline void* GetBuddyGroupsResponse_BuddyGroup::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetBuddyGroupsResponse_BuddyGroup(arena); -} -constexpr auto GetBuddyGroupsResponse_BuddyGroup::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetBuddyGroupsResponse_BuddyGroup), - alignof(GetBuddyGroupsResponse_BuddyGroup)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetBuddyGroupsResponse_BuddyGroup::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetBuddyGroupsResponse_BuddyGroup_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetBuddyGroupsResponse_BuddyGroup::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetBuddyGroupsResponse_BuddyGroup::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetBuddyGroupsResponse_BuddyGroup::ByteSizeLong, - &GetBuddyGroupsResponse_BuddyGroup::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_._cached_size_), - false, - }, - &GetBuddyGroupsResponse_BuddyGroup::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetBuddyGroupsResponse_BuddyGroup::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 7, 4, 0, 2> GetBuddyGroupsResponse_BuddyGroup::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_._has_bits_), - 0, // no _extensions_ - 7, 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967168, // skipmap - offsetof(decltype(_table_), field_entries), - 7, // num_field_entries - 4, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetBuddyGroupsResponse_BuddyGroup>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // .beegfs.EntityIdSet id = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.id_)}}, - // .beegfs.NodeType node_type = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetBuddyGroupsResponse_BuddyGroup, _impl_.node_type_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.node_type_)}}, - // .beegfs.EntityIdSet primary_target = 3; - {::_pbi::TcParser::FastMtS1, - {26, 1, 1, PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.primary_target_)}}, - // .beegfs.EntityIdSet secondary_target = 4; - {::_pbi::TcParser::FastMtS1, - {34, 2, 2, PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.secondary_target_)}}, - // .beegfs.ConsistencyState primary_consistency_state = 5; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetBuddyGroupsResponse_BuddyGroup, _impl_.primary_consistency_state_), 63>(), - {40, 63, 0, PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.primary_consistency_state_)}}, - // .beegfs.ConsistencyState secondary_consistency_state = 6; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetBuddyGroupsResponse_BuddyGroup, _impl_.secondary_consistency_state_), 63>(), - {48, 63, 0, PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.secondary_consistency_state_)}}, - // optional .beegfs.EntityIdSet storage_pool = 7; - {::_pbi::TcParser::FastMtS1, - {58, 3, 3, PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.storage_pool_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .beegfs.EntityIdSet id = 1; - {PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.id_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .beegfs.NodeType node_type = 2; - {PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.node_type_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // .beegfs.EntityIdSet primary_target = 3; - {PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.primary_target_), _Internal::kHasBitsOffset + 1, 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .beegfs.EntityIdSet secondary_target = 4; - {PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.secondary_target_), _Internal::kHasBitsOffset + 2, 2, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .beegfs.ConsistencyState primary_consistency_state = 5; - {PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.primary_consistency_state_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // .beegfs.ConsistencyState secondary_consistency_state = 6; - {PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.secondary_consistency_state_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // optional .beegfs.EntityIdSet storage_pool = 7; - {PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.storage_pool_), _Internal::kHasBitsOffset + 3, 3, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void GetBuddyGroupsResponse_BuddyGroup::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetBuddyGroupsResponse.BuddyGroup) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.id_ != nullptr); - _impl_.id_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.primary_target_ != nullptr); - _impl_.primary_target_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(_impl_.secondary_target_ != nullptr); - _impl_.secondary_target_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - ABSL_DCHECK(_impl_.storage_pool_ != nullptr); - _impl_.storage_pool_->Clear(); - } - } - ::memset(&_impl_.node_type_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.secondary_consistency_state_) - - reinterpret_cast(&_impl_.node_type_)) + sizeof(_impl_.secondary_consistency_state_)); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetBuddyGroupsResponse_BuddyGroup::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetBuddyGroupsResponse_BuddyGroup& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetBuddyGroupsResponse_BuddyGroup::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetBuddyGroupsResponse_BuddyGroup& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetBuddyGroupsResponse.BuddyGroup) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .beegfs.EntityIdSet id = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.id_, this_._impl_.id_->GetCachedSize(), target, - stream); - } - - // .beegfs.NodeType node_type = 2; - if (this_._internal_node_type() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this_._internal_node_type(), target); - } - - // .beegfs.EntityIdSet primary_target = 3; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 3, *this_._impl_.primary_target_, this_._impl_.primary_target_->GetCachedSize(), target, - stream); - } - - // .beegfs.EntityIdSet secondary_target = 4; - if (cached_has_bits & 0x00000004u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 4, *this_._impl_.secondary_target_, this_._impl_.secondary_target_->GetCachedSize(), target, - stream); - } - - // .beegfs.ConsistencyState primary_consistency_state = 5; - if (this_._internal_primary_consistency_state() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 5, this_._internal_primary_consistency_state(), target); - } - - // .beegfs.ConsistencyState secondary_consistency_state = 6; - if (this_._internal_secondary_consistency_state() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 6, this_._internal_secondary_consistency_state(), target); - } - - // optional .beegfs.EntityIdSet storage_pool = 7; - if (cached_has_bits & 0x00000008u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 7, *this_._impl_.storage_pool_, this_._impl_.storage_pool_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetBuddyGroupsResponse.BuddyGroup) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetBuddyGroupsResponse_BuddyGroup::ByteSizeLong(const MessageLite& base) { - const GetBuddyGroupsResponse_BuddyGroup& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetBuddyGroupsResponse_BuddyGroup::ByteSizeLong() const { - const GetBuddyGroupsResponse_BuddyGroup& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetBuddyGroupsResponse.BuddyGroup) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // .beegfs.EntityIdSet id = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.id_); - } - // .beegfs.EntityIdSet primary_target = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.primary_target_); - } - // .beegfs.EntityIdSet secondary_target = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.secondary_target_); - } - // optional .beegfs.EntityIdSet storage_pool = 7; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.storage_pool_); - } - } - { - // .beegfs.NodeType node_type = 2; - if (this_._internal_node_type() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_node_type()); - } - // .beegfs.ConsistencyState primary_consistency_state = 5; - if (this_._internal_primary_consistency_state() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_primary_consistency_state()); - } - // .beegfs.ConsistencyState secondary_consistency_state = 6; - if (this_._internal_secondary_consistency_state() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_secondary_consistency_state()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetBuddyGroupsResponse_BuddyGroup::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetBuddyGroupsResponse.BuddyGroup) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.id_ != nullptr); - if (_this->_impl_.id_ == nullptr) { - _this->_impl_.id_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.id_); - } else { - _this->_impl_.id_->MergeFrom(*from._impl_.id_); - } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.primary_target_ != nullptr); - if (_this->_impl_.primary_target_ == nullptr) { - _this->_impl_.primary_target_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.primary_target_); - } else { - _this->_impl_.primary_target_->MergeFrom(*from._impl_.primary_target_); - } - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(from._impl_.secondary_target_ != nullptr); - if (_this->_impl_.secondary_target_ == nullptr) { - _this->_impl_.secondary_target_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.secondary_target_); - } else { - _this->_impl_.secondary_target_->MergeFrom(*from._impl_.secondary_target_); - } - } - if (cached_has_bits & 0x00000008u) { - ABSL_DCHECK(from._impl_.storage_pool_ != nullptr); - if (_this->_impl_.storage_pool_ == nullptr) { - _this->_impl_.storage_pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.storage_pool_); - } else { - _this->_impl_.storage_pool_->MergeFrom(*from._impl_.storage_pool_); - } - } - } - if (from._internal_node_type() != 0) { - _this->_impl_.node_type_ = from._impl_.node_type_; - } - if (from._internal_primary_consistency_state() != 0) { - _this->_impl_.primary_consistency_state_ = from._impl_.primary_consistency_state_; - } - if (from._internal_secondary_consistency_state() != 0) { - _this->_impl_.secondary_consistency_state_ = from._impl_.secondary_consistency_state_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetBuddyGroupsResponse_BuddyGroup::CopyFrom(const GetBuddyGroupsResponse_BuddyGroup& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetBuddyGroupsResponse.BuddyGroup) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetBuddyGroupsResponse_BuddyGroup::InternalSwap(GetBuddyGroupsResponse_BuddyGroup* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.secondary_consistency_state_) - + sizeof(GetBuddyGroupsResponse_BuddyGroup::_impl_.secondary_consistency_state_) - - PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse_BuddyGroup, _impl_.id_)>( - reinterpret_cast(&_impl_.id_), - reinterpret_cast(&other->_impl_.id_)); -} - -::google::protobuf::Metadata GetBuddyGroupsResponse_BuddyGroup::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetBuddyGroupsResponse::_Internal { - public: -}; - -GetBuddyGroupsResponse::GetBuddyGroupsResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetBuddyGroupsResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetBuddyGroupsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::GetBuddyGroupsResponse& from_msg) - : buddy_groups_{visibility, arena, from.buddy_groups_}, - _cached_size_{0} {} - -GetBuddyGroupsResponse::GetBuddyGroupsResponse( - ::google::protobuf::Arena* arena, - const GetBuddyGroupsResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetBuddyGroupsResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - - // @@protoc_insertion_point(copy_constructor:management.GetBuddyGroupsResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetBuddyGroupsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : buddy_groups_{visibility, arena}, - _cached_size_{0} {} - -inline void GetBuddyGroupsResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); -} -GetBuddyGroupsResponse::~GetBuddyGroupsResponse() { - // @@protoc_insertion_point(destructor:management.GetBuddyGroupsResponse) - SharedDtor(*this); -} -inline void GetBuddyGroupsResponse::SharedDtor(MessageLite& self) { - GetBuddyGroupsResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* GetBuddyGroupsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetBuddyGroupsResponse(arena); -} -constexpr auto GetBuddyGroupsResponse::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse, _impl_.buddy_groups_) + - decltype(GetBuddyGroupsResponse::_impl_.buddy_groups_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetBuddyGroupsResponse), alignof(GetBuddyGroupsResponse), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&GetBuddyGroupsResponse::PlacementNew_, - sizeof(GetBuddyGroupsResponse), - alignof(GetBuddyGroupsResponse)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetBuddyGroupsResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetBuddyGroupsResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetBuddyGroupsResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetBuddyGroupsResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetBuddyGroupsResponse::ByteSizeLong, - &GetBuddyGroupsResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse, _impl_._cached_size_), - false, - }, - &GetBuddyGroupsResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetBuddyGroupsResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetBuddyGroupsResponse::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetBuddyGroupsResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // repeated .management.GetBuddyGroupsResponse.BuddyGroup buddy_groups = 1; - {::_pbi::TcParser::FastMtR1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse, _impl_.buddy_groups_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // repeated .management.GetBuddyGroupsResponse.BuddyGroup buddy_groups = 1; - {PROTOBUF_FIELD_OFFSET(GetBuddyGroupsResponse, _impl_.buddy_groups_), 0, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::management::GetBuddyGroupsResponse_BuddyGroup>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void GetBuddyGroupsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetBuddyGroupsResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.buddy_groups_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetBuddyGroupsResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetBuddyGroupsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetBuddyGroupsResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetBuddyGroupsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetBuddyGroupsResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // repeated .management.GetBuddyGroupsResponse.BuddyGroup buddy_groups = 1; - for (unsigned i = 0, n = static_cast( - this_._internal_buddy_groups_size()); - i < n; i++) { - const auto& repfield = this_._internal_buddy_groups().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, repfield, repfield.GetCachedSize(), - target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetBuddyGroupsResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetBuddyGroupsResponse::ByteSizeLong(const MessageLite& base) { - const GetBuddyGroupsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetBuddyGroupsResponse::ByteSizeLong() const { - const GetBuddyGroupsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetBuddyGroupsResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated .management.GetBuddyGroupsResponse.BuddyGroup buddy_groups = 1; - { - total_size += 1UL * this_._internal_buddy_groups_size(); - for (const auto& msg : this_._internal_buddy_groups()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetBuddyGroupsResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetBuddyGroupsResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_buddy_groups()->MergeFrom( - from._internal_buddy_groups()); - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetBuddyGroupsResponse::CopyFrom(const GetBuddyGroupsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetBuddyGroupsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetBuddyGroupsResponse::InternalSwap(GetBuddyGroupsResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.buddy_groups_.InternalSwap(&other->_impl_.buddy_groups_); -} - -::google::protobuf::Metadata GetBuddyGroupsResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class CreateBuddyGroupRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_._has_bits_); -}; - -void CreateBuddyGroupRequest::clear_primary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.primary_target_ != nullptr) _impl_.primary_target_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void CreateBuddyGroupRequest::clear_secondary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.secondary_target_ != nullptr) _impl_.secondary_target_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -CreateBuddyGroupRequest::CreateBuddyGroupRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.CreateBuddyGroupRequest) -} -inline PROTOBUF_NDEBUG_INLINE CreateBuddyGroupRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::CreateBuddyGroupRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - alias_(arena, from.alias_) {} - -CreateBuddyGroupRequest::CreateBuddyGroupRequest( - ::google::protobuf::Arena* arena, - const CreateBuddyGroupRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - CreateBuddyGroupRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.primary_target_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.primary_target_) - : nullptr; - _impl_.secondary_target_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.secondary_target_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, node_type_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, node_type_), - offsetof(Impl_, num_id_) - - offsetof(Impl_, node_type_) + - sizeof(Impl_::num_id_)); - - // @@protoc_insertion_point(copy_constructor:management.CreateBuddyGroupRequest) -} -inline PROTOBUF_NDEBUG_INLINE CreateBuddyGroupRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - alias_(arena) {} - -inline void CreateBuddyGroupRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, primary_target_), - 0, - offsetof(Impl_, num_id_) - - offsetof(Impl_, primary_target_) + - sizeof(Impl_::num_id_)); -} -CreateBuddyGroupRequest::~CreateBuddyGroupRequest() { - // @@protoc_insertion_point(destructor:management.CreateBuddyGroupRequest) - SharedDtor(*this); -} -inline void CreateBuddyGroupRequest::SharedDtor(MessageLite& self) { - CreateBuddyGroupRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.alias_.Destroy(); - delete this_._impl_.primary_target_; - delete this_._impl_.secondary_target_; - this_._impl_.~Impl_(); -} - -inline void* CreateBuddyGroupRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) CreateBuddyGroupRequest(arena); -} -constexpr auto CreateBuddyGroupRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(CreateBuddyGroupRequest), - alignof(CreateBuddyGroupRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull CreateBuddyGroupRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_CreateBuddyGroupRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &CreateBuddyGroupRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &CreateBuddyGroupRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &CreateBuddyGroupRequest::ByteSizeLong, - &CreateBuddyGroupRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_._cached_size_), - false, - }, - &CreateBuddyGroupRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* CreateBuddyGroupRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 5, 2, 48, 2> CreateBuddyGroupRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_._has_bits_), - 0, // no _extensions_ - 5, 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967264, // skipmap - offsetof(decltype(_table_), field_entries), - 5, // num_field_entries - 2, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::CreateBuddyGroupRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // optional .beegfs.NodeType node_type = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CreateBuddyGroupRequest, _impl_.node_type_), 3>(), - {8, 3, 0, PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_.node_type_)}}, - // optional uint32 num_id = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(CreateBuddyGroupRequest, _impl_.num_id_), 4>(), - {16, 4, 0, PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_.num_id_)}}, - // optional string alias = 3; - {::_pbi::TcParser::FastUS1, - {26, 0, 0, PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_.alias_)}}, - // optional .beegfs.EntityIdSet primary_target = 4; - {::_pbi::TcParser::FastMtS1, - {34, 1, 0, PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_.primary_target_)}}, - // optional .beegfs.EntityIdSet secondary_target = 5; - {::_pbi::TcParser::FastMtS1, - {42, 2, 1, PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_.secondary_target_)}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.NodeType node_type = 1; - {PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_.node_type_), _Internal::kHasBitsOffset + 3, 0, - (0 | ::_fl::kFcOptional | ::_fl::kOpenEnum)}, - // optional uint32 num_id = 2; - {PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_.num_id_), _Internal::kHasBitsOffset + 4, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, - // optional string alias = 3; - {PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_.alias_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // optional .beegfs.EntityIdSet primary_target = 4; - {PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_.primary_target_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional .beegfs.EntityIdSet secondary_target = 5; - {PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_.secondary_target_), _Internal::kHasBitsOffset + 2, 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - "\42\0\0\5\0\0\0\0" - "management.CreateBuddyGroupRequest" - "alias" - }}, -}; - -PROTOBUF_NOINLINE void CreateBuddyGroupRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.CreateBuddyGroupRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.alias_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.primary_target_ != nullptr); - _impl_.primary_target_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(_impl_.secondary_target_ != nullptr); - _impl_.secondary_target_->Clear(); - } - } - if (cached_has_bits & 0x00000018u) { - ::memset(&_impl_.node_type_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.num_id_) - - reinterpret_cast(&_impl_.node_type_)) + sizeof(_impl_.num_id_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* CreateBuddyGroupRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const CreateBuddyGroupRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* CreateBuddyGroupRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const CreateBuddyGroupRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.CreateBuddyGroupRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.NodeType node_type = 1; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this_._internal_node_type(), target); - } - - // optional uint32 num_id = 2; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 2, this_._internal_num_id(), target); - } - - // optional string alias = 3; - if (cached_has_bits & 0x00000001u) { - const std::string& _s = this_._internal_alias(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "management.CreateBuddyGroupRequest.alias"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - // optional .beegfs.EntityIdSet primary_target = 4; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 4, *this_._impl_.primary_target_, this_._impl_.primary_target_->GetCachedSize(), target, - stream); - } - - // optional .beegfs.EntityIdSet secondary_target = 5; - if (cached_has_bits & 0x00000004u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 5, *this_._impl_.secondary_target_, this_._impl_.secondary_target_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.CreateBuddyGroupRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t CreateBuddyGroupRequest::ByteSizeLong(const MessageLite& base) { - const CreateBuddyGroupRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t CreateBuddyGroupRequest::ByteSizeLong() const { - const CreateBuddyGroupRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.CreateBuddyGroupRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional string alias = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_alias()); - } - // optional .beegfs.EntityIdSet primary_target = 4; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.primary_target_); - } - // optional .beegfs.EntityIdSet secondary_target = 5; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.secondary_target_); - } - // optional .beegfs.NodeType node_type = 1; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_node_type()); - } - // optional uint32 num_id = 2; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_num_id()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void CreateBuddyGroupRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.CreateBuddyGroupRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_alias(from._internal_alias()); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.primary_target_ != nullptr); - if (_this->_impl_.primary_target_ == nullptr) { - _this->_impl_.primary_target_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.primary_target_); - } else { - _this->_impl_.primary_target_->MergeFrom(*from._impl_.primary_target_); - } - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(from._impl_.secondary_target_ != nullptr); - if (_this->_impl_.secondary_target_ == nullptr) { - _this->_impl_.secondary_target_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.secondary_target_); - } else { - _this->_impl_.secondary_target_->MergeFrom(*from._impl_.secondary_target_); - } - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.node_type_ = from._impl_.node_type_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.num_id_ = from._impl_.num_id_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void CreateBuddyGroupRequest::CopyFrom(const CreateBuddyGroupRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.CreateBuddyGroupRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void CreateBuddyGroupRequest::InternalSwap(CreateBuddyGroupRequest* PROTOBUF_RESTRICT other) { - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.alias_, &other->_impl_.alias_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_.num_id_) - + sizeof(CreateBuddyGroupRequest::_impl_.num_id_) - - PROTOBUF_FIELD_OFFSET(CreateBuddyGroupRequest, _impl_.primary_target_)>( - reinterpret_cast(&_impl_.primary_target_), - reinterpret_cast(&other->_impl_.primary_target_)); -} - -::google::protobuf::Metadata CreateBuddyGroupRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class CreateBuddyGroupResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(CreateBuddyGroupResponse, _impl_._has_bits_); -}; - -void CreateBuddyGroupResponse::clear_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.group_ != nullptr) _impl_.group_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -CreateBuddyGroupResponse::CreateBuddyGroupResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.CreateBuddyGroupResponse) -} -inline PROTOBUF_NDEBUG_INLINE CreateBuddyGroupResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::CreateBuddyGroupResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -CreateBuddyGroupResponse::CreateBuddyGroupResponse( - ::google::protobuf::Arena* arena, - const CreateBuddyGroupResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - CreateBuddyGroupResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.group_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.group_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:management.CreateBuddyGroupResponse) -} -inline PROTOBUF_NDEBUG_INLINE CreateBuddyGroupResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void CreateBuddyGroupResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.group_ = {}; -} -CreateBuddyGroupResponse::~CreateBuddyGroupResponse() { - // @@protoc_insertion_point(destructor:management.CreateBuddyGroupResponse) - SharedDtor(*this); -} -inline void CreateBuddyGroupResponse::SharedDtor(MessageLite& self) { - CreateBuddyGroupResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.group_; - this_._impl_.~Impl_(); -} - -inline void* CreateBuddyGroupResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) CreateBuddyGroupResponse(arena); -} -constexpr auto CreateBuddyGroupResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(CreateBuddyGroupResponse), - alignof(CreateBuddyGroupResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull CreateBuddyGroupResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_CreateBuddyGroupResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &CreateBuddyGroupResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &CreateBuddyGroupResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &CreateBuddyGroupResponse::ByteSizeLong, - &CreateBuddyGroupResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(CreateBuddyGroupResponse, _impl_._cached_size_), - false, - }, - &CreateBuddyGroupResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* CreateBuddyGroupResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> CreateBuddyGroupResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(CreateBuddyGroupResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::CreateBuddyGroupResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional .beegfs.EntityIdSet group = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(CreateBuddyGroupResponse, _impl_.group_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet group = 1; - {PROTOBUF_FIELD_OFFSET(CreateBuddyGroupResponse, _impl_.group_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void CreateBuddyGroupResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:management.CreateBuddyGroupResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.group_ != nullptr); - _impl_.group_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* CreateBuddyGroupResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const CreateBuddyGroupResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* CreateBuddyGroupResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const CreateBuddyGroupResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.CreateBuddyGroupResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet group = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.group_, this_._impl_.group_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.CreateBuddyGroupResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t CreateBuddyGroupResponse::ByteSizeLong(const MessageLite& base) { - const CreateBuddyGroupResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t CreateBuddyGroupResponse::ByteSizeLong() const { - const CreateBuddyGroupResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.CreateBuddyGroupResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // optional .beegfs.EntityIdSet group = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.group_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void CreateBuddyGroupResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.CreateBuddyGroupResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.group_ != nullptr); - if (_this->_impl_.group_ == nullptr) { - _this->_impl_.group_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.group_); - } else { - _this->_impl_.group_->MergeFrom(*from._impl_.group_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void CreateBuddyGroupResponse::CopyFrom(const CreateBuddyGroupResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.CreateBuddyGroupResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void CreateBuddyGroupResponse::InternalSwap(CreateBuddyGroupResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.group_, other->_impl_.group_); -} - -::google::protobuf::Metadata CreateBuddyGroupResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class DeleteBuddyGroupRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupRequest, _impl_._has_bits_); -}; - -void DeleteBuddyGroupRequest::clear_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.group_ != nullptr) _impl_.group_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -DeleteBuddyGroupRequest::DeleteBuddyGroupRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.DeleteBuddyGroupRequest) -} -inline PROTOBUF_NDEBUG_INLINE DeleteBuddyGroupRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::DeleteBuddyGroupRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -DeleteBuddyGroupRequest::DeleteBuddyGroupRequest( - ::google::protobuf::Arena* arena, - const DeleteBuddyGroupRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - DeleteBuddyGroupRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.group_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.group_) - : nullptr; - _impl_.execute_ = from._impl_.execute_; - - // @@protoc_insertion_point(copy_constructor:management.DeleteBuddyGroupRequest) -} -inline PROTOBUF_NDEBUG_INLINE DeleteBuddyGroupRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void DeleteBuddyGroupRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, group_), - 0, - offsetof(Impl_, execute_) - - offsetof(Impl_, group_) + - sizeof(Impl_::execute_)); -} -DeleteBuddyGroupRequest::~DeleteBuddyGroupRequest() { - // @@protoc_insertion_point(destructor:management.DeleteBuddyGroupRequest) - SharedDtor(*this); -} -inline void DeleteBuddyGroupRequest::SharedDtor(MessageLite& self) { - DeleteBuddyGroupRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.group_; - this_._impl_.~Impl_(); -} - -inline void* DeleteBuddyGroupRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) DeleteBuddyGroupRequest(arena); -} -constexpr auto DeleteBuddyGroupRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DeleteBuddyGroupRequest), - alignof(DeleteBuddyGroupRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull DeleteBuddyGroupRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_DeleteBuddyGroupRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &DeleteBuddyGroupRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &DeleteBuddyGroupRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &DeleteBuddyGroupRequest::ByteSizeLong, - &DeleteBuddyGroupRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupRequest, _impl_._cached_size_), - false, - }, - &DeleteBuddyGroupRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* DeleteBuddyGroupRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 0, 2> DeleteBuddyGroupRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupRequest, _impl_._has_bits_), - 0, // no _extensions_ - 2, 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::DeleteBuddyGroupRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional bool execute = 2; - {::_pbi::TcParser::SingularVarintNoZag1(), - {16, 1, 0, PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupRequest, _impl_.execute_)}}, - // optional .beegfs.EntityIdSet group = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupRequest, _impl_.group_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet group = 1; - {PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupRequest, _impl_.group_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional bool execute = 2; - {PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupRequest, _impl_.execute_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void DeleteBuddyGroupRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.DeleteBuddyGroupRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.group_ != nullptr); - _impl_.group_->Clear(); - } - _impl_.execute_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* DeleteBuddyGroupRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const DeleteBuddyGroupRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* DeleteBuddyGroupRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const DeleteBuddyGroupRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.DeleteBuddyGroupRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet group = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.group_, this_._impl_.group_->GetCachedSize(), target, - stream); - } - - // optional bool execute = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 2, this_._internal_execute(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.DeleteBuddyGroupRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t DeleteBuddyGroupRequest::ByteSizeLong(const MessageLite& base) { - const DeleteBuddyGroupRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t DeleteBuddyGroupRequest::ByteSizeLong() const { - const DeleteBuddyGroupRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.DeleteBuddyGroupRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .beegfs.EntityIdSet group = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.group_); - } - // optional bool execute = 2; - if (cached_has_bits & 0x00000002u) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void DeleteBuddyGroupRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.DeleteBuddyGroupRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.group_ != nullptr); - if (_this->_impl_.group_ == nullptr) { - _this->_impl_.group_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.group_); - } else { - _this->_impl_.group_->MergeFrom(*from._impl_.group_); - } - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.execute_ = from._impl_.execute_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void DeleteBuddyGroupRequest::CopyFrom(const DeleteBuddyGroupRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.DeleteBuddyGroupRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void DeleteBuddyGroupRequest::InternalSwap(DeleteBuddyGroupRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupRequest, _impl_.execute_) - + sizeof(DeleteBuddyGroupRequest::_impl_.execute_) - - PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupRequest, _impl_.group_)>( - reinterpret_cast(&_impl_.group_), - reinterpret_cast(&other->_impl_.group_)); -} - -::google::protobuf::Metadata DeleteBuddyGroupRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class DeleteBuddyGroupResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupResponse, _impl_._has_bits_); -}; - -void DeleteBuddyGroupResponse::clear_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.group_ != nullptr) _impl_.group_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -DeleteBuddyGroupResponse::DeleteBuddyGroupResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.DeleteBuddyGroupResponse) -} -inline PROTOBUF_NDEBUG_INLINE DeleteBuddyGroupResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::DeleteBuddyGroupResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -DeleteBuddyGroupResponse::DeleteBuddyGroupResponse( - ::google::protobuf::Arena* arena, - const DeleteBuddyGroupResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - DeleteBuddyGroupResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.group_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.group_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:management.DeleteBuddyGroupResponse) -} -inline PROTOBUF_NDEBUG_INLINE DeleteBuddyGroupResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void DeleteBuddyGroupResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.group_ = {}; -} -DeleteBuddyGroupResponse::~DeleteBuddyGroupResponse() { - // @@protoc_insertion_point(destructor:management.DeleteBuddyGroupResponse) - SharedDtor(*this); -} -inline void DeleteBuddyGroupResponse::SharedDtor(MessageLite& self) { - DeleteBuddyGroupResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.group_; - this_._impl_.~Impl_(); -} - -inline void* DeleteBuddyGroupResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) DeleteBuddyGroupResponse(arena); -} -constexpr auto DeleteBuddyGroupResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(DeleteBuddyGroupResponse), - alignof(DeleteBuddyGroupResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull DeleteBuddyGroupResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_DeleteBuddyGroupResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &DeleteBuddyGroupResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &DeleteBuddyGroupResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &DeleteBuddyGroupResponse::ByteSizeLong, - &DeleteBuddyGroupResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupResponse, _impl_._cached_size_), - false, - }, - &DeleteBuddyGroupResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* DeleteBuddyGroupResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> DeleteBuddyGroupResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::DeleteBuddyGroupResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional .beegfs.EntityIdSet group = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupResponse, _impl_.group_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet group = 1; - {PROTOBUF_FIELD_OFFSET(DeleteBuddyGroupResponse, _impl_.group_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void DeleteBuddyGroupResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:management.DeleteBuddyGroupResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.group_ != nullptr); - _impl_.group_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* DeleteBuddyGroupResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const DeleteBuddyGroupResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* DeleteBuddyGroupResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const DeleteBuddyGroupResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.DeleteBuddyGroupResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet group = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.group_, this_._impl_.group_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.DeleteBuddyGroupResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t DeleteBuddyGroupResponse::ByteSizeLong(const MessageLite& base) { - const DeleteBuddyGroupResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t DeleteBuddyGroupResponse::ByteSizeLong() const { - const DeleteBuddyGroupResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.DeleteBuddyGroupResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // optional .beegfs.EntityIdSet group = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.group_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void DeleteBuddyGroupResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.DeleteBuddyGroupResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.group_ != nullptr); - if (_this->_impl_.group_ == nullptr) { - _this->_impl_.group_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.group_); - } else { - _this->_impl_.group_->MergeFrom(*from._impl_.group_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void DeleteBuddyGroupResponse::CopyFrom(const DeleteBuddyGroupResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.DeleteBuddyGroupResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void DeleteBuddyGroupResponse::InternalSwap(DeleteBuddyGroupResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.group_, other->_impl_.group_); -} - -::google::protobuf::Metadata DeleteBuddyGroupResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class MirrorRootInodeRequest::_Internal { - public: -}; - -MirrorRootInodeRequest::MirrorRootInodeRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:management.MirrorRootInodeRequest) -} -MirrorRootInodeRequest::MirrorRootInodeRequest( - ::google::protobuf::Arena* arena, - const MirrorRootInodeRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - MirrorRootInodeRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:management.MirrorRootInodeRequest) -} - -inline void* MirrorRootInodeRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) MirrorRootInodeRequest(arena); -} -constexpr auto MirrorRootInodeRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(MirrorRootInodeRequest), - alignof(MirrorRootInodeRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull MirrorRootInodeRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_MirrorRootInodeRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &MirrorRootInodeRequest::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &MirrorRootInodeRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &MirrorRootInodeRequest::ByteSizeLong, - &MirrorRootInodeRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(MirrorRootInodeRequest, _impl_._cached_size_), - false, - }, - &MirrorRootInodeRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* MirrorRootInodeRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> MirrorRootInodeRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::MirrorRootInodeRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, - // no field_entries, or aux_entries - {{ - }}, -}; - - - - - - - - -::google::protobuf::Metadata MirrorRootInodeRequest::GetMetadata() const { - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class MirrorRootInodeResponse::_Internal { - public: -}; - -MirrorRootInodeResponse::MirrorRootInodeResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:management.MirrorRootInodeResponse) -} -MirrorRootInodeResponse::MirrorRootInodeResponse( - ::google::protobuf::Arena* arena, - const MirrorRootInodeResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - MirrorRootInodeResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:management.MirrorRootInodeResponse) -} - -inline void* MirrorRootInodeResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) MirrorRootInodeResponse(arena); -} -constexpr auto MirrorRootInodeResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(MirrorRootInodeResponse), - alignof(MirrorRootInodeResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull MirrorRootInodeResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_MirrorRootInodeResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &MirrorRootInodeResponse::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &MirrorRootInodeResponse::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &MirrorRootInodeResponse::ByteSizeLong, - &MirrorRootInodeResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(MirrorRootInodeResponse, _impl_._cached_size_), - false, - }, - &MirrorRootInodeResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* MirrorRootInodeResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> MirrorRootInodeResponse::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::MirrorRootInodeResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, - // no field_entries, or aux_entries - {{ - }}, -}; - - - - - - - - -::google::protobuf::Metadata MirrorRootInodeResponse::GetMetadata() const { - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class StartResyncRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(StartResyncRequest, _impl_._has_bits_); -}; - -void StartResyncRequest::clear_buddy_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.buddy_group_ != nullptr) _impl_.buddy_group_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -StartResyncRequest::StartResyncRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.StartResyncRequest) -} -inline PROTOBUF_NDEBUG_INLINE StartResyncRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::StartResyncRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -StartResyncRequest::StartResyncRequest( - ::google::protobuf::Arena* arena, - const StartResyncRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - StartResyncRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.buddy_group_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.buddy_group_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, timestamp_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, timestamp_), - offsetof(Impl_, restart_) - - offsetof(Impl_, timestamp_) + - sizeof(Impl_::restart_)); - - // @@protoc_insertion_point(copy_constructor:management.StartResyncRequest) -} -inline PROTOBUF_NDEBUG_INLINE StartResyncRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void StartResyncRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, buddy_group_), - 0, - offsetof(Impl_, restart_) - - offsetof(Impl_, buddy_group_) + - sizeof(Impl_::restart_)); -} -StartResyncRequest::~StartResyncRequest() { - // @@protoc_insertion_point(destructor:management.StartResyncRequest) - SharedDtor(*this); -} -inline void StartResyncRequest::SharedDtor(MessageLite& self) { - StartResyncRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.buddy_group_; - this_._impl_.~Impl_(); -} - -inline void* StartResyncRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) StartResyncRequest(arena); -} -constexpr auto StartResyncRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StartResyncRequest), - alignof(StartResyncRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull StartResyncRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_StartResyncRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &StartResyncRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &StartResyncRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &StartResyncRequest::ByteSizeLong, - &StartResyncRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(StartResyncRequest, _impl_._cached_size_), - false, - }, - &StartResyncRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StartResyncRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<2, 3, 1, 0, 2> StartResyncRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(StartResyncRequest, _impl_._has_bits_), - 0, // no _extensions_ - 3, 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967288, // skipmap - offsetof(decltype(_table_), field_entries), - 3, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::StartResyncRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // optional .beegfs.EntityIdSet buddy_group = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(StartResyncRequest, _impl_.buddy_group_)}}, - // optional int64 timestamp = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(StartResyncRequest, _impl_.timestamp_), 1>(), - {16, 1, 0, PROTOBUF_FIELD_OFFSET(StartResyncRequest, _impl_.timestamp_)}}, - // optional bool restart = 3; - {::_pbi::TcParser::SingularVarintNoZag1(), - {24, 2, 0, PROTOBUF_FIELD_OFFSET(StartResyncRequest, _impl_.restart_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet buddy_group = 1; - {PROTOBUF_FIELD_OFFSET(StartResyncRequest, _impl_.buddy_group_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional int64 timestamp = 2; - {PROTOBUF_FIELD_OFFSET(StartResyncRequest, _impl_.timestamp_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - // optional bool restart = 3; - {PROTOBUF_FIELD_OFFSET(StartResyncRequest, _impl_.restart_), _Internal::kHasBitsOffset + 2, 0, - (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void StartResyncRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.StartResyncRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.buddy_group_ != nullptr); - _impl_.buddy_group_->Clear(); - } - if (cached_has_bits & 0x00000006u) { - ::memset(&_impl_.timestamp_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.restart_) - - reinterpret_cast(&_impl_.timestamp_)) + sizeof(_impl_.restart_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* StartResyncRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const StartResyncRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* StartResyncRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const StartResyncRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.StartResyncRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet buddy_group = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.buddy_group_, this_._impl_.buddy_group_->GetCachedSize(), target, - stream); - } - - // optional int64 timestamp = 2; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<2>( - stream, this_._internal_timestamp(), target); - } - - // optional bool restart = 3; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 3, this_._internal_restart(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.StartResyncRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t StartResyncRequest::ByteSizeLong(const MessageLite& base) { - const StartResyncRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t StartResyncRequest::ByteSizeLong() const { - const StartResyncRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.StartResyncRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional .beegfs.EntityIdSet buddy_group = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.buddy_group_); - } - // optional int64 timestamp = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_timestamp()); - } - // optional bool restart = 3; - if (cached_has_bits & 0x00000004u) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void StartResyncRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.StartResyncRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.buddy_group_ != nullptr); - if (_this->_impl_.buddy_group_ == nullptr) { - _this->_impl_.buddy_group_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.buddy_group_); - } else { - _this->_impl_.buddy_group_->MergeFrom(*from._impl_.buddy_group_); - } - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.timestamp_ = from._impl_.timestamp_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.restart_ = from._impl_.restart_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void StartResyncRequest::CopyFrom(const StartResyncRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.StartResyncRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void StartResyncRequest::InternalSwap(StartResyncRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(StartResyncRequest, _impl_.restart_) - + sizeof(StartResyncRequest::_impl_.restart_) - - PROTOBUF_FIELD_OFFSET(StartResyncRequest, _impl_.buddy_group_)>( - reinterpret_cast(&_impl_.buddy_group_), - reinterpret_cast(&other->_impl_.buddy_group_)); -} - -::google::protobuf::Metadata StartResyncRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class StartResyncResponse::_Internal { - public: -}; - -StartResyncResponse::StartResyncResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:management.StartResyncResponse) -} -StartResyncResponse::StartResyncResponse( - ::google::protobuf::Arena* arena, - const StartResyncResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - StartResyncResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:management.StartResyncResponse) -} - -inline void* StartResyncResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) StartResyncResponse(arena); -} -constexpr auto StartResyncResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(StartResyncResponse), - alignof(StartResyncResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull StartResyncResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_StartResyncResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &StartResyncResponse::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &StartResyncResponse::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &StartResyncResponse::ByteSizeLong, - &StartResyncResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(StartResyncResponse, _impl_._cached_size_), - false, - }, - &StartResyncResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* StartResyncResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> StartResyncResponse::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::StartResyncResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, - // no field_entries, or aux_entries - {{ - }}, -}; - - - - - - - - -::google::protobuf::Metadata StartResyncResponse::GetMetadata() const { - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class QuotaInfo::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_._has_bits_); -}; - -void QuotaInfo::clear_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -QuotaInfo::QuotaInfo(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.QuotaInfo) -} -inline PROTOBUF_NDEBUG_INLINE QuotaInfo::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::QuotaInfo& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -QuotaInfo::QuotaInfo( - ::google::protobuf::Arena* arena, - const QuotaInfo& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - QuotaInfo* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.pool_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.pool_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, quota_id_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, quota_id_), - offsetof(Impl_, inode_used_) - - offsetof(Impl_, quota_id_) + - sizeof(Impl_::inode_used_)); - - // @@protoc_insertion_point(copy_constructor:management.QuotaInfo) -} -inline PROTOBUF_NDEBUG_INLINE QuotaInfo::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void QuotaInfo::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, pool_), - 0, - offsetof(Impl_, inode_used_) - - offsetof(Impl_, pool_) + - sizeof(Impl_::inode_used_)); -} -QuotaInfo::~QuotaInfo() { - // @@protoc_insertion_point(destructor:management.QuotaInfo) - SharedDtor(*this); -} -inline void QuotaInfo::SharedDtor(MessageLite& self) { - QuotaInfo& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.pool_; - this_._impl_.~Impl_(); -} - -inline void* QuotaInfo::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) QuotaInfo(arena); -} -constexpr auto QuotaInfo::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(QuotaInfo), - alignof(QuotaInfo)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull QuotaInfo::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_QuotaInfo_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &QuotaInfo::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &QuotaInfo::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &QuotaInfo::ByteSizeLong, - &QuotaInfo::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_._cached_size_), - false, - }, - &QuotaInfo::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* QuotaInfo::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 7, 1, 0, 2> QuotaInfo::_table_ = { - { - PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_._has_bits_), - 0, // no _extensions_ - 7, 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967168, // skipmap - offsetof(decltype(_table_), field_entries), - 7, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::QuotaInfo>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // optional uint32 quota_id = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(QuotaInfo, _impl_.quota_id_), 1>(), - {8, 1, 0, PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.quota_id_)}}, - // .beegfs.QuotaIdType id_type = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(QuotaInfo, _impl_.id_type_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.id_type_)}}, - // optional .beegfs.EntityIdSet pool = 3; - {::_pbi::TcParser::FastMtS1, - {26, 0, 0, PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.pool_)}}, - // optional int64 space_limit = 4; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(QuotaInfo, _impl_.space_limit_), 2>(), - {32, 2, 0, PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.space_limit_)}}, - // optional int64 inode_limit = 5; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(QuotaInfo, _impl_.inode_limit_), 3>(), - {40, 3, 0, PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.inode_limit_)}}, - // optional int64 space_used = 6; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(QuotaInfo, _impl_.space_used_), 4>(), - {48, 4, 0, PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.space_used_)}}, - // optional int64 inode_used = 7; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(QuotaInfo, _impl_.inode_used_), 5>(), - {56, 5, 0, PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.inode_used_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional uint32 quota_id = 1; - {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.quota_id_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, - // .beegfs.QuotaIdType id_type = 2; - {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.id_type_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // optional .beegfs.EntityIdSet pool = 3; - {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.pool_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional int64 space_limit = 4; - {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.space_limit_), _Internal::kHasBitsOffset + 2, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - // optional int64 inode_limit = 5; - {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.inode_limit_), _Internal::kHasBitsOffset + 3, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - // optional int64 space_used = 6; - {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.space_used_), _Internal::kHasBitsOffset + 4, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - // optional int64 inode_used = 7; - {PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.inode_used_), _Internal::kHasBitsOffset + 5, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void QuotaInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:management.QuotaInfo) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.pool_ != nullptr); - _impl_.pool_->Clear(); - } - _impl_.quota_id_ = 0u; - _impl_.id_type_ = 0; - if (cached_has_bits & 0x0000003cu) { - ::memset(&_impl_.space_limit_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.inode_used_) - - reinterpret_cast(&_impl_.space_limit_)) + sizeof(_impl_.inode_used_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* QuotaInfo::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const QuotaInfo& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* QuotaInfo::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const QuotaInfo& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.QuotaInfo) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional uint32 quota_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 1, this_._internal_quota_id(), target); - } - - // .beegfs.QuotaIdType id_type = 2; - if (this_._internal_id_type() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this_._internal_id_type(), target); - } - - // optional .beegfs.EntityIdSet pool = 3; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 3, *this_._impl_.pool_, this_._impl_.pool_->GetCachedSize(), target, - stream); - } - - // optional int64 space_limit = 4; - if (cached_has_bits & 0x00000004u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<4>( - stream, this_._internal_space_limit(), target); - } - - // optional int64 inode_limit = 5; - if (cached_has_bits & 0x00000008u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<5>( - stream, this_._internal_inode_limit(), target); - } - - // optional int64 space_used = 6; - if (cached_has_bits & 0x00000010u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<6>( - stream, this_._internal_space_used(), target); - } - - // optional int64 inode_used = 7; - if (cached_has_bits & 0x00000020u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<7>( - stream, this_._internal_inode_used(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.QuotaInfo) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t QuotaInfo::ByteSizeLong(const MessageLite& base) { - const QuotaInfo& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t QuotaInfo::ByteSizeLong() const { - const QuotaInfo& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.QuotaInfo) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .beegfs.EntityIdSet pool = 3; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pool_); - } - // optional uint32 quota_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_quota_id()); - } - } - { - // .beegfs.QuotaIdType id_type = 2; - if (this_._internal_id_type() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_id_type()); - } - } - if (cached_has_bits & 0x0000003cu) { - // optional int64 space_limit = 4; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_space_limit()); - } - // optional int64 inode_limit = 5; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_inode_limit()); - } - // optional int64 space_used = 6; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_space_used()); - } - // optional int64 inode_used = 7; - if (cached_has_bits & 0x00000020u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_inode_used()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void QuotaInfo::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.QuotaInfo) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.pool_ != nullptr); - if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); - } else { - _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); - } - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.quota_id_ = from._impl_.quota_id_; - } - } - if (from._internal_id_type() != 0) { - _this->_impl_.id_type_ = from._impl_.id_type_; - } - if (cached_has_bits & 0x0000003cu) { - if (cached_has_bits & 0x00000004u) { - _this->_impl_.space_limit_ = from._impl_.space_limit_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.inode_limit_ = from._impl_.inode_limit_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.space_used_ = from._impl_.space_used_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.inode_used_ = from._impl_.inode_used_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void QuotaInfo::CopyFrom(const QuotaInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.QuotaInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void QuotaInfo::InternalSwap(QuotaInfo* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.inode_used_) - + sizeof(QuotaInfo::_impl_.inode_used_) - - PROTOBUF_FIELD_OFFSET(QuotaInfo, _impl_.pool_)>( - reinterpret_cast(&_impl_.pool_), - reinterpret_cast(&other->_impl_.pool_)); -} - -::google::protobuf::Metadata QuotaInfo::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class SetDefaultQuotaLimitsRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_._has_bits_); -}; - -void SetDefaultQuotaLimitsRequest::clear_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -SetDefaultQuotaLimitsRequest::SetDefaultQuotaLimitsRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.SetDefaultQuotaLimitsRequest) -} -inline PROTOBUF_NDEBUG_INLINE SetDefaultQuotaLimitsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::SetDefaultQuotaLimitsRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -SetDefaultQuotaLimitsRequest::SetDefaultQuotaLimitsRequest( - ::google::protobuf::Arena* arena, - const SetDefaultQuotaLimitsRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SetDefaultQuotaLimitsRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.pool_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.pool_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, user_space_limit_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, user_space_limit_), - offsetof(Impl_, group_inode_limit_) - - offsetof(Impl_, user_space_limit_) + - sizeof(Impl_::group_inode_limit_)); - - // @@protoc_insertion_point(copy_constructor:management.SetDefaultQuotaLimitsRequest) -} -inline PROTOBUF_NDEBUG_INLINE SetDefaultQuotaLimitsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void SetDefaultQuotaLimitsRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, pool_), - 0, - offsetof(Impl_, group_inode_limit_) - - offsetof(Impl_, pool_) + - sizeof(Impl_::group_inode_limit_)); -} -SetDefaultQuotaLimitsRequest::~SetDefaultQuotaLimitsRequest() { - // @@protoc_insertion_point(destructor:management.SetDefaultQuotaLimitsRequest) - SharedDtor(*this); -} -inline void SetDefaultQuotaLimitsRequest::SharedDtor(MessageLite& self) { - SetDefaultQuotaLimitsRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.pool_; - this_._impl_.~Impl_(); -} - -inline void* SetDefaultQuotaLimitsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) SetDefaultQuotaLimitsRequest(arena); -} -constexpr auto SetDefaultQuotaLimitsRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetDefaultQuotaLimitsRequest), - alignof(SetDefaultQuotaLimitsRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SetDefaultQuotaLimitsRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SetDefaultQuotaLimitsRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SetDefaultQuotaLimitsRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SetDefaultQuotaLimitsRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &SetDefaultQuotaLimitsRequest::ByteSizeLong, - &SetDefaultQuotaLimitsRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_._cached_size_), - false, - }, - &SetDefaultQuotaLimitsRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetDefaultQuotaLimitsRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 5, 1, 0, 2> SetDefaultQuotaLimitsRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_._has_bits_), - 0, // no _extensions_ - 5, 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967264, // skipmap - offsetof(decltype(_table_), field_entries), - 5, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::SetDefaultQuotaLimitsRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // optional .beegfs.EntityIdSet pool = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_.pool_)}}, - // optional int64 user_space_limit = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SetDefaultQuotaLimitsRequest, _impl_.user_space_limit_), 1>(), - {16, 1, 0, PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_.user_space_limit_)}}, - // optional int64 user_inode_limit = 3; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SetDefaultQuotaLimitsRequest, _impl_.user_inode_limit_), 2>(), - {24, 2, 0, PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_.user_inode_limit_)}}, - // optional int64 group_space_limit = 4; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SetDefaultQuotaLimitsRequest, _impl_.group_space_limit_), 3>(), - {32, 3, 0, PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_.group_space_limit_)}}, - // optional int64 group_inode_limit = 5; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(SetDefaultQuotaLimitsRequest, _impl_.group_inode_limit_), 4>(), - {40, 4, 0, PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_.group_inode_limit_)}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .beegfs.EntityIdSet pool = 1; - {PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_.pool_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional int64 user_space_limit = 2; - {PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_.user_space_limit_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - // optional int64 user_inode_limit = 3; - {PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_.user_inode_limit_), _Internal::kHasBitsOffset + 2, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - // optional int64 group_space_limit = 4; - {PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_.group_space_limit_), _Internal::kHasBitsOffset + 3, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - // optional int64 group_inode_limit = 5; - {PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_.group_inode_limit_), _Internal::kHasBitsOffset + 4, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt64)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void SetDefaultQuotaLimitsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.SetDefaultQuotaLimitsRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.pool_ != nullptr); - _impl_.pool_->Clear(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.user_space_limit_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.group_inode_limit_) - - reinterpret_cast(&_impl_.user_space_limit_)) + sizeof(_impl_.group_inode_limit_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* SetDefaultQuotaLimitsRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const SetDefaultQuotaLimitsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* SetDefaultQuotaLimitsRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const SetDefaultQuotaLimitsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.SetDefaultQuotaLimitsRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .beegfs.EntityIdSet pool = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.pool_, this_._impl_.pool_->GetCachedSize(), target, - stream); - } - - // optional int64 user_space_limit = 2; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<2>( - stream, this_._internal_user_space_limit(), target); - } - - // optional int64 user_inode_limit = 3; - if (cached_has_bits & 0x00000004u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<3>( - stream, this_._internal_user_inode_limit(), target); - } - - // optional int64 group_space_limit = 4; - if (cached_has_bits & 0x00000008u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<4>( - stream, this_._internal_group_space_limit(), target); - } - - // optional int64 group_inode_limit = 5; - if (cached_has_bits & 0x00000010u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<5>( - stream, this_._internal_group_inode_limit(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.SetDefaultQuotaLimitsRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t SetDefaultQuotaLimitsRequest::ByteSizeLong(const MessageLite& base) { - const SetDefaultQuotaLimitsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t SetDefaultQuotaLimitsRequest::ByteSizeLong() const { - const SetDefaultQuotaLimitsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.SetDefaultQuotaLimitsRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional .beegfs.EntityIdSet pool = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pool_); - } - // optional int64 user_space_limit = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_user_space_limit()); - } - // optional int64 user_inode_limit = 3; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_user_inode_limit()); - } - // optional int64 group_space_limit = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_group_space_limit()); - } - // optional int64 group_inode_limit = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_group_inode_limit()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void SetDefaultQuotaLimitsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.SetDefaultQuotaLimitsRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.pool_ != nullptr); - if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); - } else { - _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); - } - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.user_space_limit_ = from._impl_.user_space_limit_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.user_inode_limit_ = from._impl_.user_inode_limit_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.group_space_limit_ = from._impl_.group_space_limit_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.group_inode_limit_ = from._impl_.group_inode_limit_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void SetDefaultQuotaLimitsRequest::CopyFrom(const SetDefaultQuotaLimitsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.SetDefaultQuotaLimitsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void SetDefaultQuotaLimitsRequest::InternalSwap(SetDefaultQuotaLimitsRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_.group_inode_limit_) - + sizeof(SetDefaultQuotaLimitsRequest::_impl_.group_inode_limit_) - - PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsRequest, _impl_.pool_)>( - reinterpret_cast(&_impl_.pool_), - reinterpret_cast(&other->_impl_.pool_)); -} - -::google::protobuf::Metadata SetDefaultQuotaLimitsRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class SetDefaultQuotaLimitsResponse::_Internal { - public: -}; - -SetDefaultQuotaLimitsResponse::SetDefaultQuotaLimitsResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:management.SetDefaultQuotaLimitsResponse) -} -SetDefaultQuotaLimitsResponse::SetDefaultQuotaLimitsResponse( - ::google::protobuf::Arena* arena, - const SetDefaultQuotaLimitsResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SetDefaultQuotaLimitsResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:management.SetDefaultQuotaLimitsResponse) -} - -inline void* SetDefaultQuotaLimitsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) SetDefaultQuotaLimitsResponse(arena); -} -constexpr auto SetDefaultQuotaLimitsResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetDefaultQuotaLimitsResponse), - alignof(SetDefaultQuotaLimitsResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SetDefaultQuotaLimitsResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SetDefaultQuotaLimitsResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SetDefaultQuotaLimitsResponse::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SetDefaultQuotaLimitsResponse::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SetDefaultQuotaLimitsResponse::ByteSizeLong, - &SetDefaultQuotaLimitsResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SetDefaultQuotaLimitsResponse, _impl_._cached_size_), - false, - }, - &SetDefaultQuotaLimitsResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetDefaultQuotaLimitsResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetDefaultQuotaLimitsResponse::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::SetDefaultQuotaLimitsResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, - // no field_entries, or aux_entries - {{ - }}, -}; - - - - - - - - -::google::protobuf::Metadata SetDefaultQuotaLimitsResponse::GetMetadata() const { - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class SetQuotaLimitsRequest::_Internal { - public: -}; - -SetQuotaLimitsRequest::SetQuotaLimitsRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.SetQuotaLimitsRequest) -} -inline PROTOBUF_NDEBUG_INLINE SetQuotaLimitsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::SetQuotaLimitsRequest& from_msg) - : limits_{visibility, arena, from.limits_}, - _cached_size_{0} {} - -SetQuotaLimitsRequest::SetQuotaLimitsRequest( - ::google::protobuf::Arena* arena, - const SetQuotaLimitsRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SetQuotaLimitsRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - - // @@protoc_insertion_point(copy_constructor:management.SetQuotaLimitsRequest) -} -inline PROTOBUF_NDEBUG_INLINE SetQuotaLimitsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : limits_{visibility, arena}, - _cached_size_{0} {} - -inline void SetQuotaLimitsRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); -} -SetQuotaLimitsRequest::~SetQuotaLimitsRequest() { - // @@protoc_insertion_point(destructor:management.SetQuotaLimitsRequest) - SharedDtor(*this); -} -inline void SetQuotaLimitsRequest::SharedDtor(MessageLite& self) { - SetQuotaLimitsRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* SetQuotaLimitsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) SetQuotaLimitsRequest(arena); -} -constexpr auto SetQuotaLimitsRequest::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(SetQuotaLimitsRequest, _impl_.limits_) + - decltype(SetQuotaLimitsRequest::_impl_.limits_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(SetQuotaLimitsRequest), alignof(SetQuotaLimitsRequest), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&SetQuotaLimitsRequest::PlacementNew_, - sizeof(SetQuotaLimitsRequest), - alignof(SetQuotaLimitsRequest)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SetQuotaLimitsRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SetQuotaLimitsRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SetQuotaLimitsRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SetQuotaLimitsRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &SetQuotaLimitsRequest::ByteSizeLong, - &SetQuotaLimitsRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SetQuotaLimitsRequest, _impl_._cached_size_), - false, - }, - &SetQuotaLimitsRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetQuotaLimitsRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> SetQuotaLimitsRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::SetQuotaLimitsRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // repeated .management.QuotaInfo limits = 1; - {::_pbi::TcParser::FastMtR1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(SetQuotaLimitsRequest, _impl_.limits_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // repeated .management.QuotaInfo limits = 1; - {PROTOBUF_FIELD_OFFSET(SetQuotaLimitsRequest, _impl_.limits_), 0, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::management::QuotaInfo>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void SetQuotaLimitsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.SetQuotaLimitsRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.limits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* SetQuotaLimitsRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const SetQuotaLimitsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* SetQuotaLimitsRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const SetQuotaLimitsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.SetQuotaLimitsRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // repeated .management.QuotaInfo limits = 1; - for (unsigned i = 0, n = static_cast( - this_._internal_limits_size()); - i < n; i++) { - const auto& repfield = this_._internal_limits().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, repfield, repfield.GetCachedSize(), - target, stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.SetQuotaLimitsRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t SetQuotaLimitsRequest::ByteSizeLong(const MessageLite& base) { - const SetQuotaLimitsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t SetQuotaLimitsRequest::ByteSizeLong() const { - const SetQuotaLimitsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.SetQuotaLimitsRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated .management.QuotaInfo limits = 1; - { - total_size += 1UL * this_._internal_limits_size(); - for (const auto& msg : this_._internal_limits()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void SetQuotaLimitsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:management.SetQuotaLimitsRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_limits()->MergeFrom( - from._internal_limits()); - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void SetQuotaLimitsRequest::CopyFrom(const SetQuotaLimitsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.SetQuotaLimitsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void SetQuotaLimitsRequest::InternalSwap(SetQuotaLimitsRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.limits_.InternalSwap(&other->_impl_.limits_); -} - -::google::protobuf::Metadata SetQuotaLimitsRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class SetQuotaLimitsResponse::_Internal { - public: -}; - -SetQuotaLimitsResponse::SetQuotaLimitsResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(arena_constructor:management.SetQuotaLimitsResponse) -} -SetQuotaLimitsResponse::SetQuotaLimitsResponse( - ::google::protobuf::Arena* arena, - const SetQuotaLimitsResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::internal::ZeroFieldsBase(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SetQuotaLimitsResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:management.SetQuotaLimitsResponse) -} - -inline void* SetQuotaLimitsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) SetQuotaLimitsResponse(arena); -} -constexpr auto SetQuotaLimitsResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SetQuotaLimitsResponse), - alignof(SetQuotaLimitsResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SetQuotaLimitsResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SetQuotaLimitsResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SetQuotaLimitsResponse::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SetQuotaLimitsResponse::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &SetQuotaLimitsResponse::ByteSizeLong, - &SetQuotaLimitsResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SetQuotaLimitsResponse, _impl_._cached_size_), - false, - }, - &SetQuotaLimitsResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SetQuotaLimitsResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 0, 0, 0, 2> SetQuotaLimitsResponse::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 0, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967295, // skipmap - offsetof(decltype(_table_), field_names), // no field_entries - 0, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::SetQuotaLimitsResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, - // no field_entries, or aux_entries - {{ - }}, -}; - - - - - - - - -::google::protobuf::Metadata SetQuotaLimitsResponse::GetMetadata() const { - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetQuotaLimitsRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_._has_bits_); -}; - -void GetQuotaLimitsRequest::clear_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -GetQuotaLimitsRequest::GetQuotaLimitsRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetQuotaLimitsRequest) -} -inline PROTOBUF_NDEBUG_INLINE GetQuotaLimitsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::GetQuotaLimitsRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - user_id_list_{visibility, arena, from.user_id_list_}, - _user_id_list_cached_byte_size_{0}, - group_id_list_{visibility, arena, from.group_id_list_}, - _group_id_list_cached_byte_size_{0} {} - -GetQuotaLimitsRequest::GetQuotaLimitsRequest( - ::google::protobuf::Arena* arena, - const GetQuotaLimitsRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetQuotaLimitsRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.pool_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.pool_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, user_id_min_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, user_id_min_), - offsetof(Impl_, group_id_max_) - - offsetof(Impl_, user_id_min_) + - sizeof(Impl_::group_id_max_)); - - // @@protoc_insertion_point(copy_constructor:management.GetQuotaLimitsRequest) -} -inline PROTOBUF_NDEBUG_INLINE GetQuotaLimitsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - user_id_list_{visibility, arena}, - _user_id_list_cached_byte_size_{0}, - group_id_list_{visibility, arena}, - _group_id_list_cached_byte_size_{0} {} - -inline void GetQuotaLimitsRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, pool_), - 0, - offsetof(Impl_, group_id_max_) - - offsetof(Impl_, pool_) + - sizeof(Impl_::group_id_max_)); -} -GetQuotaLimitsRequest::~GetQuotaLimitsRequest() { - // @@protoc_insertion_point(destructor:management.GetQuotaLimitsRequest) - SharedDtor(*this); -} -inline void GetQuotaLimitsRequest::SharedDtor(MessageLite& self) { - GetQuotaLimitsRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.pool_; - this_._impl_.~Impl_(); -} - -inline void* GetQuotaLimitsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetQuotaLimitsRequest(arena); -} -constexpr auto GetQuotaLimitsRequest::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.user_id_list_) + - decltype(GetQuotaLimitsRequest::_impl_.user_id_list_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.group_id_list_) + - decltype(GetQuotaLimitsRequest::_impl_.group_id_list_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetQuotaLimitsRequest), alignof(GetQuotaLimitsRequest), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&GetQuotaLimitsRequest::PlacementNew_, - sizeof(GetQuotaLimitsRequest), - alignof(GetQuotaLimitsRequest)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetQuotaLimitsRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetQuotaLimitsRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetQuotaLimitsRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetQuotaLimitsRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetQuotaLimitsRequest::ByteSizeLong, - &GetQuotaLimitsRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_._cached_size_), - false, - }, - &GetQuotaLimitsRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetQuotaLimitsRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 7, 1, 0, 2> GetQuotaLimitsRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_._has_bits_), - 0, // no _extensions_ - 7, 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967168, // skipmap - offsetof(decltype(_table_), field_entries), - 7, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetQuotaLimitsRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // optional uint32 user_id_min = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetQuotaLimitsRequest, _impl_.user_id_min_), 1>(), - {8, 1, 0, PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.user_id_min_)}}, - // optional uint32 user_id_max = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetQuotaLimitsRequest, _impl_.user_id_max_), 2>(), - {16, 2, 0, PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.user_id_max_)}}, - // repeated uint32 user_id_list = 3; - {::_pbi::TcParser::FastV32P1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.user_id_list_)}}, - // optional uint32 group_id_min = 4; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetQuotaLimitsRequest, _impl_.group_id_min_), 3>(), - {32, 3, 0, PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.group_id_min_)}}, - // optional uint32 group_id_max = 5; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetQuotaLimitsRequest, _impl_.group_id_max_), 4>(), - {40, 4, 0, PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.group_id_max_)}}, - // repeated uint32 group_id_list = 6; - {::_pbi::TcParser::FastV32P1, - {50, 63, 0, PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.group_id_list_)}}, - // optional .beegfs.EntityIdSet pool = 7; - {::_pbi::TcParser::FastMtS1, - {58, 0, 0, PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.pool_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional uint32 user_id_min = 1; - {PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.user_id_min_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, - // optional uint32 user_id_max = 2; - {PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.user_id_max_), _Internal::kHasBitsOffset + 2, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, - // repeated uint32 user_id_list = 3; - {PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.user_id_list_), -1, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)}, - // optional uint32 group_id_min = 4; - {PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.group_id_min_), _Internal::kHasBitsOffset + 3, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, - // optional uint32 group_id_max = 5; - {PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.group_id_max_), _Internal::kHasBitsOffset + 4, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, - // repeated uint32 group_id_list = 6; - {PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.group_id_list_), -1, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)}, - // optional .beegfs.EntityIdSet pool = 7; - {PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.pool_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void GetQuotaLimitsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetQuotaLimitsRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.user_id_list_.Clear(); - _impl_.group_id_list_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.pool_ != nullptr); - _impl_.pool_->Clear(); - } - if (cached_has_bits & 0x0000001eu) { - ::memset(&_impl_.user_id_min_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.group_id_max_) - - reinterpret_cast(&_impl_.user_id_min_)) + sizeof(_impl_.group_id_max_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetQuotaLimitsRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetQuotaLimitsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetQuotaLimitsRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetQuotaLimitsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetQuotaLimitsRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional uint32 user_id_min = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 1, this_._internal_user_id_min(), target); - } - - // optional uint32 user_id_max = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 2, this_._internal_user_id_max(), target); - } - - // repeated uint32 user_id_list = 3; - { - int byte_size = this_._impl_._user_id_list_cached_byte_size_.Get(); - if (byte_size > 0) { - target = stream->WriteUInt32Packed( - 3, this_._internal_user_id_list(), byte_size, target); - } - } - - // optional uint32 group_id_min = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 4, this_._internal_group_id_min(), target); - } - - // optional uint32 group_id_max = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 5, this_._internal_group_id_max(), target); - } - - // repeated uint32 group_id_list = 6; - { - int byte_size = this_._impl_._group_id_list_cached_byte_size_.Get(); - if (byte_size > 0) { - target = stream->WriteUInt32Packed( - 6, this_._internal_group_id_list(), byte_size, target); - } - } - - // optional .beegfs.EntityIdSet pool = 7; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 7, *this_._impl_.pool_, this_._impl_.pool_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetQuotaLimitsRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetQuotaLimitsRequest::ByteSizeLong(const MessageLite& base) { - const GetQuotaLimitsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetQuotaLimitsRequest::ByteSizeLong() const { - const GetQuotaLimitsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetQuotaLimitsRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated uint32 user_id_list = 3; - { - total_size += - ::_pbi::WireFormatLite::UInt32SizeWithPackedTagSize( - this_._internal_user_id_list(), 1, - this_._impl_._user_id_list_cached_byte_size_); - } - // repeated uint32 group_id_list = 6; - { - total_size += - ::_pbi::WireFormatLite::UInt32SizeWithPackedTagSize( - this_._internal_group_id_list(), 1, - this_._impl_._group_id_list_cached_byte_size_); - } - } - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // optional .beegfs.EntityIdSet pool = 7; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pool_); - } - // optional uint32 user_id_min = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_user_id_min()); - } - // optional uint32 user_id_max = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_user_id_max()); - } - // optional uint32 group_id_min = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_group_id_min()); - } - // optional uint32 group_id_max = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_group_id_max()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetQuotaLimitsRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetQuotaLimitsRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_user_id_list()->MergeFrom(from._internal_user_id_list()); - _this->_internal_mutable_group_id_list()->MergeFrom(from._internal_group_id_list()); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.pool_ != nullptr); - if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); - } else { - _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); - } - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.user_id_min_ = from._impl_.user_id_min_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.user_id_max_ = from._impl_.user_id_max_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.group_id_min_ = from._impl_.group_id_min_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.group_id_max_ = from._impl_.group_id_max_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetQuotaLimitsRequest::CopyFrom(const GetQuotaLimitsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetQuotaLimitsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetQuotaLimitsRequest::InternalSwap(GetQuotaLimitsRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.user_id_list_.InternalSwap(&other->_impl_.user_id_list_); - _impl_.group_id_list_.InternalSwap(&other->_impl_.group_id_list_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.group_id_max_) - + sizeof(GetQuotaLimitsRequest::_impl_.group_id_max_) - - PROTOBUF_FIELD_OFFSET(GetQuotaLimitsRequest, _impl_.pool_)>( - reinterpret_cast(&_impl_.pool_), - reinterpret_cast(&other->_impl_.pool_)); -} - -::google::protobuf::Metadata GetQuotaLimitsRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetQuotaLimitsResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetQuotaLimitsResponse, _impl_._has_bits_); -}; - -GetQuotaLimitsResponse::GetQuotaLimitsResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetQuotaLimitsResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetQuotaLimitsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::GetQuotaLimitsResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -GetQuotaLimitsResponse::GetQuotaLimitsResponse( - ::google::protobuf::Arena* arena, - const GetQuotaLimitsResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetQuotaLimitsResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.limits_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::management::QuotaInfo>( - arena, *from._impl_.limits_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:management.GetQuotaLimitsResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetQuotaLimitsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void GetQuotaLimitsResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.limits_ = {}; -} -GetQuotaLimitsResponse::~GetQuotaLimitsResponse() { - // @@protoc_insertion_point(destructor:management.GetQuotaLimitsResponse) - SharedDtor(*this); -} -inline void GetQuotaLimitsResponse::SharedDtor(MessageLite& self) { - GetQuotaLimitsResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.limits_; - this_._impl_.~Impl_(); -} - -inline void* GetQuotaLimitsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetQuotaLimitsResponse(arena); -} -constexpr auto GetQuotaLimitsResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetQuotaLimitsResponse), - alignof(GetQuotaLimitsResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetQuotaLimitsResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetQuotaLimitsResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetQuotaLimitsResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetQuotaLimitsResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetQuotaLimitsResponse::ByteSizeLong, - &GetQuotaLimitsResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetQuotaLimitsResponse, _impl_._cached_size_), - false, - }, - &GetQuotaLimitsResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetQuotaLimitsResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetQuotaLimitsResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetQuotaLimitsResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetQuotaLimitsResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional .management.QuotaInfo limits = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetQuotaLimitsResponse, _impl_.limits_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .management.QuotaInfo limits = 1; - {PROTOBUF_FIELD_OFFSET(GetQuotaLimitsResponse, _impl_.limits_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::management::QuotaInfo>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void GetQuotaLimitsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetQuotaLimitsResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.limits_ != nullptr); - _impl_.limits_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetQuotaLimitsResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetQuotaLimitsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetQuotaLimitsResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetQuotaLimitsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetQuotaLimitsResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .management.QuotaInfo limits = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.limits_, this_._impl_.limits_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetQuotaLimitsResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetQuotaLimitsResponse::ByteSizeLong(const MessageLite& base) { - const GetQuotaLimitsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetQuotaLimitsResponse::ByteSizeLong() const { - const GetQuotaLimitsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetQuotaLimitsResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // optional .management.QuotaInfo limits = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.limits_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetQuotaLimitsResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetQuotaLimitsResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.limits_ != nullptr); - if (_this->_impl_.limits_ == nullptr) { - _this->_impl_.limits_ = - ::google::protobuf::Message::CopyConstruct<::management::QuotaInfo>(arena, *from._impl_.limits_); - } else { - _this->_impl_.limits_->MergeFrom(*from._impl_.limits_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetQuotaLimitsResponse::CopyFrom(const GetQuotaLimitsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetQuotaLimitsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetQuotaLimitsResponse::InternalSwap(GetQuotaLimitsResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.limits_, other->_impl_.limits_); -} - -::google::protobuf::Metadata GetQuotaLimitsResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetQuotaUsageRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_._has_bits_); -}; - -void GetQuotaUsageRequest::clear_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ != nullptr) _impl_.pool_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -GetQuotaUsageRequest::GetQuotaUsageRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetQuotaUsageRequest) -} -inline PROTOBUF_NDEBUG_INLINE GetQuotaUsageRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::GetQuotaUsageRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - user_id_list_{visibility, arena, from.user_id_list_}, - _user_id_list_cached_byte_size_{0}, - group_id_list_{visibility, arena, from.group_id_list_}, - _group_id_list_cached_byte_size_{0} {} - -GetQuotaUsageRequest::GetQuotaUsageRequest( - ::google::protobuf::Arena* arena, - const GetQuotaUsageRequest& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetQuotaUsageRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.pool_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>( - arena, *from._impl_.pool_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, user_id_min_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, user_id_min_), - offsetof(Impl_, exceeded_) - - offsetof(Impl_, user_id_min_) + - sizeof(Impl_::exceeded_)); - - // @@protoc_insertion_point(copy_constructor:management.GetQuotaUsageRequest) -} -inline PROTOBUF_NDEBUG_INLINE GetQuotaUsageRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - user_id_list_{visibility, arena}, - _user_id_list_cached_byte_size_{0}, - group_id_list_{visibility, arena}, - _group_id_list_cached_byte_size_{0} {} - -inline void GetQuotaUsageRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, pool_), - 0, - offsetof(Impl_, exceeded_) - - offsetof(Impl_, pool_) + - sizeof(Impl_::exceeded_)); -} -GetQuotaUsageRequest::~GetQuotaUsageRequest() { - // @@protoc_insertion_point(destructor:management.GetQuotaUsageRequest) - SharedDtor(*this); -} -inline void GetQuotaUsageRequest::SharedDtor(MessageLite& self) { - GetQuotaUsageRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.pool_; - this_._impl_.~Impl_(); -} - -inline void* GetQuotaUsageRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetQuotaUsageRequest(arena); -} -constexpr auto GetQuotaUsageRequest::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.user_id_list_) + - decltype(GetQuotaUsageRequest::_impl_.user_id_list_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.group_id_list_) + - decltype(GetQuotaUsageRequest::_impl_.group_id_list_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetQuotaUsageRequest), alignof(GetQuotaUsageRequest), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&GetQuotaUsageRequest::PlacementNew_, - sizeof(GetQuotaUsageRequest), - alignof(GetQuotaUsageRequest)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetQuotaUsageRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetQuotaUsageRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetQuotaUsageRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetQuotaUsageRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetQuotaUsageRequest::ByteSizeLong, - &GetQuotaUsageRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_._cached_size_), - false, - }, - &GetQuotaUsageRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetQuotaUsageRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<3, 8, 1, 0, 2> GetQuotaUsageRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_._has_bits_), - 0, // no _extensions_ - 8, 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967040, // skipmap - offsetof(decltype(_table_), field_entries), - 8, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetQuotaUsageRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional bool exceeded = 8; - {::_pbi::TcParser::SingularVarintNoZag1(), - {64, 5, 0, PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.exceeded_)}}, - // optional uint32 user_id_min = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetQuotaUsageRequest, _impl_.user_id_min_), 1>(), - {8, 1, 0, PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.user_id_min_)}}, - // optional uint32 user_id_max = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetQuotaUsageRequest, _impl_.user_id_max_), 2>(), - {16, 2, 0, PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.user_id_max_)}}, - // repeated uint32 user_id_list = 3; - {::_pbi::TcParser::FastV32P1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.user_id_list_)}}, - // optional uint32 group_id_min = 4; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetQuotaUsageRequest, _impl_.group_id_min_), 3>(), - {32, 3, 0, PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.group_id_min_)}}, - // optional uint32 group_id_max = 5; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetQuotaUsageRequest, _impl_.group_id_max_), 4>(), - {40, 4, 0, PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.group_id_max_)}}, - // repeated uint32 group_id_list = 6; - {::_pbi::TcParser::FastV32P1, - {50, 63, 0, PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.group_id_list_)}}, - // optional .beegfs.EntityIdSet pool = 7; - {::_pbi::TcParser::FastMtS1, - {58, 0, 0, PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.pool_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional uint32 user_id_min = 1; - {PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.user_id_min_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, - // optional uint32 user_id_max = 2; - {PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.user_id_max_), _Internal::kHasBitsOffset + 2, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, - // repeated uint32 user_id_list = 3; - {PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.user_id_list_), -1, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)}, - // optional uint32 group_id_min = 4; - {PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.group_id_min_), _Internal::kHasBitsOffset + 3, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, - // optional uint32 group_id_max = 5; - {PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.group_id_max_), _Internal::kHasBitsOffset + 4, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, - // repeated uint32 group_id_list = 6; - {PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.group_id_list_), -1, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kPackedUInt32)}, - // optional .beegfs.EntityIdSet pool = 7; - {PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.pool_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional bool exceeded = 8; - {PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.exceeded_), _Internal::kHasBitsOffset + 5, 0, - (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beegfs::EntityIdSet>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void GetQuotaUsageRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetQuotaUsageRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.user_id_list_.Clear(); - _impl_.group_id_list_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.pool_ != nullptr); - _impl_.pool_->Clear(); - } - if (cached_has_bits & 0x0000003eu) { - ::memset(&_impl_.user_id_min_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.exceeded_) - - reinterpret_cast(&_impl_.user_id_min_)) + sizeof(_impl_.exceeded_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetQuotaUsageRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetQuotaUsageRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetQuotaUsageRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetQuotaUsageRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetQuotaUsageRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional uint32 user_id_min = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 1, this_._internal_user_id_min(), target); - } - - // optional uint32 user_id_max = 2; - if (cached_has_bits & 0x00000004u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 2, this_._internal_user_id_max(), target); - } - - // repeated uint32 user_id_list = 3; - { - int byte_size = this_._impl_._user_id_list_cached_byte_size_.Get(); - if (byte_size > 0) { - target = stream->WriteUInt32Packed( - 3, this_._internal_user_id_list(), byte_size, target); - } - } - - // optional uint32 group_id_min = 4; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 4, this_._internal_group_id_min(), target); - } - - // optional uint32 group_id_max = 5; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 5, this_._internal_group_id_max(), target); - } - - // repeated uint32 group_id_list = 6; - { - int byte_size = this_._impl_._group_id_list_cached_byte_size_.Get(); - if (byte_size > 0) { - target = stream->WriteUInt32Packed( - 6, this_._internal_group_id_list(), byte_size, target); - } - } - - // optional .beegfs.EntityIdSet pool = 7; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 7, *this_._impl_.pool_, this_._impl_.pool_->GetCachedSize(), target, - stream); - } - - // optional bool exceeded = 8; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 8, this_._internal_exceeded(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetQuotaUsageRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetQuotaUsageRequest::ByteSizeLong(const MessageLite& base) { - const GetQuotaUsageRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetQuotaUsageRequest::ByteSizeLong() const { - const GetQuotaUsageRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetQuotaUsageRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - { - // repeated uint32 user_id_list = 3; - { - total_size += - ::_pbi::WireFormatLite::UInt32SizeWithPackedTagSize( - this_._internal_user_id_list(), 1, - this_._impl_._user_id_list_cached_byte_size_); - } - // repeated uint32 group_id_list = 6; - { - total_size += - ::_pbi::WireFormatLite::UInt32SizeWithPackedTagSize( - this_._internal_group_id_list(), 1, - this_._impl_._group_id_list_cached_byte_size_); - } - } - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - // optional .beegfs.EntityIdSet pool = 7; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.pool_); - } - // optional uint32 user_id_min = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_user_id_min()); - } - // optional uint32 user_id_max = 2; - if (cached_has_bits & 0x00000004u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_user_id_max()); - } - // optional uint32 group_id_min = 4; - if (cached_has_bits & 0x00000008u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_group_id_min()); - } - // optional uint32 group_id_max = 5; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_group_id_max()); - } - // optional bool exceeded = 8; - if (cached_has_bits & 0x00000020u) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetQuotaUsageRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetQuotaUsageRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_user_id_list()->MergeFrom(from._internal_user_id_list()); - _this->_internal_mutable_group_id_list()->MergeFrom(from._internal_group_id_list()); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000003fu) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.pool_ != nullptr); - if (_this->_impl_.pool_ == nullptr) { - _this->_impl_.pool_ = - ::google::protobuf::Message::CopyConstruct<::beegfs::EntityIdSet>(arena, *from._impl_.pool_); - } else { - _this->_impl_.pool_->MergeFrom(*from._impl_.pool_); - } - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.user_id_min_ = from._impl_.user_id_min_; - } - if (cached_has_bits & 0x00000004u) { - _this->_impl_.user_id_max_ = from._impl_.user_id_max_; - } - if (cached_has_bits & 0x00000008u) { - _this->_impl_.group_id_min_ = from._impl_.group_id_min_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.group_id_max_ = from._impl_.group_id_max_; - } - if (cached_has_bits & 0x00000020u) { - _this->_impl_.exceeded_ = from._impl_.exceeded_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetQuotaUsageRequest::CopyFrom(const GetQuotaUsageRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetQuotaUsageRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetQuotaUsageRequest::InternalSwap(GetQuotaUsageRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.user_id_list_.InternalSwap(&other->_impl_.user_id_list_); - _impl_.group_id_list_.InternalSwap(&other->_impl_.group_id_list_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.exceeded_) - + sizeof(GetQuotaUsageRequest::_impl_.exceeded_) - - PROTOBUF_FIELD_OFFSET(GetQuotaUsageRequest, _impl_.pool_)>( - reinterpret_cast(&_impl_.pool_), - reinterpret_cast(&other->_impl_.pool_)); -} - -::google::protobuf::Metadata GetQuotaUsageRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetQuotaUsageResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetQuotaUsageResponse, _impl_._has_bits_); -}; - -GetQuotaUsageResponse::GetQuotaUsageResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetQuotaUsageResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetQuotaUsageResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::GetQuotaUsageResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -GetQuotaUsageResponse::GetQuotaUsageResponse( - ::google::protobuf::Arena* arena, - const GetQuotaUsageResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetQuotaUsageResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.entry_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::management::QuotaInfo>( - arena, *from._impl_.entry_) - : nullptr; - _impl_.refresh_period_s_ = from._impl_.refresh_period_s_; - - // @@protoc_insertion_point(copy_constructor:management.GetQuotaUsageResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetQuotaUsageResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void GetQuotaUsageResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, entry_), - 0, - offsetof(Impl_, refresh_period_s_) - - offsetof(Impl_, entry_) + - sizeof(Impl_::refresh_period_s_)); -} -GetQuotaUsageResponse::~GetQuotaUsageResponse() { - // @@protoc_insertion_point(destructor:management.GetQuotaUsageResponse) - SharedDtor(*this); -} -inline void GetQuotaUsageResponse::SharedDtor(MessageLite& self) { - GetQuotaUsageResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.entry_; - this_._impl_.~Impl_(); -} - -inline void* GetQuotaUsageResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetQuotaUsageResponse(arena); -} -constexpr auto GetQuotaUsageResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetQuotaUsageResponse), - alignof(GetQuotaUsageResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetQuotaUsageResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetQuotaUsageResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetQuotaUsageResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetQuotaUsageResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetQuotaUsageResponse::ByteSizeLong, - &GetQuotaUsageResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetQuotaUsageResponse, _impl_._cached_size_), - false, - }, - &GetQuotaUsageResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetQuotaUsageResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<1, 2, 1, 0, 2> GetQuotaUsageResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetQuotaUsageResponse, _impl_._has_bits_), - 0, // no _extensions_ - 2, 8, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967292, // skipmap - offsetof(decltype(_table_), field_entries), - 2, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetQuotaUsageResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional uint64 refresh_period_s = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(GetQuotaUsageResponse, _impl_.refresh_period_s_), 1>(), - {16, 1, 0, PROTOBUF_FIELD_OFFSET(GetQuotaUsageResponse, _impl_.refresh_period_s_)}}, - // optional .management.QuotaInfo entry = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetQuotaUsageResponse, _impl_.entry_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .management.QuotaInfo entry = 1; - {PROTOBUF_FIELD_OFFSET(GetQuotaUsageResponse, _impl_.entry_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional uint64 refresh_period_s = 2; - {PROTOBUF_FIELD_OFFSET(GetQuotaUsageResponse, _impl_.refresh_period_s_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt64)}, - }}, {{ - {::_pbi::TcParser::GetTable<::management::QuotaInfo>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void GetQuotaUsageResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetQuotaUsageResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.entry_ != nullptr); - _impl_.entry_->Clear(); - } - _impl_.refresh_period_s_ = ::uint64_t{0u}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetQuotaUsageResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetQuotaUsageResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetQuotaUsageResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetQuotaUsageResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetQuotaUsageResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .management.QuotaInfo entry = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.entry_, this_._impl_.entry_->GetCachedSize(), target, - stream); - } - - // optional uint64 refresh_period_s = 2; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray( - 2, this_._internal_refresh_period_s(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetQuotaUsageResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetQuotaUsageResponse::ByteSizeLong(const MessageLite& base) { - const GetQuotaUsageResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetQuotaUsageResponse::ByteSizeLong() const { - const GetQuotaUsageResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetQuotaUsageResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - ::_pbi::Prefetch5LinesFrom7Lines(&this_); - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // optional .management.QuotaInfo entry = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.entry_); - } - // optional uint64 refresh_period_s = 2; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( - this_._internal_refresh_period_s()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetQuotaUsageResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetQuotaUsageResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.entry_ != nullptr); - if (_this->_impl_.entry_ == nullptr) { - _this->_impl_.entry_ = - ::google::protobuf::Message::CopyConstruct<::management::QuotaInfo>(arena, *from._impl_.entry_); - } else { - _this->_impl_.entry_->MergeFrom(*from._impl_.entry_); - } - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.refresh_period_s_ = from._impl_.refresh_period_s_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetQuotaUsageResponse::CopyFrom(const GetQuotaUsageResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetQuotaUsageResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetQuotaUsageResponse::InternalSwap(GetQuotaUsageResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetQuotaUsageResponse, _impl_.refresh_period_s_) - + sizeof(GetQuotaUsageResponse::_impl_.refresh_period_s_) - - PROTOBUF_FIELD_OFFSET(GetQuotaUsageResponse, _impl_.entry_)>( - reinterpret_cast(&_impl_.entry_), - reinterpret_cast(&other->_impl_.entry_)); -} - -::google::protobuf::Metadata GetQuotaUsageResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetLicenseRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetLicenseRequest, _impl_._has_bits_); -}; - -GetLicenseRequest::GetLicenseRequest(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetLicenseRequest) -} -GetLicenseRequest::GetLicenseRequest( - ::google::protobuf::Arena* arena, const GetLicenseRequest& from) - : GetLicenseRequest(arena) { - MergeFrom(from); -} -inline PROTOBUF_NDEBUG_INLINE GetLicenseRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void GetLicenseRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.reload_ = {}; -} -GetLicenseRequest::~GetLicenseRequest() { - // @@protoc_insertion_point(destructor:management.GetLicenseRequest) - SharedDtor(*this); -} -inline void GetLicenseRequest::SharedDtor(MessageLite& self) { - GetLicenseRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* GetLicenseRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetLicenseRequest(arena); -} -constexpr auto GetLicenseRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetLicenseRequest), - alignof(GetLicenseRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetLicenseRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetLicenseRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetLicenseRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetLicenseRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetLicenseRequest::ByteSizeLong, - &GetLicenseRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetLicenseRequest, _impl_._cached_size_), - false, - }, - &GetLicenseRequest::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetLicenseRequest::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 0, 0, 2> GetLicenseRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetLicenseRequest, _impl_._has_bits_), - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetLicenseRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional bool reload = 1; - {::_pbi::TcParser::SingularVarintNoZag1(), - {8, 0, 0, PROTOBUF_FIELD_OFFSET(GetLicenseRequest, _impl_.reload_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional bool reload = 1; - {PROTOBUF_FIELD_OFFSET(GetLicenseRequest, _impl_.reload_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - }}, - // no aux_entries - {{ - }}, -}; - -PROTOBUF_NOINLINE void GetLicenseRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetLicenseRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - _impl_.reload_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetLicenseRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetLicenseRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetLicenseRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetLicenseRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetLicenseRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional bool reload = 1; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 1, this_._internal_reload(), target); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetLicenseRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetLicenseRequest::ByteSizeLong(const MessageLite& base) { - const GetLicenseRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetLicenseRequest::ByteSizeLong() const { - const GetLicenseRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetLicenseRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // optional bool reload = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetLicenseRequest::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetLicenseRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _this->_impl_.reload_ = from._impl_.reload_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetLicenseRequest::CopyFrom(const GetLicenseRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetLicenseRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetLicenseRequest::InternalSwap(GetLicenseRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.reload_, other->_impl_.reload_); -} - -::google::protobuf::Metadata GetLicenseRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetLicenseResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetLicenseResponse, _impl_._has_bits_); -}; - -void GetLicenseResponse::clear_cert_data() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.cert_data_ != nullptr) _impl_.cert_data_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -GetLicenseResponse::GetLicenseResponse(::google::protobuf::Arena* arena) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - SharedCtor(arena); - // @@protoc_insertion_point(arena_constructor:management.GetLicenseResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetLicenseResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::management::GetLicenseResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -GetLicenseResponse::GetLicenseResponse( - ::google::protobuf::Arena* arena, - const GetLicenseResponse& from) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : ::google::protobuf::Message(arena, _class_data_.base()) { -#else // PROTOBUF_CUSTOM_VTABLE - : ::google::protobuf::Message(arena) { -#endif // PROTOBUF_CUSTOM_VTABLE - GetLicenseResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - ::uint32_t cached_has_bits = _impl_._has_bits_[0]; - _impl_.cert_data_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::license::GetCertDataResult>( - arena, *from._impl_.cert_data_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:management.GetLicenseResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetLicenseResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void GetLicenseResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.cert_data_ = {}; -} -GetLicenseResponse::~GetLicenseResponse() { - // @@protoc_insertion_point(destructor:management.GetLicenseResponse) - SharedDtor(*this); -} -inline void GetLicenseResponse::SharedDtor(MessageLite& self) { - GetLicenseResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.cert_data_; - this_._impl_.~Impl_(); -} - -inline void* GetLicenseResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetLicenseResponse(arena); -} -constexpr auto GetLicenseResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetLicenseResponse), - alignof(GetLicenseResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetLicenseResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetLicenseResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetLicenseResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetLicenseResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetLicenseResponse::ByteSizeLong, - &GetLicenseResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetLicenseResponse, _impl_._cached_size_), - false, - }, - &GetLicenseResponse::kDescriptorMethods, - &descriptor_table_management_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetLicenseResponse::GetClassData() const { - ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); - ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); - return _class_data_.base(); -} -PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::_pbi::TcParseTable<0, 1, 1, 0, 2> GetLicenseResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetLicenseResponse, _impl_._has_bits_), - 0, // no _extensions_ - 1, 0, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967294, // skipmap - offsetof(decltype(_table_), field_entries), - 1, // num_field_entries - 1, // num_aux_entries - offsetof(decltype(_table_), aux_entries), - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::GenericFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::management::GetLicenseResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional .license.GetCertDataResult cert_data = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetLicenseResponse, _impl_.cert_data_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional .license.GetCertDataResult cert_data = 1; - {PROTOBUF_FIELD_OFFSET(GetLicenseResponse, _impl_.cert_data_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::license::GetCertDataResult>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void GetLicenseResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:management.GetLicenseResponse) - ::google::protobuf::internal::TSanWrite(&_impl_); - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void) cached_has_bits; - - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.cert_data_ != nullptr); - _impl_.cert_data_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetLicenseResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetLicenseResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetLicenseResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetLicenseResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:management.GetLicenseResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .license.GetCertDataResult cert_data = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.cert_data_, this_._impl_.cert_data_->GetCachedSize(), target, - stream); - } - - if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { - target = - ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( - this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); - } - // @@protoc_insertion_point(serialize_to_array_end:management.GetLicenseResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetLicenseResponse::ByteSizeLong(const MessageLite& base) { - const GetLicenseResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetLicenseResponse::ByteSizeLong() const { - const GetLicenseResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:management.GetLicenseResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // optional .license.GetCertDataResult cert_data = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.cert_data_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetLicenseResponse::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { - auto* const _this = static_cast(&to_msg); - auto& from = static_cast(from_msg); - ::google::protobuf::Arena* arena = _this->GetArena(); - // @@protoc_insertion_point(class_specific_merge_from_start:management.GetLicenseResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.cert_data_ != nullptr); - if (_this->_impl_.cert_data_ == nullptr) { - _this->_impl_.cert_data_ = - ::google::protobuf::Message::CopyConstruct<::license::GetCertDataResult>(arena, *from._impl_.cert_data_); - } else { - _this->_impl_.cert_data_->MergeFrom(*from._impl_.cert_data_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetLicenseResponse::CopyFrom(const GetLicenseResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:management.GetLicenseResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetLicenseResponse::InternalSwap(GetLicenseResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.cert_data_, other->_impl_.cert_data_); -} - -::google::protobuf::Metadata GetLicenseResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// @@protoc_insertion_point(namespace_scope) -} // namespace management -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google -// @@protoc_insertion_point(global_scope) -PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type - _static_init2_ PROTOBUF_UNUSED = - (::_pbi::AddDescriptors(&descriptor_table_management_2eproto), - ::std::false_type{}); -#include "google/protobuf/port_undef.inc" diff --git a/cpp/management.pb.h b/cpp/management.pb.h deleted file mode 100644 index cf3fb71..0000000 --- a/cpp/management.pb.h +++ /dev/null @@ -1,15766 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: management.proto -// Protobuf C++ Version: 5.29.2 - -#ifndef management_2eproto_2epb_2eh -#define management_2eproto_2epb_2eh - -#include -#include -#include -#include - -#include "google/protobuf/runtime_version.h" -#if PROTOBUF_VERSION != 5029002 -#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/unknown_field_set.h" -#include "beegfs.pb.h" -#include "license.pb.h" -// @@protoc_insertion_point(includes) - -// Must be included last. -#include "google/protobuf/port_def.inc" - -#define PROTOBUF_INTERNAL_EXPORT_management_2eproto - -namespace google { -namespace protobuf { -namespace internal { -template -::absl::string_view GetAnyMessageName(); -} // namespace internal -} // namespace protobuf -} // namespace google - -// Internal implementation detail -- do not use these members. -struct TableStruct_management_2eproto { - static const ::uint32_t offsets[]; -}; -extern const ::google::protobuf::internal::DescriptorTable - descriptor_table_management_2eproto; -namespace management { -class AssignPoolRequest; -struct AssignPoolRequestDefaultTypeInternal; -extern AssignPoolRequestDefaultTypeInternal _AssignPoolRequest_default_instance_; -class AssignPoolResponse; -struct AssignPoolResponseDefaultTypeInternal; -extern AssignPoolResponseDefaultTypeInternal _AssignPoolResponse_default_instance_; -class CreateBuddyGroupRequest; -struct CreateBuddyGroupRequestDefaultTypeInternal; -extern CreateBuddyGroupRequestDefaultTypeInternal _CreateBuddyGroupRequest_default_instance_; -class CreateBuddyGroupResponse; -struct CreateBuddyGroupResponseDefaultTypeInternal; -extern CreateBuddyGroupResponseDefaultTypeInternal _CreateBuddyGroupResponse_default_instance_; -class CreatePoolRequest; -struct CreatePoolRequestDefaultTypeInternal; -extern CreatePoolRequestDefaultTypeInternal _CreatePoolRequest_default_instance_; -class CreatePoolResponse; -struct CreatePoolResponseDefaultTypeInternal; -extern CreatePoolResponseDefaultTypeInternal _CreatePoolResponse_default_instance_; -class DeleteBuddyGroupRequest; -struct DeleteBuddyGroupRequestDefaultTypeInternal; -extern DeleteBuddyGroupRequestDefaultTypeInternal _DeleteBuddyGroupRequest_default_instance_; -class DeleteBuddyGroupResponse; -struct DeleteBuddyGroupResponseDefaultTypeInternal; -extern DeleteBuddyGroupResponseDefaultTypeInternal _DeleteBuddyGroupResponse_default_instance_; -class DeleteNodeRequest; -struct DeleteNodeRequestDefaultTypeInternal; -extern DeleteNodeRequestDefaultTypeInternal _DeleteNodeRequest_default_instance_; -class DeleteNodeResponse; -struct DeleteNodeResponseDefaultTypeInternal; -extern DeleteNodeResponseDefaultTypeInternal _DeleteNodeResponse_default_instance_; -class DeletePoolRequest; -struct DeletePoolRequestDefaultTypeInternal; -extern DeletePoolRequestDefaultTypeInternal _DeletePoolRequest_default_instance_; -class DeletePoolResponse; -struct DeletePoolResponseDefaultTypeInternal; -extern DeletePoolResponseDefaultTypeInternal _DeletePoolResponse_default_instance_; -class DeleteTargetRequest; -struct DeleteTargetRequestDefaultTypeInternal; -extern DeleteTargetRequestDefaultTypeInternal _DeleteTargetRequest_default_instance_; -class DeleteTargetResponse; -struct DeleteTargetResponseDefaultTypeInternal; -extern DeleteTargetResponseDefaultTypeInternal _DeleteTargetResponse_default_instance_; -class GetBuddyGroupsRequest; -struct GetBuddyGroupsRequestDefaultTypeInternal; -extern GetBuddyGroupsRequestDefaultTypeInternal _GetBuddyGroupsRequest_default_instance_; -class GetBuddyGroupsResponse; -struct GetBuddyGroupsResponseDefaultTypeInternal; -extern GetBuddyGroupsResponseDefaultTypeInternal _GetBuddyGroupsResponse_default_instance_; -class GetBuddyGroupsResponse_BuddyGroup; -struct GetBuddyGroupsResponse_BuddyGroupDefaultTypeInternal; -extern GetBuddyGroupsResponse_BuddyGroupDefaultTypeInternal _GetBuddyGroupsResponse_BuddyGroup_default_instance_; -class GetLicenseRequest; -struct GetLicenseRequestDefaultTypeInternal; -extern GetLicenseRequestDefaultTypeInternal _GetLicenseRequest_default_instance_; -class GetLicenseResponse; -struct GetLicenseResponseDefaultTypeInternal; -extern GetLicenseResponseDefaultTypeInternal _GetLicenseResponse_default_instance_; -class GetNodesRequest; -struct GetNodesRequestDefaultTypeInternal; -extern GetNodesRequestDefaultTypeInternal _GetNodesRequest_default_instance_; -class GetNodesResponse; -struct GetNodesResponseDefaultTypeInternal; -extern GetNodesResponseDefaultTypeInternal _GetNodesResponse_default_instance_; -class GetNodesResponse_Node; -struct GetNodesResponse_NodeDefaultTypeInternal; -extern GetNodesResponse_NodeDefaultTypeInternal _GetNodesResponse_Node_default_instance_; -class GetNodesResponse_Node_Nic; -struct GetNodesResponse_Node_NicDefaultTypeInternal; -extern GetNodesResponse_Node_NicDefaultTypeInternal _GetNodesResponse_Node_Nic_default_instance_; -class GetPoolsRequest; -struct GetPoolsRequestDefaultTypeInternal; -extern GetPoolsRequestDefaultTypeInternal _GetPoolsRequest_default_instance_; -class GetPoolsResponse; -struct GetPoolsResponseDefaultTypeInternal; -extern GetPoolsResponseDefaultTypeInternal _GetPoolsResponse_default_instance_; -class GetPoolsResponse_StoragePool; -struct GetPoolsResponse_StoragePoolDefaultTypeInternal; -extern GetPoolsResponse_StoragePoolDefaultTypeInternal _GetPoolsResponse_StoragePool_default_instance_; -class GetQuotaLimitsRequest; -struct GetQuotaLimitsRequestDefaultTypeInternal; -extern GetQuotaLimitsRequestDefaultTypeInternal _GetQuotaLimitsRequest_default_instance_; -class GetQuotaLimitsResponse; -struct GetQuotaLimitsResponseDefaultTypeInternal; -extern GetQuotaLimitsResponseDefaultTypeInternal _GetQuotaLimitsResponse_default_instance_; -class GetQuotaUsageRequest; -struct GetQuotaUsageRequestDefaultTypeInternal; -extern GetQuotaUsageRequestDefaultTypeInternal _GetQuotaUsageRequest_default_instance_; -class GetQuotaUsageResponse; -struct GetQuotaUsageResponseDefaultTypeInternal; -extern GetQuotaUsageResponseDefaultTypeInternal _GetQuotaUsageResponse_default_instance_; -class GetTargetsRequest; -struct GetTargetsRequestDefaultTypeInternal; -extern GetTargetsRequestDefaultTypeInternal _GetTargetsRequest_default_instance_; -class GetTargetsResponse; -struct GetTargetsResponseDefaultTypeInternal; -extern GetTargetsResponseDefaultTypeInternal _GetTargetsResponse_default_instance_; -class GetTargetsResponse_Target; -struct GetTargetsResponse_TargetDefaultTypeInternal; -extern GetTargetsResponse_TargetDefaultTypeInternal _GetTargetsResponse_Target_default_instance_; -class MirrorRootInodeRequest; -struct MirrorRootInodeRequestDefaultTypeInternal; -extern MirrorRootInodeRequestDefaultTypeInternal _MirrorRootInodeRequest_default_instance_; -class MirrorRootInodeResponse; -struct MirrorRootInodeResponseDefaultTypeInternal; -extern MirrorRootInodeResponseDefaultTypeInternal _MirrorRootInodeResponse_default_instance_; -class QuotaInfo; -struct QuotaInfoDefaultTypeInternal; -extern QuotaInfoDefaultTypeInternal _QuotaInfo_default_instance_; -class SetAliasRequest; -struct SetAliasRequestDefaultTypeInternal; -extern SetAliasRequestDefaultTypeInternal _SetAliasRequest_default_instance_; -class SetAliasResponse; -struct SetAliasResponseDefaultTypeInternal; -extern SetAliasResponseDefaultTypeInternal _SetAliasResponse_default_instance_; -class SetDefaultQuotaLimitsRequest; -struct SetDefaultQuotaLimitsRequestDefaultTypeInternal; -extern SetDefaultQuotaLimitsRequestDefaultTypeInternal _SetDefaultQuotaLimitsRequest_default_instance_; -class SetDefaultQuotaLimitsResponse; -struct SetDefaultQuotaLimitsResponseDefaultTypeInternal; -extern SetDefaultQuotaLimitsResponseDefaultTypeInternal _SetDefaultQuotaLimitsResponse_default_instance_; -class SetQuotaLimitsRequest; -struct SetQuotaLimitsRequestDefaultTypeInternal; -extern SetQuotaLimitsRequestDefaultTypeInternal _SetQuotaLimitsRequest_default_instance_; -class SetQuotaLimitsResponse; -struct SetQuotaLimitsResponseDefaultTypeInternal; -extern SetQuotaLimitsResponseDefaultTypeInternal _SetQuotaLimitsResponse_default_instance_; -class SetTargetStateRequest; -struct SetTargetStateRequestDefaultTypeInternal; -extern SetTargetStateRequestDefaultTypeInternal _SetTargetStateRequest_default_instance_; -class SetTargetStateResponse; -struct SetTargetStateResponseDefaultTypeInternal; -extern SetTargetStateResponseDefaultTypeInternal _SetTargetStateResponse_default_instance_; -class StartResyncRequest; -struct StartResyncRequestDefaultTypeInternal; -extern StartResyncRequestDefaultTypeInternal _StartResyncRequest_default_instance_; -class StartResyncResponse; -struct StartResyncResponseDefaultTypeInternal; -extern StartResyncResponseDefaultTypeInternal _StartResyncResponse_default_instance_; -} // namespace management -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google - -namespace management { - -// =================================================================== - - -// ------------------------------------------------------------------- - -class StartResyncResponse final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:management.StartResyncResponse) */ { - public: - inline StartResyncResponse() : StartResyncResponse(nullptr) {} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(StartResyncResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(StartResyncResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR StartResyncResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline StartResyncResponse(const StartResyncResponse& from) : StartResyncResponse(nullptr, from) {} - inline StartResyncResponse(StartResyncResponse&& from) noexcept - : StartResyncResponse(nullptr, std::move(from)) {} - inline StartResyncResponse& operator=(const StartResyncResponse& from) { - CopyFrom(from); - return *this; - } - inline StartResyncResponse& operator=(StartResyncResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StartResyncResponse& default_instance() { - return *internal_default_instance(); - } - static inline const StartResyncResponse* internal_default_instance() { - return reinterpret_cast( - &_StartResyncResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 34; - friend void swap(StartResyncResponse& a, StartResyncResponse& b) { a.Swap(&b); } - inline void Swap(StartResyncResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StartResyncResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StartResyncResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const StartResyncResponse& from) { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const StartResyncResponse& from) { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - - public: - bool IsInitialized() const { - return true; - } - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.StartResyncResponse"; } - - protected: - explicit StartResyncResponse(::google::protobuf::Arena* arena); - StartResyncResponse(::google::protobuf::Arena* arena, const StartResyncResponse& from); - StartResyncResponse(::google::protobuf::Arena* arena, StartResyncResponse&& from) noexcept - : StartResyncResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:management.StartResyncResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const StartResyncResponse& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class SetTargetStateResponse final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:management.SetTargetStateResponse) */ { - public: - inline SetTargetStateResponse() : SetTargetStateResponse(nullptr) {} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetTargetStateResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetTargetStateResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR SetTargetStateResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline SetTargetStateResponse(const SetTargetStateResponse& from) : SetTargetStateResponse(nullptr, from) {} - inline SetTargetStateResponse(SetTargetStateResponse&& from) noexcept - : SetTargetStateResponse(nullptr, std::move(from)) {} - inline SetTargetStateResponse& operator=(const SetTargetStateResponse& from) { - CopyFrom(from); - return *this; - } - inline SetTargetStateResponse& operator=(SetTargetStateResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const SetTargetStateResponse& default_instance() { - return *internal_default_instance(); - } - static inline const SetTargetStateResponse* internal_default_instance() { - return reinterpret_cast( - &_SetTargetStateResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 14; - friend void swap(SetTargetStateResponse& a, SetTargetStateResponse& b) { a.Swap(&b); } - inline void Swap(SetTargetStateResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetTargetStateResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetTargetStateResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SetTargetStateResponse& from) { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SetTargetStateResponse& from) { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - - public: - bool IsInitialized() const { - return true; - } - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.SetTargetStateResponse"; } - - protected: - explicit SetTargetStateResponse(::google::protobuf::Arena* arena); - SetTargetStateResponse(::google::protobuf::Arena* arena, const SetTargetStateResponse& from); - SetTargetStateResponse(::google::protobuf::Arena* arena, SetTargetStateResponse&& from) noexcept - : SetTargetStateResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:management.SetTargetStateResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const SetTargetStateResponse& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class SetQuotaLimitsResponse final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:management.SetQuotaLimitsResponse) */ { - public: - inline SetQuotaLimitsResponse() : SetQuotaLimitsResponse(nullptr) {} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetQuotaLimitsResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetQuotaLimitsResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR SetQuotaLimitsResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline SetQuotaLimitsResponse(const SetQuotaLimitsResponse& from) : SetQuotaLimitsResponse(nullptr, from) {} - inline SetQuotaLimitsResponse(SetQuotaLimitsResponse&& from) noexcept - : SetQuotaLimitsResponse(nullptr, std::move(from)) {} - inline SetQuotaLimitsResponse& operator=(const SetQuotaLimitsResponse& from) { - CopyFrom(from); - return *this; - } - inline SetQuotaLimitsResponse& operator=(SetQuotaLimitsResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const SetQuotaLimitsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const SetQuotaLimitsResponse* internal_default_instance() { - return reinterpret_cast( - &_SetQuotaLimitsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 39; - friend void swap(SetQuotaLimitsResponse& a, SetQuotaLimitsResponse& b) { a.Swap(&b); } - inline void Swap(SetQuotaLimitsResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetQuotaLimitsResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetQuotaLimitsResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SetQuotaLimitsResponse& from) { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SetQuotaLimitsResponse& from) { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - - public: - bool IsInitialized() const { - return true; - } - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.SetQuotaLimitsResponse"; } - - protected: - explicit SetQuotaLimitsResponse(::google::protobuf::Arena* arena); - SetQuotaLimitsResponse(::google::protobuf::Arena* arena, const SetQuotaLimitsResponse& from); - SetQuotaLimitsResponse(::google::protobuf::Arena* arena, SetQuotaLimitsResponse&& from) noexcept - : SetQuotaLimitsResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:management.SetQuotaLimitsResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const SetQuotaLimitsResponse& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class SetDefaultQuotaLimitsResponse final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:management.SetDefaultQuotaLimitsResponse) */ { - public: - inline SetDefaultQuotaLimitsResponse() : SetDefaultQuotaLimitsResponse(nullptr) {} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetDefaultQuotaLimitsResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetDefaultQuotaLimitsResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR SetDefaultQuotaLimitsResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline SetDefaultQuotaLimitsResponse(const SetDefaultQuotaLimitsResponse& from) : SetDefaultQuotaLimitsResponse(nullptr, from) {} - inline SetDefaultQuotaLimitsResponse(SetDefaultQuotaLimitsResponse&& from) noexcept - : SetDefaultQuotaLimitsResponse(nullptr, std::move(from)) {} - inline SetDefaultQuotaLimitsResponse& operator=(const SetDefaultQuotaLimitsResponse& from) { - CopyFrom(from); - return *this; - } - inline SetDefaultQuotaLimitsResponse& operator=(SetDefaultQuotaLimitsResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const SetDefaultQuotaLimitsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const SetDefaultQuotaLimitsResponse* internal_default_instance() { - return reinterpret_cast( - &_SetDefaultQuotaLimitsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 37; - friend void swap(SetDefaultQuotaLimitsResponse& a, SetDefaultQuotaLimitsResponse& b) { a.Swap(&b); } - inline void Swap(SetDefaultQuotaLimitsResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetDefaultQuotaLimitsResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetDefaultQuotaLimitsResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SetDefaultQuotaLimitsResponse& from) { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SetDefaultQuotaLimitsResponse& from) { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - - public: - bool IsInitialized() const { - return true; - } - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.SetDefaultQuotaLimitsResponse"; } - - protected: - explicit SetDefaultQuotaLimitsResponse(::google::protobuf::Arena* arena); - SetDefaultQuotaLimitsResponse(::google::protobuf::Arena* arena, const SetDefaultQuotaLimitsResponse& from); - SetDefaultQuotaLimitsResponse(::google::protobuf::Arena* arena, SetDefaultQuotaLimitsResponse&& from) noexcept - : SetDefaultQuotaLimitsResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:management.SetDefaultQuotaLimitsResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const SetDefaultQuotaLimitsResponse& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class SetAliasResponse final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:management.SetAliasResponse) */ { - public: - inline SetAliasResponse() : SetAliasResponse(nullptr) {} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetAliasResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetAliasResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR SetAliasResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline SetAliasResponse(const SetAliasResponse& from) : SetAliasResponse(nullptr, from) {} - inline SetAliasResponse(SetAliasResponse&& from) noexcept - : SetAliasResponse(nullptr, std::move(from)) {} - inline SetAliasResponse& operator=(const SetAliasResponse& from) { - CopyFrom(from); - return *this; - } - inline SetAliasResponse& operator=(SetAliasResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const SetAliasResponse& default_instance() { - return *internal_default_instance(); - } - static inline const SetAliasResponse* internal_default_instance() { - return reinterpret_cast( - &_SetAliasResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 1; - friend void swap(SetAliasResponse& a, SetAliasResponse& b) { a.Swap(&b); } - inline void Swap(SetAliasResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetAliasResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetAliasResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const SetAliasResponse& from) { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const SetAliasResponse& from) { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - - public: - bool IsInitialized() const { - return true; - } - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.SetAliasResponse"; } - - protected: - explicit SetAliasResponse(::google::protobuf::Arena* arena); - SetAliasResponse(::google::protobuf::Arena* arena, const SetAliasResponse& from); - SetAliasResponse(::google::protobuf::Arena* arena, SetAliasResponse&& from) noexcept - : SetAliasResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:management.SetAliasResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const SetAliasResponse& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class MirrorRootInodeResponse final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:management.MirrorRootInodeResponse) */ { - public: - inline MirrorRootInodeResponse() : MirrorRootInodeResponse(nullptr) {} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(MirrorRootInodeResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(MirrorRootInodeResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR MirrorRootInodeResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline MirrorRootInodeResponse(const MirrorRootInodeResponse& from) : MirrorRootInodeResponse(nullptr, from) {} - inline MirrorRootInodeResponse(MirrorRootInodeResponse&& from) noexcept - : MirrorRootInodeResponse(nullptr, std::move(from)) {} - inline MirrorRootInodeResponse& operator=(const MirrorRootInodeResponse& from) { - CopyFrom(from); - return *this; - } - inline MirrorRootInodeResponse& operator=(MirrorRootInodeResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MirrorRootInodeResponse& default_instance() { - return *internal_default_instance(); - } - static inline const MirrorRootInodeResponse* internal_default_instance() { - return reinterpret_cast( - &_MirrorRootInodeResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 32; - friend void swap(MirrorRootInodeResponse& a, MirrorRootInodeResponse& b) { a.Swap(&b); } - inline void Swap(MirrorRootInodeResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MirrorRootInodeResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MirrorRootInodeResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const MirrorRootInodeResponse& from) { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const MirrorRootInodeResponse& from) { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - - public: - bool IsInitialized() const { - return true; - } - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.MirrorRootInodeResponse"; } - - protected: - explicit MirrorRootInodeResponse(::google::protobuf::Arena* arena); - MirrorRootInodeResponse(::google::protobuf::Arena* arena, const MirrorRootInodeResponse& from); - MirrorRootInodeResponse(::google::protobuf::Arena* arena, MirrorRootInodeResponse&& from) noexcept - : MirrorRootInodeResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:management.MirrorRootInodeResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const MirrorRootInodeResponse& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class MirrorRootInodeRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:management.MirrorRootInodeRequest) */ { - public: - inline MirrorRootInodeRequest() : MirrorRootInodeRequest(nullptr) {} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(MirrorRootInodeRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(MirrorRootInodeRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR MirrorRootInodeRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline MirrorRootInodeRequest(const MirrorRootInodeRequest& from) : MirrorRootInodeRequest(nullptr, from) {} - inline MirrorRootInodeRequest(MirrorRootInodeRequest&& from) noexcept - : MirrorRootInodeRequest(nullptr, std::move(from)) {} - inline MirrorRootInodeRequest& operator=(const MirrorRootInodeRequest& from) { - CopyFrom(from); - return *this; - } - inline MirrorRootInodeRequest& operator=(MirrorRootInodeRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const MirrorRootInodeRequest& default_instance() { - return *internal_default_instance(); - } - static inline const MirrorRootInodeRequest* internal_default_instance() { - return reinterpret_cast( - &_MirrorRootInodeRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 31; - friend void swap(MirrorRootInodeRequest& a, MirrorRootInodeRequest& b) { a.Swap(&b); } - inline void Swap(MirrorRootInodeRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MirrorRootInodeRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MirrorRootInodeRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const MirrorRootInodeRequest& from) { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const MirrorRootInodeRequest& from) { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - - public: - bool IsInitialized() const { - return true; - } - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.MirrorRootInodeRequest"; } - - protected: - explicit MirrorRootInodeRequest(::google::protobuf::Arena* arena); - MirrorRootInodeRequest(::google::protobuf::Arena* arena, const MirrorRootInodeRequest& from); - MirrorRootInodeRequest(::google::protobuf::Arena* arena, MirrorRootInodeRequest&& from) noexcept - : MirrorRootInodeRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:management.MirrorRootInodeRequest) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const MirrorRootInodeRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetTargetsRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:management.GetTargetsRequest) */ { - public: - inline GetTargetsRequest() : GetTargetsRequest(nullptr) {} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetTargetsRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetTargetsRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetTargetsRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline GetTargetsRequest(const GetTargetsRequest& from) : GetTargetsRequest(nullptr, from) {} - inline GetTargetsRequest(GetTargetsRequest&& from) noexcept - : GetTargetsRequest(nullptr, std::move(from)) {} - inline GetTargetsRequest& operator=(const GetTargetsRequest& from) { - CopyFrom(from); - return *this; - } - inline GetTargetsRequest& operator=(GetTargetsRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetTargetsRequest& default_instance() { - return *internal_default_instance(); - } - static inline const GetTargetsRequest* internal_default_instance() { - return reinterpret_cast( - &_GetTargetsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 8; - friend void swap(GetTargetsRequest& a, GetTargetsRequest& b) { a.Swap(&b); } - inline void Swap(GetTargetsRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetTargetsRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetTargetsRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const GetTargetsRequest& from) { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const GetTargetsRequest& from) { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - - public: - bool IsInitialized() const { - return true; - } - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetTargetsRequest"; } - - protected: - explicit GetTargetsRequest(::google::protobuf::Arena* arena); - GetTargetsRequest(::google::protobuf::Arena* arena, const GetTargetsRequest& from); - GetTargetsRequest(::google::protobuf::Arena* arena, GetTargetsRequest&& from) noexcept - : GetTargetsRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:management.GetTargetsRequest) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetTargetsRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetPoolsRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetPoolsRequest) */ { - public: - inline GetPoolsRequest() : GetPoolsRequest(nullptr) {} - ~GetPoolsRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetPoolsRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetPoolsRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetPoolsRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline GetPoolsRequest(const GetPoolsRequest& from) : GetPoolsRequest(nullptr, from) {} - inline GetPoolsRequest(GetPoolsRequest&& from) noexcept - : GetPoolsRequest(nullptr, std::move(from)) {} - inline GetPoolsRequest& operator=(const GetPoolsRequest& from) { - CopyFrom(from); - return *this; - } - inline GetPoolsRequest& operator=(GetPoolsRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetPoolsRequest& default_instance() { - return *internal_default_instance(); - } - static inline const GetPoolsRequest* internal_default_instance() { - return reinterpret_cast( - &_GetPoolsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 15; - friend void swap(GetPoolsRequest& a, GetPoolsRequest& b) { a.Swap(&b); } - inline void Swap(GetPoolsRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetPoolsRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetPoolsRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetPoolsRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetPoolsRequest& from) { GetPoolsRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetPoolsRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetPoolsRequest"; } - - protected: - explicit GetPoolsRequest(::google::protobuf::Arena* arena); - GetPoolsRequest(::google::protobuf::Arena* arena, const GetPoolsRequest& from); - GetPoolsRequest(::google::protobuf::Arena* arena, GetPoolsRequest&& from) noexcept - : GetPoolsRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kWithQuotaLimitsFieldNumber = 1, - }; - // bool with_quota_limits = 1; - void clear_with_quota_limits() ; - bool with_quota_limits() const; - void set_with_quota_limits(bool value); - - private: - bool _internal_with_quota_limits() const; - void _internal_set_with_quota_limits(bool value); - - public: - // @@protoc_insertion_point(class_scope:management.GetPoolsRequest) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 1, 0, - 0, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetPoolsRequest& from_msg); - bool with_quota_limits_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetNodesResponse_Node_Nic final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetNodesResponse.Node.Nic) */ { - public: - inline GetNodesResponse_Node_Nic() : GetNodesResponse_Node_Nic(nullptr) {} - ~GetNodesResponse_Node_Nic() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetNodesResponse_Node_Nic* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetNodesResponse_Node_Nic)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetNodesResponse_Node_Nic( - ::google::protobuf::internal::ConstantInitialized); - - inline GetNodesResponse_Node_Nic(const GetNodesResponse_Node_Nic& from) : GetNodesResponse_Node_Nic(nullptr, from) {} - inline GetNodesResponse_Node_Nic(GetNodesResponse_Node_Nic&& from) noexcept - : GetNodesResponse_Node_Nic(nullptr, std::move(from)) {} - inline GetNodesResponse_Node_Nic& operator=(const GetNodesResponse_Node_Nic& from) { - CopyFrom(from); - return *this; - } - inline GetNodesResponse_Node_Nic& operator=(GetNodesResponse_Node_Nic&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetNodesResponse_Node_Nic& default_instance() { - return *internal_default_instance(); - } - static inline const GetNodesResponse_Node_Nic* internal_default_instance() { - return reinterpret_cast( - &_GetNodesResponse_Node_Nic_default_instance_); - } - static constexpr int kIndexInFileMessages = 3; - friend void swap(GetNodesResponse_Node_Nic& a, GetNodesResponse_Node_Nic& b) { a.Swap(&b); } - inline void Swap(GetNodesResponse_Node_Nic* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetNodesResponse_Node_Nic* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetNodesResponse_Node_Nic* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetNodesResponse_Node_Nic& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetNodesResponse_Node_Nic& from) { GetNodesResponse_Node_Nic::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetNodesResponse_Node_Nic* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetNodesResponse.Node.Nic"; } - - protected: - explicit GetNodesResponse_Node_Nic(::google::protobuf::Arena* arena); - GetNodesResponse_Node_Nic(::google::protobuf::Arena* arena, const GetNodesResponse_Node_Nic& from); - GetNodesResponse_Node_Nic(::google::protobuf::Arena* arena, GetNodesResponse_Node_Nic&& from) noexcept - : GetNodesResponse_Node_Nic(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kAddrFieldNumber = 1, - kNameFieldNumber = 2, - kNicTypeFieldNumber = 3, - }; - // string addr = 1; - void clear_addr() ; - const std::string& addr() const; - template - void set_addr(Arg_&& arg, Args_... args); - std::string* mutable_addr(); - PROTOBUF_NODISCARD std::string* release_addr(); - void set_allocated_addr(std::string* value); - - private: - const std::string& _internal_addr() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_addr( - const std::string& value); - std::string* _internal_mutable_addr(); - - public: - // string name = 2; - void clear_name() ; - const std::string& name() const; - template - void set_name(Arg_&& arg, Args_... args); - std::string* mutable_name(); - PROTOBUF_NODISCARD std::string* release_name(); - void set_allocated_name(std::string* value); - - private: - const std::string& _internal_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_name( - const std::string& value); - std::string* _internal_mutable_name(); - - public: - // .beegfs.NicType nic_type = 3; - void clear_nic_type() ; - ::beegfs::NicType nic_type() const; - void set_nic_type(::beegfs::NicType value); - - private: - ::beegfs::NicType _internal_nic_type() const; - void _internal_set_nic_type(::beegfs::NicType value); - - public: - // @@protoc_insertion_point(class_scope:management.GetNodesResponse.Node.Nic) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 0, - 53, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetNodesResponse_Node_Nic& from_msg); - ::google::protobuf::internal::ArenaStringPtr addr_; - ::google::protobuf::internal::ArenaStringPtr name_; - int nic_type_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetNodesRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetNodesRequest) */ { - public: - inline GetNodesRequest() : GetNodesRequest(nullptr) {} - ~GetNodesRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetNodesRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetNodesRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetNodesRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline GetNodesRequest(const GetNodesRequest& from) : GetNodesRequest(nullptr, from) {} - inline GetNodesRequest(GetNodesRequest&& from) noexcept - : GetNodesRequest(nullptr, std::move(from)) {} - inline GetNodesRequest& operator=(const GetNodesRequest& from) { - CopyFrom(from); - return *this; - } - inline GetNodesRequest& operator=(GetNodesRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetNodesRequest& default_instance() { - return *internal_default_instance(); - } - static inline const GetNodesRequest* internal_default_instance() { - return reinterpret_cast( - &_GetNodesRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 2; - friend void swap(GetNodesRequest& a, GetNodesRequest& b) { a.Swap(&b); } - inline void Swap(GetNodesRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetNodesRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetNodesRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetNodesRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetNodesRequest& from) { GetNodesRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetNodesRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetNodesRequest"; } - - protected: - explicit GetNodesRequest(::google::protobuf::Arena* arena); - GetNodesRequest(::google::protobuf::Arena* arena, const GetNodesRequest& from); - GetNodesRequest(::google::protobuf::Arena* arena, GetNodesRequest&& from) noexcept - : GetNodesRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kIncludeNicsFieldNumber = 1, - }; - // bool include_nics = 1; - void clear_include_nics() ; - bool include_nics() const; - void set_include_nics(bool value); - - private: - bool _internal_include_nics() const; - void _internal_set_include_nics(bool value); - - public: - // @@protoc_insertion_point(class_scope:management.GetNodesRequest) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 1, 0, - 0, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetNodesRequest& from_msg); - bool include_nics_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetLicenseRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetLicenseRequest) */ { - public: - inline GetLicenseRequest() : GetLicenseRequest(nullptr) {} - ~GetLicenseRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetLicenseRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetLicenseRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetLicenseRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline GetLicenseRequest(const GetLicenseRequest& from) : GetLicenseRequest(nullptr, from) {} - inline GetLicenseRequest(GetLicenseRequest&& from) noexcept - : GetLicenseRequest(nullptr, std::move(from)) {} - inline GetLicenseRequest& operator=(const GetLicenseRequest& from) { - CopyFrom(from); - return *this; - } - inline GetLicenseRequest& operator=(GetLicenseRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetLicenseRequest& default_instance() { - return *internal_default_instance(); - } - static inline const GetLicenseRequest* internal_default_instance() { - return reinterpret_cast( - &_GetLicenseRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 44; - friend void swap(GetLicenseRequest& a, GetLicenseRequest& b) { a.Swap(&b); } - inline void Swap(GetLicenseRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetLicenseRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetLicenseRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetLicenseRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetLicenseRequest& from) { GetLicenseRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetLicenseRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetLicenseRequest"; } - - protected: - explicit GetLicenseRequest(::google::protobuf::Arena* arena); - GetLicenseRequest(::google::protobuf::Arena* arena, const GetLicenseRequest& from); - GetLicenseRequest(::google::protobuf::Arena* arena, GetLicenseRequest&& from) noexcept - : GetLicenseRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kReloadFieldNumber = 1, - }; - // optional bool reload = 1; - bool has_reload() const; - void clear_reload() ; - bool reload() const; - void set_reload(bool value); - - private: - bool _internal_reload() const; - void _internal_set_reload(bool value); - - public: - // @@protoc_insertion_point(class_scope:management.GetLicenseRequest) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 1, 0, - 0, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetLicenseRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - bool reload_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetBuddyGroupsRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:management.GetBuddyGroupsRequest) */ { - public: - inline GetBuddyGroupsRequest() : GetBuddyGroupsRequest(nullptr) {} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetBuddyGroupsRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetBuddyGroupsRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetBuddyGroupsRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline GetBuddyGroupsRequest(const GetBuddyGroupsRequest& from) : GetBuddyGroupsRequest(nullptr, from) {} - inline GetBuddyGroupsRequest(GetBuddyGroupsRequest&& from) noexcept - : GetBuddyGroupsRequest(nullptr, std::move(from)) {} - inline GetBuddyGroupsRequest& operator=(const GetBuddyGroupsRequest& from) { - CopyFrom(from); - return *this; - } - inline GetBuddyGroupsRequest& operator=(GetBuddyGroupsRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetBuddyGroupsRequest& default_instance() { - return *internal_default_instance(); - } - static inline const GetBuddyGroupsRequest* internal_default_instance() { - return reinterpret_cast( - &_GetBuddyGroupsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 24; - friend void swap(GetBuddyGroupsRequest& a, GetBuddyGroupsRequest& b) { a.Swap(&b); } - inline void Swap(GetBuddyGroupsRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetBuddyGroupsRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetBuddyGroupsRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const GetBuddyGroupsRequest& from) { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const GetBuddyGroupsRequest& from) { - ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); - } - - public: - bool IsInitialized() const { - return true; - } - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetBuddyGroupsRequest"; } - - protected: - explicit GetBuddyGroupsRequest(::google::protobuf::Arena* arena); - GetBuddyGroupsRequest(::google::protobuf::Arena* arena, const GetBuddyGroupsRequest& from); - GetBuddyGroupsRequest(::google::protobuf::Arena* arena, GetBuddyGroupsRequest&& from) noexcept - : GetBuddyGroupsRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - // @@protoc_insertion_point(class_scope:management.GetBuddyGroupsRequest) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetBuddyGroupsRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class StartResyncRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.StartResyncRequest) */ { - public: - inline StartResyncRequest() : StartResyncRequest(nullptr) {} - ~StartResyncRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(StartResyncRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(StartResyncRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR StartResyncRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline StartResyncRequest(const StartResyncRequest& from) : StartResyncRequest(nullptr, from) {} - inline StartResyncRequest(StartResyncRequest&& from) noexcept - : StartResyncRequest(nullptr, std::move(from)) {} - inline StartResyncRequest& operator=(const StartResyncRequest& from) { - CopyFrom(from); - return *this; - } - inline StartResyncRequest& operator=(StartResyncRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const StartResyncRequest& default_instance() { - return *internal_default_instance(); - } - static inline const StartResyncRequest* internal_default_instance() { - return reinterpret_cast( - &_StartResyncRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 33; - friend void swap(StartResyncRequest& a, StartResyncRequest& b) { a.Swap(&b); } - inline void Swap(StartResyncRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(StartResyncRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - StartResyncRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const StartResyncRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const StartResyncRequest& from) { StartResyncRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(StartResyncRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.StartResyncRequest"; } - - protected: - explicit StartResyncRequest(::google::protobuf::Arena* arena); - StartResyncRequest(::google::protobuf::Arena* arena, const StartResyncRequest& from); - StartResyncRequest(::google::protobuf::Arena* arena, StartResyncRequest&& from) noexcept - : StartResyncRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kBuddyGroupFieldNumber = 1, - kTimestampFieldNumber = 2, - kRestartFieldNumber = 3, - }; - // optional .beegfs.EntityIdSet buddy_group = 1; - bool has_buddy_group() const; - void clear_buddy_group() ; - const ::beegfs::EntityIdSet& buddy_group() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_buddy_group(); - ::beegfs::EntityIdSet* mutable_buddy_group(); - void set_allocated_buddy_group(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_buddy_group(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_buddy_group(); - - private: - const ::beegfs::EntityIdSet& _internal_buddy_group() const; - ::beegfs::EntityIdSet* _internal_mutable_buddy_group(); - - public: - // optional int64 timestamp = 2; - bool has_timestamp() const; - void clear_timestamp() ; - ::int64_t timestamp() const; - void set_timestamp(::int64_t value); - - private: - ::int64_t _internal_timestamp() const; - void _internal_set_timestamp(::int64_t value); - - public: - // optional bool restart = 3; - bool has_restart() const; - void clear_restart() ; - bool restart() const; - void set_restart(bool value); - - private: - bool _internal_restart() const; - void _internal_set_restart(bool value); - - public: - // @@protoc_insertion_point(class_scope:management.StartResyncRequest) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const StartResyncRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* buddy_group_; - ::int64_t timestamp_; - bool restart_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class SetTargetStateRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.SetTargetStateRequest) */ { - public: - inline SetTargetStateRequest() : SetTargetStateRequest(nullptr) {} - ~SetTargetStateRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetTargetStateRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetTargetStateRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR SetTargetStateRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline SetTargetStateRequest(const SetTargetStateRequest& from) : SetTargetStateRequest(nullptr, from) {} - inline SetTargetStateRequest(SetTargetStateRequest&& from) noexcept - : SetTargetStateRequest(nullptr, std::move(from)) {} - inline SetTargetStateRequest& operator=(const SetTargetStateRequest& from) { - CopyFrom(from); - return *this; - } - inline SetTargetStateRequest& operator=(SetTargetStateRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const SetTargetStateRequest& default_instance() { - return *internal_default_instance(); - } - static inline const SetTargetStateRequest* internal_default_instance() { - return reinterpret_cast( - &_SetTargetStateRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 13; - friend void swap(SetTargetStateRequest& a, SetTargetStateRequest& b) { a.Swap(&b); } - inline void Swap(SetTargetStateRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetTargetStateRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetTargetStateRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetTargetStateRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetTargetStateRequest& from) { SetTargetStateRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetTargetStateRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.SetTargetStateRequest"; } - - protected: - explicit SetTargetStateRequest(::google::protobuf::Arena* arena); - SetTargetStateRequest(::google::protobuf::Arena* arena, const SetTargetStateRequest& from); - SetTargetStateRequest(::google::protobuf::Arena* arena, SetTargetStateRequest&& from) noexcept - : SetTargetStateRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kTargetFieldNumber = 1, - kConsistencyStateFieldNumber = 2, - }; - // optional .beegfs.EntityIdSet target = 1; - bool has_target() const; - void clear_target() ; - const ::beegfs::EntityIdSet& target() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_target(); - ::beegfs::EntityIdSet* mutable_target(); - void set_allocated_target(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_target(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_target(); - - private: - const ::beegfs::EntityIdSet& _internal_target() const; - ::beegfs::EntityIdSet* _internal_mutable_target(); - - public: - // optional .beegfs.ConsistencyState consistency_state = 2; - bool has_consistency_state() const; - void clear_consistency_state() ; - ::beegfs::ConsistencyState consistency_state() const; - void set_consistency_state(::beegfs::ConsistencyState value); - - private: - ::beegfs::ConsistencyState _internal_consistency_state() const; - void _internal_set_consistency_state(::beegfs::ConsistencyState value); - - public: - // @@protoc_insertion_point(class_scope:management.SetTargetStateRequest) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const SetTargetStateRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* target_; - int consistency_state_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class SetDefaultQuotaLimitsRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.SetDefaultQuotaLimitsRequest) */ { - public: - inline SetDefaultQuotaLimitsRequest() : SetDefaultQuotaLimitsRequest(nullptr) {} - ~SetDefaultQuotaLimitsRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetDefaultQuotaLimitsRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetDefaultQuotaLimitsRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR SetDefaultQuotaLimitsRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline SetDefaultQuotaLimitsRequest(const SetDefaultQuotaLimitsRequest& from) : SetDefaultQuotaLimitsRequest(nullptr, from) {} - inline SetDefaultQuotaLimitsRequest(SetDefaultQuotaLimitsRequest&& from) noexcept - : SetDefaultQuotaLimitsRequest(nullptr, std::move(from)) {} - inline SetDefaultQuotaLimitsRequest& operator=(const SetDefaultQuotaLimitsRequest& from) { - CopyFrom(from); - return *this; - } - inline SetDefaultQuotaLimitsRequest& operator=(SetDefaultQuotaLimitsRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const SetDefaultQuotaLimitsRequest& default_instance() { - return *internal_default_instance(); - } - static inline const SetDefaultQuotaLimitsRequest* internal_default_instance() { - return reinterpret_cast( - &_SetDefaultQuotaLimitsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 36; - friend void swap(SetDefaultQuotaLimitsRequest& a, SetDefaultQuotaLimitsRequest& b) { a.Swap(&b); } - inline void Swap(SetDefaultQuotaLimitsRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetDefaultQuotaLimitsRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetDefaultQuotaLimitsRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetDefaultQuotaLimitsRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetDefaultQuotaLimitsRequest& from) { SetDefaultQuotaLimitsRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetDefaultQuotaLimitsRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.SetDefaultQuotaLimitsRequest"; } - - protected: - explicit SetDefaultQuotaLimitsRequest(::google::protobuf::Arena* arena); - SetDefaultQuotaLimitsRequest(::google::protobuf::Arena* arena, const SetDefaultQuotaLimitsRequest& from); - SetDefaultQuotaLimitsRequest(::google::protobuf::Arena* arena, SetDefaultQuotaLimitsRequest&& from) noexcept - : SetDefaultQuotaLimitsRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kPoolFieldNumber = 1, - kUserSpaceLimitFieldNumber = 2, - kUserInodeLimitFieldNumber = 3, - kGroupSpaceLimitFieldNumber = 4, - kGroupInodeLimitFieldNumber = 5, - }; - // optional .beegfs.EntityIdSet pool = 1; - bool has_pool() const; - void clear_pool() ; - const ::beegfs::EntityIdSet& pool() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_pool(); - ::beegfs::EntityIdSet* mutable_pool(); - void set_allocated_pool(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_pool(); - - private: - const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); - - public: - // optional int64 user_space_limit = 2; - bool has_user_space_limit() const; - void clear_user_space_limit() ; - ::int64_t user_space_limit() const; - void set_user_space_limit(::int64_t value); - - private: - ::int64_t _internal_user_space_limit() const; - void _internal_set_user_space_limit(::int64_t value); - - public: - // optional int64 user_inode_limit = 3; - bool has_user_inode_limit() const; - void clear_user_inode_limit() ; - ::int64_t user_inode_limit() const; - void set_user_inode_limit(::int64_t value); - - private: - ::int64_t _internal_user_inode_limit() const; - void _internal_set_user_inode_limit(::int64_t value); - - public: - // optional int64 group_space_limit = 4; - bool has_group_space_limit() const; - void clear_group_space_limit() ; - ::int64_t group_space_limit() const; - void set_group_space_limit(::int64_t value); - - private: - ::int64_t _internal_group_space_limit() const; - void _internal_set_group_space_limit(::int64_t value); - - public: - // optional int64 group_inode_limit = 5; - bool has_group_inode_limit() const; - void clear_group_inode_limit() ; - ::int64_t group_inode_limit() const; - void set_group_inode_limit(::int64_t value); - - private: - ::int64_t _internal_group_inode_limit() const; - void _internal_set_group_inode_limit(::int64_t value); - - public: - // @@protoc_insertion_point(class_scope:management.SetDefaultQuotaLimitsRequest) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const SetDefaultQuotaLimitsRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* pool_; - ::int64_t user_space_limit_; - ::int64_t user_inode_limit_; - ::int64_t group_space_limit_; - ::int64_t group_inode_limit_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class SetAliasRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.SetAliasRequest) */ { - public: - inline SetAliasRequest() : SetAliasRequest(nullptr) {} - ~SetAliasRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetAliasRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetAliasRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR SetAliasRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline SetAliasRequest(const SetAliasRequest& from) : SetAliasRequest(nullptr, from) {} - inline SetAliasRequest(SetAliasRequest&& from) noexcept - : SetAliasRequest(nullptr, std::move(from)) {} - inline SetAliasRequest& operator=(const SetAliasRequest& from) { - CopyFrom(from); - return *this; - } - inline SetAliasRequest& operator=(SetAliasRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const SetAliasRequest& default_instance() { - return *internal_default_instance(); - } - static inline const SetAliasRequest* internal_default_instance() { - return reinterpret_cast( - &_SetAliasRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 0; - friend void swap(SetAliasRequest& a, SetAliasRequest& b) { a.Swap(&b); } - inline void Swap(SetAliasRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetAliasRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetAliasRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetAliasRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetAliasRequest& from) { SetAliasRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetAliasRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.SetAliasRequest"; } - - protected: - explicit SetAliasRequest(::google::protobuf::Arena* arena); - SetAliasRequest(::google::protobuf::Arena* arena, const SetAliasRequest& from); - SetAliasRequest(::google::protobuf::Arena* arena, SetAliasRequest&& from) noexcept - : SetAliasRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kNewAliasFieldNumber = 3, - kEntityIdFieldNumber = 1, - kEntityTypeFieldNumber = 2, - }; - // string new_alias = 3; - void clear_new_alias() ; - const std::string& new_alias() const; - template - void set_new_alias(Arg_&& arg, Args_... args); - std::string* mutable_new_alias(); - PROTOBUF_NODISCARD std::string* release_new_alias(); - void set_allocated_new_alias(std::string* value); - - private: - const std::string& _internal_new_alias() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_new_alias( - const std::string& value); - std::string* _internal_mutable_new_alias(); - - public: - // .beegfs.EntityIdSet entity_id = 1; - bool has_entity_id() const; - void clear_entity_id() ; - const ::beegfs::EntityIdSet& entity_id() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_entity_id(); - ::beegfs::EntityIdSet* mutable_entity_id(); - void set_allocated_entity_id(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_entity_id(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_entity_id(); - - private: - const ::beegfs::EntityIdSet& _internal_entity_id() const; - ::beegfs::EntityIdSet* _internal_mutable_entity_id(); - - public: - // .beegfs.EntityType entity_type = 2; - void clear_entity_type() ; - ::beegfs::EntityType entity_type() const; - void set_entity_type(::beegfs::EntityType value); - - private: - ::beegfs::EntityType _internal_entity_type() const; - void _internal_set_entity_type(::beegfs::EntityType value); - - public: - // @@protoc_insertion_point(class_scope:management.SetAliasRequest) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 1, - 44, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const SetAliasRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr new_alias_; - ::beegfs::EntityIdSet* entity_id_; - int entity_type_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class QuotaInfo final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.QuotaInfo) */ { - public: - inline QuotaInfo() : QuotaInfo(nullptr) {} - ~QuotaInfo() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(QuotaInfo* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(QuotaInfo)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR QuotaInfo( - ::google::protobuf::internal::ConstantInitialized); - - inline QuotaInfo(const QuotaInfo& from) : QuotaInfo(nullptr, from) {} - inline QuotaInfo(QuotaInfo&& from) noexcept - : QuotaInfo(nullptr, std::move(from)) {} - inline QuotaInfo& operator=(const QuotaInfo& from) { - CopyFrom(from); - return *this; - } - inline QuotaInfo& operator=(QuotaInfo&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const QuotaInfo& default_instance() { - return *internal_default_instance(); - } - static inline const QuotaInfo* internal_default_instance() { - return reinterpret_cast( - &_QuotaInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = 35; - friend void swap(QuotaInfo& a, QuotaInfo& b) { a.Swap(&b); } - inline void Swap(QuotaInfo* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(QuotaInfo* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - QuotaInfo* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const QuotaInfo& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const QuotaInfo& from) { QuotaInfo::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(QuotaInfo* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.QuotaInfo"; } - - protected: - explicit QuotaInfo(::google::protobuf::Arena* arena); - QuotaInfo(::google::protobuf::Arena* arena, const QuotaInfo& from); - QuotaInfo(::google::protobuf::Arena* arena, QuotaInfo&& from) noexcept - : QuotaInfo(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kPoolFieldNumber = 3, - kQuotaIdFieldNumber = 1, - kIdTypeFieldNumber = 2, - kSpaceLimitFieldNumber = 4, - kInodeLimitFieldNumber = 5, - kSpaceUsedFieldNumber = 6, - kInodeUsedFieldNumber = 7, - }; - // optional .beegfs.EntityIdSet pool = 3; - bool has_pool() const; - void clear_pool() ; - const ::beegfs::EntityIdSet& pool() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_pool(); - ::beegfs::EntityIdSet* mutable_pool(); - void set_allocated_pool(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_pool(); - - private: - const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); - - public: - // optional uint32 quota_id = 1; - bool has_quota_id() const; - void clear_quota_id() ; - ::uint32_t quota_id() const; - void set_quota_id(::uint32_t value); - - private: - ::uint32_t _internal_quota_id() const; - void _internal_set_quota_id(::uint32_t value); - - public: - // .beegfs.QuotaIdType id_type = 2; - void clear_id_type() ; - ::beegfs::QuotaIdType id_type() const; - void set_id_type(::beegfs::QuotaIdType value); - - private: - ::beegfs::QuotaIdType _internal_id_type() const; - void _internal_set_id_type(::beegfs::QuotaIdType value); - - public: - // optional int64 space_limit = 4; - bool has_space_limit() const; - void clear_space_limit() ; - ::int64_t space_limit() const; - void set_space_limit(::int64_t value); - - private: - ::int64_t _internal_space_limit() const; - void _internal_set_space_limit(::int64_t value); - - public: - // optional int64 inode_limit = 5; - bool has_inode_limit() const; - void clear_inode_limit() ; - ::int64_t inode_limit() const; - void set_inode_limit(::int64_t value); - - private: - ::int64_t _internal_inode_limit() const; - void _internal_set_inode_limit(::int64_t value); - - public: - // optional int64 space_used = 6; - bool has_space_used() const; - void clear_space_used() ; - ::int64_t space_used() const; - void set_space_used(::int64_t value); - - private: - ::int64_t _internal_space_used() const; - void _internal_set_space_used(::int64_t value); - - public: - // optional int64 inode_used = 7; - bool has_inode_used() const; - void clear_inode_used() ; - ::int64_t inode_used() const; - void set_inode_used(::int64_t value); - - private: - ::int64_t _internal_inode_used() const; - void _internal_set_inode_used(::int64_t value); - - public: - // @@protoc_insertion_point(class_scope:management.QuotaInfo) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const QuotaInfo& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* pool_; - ::uint32_t quota_id_; - int id_type_; - ::int64_t space_limit_; - ::int64_t inode_limit_; - ::int64_t space_used_; - ::int64_t inode_used_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetTargetsResponse_Target final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetTargetsResponse.Target) */ { - public: - inline GetTargetsResponse_Target() : GetTargetsResponse_Target(nullptr) {} - ~GetTargetsResponse_Target() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetTargetsResponse_Target* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetTargetsResponse_Target)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetTargetsResponse_Target( - ::google::protobuf::internal::ConstantInitialized); - - inline GetTargetsResponse_Target(const GetTargetsResponse_Target& from) : GetTargetsResponse_Target(nullptr, from) {} - inline GetTargetsResponse_Target(GetTargetsResponse_Target&& from) noexcept - : GetTargetsResponse_Target(nullptr, std::move(from)) {} - inline GetTargetsResponse_Target& operator=(const GetTargetsResponse_Target& from) { - CopyFrom(from); - return *this; - } - inline GetTargetsResponse_Target& operator=(GetTargetsResponse_Target&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetTargetsResponse_Target& default_instance() { - return *internal_default_instance(); - } - static inline const GetTargetsResponse_Target* internal_default_instance() { - return reinterpret_cast( - &_GetTargetsResponse_Target_default_instance_); - } - static constexpr int kIndexInFileMessages = 9; - friend void swap(GetTargetsResponse_Target& a, GetTargetsResponse_Target& b) { a.Swap(&b); } - inline void Swap(GetTargetsResponse_Target* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetTargetsResponse_Target* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetTargetsResponse_Target* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetTargetsResponse_Target& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetTargetsResponse_Target& from) { GetTargetsResponse_Target::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetTargetsResponse_Target* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetTargetsResponse.Target"; } - - protected: - explicit GetTargetsResponse_Target(::google::protobuf::Arena* arena); - GetTargetsResponse_Target(::google::protobuf::Arena* arena, const GetTargetsResponse_Target& from); - GetTargetsResponse_Target(::google::protobuf::Arena* arena, GetTargetsResponse_Target&& from) noexcept - : GetTargetsResponse_Target(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kIdFieldNumber = 1, - kNodeFieldNumber = 11, - kStoragePoolFieldNumber = 12, - kNodeTypeFieldNumber = 2, - kReachabilityStateFieldNumber = 3, - kLastContactSFieldNumber = 5, - kTotalSpaceBytesFieldNumber = 6, - kFreeSpaceBytesFieldNumber = 7, - kConsistencyStateFieldNumber = 4, - kCapPoolFieldNumber = 10, - kTotalInodesFieldNumber = 8, - kFreeInodesFieldNumber = 9, - }; - // .beegfs.EntityIdSet id = 1; - bool has_id() const; - void clear_id() ; - const ::beegfs::EntityIdSet& id() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_id(); - ::beegfs::EntityIdSet* mutable_id(); - void set_allocated_id(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_id(); - - private: - const ::beegfs::EntityIdSet& _internal_id() const; - ::beegfs::EntityIdSet* _internal_mutable_id(); - - public: - // .beegfs.EntityIdSet node = 11; - bool has_node() const; - void clear_node() ; - const ::beegfs::EntityIdSet& node() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_node(); - ::beegfs::EntityIdSet* mutable_node(); - void set_allocated_node(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_node(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_node(); - - private: - const ::beegfs::EntityIdSet& _internal_node() const; - ::beegfs::EntityIdSet* _internal_mutable_node(); - - public: - // optional .beegfs.EntityIdSet storage_pool = 12; - bool has_storage_pool() const; - void clear_storage_pool() ; - const ::beegfs::EntityIdSet& storage_pool() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_storage_pool(); - ::beegfs::EntityIdSet* mutable_storage_pool(); - void set_allocated_storage_pool(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_storage_pool(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_storage_pool(); - - private: - const ::beegfs::EntityIdSet& _internal_storage_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_storage_pool(); - - public: - // .beegfs.NodeType node_type = 2; - void clear_node_type() ; - ::beegfs::NodeType node_type() const; - void set_node_type(::beegfs::NodeType value); - - private: - ::beegfs::NodeType _internal_node_type() const; - void _internal_set_node_type(::beegfs::NodeType value); - - public: - // .beegfs.ReachabilityState reachability_state = 3; - void clear_reachability_state() ; - ::beegfs::ReachabilityState reachability_state() const; - void set_reachability_state(::beegfs::ReachabilityState value); - - private: - ::beegfs::ReachabilityState _internal_reachability_state() const; - void _internal_set_reachability_state(::beegfs::ReachabilityState value); - - public: - // optional uint64 last_contact_s = 5; - bool has_last_contact_s() const; - void clear_last_contact_s() ; - ::uint64_t last_contact_s() const; - void set_last_contact_s(::uint64_t value); - - private: - ::uint64_t _internal_last_contact_s() const; - void _internal_set_last_contact_s(::uint64_t value); - - public: - // optional uint64 total_space_bytes = 6; - bool has_total_space_bytes() const; - void clear_total_space_bytes() ; - ::uint64_t total_space_bytes() const; - void set_total_space_bytes(::uint64_t value); - - private: - ::uint64_t _internal_total_space_bytes() const; - void _internal_set_total_space_bytes(::uint64_t value); - - public: - // optional uint64 free_space_bytes = 7; - bool has_free_space_bytes() const; - void clear_free_space_bytes() ; - ::uint64_t free_space_bytes() const; - void set_free_space_bytes(::uint64_t value); - - private: - ::uint64_t _internal_free_space_bytes() const; - void _internal_set_free_space_bytes(::uint64_t value); - - public: - // .beegfs.ConsistencyState consistency_state = 4; - void clear_consistency_state() ; - ::beegfs::ConsistencyState consistency_state() const; - void set_consistency_state(::beegfs::ConsistencyState value); - - private: - ::beegfs::ConsistencyState _internal_consistency_state() const; - void _internal_set_consistency_state(::beegfs::ConsistencyState value); - - public: - // .beegfs.CapacityPool cap_pool = 10; - void clear_cap_pool() ; - ::beegfs::CapacityPool cap_pool() const; - void set_cap_pool(::beegfs::CapacityPool value); - - private: - ::beegfs::CapacityPool _internal_cap_pool() const; - void _internal_set_cap_pool(::beegfs::CapacityPool value); - - public: - // optional uint64 total_inodes = 8; - bool has_total_inodes() const; - void clear_total_inodes() ; - ::uint64_t total_inodes() const; - void set_total_inodes(::uint64_t value); - - private: - ::uint64_t _internal_total_inodes() const; - void _internal_set_total_inodes(::uint64_t value); - - public: - // optional uint64 free_inodes = 9; - bool has_free_inodes() const; - void clear_free_inodes() ; - ::uint64_t free_inodes() const; - void set_free_inodes(::uint64_t value); - - private: - ::uint64_t _internal_free_inodes() const; - void _internal_set_free_inodes(::uint64_t value); - - public: - // @@protoc_insertion_point(class_scope:management.GetTargetsResponse.Target) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 12, 3, - 0, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetTargetsResponse_Target& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* id_; - ::beegfs::EntityIdSet* node_; - ::beegfs::EntityIdSet* storage_pool_; - int node_type_; - int reachability_state_; - ::uint64_t last_contact_s_; - ::uint64_t total_space_bytes_; - ::uint64_t free_space_bytes_; - int consistency_state_; - int cap_pool_; - ::uint64_t total_inodes_; - ::uint64_t free_inodes_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetQuotaUsageRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetQuotaUsageRequest) */ { - public: - inline GetQuotaUsageRequest() : GetQuotaUsageRequest(nullptr) {} - ~GetQuotaUsageRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetQuotaUsageRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetQuotaUsageRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetQuotaUsageRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline GetQuotaUsageRequest(const GetQuotaUsageRequest& from) : GetQuotaUsageRequest(nullptr, from) {} - inline GetQuotaUsageRequest(GetQuotaUsageRequest&& from) noexcept - : GetQuotaUsageRequest(nullptr, std::move(from)) {} - inline GetQuotaUsageRequest& operator=(const GetQuotaUsageRequest& from) { - CopyFrom(from); - return *this; - } - inline GetQuotaUsageRequest& operator=(GetQuotaUsageRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetQuotaUsageRequest& default_instance() { - return *internal_default_instance(); - } - static inline const GetQuotaUsageRequest* internal_default_instance() { - return reinterpret_cast( - &_GetQuotaUsageRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 42; - friend void swap(GetQuotaUsageRequest& a, GetQuotaUsageRequest& b) { a.Swap(&b); } - inline void Swap(GetQuotaUsageRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetQuotaUsageRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetQuotaUsageRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetQuotaUsageRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetQuotaUsageRequest& from) { GetQuotaUsageRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetQuotaUsageRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetQuotaUsageRequest"; } - - protected: - explicit GetQuotaUsageRequest(::google::protobuf::Arena* arena); - GetQuotaUsageRequest(::google::protobuf::Arena* arena, const GetQuotaUsageRequest& from); - GetQuotaUsageRequest(::google::protobuf::Arena* arena, GetQuotaUsageRequest&& from) noexcept - : GetQuotaUsageRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kUserIdListFieldNumber = 3, - kGroupIdListFieldNumber = 6, - kPoolFieldNumber = 7, - kUserIdMinFieldNumber = 1, - kUserIdMaxFieldNumber = 2, - kGroupIdMinFieldNumber = 4, - kGroupIdMaxFieldNumber = 5, - kExceededFieldNumber = 8, - }; - // repeated uint32 user_id_list = 3; - int user_id_list_size() const; - private: - int _internal_user_id_list_size() const; - - public: - void clear_user_id_list() ; - ::uint32_t user_id_list(int index) const; - void set_user_id_list(int index, ::uint32_t value); - void add_user_id_list(::uint32_t value); - const ::google::protobuf::RepeatedField<::uint32_t>& user_id_list() const; - ::google::protobuf::RepeatedField<::uint32_t>* mutable_user_id_list(); - - private: - const ::google::protobuf::RepeatedField<::uint32_t>& _internal_user_id_list() const; - ::google::protobuf::RepeatedField<::uint32_t>* _internal_mutable_user_id_list(); - - public: - // repeated uint32 group_id_list = 6; - int group_id_list_size() const; - private: - int _internal_group_id_list_size() const; - - public: - void clear_group_id_list() ; - ::uint32_t group_id_list(int index) const; - void set_group_id_list(int index, ::uint32_t value); - void add_group_id_list(::uint32_t value); - const ::google::protobuf::RepeatedField<::uint32_t>& group_id_list() const; - ::google::protobuf::RepeatedField<::uint32_t>* mutable_group_id_list(); - - private: - const ::google::protobuf::RepeatedField<::uint32_t>& _internal_group_id_list() const; - ::google::protobuf::RepeatedField<::uint32_t>* _internal_mutable_group_id_list(); - - public: - // optional .beegfs.EntityIdSet pool = 7; - bool has_pool() const; - void clear_pool() ; - const ::beegfs::EntityIdSet& pool() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_pool(); - ::beegfs::EntityIdSet* mutable_pool(); - void set_allocated_pool(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_pool(); - - private: - const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); - - public: - // optional uint32 user_id_min = 1; - bool has_user_id_min() const; - void clear_user_id_min() ; - ::uint32_t user_id_min() const; - void set_user_id_min(::uint32_t value); - - private: - ::uint32_t _internal_user_id_min() const; - void _internal_set_user_id_min(::uint32_t value); - - public: - // optional uint32 user_id_max = 2; - bool has_user_id_max() const; - void clear_user_id_max() ; - ::uint32_t user_id_max() const; - void set_user_id_max(::uint32_t value); - - private: - ::uint32_t _internal_user_id_max() const; - void _internal_set_user_id_max(::uint32_t value); - - public: - // optional uint32 group_id_min = 4; - bool has_group_id_min() const; - void clear_group_id_min() ; - ::uint32_t group_id_min() const; - void set_group_id_min(::uint32_t value); - - private: - ::uint32_t _internal_group_id_min() const; - void _internal_set_group_id_min(::uint32_t value); - - public: - // optional uint32 group_id_max = 5; - bool has_group_id_max() const; - void clear_group_id_max() ; - ::uint32_t group_id_max() const; - void set_group_id_max(::uint32_t value); - - private: - ::uint32_t _internal_group_id_max() const; - void _internal_set_group_id_max(::uint32_t value); - - public: - // optional bool exceeded = 8; - bool has_exceeded() const; - void clear_exceeded() ; - bool exceeded() const; - void set_exceeded(bool value); - - private: - bool _internal_exceeded() const; - void _internal_set_exceeded(bool value); - - public: - // @@protoc_insertion_point(class_scope:management.GetQuotaUsageRequest) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 8, 1, - 0, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetQuotaUsageRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::RepeatedField<::uint32_t> user_id_list_; - ::google::protobuf::internal::CachedSize _user_id_list_cached_byte_size_; - ::google::protobuf::RepeatedField<::uint32_t> group_id_list_; - ::google::protobuf::internal::CachedSize _group_id_list_cached_byte_size_; - ::beegfs::EntityIdSet* pool_; - ::uint32_t user_id_min_; - ::uint32_t user_id_max_; - ::uint32_t group_id_min_; - ::uint32_t group_id_max_; - bool exceeded_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetQuotaLimitsRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetQuotaLimitsRequest) */ { - public: - inline GetQuotaLimitsRequest() : GetQuotaLimitsRequest(nullptr) {} - ~GetQuotaLimitsRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetQuotaLimitsRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetQuotaLimitsRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetQuotaLimitsRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline GetQuotaLimitsRequest(const GetQuotaLimitsRequest& from) : GetQuotaLimitsRequest(nullptr, from) {} - inline GetQuotaLimitsRequest(GetQuotaLimitsRequest&& from) noexcept - : GetQuotaLimitsRequest(nullptr, std::move(from)) {} - inline GetQuotaLimitsRequest& operator=(const GetQuotaLimitsRequest& from) { - CopyFrom(from); - return *this; - } - inline GetQuotaLimitsRequest& operator=(GetQuotaLimitsRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetQuotaLimitsRequest& default_instance() { - return *internal_default_instance(); - } - static inline const GetQuotaLimitsRequest* internal_default_instance() { - return reinterpret_cast( - &_GetQuotaLimitsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 40; - friend void swap(GetQuotaLimitsRequest& a, GetQuotaLimitsRequest& b) { a.Swap(&b); } - inline void Swap(GetQuotaLimitsRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetQuotaLimitsRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetQuotaLimitsRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetQuotaLimitsRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetQuotaLimitsRequest& from) { GetQuotaLimitsRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetQuotaLimitsRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetQuotaLimitsRequest"; } - - protected: - explicit GetQuotaLimitsRequest(::google::protobuf::Arena* arena); - GetQuotaLimitsRequest(::google::protobuf::Arena* arena, const GetQuotaLimitsRequest& from); - GetQuotaLimitsRequest(::google::protobuf::Arena* arena, GetQuotaLimitsRequest&& from) noexcept - : GetQuotaLimitsRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kUserIdListFieldNumber = 3, - kGroupIdListFieldNumber = 6, - kPoolFieldNumber = 7, - kUserIdMinFieldNumber = 1, - kUserIdMaxFieldNumber = 2, - kGroupIdMinFieldNumber = 4, - kGroupIdMaxFieldNumber = 5, - }; - // repeated uint32 user_id_list = 3; - int user_id_list_size() const; - private: - int _internal_user_id_list_size() const; - - public: - void clear_user_id_list() ; - ::uint32_t user_id_list(int index) const; - void set_user_id_list(int index, ::uint32_t value); - void add_user_id_list(::uint32_t value); - const ::google::protobuf::RepeatedField<::uint32_t>& user_id_list() const; - ::google::protobuf::RepeatedField<::uint32_t>* mutable_user_id_list(); - - private: - const ::google::protobuf::RepeatedField<::uint32_t>& _internal_user_id_list() const; - ::google::protobuf::RepeatedField<::uint32_t>* _internal_mutable_user_id_list(); - - public: - // repeated uint32 group_id_list = 6; - int group_id_list_size() const; - private: - int _internal_group_id_list_size() const; - - public: - void clear_group_id_list() ; - ::uint32_t group_id_list(int index) const; - void set_group_id_list(int index, ::uint32_t value); - void add_group_id_list(::uint32_t value); - const ::google::protobuf::RepeatedField<::uint32_t>& group_id_list() const; - ::google::protobuf::RepeatedField<::uint32_t>* mutable_group_id_list(); - - private: - const ::google::protobuf::RepeatedField<::uint32_t>& _internal_group_id_list() const; - ::google::protobuf::RepeatedField<::uint32_t>* _internal_mutable_group_id_list(); - - public: - // optional .beegfs.EntityIdSet pool = 7; - bool has_pool() const; - void clear_pool() ; - const ::beegfs::EntityIdSet& pool() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_pool(); - ::beegfs::EntityIdSet* mutable_pool(); - void set_allocated_pool(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_pool(); - - private: - const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); - - public: - // optional uint32 user_id_min = 1; - bool has_user_id_min() const; - void clear_user_id_min() ; - ::uint32_t user_id_min() const; - void set_user_id_min(::uint32_t value); - - private: - ::uint32_t _internal_user_id_min() const; - void _internal_set_user_id_min(::uint32_t value); - - public: - // optional uint32 user_id_max = 2; - bool has_user_id_max() const; - void clear_user_id_max() ; - ::uint32_t user_id_max() const; - void set_user_id_max(::uint32_t value); - - private: - ::uint32_t _internal_user_id_max() const; - void _internal_set_user_id_max(::uint32_t value); - - public: - // optional uint32 group_id_min = 4; - bool has_group_id_min() const; - void clear_group_id_min() ; - ::uint32_t group_id_min() const; - void set_group_id_min(::uint32_t value); - - private: - ::uint32_t _internal_group_id_min() const; - void _internal_set_group_id_min(::uint32_t value); - - public: - // optional uint32 group_id_max = 5; - bool has_group_id_max() const; - void clear_group_id_max() ; - ::uint32_t group_id_max() const; - void set_group_id_max(::uint32_t value); - - private: - ::uint32_t _internal_group_id_max() const; - void _internal_set_group_id_max(::uint32_t value); - - public: - // @@protoc_insertion_point(class_scope:management.GetQuotaLimitsRequest) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetQuotaLimitsRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::RepeatedField<::uint32_t> user_id_list_; - ::google::protobuf::internal::CachedSize _user_id_list_cached_byte_size_; - ::google::protobuf::RepeatedField<::uint32_t> group_id_list_; - ::google::protobuf::internal::CachedSize _group_id_list_cached_byte_size_; - ::beegfs::EntityIdSet* pool_; - ::uint32_t user_id_min_; - ::uint32_t user_id_max_; - ::uint32_t group_id_min_; - ::uint32_t group_id_max_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetPoolsResponse_StoragePool final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetPoolsResponse.StoragePool) */ { - public: - inline GetPoolsResponse_StoragePool() : GetPoolsResponse_StoragePool(nullptr) {} - ~GetPoolsResponse_StoragePool() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetPoolsResponse_StoragePool* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetPoolsResponse_StoragePool)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetPoolsResponse_StoragePool( - ::google::protobuf::internal::ConstantInitialized); - - inline GetPoolsResponse_StoragePool(const GetPoolsResponse_StoragePool& from) : GetPoolsResponse_StoragePool(nullptr, from) {} - inline GetPoolsResponse_StoragePool(GetPoolsResponse_StoragePool&& from) noexcept - : GetPoolsResponse_StoragePool(nullptr, std::move(from)) {} - inline GetPoolsResponse_StoragePool& operator=(const GetPoolsResponse_StoragePool& from) { - CopyFrom(from); - return *this; - } - inline GetPoolsResponse_StoragePool& operator=(GetPoolsResponse_StoragePool&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetPoolsResponse_StoragePool& default_instance() { - return *internal_default_instance(); - } - static inline const GetPoolsResponse_StoragePool* internal_default_instance() { - return reinterpret_cast( - &_GetPoolsResponse_StoragePool_default_instance_); - } - static constexpr int kIndexInFileMessages = 16; - friend void swap(GetPoolsResponse_StoragePool& a, GetPoolsResponse_StoragePool& b) { a.Swap(&b); } - inline void Swap(GetPoolsResponse_StoragePool* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetPoolsResponse_StoragePool* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetPoolsResponse_StoragePool* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetPoolsResponse_StoragePool& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetPoolsResponse_StoragePool& from) { GetPoolsResponse_StoragePool::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetPoolsResponse_StoragePool* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetPoolsResponse.StoragePool"; } - - protected: - explicit GetPoolsResponse_StoragePool(::google::protobuf::Arena* arena); - GetPoolsResponse_StoragePool(::google::protobuf::Arena* arena, const GetPoolsResponse_StoragePool& from); - GetPoolsResponse_StoragePool(::google::protobuf::Arena* arena, GetPoolsResponse_StoragePool&& from) noexcept - : GetPoolsResponse_StoragePool(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kTargetsFieldNumber = 2, - kBuddyGroupsFieldNumber = 3, - kIdFieldNumber = 1, - kUserSpaceLimitFieldNumber = 4, - kUserInodeLimitFieldNumber = 5, - kGroupSpaceLimitFieldNumber = 6, - kGroupInodeLimitFieldNumber = 7, - }; - // repeated .beegfs.EntityIdSet targets = 2; - int targets_size() const; - private: - int _internal_targets_size() const; - - public: - void clear_targets() ; - ::beegfs::EntityIdSet* mutable_targets(int index); - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* mutable_targets(); - - private: - const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& _internal_targets() const; - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* _internal_mutable_targets(); - public: - const ::beegfs::EntityIdSet& targets(int index) const; - ::beegfs::EntityIdSet* add_targets(); - const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& targets() const; - // repeated .beegfs.EntityIdSet buddy_groups = 3; - int buddy_groups_size() const; - private: - int _internal_buddy_groups_size() const; - - public: - void clear_buddy_groups() ; - ::beegfs::EntityIdSet* mutable_buddy_groups(int index); - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* mutable_buddy_groups(); - - private: - const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& _internal_buddy_groups() const; - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* _internal_mutable_buddy_groups(); - public: - const ::beegfs::EntityIdSet& buddy_groups(int index) const; - ::beegfs::EntityIdSet* add_buddy_groups(); - const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& buddy_groups() const; - // .beegfs.EntityIdSet id = 1; - bool has_id() const; - void clear_id() ; - const ::beegfs::EntityIdSet& id() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_id(); - ::beegfs::EntityIdSet* mutable_id(); - void set_allocated_id(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_id(); - - private: - const ::beegfs::EntityIdSet& _internal_id() const; - ::beegfs::EntityIdSet* _internal_mutable_id(); - - public: - // optional int64 user_space_limit = 4; - bool has_user_space_limit() const; - void clear_user_space_limit() ; - ::int64_t user_space_limit() const; - void set_user_space_limit(::int64_t value); - - private: - ::int64_t _internal_user_space_limit() const; - void _internal_set_user_space_limit(::int64_t value); - - public: - // optional int64 user_inode_limit = 5; - bool has_user_inode_limit() const; - void clear_user_inode_limit() ; - ::int64_t user_inode_limit() const; - void set_user_inode_limit(::int64_t value); - - private: - ::int64_t _internal_user_inode_limit() const; - void _internal_set_user_inode_limit(::int64_t value); - - public: - // optional int64 group_space_limit = 6; - bool has_group_space_limit() const; - void clear_group_space_limit() ; - ::int64_t group_space_limit() const; - void set_group_space_limit(::int64_t value); - - private: - ::int64_t _internal_group_space_limit() const; - void _internal_set_group_space_limit(::int64_t value); - - public: - // optional int64 group_inode_limit = 7; - bool has_group_inode_limit() const; - void clear_group_inode_limit() ; - ::int64_t group_inode_limit() const; - void set_group_inode_limit(::int64_t value); - - private: - ::int64_t _internal_group_inode_limit() const; - void _internal_set_group_inode_limit(::int64_t value); - - public: - // @@protoc_insertion_point(class_scope:management.GetPoolsResponse.StoragePool) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 7, 3, - 0, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetPoolsResponse_StoragePool& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::RepeatedPtrField< ::beegfs::EntityIdSet > targets_; - ::google::protobuf::RepeatedPtrField< ::beegfs::EntityIdSet > buddy_groups_; - ::beegfs::EntityIdSet* id_; - ::int64_t user_space_limit_; - ::int64_t user_inode_limit_; - ::int64_t group_space_limit_; - ::int64_t group_inode_limit_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetNodesResponse_Node final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetNodesResponse.Node) */ { - public: - inline GetNodesResponse_Node() : GetNodesResponse_Node(nullptr) {} - ~GetNodesResponse_Node() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetNodesResponse_Node* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetNodesResponse_Node)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetNodesResponse_Node( - ::google::protobuf::internal::ConstantInitialized); - - inline GetNodesResponse_Node(const GetNodesResponse_Node& from) : GetNodesResponse_Node(nullptr, from) {} - inline GetNodesResponse_Node(GetNodesResponse_Node&& from) noexcept - : GetNodesResponse_Node(nullptr, std::move(from)) {} - inline GetNodesResponse_Node& operator=(const GetNodesResponse_Node& from) { - CopyFrom(from); - return *this; - } - inline GetNodesResponse_Node& operator=(GetNodesResponse_Node&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetNodesResponse_Node& default_instance() { - return *internal_default_instance(); - } - static inline const GetNodesResponse_Node* internal_default_instance() { - return reinterpret_cast( - &_GetNodesResponse_Node_default_instance_); - } - static constexpr int kIndexInFileMessages = 4; - friend void swap(GetNodesResponse_Node& a, GetNodesResponse_Node& b) { a.Swap(&b); } - inline void Swap(GetNodesResponse_Node* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetNodesResponse_Node* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetNodesResponse_Node* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetNodesResponse_Node& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetNodesResponse_Node& from) { GetNodesResponse_Node::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetNodesResponse_Node* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetNodesResponse.Node"; } - - protected: - explicit GetNodesResponse_Node(::google::protobuf::Arena* arena); - GetNodesResponse_Node(::google::protobuf::Arena* arena, const GetNodesResponse_Node& from); - GetNodesResponse_Node(::google::protobuf::Arena* arena, GetNodesResponse_Node&& from) noexcept - : GetNodesResponse_Node(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - using Nic = GetNodesResponse_Node_Nic; - - // accessors ------------------------------------------------------- - enum : int { - kNicsFieldNumber = 4, - kIdFieldNumber = 1, - kNodeTypeFieldNumber = 2, - kPortFieldNumber = 3, - }; - // repeated .management.GetNodesResponse.Node.Nic nics = 4; - int nics_size() const; - private: - int _internal_nics_size() const; - - public: - void clear_nics() ; - ::management::GetNodesResponse_Node_Nic* mutable_nics(int index); - ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>* mutable_nics(); - - private: - const ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>& _internal_nics() const; - ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>* _internal_mutable_nics(); - public: - const ::management::GetNodesResponse_Node_Nic& nics(int index) const; - ::management::GetNodesResponse_Node_Nic* add_nics(); - const ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>& nics() const; - // .beegfs.EntityIdSet id = 1; - bool has_id() const; - void clear_id() ; - const ::beegfs::EntityIdSet& id() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_id(); - ::beegfs::EntityIdSet* mutable_id(); - void set_allocated_id(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_id(); - - private: - const ::beegfs::EntityIdSet& _internal_id() const; - ::beegfs::EntityIdSet* _internal_mutable_id(); - - public: - // .beegfs.NodeType node_type = 2; - void clear_node_type() ; - ::beegfs::NodeType node_type() const; - void set_node_type(::beegfs::NodeType value); - - private: - ::beegfs::NodeType _internal_node_type() const; - void _internal_set_node_type(::beegfs::NodeType value); - - public: - // uint32 port = 3; - void clear_port() ; - ::uint32_t port() const; - void set_port(::uint32_t value); - - private: - ::uint32_t _internal_port() const; - void _internal_set_port(::uint32_t value); - - public: - // @@protoc_insertion_point(class_scope:management.GetNodesResponse.Node) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 4, 2, - 0, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetNodesResponse_Node& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::RepeatedPtrField< ::management::GetNodesResponse_Node_Nic > nics_; - ::beegfs::EntityIdSet* id_; - int node_type_; - ::uint32_t port_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetBuddyGroupsResponse_BuddyGroup final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetBuddyGroupsResponse.BuddyGroup) */ { - public: - inline GetBuddyGroupsResponse_BuddyGroup() : GetBuddyGroupsResponse_BuddyGroup(nullptr) {} - ~GetBuddyGroupsResponse_BuddyGroup() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetBuddyGroupsResponse_BuddyGroup* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetBuddyGroupsResponse_BuddyGroup)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetBuddyGroupsResponse_BuddyGroup( - ::google::protobuf::internal::ConstantInitialized); - - inline GetBuddyGroupsResponse_BuddyGroup(const GetBuddyGroupsResponse_BuddyGroup& from) : GetBuddyGroupsResponse_BuddyGroup(nullptr, from) {} - inline GetBuddyGroupsResponse_BuddyGroup(GetBuddyGroupsResponse_BuddyGroup&& from) noexcept - : GetBuddyGroupsResponse_BuddyGroup(nullptr, std::move(from)) {} - inline GetBuddyGroupsResponse_BuddyGroup& operator=(const GetBuddyGroupsResponse_BuddyGroup& from) { - CopyFrom(from); - return *this; - } - inline GetBuddyGroupsResponse_BuddyGroup& operator=(GetBuddyGroupsResponse_BuddyGroup&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetBuddyGroupsResponse_BuddyGroup& default_instance() { - return *internal_default_instance(); - } - static inline const GetBuddyGroupsResponse_BuddyGroup* internal_default_instance() { - return reinterpret_cast( - &_GetBuddyGroupsResponse_BuddyGroup_default_instance_); - } - static constexpr int kIndexInFileMessages = 25; - friend void swap(GetBuddyGroupsResponse_BuddyGroup& a, GetBuddyGroupsResponse_BuddyGroup& b) { a.Swap(&b); } - inline void Swap(GetBuddyGroupsResponse_BuddyGroup* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetBuddyGroupsResponse_BuddyGroup* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetBuddyGroupsResponse_BuddyGroup* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetBuddyGroupsResponse_BuddyGroup& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetBuddyGroupsResponse_BuddyGroup& from) { GetBuddyGroupsResponse_BuddyGroup::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetBuddyGroupsResponse_BuddyGroup* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetBuddyGroupsResponse.BuddyGroup"; } - - protected: - explicit GetBuddyGroupsResponse_BuddyGroup(::google::protobuf::Arena* arena); - GetBuddyGroupsResponse_BuddyGroup(::google::protobuf::Arena* arena, const GetBuddyGroupsResponse_BuddyGroup& from); - GetBuddyGroupsResponse_BuddyGroup(::google::protobuf::Arena* arena, GetBuddyGroupsResponse_BuddyGroup&& from) noexcept - : GetBuddyGroupsResponse_BuddyGroup(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kIdFieldNumber = 1, - kPrimaryTargetFieldNumber = 3, - kSecondaryTargetFieldNumber = 4, - kStoragePoolFieldNumber = 7, - kNodeTypeFieldNumber = 2, - kPrimaryConsistencyStateFieldNumber = 5, - kSecondaryConsistencyStateFieldNumber = 6, - }; - // .beegfs.EntityIdSet id = 1; - bool has_id() const; - void clear_id() ; - const ::beegfs::EntityIdSet& id() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_id(); - ::beegfs::EntityIdSet* mutable_id(); - void set_allocated_id(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_id(); - - private: - const ::beegfs::EntityIdSet& _internal_id() const; - ::beegfs::EntityIdSet* _internal_mutable_id(); - - public: - // .beegfs.EntityIdSet primary_target = 3; - bool has_primary_target() const; - void clear_primary_target() ; - const ::beegfs::EntityIdSet& primary_target() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_primary_target(); - ::beegfs::EntityIdSet* mutable_primary_target(); - void set_allocated_primary_target(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_primary_target(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_primary_target(); - - private: - const ::beegfs::EntityIdSet& _internal_primary_target() const; - ::beegfs::EntityIdSet* _internal_mutable_primary_target(); - - public: - // .beegfs.EntityIdSet secondary_target = 4; - bool has_secondary_target() const; - void clear_secondary_target() ; - const ::beegfs::EntityIdSet& secondary_target() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_secondary_target(); - ::beegfs::EntityIdSet* mutable_secondary_target(); - void set_allocated_secondary_target(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_secondary_target(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_secondary_target(); - - private: - const ::beegfs::EntityIdSet& _internal_secondary_target() const; - ::beegfs::EntityIdSet* _internal_mutable_secondary_target(); - - public: - // optional .beegfs.EntityIdSet storage_pool = 7; - bool has_storage_pool() const; - void clear_storage_pool() ; - const ::beegfs::EntityIdSet& storage_pool() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_storage_pool(); - ::beegfs::EntityIdSet* mutable_storage_pool(); - void set_allocated_storage_pool(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_storage_pool(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_storage_pool(); - - private: - const ::beegfs::EntityIdSet& _internal_storage_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_storage_pool(); - - public: - // .beegfs.NodeType node_type = 2; - void clear_node_type() ; - ::beegfs::NodeType node_type() const; - void set_node_type(::beegfs::NodeType value); - - private: - ::beegfs::NodeType _internal_node_type() const; - void _internal_set_node_type(::beegfs::NodeType value); - - public: - // .beegfs.ConsistencyState primary_consistency_state = 5; - void clear_primary_consistency_state() ; - ::beegfs::ConsistencyState primary_consistency_state() const; - void set_primary_consistency_state(::beegfs::ConsistencyState value); - - private: - ::beegfs::ConsistencyState _internal_primary_consistency_state() const; - void _internal_set_primary_consistency_state(::beegfs::ConsistencyState value); - - public: - // .beegfs.ConsistencyState secondary_consistency_state = 6; - void clear_secondary_consistency_state() ; - ::beegfs::ConsistencyState secondary_consistency_state() const; - void set_secondary_consistency_state(::beegfs::ConsistencyState value); - - private: - ::beegfs::ConsistencyState _internal_secondary_consistency_state() const; - void _internal_set_secondary_consistency_state(::beegfs::ConsistencyState value); - - public: - // @@protoc_insertion_point(class_scope:management.GetBuddyGroupsResponse.BuddyGroup) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 7, 4, - 0, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetBuddyGroupsResponse_BuddyGroup& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* id_; - ::beegfs::EntityIdSet* primary_target_; - ::beegfs::EntityIdSet* secondary_target_; - ::beegfs::EntityIdSet* storage_pool_; - int node_type_; - int primary_consistency_state_; - int secondary_consistency_state_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class DeleteTargetResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.DeleteTargetResponse) */ { - public: - inline DeleteTargetResponse() : DeleteTargetResponse(nullptr) {} - ~DeleteTargetResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeleteTargetResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(DeleteTargetResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR DeleteTargetResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline DeleteTargetResponse(const DeleteTargetResponse& from) : DeleteTargetResponse(nullptr, from) {} - inline DeleteTargetResponse(DeleteTargetResponse&& from) noexcept - : DeleteTargetResponse(nullptr, std::move(from)) {} - inline DeleteTargetResponse& operator=(const DeleteTargetResponse& from) { - CopyFrom(from); - return *this; - } - inline DeleteTargetResponse& operator=(DeleteTargetResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DeleteTargetResponse& default_instance() { - return *internal_default_instance(); - } - static inline const DeleteTargetResponse* internal_default_instance() { - return reinterpret_cast( - &_DeleteTargetResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 12; - friend void swap(DeleteTargetResponse& a, DeleteTargetResponse& b) { a.Swap(&b); } - inline void Swap(DeleteTargetResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DeleteTargetResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DeleteTargetResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const DeleteTargetResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const DeleteTargetResponse& from) { DeleteTargetResponse::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(DeleteTargetResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.DeleteTargetResponse"; } - - protected: - explicit DeleteTargetResponse(::google::protobuf::Arena* arena); - DeleteTargetResponse(::google::protobuf::Arena* arena, const DeleteTargetResponse& from); - DeleteTargetResponse(::google::protobuf::Arena* arena, DeleteTargetResponse&& from) noexcept - : DeleteTargetResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kTargetFieldNumber = 1, - }; - // optional .beegfs.EntityIdSet target = 1; - bool has_target() const; - void clear_target() ; - const ::beegfs::EntityIdSet& target() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_target(); - ::beegfs::EntityIdSet* mutable_target(); - void set_allocated_target(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_target(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_target(); - - private: - const ::beegfs::EntityIdSet& _internal_target() const; - ::beegfs::EntityIdSet* _internal_mutable_target(); - - public: - // @@protoc_insertion_point(class_scope:management.DeleteTargetResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const DeleteTargetResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* target_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class DeleteTargetRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.DeleteTargetRequest) */ { - public: - inline DeleteTargetRequest() : DeleteTargetRequest(nullptr) {} - ~DeleteTargetRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeleteTargetRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(DeleteTargetRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR DeleteTargetRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline DeleteTargetRequest(const DeleteTargetRequest& from) : DeleteTargetRequest(nullptr, from) {} - inline DeleteTargetRequest(DeleteTargetRequest&& from) noexcept - : DeleteTargetRequest(nullptr, std::move(from)) {} - inline DeleteTargetRequest& operator=(const DeleteTargetRequest& from) { - CopyFrom(from); - return *this; - } - inline DeleteTargetRequest& operator=(DeleteTargetRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DeleteTargetRequest& default_instance() { - return *internal_default_instance(); - } - static inline const DeleteTargetRequest* internal_default_instance() { - return reinterpret_cast( - &_DeleteTargetRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 11; - friend void swap(DeleteTargetRequest& a, DeleteTargetRequest& b) { a.Swap(&b); } - inline void Swap(DeleteTargetRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DeleteTargetRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DeleteTargetRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const DeleteTargetRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const DeleteTargetRequest& from) { DeleteTargetRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(DeleteTargetRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.DeleteTargetRequest"; } - - protected: - explicit DeleteTargetRequest(::google::protobuf::Arena* arena); - DeleteTargetRequest(::google::protobuf::Arena* arena, const DeleteTargetRequest& from); - DeleteTargetRequest(::google::protobuf::Arena* arena, DeleteTargetRequest&& from) noexcept - : DeleteTargetRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kTargetFieldNumber = 1, - kExecuteFieldNumber = 2, - }; - // optional .beegfs.EntityIdSet target = 1; - bool has_target() const; - void clear_target() ; - const ::beegfs::EntityIdSet& target() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_target(); - ::beegfs::EntityIdSet* mutable_target(); - void set_allocated_target(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_target(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_target(); - - private: - const ::beegfs::EntityIdSet& _internal_target() const; - ::beegfs::EntityIdSet* _internal_mutable_target(); - - public: - // optional bool execute = 2; - bool has_execute() const; - void clear_execute() ; - bool execute() const; - void set_execute(bool value); - - private: - bool _internal_execute() const; - void _internal_set_execute(bool value); - - public: - // @@protoc_insertion_point(class_scope:management.DeleteTargetRequest) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const DeleteTargetRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* target_; - bool execute_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class DeletePoolResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.DeletePoolResponse) */ { - public: - inline DeletePoolResponse() : DeletePoolResponse(nullptr) {} - ~DeletePoolResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeletePoolResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(DeletePoolResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR DeletePoolResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline DeletePoolResponse(const DeletePoolResponse& from) : DeletePoolResponse(nullptr, from) {} - inline DeletePoolResponse(DeletePoolResponse&& from) noexcept - : DeletePoolResponse(nullptr, std::move(from)) {} - inline DeletePoolResponse& operator=(const DeletePoolResponse& from) { - CopyFrom(from); - return *this; - } - inline DeletePoolResponse& operator=(DeletePoolResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DeletePoolResponse& default_instance() { - return *internal_default_instance(); - } - static inline const DeletePoolResponse* internal_default_instance() { - return reinterpret_cast( - &_DeletePoolResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 23; - friend void swap(DeletePoolResponse& a, DeletePoolResponse& b) { a.Swap(&b); } - inline void Swap(DeletePoolResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DeletePoolResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DeletePoolResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const DeletePoolResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const DeletePoolResponse& from) { DeletePoolResponse::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(DeletePoolResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.DeletePoolResponse"; } - - protected: - explicit DeletePoolResponse(::google::protobuf::Arena* arena); - DeletePoolResponse(::google::protobuf::Arena* arena, const DeletePoolResponse& from); - DeletePoolResponse(::google::protobuf::Arena* arena, DeletePoolResponse&& from) noexcept - : DeletePoolResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kPoolFieldNumber = 1, - }; - // optional .beegfs.EntityIdSet pool = 1; - bool has_pool() const; - void clear_pool() ; - const ::beegfs::EntityIdSet& pool() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_pool(); - ::beegfs::EntityIdSet* mutable_pool(); - void set_allocated_pool(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_pool(); - - private: - const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); - - public: - // @@protoc_insertion_point(class_scope:management.DeletePoolResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const DeletePoolResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* pool_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class DeletePoolRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.DeletePoolRequest) */ { - public: - inline DeletePoolRequest() : DeletePoolRequest(nullptr) {} - ~DeletePoolRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeletePoolRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(DeletePoolRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR DeletePoolRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline DeletePoolRequest(const DeletePoolRequest& from) : DeletePoolRequest(nullptr, from) {} - inline DeletePoolRequest(DeletePoolRequest&& from) noexcept - : DeletePoolRequest(nullptr, std::move(from)) {} - inline DeletePoolRequest& operator=(const DeletePoolRequest& from) { - CopyFrom(from); - return *this; - } - inline DeletePoolRequest& operator=(DeletePoolRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DeletePoolRequest& default_instance() { - return *internal_default_instance(); - } - static inline const DeletePoolRequest* internal_default_instance() { - return reinterpret_cast( - &_DeletePoolRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 22; - friend void swap(DeletePoolRequest& a, DeletePoolRequest& b) { a.Swap(&b); } - inline void Swap(DeletePoolRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DeletePoolRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DeletePoolRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const DeletePoolRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const DeletePoolRequest& from) { DeletePoolRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(DeletePoolRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.DeletePoolRequest"; } - - protected: - explicit DeletePoolRequest(::google::protobuf::Arena* arena); - DeletePoolRequest(::google::protobuf::Arena* arena, const DeletePoolRequest& from); - DeletePoolRequest(::google::protobuf::Arena* arena, DeletePoolRequest&& from) noexcept - : DeletePoolRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kPoolFieldNumber = 1, - kExecuteFieldNumber = 2, - }; - // optional .beegfs.EntityIdSet pool = 1; - bool has_pool() const; - void clear_pool() ; - const ::beegfs::EntityIdSet& pool() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_pool(); - ::beegfs::EntityIdSet* mutable_pool(); - void set_allocated_pool(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_pool(); - - private: - const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); - - public: - // optional bool execute = 2; - bool has_execute() const; - void clear_execute() ; - bool execute() const; - void set_execute(bool value); - - private: - bool _internal_execute() const; - void _internal_set_execute(bool value); - - public: - // @@protoc_insertion_point(class_scope:management.DeletePoolRequest) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const DeletePoolRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* pool_; - bool execute_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class DeleteNodeResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.DeleteNodeResponse) */ { - public: - inline DeleteNodeResponse() : DeleteNodeResponse(nullptr) {} - ~DeleteNodeResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeleteNodeResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(DeleteNodeResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR DeleteNodeResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline DeleteNodeResponse(const DeleteNodeResponse& from) : DeleteNodeResponse(nullptr, from) {} - inline DeleteNodeResponse(DeleteNodeResponse&& from) noexcept - : DeleteNodeResponse(nullptr, std::move(from)) {} - inline DeleteNodeResponse& operator=(const DeleteNodeResponse& from) { - CopyFrom(from); - return *this; - } - inline DeleteNodeResponse& operator=(DeleteNodeResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DeleteNodeResponse& default_instance() { - return *internal_default_instance(); - } - static inline const DeleteNodeResponse* internal_default_instance() { - return reinterpret_cast( - &_DeleteNodeResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 7; - friend void swap(DeleteNodeResponse& a, DeleteNodeResponse& b) { a.Swap(&b); } - inline void Swap(DeleteNodeResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DeleteNodeResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DeleteNodeResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const DeleteNodeResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const DeleteNodeResponse& from) { DeleteNodeResponse::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(DeleteNodeResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.DeleteNodeResponse"; } - - protected: - explicit DeleteNodeResponse(::google::protobuf::Arena* arena); - DeleteNodeResponse(::google::protobuf::Arena* arena, const DeleteNodeResponse& from); - DeleteNodeResponse(::google::protobuf::Arena* arena, DeleteNodeResponse&& from) noexcept - : DeleteNodeResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kNodeFieldNumber = 1, - }; - // optional .beegfs.EntityIdSet node = 1; - bool has_node() const; - void clear_node() ; - const ::beegfs::EntityIdSet& node() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_node(); - ::beegfs::EntityIdSet* mutable_node(); - void set_allocated_node(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_node(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_node(); - - private: - const ::beegfs::EntityIdSet& _internal_node() const; - ::beegfs::EntityIdSet* _internal_mutable_node(); - - public: - // @@protoc_insertion_point(class_scope:management.DeleteNodeResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const DeleteNodeResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* node_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class DeleteNodeRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.DeleteNodeRequest) */ { - public: - inline DeleteNodeRequest() : DeleteNodeRequest(nullptr) {} - ~DeleteNodeRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeleteNodeRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(DeleteNodeRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR DeleteNodeRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline DeleteNodeRequest(const DeleteNodeRequest& from) : DeleteNodeRequest(nullptr, from) {} - inline DeleteNodeRequest(DeleteNodeRequest&& from) noexcept - : DeleteNodeRequest(nullptr, std::move(from)) {} - inline DeleteNodeRequest& operator=(const DeleteNodeRequest& from) { - CopyFrom(from); - return *this; - } - inline DeleteNodeRequest& operator=(DeleteNodeRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DeleteNodeRequest& default_instance() { - return *internal_default_instance(); - } - static inline const DeleteNodeRequest* internal_default_instance() { - return reinterpret_cast( - &_DeleteNodeRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 6; - friend void swap(DeleteNodeRequest& a, DeleteNodeRequest& b) { a.Swap(&b); } - inline void Swap(DeleteNodeRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DeleteNodeRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DeleteNodeRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const DeleteNodeRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const DeleteNodeRequest& from) { DeleteNodeRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(DeleteNodeRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.DeleteNodeRequest"; } - - protected: - explicit DeleteNodeRequest(::google::protobuf::Arena* arena); - DeleteNodeRequest(::google::protobuf::Arena* arena, const DeleteNodeRequest& from); - DeleteNodeRequest(::google::protobuf::Arena* arena, DeleteNodeRequest&& from) noexcept - : DeleteNodeRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kNodeFieldNumber = 1, - kExecuteFieldNumber = 2, - }; - // optional .beegfs.EntityIdSet node = 1; - bool has_node() const; - void clear_node() ; - const ::beegfs::EntityIdSet& node() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_node(); - ::beegfs::EntityIdSet* mutable_node(); - void set_allocated_node(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_node(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_node(); - - private: - const ::beegfs::EntityIdSet& _internal_node() const; - ::beegfs::EntityIdSet* _internal_mutable_node(); - - public: - // optional bool execute = 2; - bool has_execute() const; - void clear_execute() ; - bool execute() const; - void set_execute(bool value); - - private: - bool _internal_execute() const; - void _internal_set_execute(bool value); - - public: - // @@protoc_insertion_point(class_scope:management.DeleteNodeRequest) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const DeleteNodeRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* node_; - bool execute_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class DeleteBuddyGroupResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.DeleteBuddyGroupResponse) */ { - public: - inline DeleteBuddyGroupResponse() : DeleteBuddyGroupResponse(nullptr) {} - ~DeleteBuddyGroupResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeleteBuddyGroupResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(DeleteBuddyGroupResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR DeleteBuddyGroupResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline DeleteBuddyGroupResponse(const DeleteBuddyGroupResponse& from) : DeleteBuddyGroupResponse(nullptr, from) {} - inline DeleteBuddyGroupResponse(DeleteBuddyGroupResponse&& from) noexcept - : DeleteBuddyGroupResponse(nullptr, std::move(from)) {} - inline DeleteBuddyGroupResponse& operator=(const DeleteBuddyGroupResponse& from) { - CopyFrom(from); - return *this; - } - inline DeleteBuddyGroupResponse& operator=(DeleteBuddyGroupResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DeleteBuddyGroupResponse& default_instance() { - return *internal_default_instance(); - } - static inline const DeleteBuddyGroupResponse* internal_default_instance() { - return reinterpret_cast( - &_DeleteBuddyGroupResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 30; - friend void swap(DeleteBuddyGroupResponse& a, DeleteBuddyGroupResponse& b) { a.Swap(&b); } - inline void Swap(DeleteBuddyGroupResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DeleteBuddyGroupResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DeleteBuddyGroupResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const DeleteBuddyGroupResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const DeleteBuddyGroupResponse& from) { DeleteBuddyGroupResponse::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(DeleteBuddyGroupResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.DeleteBuddyGroupResponse"; } - - protected: - explicit DeleteBuddyGroupResponse(::google::protobuf::Arena* arena); - DeleteBuddyGroupResponse(::google::protobuf::Arena* arena, const DeleteBuddyGroupResponse& from); - DeleteBuddyGroupResponse(::google::protobuf::Arena* arena, DeleteBuddyGroupResponse&& from) noexcept - : DeleteBuddyGroupResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kGroupFieldNumber = 1, - }; - // optional .beegfs.EntityIdSet group = 1; - bool has_group() const; - void clear_group() ; - const ::beegfs::EntityIdSet& group() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_group(); - ::beegfs::EntityIdSet* mutable_group(); - void set_allocated_group(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_group(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_group(); - - private: - const ::beegfs::EntityIdSet& _internal_group() const; - ::beegfs::EntityIdSet* _internal_mutable_group(); - - public: - // @@protoc_insertion_point(class_scope:management.DeleteBuddyGroupResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const DeleteBuddyGroupResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* group_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class DeleteBuddyGroupRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.DeleteBuddyGroupRequest) */ { - public: - inline DeleteBuddyGroupRequest() : DeleteBuddyGroupRequest(nullptr) {} - ~DeleteBuddyGroupRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(DeleteBuddyGroupRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(DeleteBuddyGroupRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR DeleteBuddyGroupRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline DeleteBuddyGroupRequest(const DeleteBuddyGroupRequest& from) : DeleteBuddyGroupRequest(nullptr, from) {} - inline DeleteBuddyGroupRequest(DeleteBuddyGroupRequest&& from) noexcept - : DeleteBuddyGroupRequest(nullptr, std::move(from)) {} - inline DeleteBuddyGroupRequest& operator=(const DeleteBuddyGroupRequest& from) { - CopyFrom(from); - return *this; - } - inline DeleteBuddyGroupRequest& operator=(DeleteBuddyGroupRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const DeleteBuddyGroupRequest& default_instance() { - return *internal_default_instance(); - } - static inline const DeleteBuddyGroupRequest* internal_default_instance() { - return reinterpret_cast( - &_DeleteBuddyGroupRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 29; - friend void swap(DeleteBuddyGroupRequest& a, DeleteBuddyGroupRequest& b) { a.Swap(&b); } - inline void Swap(DeleteBuddyGroupRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(DeleteBuddyGroupRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - DeleteBuddyGroupRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const DeleteBuddyGroupRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const DeleteBuddyGroupRequest& from) { DeleteBuddyGroupRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(DeleteBuddyGroupRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.DeleteBuddyGroupRequest"; } - - protected: - explicit DeleteBuddyGroupRequest(::google::protobuf::Arena* arena); - DeleteBuddyGroupRequest(::google::protobuf::Arena* arena, const DeleteBuddyGroupRequest& from); - DeleteBuddyGroupRequest(::google::protobuf::Arena* arena, DeleteBuddyGroupRequest&& from) noexcept - : DeleteBuddyGroupRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kGroupFieldNumber = 1, - kExecuteFieldNumber = 2, - }; - // optional .beegfs.EntityIdSet group = 1; - bool has_group() const; - void clear_group() ; - const ::beegfs::EntityIdSet& group() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_group(); - ::beegfs::EntityIdSet* mutable_group(); - void set_allocated_group(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_group(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_group(); - - private: - const ::beegfs::EntityIdSet& _internal_group() const; - ::beegfs::EntityIdSet* _internal_mutable_group(); - - public: - // optional bool execute = 2; - bool has_execute() const; - void clear_execute() ; - bool execute() const; - void set_execute(bool value); - - private: - bool _internal_execute() const; - void _internal_set_execute(bool value); - - public: - // @@protoc_insertion_point(class_scope:management.DeleteBuddyGroupRequest) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const DeleteBuddyGroupRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* group_; - bool execute_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class CreatePoolResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.CreatePoolResponse) */ { - public: - inline CreatePoolResponse() : CreatePoolResponse(nullptr) {} - ~CreatePoolResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CreatePoolResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(CreatePoolResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR CreatePoolResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline CreatePoolResponse(const CreatePoolResponse& from) : CreatePoolResponse(nullptr, from) {} - inline CreatePoolResponse(CreatePoolResponse&& from) noexcept - : CreatePoolResponse(nullptr, std::move(from)) {} - inline CreatePoolResponse& operator=(const CreatePoolResponse& from) { - CopyFrom(from); - return *this; - } - inline CreatePoolResponse& operator=(CreatePoolResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CreatePoolResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CreatePoolResponse* internal_default_instance() { - return reinterpret_cast( - &_CreatePoolResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 19; - friend void swap(CreatePoolResponse& a, CreatePoolResponse& b) { a.Swap(&b); } - inline void Swap(CreatePoolResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CreatePoolResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CreatePoolResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const CreatePoolResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const CreatePoolResponse& from) { CreatePoolResponse::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(CreatePoolResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.CreatePoolResponse"; } - - protected: - explicit CreatePoolResponse(::google::protobuf::Arena* arena); - CreatePoolResponse(::google::protobuf::Arena* arena, const CreatePoolResponse& from); - CreatePoolResponse(::google::protobuf::Arena* arena, CreatePoolResponse&& from) noexcept - : CreatePoolResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kPoolFieldNumber = 1, - }; - // optional .beegfs.EntityIdSet pool = 1; - bool has_pool() const; - void clear_pool() ; - const ::beegfs::EntityIdSet& pool() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_pool(); - ::beegfs::EntityIdSet* mutable_pool(); - void set_allocated_pool(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_pool(); - - private: - const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); - - public: - // @@protoc_insertion_point(class_scope:management.CreatePoolResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const CreatePoolResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* pool_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class CreatePoolRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.CreatePoolRequest) */ { - public: - inline CreatePoolRequest() : CreatePoolRequest(nullptr) {} - ~CreatePoolRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CreatePoolRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(CreatePoolRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR CreatePoolRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline CreatePoolRequest(const CreatePoolRequest& from) : CreatePoolRequest(nullptr, from) {} - inline CreatePoolRequest(CreatePoolRequest&& from) noexcept - : CreatePoolRequest(nullptr, std::move(from)) {} - inline CreatePoolRequest& operator=(const CreatePoolRequest& from) { - CopyFrom(from); - return *this; - } - inline CreatePoolRequest& operator=(CreatePoolRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CreatePoolRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CreatePoolRequest* internal_default_instance() { - return reinterpret_cast( - &_CreatePoolRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 18; - friend void swap(CreatePoolRequest& a, CreatePoolRequest& b) { a.Swap(&b); } - inline void Swap(CreatePoolRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CreatePoolRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CreatePoolRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const CreatePoolRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const CreatePoolRequest& from) { CreatePoolRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(CreatePoolRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.CreatePoolRequest"; } - - protected: - explicit CreatePoolRequest(::google::protobuf::Arena* arena); - CreatePoolRequest(::google::protobuf::Arena* arena, const CreatePoolRequest& from); - CreatePoolRequest(::google::protobuf::Arena* arena, CreatePoolRequest&& from) noexcept - : CreatePoolRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kTargetsFieldNumber = 4, - kBuddyGroupsFieldNumber = 5, - kAliasFieldNumber = 3, - kNodeTypeFieldNumber = 1, - kNumIdFieldNumber = 2, - }; - // repeated .beegfs.EntityIdSet targets = 4; - int targets_size() const; - private: - int _internal_targets_size() const; - - public: - void clear_targets() ; - ::beegfs::EntityIdSet* mutable_targets(int index); - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* mutable_targets(); - - private: - const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& _internal_targets() const; - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* _internal_mutable_targets(); - public: - const ::beegfs::EntityIdSet& targets(int index) const; - ::beegfs::EntityIdSet* add_targets(); - const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& targets() const; - // repeated .beegfs.EntityIdSet buddy_groups = 5; - int buddy_groups_size() const; - private: - int _internal_buddy_groups_size() const; - - public: - void clear_buddy_groups() ; - ::beegfs::EntityIdSet* mutable_buddy_groups(int index); - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* mutable_buddy_groups(); - - private: - const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& _internal_buddy_groups() const; - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* _internal_mutable_buddy_groups(); - public: - const ::beegfs::EntityIdSet& buddy_groups(int index) const; - ::beegfs::EntityIdSet* add_buddy_groups(); - const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& buddy_groups() const; - // optional string alias = 3; - bool has_alias() const; - void clear_alias() ; - const std::string& alias() const; - template - void set_alias(Arg_&& arg, Args_... args); - std::string* mutable_alias(); - PROTOBUF_NODISCARD std::string* release_alias(); - void set_allocated_alias(std::string* value); - - private: - const std::string& _internal_alias() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_alias( - const std::string& value); - std::string* _internal_mutable_alias(); - - public: - // optional .beegfs.NodeType node_type = 1; - bool has_node_type() const; - void clear_node_type() ; - ::beegfs::NodeType node_type() const; - void set_node_type(::beegfs::NodeType value); - - private: - ::beegfs::NodeType _internal_node_type() const; - void _internal_set_node_type(::beegfs::NodeType value); - - public: - // optional uint32 num_id = 2; - bool has_num_id() const; - void clear_num_id() ; - ::uint32_t num_id() const; - void set_num_id(::uint32_t value); - - private: - ::uint32_t _internal_num_id() const; - void _internal_set_num_id(::uint32_t value); - - public: - // @@protoc_insertion_point(class_scope:management.CreatePoolRequest) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 5, 2, - 42, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const CreatePoolRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::RepeatedPtrField< ::beegfs::EntityIdSet > targets_; - ::google::protobuf::RepeatedPtrField< ::beegfs::EntityIdSet > buddy_groups_; - ::google::protobuf::internal::ArenaStringPtr alias_; - int node_type_; - ::uint32_t num_id_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class CreateBuddyGroupResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.CreateBuddyGroupResponse) */ { - public: - inline CreateBuddyGroupResponse() : CreateBuddyGroupResponse(nullptr) {} - ~CreateBuddyGroupResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CreateBuddyGroupResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(CreateBuddyGroupResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR CreateBuddyGroupResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline CreateBuddyGroupResponse(const CreateBuddyGroupResponse& from) : CreateBuddyGroupResponse(nullptr, from) {} - inline CreateBuddyGroupResponse(CreateBuddyGroupResponse&& from) noexcept - : CreateBuddyGroupResponse(nullptr, std::move(from)) {} - inline CreateBuddyGroupResponse& operator=(const CreateBuddyGroupResponse& from) { - CopyFrom(from); - return *this; - } - inline CreateBuddyGroupResponse& operator=(CreateBuddyGroupResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CreateBuddyGroupResponse& default_instance() { - return *internal_default_instance(); - } - static inline const CreateBuddyGroupResponse* internal_default_instance() { - return reinterpret_cast( - &_CreateBuddyGroupResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 28; - friend void swap(CreateBuddyGroupResponse& a, CreateBuddyGroupResponse& b) { a.Swap(&b); } - inline void Swap(CreateBuddyGroupResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CreateBuddyGroupResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CreateBuddyGroupResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const CreateBuddyGroupResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const CreateBuddyGroupResponse& from) { CreateBuddyGroupResponse::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(CreateBuddyGroupResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.CreateBuddyGroupResponse"; } - - protected: - explicit CreateBuddyGroupResponse(::google::protobuf::Arena* arena); - CreateBuddyGroupResponse(::google::protobuf::Arena* arena, const CreateBuddyGroupResponse& from); - CreateBuddyGroupResponse(::google::protobuf::Arena* arena, CreateBuddyGroupResponse&& from) noexcept - : CreateBuddyGroupResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kGroupFieldNumber = 1, - }; - // optional .beegfs.EntityIdSet group = 1; - bool has_group() const; - void clear_group() ; - const ::beegfs::EntityIdSet& group() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_group(); - ::beegfs::EntityIdSet* mutable_group(); - void set_allocated_group(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_group(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_group(); - - private: - const ::beegfs::EntityIdSet& _internal_group() const; - ::beegfs::EntityIdSet* _internal_mutable_group(); - - public: - // @@protoc_insertion_point(class_scope:management.CreateBuddyGroupResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const CreateBuddyGroupResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* group_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class CreateBuddyGroupRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.CreateBuddyGroupRequest) */ { - public: - inline CreateBuddyGroupRequest() : CreateBuddyGroupRequest(nullptr) {} - ~CreateBuddyGroupRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(CreateBuddyGroupRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(CreateBuddyGroupRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR CreateBuddyGroupRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline CreateBuddyGroupRequest(const CreateBuddyGroupRequest& from) : CreateBuddyGroupRequest(nullptr, from) {} - inline CreateBuddyGroupRequest(CreateBuddyGroupRequest&& from) noexcept - : CreateBuddyGroupRequest(nullptr, std::move(from)) {} - inline CreateBuddyGroupRequest& operator=(const CreateBuddyGroupRequest& from) { - CopyFrom(from); - return *this; - } - inline CreateBuddyGroupRequest& operator=(CreateBuddyGroupRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const CreateBuddyGroupRequest& default_instance() { - return *internal_default_instance(); - } - static inline const CreateBuddyGroupRequest* internal_default_instance() { - return reinterpret_cast( - &_CreateBuddyGroupRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 27; - friend void swap(CreateBuddyGroupRequest& a, CreateBuddyGroupRequest& b) { a.Swap(&b); } - inline void Swap(CreateBuddyGroupRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(CreateBuddyGroupRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - CreateBuddyGroupRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const CreateBuddyGroupRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const CreateBuddyGroupRequest& from) { CreateBuddyGroupRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(CreateBuddyGroupRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.CreateBuddyGroupRequest"; } - - protected: - explicit CreateBuddyGroupRequest(::google::protobuf::Arena* arena); - CreateBuddyGroupRequest(::google::protobuf::Arena* arena, const CreateBuddyGroupRequest& from); - CreateBuddyGroupRequest(::google::protobuf::Arena* arena, CreateBuddyGroupRequest&& from) noexcept - : CreateBuddyGroupRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kAliasFieldNumber = 3, - kPrimaryTargetFieldNumber = 4, - kSecondaryTargetFieldNumber = 5, - kNodeTypeFieldNumber = 1, - kNumIdFieldNumber = 2, - }; - // optional string alias = 3; - bool has_alias() const; - void clear_alias() ; - const std::string& alias() const; - template - void set_alias(Arg_&& arg, Args_... args); - std::string* mutable_alias(); - PROTOBUF_NODISCARD std::string* release_alias(); - void set_allocated_alias(std::string* value); - - private: - const std::string& _internal_alias() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_alias( - const std::string& value); - std::string* _internal_mutable_alias(); - - public: - // optional .beegfs.EntityIdSet primary_target = 4; - bool has_primary_target() const; - void clear_primary_target() ; - const ::beegfs::EntityIdSet& primary_target() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_primary_target(); - ::beegfs::EntityIdSet* mutable_primary_target(); - void set_allocated_primary_target(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_primary_target(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_primary_target(); - - private: - const ::beegfs::EntityIdSet& _internal_primary_target() const; - ::beegfs::EntityIdSet* _internal_mutable_primary_target(); - - public: - // optional .beegfs.EntityIdSet secondary_target = 5; - bool has_secondary_target() const; - void clear_secondary_target() ; - const ::beegfs::EntityIdSet& secondary_target() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_secondary_target(); - ::beegfs::EntityIdSet* mutable_secondary_target(); - void set_allocated_secondary_target(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_secondary_target(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_secondary_target(); - - private: - const ::beegfs::EntityIdSet& _internal_secondary_target() const; - ::beegfs::EntityIdSet* _internal_mutable_secondary_target(); - - public: - // optional .beegfs.NodeType node_type = 1; - bool has_node_type() const; - void clear_node_type() ; - ::beegfs::NodeType node_type() const; - void set_node_type(::beegfs::NodeType value); - - private: - ::beegfs::NodeType _internal_node_type() const; - void _internal_set_node_type(::beegfs::NodeType value); - - public: - // optional uint32 num_id = 2; - bool has_num_id() const; - void clear_num_id() ; - ::uint32_t num_id() const; - void set_num_id(::uint32_t value); - - private: - ::uint32_t _internal_num_id() const; - void _internal_set_num_id(::uint32_t value); - - public: - // @@protoc_insertion_point(class_scope:management.CreateBuddyGroupRequest) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 5, 2, - 48, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const CreateBuddyGroupRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr alias_; - ::beegfs::EntityIdSet* primary_target_; - ::beegfs::EntityIdSet* secondary_target_; - int node_type_; - ::uint32_t num_id_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class AssignPoolResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.AssignPoolResponse) */ { - public: - inline AssignPoolResponse() : AssignPoolResponse(nullptr) {} - ~AssignPoolResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(AssignPoolResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(AssignPoolResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR AssignPoolResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline AssignPoolResponse(const AssignPoolResponse& from) : AssignPoolResponse(nullptr, from) {} - inline AssignPoolResponse(AssignPoolResponse&& from) noexcept - : AssignPoolResponse(nullptr, std::move(from)) {} - inline AssignPoolResponse& operator=(const AssignPoolResponse& from) { - CopyFrom(from); - return *this; - } - inline AssignPoolResponse& operator=(AssignPoolResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const AssignPoolResponse& default_instance() { - return *internal_default_instance(); - } - static inline const AssignPoolResponse* internal_default_instance() { - return reinterpret_cast( - &_AssignPoolResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 21; - friend void swap(AssignPoolResponse& a, AssignPoolResponse& b) { a.Swap(&b); } - inline void Swap(AssignPoolResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(AssignPoolResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - AssignPoolResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const AssignPoolResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const AssignPoolResponse& from) { AssignPoolResponse::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(AssignPoolResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.AssignPoolResponse"; } - - protected: - explicit AssignPoolResponse(::google::protobuf::Arena* arena); - AssignPoolResponse(::google::protobuf::Arena* arena, const AssignPoolResponse& from); - AssignPoolResponse(::google::protobuf::Arena* arena, AssignPoolResponse&& from) noexcept - : AssignPoolResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kPoolFieldNumber = 1, - }; - // optional .beegfs.EntityIdSet pool = 1; - bool has_pool() const; - void clear_pool() ; - const ::beegfs::EntityIdSet& pool() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_pool(); - ::beegfs::EntityIdSet* mutable_pool(); - void set_allocated_pool(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_pool(); - - private: - const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); - - public: - // @@protoc_insertion_point(class_scope:management.AssignPoolResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const AssignPoolResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beegfs::EntityIdSet* pool_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class AssignPoolRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.AssignPoolRequest) */ { - public: - inline AssignPoolRequest() : AssignPoolRequest(nullptr) {} - ~AssignPoolRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(AssignPoolRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(AssignPoolRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR AssignPoolRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline AssignPoolRequest(const AssignPoolRequest& from) : AssignPoolRequest(nullptr, from) {} - inline AssignPoolRequest(AssignPoolRequest&& from) noexcept - : AssignPoolRequest(nullptr, std::move(from)) {} - inline AssignPoolRequest& operator=(const AssignPoolRequest& from) { - CopyFrom(from); - return *this; - } - inline AssignPoolRequest& operator=(AssignPoolRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const AssignPoolRequest& default_instance() { - return *internal_default_instance(); - } - static inline const AssignPoolRequest* internal_default_instance() { - return reinterpret_cast( - &_AssignPoolRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 20; - friend void swap(AssignPoolRequest& a, AssignPoolRequest& b) { a.Swap(&b); } - inline void Swap(AssignPoolRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(AssignPoolRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - AssignPoolRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const AssignPoolRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const AssignPoolRequest& from) { AssignPoolRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(AssignPoolRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.AssignPoolRequest"; } - - protected: - explicit AssignPoolRequest(::google::protobuf::Arena* arena); - AssignPoolRequest(::google::protobuf::Arena* arena, const AssignPoolRequest& from); - AssignPoolRequest(::google::protobuf::Arena* arena, AssignPoolRequest&& from) noexcept - : AssignPoolRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kTargetsFieldNumber = 2, - kBuddyGroupsFieldNumber = 3, - kPoolFieldNumber = 1, - }; - // repeated .beegfs.EntityIdSet targets = 2; - int targets_size() const; - private: - int _internal_targets_size() const; - - public: - void clear_targets() ; - ::beegfs::EntityIdSet* mutable_targets(int index); - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* mutable_targets(); - - private: - const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& _internal_targets() const; - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* _internal_mutable_targets(); - public: - const ::beegfs::EntityIdSet& targets(int index) const; - ::beegfs::EntityIdSet* add_targets(); - const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& targets() const; - // repeated .beegfs.EntityIdSet buddy_groups = 3; - int buddy_groups_size() const; - private: - int _internal_buddy_groups_size() const; - - public: - void clear_buddy_groups() ; - ::beegfs::EntityIdSet* mutable_buddy_groups(int index); - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* mutable_buddy_groups(); - - private: - const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& _internal_buddy_groups() const; - ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* _internal_mutable_buddy_groups(); - public: - const ::beegfs::EntityIdSet& buddy_groups(int index) const; - ::beegfs::EntityIdSet* add_buddy_groups(); - const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& buddy_groups() const; - // optional .beegfs.EntityIdSet pool = 1; - bool has_pool() const; - void clear_pool() ; - const ::beegfs::EntityIdSet& pool() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_pool(); - ::beegfs::EntityIdSet* mutable_pool(); - void set_allocated_pool(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_pool(); - - private: - const ::beegfs::EntityIdSet& _internal_pool() const; - ::beegfs::EntityIdSet* _internal_mutable_pool(); - - public: - // @@protoc_insertion_point(class_scope:management.AssignPoolRequest) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const AssignPoolRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::RepeatedPtrField< ::beegfs::EntityIdSet > targets_; - ::google::protobuf::RepeatedPtrField< ::beegfs::EntityIdSet > buddy_groups_; - ::beegfs::EntityIdSet* pool_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class SetQuotaLimitsRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.SetQuotaLimitsRequest) */ { - public: - inline SetQuotaLimitsRequest() : SetQuotaLimitsRequest(nullptr) {} - ~SetQuotaLimitsRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SetQuotaLimitsRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SetQuotaLimitsRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR SetQuotaLimitsRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline SetQuotaLimitsRequest(const SetQuotaLimitsRequest& from) : SetQuotaLimitsRequest(nullptr, from) {} - inline SetQuotaLimitsRequest(SetQuotaLimitsRequest&& from) noexcept - : SetQuotaLimitsRequest(nullptr, std::move(from)) {} - inline SetQuotaLimitsRequest& operator=(const SetQuotaLimitsRequest& from) { - CopyFrom(from); - return *this; - } - inline SetQuotaLimitsRequest& operator=(SetQuotaLimitsRequest&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const SetQuotaLimitsRequest& default_instance() { - return *internal_default_instance(); - } - static inline const SetQuotaLimitsRequest* internal_default_instance() { - return reinterpret_cast( - &_SetQuotaLimitsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 38; - friend void swap(SetQuotaLimitsRequest& a, SetQuotaLimitsRequest& b) { a.Swap(&b); } - inline void Swap(SetQuotaLimitsRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SetQuotaLimitsRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SetQuotaLimitsRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SetQuotaLimitsRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SetQuotaLimitsRequest& from) { SetQuotaLimitsRequest::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(SetQuotaLimitsRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.SetQuotaLimitsRequest"; } - - protected: - explicit SetQuotaLimitsRequest(::google::protobuf::Arena* arena); - SetQuotaLimitsRequest(::google::protobuf::Arena* arena, const SetQuotaLimitsRequest& from); - SetQuotaLimitsRequest(::google::protobuf::Arena* arena, SetQuotaLimitsRequest&& from) noexcept - : SetQuotaLimitsRequest(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kLimitsFieldNumber = 1, - }; - // repeated .management.QuotaInfo limits = 1; - int limits_size() const; - private: - int _internal_limits_size() const; - - public: - void clear_limits() ; - ::management::QuotaInfo* mutable_limits(int index); - ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>* mutable_limits(); - - private: - const ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>& _internal_limits() const; - ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>* _internal_mutable_limits(); - public: - const ::management::QuotaInfo& limits(int index) const; - ::management::QuotaInfo* add_limits(); - const ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>& limits() const; - // @@protoc_insertion_point(class_scope:management.SetQuotaLimitsRequest) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const SetQuotaLimitsRequest& from_msg); - ::google::protobuf::RepeatedPtrField< ::management::QuotaInfo > limits_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetTargetsResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetTargetsResponse) */ { - public: - inline GetTargetsResponse() : GetTargetsResponse(nullptr) {} - ~GetTargetsResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetTargetsResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetTargetsResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetTargetsResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline GetTargetsResponse(const GetTargetsResponse& from) : GetTargetsResponse(nullptr, from) {} - inline GetTargetsResponse(GetTargetsResponse&& from) noexcept - : GetTargetsResponse(nullptr, std::move(from)) {} - inline GetTargetsResponse& operator=(const GetTargetsResponse& from) { - CopyFrom(from); - return *this; - } - inline GetTargetsResponse& operator=(GetTargetsResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetTargetsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const GetTargetsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetTargetsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 10; - friend void swap(GetTargetsResponse& a, GetTargetsResponse& b) { a.Swap(&b); } - inline void Swap(GetTargetsResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetTargetsResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetTargetsResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetTargetsResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetTargetsResponse& from) { GetTargetsResponse::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetTargetsResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetTargetsResponse"; } - - protected: - explicit GetTargetsResponse(::google::protobuf::Arena* arena); - GetTargetsResponse(::google::protobuf::Arena* arena, const GetTargetsResponse& from); - GetTargetsResponse(::google::protobuf::Arena* arena, GetTargetsResponse&& from) noexcept - : GetTargetsResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - using Target = GetTargetsResponse_Target; - - // accessors ------------------------------------------------------- - enum : int { - kTargetsFieldNumber = 1, - }; - // repeated .management.GetTargetsResponse.Target targets = 1; - int targets_size() const; - private: - int _internal_targets_size() const; - - public: - void clear_targets() ; - ::management::GetTargetsResponse_Target* mutable_targets(int index); - ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>* mutable_targets(); - - private: - const ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>& _internal_targets() const; - ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>* _internal_mutable_targets(); - public: - const ::management::GetTargetsResponse_Target& targets(int index) const; - ::management::GetTargetsResponse_Target* add_targets(); - const ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>& targets() const; - // @@protoc_insertion_point(class_scope:management.GetTargetsResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetTargetsResponse& from_msg); - ::google::protobuf::RepeatedPtrField< ::management::GetTargetsResponse_Target > targets_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetQuotaUsageResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetQuotaUsageResponse) */ { - public: - inline GetQuotaUsageResponse() : GetQuotaUsageResponse(nullptr) {} - ~GetQuotaUsageResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetQuotaUsageResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetQuotaUsageResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetQuotaUsageResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline GetQuotaUsageResponse(const GetQuotaUsageResponse& from) : GetQuotaUsageResponse(nullptr, from) {} - inline GetQuotaUsageResponse(GetQuotaUsageResponse&& from) noexcept - : GetQuotaUsageResponse(nullptr, std::move(from)) {} - inline GetQuotaUsageResponse& operator=(const GetQuotaUsageResponse& from) { - CopyFrom(from); - return *this; - } - inline GetQuotaUsageResponse& operator=(GetQuotaUsageResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetQuotaUsageResponse& default_instance() { - return *internal_default_instance(); - } - static inline const GetQuotaUsageResponse* internal_default_instance() { - return reinterpret_cast( - &_GetQuotaUsageResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 43; - friend void swap(GetQuotaUsageResponse& a, GetQuotaUsageResponse& b) { a.Swap(&b); } - inline void Swap(GetQuotaUsageResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetQuotaUsageResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetQuotaUsageResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetQuotaUsageResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetQuotaUsageResponse& from) { GetQuotaUsageResponse::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetQuotaUsageResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetQuotaUsageResponse"; } - - protected: - explicit GetQuotaUsageResponse(::google::protobuf::Arena* arena); - GetQuotaUsageResponse(::google::protobuf::Arena* arena, const GetQuotaUsageResponse& from); - GetQuotaUsageResponse(::google::protobuf::Arena* arena, GetQuotaUsageResponse&& from) noexcept - : GetQuotaUsageResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kEntryFieldNumber = 1, - kRefreshPeriodSFieldNumber = 2, - }; - // optional .management.QuotaInfo entry = 1; - bool has_entry() const; - void clear_entry() ; - const ::management::QuotaInfo& entry() const; - PROTOBUF_NODISCARD ::management::QuotaInfo* release_entry(); - ::management::QuotaInfo* mutable_entry(); - void set_allocated_entry(::management::QuotaInfo* value); - void unsafe_arena_set_allocated_entry(::management::QuotaInfo* value); - ::management::QuotaInfo* unsafe_arena_release_entry(); - - private: - const ::management::QuotaInfo& _internal_entry() const; - ::management::QuotaInfo* _internal_mutable_entry(); - - public: - // optional uint64 refresh_period_s = 2; - bool has_refresh_period_s() const; - void clear_refresh_period_s() ; - ::uint64_t refresh_period_s() const; - void set_refresh_period_s(::uint64_t value); - - private: - ::uint64_t _internal_refresh_period_s() const; - void _internal_set_refresh_period_s(::uint64_t value); - - public: - // @@protoc_insertion_point(class_scope:management.GetQuotaUsageResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetQuotaUsageResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::management::QuotaInfo* entry_; - ::uint64_t refresh_period_s_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetQuotaLimitsResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetQuotaLimitsResponse) */ { - public: - inline GetQuotaLimitsResponse() : GetQuotaLimitsResponse(nullptr) {} - ~GetQuotaLimitsResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetQuotaLimitsResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetQuotaLimitsResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetQuotaLimitsResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline GetQuotaLimitsResponse(const GetQuotaLimitsResponse& from) : GetQuotaLimitsResponse(nullptr, from) {} - inline GetQuotaLimitsResponse(GetQuotaLimitsResponse&& from) noexcept - : GetQuotaLimitsResponse(nullptr, std::move(from)) {} - inline GetQuotaLimitsResponse& operator=(const GetQuotaLimitsResponse& from) { - CopyFrom(from); - return *this; - } - inline GetQuotaLimitsResponse& operator=(GetQuotaLimitsResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetQuotaLimitsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const GetQuotaLimitsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetQuotaLimitsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 41; - friend void swap(GetQuotaLimitsResponse& a, GetQuotaLimitsResponse& b) { a.Swap(&b); } - inline void Swap(GetQuotaLimitsResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetQuotaLimitsResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetQuotaLimitsResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetQuotaLimitsResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetQuotaLimitsResponse& from) { GetQuotaLimitsResponse::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetQuotaLimitsResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetQuotaLimitsResponse"; } - - protected: - explicit GetQuotaLimitsResponse(::google::protobuf::Arena* arena); - GetQuotaLimitsResponse(::google::protobuf::Arena* arena, const GetQuotaLimitsResponse& from); - GetQuotaLimitsResponse(::google::protobuf::Arena* arena, GetQuotaLimitsResponse&& from) noexcept - : GetQuotaLimitsResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kLimitsFieldNumber = 1, - }; - // optional .management.QuotaInfo limits = 1; - bool has_limits() const; - void clear_limits() ; - const ::management::QuotaInfo& limits() const; - PROTOBUF_NODISCARD ::management::QuotaInfo* release_limits(); - ::management::QuotaInfo* mutable_limits(); - void set_allocated_limits(::management::QuotaInfo* value); - void unsafe_arena_set_allocated_limits(::management::QuotaInfo* value); - ::management::QuotaInfo* unsafe_arena_release_limits(); - - private: - const ::management::QuotaInfo& _internal_limits() const; - ::management::QuotaInfo* _internal_mutable_limits(); - - public: - // @@protoc_insertion_point(class_scope:management.GetQuotaLimitsResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetQuotaLimitsResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::management::QuotaInfo* limits_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetPoolsResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetPoolsResponse) */ { - public: - inline GetPoolsResponse() : GetPoolsResponse(nullptr) {} - ~GetPoolsResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetPoolsResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetPoolsResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetPoolsResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline GetPoolsResponse(const GetPoolsResponse& from) : GetPoolsResponse(nullptr, from) {} - inline GetPoolsResponse(GetPoolsResponse&& from) noexcept - : GetPoolsResponse(nullptr, std::move(from)) {} - inline GetPoolsResponse& operator=(const GetPoolsResponse& from) { - CopyFrom(from); - return *this; - } - inline GetPoolsResponse& operator=(GetPoolsResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetPoolsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const GetPoolsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetPoolsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 17; - friend void swap(GetPoolsResponse& a, GetPoolsResponse& b) { a.Swap(&b); } - inline void Swap(GetPoolsResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetPoolsResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetPoolsResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetPoolsResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetPoolsResponse& from) { GetPoolsResponse::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetPoolsResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetPoolsResponse"; } - - protected: - explicit GetPoolsResponse(::google::protobuf::Arena* arena); - GetPoolsResponse(::google::protobuf::Arena* arena, const GetPoolsResponse& from); - GetPoolsResponse(::google::protobuf::Arena* arena, GetPoolsResponse&& from) noexcept - : GetPoolsResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - using StoragePool = GetPoolsResponse_StoragePool; - - // accessors ------------------------------------------------------- - enum : int { - kPoolsFieldNumber = 1, - }; - // repeated .management.GetPoolsResponse.StoragePool pools = 1; - int pools_size() const; - private: - int _internal_pools_size() const; - - public: - void clear_pools() ; - ::management::GetPoolsResponse_StoragePool* mutable_pools(int index); - ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>* mutable_pools(); - - private: - const ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>& _internal_pools() const; - ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>* _internal_mutable_pools(); - public: - const ::management::GetPoolsResponse_StoragePool& pools(int index) const; - ::management::GetPoolsResponse_StoragePool* add_pools(); - const ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>& pools() const; - // @@protoc_insertion_point(class_scope:management.GetPoolsResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetPoolsResponse& from_msg); - ::google::protobuf::RepeatedPtrField< ::management::GetPoolsResponse_StoragePool > pools_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetNodesResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetNodesResponse) */ { - public: - inline GetNodesResponse() : GetNodesResponse(nullptr) {} - ~GetNodesResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetNodesResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetNodesResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetNodesResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline GetNodesResponse(const GetNodesResponse& from) : GetNodesResponse(nullptr, from) {} - inline GetNodesResponse(GetNodesResponse&& from) noexcept - : GetNodesResponse(nullptr, std::move(from)) {} - inline GetNodesResponse& operator=(const GetNodesResponse& from) { - CopyFrom(from); - return *this; - } - inline GetNodesResponse& operator=(GetNodesResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetNodesResponse& default_instance() { - return *internal_default_instance(); - } - static inline const GetNodesResponse* internal_default_instance() { - return reinterpret_cast( - &_GetNodesResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 5; - friend void swap(GetNodesResponse& a, GetNodesResponse& b) { a.Swap(&b); } - inline void Swap(GetNodesResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetNodesResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetNodesResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetNodesResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetNodesResponse& from) { GetNodesResponse::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetNodesResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetNodesResponse"; } - - protected: - explicit GetNodesResponse(::google::protobuf::Arena* arena); - GetNodesResponse(::google::protobuf::Arena* arena, const GetNodesResponse& from); - GetNodesResponse(::google::protobuf::Arena* arena, GetNodesResponse&& from) noexcept - : GetNodesResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - using Node = GetNodesResponse_Node; - - // accessors ------------------------------------------------------- - enum : int { - kNodesFieldNumber = 1, - kFsUuidFieldNumber = 3, - kMetaRootNodeFieldNumber = 2, - kMetaRootBuddyGroupFieldNumber = 4, - }; - // repeated .management.GetNodesResponse.Node nodes = 1; - int nodes_size() const; - private: - int _internal_nodes_size() const; - - public: - void clear_nodes() ; - ::management::GetNodesResponse_Node* mutable_nodes(int index); - ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>* mutable_nodes(); - - private: - const ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>& _internal_nodes() const; - ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>* _internal_mutable_nodes(); - public: - const ::management::GetNodesResponse_Node& nodes(int index) const; - ::management::GetNodesResponse_Node* add_nodes(); - const ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>& nodes() const; - // optional string fs_uuid = 3; - bool has_fs_uuid() const; - void clear_fs_uuid() ; - const std::string& fs_uuid() const; - template - void set_fs_uuid(Arg_&& arg, Args_... args); - std::string* mutable_fs_uuid(); - PROTOBUF_NODISCARD std::string* release_fs_uuid(); - void set_allocated_fs_uuid(std::string* value); - - private: - const std::string& _internal_fs_uuid() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_fs_uuid( - const std::string& value); - std::string* _internal_mutable_fs_uuid(); - - public: - // optional .beegfs.EntityIdSet meta_root_node = 2; - bool has_meta_root_node() const; - void clear_meta_root_node() ; - const ::beegfs::EntityIdSet& meta_root_node() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_meta_root_node(); - ::beegfs::EntityIdSet* mutable_meta_root_node(); - void set_allocated_meta_root_node(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_meta_root_node(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_meta_root_node(); - - private: - const ::beegfs::EntityIdSet& _internal_meta_root_node() const; - ::beegfs::EntityIdSet* _internal_mutable_meta_root_node(); - - public: - // optional .beegfs.EntityIdSet meta_root_buddy_group = 4; - bool has_meta_root_buddy_group() const; - void clear_meta_root_buddy_group() ; - const ::beegfs::EntityIdSet& meta_root_buddy_group() const; - PROTOBUF_NODISCARD ::beegfs::EntityIdSet* release_meta_root_buddy_group(); - ::beegfs::EntityIdSet* mutable_meta_root_buddy_group(); - void set_allocated_meta_root_buddy_group(::beegfs::EntityIdSet* value); - void unsafe_arena_set_allocated_meta_root_buddy_group(::beegfs::EntityIdSet* value); - ::beegfs::EntityIdSet* unsafe_arena_release_meta_root_buddy_group(); - - private: - const ::beegfs::EntityIdSet& _internal_meta_root_buddy_group() const; - ::beegfs::EntityIdSet* _internal_mutable_meta_root_buddy_group(); - - public: - // @@protoc_insertion_point(class_scope:management.GetNodesResponse) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 4, 3, - 43, 2> - _table_; - - friend class ::google::protobuf::MessageLite; - friend class ::google::protobuf::Arena; - template - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetNodesResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::RepeatedPtrField< ::management::GetNodesResponse_Node > nodes_; - ::google::protobuf::internal::ArenaStringPtr fs_uuid_; - ::beegfs::EntityIdSet* meta_root_node_; - ::beegfs::EntityIdSet* meta_root_buddy_group_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetLicenseResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetLicenseResponse) */ { - public: - inline GetLicenseResponse() : GetLicenseResponse(nullptr) {} - ~GetLicenseResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetLicenseResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetLicenseResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetLicenseResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline GetLicenseResponse(const GetLicenseResponse& from) : GetLicenseResponse(nullptr, from) {} - inline GetLicenseResponse(GetLicenseResponse&& from) noexcept - : GetLicenseResponse(nullptr, std::move(from)) {} - inline GetLicenseResponse& operator=(const GetLicenseResponse& from) { - CopyFrom(from); - return *this; - } - inline GetLicenseResponse& operator=(GetLicenseResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetLicenseResponse& default_instance() { - return *internal_default_instance(); - } - static inline const GetLicenseResponse* internal_default_instance() { - return reinterpret_cast( - &_GetLicenseResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 45; - friend void swap(GetLicenseResponse& a, GetLicenseResponse& b) { a.Swap(&b); } - inline void Swap(GetLicenseResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetLicenseResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetLicenseResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetLicenseResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetLicenseResponse& from) { GetLicenseResponse::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetLicenseResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetLicenseResponse"; } - - protected: - explicit GetLicenseResponse(::google::protobuf::Arena* arena); - GetLicenseResponse(::google::protobuf::Arena* arena, const GetLicenseResponse& from); - GetLicenseResponse(::google::protobuf::Arena* arena, GetLicenseResponse&& from) noexcept - : GetLicenseResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - - // accessors ------------------------------------------------------- - enum : int { - kCertDataFieldNumber = 1, - }; - // optional .license.GetCertDataResult cert_data = 1; - bool has_cert_data() const; - void clear_cert_data() ; - const ::license::GetCertDataResult& cert_data() const; - PROTOBUF_NODISCARD ::license::GetCertDataResult* release_cert_data(); - ::license::GetCertDataResult* mutable_cert_data(); - void set_allocated_cert_data(::license::GetCertDataResult* value); - void unsafe_arena_set_allocated_cert_data(::license::GetCertDataResult* value); - ::license::GetCertDataResult* unsafe_arena_release_cert_data(); - - private: - const ::license::GetCertDataResult& _internal_cert_data() const; - ::license::GetCertDataResult* _internal_mutable_cert_data(); - - public: - // @@protoc_insertion_point(class_scope:management.GetLicenseResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetLicenseResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::license::GetCertDataResult* cert_data_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; -// ------------------------------------------------------------------- - -class GetBuddyGroupsResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:management.GetBuddyGroupsResponse) */ { - public: - inline GetBuddyGroupsResponse() : GetBuddyGroupsResponse(nullptr) {} - ~GetBuddyGroupsResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetBuddyGroupsResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetBuddyGroupsResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetBuddyGroupsResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline GetBuddyGroupsResponse(const GetBuddyGroupsResponse& from) : GetBuddyGroupsResponse(nullptr, from) {} - inline GetBuddyGroupsResponse(GetBuddyGroupsResponse&& from) noexcept - : GetBuddyGroupsResponse(nullptr, std::move(from)) {} - inline GetBuddyGroupsResponse& operator=(const GetBuddyGroupsResponse& from) { - CopyFrom(from); - return *this; - } - inline GetBuddyGroupsResponse& operator=(GetBuddyGroupsResponse&& 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* mutable_unknown_fields() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); - } - - static const ::google::protobuf::Descriptor* descriptor() { - return GetDescriptor(); - } - static const ::google::protobuf::Descriptor* GetDescriptor() { - return default_instance().GetMetadata().descriptor; - } - static const ::google::protobuf::Reflection* GetReflection() { - return default_instance().GetMetadata().reflection; - } - static const GetBuddyGroupsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const GetBuddyGroupsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetBuddyGroupsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 26; - friend void swap(GetBuddyGroupsResponse& a, GetBuddyGroupsResponse& b) { a.Swap(&b); } - inline void Swap(GetBuddyGroupsResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetBuddyGroupsResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetBuddyGroupsResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetBuddyGroupsResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetBuddyGroupsResponse& from) { GetBuddyGroupsResponse::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* _InternalSerialize( - const MessageLite& msg, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream); - - public: - ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - return _InternalSerialize(*this, target, stream); - } - #else // PROTOBUF_CUSTOM_VTABLE - ::size_t ByteSizeLong() const final; - ::uint8_t* _InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const final; - #endif // PROTOBUF_CUSTOM_VTABLE - int GetCachedSize() const { return _impl_._cached_size_.Get(); } - - private: - void SharedCtor(::google::protobuf::Arena* arena); - static void SharedDtor(MessageLite& self); - void InternalSwap(GetBuddyGroupsResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "management.GetBuddyGroupsResponse"; } - - protected: - explicit GetBuddyGroupsResponse(::google::protobuf::Arena* arena); - GetBuddyGroupsResponse(::google::protobuf::Arena* arena, const GetBuddyGroupsResponse& from); - GetBuddyGroupsResponse(::google::protobuf::Arena* arena, GetBuddyGroupsResponse&& from) noexcept - : GetBuddyGroupsResponse(arena) { - *this = ::std::move(from); - } - const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; - static void* PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena); - static constexpr auto InternalNewImpl_(); - static const ::google::protobuf::internal::ClassDataFull _class_data_; - - public: - ::google::protobuf::Metadata GetMetadata() const; - // nested types ---------------------------------------------------- - using BuddyGroup = GetBuddyGroupsResponse_BuddyGroup; - - // accessors ------------------------------------------------------- - enum : int { - kBuddyGroupsFieldNumber = 1, - }; - // repeated .management.GetBuddyGroupsResponse.BuddyGroup buddy_groups = 1; - int buddy_groups_size() const; - private: - int _internal_buddy_groups_size() const; - - public: - void clear_buddy_groups() ; - ::management::GetBuddyGroupsResponse_BuddyGroup* mutable_buddy_groups(int index); - ::google::protobuf::RepeatedPtrField<::management::GetBuddyGroupsResponse_BuddyGroup>* mutable_buddy_groups(); - - private: - const ::google::protobuf::RepeatedPtrField<::management::GetBuddyGroupsResponse_BuddyGroup>& _internal_buddy_groups() const; - ::google::protobuf::RepeatedPtrField<::management::GetBuddyGroupsResponse_BuddyGroup>* _internal_mutable_buddy_groups(); - public: - const ::management::GetBuddyGroupsResponse_BuddyGroup& buddy_groups(int index) const; - ::management::GetBuddyGroupsResponse_BuddyGroup* add_buddy_groups(); - const ::google::protobuf::RepeatedPtrField<::management::GetBuddyGroupsResponse_BuddyGroup>& buddy_groups() const; - // @@protoc_insertion_point(class_scope:management.GetBuddyGroupsResponse) - 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 - friend class ::google::protobuf::Arena::InternalHelper; - using InternalArenaConstructable_ = void; - using DestructorSkippable_ = void; - struct Impl_ { - inline explicit constexpr Impl_( - ::google::protobuf::internal::ConstantInitialized) noexcept; - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena); - inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena, const Impl_& from, - const GetBuddyGroupsResponse& from_msg); - ::google::protobuf::RepeatedPtrField< ::management::GetBuddyGroupsResponse_BuddyGroup > buddy_groups_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_management_2eproto; -}; - -// =================================================================== - - - - -// =================================================================== - - -#ifdef __GNUC__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// SetAliasRequest - -// .beegfs.EntityIdSet entity_id = 1; -inline bool SetAliasRequest::has_entity_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.entity_id_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& SetAliasRequest::_internal_entity_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.entity_id_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& SetAliasRequest::entity_id() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.SetAliasRequest.entity_id) - return _internal_entity_id(); -} -inline void SetAliasRequest::unsafe_arena_set_allocated_entity_id(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_id_); - } - _impl_.entity_id_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.SetAliasRequest.entity_id) -} -inline ::beegfs::EntityIdSet* SetAliasRequest::release_entity_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.entity_id_; - _impl_.entity_id_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* SetAliasRequest::unsafe_arena_release_entity_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.SetAliasRequest.entity_id) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.entity_id_; - _impl_.entity_id_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* SetAliasRequest::_internal_mutable_entity_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.entity_id_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.entity_id_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.entity_id_; -} -inline ::beegfs::EntityIdSet* SetAliasRequest::mutable_entity_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_entity_id(); - // @@protoc_insertion_point(field_mutable:management.SetAliasRequest.entity_id) - return _msg; -} -inline void SetAliasRequest::set_allocated_entity_id(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entity_id_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.entity_id_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.SetAliasRequest.entity_id) -} - -// .beegfs.EntityType entity_type = 2; -inline void SetAliasRequest::clear_entity_type() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.entity_type_ = 0; -} -inline ::beegfs::EntityType SetAliasRequest::entity_type() const { - // @@protoc_insertion_point(field_get:management.SetAliasRequest.entity_type) - return _internal_entity_type(); -} -inline void SetAliasRequest::set_entity_type(::beegfs::EntityType value) { - _internal_set_entity_type(value); - // @@protoc_insertion_point(field_set:management.SetAliasRequest.entity_type) -} -inline ::beegfs::EntityType SetAliasRequest::_internal_entity_type() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::EntityType>(_impl_.entity_type_); -} -inline void SetAliasRequest::_internal_set_entity_type(::beegfs::EntityType value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.entity_type_ = value; -} - -// string new_alias = 3; -inline void SetAliasRequest::clear_new_alias() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.new_alias_.ClearToEmpty(); -} -inline const std::string& SetAliasRequest::new_alias() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.SetAliasRequest.new_alias) - return _internal_new_alias(); -} -template -inline PROTOBUF_ALWAYS_INLINE void SetAliasRequest::set_new_alias(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.new_alias_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:management.SetAliasRequest.new_alias) -} -inline std::string* SetAliasRequest::mutable_new_alias() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_new_alias(); - // @@protoc_insertion_point(field_mutable:management.SetAliasRequest.new_alias) - return _s; -} -inline const std::string& SetAliasRequest::_internal_new_alias() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.new_alias_.Get(); -} -inline void SetAliasRequest::_internal_set_new_alias(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.new_alias_.Set(value, GetArena()); -} -inline std::string* SetAliasRequest::_internal_mutable_new_alias() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.new_alias_.Mutable( GetArena()); -} -inline std::string* SetAliasRequest::release_new_alias() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.SetAliasRequest.new_alias) - return _impl_.new_alias_.Release(); -} -inline void SetAliasRequest::set_allocated_new_alias(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.new_alias_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.new_alias_.IsDefault()) { - _impl_.new_alias_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:management.SetAliasRequest.new_alias) -} - -// ------------------------------------------------------------------- - -// SetAliasResponse - -// ------------------------------------------------------------------- - -// GetNodesRequest - -// bool include_nics = 1; -inline void GetNodesRequest::clear_include_nics() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.include_nics_ = false; -} -inline bool GetNodesRequest::include_nics() const { - // @@protoc_insertion_point(field_get:management.GetNodesRequest.include_nics) - return _internal_include_nics(); -} -inline void GetNodesRequest::set_include_nics(bool value) { - _internal_set_include_nics(value); - // @@protoc_insertion_point(field_set:management.GetNodesRequest.include_nics) -} -inline bool GetNodesRequest::_internal_include_nics() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.include_nics_; -} -inline void GetNodesRequest::_internal_set_include_nics(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.include_nics_ = value; -} - -// ------------------------------------------------------------------- - -// GetNodesResponse_Node_Nic - -// string addr = 1; -inline void GetNodesResponse_Node_Nic::clear_addr() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.addr_.ClearToEmpty(); -} -inline const std::string& GetNodesResponse_Node_Nic::addr() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetNodesResponse.Node.Nic.addr) - return _internal_addr(); -} -template -inline PROTOBUF_ALWAYS_INLINE void GetNodesResponse_Node_Nic::set_addr(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.addr_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:management.GetNodesResponse.Node.Nic.addr) -} -inline std::string* GetNodesResponse_Node_Nic::mutable_addr() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_addr(); - // @@protoc_insertion_point(field_mutable:management.GetNodesResponse.Node.Nic.addr) - return _s; -} -inline const std::string& GetNodesResponse_Node_Nic::_internal_addr() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.addr_.Get(); -} -inline void GetNodesResponse_Node_Nic::_internal_set_addr(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.addr_.Set(value, GetArena()); -} -inline std::string* GetNodesResponse_Node_Nic::_internal_mutable_addr() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.addr_.Mutable( GetArena()); -} -inline std::string* GetNodesResponse_Node_Nic::release_addr() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetNodesResponse.Node.Nic.addr) - return _impl_.addr_.Release(); -} -inline void GetNodesResponse_Node_Nic::set_allocated_addr(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.addr_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.addr_.IsDefault()) { - _impl_.addr_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:management.GetNodesResponse.Node.Nic.addr) -} - -// string name = 2; -inline void GetNodesResponse_Node_Nic::clear_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.name_.ClearToEmpty(); -} -inline const std::string& GetNodesResponse_Node_Nic::name() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetNodesResponse.Node.Nic.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE void GetNodesResponse_Node_Nic::set_name(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.name_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:management.GetNodesResponse.Node.Nic.name) -} -inline std::string* GetNodesResponse_Node_Nic::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:management.GetNodesResponse.Node.Nic.name) - return _s; -} -inline const std::string& GetNodesResponse_Node_Nic::_internal_name() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.name_.Get(); -} -inline void GetNodesResponse_Node_Nic::_internal_set_name(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.name_.Set(value, GetArena()); -} -inline std::string* GetNodesResponse_Node_Nic::_internal_mutable_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.name_.Mutable( GetArena()); -} -inline std::string* GetNodesResponse_Node_Nic::release_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetNodesResponse.Node.Nic.name) - return _impl_.name_.Release(); -} -inline void GetNodesResponse_Node_Nic::set_allocated_name(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.name_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.name_.IsDefault()) { - _impl_.name_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:management.GetNodesResponse.Node.Nic.name) -} - -// .beegfs.NicType nic_type = 3; -inline void GetNodesResponse_Node_Nic::clear_nic_type() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.nic_type_ = 0; -} -inline ::beegfs::NicType GetNodesResponse_Node_Nic::nic_type() const { - // @@protoc_insertion_point(field_get:management.GetNodesResponse.Node.Nic.nic_type) - return _internal_nic_type(); -} -inline void GetNodesResponse_Node_Nic::set_nic_type(::beegfs::NicType value) { - _internal_set_nic_type(value); - // @@protoc_insertion_point(field_set:management.GetNodesResponse.Node.Nic.nic_type) -} -inline ::beegfs::NicType GetNodesResponse_Node_Nic::_internal_nic_type() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::NicType>(_impl_.nic_type_); -} -inline void GetNodesResponse_Node_Nic::_internal_set_nic_type(::beegfs::NicType value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.nic_type_ = value; -} - -// ------------------------------------------------------------------- - -// GetNodesResponse_Node - -// .beegfs.EntityIdSet id = 1; -inline bool GetNodesResponse_Node::has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.id_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& GetNodesResponse_Node::_internal_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.id_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& GetNodesResponse_Node::id() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetNodesResponse.Node.id) - return _internal_id(); -} -inline void GetNodesResponse_Node::unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); - } - _impl_.id_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetNodesResponse.Node.id) -} -inline ::beegfs::EntityIdSet* GetNodesResponse_Node::release_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.id_; - _impl_.id_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* GetNodesResponse_Node::unsafe_arena_release_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetNodesResponse.Node.id) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.id_; - _impl_.id_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* GetNodesResponse_Node::_internal_mutable_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.id_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.id_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.id_; -} -inline ::beegfs::EntityIdSet* GetNodesResponse_Node::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:management.GetNodesResponse.Node.id) - return _msg; -} -inline void GetNodesResponse_Node::set_allocated_id(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.id_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetNodesResponse.Node.id) -} - -// .beegfs.NodeType node_type = 2; -inline void GetNodesResponse_Node::clear_node_type() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.node_type_ = 0; -} -inline ::beegfs::NodeType GetNodesResponse_Node::node_type() const { - // @@protoc_insertion_point(field_get:management.GetNodesResponse.Node.node_type) - return _internal_node_type(); -} -inline void GetNodesResponse_Node::set_node_type(::beegfs::NodeType value) { - _internal_set_node_type(value); - // @@protoc_insertion_point(field_set:management.GetNodesResponse.Node.node_type) -} -inline ::beegfs::NodeType GetNodesResponse_Node::_internal_node_type() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::NodeType>(_impl_.node_type_); -} -inline void GetNodesResponse_Node::_internal_set_node_type(::beegfs::NodeType value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.node_type_ = value; -} - -// uint32 port = 3; -inline void GetNodesResponse_Node::clear_port() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.port_ = 0u; -} -inline ::uint32_t GetNodesResponse_Node::port() const { - // @@protoc_insertion_point(field_get:management.GetNodesResponse.Node.port) - return _internal_port(); -} -inline void GetNodesResponse_Node::set_port(::uint32_t value) { - _internal_set_port(value); - // @@protoc_insertion_point(field_set:management.GetNodesResponse.Node.port) -} -inline ::uint32_t GetNodesResponse_Node::_internal_port() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.port_; -} -inline void GetNodesResponse_Node::_internal_set_port(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.port_ = value; -} - -// repeated .management.GetNodesResponse.Node.Nic nics = 4; -inline int GetNodesResponse_Node::_internal_nics_size() const { - return _internal_nics().size(); -} -inline int GetNodesResponse_Node::nics_size() const { - return _internal_nics_size(); -} -inline void GetNodesResponse_Node::clear_nics() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.nics_.Clear(); -} -inline ::management::GetNodesResponse_Node_Nic* GetNodesResponse_Node::mutable_nics(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:management.GetNodesResponse.Node.nics) - return _internal_mutable_nics()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>* GetNodesResponse_Node::mutable_nics() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.GetNodesResponse.Node.nics) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_nics(); -} -inline const ::management::GetNodesResponse_Node_Nic& GetNodesResponse_Node::nics(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetNodesResponse.Node.nics) - return _internal_nics().Get(index); -} -inline ::management::GetNodesResponse_Node_Nic* GetNodesResponse_Node::add_nics() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::management::GetNodesResponse_Node_Nic* _add = _internal_mutable_nics()->Add(); - // @@protoc_insertion_point(field_add:management.GetNodesResponse.Node.nics) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>& GetNodesResponse_Node::nics() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.GetNodesResponse.Node.nics) - return _internal_nics(); -} -inline const ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>& -GetNodesResponse_Node::_internal_nics() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.nics_; -} -inline ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node_Nic>* -GetNodesResponse_Node::_internal_mutable_nics() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.nics_; -} - -// ------------------------------------------------------------------- - -// GetNodesResponse - -// repeated .management.GetNodesResponse.Node nodes = 1; -inline int GetNodesResponse::_internal_nodes_size() const { - return _internal_nodes().size(); -} -inline int GetNodesResponse::nodes_size() const { - return _internal_nodes_size(); -} -inline void GetNodesResponse::clear_nodes() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.nodes_.Clear(); -} -inline ::management::GetNodesResponse_Node* GetNodesResponse::mutable_nodes(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:management.GetNodesResponse.nodes) - return _internal_mutable_nodes()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>* GetNodesResponse::mutable_nodes() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.GetNodesResponse.nodes) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_nodes(); -} -inline const ::management::GetNodesResponse_Node& GetNodesResponse::nodes(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetNodesResponse.nodes) - return _internal_nodes().Get(index); -} -inline ::management::GetNodesResponse_Node* GetNodesResponse::add_nodes() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::management::GetNodesResponse_Node* _add = _internal_mutable_nodes()->Add(); - // @@protoc_insertion_point(field_add:management.GetNodesResponse.nodes) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>& GetNodesResponse::nodes() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.GetNodesResponse.nodes) - return _internal_nodes(); -} -inline const ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>& -GetNodesResponse::_internal_nodes() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.nodes_; -} -inline ::google::protobuf::RepeatedPtrField<::management::GetNodesResponse_Node>* -GetNodesResponse::_internal_mutable_nodes() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.nodes_; -} - -// optional .beegfs.EntityIdSet meta_root_node = 2; -inline bool GetNodesResponse::has_meta_root_node() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.meta_root_node_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& GetNodesResponse::_internal_meta_root_node() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.meta_root_node_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& GetNodesResponse::meta_root_node() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetNodesResponse.meta_root_node) - return _internal_meta_root_node(); -} -inline void GetNodesResponse::unsafe_arena_set_allocated_meta_root_node(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.meta_root_node_); - } - _impl_.meta_root_node_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetNodesResponse.meta_root_node) -} -inline ::beegfs::EntityIdSet* GetNodesResponse::release_meta_root_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::beegfs::EntityIdSet* released = _impl_.meta_root_node_; - _impl_.meta_root_node_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* GetNodesResponse::unsafe_arena_release_meta_root_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetNodesResponse.meta_root_node) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::beegfs::EntityIdSet* temp = _impl_.meta_root_node_; - _impl_.meta_root_node_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* GetNodesResponse::_internal_mutable_meta_root_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.meta_root_node_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.meta_root_node_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.meta_root_node_; -} -inline ::beegfs::EntityIdSet* GetNodesResponse::mutable_meta_root_node() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_meta_root_node(); - // @@protoc_insertion_point(field_mutable:management.GetNodesResponse.meta_root_node) - return _msg; -} -inline void GetNodesResponse::set_allocated_meta_root_node(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.meta_root_node_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - - _impl_.meta_root_node_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetNodesResponse.meta_root_node) -} - -// optional string fs_uuid = 3; -inline bool GetNodesResponse::has_fs_uuid() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline void GetNodesResponse::clear_fs_uuid() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.fs_uuid_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& GetNodesResponse::fs_uuid() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetNodesResponse.fs_uuid) - return _internal_fs_uuid(); -} -template -inline PROTOBUF_ALWAYS_INLINE void GetNodesResponse::set_fs_uuid(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.fs_uuid_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:management.GetNodesResponse.fs_uuid) -} -inline std::string* GetNodesResponse::mutable_fs_uuid() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_fs_uuid(); - // @@protoc_insertion_point(field_mutable:management.GetNodesResponse.fs_uuid) - return _s; -} -inline const std::string& GetNodesResponse::_internal_fs_uuid() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.fs_uuid_.Get(); -} -inline void GetNodesResponse::_internal_set_fs_uuid(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.fs_uuid_.Set(value, GetArena()); -} -inline std::string* GetNodesResponse::_internal_mutable_fs_uuid() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.fs_uuid_.Mutable( GetArena()); -} -inline std::string* GetNodesResponse::release_fs_uuid() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetNodesResponse.fs_uuid) - if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* released = _impl_.fs_uuid_.Release(); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { - _impl_.fs_uuid_.Set("", GetArena()); - } - return released; -} -inline void GetNodesResponse::set_allocated_fs_uuid(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.fs_uuid_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.fs_uuid_.IsDefault()) { - _impl_.fs_uuid_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:management.GetNodesResponse.fs_uuid) -} - -// optional .beegfs.EntityIdSet meta_root_buddy_group = 4; -inline bool GetNodesResponse::has_meta_root_buddy_group() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.meta_root_buddy_group_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& GetNodesResponse::_internal_meta_root_buddy_group() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.meta_root_buddy_group_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& GetNodesResponse::meta_root_buddy_group() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetNodesResponse.meta_root_buddy_group) - return _internal_meta_root_buddy_group(); -} -inline void GetNodesResponse::unsafe_arena_set_allocated_meta_root_buddy_group(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.meta_root_buddy_group_); - } - _impl_.meta_root_buddy_group_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetNodesResponse.meta_root_buddy_group) -} -inline ::beegfs::EntityIdSet* GetNodesResponse::release_meta_root_buddy_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000004u; - ::beegfs::EntityIdSet* released = _impl_.meta_root_buddy_group_; - _impl_.meta_root_buddy_group_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* GetNodesResponse::unsafe_arena_release_meta_root_buddy_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetNodesResponse.meta_root_buddy_group) - - _impl_._has_bits_[0] &= ~0x00000004u; - ::beegfs::EntityIdSet* temp = _impl_.meta_root_buddy_group_; - _impl_.meta_root_buddy_group_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* GetNodesResponse::_internal_mutable_meta_root_buddy_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.meta_root_buddy_group_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.meta_root_buddy_group_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.meta_root_buddy_group_; -} -inline ::beegfs::EntityIdSet* GetNodesResponse::mutable_meta_root_buddy_group() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000004u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_meta_root_buddy_group(); - // @@protoc_insertion_point(field_mutable:management.GetNodesResponse.meta_root_buddy_group) - return _msg; -} -inline void GetNodesResponse::set_allocated_meta_root_buddy_group(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.meta_root_buddy_group_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - - _impl_.meta_root_buddy_group_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetNodesResponse.meta_root_buddy_group) -} - -// ------------------------------------------------------------------- - -// DeleteNodeRequest - -// optional .beegfs.EntityIdSet node = 1; -inline bool DeleteNodeRequest::has_node() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.node_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& DeleteNodeRequest::_internal_node() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.node_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& DeleteNodeRequest::node() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.DeleteNodeRequest.node) - return _internal_node(); -} -inline void DeleteNodeRequest::unsafe_arena_set_allocated_node(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.node_); - } - _impl_.node_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeleteNodeRequest.node) -} -inline ::beegfs::EntityIdSet* DeleteNodeRequest::release_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.node_; - _impl_.node_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* DeleteNodeRequest::unsafe_arena_release_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.DeleteNodeRequest.node) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.node_; - _impl_.node_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* DeleteNodeRequest::_internal_mutable_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.node_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.node_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.node_; -} -inline ::beegfs::EntityIdSet* DeleteNodeRequest::mutable_node() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_node(); - // @@protoc_insertion_point(field_mutable:management.DeleteNodeRequest.node) - return _msg; -} -inline void DeleteNodeRequest::set_allocated_node(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.node_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.node_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.DeleteNodeRequest.node) -} - -// optional bool execute = 2; -inline bool DeleteNodeRequest::has_execute() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void DeleteNodeRequest::clear_execute() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.execute_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool DeleteNodeRequest::execute() const { - // @@protoc_insertion_point(field_get:management.DeleteNodeRequest.execute) - return _internal_execute(); -} -inline void DeleteNodeRequest::set_execute(bool value) { - _internal_set_execute(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:management.DeleteNodeRequest.execute) -} -inline bool DeleteNodeRequest::_internal_execute() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.execute_; -} -inline void DeleteNodeRequest::_internal_set_execute(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.execute_ = value; -} - -// ------------------------------------------------------------------- - -// DeleteNodeResponse - -// optional .beegfs.EntityIdSet node = 1; -inline bool DeleteNodeResponse::has_node() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.node_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& DeleteNodeResponse::_internal_node() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.node_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& DeleteNodeResponse::node() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.DeleteNodeResponse.node) - return _internal_node(); -} -inline void DeleteNodeResponse::unsafe_arena_set_allocated_node(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.node_); - } - _impl_.node_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeleteNodeResponse.node) -} -inline ::beegfs::EntityIdSet* DeleteNodeResponse::release_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.node_; - _impl_.node_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* DeleteNodeResponse::unsafe_arena_release_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.DeleteNodeResponse.node) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.node_; - _impl_.node_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* DeleteNodeResponse::_internal_mutable_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.node_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.node_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.node_; -} -inline ::beegfs::EntityIdSet* DeleteNodeResponse::mutable_node() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_node(); - // @@protoc_insertion_point(field_mutable:management.DeleteNodeResponse.node) - return _msg; -} -inline void DeleteNodeResponse::set_allocated_node(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.node_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.node_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.DeleteNodeResponse.node) -} - -// ------------------------------------------------------------------- - -// GetTargetsRequest - -// ------------------------------------------------------------------- - -// GetTargetsResponse_Target - -// .beegfs.EntityIdSet id = 1; -inline bool GetTargetsResponse_Target::has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.id_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& GetTargetsResponse_Target::_internal_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.id_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& GetTargetsResponse_Target::id() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.id) - return _internal_id(); -} -inline void GetTargetsResponse_Target::unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); - } - _impl_.id_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetTargetsResponse.Target.id) -} -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::release_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.id_; - _impl_.id_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::unsafe_arena_release_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetTargetsResponse.Target.id) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.id_; - _impl_.id_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::_internal_mutable_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.id_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.id_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.id_; -} -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:management.GetTargetsResponse.Target.id) - return _msg; -} -inline void GetTargetsResponse_Target::set_allocated_id(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.id_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetTargetsResponse.Target.id) -} - -// .beegfs.NodeType node_type = 2; -inline void GetTargetsResponse_Target::clear_node_type() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.node_type_ = 0; -} -inline ::beegfs::NodeType GetTargetsResponse_Target::node_type() const { - // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.node_type) - return _internal_node_type(); -} -inline void GetTargetsResponse_Target::set_node_type(::beegfs::NodeType value) { - _internal_set_node_type(value); - // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.node_type) -} -inline ::beegfs::NodeType GetTargetsResponse_Target::_internal_node_type() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::NodeType>(_impl_.node_type_); -} -inline void GetTargetsResponse_Target::_internal_set_node_type(::beegfs::NodeType value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.node_type_ = value; -} - -// .beegfs.ReachabilityState reachability_state = 3; -inline void GetTargetsResponse_Target::clear_reachability_state() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.reachability_state_ = 0; -} -inline ::beegfs::ReachabilityState GetTargetsResponse_Target::reachability_state() const { - // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.reachability_state) - return _internal_reachability_state(); -} -inline void GetTargetsResponse_Target::set_reachability_state(::beegfs::ReachabilityState value) { - _internal_set_reachability_state(value); - // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.reachability_state) -} -inline ::beegfs::ReachabilityState GetTargetsResponse_Target::_internal_reachability_state() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::ReachabilityState>(_impl_.reachability_state_); -} -inline void GetTargetsResponse_Target::_internal_set_reachability_state(::beegfs::ReachabilityState value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.reachability_state_ = value; -} - -// .beegfs.ConsistencyState consistency_state = 4; -inline void GetTargetsResponse_Target::clear_consistency_state() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.consistency_state_ = 0; -} -inline ::beegfs::ConsistencyState GetTargetsResponse_Target::consistency_state() const { - // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.consistency_state) - return _internal_consistency_state(); -} -inline void GetTargetsResponse_Target::set_consistency_state(::beegfs::ConsistencyState value) { - _internal_set_consistency_state(value); - // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.consistency_state) -} -inline ::beegfs::ConsistencyState GetTargetsResponse_Target::_internal_consistency_state() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::ConsistencyState>(_impl_.consistency_state_); -} -inline void GetTargetsResponse_Target::_internal_set_consistency_state(::beegfs::ConsistencyState value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.consistency_state_ = value; -} - -// optional uint64 last_contact_s = 5; -inline bool GetTargetsResponse_Target::has_last_contact_s() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline void GetTargetsResponse_Target::clear_last_contact_s() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.last_contact_s_ = ::uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::uint64_t GetTargetsResponse_Target::last_contact_s() const { - // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.last_contact_s) - return _internal_last_contact_s(); -} -inline void GetTargetsResponse_Target::set_last_contact_s(::uint64_t value) { - _internal_set_last_contact_s(value); - _impl_._has_bits_[0] |= 0x00000008u; - // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.last_contact_s) -} -inline ::uint64_t GetTargetsResponse_Target::_internal_last_contact_s() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.last_contact_s_; -} -inline void GetTargetsResponse_Target::_internal_set_last_contact_s(::uint64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.last_contact_s_ = value; -} - -// optional uint64 total_space_bytes = 6; -inline bool GetTargetsResponse_Target::has_total_space_bytes() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline void GetTargetsResponse_Target::clear_total_space_bytes() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.total_space_bytes_ = ::uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline ::uint64_t GetTargetsResponse_Target::total_space_bytes() const { - // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.total_space_bytes) - return _internal_total_space_bytes(); -} -inline void GetTargetsResponse_Target::set_total_space_bytes(::uint64_t value) { - _internal_set_total_space_bytes(value); - _impl_._has_bits_[0] |= 0x00000010u; - // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.total_space_bytes) -} -inline ::uint64_t GetTargetsResponse_Target::_internal_total_space_bytes() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.total_space_bytes_; -} -inline void GetTargetsResponse_Target::_internal_set_total_space_bytes(::uint64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.total_space_bytes_ = value; -} - -// optional uint64 free_space_bytes = 7; -inline bool GetTargetsResponse_Target::has_free_space_bytes() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline void GetTargetsResponse_Target::clear_free_space_bytes() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.free_space_bytes_ = ::uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline ::uint64_t GetTargetsResponse_Target::free_space_bytes() const { - // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.free_space_bytes) - return _internal_free_space_bytes(); -} -inline void GetTargetsResponse_Target::set_free_space_bytes(::uint64_t value) { - _internal_set_free_space_bytes(value); - _impl_._has_bits_[0] |= 0x00000020u; - // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.free_space_bytes) -} -inline ::uint64_t GetTargetsResponse_Target::_internal_free_space_bytes() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.free_space_bytes_; -} -inline void GetTargetsResponse_Target::_internal_set_free_space_bytes(::uint64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.free_space_bytes_ = value; -} - -// optional uint64 total_inodes = 8; -inline bool GetTargetsResponse_Target::has_total_inodes() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline void GetTargetsResponse_Target::clear_total_inodes() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.total_inodes_ = ::uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline ::uint64_t GetTargetsResponse_Target::total_inodes() const { - // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.total_inodes) - return _internal_total_inodes(); -} -inline void GetTargetsResponse_Target::set_total_inodes(::uint64_t value) { - _internal_set_total_inodes(value); - _impl_._has_bits_[0] |= 0x00000040u; - // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.total_inodes) -} -inline ::uint64_t GetTargetsResponse_Target::_internal_total_inodes() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.total_inodes_; -} -inline void GetTargetsResponse_Target::_internal_set_total_inodes(::uint64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.total_inodes_ = value; -} - -// optional uint64 free_inodes = 9; -inline bool GetTargetsResponse_Target::has_free_inodes() const { - bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0; - return value; -} -inline void GetTargetsResponse_Target::clear_free_inodes() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.free_inodes_ = ::uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000080u; -} -inline ::uint64_t GetTargetsResponse_Target::free_inodes() const { - // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.free_inodes) - return _internal_free_inodes(); -} -inline void GetTargetsResponse_Target::set_free_inodes(::uint64_t value) { - _internal_set_free_inodes(value); - _impl_._has_bits_[0] |= 0x00000080u; - // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.free_inodes) -} -inline ::uint64_t GetTargetsResponse_Target::_internal_free_inodes() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.free_inodes_; -} -inline void GetTargetsResponse_Target::_internal_set_free_inodes(::uint64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.free_inodes_ = value; -} - -// .beegfs.CapacityPool cap_pool = 10; -inline void GetTargetsResponse_Target::clear_cap_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.cap_pool_ = 0; -} -inline ::beegfs::CapacityPool GetTargetsResponse_Target::cap_pool() const { - // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.cap_pool) - return _internal_cap_pool(); -} -inline void GetTargetsResponse_Target::set_cap_pool(::beegfs::CapacityPool value) { - _internal_set_cap_pool(value); - // @@protoc_insertion_point(field_set:management.GetTargetsResponse.Target.cap_pool) -} -inline ::beegfs::CapacityPool GetTargetsResponse_Target::_internal_cap_pool() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::CapacityPool>(_impl_.cap_pool_); -} -inline void GetTargetsResponse_Target::_internal_set_cap_pool(::beegfs::CapacityPool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.cap_pool_ = value; -} - -// .beegfs.EntityIdSet node = 11; -inline bool GetTargetsResponse_Target::has_node() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.node_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& GetTargetsResponse_Target::_internal_node() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.node_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& GetTargetsResponse_Target::node() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.node) - return _internal_node(); -} -inline void GetTargetsResponse_Target::unsafe_arena_set_allocated_node(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.node_); - } - _impl_.node_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetTargetsResponse.Target.node) -} -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::release_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::beegfs::EntityIdSet* released = _impl_.node_; - _impl_.node_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::unsafe_arena_release_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetTargetsResponse.Target.node) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::beegfs::EntityIdSet* temp = _impl_.node_; - _impl_.node_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::_internal_mutable_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.node_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.node_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.node_; -} -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::mutable_node() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_node(); - // @@protoc_insertion_point(field_mutable:management.GetTargetsResponse.Target.node) - return _msg; -} -inline void GetTargetsResponse_Target::set_allocated_node(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.node_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - - _impl_.node_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetTargetsResponse.Target.node) -} - -// optional .beegfs.EntityIdSet storage_pool = 12; -inline bool GetTargetsResponse_Target::has_storage_pool() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.storage_pool_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& GetTargetsResponse_Target::_internal_storage_pool() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.storage_pool_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& GetTargetsResponse_Target::storage_pool() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetTargetsResponse.Target.storage_pool) - return _internal_storage_pool(); -} -inline void GetTargetsResponse_Target::unsafe_arena_set_allocated_storage_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.storage_pool_); - } - _impl_.storage_pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetTargetsResponse.Target.storage_pool) -} -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::release_storage_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000004u; - ::beegfs::EntityIdSet* released = _impl_.storage_pool_; - _impl_.storage_pool_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::unsafe_arena_release_storage_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetTargetsResponse.Target.storage_pool) - - _impl_._has_bits_[0] &= ~0x00000004u; - ::beegfs::EntityIdSet* temp = _impl_.storage_pool_; - _impl_.storage_pool_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::_internal_mutable_storage_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.storage_pool_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.storage_pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.storage_pool_; -} -inline ::beegfs::EntityIdSet* GetTargetsResponse_Target::mutable_storage_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000004u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_storage_pool(); - // @@protoc_insertion_point(field_mutable:management.GetTargetsResponse.Target.storage_pool) - return _msg; -} -inline void GetTargetsResponse_Target::set_allocated_storage_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.storage_pool_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - - _impl_.storage_pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetTargetsResponse.Target.storage_pool) -} - -// ------------------------------------------------------------------- - -// GetTargetsResponse - -// repeated .management.GetTargetsResponse.Target targets = 1; -inline int GetTargetsResponse::_internal_targets_size() const { - return _internal_targets().size(); -} -inline int GetTargetsResponse::targets_size() const { - return _internal_targets_size(); -} -inline void GetTargetsResponse::clear_targets() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.targets_.Clear(); -} -inline ::management::GetTargetsResponse_Target* GetTargetsResponse::mutable_targets(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:management.GetTargetsResponse.targets) - return _internal_mutable_targets()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>* GetTargetsResponse::mutable_targets() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.GetTargetsResponse.targets) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_targets(); -} -inline const ::management::GetTargetsResponse_Target& GetTargetsResponse::targets(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetTargetsResponse.targets) - return _internal_targets().Get(index); -} -inline ::management::GetTargetsResponse_Target* GetTargetsResponse::add_targets() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::management::GetTargetsResponse_Target* _add = _internal_mutable_targets()->Add(); - // @@protoc_insertion_point(field_add:management.GetTargetsResponse.targets) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>& GetTargetsResponse::targets() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.GetTargetsResponse.targets) - return _internal_targets(); -} -inline const ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>& -GetTargetsResponse::_internal_targets() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.targets_; -} -inline ::google::protobuf::RepeatedPtrField<::management::GetTargetsResponse_Target>* -GetTargetsResponse::_internal_mutable_targets() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.targets_; -} - -// ------------------------------------------------------------------- - -// DeleteTargetRequest - -// optional .beegfs.EntityIdSet target = 1; -inline bool DeleteTargetRequest::has_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.target_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& DeleteTargetRequest::_internal_target() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.target_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& DeleteTargetRequest::target() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.DeleteTargetRequest.target) - return _internal_target(); -} -inline void DeleteTargetRequest::unsafe_arena_set_allocated_target(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.target_); - } - _impl_.target_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeleteTargetRequest.target) -} -inline ::beegfs::EntityIdSet* DeleteTargetRequest::release_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.target_; - _impl_.target_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* DeleteTargetRequest::unsafe_arena_release_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.DeleteTargetRequest.target) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.target_; - _impl_.target_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* DeleteTargetRequest::_internal_mutable_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.target_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.target_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.target_; -} -inline ::beegfs::EntityIdSet* DeleteTargetRequest::mutable_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_target(); - // @@protoc_insertion_point(field_mutable:management.DeleteTargetRequest.target) - return _msg; -} -inline void DeleteTargetRequest::set_allocated_target(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.target_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.target_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.DeleteTargetRequest.target) -} - -// optional bool execute = 2; -inline bool DeleteTargetRequest::has_execute() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void DeleteTargetRequest::clear_execute() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.execute_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool DeleteTargetRequest::execute() const { - // @@protoc_insertion_point(field_get:management.DeleteTargetRequest.execute) - return _internal_execute(); -} -inline void DeleteTargetRequest::set_execute(bool value) { - _internal_set_execute(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:management.DeleteTargetRequest.execute) -} -inline bool DeleteTargetRequest::_internal_execute() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.execute_; -} -inline void DeleteTargetRequest::_internal_set_execute(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.execute_ = value; -} - -// ------------------------------------------------------------------- - -// DeleteTargetResponse - -// optional .beegfs.EntityIdSet target = 1; -inline bool DeleteTargetResponse::has_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.target_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& DeleteTargetResponse::_internal_target() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.target_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& DeleteTargetResponse::target() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.DeleteTargetResponse.target) - return _internal_target(); -} -inline void DeleteTargetResponse::unsafe_arena_set_allocated_target(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.target_); - } - _impl_.target_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeleteTargetResponse.target) -} -inline ::beegfs::EntityIdSet* DeleteTargetResponse::release_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.target_; - _impl_.target_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* DeleteTargetResponse::unsafe_arena_release_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.DeleteTargetResponse.target) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.target_; - _impl_.target_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* DeleteTargetResponse::_internal_mutable_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.target_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.target_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.target_; -} -inline ::beegfs::EntityIdSet* DeleteTargetResponse::mutable_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_target(); - // @@protoc_insertion_point(field_mutable:management.DeleteTargetResponse.target) - return _msg; -} -inline void DeleteTargetResponse::set_allocated_target(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.target_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.target_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.DeleteTargetResponse.target) -} - -// ------------------------------------------------------------------- - -// SetTargetStateRequest - -// optional .beegfs.EntityIdSet target = 1; -inline bool SetTargetStateRequest::has_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.target_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& SetTargetStateRequest::_internal_target() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.target_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& SetTargetStateRequest::target() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.SetTargetStateRequest.target) - return _internal_target(); -} -inline void SetTargetStateRequest::unsafe_arena_set_allocated_target(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.target_); - } - _impl_.target_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.SetTargetStateRequest.target) -} -inline ::beegfs::EntityIdSet* SetTargetStateRequest::release_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.target_; - _impl_.target_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* SetTargetStateRequest::unsafe_arena_release_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.SetTargetStateRequest.target) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.target_; - _impl_.target_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* SetTargetStateRequest::_internal_mutable_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.target_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.target_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.target_; -} -inline ::beegfs::EntityIdSet* SetTargetStateRequest::mutable_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_target(); - // @@protoc_insertion_point(field_mutable:management.SetTargetStateRequest.target) - return _msg; -} -inline void SetTargetStateRequest::set_allocated_target(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.target_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.target_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.SetTargetStateRequest.target) -} - -// optional .beegfs.ConsistencyState consistency_state = 2; -inline bool SetTargetStateRequest::has_consistency_state() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void SetTargetStateRequest::clear_consistency_state() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.consistency_state_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::beegfs::ConsistencyState SetTargetStateRequest::consistency_state() const { - // @@protoc_insertion_point(field_get:management.SetTargetStateRequest.consistency_state) - return _internal_consistency_state(); -} -inline void SetTargetStateRequest::set_consistency_state(::beegfs::ConsistencyState value) { - _internal_set_consistency_state(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:management.SetTargetStateRequest.consistency_state) -} -inline ::beegfs::ConsistencyState SetTargetStateRequest::_internal_consistency_state() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::ConsistencyState>(_impl_.consistency_state_); -} -inline void SetTargetStateRequest::_internal_set_consistency_state(::beegfs::ConsistencyState value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.consistency_state_ = value; -} - -// ------------------------------------------------------------------- - -// SetTargetStateResponse - -// ------------------------------------------------------------------- - -// GetPoolsRequest - -// bool with_quota_limits = 1; -inline void GetPoolsRequest::clear_with_quota_limits() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.with_quota_limits_ = false; -} -inline bool GetPoolsRequest::with_quota_limits() const { - // @@protoc_insertion_point(field_get:management.GetPoolsRequest.with_quota_limits) - return _internal_with_quota_limits(); -} -inline void GetPoolsRequest::set_with_quota_limits(bool value) { - _internal_set_with_quota_limits(value); - // @@protoc_insertion_point(field_set:management.GetPoolsRequest.with_quota_limits) -} -inline bool GetPoolsRequest::_internal_with_quota_limits() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.with_quota_limits_; -} -inline void GetPoolsRequest::_internal_set_with_quota_limits(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.with_quota_limits_ = value; -} - -// ------------------------------------------------------------------- - -// GetPoolsResponse_StoragePool - -// .beegfs.EntityIdSet id = 1; -inline bool GetPoolsResponse_StoragePool::has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.id_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& GetPoolsResponse_StoragePool::_internal_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.id_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& GetPoolsResponse_StoragePool::id() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetPoolsResponse.StoragePool.id) - return _internal_id(); -} -inline void GetPoolsResponse_StoragePool::unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); - } - _impl_.id_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetPoolsResponse.StoragePool.id) -} -inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::release_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.id_; - _impl_.id_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::unsafe_arena_release_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetPoolsResponse.StoragePool.id) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.id_; - _impl_.id_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::_internal_mutable_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.id_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.id_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.id_; -} -inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:management.GetPoolsResponse.StoragePool.id) - return _msg; -} -inline void GetPoolsResponse_StoragePool::set_allocated_id(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.id_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetPoolsResponse.StoragePool.id) -} - -// repeated .beegfs.EntityIdSet targets = 2; -inline int GetPoolsResponse_StoragePool::_internal_targets_size() const { - return _internal_targets().size(); -} -inline int GetPoolsResponse_StoragePool::targets_size() const { - return _internal_targets_size(); -} -inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::mutable_targets(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:management.GetPoolsResponse.StoragePool.targets) - return _internal_mutable_targets()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* GetPoolsResponse_StoragePool::mutable_targets() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.GetPoolsResponse.StoragePool.targets) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_targets(); -} -inline const ::beegfs::EntityIdSet& GetPoolsResponse_StoragePool::targets(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetPoolsResponse.StoragePool.targets) - return _internal_targets().Get(index); -} -inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::add_targets() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::beegfs::EntityIdSet* _add = _internal_mutable_targets()->Add(); - // @@protoc_insertion_point(field_add:management.GetPoolsResponse.StoragePool.targets) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& GetPoolsResponse_StoragePool::targets() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.GetPoolsResponse.StoragePool.targets) - return _internal_targets(); -} -inline const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& -GetPoolsResponse_StoragePool::_internal_targets() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.targets_; -} -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* -GetPoolsResponse_StoragePool::_internal_mutable_targets() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.targets_; -} - -// repeated .beegfs.EntityIdSet buddy_groups = 3; -inline int GetPoolsResponse_StoragePool::_internal_buddy_groups_size() const { - return _internal_buddy_groups().size(); -} -inline int GetPoolsResponse_StoragePool::buddy_groups_size() const { - return _internal_buddy_groups_size(); -} -inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::mutable_buddy_groups(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:management.GetPoolsResponse.StoragePool.buddy_groups) - return _internal_mutable_buddy_groups()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* GetPoolsResponse_StoragePool::mutable_buddy_groups() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.GetPoolsResponse.StoragePool.buddy_groups) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_buddy_groups(); -} -inline const ::beegfs::EntityIdSet& GetPoolsResponse_StoragePool::buddy_groups(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetPoolsResponse.StoragePool.buddy_groups) - return _internal_buddy_groups().Get(index); -} -inline ::beegfs::EntityIdSet* GetPoolsResponse_StoragePool::add_buddy_groups() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::beegfs::EntityIdSet* _add = _internal_mutable_buddy_groups()->Add(); - // @@protoc_insertion_point(field_add:management.GetPoolsResponse.StoragePool.buddy_groups) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& GetPoolsResponse_StoragePool::buddy_groups() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.GetPoolsResponse.StoragePool.buddy_groups) - return _internal_buddy_groups(); -} -inline const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& -GetPoolsResponse_StoragePool::_internal_buddy_groups() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.buddy_groups_; -} -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* -GetPoolsResponse_StoragePool::_internal_mutable_buddy_groups() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.buddy_groups_; -} - -// optional int64 user_space_limit = 4; -inline bool GetPoolsResponse_StoragePool::has_user_space_limit() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void GetPoolsResponse_StoragePool::clear_user_space_limit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_space_limit_ = ::int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::int64_t GetPoolsResponse_StoragePool::user_space_limit() const { - // @@protoc_insertion_point(field_get:management.GetPoolsResponse.StoragePool.user_space_limit) - return _internal_user_space_limit(); -} -inline void GetPoolsResponse_StoragePool::set_user_space_limit(::int64_t value) { - _internal_set_user_space_limit(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:management.GetPoolsResponse.StoragePool.user_space_limit) -} -inline ::int64_t GetPoolsResponse_StoragePool::_internal_user_space_limit() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.user_space_limit_; -} -inline void GetPoolsResponse_StoragePool::_internal_set_user_space_limit(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_space_limit_ = value; -} - -// optional int64 user_inode_limit = 5; -inline bool GetPoolsResponse_StoragePool::has_user_inode_limit() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline void GetPoolsResponse_StoragePool::clear_user_inode_limit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_inode_limit_ = ::int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::int64_t GetPoolsResponse_StoragePool::user_inode_limit() const { - // @@protoc_insertion_point(field_get:management.GetPoolsResponse.StoragePool.user_inode_limit) - return _internal_user_inode_limit(); -} -inline void GetPoolsResponse_StoragePool::set_user_inode_limit(::int64_t value) { - _internal_set_user_inode_limit(value); - _impl_._has_bits_[0] |= 0x00000004u; - // @@protoc_insertion_point(field_set:management.GetPoolsResponse.StoragePool.user_inode_limit) -} -inline ::int64_t GetPoolsResponse_StoragePool::_internal_user_inode_limit() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.user_inode_limit_; -} -inline void GetPoolsResponse_StoragePool::_internal_set_user_inode_limit(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_inode_limit_ = value; -} - -// optional int64 group_space_limit = 6; -inline bool GetPoolsResponse_StoragePool::has_group_space_limit() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline void GetPoolsResponse_StoragePool::clear_group_space_limit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_space_limit_ = ::int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::int64_t GetPoolsResponse_StoragePool::group_space_limit() const { - // @@protoc_insertion_point(field_get:management.GetPoolsResponse.StoragePool.group_space_limit) - return _internal_group_space_limit(); -} -inline void GetPoolsResponse_StoragePool::set_group_space_limit(::int64_t value) { - _internal_set_group_space_limit(value); - _impl_._has_bits_[0] |= 0x00000008u; - // @@protoc_insertion_point(field_set:management.GetPoolsResponse.StoragePool.group_space_limit) -} -inline ::int64_t GetPoolsResponse_StoragePool::_internal_group_space_limit() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.group_space_limit_; -} -inline void GetPoolsResponse_StoragePool::_internal_set_group_space_limit(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_space_limit_ = value; -} - -// optional int64 group_inode_limit = 7; -inline bool GetPoolsResponse_StoragePool::has_group_inode_limit() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline void GetPoolsResponse_StoragePool::clear_group_inode_limit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_inode_limit_ = ::int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline ::int64_t GetPoolsResponse_StoragePool::group_inode_limit() const { - // @@protoc_insertion_point(field_get:management.GetPoolsResponse.StoragePool.group_inode_limit) - return _internal_group_inode_limit(); -} -inline void GetPoolsResponse_StoragePool::set_group_inode_limit(::int64_t value) { - _internal_set_group_inode_limit(value); - _impl_._has_bits_[0] |= 0x00000010u; - // @@protoc_insertion_point(field_set:management.GetPoolsResponse.StoragePool.group_inode_limit) -} -inline ::int64_t GetPoolsResponse_StoragePool::_internal_group_inode_limit() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.group_inode_limit_; -} -inline void GetPoolsResponse_StoragePool::_internal_set_group_inode_limit(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_inode_limit_ = value; -} - -// ------------------------------------------------------------------- - -// GetPoolsResponse - -// repeated .management.GetPoolsResponse.StoragePool pools = 1; -inline int GetPoolsResponse::_internal_pools_size() const { - return _internal_pools().size(); -} -inline int GetPoolsResponse::pools_size() const { - return _internal_pools_size(); -} -inline void GetPoolsResponse::clear_pools() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.pools_.Clear(); -} -inline ::management::GetPoolsResponse_StoragePool* GetPoolsResponse::mutable_pools(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:management.GetPoolsResponse.pools) - return _internal_mutable_pools()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>* GetPoolsResponse::mutable_pools() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.GetPoolsResponse.pools) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_pools(); -} -inline const ::management::GetPoolsResponse_StoragePool& GetPoolsResponse::pools(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetPoolsResponse.pools) - return _internal_pools().Get(index); -} -inline ::management::GetPoolsResponse_StoragePool* GetPoolsResponse::add_pools() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::management::GetPoolsResponse_StoragePool* _add = _internal_mutable_pools()->Add(); - // @@protoc_insertion_point(field_add:management.GetPoolsResponse.pools) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>& GetPoolsResponse::pools() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.GetPoolsResponse.pools) - return _internal_pools(); -} -inline const ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>& -GetPoolsResponse::_internal_pools() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.pools_; -} -inline ::google::protobuf::RepeatedPtrField<::management::GetPoolsResponse_StoragePool>* -GetPoolsResponse::_internal_mutable_pools() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.pools_; -} - -// ------------------------------------------------------------------- - -// CreatePoolRequest - -// optional .beegfs.NodeType node_type = 1; -inline bool CreatePoolRequest::has_node_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void CreatePoolRequest::clear_node_type() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.node_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::beegfs::NodeType CreatePoolRequest::node_type() const { - // @@protoc_insertion_point(field_get:management.CreatePoolRequest.node_type) - return _internal_node_type(); -} -inline void CreatePoolRequest::set_node_type(::beegfs::NodeType value) { - _internal_set_node_type(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:management.CreatePoolRequest.node_type) -} -inline ::beegfs::NodeType CreatePoolRequest::_internal_node_type() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::NodeType>(_impl_.node_type_); -} -inline void CreatePoolRequest::_internal_set_node_type(::beegfs::NodeType value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.node_type_ = value; -} - -// optional uint32 num_id = 2; -inline bool CreatePoolRequest::has_num_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline void CreatePoolRequest::clear_num_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.num_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::uint32_t CreatePoolRequest::num_id() const { - // @@protoc_insertion_point(field_get:management.CreatePoolRequest.num_id) - return _internal_num_id(); -} -inline void CreatePoolRequest::set_num_id(::uint32_t value) { - _internal_set_num_id(value); - _impl_._has_bits_[0] |= 0x00000004u; - // @@protoc_insertion_point(field_set:management.CreatePoolRequest.num_id) -} -inline ::uint32_t CreatePoolRequest::_internal_num_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.num_id_; -} -inline void CreatePoolRequest::_internal_set_num_id(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.num_id_ = value; -} - -// optional string alias = 3; -inline bool CreatePoolRequest::has_alias() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline void CreatePoolRequest::clear_alias() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.alias_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CreatePoolRequest::alias() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.CreatePoolRequest.alias) - return _internal_alias(); -} -template -inline PROTOBUF_ALWAYS_INLINE void CreatePoolRequest::set_alias(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.alias_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:management.CreatePoolRequest.alias) -} -inline std::string* CreatePoolRequest::mutable_alias() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_alias(); - // @@protoc_insertion_point(field_mutable:management.CreatePoolRequest.alias) - return _s; -} -inline const std::string& CreatePoolRequest::_internal_alias() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.alias_.Get(); -} -inline void CreatePoolRequest::_internal_set_alias(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.alias_.Set(value, GetArena()); -} -inline std::string* CreatePoolRequest::_internal_mutable_alias() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.alias_.Mutable( GetArena()); -} -inline std::string* CreatePoolRequest::release_alias() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.CreatePoolRequest.alias) - if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* released = _impl_.alias_.Release(); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { - _impl_.alias_.Set("", GetArena()); - } - return released; -} -inline void CreatePoolRequest::set_allocated_alias(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.alias_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.alias_.IsDefault()) { - _impl_.alias_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:management.CreatePoolRequest.alias) -} - -// repeated .beegfs.EntityIdSet targets = 4; -inline int CreatePoolRequest::_internal_targets_size() const { - return _internal_targets().size(); -} -inline int CreatePoolRequest::targets_size() const { - return _internal_targets_size(); -} -inline ::beegfs::EntityIdSet* CreatePoolRequest::mutable_targets(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:management.CreatePoolRequest.targets) - return _internal_mutable_targets()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* CreatePoolRequest::mutable_targets() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.CreatePoolRequest.targets) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_targets(); -} -inline const ::beegfs::EntityIdSet& CreatePoolRequest::targets(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.CreatePoolRequest.targets) - return _internal_targets().Get(index); -} -inline ::beegfs::EntityIdSet* CreatePoolRequest::add_targets() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::beegfs::EntityIdSet* _add = _internal_mutable_targets()->Add(); - // @@protoc_insertion_point(field_add:management.CreatePoolRequest.targets) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& CreatePoolRequest::targets() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.CreatePoolRequest.targets) - return _internal_targets(); -} -inline const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& -CreatePoolRequest::_internal_targets() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.targets_; -} -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* -CreatePoolRequest::_internal_mutable_targets() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.targets_; -} - -// repeated .beegfs.EntityIdSet buddy_groups = 5; -inline int CreatePoolRequest::_internal_buddy_groups_size() const { - return _internal_buddy_groups().size(); -} -inline int CreatePoolRequest::buddy_groups_size() const { - return _internal_buddy_groups_size(); -} -inline ::beegfs::EntityIdSet* CreatePoolRequest::mutable_buddy_groups(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:management.CreatePoolRequest.buddy_groups) - return _internal_mutable_buddy_groups()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* CreatePoolRequest::mutable_buddy_groups() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.CreatePoolRequest.buddy_groups) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_buddy_groups(); -} -inline const ::beegfs::EntityIdSet& CreatePoolRequest::buddy_groups(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.CreatePoolRequest.buddy_groups) - return _internal_buddy_groups().Get(index); -} -inline ::beegfs::EntityIdSet* CreatePoolRequest::add_buddy_groups() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::beegfs::EntityIdSet* _add = _internal_mutable_buddy_groups()->Add(); - // @@protoc_insertion_point(field_add:management.CreatePoolRequest.buddy_groups) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& CreatePoolRequest::buddy_groups() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.CreatePoolRequest.buddy_groups) - return _internal_buddy_groups(); -} -inline const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& -CreatePoolRequest::_internal_buddy_groups() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.buddy_groups_; -} -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* -CreatePoolRequest::_internal_mutable_buddy_groups() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.buddy_groups_; -} - -// ------------------------------------------------------------------- - -// CreatePoolResponse - -// optional .beegfs.EntityIdSet pool = 1; -inline bool CreatePoolResponse::has_pool() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pool_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& CreatePoolResponse::_internal_pool() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.pool_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& CreatePoolResponse::pool() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.CreatePoolResponse.pool) - return _internal_pool(); -} -inline void CreatePoolResponse::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.CreatePoolResponse.pool) -} -inline ::beegfs::EntityIdSet* CreatePoolResponse::release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.pool_; - _impl_.pool_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* CreatePoolResponse::unsafe_arena_release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.CreatePoolResponse.pool) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.pool_; - _impl_.pool_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* CreatePoolResponse::_internal_mutable_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.pool_; -} -inline ::beegfs::EntityIdSet* CreatePoolResponse::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_pool(); - // @@protoc_insertion_point(field_mutable:management.CreatePoolResponse.pool) - return _msg; -} -inline void CreatePoolResponse::set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.CreatePoolResponse.pool) -} - -// ------------------------------------------------------------------- - -// AssignPoolRequest - -// optional .beegfs.EntityIdSet pool = 1; -inline bool AssignPoolRequest::has_pool() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pool_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& AssignPoolRequest::_internal_pool() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.pool_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& AssignPoolRequest::pool() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.AssignPoolRequest.pool) - return _internal_pool(); -} -inline void AssignPoolRequest::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.AssignPoolRequest.pool) -} -inline ::beegfs::EntityIdSet* AssignPoolRequest::release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.pool_; - _impl_.pool_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* AssignPoolRequest::unsafe_arena_release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.AssignPoolRequest.pool) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.pool_; - _impl_.pool_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* AssignPoolRequest::_internal_mutable_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.pool_; -} -inline ::beegfs::EntityIdSet* AssignPoolRequest::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_pool(); - // @@protoc_insertion_point(field_mutable:management.AssignPoolRequest.pool) - return _msg; -} -inline void AssignPoolRequest::set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.AssignPoolRequest.pool) -} - -// repeated .beegfs.EntityIdSet targets = 2; -inline int AssignPoolRequest::_internal_targets_size() const { - return _internal_targets().size(); -} -inline int AssignPoolRequest::targets_size() const { - return _internal_targets_size(); -} -inline ::beegfs::EntityIdSet* AssignPoolRequest::mutable_targets(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:management.AssignPoolRequest.targets) - return _internal_mutable_targets()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* AssignPoolRequest::mutable_targets() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.AssignPoolRequest.targets) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_targets(); -} -inline const ::beegfs::EntityIdSet& AssignPoolRequest::targets(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.AssignPoolRequest.targets) - return _internal_targets().Get(index); -} -inline ::beegfs::EntityIdSet* AssignPoolRequest::add_targets() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::beegfs::EntityIdSet* _add = _internal_mutable_targets()->Add(); - // @@protoc_insertion_point(field_add:management.AssignPoolRequest.targets) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& AssignPoolRequest::targets() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.AssignPoolRequest.targets) - return _internal_targets(); -} -inline const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& -AssignPoolRequest::_internal_targets() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.targets_; -} -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* -AssignPoolRequest::_internal_mutable_targets() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.targets_; -} - -// repeated .beegfs.EntityIdSet buddy_groups = 3; -inline int AssignPoolRequest::_internal_buddy_groups_size() const { - return _internal_buddy_groups().size(); -} -inline int AssignPoolRequest::buddy_groups_size() const { - return _internal_buddy_groups_size(); -} -inline ::beegfs::EntityIdSet* AssignPoolRequest::mutable_buddy_groups(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:management.AssignPoolRequest.buddy_groups) - return _internal_mutable_buddy_groups()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* AssignPoolRequest::mutable_buddy_groups() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.AssignPoolRequest.buddy_groups) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_buddy_groups(); -} -inline const ::beegfs::EntityIdSet& AssignPoolRequest::buddy_groups(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.AssignPoolRequest.buddy_groups) - return _internal_buddy_groups().Get(index); -} -inline ::beegfs::EntityIdSet* AssignPoolRequest::add_buddy_groups() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::beegfs::EntityIdSet* _add = _internal_mutable_buddy_groups()->Add(); - // @@protoc_insertion_point(field_add:management.AssignPoolRequest.buddy_groups) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& AssignPoolRequest::buddy_groups() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.AssignPoolRequest.buddy_groups) - return _internal_buddy_groups(); -} -inline const ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>& -AssignPoolRequest::_internal_buddy_groups() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.buddy_groups_; -} -inline ::google::protobuf::RepeatedPtrField<::beegfs::EntityIdSet>* -AssignPoolRequest::_internal_mutable_buddy_groups() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.buddy_groups_; -} - -// ------------------------------------------------------------------- - -// AssignPoolResponse - -// optional .beegfs.EntityIdSet pool = 1; -inline bool AssignPoolResponse::has_pool() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pool_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& AssignPoolResponse::_internal_pool() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.pool_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& AssignPoolResponse::pool() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.AssignPoolResponse.pool) - return _internal_pool(); -} -inline void AssignPoolResponse::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.AssignPoolResponse.pool) -} -inline ::beegfs::EntityIdSet* AssignPoolResponse::release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.pool_; - _impl_.pool_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* AssignPoolResponse::unsafe_arena_release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.AssignPoolResponse.pool) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.pool_; - _impl_.pool_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* AssignPoolResponse::_internal_mutable_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.pool_; -} -inline ::beegfs::EntityIdSet* AssignPoolResponse::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_pool(); - // @@protoc_insertion_point(field_mutable:management.AssignPoolResponse.pool) - return _msg; -} -inline void AssignPoolResponse::set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.AssignPoolResponse.pool) -} - -// ------------------------------------------------------------------- - -// DeletePoolRequest - -// optional .beegfs.EntityIdSet pool = 1; -inline bool DeletePoolRequest::has_pool() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pool_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& DeletePoolRequest::_internal_pool() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.pool_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& DeletePoolRequest::pool() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.DeletePoolRequest.pool) - return _internal_pool(); -} -inline void DeletePoolRequest::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeletePoolRequest.pool) -} -inline ::beegfs::EntityIdSet* DeletePoolRequest::release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.pool_; - _impl_.pool_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* DeletePoolRequest::unsafe_arena_release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.DeletePoolRequest.pool) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.pool_; - _impl_.pool_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* DeletePoolRequest::_internal_mutable_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.pool_; -} -inline ::beegfs::EntityIdSet* DeletePoolRequest::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_pool(); - // @@protoc_insertion_point(field_mutable:management.DeletePoolRequest.pool) - return _msg; -} -inline void DeletePoolRequest::set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.DeletePoolRequest.pool) -} - -// optional bool execute = 2; -inline bool DeletePoolRequest::has_execute() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void DeletePoolRequest::clear_execute() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.execute_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool DeletePoolRequest::execute() const { - // @@protoc_insertion_point(field_get:management.DeletePoolRequest.execute) - return _internal_execute(); -} -inline void DeletePoolRequest::set_execute(bool value) { - _internal_set_execute(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:management.DeletePoolRequest.execute) -} -inline bool DeletePoolRequest::_internal_execute() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.execute_; -} -inline void DeletePoolRequest::_internal_set_execute(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.execute_ = value; -} - -// ------------------------------------------------------------------- - -// DeletePoolResponse - -// optional .beegfs.EntityIdSet pool = 1; -inline bool DeletePoolResponse::has_pool() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pool_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& DeletePoolResponse::_internal_pool() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.pool_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& DeletePoolResponse::pool() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.DeletePoolResponse.pool) - return _internal_pool(); -} -inline void DeletePoolResponse::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeletePoolResponse.pool) -} -inline ::beegfs::EntityIdSet* DeletePoolResponse::release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.pool_; - _impl_.pool_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* DeletePoolResponse::unsafe_arena_release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.DeletePoolResponse.pool) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.pool_; - _impl_.pool_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* DeletePoolResponse::_internal_mutable_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.pool_; -} -inline ::beegfs::EntityIdSet* DeletePoolResponse::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_pool(); - // @@protoc_insertion_point(field_mutable:management.DeletePoolResponse.pool) - return _msg; -} -inline void DeletePoolResponse::set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.DeletePoolResponse.pool) -} - -// ------------------------------------------------------------------- - -// GetBuddyGroupsRequest - -// ------------------------------------------------------------------- - -// GetBuddyGroupsResponse_BuddyGroup - -// .beegfs.EntityIdSet id = 1; -inline bool GetBuddyGroupsResponse_BuddyGroup::has_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.id_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& GetBuddyGroupsResponse_BuddyGroup::_internal_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.id_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& GetBuddyGroupsResponse_BuddyGroup::id() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetBuddyGroupsResponse.BuddyGroup.id) - return _internal_id(); -} -inline void GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_set_allocated_id(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); - } - _impl_.id_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetBuddyGroupsResponse.BuddyGroup.id) -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::release_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.id_; - _impl_.id_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_release_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetBuddyGroupsResponse.BuddyGroup.id) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.id_; - _impl_.id_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::_internal_mutable_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.id_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.id_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.id_; -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:management.GetBuddyGroupsResponse.BuddyGroup.id) - return _msg; -} -inline void GetBuddyGroupsResponse_BuddyGroup::set_allocated_id(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.id_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.id_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetBuddyGroupsResponse.BuddyGroup.id) -} - -// .beegfs.NodeType node_type = 2; -inline void GetBuddyGroupsResponse_BuddyGroup::clear_node_type() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.node_type_ = 0; -} -inline ::beegfs::NodeType GetBuddyGroupsResponse_BuddyGroup::node_type() const { - // @@protoc_insertion_point(field_get:management.GetBuddyGroupsResponse.BuddyGroup.node_type) - return _internal_node_type(); -} -inline void GetBuddyGroupsResponse_BuddyGroup::set_node_type(::beegfs::NodeType value) { - _internal_set_node_type(value); - // @@protoc_insertion_point(field_set:management.GetBuddyGroupsResponse.BuddyGroup.node_type) -} -inline ::beegfs::NodeType GetBuddyGroupsResponse_BuddyGroup::_internal_node_type() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::NodeType>(_impl_.node_type_); -} -inline void GetBuddyGroupsResponse_BuddyGroup::_internal_set_node_type(::beegfs::NodeType value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.node_type_ = value; -} - -// .beegfs.EntityIdSet primary_target = 3; -inline bool GetBuddyGroupsResponse_BuddyGroup::has_primary_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.primary_target_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& GetBuddyGroupsResponse_BuddyGroup::_internal_primary_target() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.primary_target_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& GetBuddyGroupsResponse_BuddyGroup::primary_target() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetBuddyGroupsResponse.BuddyGroup.primary_target) - return _internal_primary_target(); -} -inline void GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_set_allocated_primary_target(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.primary_target_); - } - _impl_.primary_target_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetBuddyGroupsResponse.BuddyGroup.primary_target) -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::release_primary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::beegfs::EntityIdSet* released = _impl_.primary_target_; - _impl_.primary_target_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_release_primary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetBuddyGroupsResponse.BuddyGroup.primary_target) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::beegfs::EntityIdSet* temp = _impl_.primary_target_; - _impl_.primary_target_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::_internal_mutable_primary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.primary_target_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.primary_target_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.primary_target_; -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::mutable_primary_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_primary_target(); - // @@protoc_insertion_point(field_mutable:management.GetBuddyGroupsResponse.BuddyGroup.primary_target) - return _msg; -} -inline void GetBuddyGroupsResponse_BuddyGroup::set_allocated_primary_target(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.primary_target_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - - _impl_.primary_target_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetBuddyGroupsResponse.BuddyGroup.primary_target) -} - -// .beegfs.EntityIdSet secondary_target = 4; -inline bool GetBuddyGroupsResponse_BuddyGroup::has_secondary_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.secondary_target_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& GetBuddyGroupsResponse_BuddyGroup::_internal_secondary_target() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.secondary_target_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& GetBuddyGroupsResponse_BuddyGroup::secondary_target() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetBuddyGroupsResponse.BuddyGroup.secondary_target) - return _internal_secondary_target(); -} -inline void GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_set_allocated_secondary_target(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.secondary_target_); - } - _impl_.secondary_target_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetBuddyGroupsResponse.BuddyGroup.secondary_target) -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::release_secondary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000004u; - ::beegfs::EntityIdSet* released = _impl_.secondary_target_; - _impl_.secondary_target_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_release_secondary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetBuddyGroupsResponse.BuddyGroup.secondary_target) - - _impl_._has_bits_[0] &= ~0x00000004u; - ::beegfs::EntityIdSet* temp = _impl_.secondary_target_; - _impl_.secondary_target_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::_internal_mutable_secondary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.secondary_target_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.secondary_target_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.secondary_target_; -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::mutable_secondary_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000004u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_secondary_target(); - // @@protoc_insertion_point(field_mutable:management.GetBuddyGroupsResponse.BuddyGroup.secondary_target) - return _msg; -} -inline void GetBuddyGroupsResponse_BuddyGroup::set_allocated_secondary_target(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.secondary_target_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - - _impl_.secondary_target_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetBuddyGroupsResponse.BuddyGroup.secondary_target) -} - -// .beegfs.ConsistencyState primary_consistency_state = 5; -inline void GetBuddyGroupsResponse_BuddyGroup::clear_primary_consistency_state() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.primary_consistency_state_ = 0; -} -inline ::beegfs::ConsistencyState GetBuddyGroupsResponse_BuddyGroup::primary_consistency_state() const { - // @@protoc_insertion_point(field_get:management.GetBuddyGroupsResponse.BuddyGroup.primary_consistency_state) - return _internal_primary_consistency_state(); -} -inline void GetBuddyGroupsResponse_BuddyGroup::set_primary_consistency_state(::beegfs::ConsistencyState value) { - _internal_set_primary_consistency_state(value); - // @@protoc_insertion_point(field_set:management.GetBuddyGroupsResponse.BuddyGroup.primary_consistency_state) -} -inline ::beegfs::ConsistencyState GetBuddyGroupsResponse_BuddyGroup::_internal_primary_consistency_state() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::ConsistencyState>(_impl_.primary_consistency_state_); -} -inline void GetBuddyGroupsResponse_BuddyGroup::_internal_set_primary_consistency_state(::beegfs::ConsistencyState value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.primary_consistency_state_ = value; -} - -// .beegfs.ConsistencyState secondary_consistency_state = 6; -inline void GetBuddyGroupsResponse_BuddyGroup::clear_secondary_consistency_state() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.secondary_consistency_state_ = 0; -} -inline ::beegfs::ConsistencyState GetBuddyGroupsResponse_BuddyGroup::secondary_consistency_state() const { - // @@protoc_insertion_point(field_get:management.GetBuddyGroupsResponse.BuddyGroup.secondary_consistency_state) - return _internal_secondary_consistency_state(); -} -inline void GetBuddyGroupsResponse_BuddyGroup::set_secondary_consistency_state(::beegfs::ConsistencyState value) { - _internal_set_secondary_consistency_state(value); - // @@protoc_insertion_point(field_set:management.GetBuddyGroupsResponse.BuddyGroup.secondary_consistency_state) -} -inline ::beegfs::ConsistencyState GetBuddyGroupsResponse_BuddyGroup::_internal_secondary_consistency_state() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::ConsistencyState>(_impl_.secondary_consistency_state_); -} -inline void GetBuddyGroupsResponse_BuddyGroup::_internal_set_secondary_consistency_state(::beegfs::ConsistencyState value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.secondary_consistency_state_ = value; -} - -// optional .beegfs.EntityIdSet storage_pool = 7; -inline bool GetBuddyGroupsResponse_BuddyGroup::has_storage_pool() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.storage_pool_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& GetBuddyGroupsResponse_BuddyGroup::_internal_storage_pool() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.storage_pool_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& GetBuddyGroupsResponse_BuddyGroup::storage_pool() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetBuddyGroupsResponse.BuddyGroup.storage_pool) - return _internal_storage_pool(); -} -inline void GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_set_allocated_storage_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.storage_pool_); - } - _impl_.storage_pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetBuddyGroupsResponse.BuddyGroup.storage_pool) -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::release_storage_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000008u; - ::beegfs::EntityIdSet* released = _impl_.storage_pool_; - _impl_.storage_pool_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::unsafe_arena_release_storage_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetBuddyGroupsResponse.BuddyGroup.storage_pool) - - _impl_._has_bits_[0] &= ~0x00000008u; - ::beegfs::EntityIdSet* temp = _impl_.storage_pool_; - _impl_.storage_pool_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::_internal_mutable_storage_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.storage_pool_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.storage_pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.storage_pool_; -} -inline ::beegfs::EntityIdSet* GetBuddyGroupsResponse_BuddyGroup::mutable_storage_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000008u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_storage_pool(); - // @@protoc_insertion_point(field_mutable:management.GetBuddyGroupsResponse.BuddyGroup.storage_pool) - return _msg; -} -inline void GetBuddyGroupsResponse_BuddyGroup::set_allocated_storage_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.storage_pool_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - - _impl_.storage_pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetBuddyGroupsResponse.BuddyGroup.storage_pool) -} - -// ------------------------------------------------------------------- - -// GetBuddyGroupsResponse - -// repeated .management.GetBuddyGroupsResponse.BuddyGroup buddy_groups = 1; -inline int GetBuddyGroupsResponse::_internal_buddy_groups_size() const { - return _internal_buddy_groups().size(); -} -inline int GetBuddyGroupsResponse::buddy_groups_size() const { - return _internal_buddy_groups_size(); -} -inline void GetBuddyGroupsResponse::clear_buddy_groups() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.buddy_groups_.Clear(); -} -inline ::management::GetBuddyGroupsResponse_BuddyGroup* GetBuddyGroupsResponse::mutable_buddy_groups(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:management.GetBuddyGroupsResponse.buddy_groups) - return _internal_mutable_buddy_groups()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::management::GetBuddyGroupsResponse_BuddyGroup>* GetBuddyGroupsResponse::mutable_buddy_groups() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.GetBuddyGroupsResponse.buddy_groups) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_buddy_groups(); -} -inline const ::management::GetBuddyGroupsResponse_BuddyGroup& GetBuddyGroupsResponse::buddy_groups(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetBuddyGroupsResponse.buddy_groups) - return _internal_buddy_groups().Get(index); -} -inline ::management::GetBuddyGroupsResponse_BuddyGroup* GetBuddyGroupsResponse::add_buddy_groups() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::management::GetBuddyGroupsResponse_BuddyGroup* _add = _internal_mutable_buddy_groups()->Add(); - // @@protoc_insertion_point(field_add:management.GetBuddyGroupsResponse.buddy_groups) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::management::GetBuddyGroupsResponse_BuddyGroup>& GetBuddyGroupsResponse::buddy_groups() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.GetBuddyGroupsResponse.buddy_groups) - return _internal_buddy_groups(); -} -inline const ::google::protobuf::RepeatedPtrField<::management::GetBuddyGroupsResponse_BuddyGroup>& -GetBuddyGroupsResponse::_internal_buddy_groups() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.buddy_groups_; -} -inline ::google::protobuf::RepeatedPtrField<::management::GetBuddyGroupsResponse_BuddyGroup>* -GetBuddyGroupsResponse::_internal_mutable_buddy_groups() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.buddy_groups_; -} - -// ------------------------------------------------------------------- - -// CreateBuddyGroupRequest - -// optional .beegfs.NodeType node_type = 1; -inline bool CreateBuddyGroupRequest::has_node_type() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline void CreateBuddyGroupRequest::clear_node_type() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.node_type_ = 0; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::beegfs::NodeType CreateBuddyGroupRequest::node_type() const { - // @@protoc_insertion_point(field_get:management.CreateBuddyGroupRequest.node_type) - return _internal_node_type(); -} -inline void CreateBuddyGroupRequest::set_node_type(::beegfs::NodeType value) { - _internal_set_node_type(value); - _impl_._has_bits_[0] |= 0x00000008u; - // @@protoc_insertion_point(field_set:management.CreateBuddyGroupRequest.node_type) -} -inline ::beegfs::NodeType CreateBuddyGroupRequest::_internal_node_type() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::NodeType>(_impl_.node_type_); -} -inline void CreateBuddyGroupRequest::_internal_set_node_type(::beegfs::NodeType value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.node_type_ = value; -} - -// optional uint32 num_id = 2; -inline bool CreateBuddyGroupRequest::has_num_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline void CreateBuddyGroupRequest::clear_num_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.num_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline ::uint32_t CreateBuddyGroupRequest::num_id() const { - // @@protoc_insertion_point(field_get:management.CreateBuddyGroupRequest.num_id) - return _internal_num_id(); -} -inline void CreateBuddyGroupRequest::set_num_id(::uint32_t value) { - _internal_set_num_id(value); - _impl_._has_bits_[0] |= 0x00000010u; - // @@protoc_insertion_point(field_set:management.CreateBuddyGroupRequest.num_id) -} -inline ::uint32_t CreateBuddyGroupRequest::_internal_num_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.num_id_; -} -inline void CreateBuddyGroupRequest::_internal_set_num_id(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.num_id_ = value; -} - -// optional string alias = 3; -inline bool CreateBuddyGroupRequest::has_alias() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline void CreateBuddyGroupRequest::clear_alias() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.alias_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& CreateBuddyGroupRequest::alias() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.CreateBuddyGroupRequest.alias) - return _internal_alias(); -} -template -inline PROTOBUF_ALWAYS_INLINE void CreateBuddyGroupRequest::set_alias(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.alias_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:management.CreateBuddyGroupRequest.alias) -} -inline std::string* CreateBuddyGroupRequest::mutable_alias() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_alias(); - // @@protoc_insertion_point(field_mutable:management.CreateBuddyGroupRequest.alias) - return _s; -} -inline const std::string& CreateBuddyGroupRequest::_internal_alias() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.alias_.Get(); -} -inline void CreateBuddyGroupRequest::_internal_set_alias(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.alias_.Set(value, GetArena()); -} -inline std::string* CreateBuddyGroupRequest::_internal_mutable_alias() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.alias_.Mutable( GetArena()); -} -inline std::string* CreateBuddyGroupRequest::release_alias() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.CreateBuddyGroupRequest.alias) - if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* released = _impl_.alias_.Release(); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { - _impl_.alias_.Set("", GetArena()); - } - return released; -} -inline void CreateBuddyGroupRequest::set_allocated_alias(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.alias_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.alias_.IsDefault()) { - _impl_.alias_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:management.CreateBuddyGroupRequest.alias) -} - -// optional .beegfs.EntityIdSet primary_target = 4; -inline bool CreateBuddyGroupRequest::has_primary_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.primary_target_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& CreateBuddyGroupRequest::_internal_primary_target() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.primary_target_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& CreateBuddyGroupRequest::primary_target() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.CreateBuddyGroupRequest.primary_target) - return _internal_primary_target(); -} -inline void CreateBuddyGroupRequest::unsafe_arena_set_allocated_primary_target(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.primary_target_); - } - _impl_.primary_target_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.CreateBuddyGroupRequest.primary_target) -} -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::release_primary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::beegfs::EntityIdSet* released = _impl_.primary_target_; - _impl_.primary_target_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::unsafe_arena_release_primary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.CreateBuddyGroupRequest.primary_target) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::beegfs::EntityIdSet* temp = _impl_.primary_target_; - _impl_.primary_target_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::_internal_mutable_primary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.primary_target_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.primary_target_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.primary_target_; -} -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::mutable_primary_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_primary_target(); - // @@protoc_insertion_point(field_mutable:management.CreateBuddyGroupRequest.primary_target) - return _msg; -} -inline void CreateBuddyGroupRequest::set_allocated_primary_target(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.primary_target_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - - _impl_.primary_target_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.CreateBuddyGroupRequest.primary_target) -} - -// optional .beegfs.EntityIdSet secondary_target = 5; -inline bool CreateBuddyGroupRequest::has_secondary_target() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.secondary_target_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& CreateBuddyGroupRequest::_internal_secondary_target() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.secondary_target_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& CreateBuddyGroupRequest::secondary_target() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.CreateBuddyGroupRequest.secondary_target) - return _internal_secondary_target(); -} -inline void CreateBuddyGroupRequest::unsafe_arena_set_allocated_secondary_target(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.secondary_target_); - } - _impl_.secondary_target_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.CreateBuddyGroupRequest.secondary_target) -} -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::release_secondary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000004u; - ::beegfs::EntityIdSet* released = _impl_.secondary_target_; - _impl_.secondary_target_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::unsafe_arena_release_secondary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.CreateBuddyGroupRequest.secondary_target) - - _impl_._has_bits_[0] &= ~0x00000004u; - ::beegfs::EntityIdSet* temp = _impl_.secondary_target_; - _impl_.secondary_target_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::_internal_mutable_secondary_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.secondary_target_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.secondary_target_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.secondary_target_; -} -inline ::beegfs::EntityIdSet* CreateBuddyGroupRequest::mutable_secondary_target() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000004u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_secondary_target(); - // @@protoc_insertion_point(field_mutable:management.CreateBuddyGroupRequest.secondary_target) - return _msg; -} -inline void CreateBuddyGroupRequest::set_allocated_secondary_target(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.secondary_target_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - - _impl_.secondary_target_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.CreateBuddyGroupRequest.secondary_target) -} - -// ------------------------------------------------------------------- - -// CreateBuddyGroupResponse - -// optional .beegfs.EntityIdSet group = 1; -inline bool CreateBuddyGroupResponse::has_group() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.group_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& CreateBuddyGroupResponse::_internal_group() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.group_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& CreateBuddyGroupResponse::group() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.CreateBuddyGroupResponse.group) - return _internal_group(); -} -inline void CreateBuddyGroupResponse::unsafe_arena_set_allocated_group(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.group_); - } - _impl_.group_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.CreateBuddyGroupResponse.group) -} -inline ::beegfs::EntityIdSet* CreateBuddyGroupResponse::release_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.group_; - _impl_.group_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* CreateBuddyGroupResponse::unsafe_arena_release_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.CreateBuddyGroupResponse.group) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.group_; - _impl_.group_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* CreateBuddyGroupResponse::_internal_mutable_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.group_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.group_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.group_; -} -inline ::beegfs::EntityIdSet* CreateBuddyGroupResponse::mutable_group() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_group(); - // @@protoc_insertion_point(field_mutable:management.CreateBuddyGroupResponse.group) - return _msg; -} -inline void CreateBuddyGroupResponse::set_allocated_group(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.group_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.group_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.CreateBuddyGroupResponse.group) -} - -// ------------------------------------------------------------------- - -// DeleteBuddyGroupRequest - -// optional .beegfs.EntityIdSet group = 1; -inline bool DeleteBuddyGroupRequest::has_group() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.group_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& DeleteBuddyGroupRequest::_internal_group() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.group_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& DeleteBuddyGroupRequest::group() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.DeleteBuddyGroupRequest.group) - return _internal_group(); -} -inline void DeleteBuddyGroupRequest::unsafe_arena_set_allocated_group(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.group_); - } - _impl_.group_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeleteBuddyGroupRequest.group) -} -inline ::beegfs::EntityIdSet* DeleteBuddyGroupRequest::release_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.group_; - _impl_.group_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* DeleteBuddyGroupRequest::unsafe_arena_release_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.DeleteBuddyGroupRequest.group) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.group_; - _impl_.group_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* DeleteBuddyGroupRequest::_internal_mutable_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.group_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.group_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.group_; -} -inline ::beegfs::EntityIdSet* DeleteBuddyGroupRequest::mutable_group() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_group(); - // @@protoc_insertion_point(field_mutable:management.DeleteBuddyGroupRequest.group) - return _msg; -} -inline void DeleteBuddyGroupRequest::set_allocated_group(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.group_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.group_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.DeleteBuddyGroupRequest.group) -} - -// optional bool execute = 2; -inline bool DeleteBuddyGroupRequest::has_execute() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void DeleteBuddyGroupRequest::clear_execute() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.execute_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool DeleteBuddyGroupRequest::execute() const { - // @@protoc_insertion_point(field_get:management.DeleteBuddyGroupRequest.execute) - return _internal_execute(); -} -inline void DeleteBuddyGroupRequest::set_execute(bool value) { - _internal_set_execute(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:management.DeleteBuddyGroupRequest.execute) -} -inline bool DeleteBuddyGroupRequest::_internal_execute() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.execute_; -} -inline void DeleteBuddyGroupRequest::_internal_set_execute(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.execute_ = value; -} - -// ------------------------------------------------------------------- - -// DeleteBuddyGroupResponse - -// optional .beegfs.EntityIdSet group = 1; -inline bool DeleteBuddyGroupResponse::has_group() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.group_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& DeleteBuddyGroupResponse::_internal_group() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.group_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& DeleteBuddyGroupResponse::group() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.DeleteBuddyGroupResponse.group) - return _internal_group(); -} -inline void DeleteBuddyGroupResponse::unsafe_arena_set_allocated_group(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.group_); - } - _impl_.group_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.DeleteBuddyGroupResponse.group) -} -inline ::beegfs::EntityIdSet* DeleteBuddyGroupResponse::release_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.group_; - _impl_.group_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* DeleteBuddyGroupResponse::unsafe_arena_release_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.DeleteBuddyGroupResponse.group) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.group_; - _impl_.group_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* DeleteBuddyGroupResponse::_internal_mutable_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.group_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.group_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.group_; -} -inline ::beegfs::EntityIdSet* DeleteBuddyGroupResponse::mutable_group() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_group(); - // @@protoc_insertion_point(field_mutable:management.DeleteBuddyGroupResponse.group) - return _msg; -} -inline void DeleteBuddyGroupResponse::set_allocated_group(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.group_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.group_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.DeleteBuddyGroupResponse.group) -} - -// ------------------------------------------------------------------- - -// MirrorRootInodeRequest - -// ------------------------------------------------------------------- - -// MirrorRootInodeResponse - -// ------------------------------------------------------------------- - -// StartResyncRequest - -// optional .beegfs.EntityIdSet buddy_group = 1; -inline bool StartResyncRequest::has_buddy_group() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.buddy_group_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& StartResyncRequest::_internal_buddy_group() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.buddy_group_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& StartResyncRequest::buddy_group() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.StartResyncRequest.buddy_group) - return _internal_buddy_group(); -} -inline void StartResyncRequest::unsafe_arena_set_allocated_buddy_group(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.buddy_group_); - } - _impl_.buddy_group_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.StartResyncRequest.buddy_group) -} -inline ::beegfs::EntityIdSet* StartResyncRequest::release_buddy_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.buddy_group_; - _impl_.buddy_group_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* StartResyncRequest::unsafe_arena_release_buddy_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.StartResyncRequest.buddy_group) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.buddy_group_; - _impl_.buddy_group_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* StartResyncRequest::_internal_mutable_buddy_group() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.buddy_group_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.buddy_group_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.buddy_group_; -} -inline ::beegfs::EntityIdSet* StartResyncRequest::mutable_buddy_group() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_buddy_group(); - // @@protoc_insertion_point(field_mutable:management.StartResyncRequest.buddy_group) - return _msg; -} -inline void StartResyncRequest::set_allocated_buddy_group(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.buddy_group_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.buddy_group_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.StartResyncRequest.buddy_group) -} - -// optional int64 timestamp = 2; -inline bool StartResyncRequest::has_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void StartResyncRequest::clear_timestamp() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.timestamp_ = ::int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::int64_t StartResyncRequest::timestamp() const { - // @@protoc_insertion_point(field_get:management.StartResyncRequest.timestamp) - return _internal_timestamp(); -} -inline void StartResyncRequest::set_timestamp(::int64_t value) { - _internal_set_timestamp(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:management.StartResyncRequest.timestamp) -} -inline ::int64_t StartResyncRequest::_internal_timestamp() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.timestamp_; -} -inline void StartResyncRequest::_internal_set_timestamp(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.timestamp_ = value; -} - -// optional bool restart = 3; -inline bool StartResyncRequest::has_restart() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline void StartResyncRequest::clear_restart() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.restart_ = false; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline bool StartResyncRequest::restart() const { - // @@protoc_insertion_point(field_get:management.StartResyncRequest.restart) - return _internal_restart(); -} -inline void StartResyncRequest::set_restart(bool value) { - _internal_set_restart(value); - _impl_._has_bits_[0] |= 0x00000004u; - // @@protoc_insertion_point(field_set:management.StartResyncRequest.restart) -} -inline bool StartResyncRequest::_internal_restart() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.restart_; -} -inline void StartResyncRequest::_internal_set_restart(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.restart_ = value; -} - -// ------------------------------------------------------------------- - -// StartResyncResponse - -// ------------------------------------------------------------------- - -// QuotaInfo - -// optional uint32 quota_id = 1; -inline bool QuotaInfo::has_quota_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void QuotaInfo::clear_quota_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.quota_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::uint32_t QuotaInfo::quota_id() const { - // @@protoc_insertion_point(field_get:management.QuotaInfo.quota_id) - return _internal_quota_id(); -} -inline void QuotaInfo::set_quota_id(::uint32_t value) { - _internal_set_quota_id(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:management.QuotaInfo.quota_id) -} -inline ::uint32_t QuotaInfo::_internal_quota_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.quota_id_; -} -inline void QuotaInfo::_internal_set_quota_id(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.quota_id_ = value; -} - -// .beegfs.QuotaIdType id_type = 2; -inline void QuotaInfo::clear_id_type() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.id_type_ = 0; -} -inline ::beegfs::QuotaIdType QuotaInfo::id_type() const { - // @@protoc_insertion_point(field_get:management.QuotaInfo.id_type) - return _internal_id_type(); -} -inline void QuotaInfo::set_id_type(::beegfs::QuotaIdType value) { - _internal_set_id_type(value); - // @@protoc_insertion_point(field_set:management.QuotaInfo.id_type) -} -inline ::beegfs::QuotaIdType QuotaInfo::_internal_id_type() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beegfs::QuotaIdType>(_impl_.id_type_); -} -inline void QuotaInfo::_internal_set_id_type(::beegfs::QuotaIdType value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.id_type_ = value; -} - -// optional .beegfs.EntityIdSet pool = 3; -inline bool QuotaInfo::has_pool() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pool_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& QuotaInfo::_internal_pool() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.pool_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& QuotaInfo::pool() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.QuotaInfo.pool) - return _internal_pool(); -} -inline void QuotaInfo::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.QuotaInfo.pool) -} -inline ::beegfs::EntityIdSet* QuotaInfo::release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.pool_; - _impl_.pool_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* QuotaInfo::unsafe_arena_release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.QuotaInfo.pool) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.pool_; - _impl_.pool_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* QuotaInfo::_internal_mutable_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.pool_; -} -inline ::beegfs::EntityIdSet* QuotaInfo::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_pool(); - // @@protoc_insertion_point(field_mutable:management.QuotaInfo.pool) - return _msg; -} -inline void QuotaInfo::set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.QuotaInfo.pool) -} - -// optional int64 space_limit = 4; -inline bool QuotaInfo::has_space_limit() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline void QuotaInfo::clear_space_limit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.space_limit_ = ::int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::int64_t QuotaInfo::space_limit() const { - // @@protoc_insertion_point(field_get:management.QuotaInfo.space_limit) - return _internal_space_limit(); -} -inline void QuotaInfo::set_space_limit(::int64_t value) { - _internal_set_space_limit(value); - _impl_._has_bits_[0] |= 0x00000004u; - // @@protoc_insertion_point(field_set:management.QuotaInfo.space_limit) -} -inline ::int64_t QuotaInfo::_internal_space_limit() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.space_limit_; -} -inline void QuotaInfo::_internal_set_space_limit(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.space_limit_ = value; -} - -// optional int64 inode_limit = 5; -inline bool QuotaInfo::has_inode_limit() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline void QuotaInfo::clear_inode_limit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.inode_limit_ = ::int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::int64_t QuotaInfo::inode_limit() const { - // @@protoc_insertion_point(field_get:management.QuotaInfo.inode_limit) - return _internal_inode_limit(); -} -inline void QuotaInfo::set_inode_limit(::int64_t value) { - _internal_set_inode_limit(value); - _impl_._has_bits_[0] |= 0x00000008u; - // @@protoc_insertion_point(field_set:management.QuotaInfo.inode_limit) -} -inline ::int64_t QuotaInfo::_internal_inode_limit() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.inode_limit_; -} -inline void QuotaInfo::_internal_set_inode_limit(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.inode_limit_ = value; -} - -// optional int64 space_used = 6; -inline bool QuotaInfo::has_space_used() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline void QuotaInfo::clear_space_used() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.space_used_ = ::int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline ::int64_t QuotaInfo::space_used() const { - // @@protoc_insertion_point(field_get:management.QuotaInfo.space_used) - return _internal_space_used(); -} -inline void QuotaInfo::set_space_used(::int64_t value) { - _internal_set_space_used(value); - _impl_._has_bits_[0] |= 0x00000010u; - // @@protoc_insertion_point(field_set:management.QuotaInfo.space_used) -} -inline ::int64_t QuotaInfo::_internal_space_used() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.space_used_; -} -inline void QuotaInfo::_internal_set_space_used(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.space_used_ = value; -} - -// optional int64 inode_used = 7; -inline bool QuotaInfo::has_inode_used() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline void QuotaInfo::clear_inode_used() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.inode_used_ = ::int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline ::int64_t QuotaInfo::inode_used() const { - // @@protoc_insertion_point(field_get:management.QuotaInfo.inode_used) - return _internal_inode_used(); -} -inline void QuotaInfo::set_inode_used(::int64_t value) { - _internal_set_inode_used(value); - _impl_._has_bits_[0] |= 0x00000020u; - // @@protoc_insertion_point(field_set:management.QuotaInfo.inode_used) -} -inline ::int64_t QuotaInfo::_internal_inode_used() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.inode_used_; -} -inline void QuotaInfo::_internal_set_inode_used(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.inode_used_ = value; -} - -// ------------------------------------------------------------------- - -// SetDefaultQuotaLimitsRequest - -// optional .beegfs.EntityIdSet pool = 1; -inline bool SetDefaultQuotaLimitsRequest::has_pool() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pool_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& SetDefaultQuotaLimitsRequest::_internal_pool() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.pool_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& SetDefaultQuotaLimitsRequest::pool() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.SetDefaultQuotaLimitsRequest.pool) - return _internal_pool(); -} -inline void SetDefaultQuotaLimitsRequest::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.SetDefaultQuotaLimitsRequest.pool) -} -inline ::beegfs::EntityIdSet* SetDefaultQuotaLimitsRequest::release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.pool_; - _impl_.pool_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* SetDefaultQuotaLimitsRequest::unsafe_arena_release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.SetDefaultQuotaLimitsRequest.pool) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.pool_; - _impl_.pool_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* SetDefaultQuotaLimitsRequest::_internal_mutable_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.pool_; -} -inline ::beegfs::EntityIdSet* SetDefaultQuotaLimitsRequest::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_pool(); - // @@protoc_insertion_point(field_mutable:management.SetDefaultQuotaLimitsRequest.pool) - return _msg; -} -inline void SetDefaultQuotaLimitsRequest::set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.SetDefaultQuotaLimitsRequest.pool) -} - -// optional int64 user_space_limit = 2; -inline bool SetDefaultQuotaLimitsRequest::has_user_space_limit() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void SetDefaultQuotaLimitsRequest::clear_user_space_limit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_space_limit_ = ::int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::int64_t SetDefaultQuotaLimitsRequest::user_space_limit() const { - // @@protoc_insertion_point(field_get:management.SetDefaultQuotaLimitsRequest.user_space_limit) - return _internal_user_space_limit(); -} -inline void SetDefaultQuotaLimitsRequest::set_user_space_limit(::int64_t value) { - _internal_set_user_space_limit(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:management.SetDefaultQuotaLimitsRequest.user_space_limit) -} -inline ::int64_t SetDefaultQuotaLimitsRequest::_internal_user_space_limit() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.user_space_limit_; -} -inline void SetDefaultQuotaLimitsRequest::_internal_set_user_space_limit(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_space_limit_ = value; -} - -// optional int64 user_inode_limit = 3; -inline bool SetDefaultQuotaLimitsRequest::has_user_inode_limit() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline void SetDefaultQuotaLimitsRequest::clear_user_inode_limit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_inode_limit_ = ::int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::int64_t SetDefaultQuotaLimitsRequest::user_inode_limit() const { - // @@protoc_insertion_point(field_get:management.SetDefaultQuotaLimitsRequest.user_inode_limit) - return _internal_user_inode_limit(); -} -inline void SetDefaultQuotaLimitsRequest::set_user_inode_limit(::int64_t value) { - _internal_set_user_inode_limit(value); - _impl_._has_bits_[0] |= 0x00000004u; - // @@protoc_insertion_point(field_set:management.SetDefaultQuotaLimitsRequest.user_inode_limit) -} -inline ::int64_t SetDefaultQuotaLimitsRequest::_internal_user_inode_limit() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.user_inode_limit_; -} -inline void SetDefaultQuotaLimitsRequest::_internal_set_user_inode_limit(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_inode_limit_ = value; -} - -// optional int64 group_space_limit = 4; -inline bool SetDefaultQuotaLimitsRequest::has_group_space_limit() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline void SetDefaultQuotaLimitsRequest::clear_group_space_limit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_space_limit_ = ::int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::int64_t SetDefaultQuotaLimitsRequest::group_space_limit() const { - // @@protoc_insertion_point(field_get:management.SetDefaultQuotaLimitsRequest.group_space_limit) - return _internal_group_space_limit(); -} -inline void SetDefaultQuotaLimitsRequest::set_group_space_limit(::int64_t value) { - _internal_set_group_space_limit(value); - _impl_._has_bits_[0] |= 0x00000008u; - // @@protoc_insertion_point(field_set:management.SetDefaultQuotaLimitsRequest.group_space_limit) -} -inline ::int64_t SetDefaultQuotaLimitsRequest::_internal_group_space_limit() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.group_space_limit_; -} -inline void SetDefaultQuotaLimitsRequest::_internal_set_group_space_limit(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_space_limit_ = value; -} - -// optional int64 group_inode_limit = 5; -inline bool SetDefaultQuotaLimitsRequest::has_group_inode_limit() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline void SetDefaultQuotaLimitsRequest::clear_group_inode_limit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_inode_limit_ = ::int64_t{0}; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline ::int64_t SetDefaultQuotaLimitsRequest::group_inode_limit() const { - // @@protoc_insertion_point(field_get:management.SetDefaultQuotaLimitsRequest.group_inode_limit) - return _internal_group_inode_limit(); -} -inline void SetDefaultQuotaLimitsRequest::set_group_inode_limit(::int64_t value) { - _internal_set_group_inode_limit(value); - _impl_._has_bits_[0] |= 0x00000010u; - // @@protoc_insertion_point(field_set:management.SetDefaultQuotaLimitsRequest.group_inode_limit) -} -inline ::int64_t SetDefaultQuotaLimitsRequest::_internal_group_inode_limit() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.group_inode_limit_; -} -inline void SetDefaultQuotaLimitsRequest::_internal_set_group_inode_limit(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_inode_limit_ = value; -} - -// ------------------------------------------------------------------- - -// SetDefaultQuotaLimitsResponse - -// ------------------------------------------------------------------- - -// SetQuotaLimitsRequest - -// repeated .management.QuotaInfo limits = 1; -inline int SetQuotaLimitsRequest::_internal_limits_size() const { - return _internal_limits().size(); -} -inline int SetQuotaLimitsRequest::limits_size() const { - return _internal_limits_size(); -} -inline void SetQuotaLimitsRequest::clear_limits() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.limits_.Clear(); -} -inline ::management::QuotaInfo* SetQuotaLimitsRequest::mutable_limits(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:management.SetQuotaLimitsRequest.limits) - return _internal_mutable_limits()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>* SetQuotaLimitsRequest::mutable_limits() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.SetQuotaLimitsRequest.limits) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_limits(); -} -inline const ::management::QuotaInfo& SetQuotaLimitsRequest::limits(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.SetQuotaLimitsRequest.limits) - return _internal_limits().Get(index); -} -inline ::management::QuotaInfo* SetQuotaLimitsRequest::add_limits() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::management::QuotaInfo* _add = _internal_mutable_limits()->Add(); - // @@protoc_insertion_point(field_add:management.SetQuotaLimitsRequest.limits) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>& SetQuotaLimitsRequest::limits() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.SetQuotaLimitsRequest.limits) - return _internal_limits(); -} -inline const ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>& -SetQuotaLimitsRequest::_internal_limits() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.limits_; -} -inline ::google::protobuf::RepeatedPtrField<::management::QuotaInfo>* -SetQuotaLimitsRequest::_internal_mutable_limits() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.limits_; -} - -// ------------------------------------------------------------------- - -// SetQuotaLimitsResponse - -// ------------------------------------------------------------------- - -// GetQuotaLimitsRequest - -// optional uint32 user_id_min = 1; -inline bool GetQuotaLimitsRequest::has_user_id_min() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void GetQuotaLimitsRequest::clear_user_id_min() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_id_min_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::uint32_t GetQuotaLimitsRequest::user_id_min() const { - // @@protoc_insertion_point(field_get:management.GetQuotaLimitsRequest.user_id_min) - return _internal_user_id_min(); -} -inline void GetQuotaLimitsRequest::set_user_id_min(::uint32_t value) { - _internal_set_user_id_min(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:management.GetQuotaLimitsRequest.user_id_min) -} -inline ::uint32_t GetQuotaLimitsRequest::_internal_user_id_min() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.user_id_min_; -} -inline void GetQuotaLimitsRequest::_internal_set_user_id_min(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_id_min_ = value; -} - -// optional uint32 user_id_max = 2; -inline bool GetQuotaLimitsRequest::has_user_id_max() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline void GetQuotaLimitsRequest::clear_user_id_max() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_id_max_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::uint32_t GetQuotaLimitsRequest::user_id_max() const { - // @@protoc_insertion_point(field_get:management.GetQuotaLimitsRequest.user_id_max) - return _internal_user_id_max(); -} -inline void GetQuotaLimitsRequest::set_user_id_max(::uint32_t value) { - _internal_set_user_id_max(value); - _impl_._has_bits_[0] |= 0x00000004u; - // @@protoc_insertion_point(field_set:management.GetQuotaLimitsRequest.user_id_max) -} -inline ::uint32_t GetQuotaLimitsRequest::_internal_user_id_max() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.user_id_max_; -} -inline void GetQuotaLimitsRequest::_internal_set_user_id_max(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_id_max_ = value; -} - -// repeated uint32 user_id_list = 3; -inline int GetQuotaLimitsRequest::_internal_user_id_list_size() const { - return _internal_user_id_list().size(); -} -inline int GetQuotaLimitsRequest::user_id_list_size() const { - return _internal_user_id_list_size(); -} -inline void GetQuotaLimitsRequest::clear_user_id_list() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_id_list_.Clear(); -} -inline ::uint32_t GetQuotaLimitsRequest::user_id_list(int index) const { - // @@protoc_insertion_point(field_get:management.GetQuotaLimitsRequest.user_id_list) - return _internal_user_id_list().Get(index); -} -inline void GetQuotaLimitsRequest::set_user_id_list(int index, ::uint32_t value) { - _internal_mutable_user_id_list()->Set(index, value); - // @@protoc_insertion_point(field_set:management.GetQuotaLimitsRequest.user_id_list) -} -inline void GetQuotaLimitsRequest::add_user_id_list(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _internal_mutable_user_id_list()->Add(value); - // @@protoc_insertion_point(field_add:management.GetQuotaLimitsRequest.user_id_list) -} -inline const ::google::protobuf::RepeatedField<::uint32_t>& GetQuotaLimitsRequest::user_id_list() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.GetQuotaLimitsRequest.user_id_list) - return _internal_user_id_list(); -} -inline ::google::protobuf::RepeatedField<::uint32_t>* GetQuotaLimitsRequest::mutable_user_id_list() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.GetQuotaLimitsRequest.user_id_list) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_user_id_list(); -} -inline const ::google::protobuf::RepeatedField<::uint32_t>& -GetQuotaLimitsRequest::_internal_user_id_list() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.user_id_list_; -} -inline ::google::protobuf::RepeatedField<::uint32_t>* GetQuotaLimitsRequest::_internal_mutable_user_id_list() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.user_id_list_; -} - -// optional uint32 group_id_min = 4; -inline bool GetQuotaLimitsRequest::has_group_id_min() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline void GetQuotaLimitsRequest::clear_group_id_min() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_id_min_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::uint32_t GetQuotaLimitsRequest::group_id_min() const { - // @@protoc_insertion_point(field_get:management.GetQuotaLimitsRequest.group_id_min) - return _internal_group_id_min(); -} -inline void GetQuotaLimitsRequest::set_group_id_min(::uint32_t value) { - _internal_set_group_id_min(value); - _impl_._has_bits_[0] |= 0x00000008u; - // @@protoc_insertion_point(field_set:management.GetQuotaLimitsRequest.group_id_min) -} -inline ::uint32_t GetQuotaLimitsRequest::_internal_group_id_min() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.group_id_min_; -} -inline void GetQuotaLimitsRequest::_internal_set_group_id_min(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_id_min_ = value; -} - -// optional uint32 group_id_max = 5; -inline bool GetQuotaLimitsRequest::has_group_id_max() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline void GetQuotaLimitsRequest::clear_group_id_max() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_id_max_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline ::uint32_t GetQuotaLimitsRequest::group_id_max() const { - // @@protoc_insertion_point(field_get:management.GetQuotaLimitsRequest.group_id_max) - return _internal_group_id_max(); -} -inline void GetQuotaLimitsRequest::set_group_id_max(::uint32_t value) { - _internal_set_group_id_max(value); - _impl_._has_bits_[0] |= 0x00000010u; - // @@protoc_insertion_point(field_set:management.GetQuotaLimitsRequest.group_id_max) -} -inline ::uint32_t GetQuotaLimitsRequest::_internal_group_id_max() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.group_id_max_; -} -inline void GetQuotaLimitsRequest::_internal_set_group_id_max(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_id_max_ = value; -} - -// repeated uint32 group_id_list = 6; -inline int GetQuotaLimitsRequest::_internal_group_id_list_size() const { - return _internal_group_id_list().size(); -} -inline int GetQuotaLimitsRequest::group_id_list_size() const { - return _internal_group_id_list_size(); -} -inline void GetQuotaLimitsRequest::clear_group_id_list() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_id_list_.Clear(); -} -inline ::uint32_t GetQuotaLimitsRequest::group_id_list(int index) const { - // @@protoc_insertion_point(field_get:management.GetQuotaLimitsRequest.group_id_list) - return _internal_group_id_list().Get(index); -} -inline void GetQuotaLimitsRequest::set_group_id_list(int index, ::uint32_t value) { - _internal_mutable_group_id_list()->Set(index, value); - // @@protoc_insertion_point(field_set:management.GetQuotaLimitsRequest.group_id_list) -} -inline void GetQuotaLimitsRequest::add_group_id_list(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _internal_mutable_group_id_list()->Add(value); - // @@protoc_insertion_point(field_add:management.GetQuotaLimitsRequest.group_id_list) -} -inline const ::google::protobuf::RepeatedField<::uint32_t>& GetQuotaLimitsRequest::group_id_list() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.GetQuotaLimitsRequest.group_id_list) - return _internal_group_id_list(); -} -inline ::google::protobuf::RepeatedField<::uint32_t>* GetQuotaLimitsRequest::mutable_group_id_list() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.GetQuotaLimitsRequest.group_id_list) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_group_id_list(); -} -inline const ::google::protobuf::RepeatedField<::uint32_t>& -GetQuotaLimitsRequest::_internal_group_id_list() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.group_id_list_; -} -inline ::google::protobuf::RepeatedField<::uint32_t>* GetQuotaLimitsRequest::_internal_mutable_group_id_list() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.group_id_list_; -} - -// optional .beegfs.EntityIdSet pool = 7; -inline bool GetQuotaLimitsRequest::has_pool() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pool_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& GetQuotaLimitsRequest::_internal_pool() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.pool_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& GetQuotaLimitsRequest::pool() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetQuotaLimitsRequest.pool) - return _internal_pool(); -} -inline void GetQuotaLimitsRequest::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetQuotaLimitsRequest.pool) -} -inline ::beegfs::EntityIdSet* GetQuotaLimitsRequest::release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.pool_; - _impl_.pool_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* GetQuotaLimitsRequest::unsafe_arena_release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetQuotaLimitsRequest.pool) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.pool_; - _impl_.pool_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* GetQuotaLimitsRequest::_internal_mutable_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.pool_; -} -inline ::beegfs::EntityIdSet* GetQuotaLimitsRequest::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_pool(); - // @@protoc_insertion_point(field_mutable:management.GetQuotaLimitsRequest.pool) - return _msg; -} -inline void GetQuotaLimitsRequest::set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetQuotaLimitsRequest.pool) -} - -// ------------------------------------------------------------------- - -// GetQuotaLimitsResponse - -// optional .management.QuotaInfo limits = 1; -inline bool GetQuotaLimitsResponse::has_limits() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.limits_ != nullptr); - return value; -} -inline void GetQuotaLimitsResponse::clear_limits() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.limits_ != nullptr) _impl_.limits_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::management::QuotaInfo& GetQuotaLimitsResponse::_internal_limits() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::management::QuotaInfo* p = _impl_.limits_; - return p != nullptr ? *p : reinterpret_cast(::management::_QuotaInfo_default_instance_); -} -inline const ::management::QuotaInfo& GetQuotaLimitsResponse::limits() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetQuotaLimitsResponse.limits) - return _internal_limits(); -} -inline void GetQuotaLimitsResponse::unsafe_arena_set_allocated_limits(::management::QuotaInfo* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.limits_); - } - _impl_.limits_ = reinterpret_cast<::management::QuotaInfo*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetQuotaLimitsResponse.limits) -} -inline ::management::QuotaInfo* GetQuotaLimitsResponse::release_limits() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::management::QuotaInfo* released = _impl_.limits_; - _impl_.limits_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::management::QuotaInfo* GetQuotaLimitsResponse::unsafe_arena_release_limits() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetQuotaLimitsResponse.limits) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::management::QuotaInfo* temp = _impl_.limits_; - _impl_.limits_ = nullptr; - return temp; -} -inline ::management::QuotaInfo* GetQuotaLimitsResponse::_internal_mutable_limits() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.limits_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::management::QuotaInfo>(GetArena()); - _impl_.limits_ = reinterpret_cast<::management::QuotaInfo*>(p); - } - return _impl_.limits_; -} -inline ::management::QuotaInfo* GetQuotaLimitsResponse::mutable_limits() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::management::QuotaInfo* _msg = _internal_mutable_limits(); - // @@protoc_insertion_point(field_mutable:management.GetQuotaLimitsResponse.limits) - return _msg; -} -inline void GetQuotaLimitsResponse::set_allocated_limits(::management::QuotaInfo* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.limits_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.limits_ = reinterpret_cast<::management::QuotaInfo*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetQuotaLimitsResponse.limits) -} - -// ------------------------------------------------------------------- - -// GetQuotaUsageRequest - -// optional uint32 user_id_min = 1; -inline bool GetQuotaUsageRequest::has_user_id_min() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void GetQuotaUsageRequest::clear_user_id_min() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_id_min_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::uint32_t GetQuotaUsageRequest::user_id_min() const { - // @@protoc_insertion_point(field_get:management.GetQuotaUsageRequest.user_id_min) - return _internal_user_id_min(); -} -inline void GetQuotaUsageRequest::set_user_id_min(::uint32_t value) { - _internal_set_user_id_min(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:management.GetQuotaUsageRequest.user_id_min) -} -inline ::uint32_t GetQuotaUsageRequest::_internal_user_id_min() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.user_id_min_; -} -inline void GetQuotaUsageRequest::_internal_set_user_id_min(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_id_min_ = value; -} - -// optional uint32 user_id_max = 2; -inline bool GetQuotaUsageRequest::has_user_id_max() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline void GetQuotaUsageRequest::clear_user_id_max() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_id_max_ = 0u; - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline ::uint32_t GetQuotaUsageRequest::user_id_max() const { - // @@protoc_insertion_point(field_get:management.GetQuotaUsageRequest.user_id_max) - return _internal_user_id_max(); -} -inline void GetQuotaUsageRequest::set_user_id_max(::uint32_t value) { - _internal_set_user_id_max(value); - _impl_._has_bits_[0] |= 0x00000004u; - // @@protoc_insertion_point(field_set:management.GetQuotaUsageRequest.user_id_max) -} -inline ::uint32_t GetQuotaUsageRequest::_internal_user_id_max() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.user_id_max_; -} -inline void GetQuotaUsageRequest::_internal_set_user_id_max(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_id_max_ = value; -} - -// repeated uint32 user_id_list = 3; -inline int GetQuotaUsageRequest::_internal_user_id_list_size() const { - return _internal_user_id_list().size(); -} -inline int GetQuotaUsageRequest::user_id_list_size() const { - return _internal_user_id_list_size(); -} -inline void GetQuotaUsageRequest::clear_user_id_list() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.user_id_list_.Clear(); -} -inline ::uint32_t GetQuotaUsageRequest::user_id_list(int index) const { - // @@protoc_insertion_point(field_get:management.GetQuotaUsageRequest.user_id_list) - return _internal_user_id_list().Get(index); -} -inline void GetQuotaUsageRequest::set_user_id_list(int index, ::uint32_t value) { - _internal_mutable_user_id_list()->Set(index, value); - // @@protoc_insertion_point(field_set:management.GetQuotaUsageRequest.user_id_list) -} -inline void GetQuotaUsageRequest::add_user_id_list(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _internal_mutable_user_id_list()->Add(value); - // @@protoc_insertion_point(field_add:management.GetQuotaUsageRequest.user_id_list) -} -inline const ::google::protobuf::RepeatedField<::uint32_t>& GetQuotaUsageRequest::user_id_list() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.GetQuotaUsageRequest.user_id_list) - return _internal_user_id_list(); -} -inline ::google::protobuf::RepeatedField<::uint32_t>* GetQuotaUsageRequest::mutable_user_id_list() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.GetQuotaUsageRequest.user_id_list) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_user_id_list(); -} -inline const ::google::protobuf::RepeatedField<::uint32_t>& -GetQuotaUsageRequest::_internal_user_id_list() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.user_id_list_; -} -inline ::google::protobuf::RepeatedField<::uint32_t>* GetQuotaUsageRequest::_internal_mutable_user_id_list() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.user_id_list_; -} - -// optional uint32 group_id_min = 4; -inline bool GetQuotaUsageRequest::has_group_id_min() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline void GetQuotaUsageRequest::clear_group_id_min() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_id_min_ = 0u; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline ::uint32_t GetQuotaUsageRequest::group_id_min() const { - // @@protoc_insertion_point(field_get:management.GetQuotaUsageRequest.group_id_min) - return _internal_group_id_min(); -} -inline void GetQuotaUsageRequest::set_group_id_min(::uint32_t value) { - _internal_set_group_id_min(value); - _impl_._has_bits_[0] |= 0x00000008u; - // @@protoc_insertion_point(field_set:management.GetQuotaUsageRequest.group_id_min) -} -inline ::uint32_t GetQuotaUsageRequest::_internal_group_id_min() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.group_id_min_; -} -inline void GetQuotaUsageRequest::_internal_set_group_id_min(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_id_min_ = value; -} - -// optional uint32 group_id_max = 5; -inline bool GetQuotaUsageRequest::has_group_id_max() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline void GetQuotaUsageRequest::clear_group_id_max() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_id_max_ = 0u; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline ::uint32_t GetQuotaUsageRequest::group_id_max() const { - // @@protoc_insertion_point(field_get:management.GetQuotaUsageRequest.group_id_max) - return _internal_group_id_max(); -} -inline void GetQuotaUsageRequest::set_group_id_max(::uint32_t value) { - _internal_set_group_id_max(value); - _impl_._has_bits_[0] |= 0x00000010u; - // @@protoc_insertion_point(field_set:management.GetQuotaUsageRequest.group_id_max) -} -inline ::uint32_t GetQuotaUsageRequest::_internal_group_id_max() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.group_id_max_; -} -inline void GetQuotaUsageRequest::_internal_set_group_id_max(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_id_max_ = value; -} - -// repeated uint32 group_id_list = 6; -inline int GetQuotaUsageRequest::_internal_group_id_list_size() const { - return _internal_group_id_list().size(); -} -inline int GetQuotaUsageRequest::group_id_list_size() const { - return _internal_group_id_list_size(); -} -inline void GetQuotaUsageRequest::clear_group_id_list() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.group_id_list_.Clear(); -} -inline ::uint32_t GetQuotaUsageRequest::group_id_list(int index) const { - // @@protoc_insertion_point(field_get:management.GetQuotaUsageRequest.group_id_list) - return _internal_group_id_list().Get(index); -} -inline void GetQuotaUsageRequest::set_group_id_list(int index, ::uint32_t value) { - _internal_mutable_group_id_list()->Set(index, value); - // @@protoc_insertion_point(field_set:management.GetQuotaUsageRequest.group_id_list) -} -inline void GetQuotaUsageRequest::add_group_id_list(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _internal_mutable_group_id_list()->Add(value); - // @@protoc_insertion_point(field_add:management.GetQuotaUsageRequest.group_id_list) -} -inline const ::google::protobuf::RepeatedField<::uint32_t>& GetQuotaUsageRequest::group_id_list() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:management.GetQuotaUsageRequest.group_id_list) - return _internal_group_id_list(); -} -inline ::google::protobuf::RepeatedField<::uint32_t>* GetQuotaUsageRequest::mutable_group_id_list() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:management.GetQuotaUsageRequest.group_id_list) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_group_id_list(); -} -inline const ::google::protobuf::RepeatedField<::uint32_t>& -GetQuotaUsageRequest::_internal_group_id_list() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.group_id_list_; -} -inline ::google::protobuf::RepeatedField<::uint32_t>* GetQuotaUsageRequest::_internal_mutable_group_id_list() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.group_id_list_; -} - -// optional .beegfs.EntityIdSet pool = 7; -inline bool GetQuotaUsageRequest::has_pool() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.pool_ != nullptr); - return value; -} -inline const ::beegfs::EntityIdSet& GetQuotaUsageRequest::_internal_pool() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beegfs::EntityIdSet* p = _impl_.pool_; - return p != nullptr ? *p : reinterpret_cast(::beegfs::_EntityIdSet_default_instance_); -} -inline const ::beegfs::EntityIdSet& GetQuotaUsageRequest::pool() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetQuotaUsageRequest.pool) - return _internal_pool(); -} -inline void GetQuotaUsageRequest::unsafe_arena_set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetQuotaUsageRequest.pool) -} -inline ::beegfs::EntityIdSet* GetQuotaUsageRequest::release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* released = _impl_.pool_; - _impl_.pool_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::beegfs::EntityIdSet* GetQuotaUsageRequest::unsafe_arena_release_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetQuotaUsageRequest.pool) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beegfs::EntityIdSet* temp = _impl_.pool_; - _impl_.pool_ = nullptr; - return temp; -} -inline ::beegfs::EntityIdSet* GetQuotaUsageRequest::_internal_mutable_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.pool_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beegfs::EntityIdSet>(GetArena()); - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(p); - } - return _impl_.pool_; -} -inline ::beegfs::EntityIdSet* GetQuotaUsageRequest::mutable_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beegfs::EntityIdSet* _msg = _internal_mutable_pool(); - // @@protoc_insertion_point(field_mutable:management.GetQuotaUsageRequest.pool) - return _msg; -} -inline void GetQuotaUsageRequest::set_allocated_pool(::beegfs::EntityIdSet* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.pool_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.pool_ = reinterpret_cast<::beegfs::EntityIdSet*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetQuotaUsageRequest.pool) -} - -// optional bool exceeded = 8; -inline bool GetQuotaUsageRequest::has_exceeded() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline void GetQuotaUsageRequest::clear_exceeded() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.exceeded_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool GetQuotaUsageRequest::exceeded() const { - // @@protoc_insertion_point(field_get:management.GetQuotaUsageRequest.exceeded) - return _internal_exceeded(); -} -inline void GetQuotaUsageRequest::set_exceeded(bool value) { - _internal_set_exceeded(value); - _impl_._has_bits_[0] |= 0x00000020u; - // @@protoc_insertion_point(field_set:management.GetQuotaUsageRequest.exceeded) -} -inline bool GetQuotaUsageRequest::_internal_exceeded() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.exceeded_; -} -inline void GetQuotaUsageRequest::_internal_set_exceeded(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.exceeded_ = value; -} - -// ------------------------------------------------------------------- - -// GetQuotaUsageResponse - -// optional .management.QuotaInfo entry = 1; -inline bool GetQuotaUsageResponse::has_entry() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.entry_ != nullptr); - return value; -} -inline void GetQuotaUsageResponse::clear_entry() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.entry_ != nullptr) _impl_.entry_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::management::QuotaInfo& GetQuotaUsageResponse::_internal_entry() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::management::QuotaInfo* p = _impl_.entry_; - return p != nullptr ? *p : reinterpret_cast(::management::_QuotaInfo_default_instance_); -} -inline const ::management::QuotaInfo& GetQuotaUsageResponse::entry() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetQuotaUsageResponse.entry) - return _internal_entry(); -} -inline void GetQuotaUsageResponse::unsafe_arena_set_allocated_entry(::management::QuotaInfo* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.entry_); - } - _impl_.entry_ = reinterpret_cast<::management::QuotaInfo*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetQuotaUsageResponse.entry) -} -inline ::management::QuotaInfo* GetQuotaUsageResponse::release_entry() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::management::QuotaInfo* released = _impl_.entry_; - _impl_.entry_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::management::QuotaInfo* GetQuotaUsageResponse::unsafe_arena_release_entry() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetQuotaUsageResponse.entry) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::management::QuotaInfo* temp = _impl_.entry_; - _impl_.entry_ = nullptr; - return temp; -} -inline ::management::QuotaInfo* GetQuotaUsageResponse::_internal_mutable_entry() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.entry_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::management::QuotaInfo>(GetArena()); - _impl_.entry_ = reinterpret_cast<::management::QuotaInfo*>(p); - } - return _impl_.entry_; -} -inline ::management::QuotaInfo* GetQuotaUsageResponse::mutable_entry() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::management::QuotaInfo* _msg = _internal_mutable_entry(); - // @@protoc_insertion_point(field_mutable:management.GetQuotaUsageResponse.entry) - return _msg; -} -inline void GetQuotaUsageResponse::set_allocated_entry(::management::QuotaInfo* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.entry_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.entry_ = reinterpret_cast<::management::QuotaInfo*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetQuotaUsageResponse.entry) -} - -// optional uint64 refresh_period_s = 2; -inline bool GetQuotaUsageResponse::has_refresh_period_s() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void GetQuotaUsageResponse::clear_refresh_period_s() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.refresh_period_s_ = ::uint64_t{0u}; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::uint64_t GetQuotaUsageResponse::refresh_period_s() const { - // @@protoc_insertion_point(field_get:management.GetQuotaUsageResponse.refresh_period_s) - return _internal_refresh_period_s(); -} -inline void GetQuotaUsageResponse::set_refresh_period_s(::uint64_t value) { - _internal_set_refresh_period_s(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:management.GetQuotaUsageResponse.refresh_period_s) -} -inline ::uint64_t GetQuotaUsageResponse::_internal_refresh_period_s() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.refresh_period_s_; -} -inline void GetQuotaUsageResponse::_internal_set_refresh_period_s(::uint64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.refresh_period_s_ = value; -} - -// ------------------------------------------------------------------- - -// GetLicenseRequest - -// optional bool reload = 1; -inline bool GetLicenseRequest::has_reload() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline void GetLicenseRequest::clear_reload() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.reload_ = false; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline bool GetLicenseRequest::reload() const { - // @@protoc_insertion_point(field_get:management.GetLicenseRequest.reload) - return _internal_reload(); -} -inline void GetLicenseRequest::set_reload(bool value) { - _internal_set_reload(value); - _impl_._has_bits_[0] |= 0x00000001u; - // @@protoc_insertion_point(field_set:management.GetLicenseRequest.reload) -} -inline bool GetLicenseRequest::_internal_reload() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.reload_; -} -inline void GetLicenseRequest::_internal_set_reload(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.reload_ = value; -} - -// ------------------------------------------------------------------- - -// GetLicenseResponse - -// optional .license.GetCertDataResult cert_data = 1; -inline bool GetLicenseResponse::has_cert_data() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cert_data_ != nullptr); - return value; -} -inline const ::license::GetCertDataResult& GetLicenseResponse::_internal_cert_data() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::license::GetCertDataResult* p = _impl_.cert_data_; - return p != nullptr ? *p : reinterpret_cast(::license::_GetCertDataResult_default_instance_); -} -inline const ::license::GetCertDataResult& GetLicenseResponse::cert_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:management.GetLicenseResponse.cert_data) - return _internal_cert_data(); -} -inline void GetLicenseResponse::unsafe_arena_set_allocated_cert_data(::license::GetCertDataResult* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cert_data_); - } - _impl_.cert_data_ = reinterpret_cast<::license::GetCertDataResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:management.GetLicenseResponse.cert_data) -} -inline ::license::GetCertDataResult* GetLicenseResponse::release_cert_data() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::license::GetCertDataResult* released = _impl_.cert_data_; - _impl_.cert_data_ = nullptr; - if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { - auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - if (GetArena() == nullptr) { - delete old; - } - } else { - if (GetArena() != nullptr) { - released = ::google::protobuf::internal::DuplicateIfNonNull(released); - } - } - return released; -} -inline ::license::GetCertDataResult* GetLicenseResponse::unsafe_arena_release_cert_data() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:management.GetLicenseResponse.cert_data) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::license::GetCertDataResult* temp = _impl_.cert_data_; - _impl_.cert_data_ = nullptr; - return temp; -} -inline ::license::GetCertDataResult* GetLicenseResponse::_internal_mutable_cert_data() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.cert_data_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::license::GetCertDataResult>(GetArena()); - _impl_.cert_data_ = reinterpret_cast<::license::GetCertDataResult*>(p); - } - return _impl_.cert_data_; -} -inline ::license::GetCertDataResult* GetLicenseResponse::mutable_cert_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::license::GetCertDataResult* _msg = _internal_mutable_cert_data(); - // @@protoc_insertion_point(field_mutable:management.GetLicenseResponse.cert_data) - return _msg; -} -inline void GetLicenseResponse::set_allocated_cert_data(::license::GetCertDataResult* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cert_data_); - } - - if (value != nullptr) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); - if (message_arena != submessage_arena) { - value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); - } - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - - _impl_.cert_data_ = reinterpret_cast<::license::GetCertDataResult*>(value); - // @@protoc_insertion_point(field_set_allocated:management.GetLicenseResponse.cert_data) -} - -#ifdef __GNUC__ -#pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) -} // namespace management - - -// @@protoc_insertion_point(global_scope) - -#include "google/protobuf/port_undef.inc" - -#endif // management_2eproto_2epb_2eh