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..f36b076 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 are 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/beeremote.pb.cc b/cpp/beeremote.pb.cc deleted file mode 100644 index 4e05298..0000000 --- a/cpp/beeremote.pb.cc +++ /dev/null @@ -1,7691 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: beeremote.proto -// Protobuf C++ Version: 5.29.2 - -#include "beeremote.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 beeremote { - template -PROTOBUF_CONSTEXPR UpdateWorkResponse::UpdateWorkResponse(::_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 UpdateWorkResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR UpdateWorkResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UpdateWorkResponseDefaultTypeInternal() {} - union { - UpdateWorkResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateWorkResponseDefaultTypeInternal _UpdateWorkResponse_default_instance_; - template -PROTOBUF_CONSTEXPR UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::MapEntry(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::MapEntry() { -} -#endif // PROTOBUF_CUSTOM_VTABLE -struct UpdateJobsRequest_RemoteTargetsEntry_DoNotUseDefaultTypeInternal { - PROTOBUF_CONSTEXPR UpdateJobsRequest_RemoteTargetsEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UpdateJobsRequest_RemoteTargetsEntry_DoNotUseDefaultTypeInternal() {} - union { - UpdateJobsRequest_RemoteTargetsEntry_DoNotUse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateJobsRequest_RemoteTargetsEntry_DoNotUseDefaultTypeInternal _UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_default_instance_; - -inline constexpr JobRequest_GenerationStatus::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : message_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - state_{static_cast< ::beeremote::JobRequest_GenerationStatus_State >(0)}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR JobRequest_GenerationStatus::JobRequest_GenerationStatus(::_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 JobRequest_GenerationStatusDefaultTypeInternal { - PROTOBUF_CONSTEXPR JobRequest_GenerationStatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~JobRequest_GenerationStatusDefaultTypeInternal() {} - union { - JobRequest_GenerationStatus _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobRequest_GenerationStatusDefaultTypeInternal _JobRequest_GenerationStatus_default_instance_; - -inline constexpr GetStubContentsResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - url_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - rst_id_{0u} {} - -template -PROTOBUF_CONSTEXPR GetStubContentsResponse::GetStubContentsResponse(::_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 GetStubContentsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetStubContentsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetStubContentsResponseDefaultTypeInternal() {} - union { - GetStubContentsResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetStubContentsResponseDefaultTypeInternal _GetStubContentsResponse_default_instance_; - -inline constexpr GetStubContentsRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR GetStubContentsRequest::GetStubContentsRequest(::_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 GetStubContentsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetStubContentsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetStubContentsRequestDefaultTypeInternal() {} - union { - GetStubContentsRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetStubContentsRequestDefaultTypeInternal _GetStubContentsRequest_default_instance_; - template -PROTOBUF_CONSTEXPR GetRSTConfigRequest::GetRSTConfigRequest(::_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 GetRSTConfigRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetRSTConfigRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetRSTConfigRequestDefaultTypeInternal() {} - union { - GetRSTConfigRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRSTConfigRequestDefaultTypeInternal _GetRSTConfigRequest_default_instance_; - -inline constexpr GetJobsRequest_QueryIdAndPath::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : job_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR GetJobsRequest_QueryIdAndPath::GetJobsRequest_QueryIdAndPath(::_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 GetJobsRequest_QueryIdAndPathDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetJobsRequest_QueryIdAndPathDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetJobsRequest_QueryIdAndPathDefaultTypeInternal() {} - union { - GetJobsRequest_QueryIdAndPath _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetJobsRequest_QueryIdAndPathDefaultTypeInternal _GetJobsRequest_QueryIdAndPath_default_instance_; - -inline constexpr UpdateJobsRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - remote_targets_{}, - path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - job_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - force_update_{false}, - new_state_{static_cast< ::beeremote::UpdateJobsRequest_NewState >(0)} {} - -template -PROTOBUF_CONSTEXPR UpdateJobsRequest::UpdateJobsRequest(::_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 UpdateJobsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR UpdateJobsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UpdateJobsRequestDefaultTypeInternal() {} - union { - UpdateJobsRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateJobsRequestDefaultTypeInternal _UpdateJobsRequest_default_instance_; - -inline constexpr Job_Status::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - message_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - updated_{nullptr}, - state_{static_cast< ::beeremote::Job_State >(0)} {} - -template -PROTOBUF_CONSTEXPR Job_Status::Job_Status(::_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 Job_StatusDefaultTypeInternal { - PROTOBUF_CONSTEXPR Job_StatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~Job_StatusDefaultTypeInternal() {} - union { - Job_Status _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Job_StatusDefaultTypeInternal _Job_Status_default_instance_; - -inline constexpr GetJobsRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : include_work_requests_{false}, - include_work_results_{false}, - update_work_results_{false}, - query_{}, - _cached_size_{0}, - _oneof_case_{} {} - -template -PROTOBUF_CONSTEXPR GetJobsRequest::GetJobsRequest(::_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 GetJobsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetJobsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetJobsRequestDefaultTypeInternal() {} - union { - GetJobsRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetJobsRequestDefaultTypeInternal _GetJobsRequest_default_instance_; - -inline constexpr UpdateWorkRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - work_{nullptr} {} - -template -PROTOBUF_CONSTEXPR UpdateWorkRequest::UpdateWorkRequest(::_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 UpdateWorkRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR UpdateWorkRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UpdateWorkRequestDefaultTypeInternal() {} - union { - UpdateWorkRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateWorkRequestDefaultTypeInternal _UpdateWorkRequest_default_instance_; - -inline constexpr UpdatePathsRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - path_prefix_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - requested_update_{nullptr} {} - -template -PROTOBUF_CONSTEXPR UpdatePathsRequest::UpdatePathsRequest(::_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 UpdatePathsRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR UpdatePathsRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UpdatePathsRequestDefaultTypeInternal() {} - union { - UpdatePathsRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdatePathsRequestDefaultTypeInternal _UpdatePathsRequest_default_instance_; - -inline constexpr JobResult_WorkResult::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - assigned_node_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - assigned_pool_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - work_{nullptr} {} - -template -PROTOBUF_CONSTEXPR JobResult_WorkResult::JobResult_WorkResult(::_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 JobResult_WorkResultDefaultTypeInternal { - PROTOBUF_CONSTEXPR JobResult_WorkResultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~JobResult_WorkResultDefaultTypeInternal() {} - union { - JobResult_WorkResult _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobResult_WorkResultDefaultTypeInternal _JobResult_WorkResult_default_instance_; - -inline constexpr JobRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - name_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - generation_status_{nullptr}, - priority_{0}, - remote_storage_target_{0u}, - force_{false}, - stub_local_{false}, - update_{false}, - type_{}, - _oneof_case_{} {} - -template -PROTOBUF_CONSTEXPR JobRequest::JobRequest(::_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 JobRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR JobRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~JobRequestDefaultTypeInternal() {} - union { - JobRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobRequestDefaultTypeInternal _JobRequest_default_instance_; - -inline constexpr SubmitJobRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - request_{nullptr} {} - -template -PROTOBUF_CONSTEXPR SubmitJobRequest::SubmitJobRequest(::_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 SubmitJobRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubmitJobRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SubmitJobRequestDefaultTypeInternal() {} - union { - SubmitJobRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubmitJobRequestDefaultTypeInternal _SubmitJobRequest_default_instance_; - -inline constexpr Job::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - external_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - request_{nullptr}, - created_{nullptr}, - status_{nullptr}, - start_mtime_{nullptr}, - stop_mtime_{nullptr} {} - -template -PROTOBUF_CONSTEXPR Job::Job(::_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 JobDefaultTypeInternal { - PROTOBUF_CONSTEXPR JobDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~JobDefaultTypeInternal() {} - union { - Job _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobDefaultTypeInternal _Job_default_instance_; - -inline constexpr GetRSTConfigResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : rsts_{}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR GetRSTConfigResponse::GetRSTConfigResponse(::_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 GetRSTConfigResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetRSTConfigResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetRSTConfigResponseDefaultTypeInternal() {} - union { - GetRSTConfigResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetRSTConfigResponseDefaultTypeInternal _GetRSTConfigResponse_default_instance_; - -inline constexpr JobResult::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - work_requests_{}, - work_results_{}, - job_{nullptr} {} - -template -PROTOBUF_CONSTEXPR JobResult::JobResult(::_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 JobResultDefaultTypeInternal { - PROTOBUF_CONSTEXPR JobResultDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~JobResultDefaultTypeInternal() {} - union { - JobResult _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobResultDefaultTypeInternal _JobResult_default_instance_; - -inline constexpr UpdateJobsResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : results_{}, - message_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - ok_{false}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR UpdateJobsResponse::UpdateJobsResponse(::_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 UpdateJobsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR UpdateJobsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UpdateJobsResponseDefaultTypeInternal() {} - union { - UpdateJobsResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateJobsResponseDefaultTypeInternal _UpdateJobsResponse_default_instance_; - -inline constexpr SubmitJobResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - result_{nullptr}, - status_{static_cast< ::beeremote::SubmitJobResponse_ResponseStatus >(0)} {} - -template -PROTOBUF_CONSTEXPR SubmitJobResponse::SubmitJobResponse(::_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 SubmitJobResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubmitJobResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SubmitJobResponseDefaultTypeInternal() {} - union { - SubmitJobResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubmitJobResponseDefaultTypeInternal _SubmitJobResponse_default_instance_; - -inline constexpr GetJobsResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : results_{}, - path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR GetJobsResponse::GetJobsResponse(::_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 GetJobsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetJobsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetJobsResponseDefaultTypeInternal() {} - union { - GetJobsResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetJobsResponseDefaultTypeInternal _GetJobsResponse_default_instance_; - -inline constexpr UpdatePathsResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - update_result_{nullptr} {} - -template -PROTOBUF_CONSTEXPR UpdatePathsResponse::UpdatePathsResponse(::_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 UpdatePathsResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR UpdatePathsResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UpdatePathsResponseDefaultTypeInternal() {} - union { - UpdatePathsResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdatePathsResponseDefaultTypeInternal _UpdatePathsResponse_default_instance_; -} // namespace beeremote -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_beeremote_2eproto[4]; -static constexpr const ::_pb::ServiceDescriptor** - file_level_service_descriptors_beeremote_2eproto = nullptr; -const ::uint32_t - TableStruct_beeremote_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::beeremote::SubmitJobRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beeremote::SubmitJobRequest, _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(::beeremote::SubmitJobRequest, _impl_.request_), - 0, - PROTOBUF_FIELD_OFFSET(::beeremote::SubmitJobResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beeremote::SubmitJobResponse, _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(::beeremote::SubmitJobResponse, _impl_.result_), - PROTOBUF_FIELD_OFFSET(::beeremote::SubmitJobResponse, _impl_.status_), - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest_GenerationStatus, _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(::beeremote::JobRequest_GenerationStatus, _impl_.state_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest_GenerationStatus, _impl_.message_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.path_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.priority_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.remote_storage_target_), - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.force_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.stub_local_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.generation_status_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.update_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_.type_), - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::beeremote::Job_Status, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beeremote::Job_Status, _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(::beeremote::Job_Status, _impl_.state_), - PROTOBUF_FIELD_OFFSET(::beeremote::Job_Status, _impl_.message_), - PROTOBUF_FIELD_OFFSET(::beeremote::Job_Status, _impl_.updated_), - ~0u, - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::beeremote::Job, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beeremote::Job, _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(::beeremote::Job, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::beeremote::Job, _impl_.request_), - PROTOBUF_FIELD_OFFSET(::beeremote::Job, _impl_.created_), - PROTOBUF_FIELD_OFFSET(::beeremote::Job, _impl_.status_), - PROTOBUF_FIELD_OFFSET(::beeremote::Job, _impl_.external_id_), - PROTOBUF_FIELD_OFFSET(::beeremote::Job, _impl_.start_mtime_), - PROTOBUF_FIELD_OFFSET(::beeremote::Job, _impl_.stop_mtime_), - ~0u, - 0, - 1, - 2, - ~0u, - 3, - 4, - PROTOBUF_FIELD_OFFSET(::beeremote::JobResult_WorkResult, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobResult_WorkResult, _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(::beeremote::JobResult_WorkResult, _impl_.work_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobResult_WorkResult, _impl_.assigned_node_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobResult_WorkResult, _impl_.assigned_pool_), - 0, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::beeremote::JobResult, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobResult, _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(::beeremote::JobResult, _impl_.job_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobResult, _impl_.work_requests_), - PROTOBUF_FIELD_OFFSET(::beeremote::JobResult, _impl_.work_results_), - 0, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::beeremote::UpdatePathsRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdatePathsRequest, _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(::beeremote::UpdatePathsRequest, _impl_.path_prefix_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdatePathsRequest, _impl_.requested_update_), - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::beeremote::UpdatePathsResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdatePathsResponse, _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(::beeremote::UpdatePathsResponse, _impl_.path_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdatePathsResponse, _impl_.update_result_), - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _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(::beeremote::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_.key_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_.value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsRequest, _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(::beeremote::UpdateJobsRequest, _impl_.path_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsRequest, _impl_.job_id_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsRequest, _impl_.remote_targets_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsRequest, _impl_.new_state_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsRequest, _impl_.force_update_), - ~0u, - 0, - ~0u, - ~0u, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsResponse, _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(::beeremote::UpdateJobsResponse, _impl_.ok_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsResponse, _impl_.message_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateJobsResponse, _impl_.results_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsRequest_QueryIdAndPath, _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(::beeremote::GetJobsRequest_QueryIdAndPath, _impl_.job_id_), - PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsRequest_QueryIdAndPath, _impl_.path_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsRequest, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsRequest, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsRequest, _impl_.include_work_requests_), - PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsRequest, _impl_.include_work_results_), - PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsRequest, _impl_.update_work_results_), - PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsRequest, _impl_.query_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsResponse, _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(::beeremote::GetJobsResponse, _impl_.path_), - PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsResponse, _impl_.results_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateWorkRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateWorkRequest, _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(::beeremote::UpdateWorkRequest, _impl_.work_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::beeremote::UpdateWorkResponse, _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(::beeremote::GetRSTConfigRequest, _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(::beeremote::GetRSTConfigResponse, _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(::beeremote::GetRSTConfigResponse, _impl_.rsts_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::beeremote::GetStubContentsRequest, _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(::beeremote::GetStubContentsRequest, _impl_.path_), - PROTOBUF_FIELD_OFFSET(::beeremote::GetStubContentsResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beeremote::GetStubContentsResponse, _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(::beeremote::GetStubContentsResponse, _impl_.rst_id_), - PROTOBUF_FIELD_OFFSET(::beeremote::GetStubContentsResponse, _impl_.url_), - 1, - 0, -}; - -static const ::_pbi::MigrationSchema - schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - {0, 9, -1, sizeof(::beeremote::SubmitJobRequest)}, - {10, 20, -1, sizeof(::beeremote::SubmitJobResponse)}, - {22, -1, -1, sizeof(::beeremote::JobRequest_GenerationStatus)}, - {32, 52, -1, sizeof(::beeremote::JobRequest)}, - {63, 74, -1, sizeof(::beeremote::Job_Status)}, - {77, 92, -1, sizeof(::beeremote::Job)}, - {99, 110, -1, sizeof(::beeremote::JobResult_WorkResult)}, - {113, 124, -1, sizeof(::beeremote::JobResult)}, - {127, 137, -1, sizeof(::beeremote::UpdatePathsRequest)}, - {139, 149, -1, sizeof(::beeremote::UpdatePathsResponse)}, - {151, 161, -1, sizeof(::beeremote::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse)}, - {163, 176, -1, sizeof(::beeremote::UpdateJobsRequest)}, - {181, -1, -1, sizeof(::beeremote::UpdateJobsResponse)}, - {192, -1, -1, sizeof(::beeremote::GetJobsRequest_QueryIdAndPath)}, - {202, -1, -1, sizeof(::beeremote::GetJobsRequest)}, - {217, -1, -1, sizeof(::beeremote::GetJobsResponse)}, - {227, 236, -1, sizeof(::beeremote::UpdateWorkRequest)}, - {237, -1, -1, sizeof(::beeremote::UpdateWorkResponse)}, - {245, -1, -1, sizeof(::beeremote::GetRSTConfigRequest)}, - {253, -1, -1, sizeof(::beeremote::GetRSTConfigResponse)}, - {262, -1, -1, sizeof(::beeremote::GetStubContentsRequest)}, - {271, 281, -1, sizeof(::beeremote::GetStubContentsResponse)}, -}; -static const ::_pb::Message* const file_default_instances[] = { - &::beeremote::_SubmitJobRequest_default_instance_._instance, - &::beeremote::_SubmitJobResponse_default_instance_._instance, - &::beeremote::_JobRequest_GenerationStatus_default_instance_._instance, - &::beeremote::_JobRequest_default_instance_._instance, - &::beeremote::_Job_Status_default_instance_._instance, - &::beeremote::_Job_default_instance_._instance, - &::beeremote::_JobResult_WorkResult_default_instance_._instance, - &::beeremote::_JobResult_default_instance_._instance, - &::beeremote::_UpdatePathsRequest_default_instance_._instance, - &::beeremote::_UpdatePathsResponse_default_instance_._instance, - &::beeremote::_UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_default_instance_._instance, - &::beeremote::_UpdateJobsRequest_default_instance_._instance, - &::beeremote::_UpdateJobsResponse_default_instance_._instance, - &::beeremote::_GetJobsRequest_QueryIdAndPath_default_instance_._instance, - &::beeremote::_GetJobsRequest_default_instance_._instance, - &::beeremote::_GetJobsResponse_default_instance_._instance, - &::beeremote::_UpdateWorkRequest_default_instance_._instance, - &::beeremote::_UpdateWorkResponse_default_instance_._instance, - &::beeremote::_GetRSTConfigRequest_default_instance_._instance, - &::beeremote::_GetRSTConfigResponse_default_instance_._instance, - &::beeremote::_GetStubContentsRequest_default_instance_._instance, - &::beeremote::_GetStubContentsResponse_default_instance_._instance, -}; -const char descriptor_table_protodef_beeremote_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - "\n\017beeremote.proto\022\tbeeremote\032\nflex.proto" - "\032\037google/protobuf/timestamp.proto\":\n\020Sub" - "mitJobRequest\022&\n\007request\030\001 \001(\0132\025.beeremo" - "te.JobRequest\"\210\002\n\021SubmitJobResponse\022$\n\006r" - "esult\030\001 \001(\0132\024.beeremote.JobResult\022;\n\006sta" - "tus\030\002 \001(\0162+.beeremote.SubmitJobResponse." - "ResponseStatus\"\217\001\n\016ResponseStatus\022\013\n\007INV" - "ALID\020\000\022\013\n\007CREATED\020\001\022\014\n\010EXISTING\020\002\022\017\n\013NOT" - "_ALLOWED\020\003\022\024\n\020ALREADY_COMPLETE\020\004\022\025\n\021ALRE" - "ADY_OFFLOADED\020\005\022\027\n\023FAILED_PRECONDITION\020\006" - "\"\230\004\n\nJobRequest\022\014\n\004path\030\001 \001(\t\022\014\n\004name\030\002 " - "\001(\t\022\020\n\010priority\030\003 \001(\005\022\035\n\025remote_storage_" - "target\030\004 \001(\r\022\035\n\004sync\030\n \001(\0132\r.flex.SyncJo" - "bH\000\022\035\n\004mock\030\013 \001(\0132\r.flex.MockJobH\000\022#\n\007bu" - "ilder\030\014 \001(\0132\020.flex.BuilderJobH\000\022\r\n\005force" - "\030\005 \001(\010\022\022\n\nstub_local\030\007 \001(\010\022A\n\021generation" - "_status\030\010 \001(\0132&.beeremote.JobRequest.Gen" - "erationStatus\022\023\n\006update\030\t \001(\010H\001\210\001\001\032\313\001\n\020G" - "enerationStatus\022;\n\005state\030\001 \001(\0162,.beeremo" - "te.JobRequest.GenerationStatus.State\022\017\n\007" - "message\030\002 \001(\t\"i\n\005State\022\017\n\013UNSPECIFIED\020\000\022" - "\024\n\020ALREADY_COMPLETE\020\001\022\025\n\021ALREADY_OFFLOAD" - "ED\020\002\022\027\n\023FAILED_PRECONDITION\020\003\022\t\n\005ERROR\020\004" - "B\006\n\004typeB\t\n\007_update\"\261\004\n\003Job\022\n\n\002id\030\001 \001(\t\022" - "&\n\007request\030\002 \001(\0132\025.beeremote.JobRequest\022" - "+\n\007created\030\003 \001(\0132\032.google.protobuf.Times" - "tamp\022%\n\006status\030\004 \001(\0132\025.beeremote.Job.Sta" - "tus\022\023\n\013external_id\030\005 \001(\t\0224\n\013start_mtime\030" - "\006 \001(\0132\032.google.protobuf.TimestampH\000\210\001\001\0223" - "\n\nstop_mtime\030\007 \001(\0132\032.google.protobuf.Tim" - "estampH\001\210\001\001\032k\n\006Status\022#\n\005state\030\001 \001(\0162\024.b" - "eeremote.Job.State\022\017\n\007message\030\002 \001(\t\022+\n\007u" - "pdated\030\003 \001(\0132\032.google.protobuf.Timestamp" - "\"\225\001\n\005State\022\017\n\013UNSPECIFIED\020\000\022\013\n\007UNKNOWN\020\001" - "\022\016\n\nUNASSIGNED\020\002\022\r\n\tSCHEDULED\020\003\022\013\n\007RUNNI" - "NG\020\004\022\t\n\005ERROR\020\006\022\n\n\006FAILED\020\007\022\r\n\tCANCELLED" - "\020\010\022\r\n\tCOMPLETED\020\t\022\r\n\tOFFLOADED\020\nB\016\n\014_sta" - "rt_mtimeB\r\n\013_stop_mtime\"\337\001\n\tJobResult\022\033\n" - "\003job\030\001 \001(\0132\016.beeremote.Job\022(\n\rwork_reque" - "sts\030\002 \003(\0132\021.flex.WorkRequest\0225\n\014work_res" - "ults\030\003 \003(\0132\037.beeremote.JobResult.WorkRes" - "ult\032T\n\nWorkResult\022\030\n\004work\030\001 \001(\0132\n.flex.W" - "ork\022\025\n\rassigned_node\030\002 \001(\t\022\025\n\rassigned_p" - "ool\030\003 \001(\t\"a\n\022UpdatePathsRequest\022\023\n\013path_" - "prefix\030\001 \001(\t\0226\n\020requested_update\030\002 \001(\0132\034" - ".beeremote.UpdateJobsRequest\"Y\n\023UpdatePa" - "thsResponse\022\014\n\004path\030\001 \001(\t\0224\n\rupdate_resu" - "lt\030\002 \001(\0132\035.beeremote.UpdateJobsResponse\"" - "\311\002\n\021UpdateJobsRequest\022\014\n\004path\030\001 \001(\t\022\023\n\006j" - "ob_id\030\002 \001(\tH\000\210\001\001\022G\n\016remote_targets\030\003 \003(\013" - "2/.beeremote.UpdateJobsRequest.RemoteTar" - "getsEntry\0228\n\tnew_state\030\n \001(\0162%.beeremote" - ".UpdateJobsRequest.NewState\022\024\n\014force_upd" - "ate\030\004 \001(\010\0324\n\022RemoteTargetsEntry\022\013\n\003key\030\001" - " \001(\r\022\r\n\005value\030\002 \001(\010:\0028\001\"7\n\010NewState\022\017\n\013U" - "NSPECIFIED\020\000\022\r\n\tCANCELLED\020\001\022\013\n\007DELETED\020\002" - "B\t\n\007_job_id\"X\n\022UpdateJobsResponse\022\n\n\002ok\030" - "\001 \001(\010\022\017\n\007message\030\002 \001(\t\022%\n\007results\030\003 \003(\0132" - "\024.beeremote.JobResult\"\236\002\n\016GetJobsRequest" - "\022F\n\022by_job_id_and_path\030\001 \001(\0132(.beeremote" - ".GetJobsRequest.QueryIdAndPathH\000\022\027\n\rby_e" - "xact_path\030\002 \001(\tH\000\022\030\n\016by_path_prefix\030\003 \001(" - "\tH\000\022\035\n\025include_work_requests\030\004 \001(\010\022\034\n\024in" - "clude_work_results\030\005 \001(\010\022\033\n\023update_work_" - "results\030\006 \001(\010\032.\n\016QueryIdAndPath\022\016\n\006job_i" - "d\030\001 \001(\t\022\014\n\004path\030\002 \001(\tB\007\n\005query\"F\n\017GetJob" - "sResponse\022\014\n\004path\030\001 \001(\t\022%\n\007results\030\002 \003(\013" - "2\024.beeremote.JobResult\"-\n\021UpdateWorkRequ" - "est\022\030\n\004work\030\001 \001(\0132\n.flex.Work\"\024\n\022UpdateW" - "orkResponse\"\025\n\023GetRSTConfigRequest\"\?\n\024Ge" - "tRSTConfigResponse\022\'\n\004rsts\030\001 \003(\0132\031.flex." - "RemoteStorageTarget\"&\n\026GetStubContentsRe" - "quest\022\014\n\004path\030\001 \001(\t\"S\n\027GetStubContentsRe" - "sponse\022\023\n\006rst_id\030\001 \001(\rH\000\210\001\001\022\020\n\003url\030\002 \001(\t" - "H\001\210\001\001B\t\n\007_rst_idB\006\n\004_url2\370\004\n\tBeeRemote\022F" - "\n\tSubmitJob\022\033.beeremote.SubmitJobRequest" - "\032\034.beeremote.SubmitJobResponse\022N\n\013Update" - "Paths\022\035.beeremote.UpdatePathsRequest\032\036.b" - "eeremote.UpdatePathsResponse0\001\022I\n\nUpdate" - "Jobs\022\034.beeremote.UpdateJobsRequest\032\035.bee" - "remote.UpdateJobsResponse\022B\n\007GetJobs\022\031.b" - "eeremote.GetJobsRequest\032\032.beeremote.GetJ" - "obsResponse0\001\022I\n\nUpdateWork\022\034.beeremote." - "UpdateWorkRequest\032\035.beeremote.UpdateWork" - "Response\022O\n\014GetRSTConfig\022\036.beeremote.Get" - "RSTConfigRequest\032\037.beeremote.GetRSTConfi" - "gResponse\022X\n\017GetStubContents\022!.beeremote" - ".GetStubContentsRequest\032\".beeremote.GetS" - "tubContentsResponse\022N\n\017GetCapabilities\022\034" - ".flex.GetCapabilitiesRequest\032\035.flex.GetC" - "apabilitiesResponseB,Z*github.com/thinkp" - "arq/protobuf/go/beeremoteb\006proto3" -}; -static const ::_pbi::DescriptorTable* const descriptor_table_beeremote_2eproto_deps[2] = - { - &::descriptor_table_flex_2eproto, - &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, -}; -static ::absl::once_flag descriptor_table_beeremote_2eproto_once; -PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_beeremote_2eproto = { - false, - false, - 3673, - descriptor_table_protodef_beeremote_2eproto, - "beeremote.proto", - &descriptor_table_beeremote_2eproto_once, - descriptor_table_beeremote_2eproto_deps, - 2, - 22, - schemas, - file_default_instances, - TableStruct_beeremote_2eproto::offsets, - file_level_enum_descriptors_beeremote_2eproto, - file_level_service_descriptors_beeremote_2eproto, -}; -namespace beeremote { -const ::google::protobuf::EnumDescriptor* SubmitJobResponse_ResponseStatus_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beeremote_2eproto); - return file_level_enum_descriptors_beeremote_2eproto[0]; -} -PROTOBUF_CONSTINIT const uint32_t SubmitJobResponse_ResponseStatus_internal_data_[] = { - 458752u, 0u, }; -bool SubmitJobResponse_ResponseStatus_IsValid(int value) { - return 0 <= value && value <= 6; -} -#if (__cplusplus < 201703) && \ - (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -constexpr SubmitJobResponse_ResponseStatus SubmitJobResponse::INVALID; -constexpr SubmitJobResponse_ResponseStatus SubmitJobResponse::CREATED; -constexpr SubmitJobResponse_ResponseStatus SubmitJobResponse::EXISTING; -constexpr SubmitJobResponse_ResponseStatus SubmitJobResponse::NOT_ALLOWED; -constexpr SubmitJobResponse_ResponseStatus SubmitJobResponse::ALREADY_COMPLETE; -constexpr SubmitJobResponse_ResponseStatus SubmitJobResponse::ALREADY_OFFLOADED; -constexpr SubmitJobResponse_ResponseStatus SubmitJobResponse::FAILED_PRECONDITION; -constexpr SubmitJobResponse_ResponseStatus SubmitJobResponse::ResponseStatus_MIN; -constexpr SubmitJobResponse_ResponseStatus SubmitJobResponse::ResponseStatus_MAX; -constexpr int SubmitJobResponse::ResponseStatus_ARRAYSIZE; - -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* JobRequest_GenerationStatus_State_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beeremote_2eproto); - return file_level_enum_descriptors_beeremote_2eproto[1]; -} -PROTOBUF_CONSTINIT const uint32_t JobRequest_GenerationStatus_State_internal_data_[] = { - 327680u, 0u, }; -bool JobRequest_GenerationStatus_State_IsValid(int value) { - return 0 <= value && value <= 4; -} -#if (__cplusplus < 201703) && \ - (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -constexpr JobRequest_GenerationStatus_State JobRequest_GenerationStatus::UNSPECIFIED; -constexpr JobRequest_GenerationStatus_State JobRequest_GenerationStatus::ALREADY_COMPLETE; -constexpr JobRequest_GenerationStatus_State JobRequest_GenerationStatus::ALREADY_OFFLOADED; -constexpr JobRequest_GenerationStatus_State JobRequest_GenerationStatus::FAILED_PRECONDITION; -constexpr JobRequest_GenerationStatus_State JobRequest_GenerationStatus::ERROR; -constexpr JobRequest_GenerationStatus_State JobRequest_GenerationStatus::State_MIN; -constexpr JobRequest_GenerationStatus_State JobRequest_GenerationStatus::State_MAX; -constexpr int JobRequest_GenerationStatus::State_ARRAYSIZE; - -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* Job_State_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beeremote_2eproto); - return file_level_enum_descriptors_beeremote_2eproto[2]; -} -PROTOBUF_CONSTINIT const uint32_t Job_State_internal_data_[] = { - 327680u, 32u, 62u, }; -bool Job_State_IsValid(int value) { - return 0 <= value && value <= 10 && ((2015u >> value) & 1) != 0; -} -#if (__cplusplus < 201703) && \ - (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -constexpr Job_State Job::UNSPECIFIED; -constexpr Job_State Job::UNKNOWN; -constexpr Job_State Job::UNASSIGNED; -constexpr Job_State Job::SCHEDULED; -constexpr Job_State Job::RUNNING; -constexpr Job_State Job::ERROR; -constexpr Job_State Job::FAILED; -constexpr Job_State Job::CANCELLED; -constexpr Job_State Job::COMPLETED; -constexpr Job_State Job::OFFLOADED; -constexpr Job_State Job::State_MIN; -constexpr Job_State Job::State_MAX; -constexpr int Job::State_ARRAYSIZE; - -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* UpdateJobsRequest_NewState_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beeremote_2eproto); - return file_level_enum_descriptors_beeremote_2eproto[3]; -} -PROTOBUF_CONSTINIT const uint32_t UpdateJobsRequest_NewState_internal_data_[] = { - 196608u, 0u, }; -bool UpdateJobsRequest_NewState_IsValid(int value) { - return 0 <= value && value <= 2; -} -#if (__cplusplus < 201703) && \ - (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -constexpr UpdateJobsRequest_NewState UpdateJobsRequest::UNSPECIFIED; -constexpr UpdateJobsRequest_NewState UpdateJobsRequest::CANCELLED; -constexpr UpdateJobsRequest_NewState UpdateJobsRequest::DELETED; -constexpr UpdateJobsRequest_NewState UpdateJobsRequest::NewState_MIN; -constexpr UpdateJobsRequest_NewState UpdateJobsRequest::NewState_MAX; -constexpr int UpdateJobsRequest::NewState_ARRAYSIZE; - -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -// =================================================================== - -class SubmitJobRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SubmitJobRequest, _impl_._has_bits_); -}; - -SubmitJobRequest::SubmitJobRequest(::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:beeremote.SubmitJobRequest) -} -inline PROTOBUF_NDEBUG_INLINE SubmitJobRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::SubmitJobRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -SubmitJobRequest::SubmitJobRequest( - ::google::protobuf::Arena* arena, - const SubmitJobRequest& 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 - SubmitJobRequest* 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_.request_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beeremote::JobRequest>( - arena, *from._impl_.request_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:beeremote.SubmitJobRequest) -} -inline PROTOBUF_NDEBUG_INLINE SubmitJobRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void SubmitJobRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.request_ = {}; -} -SubmitJobRequest::~SubmitJobRequest() { - // @@protoc_insertion_point(destructor:beeremote.SubmitJobRequest) - SharedDtor(*this); -} -inline void SubmitJobRequest::SharedDtor(MessageLite& self) { - SubmitJobRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.request_; - this_._impl_.~Impl_(); -} - -inline void* SubmitJobRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) SubmitJobRequest(arena); -} -constexpr auto SubmitJobRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubmitJobRequest), - alignof(SubmitJobRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SubmitJobRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SubmitJobRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SubmitJobRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SubmitJobRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &SubmitJobRequest::ByteSizeLong, - &SubmitJobRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SubmitJobRequest, _impl_._cached_size_), - false, - }, - &SubmitJobRequest::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SubmitJobRequest::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> SubmitJobRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SubmitJobRequest, _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<::beeremote::SubmitJobRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // .beeremote.JobRequest request = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SubmitJobRequest, _impl_.request_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .beeremote.JobRequest request = 1; - {PROTOBUF_FIELD_OFFSET(SubmitJobRequest, _impl_.request_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beeremote::JobRequest>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void SubmitJobRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.SubmitJobRequest) - ::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_.request_ != nullptr); - _impl_.request_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* SubmitJobRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const SubmitJobRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* SubmitJobRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const SubmitJobRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.SubmitJobRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .beeremote.JobRequest request = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.request_, this_._impl_.request_->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:beeremote.SubmitJobRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t SubmitJobRequest::ByteSizeLong(const MessageLite& base) { - const SubmitJobRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t SubmitJobRequest::ByteSizeLong() const { - const SubmitJobRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.SubmitJobRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // .beeremote.JobRequest request = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.request_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void SubmitJobRequest::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:beeremote.SubmitJobRequest) - 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_.request_ != nullptr); - if (_this->_impl_.request_ == nullptr) { - _this->_impl_.request_ = - ::google::protobuf::Message::CopyConstruct<::beeremote::JobRequest>(arena, *from._impl_.request_); - } else { - _this->_impl_.request_->MergeFrom(*from._impl_.request_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void SubmitJobRequest::CopyFrom(const SubmitJobRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.SubmitJobRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void SubmitJobRequest::InternalSwap(SubmitJobRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.request_, other->_impl_.request_); -} - -::google::protobuf::Metadata SubmitJobRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class SubmitJobResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SubmitJobResponse, _impl_._has_bits_); -}; - -SubmitJobResponse::SubmitJobResponse(::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:beeremote.SubmitJobResponse) -} -inline PROTOBUF_NDEBUG_INLINE SubmitJobResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::SubmitJobResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -SubmitJobResponse::SubmitJobResponse( - ::google::protobuf::Arena* arena, - const SubmitJobResponse& 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 - SubmitJobResponse* 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_.result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beeremote::JobResult>( - arena, *from._impl_.result_) - : nullptr; - _impl_.status_ = from._impl_.status_; - - // @@protoc_insertion_point(copy_constructor:beeremote.SubmitJobResponse) -} -inline PROTOBUF_NDEBUG_INLINE SubmitJobResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void SubmitJobResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, result_), - 0, - offsetof(Impl_, status_) - - offsetof(Impl_, result_) + - sizeof(Impl_::status_)); -} -SubmitJobResponse::~SubmitJobResponse() { - // @@protoc_insertion_point(destructor:beeremote.SubmitJobResponse) - SharedDtor(*this); -} -inline void SubmitJobResponse::SharedDtor(MessageLite& self) { - SubmitJobResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.result_; - this_._impl_.~Impl_(); -} - -inline void* SubmitJobResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) SubmitJobResponse(arena); -} -constexpr auto SubmitJobResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubmitJobResponse), - alignof(SubmitJobResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SubmitJobResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SubmitJobResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SubmitJobResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SubmitJobResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &SubmitJobResponse::ByteSizeLong, - &SubmitJobResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SubmitJobResponse, _impl_._cached_size_), - false, - }, - &SubmitJobResponse::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SubmitJobResponse::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> SubmitJobResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SubmitJobResponse, _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<::beeremote::SubmitJobResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // .beeremote.SubmitJobResponse.ResponseStatus status = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SubmitJobResponse, _impl_.status_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(SubmitJobResponse, _impl_.status_)}}, - // .beeremote.JobResult result = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SubmitJobResponse, _impl_.result_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .beeremote.JobResult result = 1; - {PROTOBUF_FIELD_OFFSET(SubmitJobResponse, _impl_.result_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .beeremote.SubmitJobResponse.ResponseStatus status = 2; - {PROTOBUF_FIELD_OFFSET(SubmitJobResponse, _impl_.status_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beeremote::JobResult>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void SubmitJobResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.SubmitJobResponse) - ::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_.result_ != nullptr); - _impl_.result_->Clear(); - } - _impl_.status_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* SubmitJobResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const SubmitJobResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* SubmitJobResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const SubmitJobResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.SubmitJobResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .beeremote.JobResult result = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.result_, this_._impl_.result_->GetCachedSize(), target, - stream); - } - - // .beeremote.SubmitJobResponse.ResponseStatus status = 2; - if (this_._internal_status() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 2, this_._internal_status(), 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:beeremote.SubmitJobResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t SubmitJobResponse::ByteSizeLong(const MessageLite& base) { - const SubmitJobResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t SubmitJobResponse::ByteSizeLong() const { - const SubmitJobResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.SubmitJobResponse) - ::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_); - { - // .beeremote.JobResult result = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.result_); - } - } - { - // .beeremote.SubmitJobResponse.ResponseStatus status = 2; - if (this_._internal_status() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_status()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void SubmitJobResponse::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:beeremote.SubmitJobResponse) - 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_.result_ != nullptr); - if (_this->_impl_.result_ == nullptr) { - _this->_impl_.result_ = - ::google::protobuf::Message::CopyConstruct<::beeremote::JobResult>(arena, *from._impl_.result_); - } else { - _this->_impl_.result_->MergeFrom(*from._impl_.result_); - } - } - if (from._internal_status() != 0) { - _this->_impl_.status_ = from._impl_.status_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void SubmitJobResponse::CopyFrom(const SubmitJobResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.SubmitJobResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void SubmitJobResponse::InternalSwap(SubmitJobResponse* 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(SubmitJobResponse, _impl_.status_) - + sizeof(SubmitJobResponse::_impl_.status_) - - PROTOBUF_FIELD_OFFSET(SubmitJobResponse, _impl_.result_)>( - reinterpret_cast(&_impl_.result_), - reinterpret_cast(&other->_impl_.result_)); -} - -::google::protobuf::Metadata SubmitJobResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class JobRequest_GenerationStatus::_Internal { - public: -}; - -JobRequest_GenerationStatus::JobRequest_GenerationStatus(::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:beeremote.JobRequest.GenerationStatus) -} -inline PROTOBUF_NDEBUG_INLINE JobRequest_GenerationStatus::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::JobRequest_GenerationStatus& from_msg) - : message_(arena, from.message_), - _cached_size_{0} {} - -JobRequest_GenerationStatus::JobRequest_GenerationStatus( - ::google::protobuf::Arena* arena, - const JobRequest_GenerationStatus& 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 - JobRequest_GenerationStatus* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _impl_.state_ = from._impl_.state_; - - // @@protoc_insertion_point(copy_constructor:beeremote.JobRequest.GenerationStatus) -} -inline PROTOBUF_NDEBUG_INLINE JobRequest_GenerationStatus::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : message_(arena), - _cached_size_{0} {} - -inline void JobRequest_GenerationStatus::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.state_ = {}; -} -JobRequest_GenerationStatus::~JobRequest_GenerationStatus() { - // @@protoc_insertion_point(destructor:beeremote.JobRequest.GenerationStatus) - SharedDtor(*this); -} -inline void JobRequest_GenerationStatus::SharedDtor(MessageLite& self) { - JobRequest_GenerationStatus& 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* JobRequest_GenerationStatus::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) JobRequest_GenerationStatus(arena); -} -constexpr auto JobRequest_GenerationStatus::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(JobRequest_GenerationStatus), - alignof(JobRequest_GenerationStatus)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull JobRequest_GenerationStatus::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_JobRequest_GenerationStatus_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &JobRequest_GenerationStatus::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &JobRequest_GenerationStatus::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &JobRequest_GenerationStatus::ByteSizeLong, - &JobRequest_GenerationStatus::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(JobRequest_GenerationStatus, _impl_._cached_size_), - false, - }, - &JobRequest_GenerationStatus::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* JobRequest_GenerationStatus::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, 53, 2> JobRequest_GenerationStatus::_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<::beeremote::JobRequest_GenerationStatus>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // string message = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequest_GenerationStatus, _impl_.message_)}}, - // .beeremote.JobRequest.GenerationStatus.State state = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobRequest_GenerationStatus, _impl_.state_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequest_GenerationStatus, _impl_.state_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .beeremote.JobRequest.GenerationStatus.State state = 1; - {PROTOBUF_FIELD_OFFSET(JobRequest_GenerationStatus, _impl_.state_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // string message = 2; - {PROTOBUF_FIELD_OFFSET(JobRequest_GenerationStatus, _impl_.message_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{ - "\45\0\7\0\0\0\0\0" - "beeremote.JobRequest.GenerationStatus" - "message" - }}, -}; - -PROTOBUF_NOINLINE void JobRequest_GenerationStatus::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.JobRequest.GenerationStatus) - ::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_.state_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* JobRequest_GenerationStatus::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const JobRequest_GenerationStatus& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* JobRequest_GenerationStatus::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const JobRequest_GenerationStatus& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.JobRequest.GenerationStatus) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // .beeremote.JobRequest.GenerationStatus.State state = 1; - if (this_._internal_state() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this_._internal_state(), 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, "beeremote.JobRequest.GenerationStatus.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:beeremote.JobRequest.GenerationStatus) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t JobRequest_GenerationStatus::ByteSizeLong(const MessageLite& base) { - const JobRequest_GenerationStatus& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t JobRequest_GenerationStatus::ByteSizeLong() const { - const JobRequest_GenerationStatus& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.JobRequest.GenerationStatus) - ::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()); - } - // .beeremote.JobRequest.GenerationStatus.State state = 1; - if (this_._internal_state() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_state()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void JobRequest_GenerationStatus::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:beeremote.JobRequest.GenerationStatus) - 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_state() != 0) { - _this->_impl_.state_ = from._impl_.state_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void JobRequest_GenerationStatus::CopyFrom(const JobRequest_GenerationStatus& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.JobRequest.GenerationStatus) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void JobRequest_GenerationStatus::InternalSwap(JobRequest_GenerationStatus* 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_.state_, other->_impl_.state_); -} - -::google::protobuf::Metadata JobRequest_GenerationStatus::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class JobRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(JobRequest, _impl_._has_bits_); - static constexpr ::int32_t kOneofCaseOffset = - PROTOBUF_FIELD_OFFSET(::beeremote::JobRequest, _impl_._oneof_case_); -}; - -void JobRequest::set_allocated_sync(::flex::SyncJob* sync) { - ::google::protobuf::Arena* message_arena = GetArena(); - clear_type(); - if (sync) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(sync)->GetArena(); - if (message_arena != submessage_arena) { - sync = ::google::protobuf::internal::GetOwnedMessage(message_arena, sync, submessage_arena); - } - set_has_sync(); - _impl_.type_.sync_ = sync; - } - // @@protoc_insertion_point(field_set_allocated:beeremote.JobRequest.sync) -} -void JobRequest::clear_sync() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (type_case() == kSync) { - if (GetArena() == nullptr) { - delete _impl_.type_.sync_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.sync_); - } - clear_has_type(); - } -} -void JobRequest::set_allocated_mock(::flex::MockJob* mock) { - ::google::protobuf::Arena* message_arena = GetArena(); - clear_type(); - if (mock) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(mock)->GetArena(); - if (message_arena != submessage_arena) { - mock = ::google::protobuf::internal::GetOwnedMessage(message_arena, mock, submessage_arena); - } - set_has_mock(); - _impl_.type_.mock_ = mock; - } - // @@protoc_insertion_point(field_set_allocated:beeremote.JobRequest.mock) -} -void JobRequest::clear_mock() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (type_case() == kMock) { - if (GetArena() == nullptr) { - delete _impl_.type_.mock_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.mock_); - } - clear_has_type(); - } -} -void JobRequest::set_allocated_builder(::flex::BuilderJob* builder) { - ::google::protobuf::Arena* message_arena = GetArena(); - clear_type(); - if (builder) { - ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(builder)->GetArena(); - if (message_arena != submessage_arena) { - builder = ::google::protobuf::internal::GetOwnedMessage(message_arena, builder, submessage_arena); - } - set_has_builder(); - _impl_.type_.builder_ = builder; - } - // @@protoc_insertion_point(field_set_allocated:beeremote.JobRequest.builder) -} -void JobRequest::clear_builder() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (type_case() == kBuilder) { - if (GetArena() == nullptr) { - delete _impl_.type_.builder_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.builder_); - } - clear_has_type(); - } -} -JobRequest::JobRequest(::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:beeremote.JobRequest) -} -inline PROTOBUF_NDEBUG_INLINE JobRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::JobRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - path_(arena, from.path_), - name_(arena, from.name_), - type_{}, - _oneof_case_{from._oneof_case_[0]} {} - -JobRequest::JobRequest( - ::google::protobuf::Arena* arena, - const JobRequest& 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 - JobRequest* 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_.generation_status_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beeremote::JobRequest_GenerationStatus>( - arena, *from._impl_.generation_status_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, priority_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, priority_), - offsetof(Impl_, update_) - - offsetof(Impl_, priority_) + - sizeof(Impl_::update_)); - switch (type_case()) { - case TYPE_NOT_SET: - break; - case kSync: - _impl_.type_.sync_ = ::google::protobuf::Message::CopyConstruct<::flex::SyncJob>(arena, *from._impl_.type_.sync_); - break; - case kMock: - _impl_.type_.mock_ = ::google::protobuf::Message::CopyConstruct<::flex::MockJob>(arena, *from._impl_.type_.mock_); - break; - case kBuilder: - _impl_.type_.builder_ = ::google::protobuf::Message::CopyConstruct<::flex::BuilderJob>(arena, *from._impl_.type_.builder_); - break; - } - - // @@protoc_insertion_point(copy_constructor:beeremote.JobRequest) -} -inline PROTOBUF_NDEBUG_INLINE JobRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - path_(arena), - name_(arena), - type_{}, - _oneof_case_{} {} - -inline void JobRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, generation_status_), - 0, - offsetof(Impl_, update_) - - offsetof(Impl_, generation_status_) + - sizeof(Impl_::update_)); -} -JobRequest::~JobRequest() { - // @@protoc_insertion_point(destructor:beeremote.JobRequest) - SharedDtor(*this); -} -inline void JobRequest::SharedDtor(MessageLite& self) { - JobRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.path_.Destroy(); - this_._impl_.name_.Destroy(); - delete this_._impl_.generation_status_; - if (this_.has_type()) { - this_.clear_type(); - } - this_._impl_.~Impl_(); -} - -void JobRequest::clear_type() { -// @@protoc_insertion_point(one_of_clear_start:beeremote.JobRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - switch (type_case()) { - case kSync: { - if (GetArena() == nullptr) { - delete _impl_.type_.sync_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.sync_); - } - break; - } - case kMock: { - if (GetArena() == nullptr) { - delete _impl_.type_.mock_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.mock_); - } - break; - } - case kBuilder: { - if (GetArena() == nullptr) { - delete _impl_.type_.builder_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.builder_); - } - break; - } - case TYPE_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = TYPE_NOT_SET; -} - - -inline void* JobRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) JobRequest(arena); -} -constexpr auto JobRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(JobRequest), - alignof(JobRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull JobRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_JobRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &JobRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &JobRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &JobRequest::ByteSizeLong, - &JobRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(JobRequest, _impl_._cached_size_), - false, - }, - &JobRequest::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* JobRequest::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, 11, 4, 45, 2> JobRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(JobRequest, _impl_._has_bits_), - 0, // no _extensions_ - 12, 120, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294963232, // skipmap - offsetof(decltype(_table_), field_entries), - 11, // 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<::beeremote::JobRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // string path = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.path_)}}, - // string name = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.name_)}}, - // int32 priority = 3; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobRequest, _impl_.priority_), 63>(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.priority_)}}, - // uint32 remote_storage_target = 4; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobRequest, _impl_.remote_storage_target_), 63>(), - {32, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.remote_storage_target_)}}, - // bool force = 5; - {::_pbi::TcParser::SingularVarintNoZag1(), - {40, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.force_)}}, - {::_pbi::TcParser::MiniParse, {}}, - // bool stub_local = 7; - {::_pbi::TcParser::SingularVarintNoZag1(), - {56, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.stub_local_)}}, - // .beeremote.JobRequest.GenerationStatus generation_status = 8; - {::_pbi::TcParser::FastMtS1, - {66, 0, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.generation_status_)}}, - // optional bool update = 9; - {::_pbi::TcParser::SingularVarintNoZag1(), - {72, 1, 0, PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.update_)}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // string path = 1; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.path_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string name = 2; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.name_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // int32 priority = 3; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.priority_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - // uint32 remote_storage_target = 4; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.remote_storage_target_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // bool force = 5; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.force_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool stub_local = 7; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.stub_local_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // .beeremote.JobRequest.GenerationStatus generation_status = 8; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.generation_status_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional bool update = 9; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.update_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - // .flex.SyncJob sync = 10; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.type_.sync_), _Internal::kOneofCaseOffset + 0, 1, - (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, - // .flex.MockJob mock = 11; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.type_.mock_), _Internal::kOneofCaseOffset + 0, 2, - (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, - // .flex.BuilderJob builder = 12; - {PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.type_.builder_), _Internal::kOneofCaseOffset + 0, 3, - (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beeremote::JobRequest_GenerationStatus>()}, - {::_pbi::TcParser::GetTable<::flex::SyncJob>()}, - {::_pbi::TcParser::GetTable<::flex::MockJob>()}, - {::_pbi::TcParser::GetTable<::flex::BuilderJob>()}, - }}, {{ - "\24\4\4\0\0\0\0\0\0\0\0\0\0\0\0\0" - "beeremote.JobRequest" - "path" - "name" - }}, -}; - -PROTOBUF_NOINLINE void JobRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.JobRequest) - ::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_.path_.ClearToEmpty(); - _impl_.name_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.generation_status_ != nullptr); - _impl_.generation_status_->Clear(); - } - ::memset(&_impl_.priority_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.stub_local_) - - reinterpret_cast(&_impl_.priority_)) + sizeof(_impl_.stub_local_)); - _impl_.update_ = false; - clear_type(); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* JobRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const JobRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* JobRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const JobRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.JobRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string path = 1; - if (!this_._internal_path().empty()) { - const std::string& _s = this_._internal_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.JobRequest.path"); - 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, "beeremote.JobRequest.name"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - // int32 priority = 3; - if (this_._internal_priority() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32ToArrayWithField<3>( - stream, this_._internal_priority(), target); - } - - // uint32 remote_storage_target = 4; - if (this_._internal_remote_storage_target() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 4, this_._internal_remote_storage_target(), target); - } - - // bool force = 5; - if (this_._internal_force() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 5, this_._internal_force(), target); - } - - // bool stub_local = 7; - if (this_._internal_stub_local() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 7, this_._internal_stub_local(), target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .beeremote.JobRequest.GenerationStatus generation_status = 8; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 8, *this_._impl_.generation_status_, this_._impl_.generation_status_->GetCachedSize(), target, - stream); - } - - // optional bool update = 9; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 9, this_._internal_update(), target); - } - - switch (this_.type_case()) { - case kSync: { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 10, *this_._impl_.type_.sync_, this_._impl_.type_.sync_->GetCachedSize(), target, - stream); - break; - } - case kMock: { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 11, *this_._impl_.type_.mock_, this_._impl_.type_.mock_->GetCachedSize(), target, - stream); - break; - } - case kBuilder: { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 12, *this_._impl_.type_.builder_, this_._impl_.type_.builder_->GetCachedSize(), target, - stream); - break; - } - default: - break; - } - 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:beeremote.JobRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t JobRequest::ByteSizeLong(const MessageLite& base) { - const JobRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t JobRequest::ByteSizeLong() const { - const JobRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.JobRequest) - ::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 path = 1; - if (!this_._internal_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_path()); - } - // string name = 2; - if (!this_._internal_name().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_name()); - } - } - { - // .beeremote.JobRequest.GenerationStatus generation_status = 8; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.generation_status_); - } - } - { - // int32 priority = 3; - if (this_._internal_priority() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( - this_._internal_priority()); - } - // uint32 remote_storage_target = 4; - if (this_._internal_remote_storage_target() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_remote_storage_target()); - } - // bool force = 5; - if (this_._internal_force() != 0) { - total_size += 2; - } - // bool stub_local = 7; - if (this_._internal_stub_local() != 0) { - total_size += 2; - } - } - { - // optional bool update = 9; - if (cached_has_bits & 0x00000002u) { - total_size += 2; - } - } - switch (this_.type_case()) { - // .flex.SyncJob sync = 10; - case kSync: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.sync_); - break; - } - // .flex.MockJob mock = 11; - case kMock: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.mock_); - break; - } - // .flex.BuilderJob builder = 12; - case kBuilder: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.builder_); - break; - } - case TYPE_NOT_SET: { - break; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void JobRequest::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:beeremote.JobRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_path().empty()) { - _this->_internal_set_path(from._internal_path()); - } - if (!from._internal_name().empty()) { - _this->_internal_set_name(from._internal_name()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.generation_status_ != nullptr); - if (_this->_impl_.generation_status_ == nullptr) { - _this->_impl_.generation_status_ = - ::google::protobuf::Message::CopyConstruct<::beeremote::JobRequest_GenerationStatus>(arena, *from._impl_.generation_status_); - } else { - _this->_impl_.generation_status_->MergeFrom(*from._impl_.generation_status_); - } - } - if (from._internal_priority() != 0) { - _this->_impl_.priority_ = from._impl_.priority_; - } - if (from._internal_remote_storage_target() != 0) { - _this->_impl_.remote_storage_target_ = from._impl_.remote_storage_target_; - } - if (from._internal_force() != 0) { - _this->_impl_.force_ = from._impl_.force_; - } - if (from._internal_stub_local() != 0) { - _this->_impl_.stub_local_ = from._impl_.stub_local_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.update_ = from._impl_.update_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { - const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; - const bool oneof_needs_init = oneof_to_case != oneof_from_case; - if (oneof_needs_init) { - if (oneof_to_case != 0) { - _this->clear_type(); - } - _this->_impl_._oneof_case_[0] = oneof_from_case; - } - - switch (oneof_from_case) { - case kSync: { - if (oneof_needs_init) { - _this->_impl_.type_.sync_ = - ::google::protobuf::Message::CopyConstruct<::flex::SyncJob>(arena, *from._impl_.type_.sync_); - } else { - _this->_impl_.type_.sync_->MergeFrom(from._internal_sync()); - } - break; - } - case kMock: { - if (oneof_needs_init) { - _this->_impl_.type_.mock_ = - ::google::protobuf::Message::CopyConstruct<::flex::MockJob>(arena, *from._impl_.type_.mock_); - } else { - _this->_impl_.type_.mock_->MergeFrom(from._internal_mock()); - } - break; - } - case kBuilder: { - if (oneof_needs_init) { - _this->_impl_.type_.builder_ = - ::google::protobuf::Message::CopyConstruct<::flex::BuilderJob>(arena, *from._impl_.type_.builder_); - } else { - _this->_impl_.type_.builder_->MergeFrom(from._internal_builder()); - } - break; - } - case TYPE_NOT_SET: - break; - } - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void JobRequest::CopyFrom(const JobRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.JobRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void JobRequest::InternalSwap(JobRequest* 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_.path_, &other->_impl_.path_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, &other->_impl_.name_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.update_) - + sizeof(JobRequest::_impl_.update_) - - PROTOBUF_FIELD_OFFSET(JobRequest, _impl_.generation_status_)>( - reinterpret_cast(&_impl_.generation_status_), - reinterpret_cast(&other->_impl_.generation_status_)); - swap(_impl_.type_, other->_impl_.type_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::google::protobuf::Metadata JobRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class Job_Status::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(Job_Status, _impl_._has_bits_); -}; - -void Job_Status::clear_updated() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.updated_ != nullptr) _impl_.updated_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -Job_Status::Job_Status(::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:beeremote.Job.Status) -} -inline PROTOBUF_NDEBUG_INLINE Job_Status::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::Job_Status& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - message_(arena, from.message_) {} - -Job_Status::Job_Status( - ::google::protobuf::Arena* arena, - const Job_Status& 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 - Job_Status* 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_.updated_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( - arena, *from._impl_.updated_) - : nullptr; - _impl_.state_ = from._impl_.state_; - - // @@protoc_insertion_point(copy_constructor:beeremote.Job.Status) -} -inline PROTOBUF_NDEBUG_INLINE Job_Status::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - message_(arena) {} - -inline void Job_Status::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, updated_), - 0, - offsetof(Impl_, state_) - - offsetof(Impl_, updated_) + - sizeof(Impl_::state_)); -} -Job_Status::~Job_Status() { - // @@protoc_insertion_point(destructor:beeremote.Job.Status) - SharedDtor(*this); -} -inline void Job_Status::SharedDtor(MessageLite& self) { - Job_Status& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.message_.Destroy(); - delete this_._impl_.updated_; - this_._impl_.~Impl_(); -} - -inline void* Job_Status::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) Job_Status(arena); -} -constexpr auto Job_Status::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Job_Status), - alignof(Job_Status)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull Job_Status::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_Job_Status_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &Job_Status::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &Job_Status::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &Job_Status::ByteSizeLong, - &Job_Status::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(Job_Status, _impl_._cached_size_), - false, - }, - &Job_Status::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* Job_Status::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, 36, 2> Job_Status::_table_ = { - { - PROTOBUF_FIELD_OFFSET(Job_Status, _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<::beeremote::Job_Status>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // .beeremote.Job.State state = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Job_Status, _impl_.state_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(Job_Status, _impl_.state_)}}, - // string message = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(Job_Status, _impl_.message_)}}, - // .google.protobuf.Timestamp updated = 3; - {::_pbi::TcParser::FastMtS1, - {26, 0, 0, PROTOBUF_FIELD_OFFSET(Job_Status, _impl_.updated_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .beeremote.Job.State state = 1; - {PROTOBUF_FIELD_OFFSET(Job_Status, _impl_.state_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // string message = 2; - {PROTOBUF_FIELD_OFFSET(Job_Status, _impl_.message_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // .google.protobuf.Timestamp updated = 3; - {PROTOBUF_FIELD_OFFSET(Job_Status, _impl_.updated_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, - }}, {{ - "\24\0\7\0\0\0\0\0" - "beeremote.Job.Status" - "message" - }}, -}; - -PROTOBUF_NOINLINE void Job_Status::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.Job.Status) - ::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_.updated_ != nullptr); - _impl_.updated_->Clear(); - } - _impl_.state_ = 0; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* Job_Status::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const Job_Status& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* Job_Status::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const Job_Status& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.Job.Status) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // .beeremote.Job.State state = 1; - if (this_._internal_state() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this_._internal_state(), 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, "beeremote.Job.Status.message"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .google.protobuf.Timestamp updated = 3; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 3, *this_._impl_.updated_, this_._impl_.updated_->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:beeremote.Job.Status) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t Job_Status::ByteSizeLong(const MessageLite& base) { - const Job_Status& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t Job_Status::ByteSizeLong() const { - const Job_Status& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.Job.Status) - ::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()); - } - } - { - // .google.protobuf.Timestamp updated = 3; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.updated_); - } - } - { - // .beeremote.Job.State state = 1; - if (this_._internal_state() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_state()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void Job_Status::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:beeremote.Job.Status) - 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_.updated_ != nullptr); - if (_this->_impl_.updated_ == nullptr) { - _this->_impl_.updated_ = - ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.updated_); - } else { - _this->_impl_.updated_->MergeFrom(*from._impl_.updated_); - } - } - if (from._internal_state() != 0) { - _this->_impl_.state_ = from._impl_.state_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void Job_Status::CopyFrom(const Job_Status& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.Job.Status) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void Job_Status::InternalSwap(Job_Status* 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(Job_Status, _impl_.state_) - + sizeof(Job_Status::_impl_.state_) - - PROTOBUF_FIELD_OFFSET(Job_Status, _impl_.updated_)>( - reinterpret_cast(&_impl_.updated_), - reinterpret_cast(&other->_impl_.updated_)); -} - -::google::protobuf::Metadata Job_Status::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class Job::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(Job, _impl_._has_bits_); -}; - -void Job::clear_created() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.created_ != nullptr) _impl_.created_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -void Job::clear_start_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.start_mtime_ != nullptr) _impl_.start_mtime_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -void Job::clear_stop_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.stop_mtime_ != nullptr) _impl_.stop_mtime_->Clear(); - _impl_._has_bits_[0] &= ~0x00000010u; -} -Job::Job(::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:beeremote.Job) -} -inline PROTOBUF_NDEBUG_INLINE Job::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::Job& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - id_(arena, from.id_), - external_id_(arena, from.external_id_) {} - -Job::Job( - ::google::protobuf::Arena* arena, - const Job& 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 - Job* 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_.request_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beeremote::JobRequest>( - arena, *from._impl_.request_) - : nullptr; - _impl_.created_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( - arena, *from._impl_.created_) - : nullptr; - _impl_.status_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::beeremote::Job_Status>( - arena, *from._impl_.status_) - : nullptr; - _impl_.start_mtime_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( - arena, *from._impl_.start_mtime_) - : nullptr; - _impl_.stop_mtime_ = (cached_has_bits & 0x00000010u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( - arena, *from._impl_.stop_mtime_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:beeremote.Job) -} -inline PROTOBUF_NDEBUG_INLINE Job::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - id_(arena), - external_id_(arena) {} - -inline void Job::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, request_), - 0, - offsetof(Impl_, stop_mtime_) - - offsetof(Impl_, request_) + - sizeof(Impl_::stop_mtime_)); -} -Job::~Job() { - // @@protoc_insertion_point(destructor:beeremote.Job) - SharedDtor(*this); -} -inline void Job::SharedDtor(MessageLite& self) { - Job& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.id_.Destroy(); - this_._impl_.external_id_.Destroy(); - delete this_._impl_.request_; - delete this_._impl_.created_; - delete this_._impl_.status_; - delete this_._impl_.start_mtime_; - delete this_._impl_.stop_mtime_; - this_._impl_.~Impl_(); -} - -inline void* Job::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) Job(arena); -} -constexpr auto Job::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Job), - alignof(Job)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull Job::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_Job_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &Job::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &Job::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &Job::ByteSizeLong, - &Job::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(Job, _impl_._cached_size_), - false, - }, - &Job::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* Job::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, 5, 35, 2> Job::_table_ = { - { - PROTOBUF_FIELD_OFFSET(Job, _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 - 5, // 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<::beeremote::Job>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // string id = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(Job, _impl_.id_)}}, - // .beeremote.JobRequest request = 2; - {::_pbi::TcParser::FastMtS1, - {18, 0, 0, PROTOBUF_FIELD_OFFSET(Job, _impl_.request_)}}, - // .google.protobuf.Timestamp created = 3; - {::_pbi::TcParser::FastMtS1, - {26, 1, 1, PROTOBUF_FIELD_OFFSET(Job, _impl_.created_)}}, - // .beeremote.Job.Status status = 4; - {::_pbi::TcParser::FastMtS1, - {34, 2, 2, PROTOBUF_FIELD_OFFSET(Job, _impl_.status_)}}, - // string external_id = 5; - {::_pbi::TcParser::FastUS1, - {42, 63, 0, PROTOBUF_FIELD_OFFSET(Job, _impl_.external_id_)}}, - // optional .google.protobuf.Timestamp start_mtime = 6; - {::_pbi::TcParser::FastMtS1, - {50, 3, 3, PROTOBUF_FIELD_OFFSET(Job, _impl_.start_mtime_)}}, - // optional .google.protobuf.Timestamp stop_mtime = 7; - {::_pbi::TcParser::FastMtS1, - {58, 4, 4, PROTOBUF_FIELD_OFFSET(Job, _impl_.stop_mtime_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string id = 1; - {PROTOBUF_FIELD_OFFSET(Job, _impl_.id_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // .beeremote.JobRequest request = 2; - {PROTOBUF_FIELD_OFFSET(Job, _impl_.request_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .google.protobuf.Timestamp created = 3; - {PROTOBUF_FIELD_OFFSET(Job, _impl_.created_), _Internal::kHasBitsOffset + 1, 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .beeremote.Job.Status status = 4; - {PROTOBUF_FIELD_OFFSET(Job, _impl_.status_), _Internal::kHasBitsOffset + 2, 2, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // string external_id = 5; - {PROTOBUF_FIELD_OFFSET(Job, _impl_.external_id_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // optional .google.protobuf.Timestamp start_mtime = 6; - {PROTOBUF_FIELD_OFFSET(Job, _impl_.start_mtime_), _Internal::kHasBitsOffset + 3, 3, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional .google.protobuf.Timestamp stop_mtime = 7; - {PROTOBUF_FIELD_OFFSET(Job, _impl_.stop_mtime_), _Internal::kHasBitsOffset + 4, 4, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beeremote::JobRequest>()}, - {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, - {::_pbi::TcParser::GetTable<::beeremote::Job_Status>()}, - {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, - {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, - }}, {{ - "\15\2\0\0\0\13\0\0" - "beeremote.Job" - "id" - "external_id" - }}, -}; - -PROTOBUF_NOINLINE void Job::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.Job) - ::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_.id_.ClearToEmpty(); - _impl_.external_id_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.request_ != nullptr); - _impl_.request_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.created_ != nullptr); - _impl_.created_->Clear(); - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(_impl_.status_ != nullptr); - _impl_.status_->Clear(); - } - if (cached_has_bits & 0x00000008u) { - ABSL_DCHECK(_impl_.start_mtime_ != nullptr); - _impl_.start_mtime_->Clear(); - } - if (cached_has_bits & 0x00000010u) { - ABSL_DCHECK(_impl_.stop_mtime_ != nullptr); - _impl_.stop_mtime_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* Job::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const Job& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* Job::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const Job& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.Job) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string id = 1; - if (!this_._internal_id().empty()) { - const std::string& _s = this_._internal_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.Job.id"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .beeremote.JobRequest request = 2; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, *this_._impl_.request_, this_._impl_.request_->GetCachedSize(), target, - stream); - } - - // .google.protobuf.Timestamp created = 3; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 3, *this_._impl_.created_, this_._impl_.created_->GetCachedSize(), target, - stream); - } - - // .beeremote.Job.Status status = 4; - if (cached_has_bits & 0x00000004u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 4, *this_._impl_.status_, this_._impl_.status_->GetCachedSize(), target, - stream); - } - - // string external_id = 5; - if (!this_._internal_external_id().empty()) { - const std::string& _s = this_._internal_external_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.Job.external_id"); - target = stream->WriteStringMaybeAliased(5, _s, target); - } - - // optional .google.protobuf.Timestamp start_mtime = 6; - if (cached_has_bits & 0x00000008u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 6, *this_._impl_.start_mtime_, this_._impl_.start_mtime_->GetCachedSize(), target, - stream); - } - - // optional .google.protobuf.Timestamp stop_mtime = 7; - if (cached_has_bits & 0x00000010u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 7, *this_._impl_.stop_mtime_, this_._impl_.stop_mtime_->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:beeremote.Job) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t Job::ByteSizeLong(const MessageLite& base) { - const Job& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t Job::ByteSizeLong() const { - const Job& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.Job) - ::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 id = 1; - if (!this_._internal_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_id()); - } - // string external_id = 5; - if (!this_._internal_external_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_external_id()); - } - } - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - // .beeremote.JobRequest request = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.request_); - } - // .google.protobuf.Timestamp created = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.created_); - } - // .beeremote.Job.Status status = 4; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_); - } - // optional .google.protobuf.Timestamp start_mtime = 6; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.start_mtime_); - } - // optional .google.protobuf.Timestamp stop_mtime = 7; - if (cached_has_bits & 0x00000010u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.stop_mtime_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void Job::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:beeremote.Job) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_id().empty()) { - _this->_internal_set_id(from._internal_id()); - } - if (!from._internal_external_id().empty()) { - _this->_internal_set_external_id(from._internal_external_id()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000001fu) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.request_ != nullptr); - if (_this->_impl_.request_ == nullptr) { - _this->_impl_.request_ = - ::google::protobuf::Message::CopyConstruct<::beeremote::JobRequest>(arena, *from._impl_.request_); - } else { - _this->_impl_.request_->MergeFrom(*from._impl_.request_); - } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.created_ != nullptr); - if (_this->_impl_.created_ == nullptr) { - _this->_impl_.created_ = - ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.created_); - } else { - _this->_impl_.created_->MergeFrom(*from._impl_.created_); - } - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(from._impl_.status_ != nullptr); - if (_this->_impl_.status_ == nullptr) { - _this->_impl_.status_ = - ::google::protobuf::Message::CopyConstruct<::beeremote::Job_Status>(arena, *from._impl_.status_); - } else { - _this->_impl_.status_->MergeFrom(*from._impl_.status_); - } - } - if (cached_has_bits & 0x00000008u) { - ABSL_DCHECK(from._impl_.start_mtime_ != nullptr); - if (_this->_impl_.start_mtime_ == nullptr) { - _this->_impl_.start_mtime_ = - ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.start_mtime_); - } else { - _this->_impl_.start_mtime_->MergeFrom(*from._impl_.start_mtime_); - } - } - if (cached_has_bits & 0x00000010u) { - ABSL_DCHECK(from._impl_.stop_mtime_ != nullptr); - if (_this->_impl_.stop_mtime_ == nullptr) { - _this->_impl_.stop_mtime_ = - ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.stop_mtime_); - } else { - _this->_impl_.stop_mtime_->MergeFrom(*from._impl_.stop_mtime_); - } - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void Job::CopyFrom(const Job& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.Job) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void Job::InternalSwap(Job* 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_.id_, &other->_impl_.id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.external_id_, &other->_impl_.external_id_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(Job, _impl_.stop_mtime_) - + sizeof(Job::_impl_.stop_mtime_) - - PROTOBUF_FIELD_OFFSET(Job, _impl_.request_)>( - reinterpret_cast(&_impl_.request_), - reinterpret_cast(&other->_impl_.request_)); -} - -::google::protobuf::Metadata Job::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class JobResult_WorkResult::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _impl_._has_bits_); -}; - -void JobResult_WorkResult::clear_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.work_ != nullptr) _impl_.work_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -JobResult_WorkResult::JobResult_WorkResult(::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:beeremote.JobResult.WorkResult) -} -inline PROTOBUF_NDEBUG_INLINE JobResult_WorkResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::JobResult_WorkResult& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - assigned_node_(arena, from.assigned_node_), - assigned_pool_(arena, from.assigned_pool_) {} - -JobResult_WorkResult::JobResult_WorkResult( - ::google::protobuf::Arena* arena, - const JobResult_WorkResult& 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 - JobResult_WorkResult* 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_.work_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::Work>( - arena, *from._impl_.work_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:beeremote.JobResult.WorkResult) -} -inline PROTOBUF_NDEBUG_INLINE JobResult_WorkResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - assigned_node_(arena), - assigned_pool_(arena) {} - -inline void JobResult_WorkResult::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.work_ = {}; -} -JobResult_WorkResult::~JobResult_WorkResult() { - // @@protoc_insertion_point(destructor:beeremote.JobResult.WorkResult) - SharedDtor(*this); -} -inline void JobResult_WorkResult::SharedDtor(MessageLite& self) { - JobResult_WorkResult& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.assigned_node_.Destroy(); - this_._impl_.assigned_pool_.Destroy(); - delete this_._impl_.work_; - this_._impl_.~Impl_(); -} - -inline void* JobResult_WorkResult::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) JobResult_WorkResult(arena); -} -constexpr auto JobResult_WorkResult::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(JobResult_WorkResult), - alignof(JobResult_WorkResult)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull JobResult_WorkResult::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_JobResult_WorkResult_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &JobResult_WorkResult::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &JobResult_WorkResult::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &JobResult_WorkResult::ByteSizeLong, - &JobResult_WorkResult::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _impl_._cached_size_), - false, - }, - &JobResult_WorkResult::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* JobResult_WorkResult::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, 65, 2> JobResult_WorkResult::_table_ = { - { - PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _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<::beeremote::JobResult_WorkResult>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // .flex.Work work = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _impl_.work_)}}, - // string assigned_node = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _impl_.assigned_node_)}}, - // string assigned_pool = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _impl_.assigned_pool_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .flex.Work work = 1; - {PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _impl_.work_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // string assigned_node = 2; - {PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _impl_.assigned_node_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string assigned_pool = 3; - {PROTOBUF_FIELD_OFFSET(JobResult_WorkResult, _impl_.assigned_pool_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::Work>()}, - }}, {{ - "\36\0\15\15\0\0\0\0" - "beeremote.JobResult.WorkResult" - "assigned_node" - "assigned_pool" - }}, -}; - -PROTOBUF_NOINLINE void JobResult_WorkResult::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.JobResult.WorkResult) - ::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_.assigned_node_.ClearToEmpty(); - _impl_.assigned_pool_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.work_ != nullptr); - _impl_.work_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* JobResult_WorkResult::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const JobResult_WorkResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* JobResult_WorkResult::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const JobResult_WorkResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.JobResult.WorkResult) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.Work work = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.work_, this_._impl_.work_->GetCachedSize(), target, - stream); - } - - // string assigned_node = 2; - if (!this_._internal_assigned_node().empty()) { - const std::string& _s = this_._internal_assigned_node(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.JobResult.WorkResult.assigned_node"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - // string assigned_pool = 3; - if (!this_._internal_assigned_pool().empty()) { - const std::string& _s = this_._internal_assigned_pool(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.JobResult.WorkResult.assigned_pool"); - 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:beeremote.JobResult.WorkResult) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t JobResult_WorkResult::ByteSizeLong(const MessageLite& base) { - const JobResult_WorkResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t JobResult_WorkResult::ByteSizeLong() const { - const JobResult_WorkResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.JobResult.WorkResult) - ::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 assigned_node = 2; - if (!this_._internal_assigned_node().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_assigned_node()); - } - // string assigned_pool = 3; - if (!this_._internal_assigned_pool().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_assigned_pool()); - } - } - { - // .flex.Work work = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.work_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void JobResult_WorkResult::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:beeremote.JobResult.WorkResult) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_assigned_node().empty()) { - _this->_internal_set_assigned_node(from._internal_assigned_node()); - } - if (!from._internal_assigned_pool().empty()) { - _this->_internal_set_assigned_pool(from._internal_assigned_pool()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.work_ != nullptr); - if (_this->_impl_.work_ == nullptr) { - _this->_impl_.work_ = - ::google::protobuf::Message::CopyConstruct<::flex::Work>(arena, *from._impl_.work_); - } else { - _this->_impl_.work_->MergeFrom(*from._impl_.work_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void JobResult_WorkResult::CopyFrom(const JobResult_WorkResult& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.JobResult.WorkResult) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void JobResult_WorkResult::InternalSwap(JobResult_WorkResult* 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_.assigned_node_, &other->_impl_.assigned_node_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.assigned_pool_, &other->_impl_.assigned_pool_, arena); - swap(_impl_.work_, other->_impl_.work_); -} - -::google::protobuf::Metadata JobResult_WorkResult::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class JobResult::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(JobResult, _impl_._has_bits_); -}; - -void JobResult::clear_work_requests() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.work_requests_.Clear(); -} -JobResult::JobResult(::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:beeremote.JobResult) -} -inline PROTOBUF_NDEBUG_INLINE JobResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::JobResult& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - work_requests_{visibility, arena, from.work_requests_}, - work_results_{visibility, arena, from.work_results_} {} - -JobResult::JobResult( - ::google::protobuf::Arena* arena, - const JobResult& 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 - JobResult* 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_.job_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beeremote::Job>( - arena, *from._impl_.job_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:beeremote.JobResult) -} -inline PROTOBUF_NDEBUG_INLINE JobResult::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - work_requests_{visibility, arena}, - work_results_{visibility, arena} {} - -inline void JobResult::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.job_ = {}; -} -JobResult::~JobResult() { - // @@protoc_insertion_point(destructor:beeremote.JobResult) - SharedDtor(*this); -} -inline void JobResult::SharedDtor(MessageLite& self) { - JobResult& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.job_; - this_._impl_.~Impl_(); -} - -inline void* JobResult::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) JobResult(arena); -} -constexpr auto JobResult::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(JobResult, _impl_.work_requests_) + - decltype(JobResult::_impl_.work_requests_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - PROTOBUF_FIELD_OFFSET(JobResult, _impl_.work_results_) + - decltype(JobResult::_impl_.work_results_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(JobResult), alignof(JobResult), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&JobResult::PlacementNew_, - sizeof(JobResult), - alignof(JobResult)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull JobResult::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_JobResult_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &JobResult::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &JobResult::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &JobResult::ByteSizeLong, - &JobResult::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(JobResult, _impl_._cached_size_), - false, - }, - &JobResult::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* JobResult::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> JobResult::_table_ = { - { - PROTOBUF_FIELD_OFFSET(JobResult, _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<::beeremote::JobResult>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // .beeremote.Job job = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(JobResult, _impl_.job_)}}, - // repeated .flex.WorkRequest work_requests = 2; - {::_pbi::TcParser::FastMtR1, - {18, 63, 1, PROTOBUF_FIELD_OFFSET(JobResult, _impl_.work_requests_)}}, - // repeated .beeremote.JobResult.WorkResult work_results = 3; - {::_pbi::TcParser::FastMtR1, - {26, 63, 2, PROTOBUF_FIELD_OFFSET(JobResult, _impl_.work_results_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .beeremote.Job job = 1; - {PROTOBUF_FIELD_OFFSET(JobResult, _impl_.job_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // repeated .flex.WorkRequest work_requests = 2; - {PROTOBUF_FIELD_OFFSET(JobResult, _impl_.work_requests_), -1, 1, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - // repeated .beeremote.JobResult.WorkResult work_results = 3; - {PROTOBUF_FIELD_OFFSET(JobResult, _impl_.work_results_), -1, 2, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beeremote::Job>()}, - {::_pbi::TcParser::GetTable<::flex::WorkRequest>()}, - {::_pbi::TcParser::GetTable<::beeremote::JobResult_WorkResult>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void JobResult::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.JobResult) - ::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_.work_requests_.Clear(); - _impl_.work_results_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.job_ != nullptr); - _impl_.job_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* JobResult::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const JobResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* JobResult::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const JobResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.JobResult) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .beeremote.Job job = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.job_, this_._impl_.job_->GetCachedSize(), target, - stream); - } - - // repeated .flex.WorkRequest work_requests = 2; - for (unsigned i = 0, n = static_cast( - this_._internal_work_requests_size()); - i < n; i++) { - const auto& repfield = this_._internal_work_requests().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, repfield, repfield.GetCachedSize(), - target, stream); - } - - // repeated .beeremote.JobResult.WorkResult work_results = 3; - for (unsigned i = 0, n = static_cast( - this_._internal_work_results_size()); - i < n; i++) { - const auto& repfield = this_._internal_work_results().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:beeremote.JobResult) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t JobResult::ByteSizeLong(const MessageLite& base) { - const JobResult& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t JobResult::ByteSizeLong() const { - const JobResult& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.JobResult) - ::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 .flex.WorkRequest work_requests = 2; - { - total_size += 1UL * this_._internal_work_requests_size(); - for (const auto& msg : this_._internal_work_requests()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - // repeated .beeremote.JobResult.WorkResult work_results = 3; - { - total_size += 1UL * this_._internal_work_results_size(); - for (const auto& msg : this_._internal_work_results()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - { - // .beeremote.Job job = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.job_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void JobResult::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:beeremote.JobResult) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_work_requests()->MergeFrom( - from._internal_work_requests()); - _this->_internal_mutable_work_results()->MergeFrom( - from._internal_work_results()); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.job_ != nullptr); - if (_this->_impl_.job_ == nullptr) { - _this->_impl_.job_ = - ::google::protobuf::Message::CopyConstruct<::beeremote::Job>(arena, *from._impl_.job_); - } else { - _this->_impl_.job_->MergeFrom(*from._impl_.job_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void JobResult::CopyFrom(const JobResult& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.JobResult) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void JobResult::InternalSwap(JobResult* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.work_requests_.InternalSwap(&other->_impl_.work_requests_); - _impl_.work_results_.InternalSwap(&other->_impl_.work_results_); - swap(_impl_.job_, other->_impl_.job_); -} - -::google::protobuf::Metadata JobResult::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class UpdatePathsRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(UpdatePathsRequest, _impl_._has_bits_); -}; - -UpdatePathsRequest::UpdatePathsRequest(::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:beeremote.UpdatePathsRequest) -} -inline PROTOBUF_NDEBUG_INLINE UpdatePathsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::UpdatePathsRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - path_prefix_(arena, from.path_prefix_) {} - -UpdatePathsRequest::UpdatePathsRequest( - ::google::protobuf::Arena* arena, - const UpdatePathsRequest& 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 - UpdatePathsRequest* 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_.requested_update_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beeremote::UpdateJobsRequest>( - arena, *from._impl_.requested_update_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:beeremote.UpdatePathsRequest) -} -inline PROTOBUF_NDEBUG_INLINE UpdatePathsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - path_prefix_(arena) {} - -inline void UpdatePathsRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.requested_update_ = {}; -} -UpdatePathsRequest::~UpdatePathsRequest() { - // @@protoc_insertion_point(destructor:beeremote.UpdatePathsRequest) - SharedDtor(*this); -} -inline void UpdatePathsRequest::SharedDtor(MessageLite& self) { - UpdatePathsRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.path_prefix_.Destroy(); - delete this_._impl_.requested_update_; - this_._impl_.~Impl_(); -} - -inline void* UpdatePathsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) UpdatePathsRequest(arena); -} -constexpr auto UpdatePathsRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(UpdatePathsRequest), - alignof(UpdatePathsRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull UpdatePathsRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_UpdatePathsRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &UpdatePathsRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &UpdatePathsRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &UpdatePathsRequest::ByteSizeLong, - &UpdatePathsRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(UpdatePathsRequest, _impl_._cached_size_), - false, - }, - &UpdatePathsRequest::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* UpdatePathsRequest::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, 48, 2> UpdatePathsRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(UpdatePathsRequest, _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<::beeremote::UpdatePathsRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // .beeremote.UpdateJobsRequest requested_update = 2; - {::_pbi::TcParser::FastMtS1, - {18, 0, 0, PROTOBUF_FIELD_OFFSET(UpdatePathsRequest, _impl_.requested_update_)}}, - // string path_prefix = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(UpdatePathsRequest, _impl_.path_prefix_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string path_prefix = 1; - {PROTOBUF_FIELD_OFFSET(UpdatePathsRequest, _impl_.path_prefix_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // .beeremote.UpdateJobsRequest requested_update = 2; - {PROTOBUF_FIELD_OFFSET(UpdatePathsRequest, _impl_.requested_update_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beeremote::UpdateJobsRequest>()}, - }}, {{ - "\34\13\0\0\0\0\0\0" - "beeremote.UpdatePathsRequest" - "path_prefix" - }}, -}; - -PROTOBUF_NOINLINE void UpdatePathsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.UpdatePathsRequest) - ::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_.path_prefix_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.requested_update_ != nullptr); - _impl_.requested_update_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* UpdatePathsRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const UpdatePathsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* UpdatePathsRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const UpdatePathsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.UpdatePathsRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string path_prefix = 1; - if (!this_._internal_path_prefix().empty()) { - const std::string& _s = this_._internal_path_prefix(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.UpdatePathsRequest.path_prefix"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .beeremote.UpdateJobsRequest requested_update = 2; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, *this_._impl_.requested_update_, this_._impl_.requested_update_->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:beeremote.UpdatePathsRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t UpdatePathsRequest::ByteSizeLong(const MessageLite& base) { - const UpdatePathsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t UpdatePathsRequest::ByteSizeLong() const { - const UpdatePathsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.UpdatePathsRequest) - ::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 path_prefix = 1; - if (!this_._internal_path_prefix().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_path_prefix()); - } - } - { - // .beeremote.UpdateJobsRequest requested_update = 2; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.requested_update_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void UpdatePathsRequest::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:beeremote.UpdatePathsRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_path_prefix().empty()) { - _this->_internal_set_path_prefix(from._internal_path_prefix()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.requested_update_ != nullptr); - if (_this->_impl_.requested_update_ == nullptr) { - _this->_impl_.requested_update_ = - ::google::protobuf::Message::CopyConstruct<::beeremote::UpdateJobsRequest>(arena, *from._impl_.requested_update_); - } else { - _this->_impl_.requested_update_->MergeFrom(*from._impl_.requested_update_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void UpdatePathsRequest::CopyFrom(const UpdatePathsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.UpdatePathsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void UpdatePathsRequest::InternalSwap(UpdatePathsRequest* 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_.path_prefix_, &other->_impl_.path_prefix_, arena); - swap(_impl_.requested_update_, other->_impl_.requested_update_); -} - -::google::protobuf::Metadata UpdatePathsRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class UpdatePathsResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(UpdatePathsResponse, _impl_._has_bits_); -}; - -UpdatePathsResponse::UpdatePathsResponse(::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:beeremote.UpdatePathsResponse) -} -inline PROTOBUF_NDEBUG_INLINE UpdatePathsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::UpdatePathsResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - path_(arena, from.path_) {} - -UpdatePathsResponse::UpdatePathsResponse( - ::google::protobuf::Arena* arena, - const UpdatePathsResponse& 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 - UpdatePathsResponse* 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_.update_result_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::beeremote::UpdateJobsResponse>( - arena, *from._impl_.update_result_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:beeremote.UpdatePathsResponse) -} -inline PROTOBUF_NDEBUG_INLINE UpdatePathsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - path_(arena) {} - -inline void UpdatePathsResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.update_result_ = {}; -} -UpdatePathsResponse::~UpdatePathsResponse() { - // @@protoc_insertion_point(destructor:beeremote.UpdatePathsResponse) - SharedDtor(*this); -} -inline void UpdatePathsResponse::SharedDtor(MessageLite& self) { - UpdatePathsResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.path_.Destroy(); - delete this_._impl_.update_result_; - this_._impl_.~Impl_(); -} - -inline void* UpdatePathsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) UpdatePathsResponse(arena); -} -constexpr auto UpdatePathsResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(UpdatePathsResponse), - alignof(UpdatePathsResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull UpdatePathsResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_UpdatePathsResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &UpdatePathsResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &UpdatePathsResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &UpdatePathsResponse::ByteSizeLong, - &UpdatePathsResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(UpdatePathsResponse, _impl_._cached_size_), - false, - }, - &UpdatePathsResponse::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* UpdatePathsResponse::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, 42, 2> UpdatePathsResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(UpdatePathsResponse, _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<::beeremote::UpdatePathsResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // .beeremote.UpdateJobsResponse update_result = 2; - {::_pbi::TcParser::FastMtS1, - {18, 0, 0, PROTOBUF_FIELD_OFFSET(UpdatePathsResponse, _impl_.update_result_)}}, - // string path = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(UpdatePathsResponse, _impl_.path_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string path = 1; - {PROTOBUF_FIELD_OFFSET(UpdatePathsResponse, _impl_.path_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // .beeremote.UpdateJobsResponse update_result = 2; - {PROTOBUF_FIELD_OFFSET(UpdatePathsResponse, _impl_.update_result_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beeremote::UpdateJobsResponse>()}, - }}, {{ - "\35\4\0\0\0\0\0\0" - "beeremote.UpdatePathsResponse" - "path" - }}, -}; - -PROTOBUF_NOINLINE void UpdatePathsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.UpdatePathsResponse) - ::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_.path_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.update_result_ != nullptr); - _impl_.update_result_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* UpdatePathsResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const UpdatePathsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* UpdatePathsResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const UpdatePathsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.UpdatePathsResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string path = 1; - if (!this_._internal_path().empty()) { - const std::string& _s = this_._internal_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.UpdatePathsResponse.path"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .beeremote.UpdateJobsResponse update_result = 2; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, *this_._impl_.update_result_, this_._impl_.update_result_->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:beeremote.UpdatePathsResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t UpdatePathsResponse::ByteSizeLong(const MessageLite& base) { - const UpdatePathsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t UpdatePathsResponse::ByteSizeLong() const { - const UpdatePathsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.UpdatePathsResponse) - ::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 path = 1; - if (!this_._internal_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_path()); - } - } - { - // .beeremote.UpdateJobsResponse update_result = 2; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.update_result_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void UpdatePathsResponse::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:beeremote.UpdatePathsResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_path().empty()) { - _this->_internal_set_path(from._internal_path()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.update_result_ != nullptr); - if (_this->_impl_.update_result_ == nullptr) { - _this->_impl_.update_result_ = - ::google::protobuf::Message::CopyConstruct<::beeremote::UpdateJobsResponse>(arena, *from._impl_.update_result_); - } else { - _this->_impl_.update_result_->MergeFrom(*from._impl_.update_result_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void UpdatePathsResponse::CopyFrom(const UpdatePathsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.UpdatePathsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void UpdatePathsResponse::InternalSwap(UpdatePathsResponse* 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_.path_, &other->_impl_.path_, arena); - swap(_impl_.update_result_, other->_impl_.update_result_); -} - -::google::protobuf::Metadata UpdatePathsResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -#if defined(PROTOBUF_CUSTOM_VTABLE) - UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse() : SuperType(_class_data_.base()) {} - UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena, _class_data_.base()) {} -#else // PROTOBUF_CUSTOM_VTABLE - UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse() : SuperType() {} - UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {} -#endif // PROTOBUF_CUSTOM_VTABLE - inline void* UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) UpdateJobsRequest_RemoteTargetsEntry_DoNotUse(arena); - } - constexpr auto UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse), - alignof(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse)); - } - PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - const ::google::protobuf::internal::ClassDataFull UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), - #if defined(PROTOBUF_CUSTOM_VTABLE) - &UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::SharedDtor, - static_cast( - &UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::ClearImpl), - ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl - , - #endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_._cached_size_), - false, - }, - &UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker - }; - const ::google::protobuf::internal::ClassData* UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::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> UpdateJobsRequest_RemoteTargetsEntry_DoNotUse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _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 - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::DiscardEverythingFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::beeremote::UpdateJobsRequest_RemoteTargetsEntry_DoNotUse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // bool value = 2; - {::_pbi::TcParser::SingularVarintNoZag1(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_.value_)}}, - // uint32 key = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_.key_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_.key_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // uint32 key = 1; - {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_.key_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // bool value = 2; - {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest_RemoteTargetsEntry_DoNotUse, _impl_.value_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - // no aux_entries - {{ - }}, -}; - -// =================================================================== - -class UpdateJobsRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_._has_bits_); -}; - -UpdateJobsRequest::UpdateJobsRequest(::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:beeremote.UpdateJobsRequest) -} -inline PROTOBUF_NDEBUG_INLINE UpdateJobsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::UpdateJobsRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - remote_targets_{visibility, arena, from.remote_targets_}, - path_(arena, from.path_), - job_id_(arena, from.job_id_) {} - -UpdateJobsRequest::UpdateJobsRequest( - ::google::protobuf::Arena* arena, - const UpdateJobsRequest& 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 - UpdateJobsRequest* 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_, force_update_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, force_update_), - offsetof(Impl_, new_state_) - - offsetof(Impl_, force_update_) + - sizeof(Impl_::new_state_)); - - // @@protoc_insertion_point(copy_constructor:beeremote.UpdateJobsRequest) -} -inline PROTOBUF_NDEBUG_INLINE UpdateJobsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - remote_targets_{visibility, arena}, - path_(arena), - job_id_(arena) {} - -inline void UpdateJobsRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, force_update_), - 0, - offsetof(Impl_, new_state_) - - offsetof(Impl_, force_update_) + - sizeof(Impl_::new_state_)); -} -UpdateJobsRequest::~UpdateJobsRequest() { - // @@protoc_insertion_point(destructor:beeremote.UpdateJobsRequest) - SharedDtor(*this); -} -inline void UpdateJobsRequest::SharedDtor(MessageLite& self) { - UpdateJobsRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.path_.Destroy(); - this_._impl_.job_id_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* UpdateJobsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) UpdateJobsRequest(arena); -} -constexpr auto UpdateJobsRequest::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.remote_targets_) + - decltype(UpdateJobsRequest::_impl_.remote_targets_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.remote_targets_) + - decltype(UpdateJobsRequest::_impl_.remote_targets_):: - InternalGetArenaOffsetAlt( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(UpdateJobsRequest), alignof(UpdateJobsRequest), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&UpdateJobsRequest::PlacementNew_, - sizeof(UpdateJobsRequest), - alignof(UpdateJobsRequest)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull UpdateJobsRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_UpdateJobsRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &UpdateJobsRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &UpdateJobsRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &UpdateJobsRequest::ByteSizeLong, - &UpdateJobsRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_._cached_size_), - false, - }, - &UpdateJobsRequest::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* UpdateJobsRequest::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, 5, 1, 46, 2> UpdateJobsRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_._has_bits_), - 0, // no _extensions_ - 10, 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294966768, // 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<::beeremote::UpdateJobsRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // bool force_update = 4; - {::_pbi::TcParser::SingularVarintNoZag1(), - {32, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.force_update_)}}, - // string path = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.path_)}}, - // optional string job_id = 2; - {::_pbi::TcParser::FastUS1, - {18, 0, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.job_id_)}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // string path = 1; - {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.path_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // optional string job_id = 2; - {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.job_id_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // map remote_targets = 3; - {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.remote_targets_), -1, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, - // bool force_update = 4; - {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.force_update_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // .beeremote.UpdateJobsRequest.NewState new_state = 10; - {PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.new_state_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - }}, {{ - {::_pbi::TcParser::GetMapAuxInfo< - decltype(UpdateJobsRequest()._impl_.remote_targets_)>( - 0, 0, 0, 13, - 8)}, - }}, {{ - "\33\4\6\0\0\0\0\0" - "beeremote.UpdateJobsRequest" - "path" - "job_id" - }}, -}; - -PROTOBUF_NOINLINE void UpdateJobsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.UpdateJobsRequest) - ::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_.remote_targets_.Clear(); - _impl_.path_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _impl_.job_id_.ClearNonDefaultToEmpty(); - } - ::memset(&_impl_.force_update_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.new_state_) - - reinterpret_cast(&_impl_.force_update_)) + sizeof(_impl_.new_state_)); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* UpdateJobsRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const UpdateJobsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* UpdateJobsRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const UpdateJobsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.UpdateJobsRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string path = 1; - if (!this_._internal_path().empty()) { - const std::string& _s = this_._internal_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.UpdateJobsRequest.path"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional string job_id = 2; - if (cached_has_bits & 0x00000001u) { - const std::string& _s = this_._internal_job_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.UpdateJobsRequest.job_id"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - // map remote_targets = 3; - if (!this_._internal_remote_targets().empty()) { - using MapType = ::google::protobuf::Map<::uint32_t, bool>; - using WireHelper = _pbi::MapEntryFuncs<::uint32_t, bool, - _pbi::WireFormatLite::TYPE_UINT32, - _pbi::WireFormatLite::TYPE_BOOL>; - const auto& field = this_._internal_remote_targets(); - - if (stream->IsSerializationDeterministic() && field.size() > 1) { - for (const auto& entry : ::google::protobuf::internal::MapSorterFlat(field)) { - target = WireHelper::InternalSerialize( - 3, entry.first, entry.second, target, stream); - } - } else { - for (const auto& entry : field) { - target = WireHelper::InternalSerialize( - 3, entry.first, entry.second, target, stream); - } - } - } - - // bool force_update = 4; - if (this_._internal_force_update() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 4, this_._internal_force_update(), target); - } - - // .beeremote.UpdateJobsRequest.NewState new_state = 10; - if (this_._internal_new_state() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 10, this_._internal_new_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:beeremote.UpdateJobsRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t UpdateJobsRequest::ByteSizeLong(const MessageLite& base) { - const UpdateJobsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t UpdateJobsRequest::ByteSizeLong() const { - const UpdateJobsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.UpdateJobsRequest) - ::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_); - { - // map remote_targets = 3; - { - total_size += - 1 * ::google::protobuf::internal::FromIntSize(this_._internal_remote_targets_size()); - for (const auto& entry : this_._internal_remote_targets()) { - total_size += _pbi::MapEntryFuncs<::uint32_t, bool, - _pbi::WireFormatLite::TYPE_UINT32, - _pbi::WireFormatLite::TYPE_BOOL>::ByteSizeLong(entry.first, entry.second); - } - } - } - { - // string path = 1; - if (!this_._internal_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_path()); - } - } - { - // optional string job_id = 2; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_job_id()); - } - } - { - // bool force_update = 4; - if (this_._internal_force_update() != 0) { - total_size += 2; - } - // .beeremote.UpdateJobsRequest.NewState new_state = 10; - if (this_._internal_new_state() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_new_state()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void UpdateJobsRequest::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:beeremote.UpdateJobsRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.remote_targets_.MergeFrom(from._impl_.remote_targets_); - if (!from._internal_path().empty()) { - _this->_internal_set_path(from._internal_path()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_job_id(from._internal_job_id()); - } - if (from._internal_force_update() != 0) { - _this->_impl_.force_update_ = from._impl_.force_update_; - } - if (from._internal_new_state() != 0) { - _this->_impl_.new_state_ = from._impl_.new_state_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void UpdateJobsRequest::CopyFrom(const UpdateJobsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.UpdateJobsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void UpdateJobsRequest::InternalSwap(UpdateJobsRequest* 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_.remote_targets_.InternalSwap(&other->_impl_.remote_targets_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.job_id_, &other->_impl_.job_id_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.new_state_) - + sizeof(UpdateJobsRequest::_impl_.new_state_) - - PROTOBUF_FIELD_OFFSET(UpdateJobsRequest, _impl_.force_update_)>( - reinterpret_cast(&_impl_.force_update_), - reinterpret_cast(&other->_impl_.force_update_)); -} - -::google::protobuf::Metadata UpdateJobsRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class UpdateJobsResponse::_Internal { - public: -}; - -UpdateJobsResponse::UpdateJobsResponse(::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:beeremote.UpdateJobsResponse) -} -inline PROTOBUF_NDEBUG_INLINE UpdateJobsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::UpdateJobsResponse& from_msg) - : results_{visibility, arena, from.results_}, - message_(arena, from.message_), - _cached_size_{0} {} - -UpdateJobsResponse::UpdateJobsResponse( - ::google::protobuf::Arena* arena, - const UpdateJobsResponse& 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 - UpdateJobsResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _impl_.ok_ = from._impl_.ok_; - - // @@protoc_insertion_point(copy_constructor:beeremote.UpdateJobsResponse) -} -inline PROTOBUF_NDEBUG_INLINE UpdateJobsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : results_{visibility, arena}, - message_(arena), - _cached_size_{0} {} - -inline void UpdateJobsResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.ok_ = {}; -} -UpdateJobsResponse::~UpdateJobsResponse() { - // @@protoc_insertion_point(destructor:beeremote.UpdateJobsResponse) - SharedDtor(*this); -} -inline void UpdateJobsResponse::SharedDtor(MessageLite& self) { - UpdateJobsResponse& 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* UpdateJobsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) UpdateJobsResponse(arena); -} -constexpr auto UpdateJobsResponse::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.results_) + - decltype(UpdateJobsResponse::_impl_.results_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(UpdateJobsResponse), alignof(UpdateJobsResponse), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&UpdateJobsResponse::PlacementNew_, - sizeof(UpdateJobsResponse), - alignof(UpdateJobsResponse)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull UpdateJobsResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_UpdateJobsResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &UpdateJobsResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &UpdateJobsResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &UpdateJobsResponse::ByteSizeLong, - &UpdateJobsResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_._cached_size_), - false, - }, - &UpdateJobsResponse::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* UpdateJobsResponse::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> UpdateJobsResponse::_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 - 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<::beeremote::UpdateJobsResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // bool ok = 1; - {::_pbi::TcParser::SingularVarintNoZag1(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.ok_)}}, - // string message = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.message_)}}, - // repeated .beeremote.JobResult results = 3; - {::_pbi::TcParser::FastMtR1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.results_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // bool ok = 1; - {PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.ok_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // string message = 2; - {PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.message_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // repeated .beeremote.JobResult results = 3; - {PROTOBUF_FIELD_OFFSET(UpdateJobsResponse, _impl_.results_), 0, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beeremote::JobResult>()}, - }}, {{ - "\34\0\7\0\0\0\0\0" - "beeremote.UpdateJobsResponse" - "message" - }}, -}; - -PROTOBUF_NOINLINE void UpdateJobsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.UpdateJobsResponse) - ::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_.results_.Clear(); - _impl_.message_.ClearToEmpty(); - _impl_.ok_ = false; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* UpdateJobsResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const UpdateJobsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* UpdateJobsResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const UpdateJobsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.UpdateJobsResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // bool ok = 1; - if (this_._internal_ok() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 1, this_._internal_ok(), 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, "beeremote.UpdateJobsResponse.message"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - // repeated .beeremote.JobResult results = 3; - for (unsigned i = 0, n = static_cast( - this_._internal_results_size()); - i < n; i++) { - const auto& repfield = this_._internal_results().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:beeremote.UpdateJobsResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t UpdateJobsResponse::ByteSizeLong(const MessageLite& base) { - const UpdateJobsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t UpdateJobsResponse::ByteSizeLong() const { - const UpdateJobsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.UpdateJobsResponse) - ::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 .beeremote.JobResult results = 3; - { - total_size += 1UL * this_._internal_results_size(); - for (const auto& msg : this_._internal_results()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - { - // string message = 2; - if (!this_._internal_message().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_message()); - } - // bool ok = 1; - if (this_._internal_ok() != 0) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void UpdateJobsResponse::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:beeremote.UpdateJobsResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_results()->MergeFrom( - from._internal_results()); - if (!from._internal_message().empty()) { - _this->_internal_set_message(from._internal_message()); - } - if (from._internal_ok() != 0) { - _this->_impl_.ok_ = from._impl_.ok_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void UpdateJobsResponse::CopyFrom(const UpdateJobsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.UpdateJobsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void UpdateJobsResponse::InternalSwap(UpdateJobsResponse* PROTOBUF_RESTRICT other) { - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.results_.InternalSwap(&other->_impl_.results_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.message_, &other->_impl_.message_, arena); - swap(_impl_.ok_, other->_impl_.ok_); -} - -::google::protobuf::Metadata UpdateJobsResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetJobsRequest_QueryIdAndPath::_Internal { - public: -}; - -GetJobsRequest_QueryIdAndPath::GetJobsRequest_QueryIdAndPath(::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:beeremote.GetJobsRequest.QueryIdAndPath) -} -inline PROTOBUF_NDEBUG_INLINE GetJobsRequest_QueryIdAndPath::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::GetJobsRequest_QueryIdAndPath& from_msg) - : job_id_(arena, from.job_id_), - path_(arena, from.path_), - _cached_size_{0} {} - -GetJobsRequest_QueryIdAndPath::GetJobsRequest_QueryIdAndPath( - ::google::protobuf::Arena* arena, - const GetJobsRequest_QueryIdAndPath& 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 - GetJobsRequest_QueryIdAndPath* 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:beeremote.GetJobsRequest.QueryIdAndPath) -} -inline PROTOBUF_NDEBUG_INLINE GetJobsRequest_QueryIdAndPath::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : job_id_(arena), - path_(arena), - _cached_size_{0} {} - -inline void GetJobsRequest_QueryIdAndPath::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); -} -GetJobsRequest_QueryIdAndPath::~GetJobsRequest_QueryIdAndPath() { - // @@protoc_insertion_point(destructor:beeremote.GetJobsRequest.QueryIdAndPath) - SharedDtor(*this); -} -inline void GetJobsRequest_QueryIdAndPath::SharedDtor(MessageLite& self) { - GetJobsRequest_QueryIdAndPath& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.job_id_.Destroy(); - this_._impl_.path_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* GetJobsRequest_QueryIdAndPath::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetJobsRequest_QueryIdAndPath(arena); -} -constexpr auto GetJobsRequest_QueryIdAndPath::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GetJobsRequest_QueryIdAndPath), - alignof(GetJobsRequest_QueryIdAndPath)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetJobsRequest_QueryIdAndPath::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetJobsRequest_QueryIdAndPath_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetJobsRequest_QueryIdAndPath::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetJobsRequest_QueryIdAndPath::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetJobsRequest_QueryIdAndPath::ByteSizeLong, - &GetJobsRequest_QueryIdAndPath::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetJobsRequest_QueryIdAndPath, _impl_._cached_size_), - false, - }, - &GetJobsRequest_QueryIdAndPath::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetJobsRequest_QueryIdAndPath::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, 58, 2> GetJobsRequest_QueryIdAndPath::_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<::beeremote::GetJobsRequest_QueryIdAndPath>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // string path = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(GetJobsRequest_QueryIdAndPath, _impl_.path_)}}, - // string job_id = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetJobsRequest_QueryIdAndPath, _impl_.job_id_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string job_id = 1; - {PROTOBUF_FIELD_OFFSET(GetJobsRequest_QueryIdAndPath, _impl_.job_id_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string path = 2; - {PROTOBUF_FIELD_OFFSET(GetJobsRequest_QueryIdAndPath, _impl_.path_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{ - "\47\6\4\0\0\0\0\0" - "beeremote.GetJobsRequest.QueryIdAndPath" - "job_id" - "path" - }}, -}; - -PROTOBUF_NOINLINE void GetJobsRequest_QueryIdAndPath::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.GetJobsRequest.QueryIdAndPath) - ::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_.job_id_.ClearToEmpty(); - _impl_.path_.ClearToEmpty(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetJobsRequest_QueryIdAndPath::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetJobsRequest_QueryIdAndPath& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetJobsRequest_QueryIdAndPath::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetJobsRequest_QueryIdAndPath& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.GetJobsRequest.QueryIdAndPath) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string job_id = 1; - if (!this_._internal_job_id().empty()) { - const std::string& _s = this_._internal_job_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.GetJobsRequest.QueryIdAndPath.job_id"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - // string path = 2; - if (!this_._internal_path().empty()) { - const std::string& _s = this_._internal_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.GetJobsRequest.QueryIdAndPath.path"); - 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:beeremote.GetJobsRequest.QueryIdAndPath) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetJobsRequest_QueryIdAndPath::ByteSizeLong(const MessageLite& base) { - const GetJobsRequest_QueryIdAndPath& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetJobsRequest_QueryIdAndPath::ByteSizeLong() const { - const GetJobsRequest_QueryIdAndPath& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.GetJobsRequest.QueryIdAndPath) - ::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 job_id = 1; - if (!this_._internal_job_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_job_id()); - } - // string path = 2; - if (!this_._internal_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_path()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetJobsRequest_QueryIdAndPath::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:beeremote.GetJobsRequest.QueryIdAndPath) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_job_id().empty()) { - _this->_internal_set_job_id(from._internal_job_id()); - } - if (!from._internal_path().empty()) { - _this->_internal_set_path(from._internal_path()); - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetJobsRequest_QueryIdAndPath::CopyFrom(const GetJobsRequest_QueryIdAndPath& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.GetJobsRequest.QueryIdAndPath) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetJobsRequest_QueryIdAndPath::InternalSwap(GetJobsRequest_QueryIdAndPath* 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_.job_id_, &other->_impl_.job_id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena); -} - -::google::protobuf::Metadata GetJobsRequest_QueryIdAndPath::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetJobsRequest::_Internal { - public: - static constexpr ::int32_t kOneofCaseOffset = - PROTOBUF_FIELD_OFFSET(::beeremote::GetJobsRequest, _impl_._oneof_case_); -}; - -void GetJobsRequest::set_allocated_by_job_id_and_path(::beeremote::GetJobsRequest_QueryIdAndPath* by_job_id_and_path) { - ::google::protobuf::Arena* message_arena = GetArena(); - clear_query(); - if (by_job_id_and_path) { - ::google::protobuf::Arena* submessage_arena = by_job_id_and_path->GetArena(); - if (message_arena != submessage_arena) { - by_job_id_and_path = ::google::protobuf::internal::GetOwnedMessage(message_arena, by_job_id_and_path, submessage_arena); - } - set_has_by_job_id_and_path(); - _impl_.query_.by_job_id_and_path_ = by_job_id_and_path; - } - // @@protoc_insertion_point(field_set_allocated:beeremote.GetJobsRequest.by_job_id_and_path) -} -GetJobsRequest::GetJobsRequest(::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:beeremote.GetJobsRequest) -} -inline PROTOBUF_NDEBUG_INLINE GetJobsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::GetJobsRequest& from_msg) - : query_{}, - _cached_size_{0}, - _oneof_case_{from._oneof_case_[0]} {} - -GetJobsRequest::GetJobsRequest( - ::google::protobuf::Arena* arena, - const GetJobsRequest& 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 - GetJobsRequest* 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_, include_work_requests_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, include_work_requests_), - offsetof(Impl_, update_work_results_) - - offsetof(Impl_, include_work_requests_) + - sizeof(Impl_::update_work_results_)); - switch (query_case()) { - case QUERY_NOT_SET: - break; - case kByJobIdAndPath: - _impl_.query_.by_job_id_and_path_ = ::google::protobuf::Message::CopyConstruct<::beeremote::GetJobsRequest_QueryIdAndPath>(arena, *from._impl_.query_.by_job_id_and_path_); - break; - case kByExactPath: - new (&_impl_.query_.by_exact_path_) decltype(_impl_.query_.by_exact_path_){arena, from._impl_.query_.by_exact_path_}; - break; - case kByPathPrefix: - new (&_impl_.query_.by_path_prefix_) decltype(_impl_.query_.by_path_prefix_){arena, from._impl_.query_.by_path_prefix_}; - break; - } - - // @@protoc_insertion_point(copy_constructor:beeremote.GetJobsRequest) -} -inline PROTOBUF_NDEBUG_INLINE GetJobsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : query_{}, - _cached_size_{0}, - _oneof_case_{} {} - -inline void GetJobsRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, include_work_requests_), - 0, - offsetof(Impl_, update_work_results_) - - offsetof(Impl_, include_work_requests_) + - sizeof(Impl_::update_work_results_)); -} -GetJobsRequest::~GetJobsRequest() { - // @@protoc_insertion_point(destructor:beeremote.GetJobsRequest) - SharedDtor(*this); -} -inline void GetJobsRequest::SharedDtor(MessageLite& self) { - GetJobsRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - if (this_.has_query()) { - this_.clear_query(); - } - this_._impl_.~Impl_(); -} - -void GetJobsRequest::clear_query() { -// @@protoc_insertion_point(one_of_clear_start:beeremote.GetJobsRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - switch (query_case()) { - case kByJobIdAndPath: { - if (GetArena() == nullptr) { - delete _impl_.query_.by_job_id_and_path_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.query_.by_job_id_and_path_); - } - break; - } - case kByExactPath: { - _impl_.query_.by_exact_path_.Destroy(); - break; - } - case kByPathPrefix: { - _impl_.query_.by_path_prefix_.Destroy(); - break; - } - case QUERY_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = QUERY_NOT_SET; -} - - -inline void* GetJobsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetJobsRequest(arena); -} -constexpr auto GetJobsRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetJobsRequest), - alignof(GetJobsRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetJobsRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetJobsRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetJobsRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetJobsRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetJobsRequest::ByteSizeLong, - &GetJobsRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_._cached_size_), - false, - }, - &GetJobsRequest::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetJobsRequest::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, 6, 1, 60, 2> GetJobsRequest::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 6, 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967232, // skipmap - offsetof(decltype(_table_), field_entries), - 6, // 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<::beeremote::GetJobsRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // bool include_work_requests = 4; - {::_pbi::TcParser::SingularVarintNoZag1(), - {32, 63, 0, PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.include_work_requests_)}}, - // bool include_work_results = 5; - {::_pbi::TcParser::SingularVarintNoZag1(), - {40, 63, 0, PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.include_work_results_)}}, - // bool update_work_results = 6; - {::_pbi::TcParser::SingularVarintNoZag1(), - {48, 63, 0, PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.update_work_results_)}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // .beeremote.GetJobsRequest.QueryIdAndPath by_job_id_and_path = 1; - {PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.query_.by_job_id_and_path_), _Internal::kOneofCaseOffset + 0, 0, - (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, - // string by_exact_path = 2; - {PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.query_.by_exact_path_), _Internal::kOneofCaseOffset + 0, 0, - (0 | ::_fl::kFcOneof | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string by_path_prefix = 3; - {PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.query_.by_path_prefix_), _Internal::kOneofCaseOffset + 0, 0, - (0 | ::_fl::kFcOneof | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // bool include_work_requests = 4; - {PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.include_work_requests_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool include_work_results = 5; - {PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.include_work_results_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool update_work_results = 6; - {PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.update_work_results_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beeremote::GetJobsRequest_QueryIdAndPath>()}, - }}, {{ - "\30\0\15\16\0\0\0\0" - "beeremote.GetJobsRequest" - "by_exact_path" - "by_path_prefix" - }}, -}; - -PROTOBUF_NOINLINE void GetJobsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.GetJobsRequest) - ::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_.include_work_requests_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.update_work_results_) - - reinterpret_cast(&_impl_.include_work_requests_)) + sizeof(_impl_.update_work_results_)); - clear_query(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetJobsRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetJobsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetJobsRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetJobsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.GetJobsRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - switch (this_.query_case()) { - case kByJobIdAndPath: { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.query_.by_job_id_and_path_, this_._impl_.query_.by_job_id_and_path_->GetCachedSize(), target, - stream); - break; - } - case kByExactPath: { - const std::string& _s = this_._internal_by_exact_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.GetJobsRequest.by_exact_path"); - target = stream->WriteStringMaybeAliased(2, _s, target); - break; - } - case kByPathPrefix: { - const std::string& _s = this_._internal_by_path_prefix(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.GetJobsRequest.by_path_prefix"); - target = stream->WriteStringMaybeAliased(3, _s, target); - break; - } - default: - break; - } - // bool include_work_requests = 4; - if (this_._internal_include_work_requests() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 4, this_._internal_include_work_requests(), target); - } - - // bool include_work_results = 5; - if (this_._internal_include_work_results() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 5, this_._internal_include_work_results(), target); - } - - // bool update_work_results = 6; - if (this_._internal_update_work_results() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 6, this_._internal_update_work_results(), 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:beeremote.GetJobsRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetJobsRequest::ByteSizeLong(const MessageLite& base) { - const GetJobsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetJobsRequest::ByteSizeLong() const { - const GetJobsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.GetJobsRequest) - ::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_); - { - // bool include_work_requests = 4; - if (this_._internal_include_work_requests() != 0) { - total_size += 2; - } - // bool include_work_results = 5; - if (this_._internal_include_work_results() != 0) { - total_size += 2; - } - // bool update_work_results = 6; - if (this_._internal_update_work_results() != 0) { - total_size += 2; - } - } - switch (this_.query_case()) { - // .beeremote.GetJobsRequest.QueryIdAndPath by_job_id_and_path = 1; - case kByJobIdAndPath: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.query_.by_job_id_and_path_); - break; - } - // string by_exact_path = 2; - case kByExactPath: { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_by_exact_path()); - break; - } - // string by_path_prefix = 3; - case kByPathPrefix: { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_by_path_prefix()); - break; - } - case QUERY_NOT_SET: { - break; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetJobsRequest::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:beeremote.GetJobsRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_include_work_requests() != 0) { - _this->_impl_.include_work_requests_ = from._impl_.include_work_requests_; - } - if (from._internal_include_work_results() != 0) { - _this->_impl_.include_work_results_ = from._impl_.include_work_results_; - } - if (from._internal_update_work_results() != 0) { - _this->_impl_.update_work_results_ = from._impl_.update_work_results_; - } - if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { - const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; - const bool oneof_needs_init = oneof_to_case != oneof_from_case; - if (oneof_needs_init) { - if (oneof_to_case != 0) { - _this->clear_query(); - } - _this->_impl_._oneof_case_[0] = oneof_from_case; - } - - switch (oneof_from_case) { - case kByJobIdAndPath: { - if (oneof_needs_init) { - _this->_impl_.query_.by_job_id_and_path_ = - ::google::protobuf::Message::CopyConstruct<::beeremote::GetJobsRequest_QueryIdAndPath>(arena, *from._impl_.query_.by_job_id_and_path_); - } else { - _this->_impl_.query_.by_job_id_and_path_->MergeFrom(from._internal_by_job_id_and_path()); - } - break; - } - case kByExactPath: { - if (oneof_needs_init) { - _this->_impl_.query_.by_exact_path_.InitDefault(); - } - _this->_impl_.query_.by_exact_path_.Set(from._internal_by_exact_path(), arena); - break; - } - case kByPathPrefix: { - if (oneof_needs_init) { - _this->_impl_.query_.by_path_prefix_.InitDefault(); - } - _this->_impl_.query_.by_path_prefix_.Set(from._internal_by_path_prefix(), arena); - break; - } - case QUERY_NOT_SET: - break; - } - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetJobsRequest::CopyFrom(const GetJobsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.GetJobsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetJobsRequest::InternalSwap(GetJobsRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.update_work_results_) - + sizeof(GetJobsRequest::_impl_.update_work_results_) - - PROTOBUF_FIELD_OFFSET(GetJobsRequest, _impl_.include_work_requests_)>( - reinterpret_cast(&_impl_.include_work_requests_), - reinterpret_cast(&other->_impl_.include_work_requests_)); - swap(_impl_.query_, other->_impl_.query_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::google::protobuf::Metadata GetJobsRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetJobsResponse::_Internal { - public: -}; - -GetJobsResponse::GetJobsResponse(::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:beeremote.GetJobsResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetJobsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::GetJobsResponse& from_msg) - : results_{visibility, arena, from.results_}, - path_(arena, from.path_), - _cached_size_{0} {} - -GetJobsResponse::GetJobsResponse( - ::google::protobuf::Arena* arena, - const GetJobsResponse& 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 - GetJobsResponse* 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:beeremote.GetJobsResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetJobsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : results_{visibility, arena}, - path_(arena), - _cached_size_{0} {} - -inline void GetJobsResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); -} -GetJobsResponse::~GetJobsResponse() { - // @@protoc_insertion_point(destructor:beeremote.GetJobsResponse) - SharedDtor(*this); -} -inline void GetJobsResponse::SharedDtor(MessageLite& self) { - GetJobsResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.path_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* GetJobsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetJobsResponse(arena); -} -constexpr auto GetJobsResponse::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(GetJobsResponse, _impl_.results_) + - decltype(GetJobsResponse::_impl_.results_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(GetJobsResponse), alignof(GetJobsResponse), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&GetJobsResponse::PlacementNew_, - sizeof(GetJobsResponse), - alignof(GetJobsResponse)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetJobsResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetJobsResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetJobsResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetJobsResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetJobsResponse::ByteSizeLong, - &GetJobsResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetJobsResponse, _impl_._cached_size_), - false, - }, - &GetJobsResponse::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetJobsResponse::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, 38, 2> GetJobsResponse::_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 - 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<::beeremote::GetJobsResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // repeated .beeremote.JobResult results = 2; - {::_pbi::TcParser::FastMtR1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(GetJobsResponse, _impl_.results_)}}, - // string path = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetJobsResponse, _impl_.path_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string path = 1; - {PROTOBUF_FIELD_OFFSET(GetJobsResponse, _impl_.path_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // repeated .beeremote.JobResult results = 2; - {PROTOBUF_FIELD_OFFSET(GetJobsResponse, _impl_.results_), 0, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beeremote::JobResult>()}, - }}, {{ - "\31\4\0\0\0\0\0\0" - "beeremote.GetJobsResponse" - "path" - }}, -}; - -PROTOBUF_NOINLINE void GetJobsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.GetJobsResponse) - ::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_.results_.Clear(); - _impl_.path_.ClearToEmpty(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetJobsResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetJobsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetJobsResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetJobsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.GetJobsResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string path = 1; - if (!this_._internal_path().empty()) { - const std::string& _s = this_._internal_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.GetJobsResponse.path"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - // repeated .beeremote.JobResult results = 2; - for (unsigned i = 0, n = static_cast( - this_._internal_results_size()); - i < n; i++) { - const auto& repfield = this_._internal_results().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, 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:beeremote.GetJobsResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetJobsResponse::ByteSizeLong(const MessageLite& base) { - const GetJobsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetJobsResponse::ByteSizeLong() const { - const GetJobsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.GetJobsResponse) - ::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 .beeremote.JobResult results = 2; - { - total_size += 1UL * this_._internal_results_size(); - for (const auto& msg : this_._internal_results()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - { - // string path = 1; - if (!this_._internal_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_path()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetJobsResponse::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:beeremote.GetJobsResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_results()->MergeFrom( - from._internal_results()); - if (!from._internal_path().empty()) { - _this->_internal_set_path(from._internal_path()); - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetJobsResponse::CopyFrom(const GetJobsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.GetJobsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetJobsResponse::InternalSwap(GetJobsResponse* PROTOBUF_RESTRICT other) { - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.results_.InternalSwap(&other->_impl_.results_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena); -} - -::google::protobuf::Metadata GetJobsResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class UpdateWorkRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_._has_bits_); -}; - -void UpdateWorkRequest::clear_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.work_ != nullptr) _impl_.work_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -UpdateWorkRequest::UpdateWorkRequest(::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:beeremote.UpdateWorkRequest) -} -inline PROTOBUF_NDEBUG_INLINE UpdateWorkRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::UpdateWorkRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -UpdateWorkRequest::UpdateWorkRequest( - ::google::protobuf::Arena* arena, - const UpdateWorkRequest& 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 - UpdateWorkRequest* 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_.work_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::Work>( - arena, *from._impl_.work_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:beeremote.UpdateWorkRequest) -} -inline PROTOBUF_NDEBUG_INLINE UpdateWorkRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void UpdateWorkRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.work_ = {}; -} -UpdateWorkRequest::~UpdateWorkRequest() { - // @@protoc_insertion_point(destructor:beeremote.UpdateWorkRequest) - SharedDtor(*this); -} -inline void UpdateWorkRequest::SharedDtor(MessageLite& self) { - UpdateWorkRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.work_; - this_._impl_.~Impl_(); -} - -inline void* UpdateWorkRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) UpdateWorkRequest(arena); -} -constexpr auto UpdateWorkRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(UpdateWorkRequest), - alignof(UpdateWorkRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull UpdateWorkRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_UpdateWorkRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &UpdateWorkRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &UpdateWorkRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &UpdateWorkRequest::ByteSizeLong, - &UpdateWorkRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_._cached_size_), - false, - }, - &UpdateWorkRequest::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* UpdateWorkRequest::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> UpdateWorkRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _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<::beeremote::UpdateWorkRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // .flex.Work work = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_.work_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .flex.Work work = 1; - {PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_.work_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::Work>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void UpdateWorkRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.UpdateWorkRequest) - ::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_.work_ != nullptr); - _impl_.work_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* UpdateWorkRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const UpdateWorkRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* UpdateWorkRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const UpdateWorkRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.UpdateWorkRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.Work work = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.work_, this_._impl_.work_->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:beeremote.UpdateWorkRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t UpdateWorkRequest::ByteSizeLong(const MessageLite& base) { - const UpdateWorkRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t UpdateWorkRequest::ByteSizeLong() const { - const UpdateWorkRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.UpdateWorkRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // .flex.Work work = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.work_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void UpdateWorkRequest::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:beeremote.UpdateWorkRequest) - 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_.work_ != nullptr); - if (_this->_impl_.work_ == nullptr) { - _this->_impl_.work_ = - ::google::protobuf::Message::CopyConstruct<::flex::Work>(arena, *from._impl_.work_); - } else { - _this->_impl_.work_->MergeFrom(*from._impl_.work_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void UpdateWorkRequest::CopyFrom(const UpdateWorkRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.UpdateWorkRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void UpdateWorkRequest::InternalSwap(UpdateWorkRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.work_, other->_impl_.work_); -} - -::google::protobuf::Metadata UpdateWorkRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class UpdateWorkResponse::_Internal { - public: -}; - -UpdateWorkResponse::UpdateWorkResponse(::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:beeremote.UpdateWorkResponse) -} -UpdateWorkResponse::UpdateWorkResponse( - ::google::protobuf::Arena* arena, - const UpdateWorkResponse& 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 - UpdateWorkResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:beeremote.UpdateWorkResponse) -} - -inline void* UpdateWorkResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) UpdateWorkResponse(arena); -} -constexpr auto UpdateWorkResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(UpdateWorkResponse), - alignof(UpdateWorkResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull UpdateWorkResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_UpdateWorkResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &UpdateWorkResponse::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &UpdateWorkResponse::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &UpdateWorkResponse::ByteSizeLong, - &UpdateWorkResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(UpdateWorkResponse, _impl_._cached_size_), - false, - }, - &UpdateWorkResponse::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* UpdateWorkResponse::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> UpdateWorkResponse::_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<::beeremote::UpdateWorkResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, - // no field_entries, or aux_entries - {{ - }}, -}; - - - - - - - - -::google::protobuf::Metadata UpdateWorkResponse::GetMetadata() const { - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetRSTConfigRequest::_Internal { - public: -}; - -GetRSTConfigRequest::GetRSTConfigRequest(::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:beeremote.GetRSTConfigRequest) -} -GetRSTConfigRequest::GetRSTConfigRequest( - ::google::protobuf::Arena* arena, - const GetRSTConfigRequest& 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 - GetRSTConfigRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:beeremote.GetRSTConfigRequest) -} - -inline void* GetRSTConfigRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetRSTConfigRequest(arena); -} -constexpr auto GetRSTConfigRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetRSTConfigRequest), - alignof(GetRSTConfigRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetRSTConfigRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetRSTConfigRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetRSTConfigRequest::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetRSTConfigRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &GetRSTConfigRequest::ByteSizeLong, - &GetRSTConfigRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetRSTConfigRequest, _impl_._cached_size_), - false, - }, - &GetRSTConfigRequest::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetRSTConfigRequest::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> GetRSTConfigRequest::_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<::beeremote::GetRSTConfigRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, - // no field_entries, or aux_entries - {{ - }}, -}; - - - - - - - - -::google::protobuf::Metadata GetRSTConfigRequest::GetMetadata() const { - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetRSTConfigResponse::_Internal { - public: -}; - -void GetRSTConfigResponse::clear_rsts() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.rsts_.Clear(); -} -GetRSTConfigResponse::GetRSTConfigResponse(::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:beeremote.GetRSTConfigResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetRSTConfigResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::GetRSTConfigResponse& from_msg) - : rsts_{visibility, arena, from.rsts_}, - _cached_size_{0} {} - -GetRSTConfigResponse::GetRSTConfigResponse( - ::google::protobuf::Arena* arena, - const GetRSTConfigResponse& 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 - GetRSTConfigResponse* 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:beeremote.GetRSTConfigResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetRSTConfigResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : rsts_{visibility, arena}, - _cached_size_{0} {} - -inline void GetRSTConfigResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); -} -GetRSTConfigResponse::~GetRSTConfigResponse() { - // @@protoc_insertion_point(destructor:beeremote.GetRSTConfigResponse) - SharedDtor(*this); -} -inline void GetRSTConfigResponse::SharedDtor(MessageLite& self) { - GetRSTConfigResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* GetRSTConfigResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetRSTConfigResponse(arena); -} -constexpr auto GetRSTConfigResponse::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(GetRSTConfigResponse, _impl_.rsts_) + - decltype(GetRSTConfigResponse::_impl_.rsts_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(GetRSTConfigResponse), alignof(GetRSTConfigResponse), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&GetRSTConfigResponse::PlacementNew_, - sizeof(GetRSTConfigResponse), - alignof(GetRSTConfigResponse)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetRSTConfigResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetRSTConfigResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetRSTConfigResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetRSTConfigResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetRSTConfigResponse::ByteSizeLong, - &GetRSTConfigResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetRSTConfigResponse, _impl_._cached_size_), - false, - }, - &GetRSTConfigResponse::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetRSTConfigResponse::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> GetRSTConfigResponse::_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<::beeremote::GetRSTConfigResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // repeated .flex.RemoteStorageTarget rsts = 1; - {::_pbi::TcParser::FastMtR1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetRSTConfigResponse, _impl_.rsts_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // repeated .flex.RemoteStorageTarget rsts = 1; - {PROTOBUF_FIELD_OFFSET(GetRSTConfigResponse, _impl_.rsts_), 0, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void GetRSTConfigResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.GetRSTConfigResponse) - ::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_.rsts_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetRSTConfigResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetRSTConfigResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetRSTConfigResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetRSTConfigResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.GetRSTConfigResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // repeated .flex.RemoteStorageTarget rsts = 1; - for (unsigned i = 0, n = static_cast( - this_._internal_rsts_size()); - i < n; i++) { - const auto& repfield = this_._internal_rsts().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:beeremote.GetRSTConfigResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetRSTConfigResponse::ByteSizeLong(const MessageLite& base) { - const GetRSTConfigResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetRSTConfigResponse::ByteSizeLong() const { - const GetRSTConfigResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.GetRSTConfigResponse) - ::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 .flex.RemoteStorageTarget rsts = 1; - { - total_size += 1UL * this_._internal_rsts_size(); - for (const auto& msg : this_._internal_rsts()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetRSTConfigResponse::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:beeremote.GetRSTConfigResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_rsts()->MergeFrom( - from._internal_rsts()); - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetRSTConfigResponse::CopyFrom(const GetRSTConfigResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.GetRSTConfigResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetRSTConfigResponse::InternalSwap(GetRSTConfigResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.rsts_.InternalSwap(&other->_impl_.rsts_); -} - -::google::protobuf::Metadata GetRSTConfigResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetStubContentsRequest::_Internal { - public: -}; - -GetStubContentsRequest::GetStubContentsRequest(::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:beeremote.GetStubContentsRequest) -} -inline PROTOBUF_NDEBUG_INLINE GetStubContentsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::GetStubContentsRequest& from_msg) - : path_(arena, from.path_), - _cached_size_{0} {} - -GetStubContentsRequest::GetStubContentsRequest( - ::google::protobuf::Arena* arena, - const GetStubContentsRequest& 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 - GetStubContentsRequest* 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:beeremote.GetStubContentsRequest) -} -inline PROTOBUF_NDEBUG_INLINE GetStubContentsRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : path_(arena), - _cached_size_{0} {} - -inline void GetStubContentsRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); -} -GetStubContentsRequest::~GetStubContentsRequest() { - // @@protoc_insertion_point(destructor:beeremote.GetStubContentsRequest) - SharedDtor(*this); -} -inline void GetStubContentsRequest::SharedDtor(MessageLite& self) { - GetStubContentsRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.path_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* GetStubContentsRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetStubContentsRequest(arena); -} -constexpr auto GetStubContentsRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GetStubContentsRequest), - alignof(GetStubContentsRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetStubContentsRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetStubContentsRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetStubContentsRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetStubContentsRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetStubContentsRequest::ByteSizeLong, - &GetStubContentsRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetStubContentsRequest, _impl_._cached_size_), - false, - }, - &GetStubContentsRequest::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetStubContentsRequest::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, 45, 2> GetStubContentsRequest::_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<::beeremote::GetStubContentsRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // string path = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetStubContentsRequest, _impl_.path_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string path = 1; - {PROTOBUF_FIELD_OFFSET(GetStubContentsRequest, _impl_.path_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{ - "\40\4\0\0\0\0\0\0" - "beeremote.GetStubContentsRequest" - "path" - }}, -}; - -PROTOBUF_NOINLINE void GetStubContentsRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.GetStubContentsRequest) - ::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_.path_.ClearToEmpty(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetStubContentsRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetStubContentsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetStubContentsRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetStubContentsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.GetStubContentsRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string path = 1; - if (!this_._internal_path().empty()) { - const std::string& _s = this_._internal_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.GetStubContentsRequest.path"); - target = stream->WriteStringMaybeAliased(1, _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:beeremote.GetStubContentsRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetStubContentsRequest::ByteSizeLong(const MessageLite& base) { - const GetStubContentsRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetStubContentsRequest::ByteSizeLong() const { - const GetStubContentsRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.GetStubContentsRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // string path = 1; - if (!this_._internal_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_path()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetStubContentsRequest::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:beeremote.GetStubContentsRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_path().empty()) { - _this->_internal_set_path(from._internal_path()); - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetStubContentsRequest::CopyFrom(const GetStubContentsRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.GetStubContentsRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetStubContentsRequest::InternalSwap(GetStubContentsRequest* 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_.path_, &other->_impl_.path_, arena); -} - -::google::protobuf::Metadata GetStubContentsRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetStubContentsResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetStubContentsResponse, _impl_._has_bits_); -}; - -GetStubContentsResponse::GetStubContentsResponse(::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:beeremote.GetStubContentsResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetStubContentsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beeremote::GetStubContentsResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - url_(arena, from.url_) {} - -GetStubContentsResponse::GetStubContentsResponse( - ::google::protobuf::Arena* arena, - const GetStubContentsResponse& 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 - GetStubContentsResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _impl_.rst_id_ = from._impl_.rst_id_; - - // @@protoc_insertion_point(copy_constructor:beeremote.GetStubContentsResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetStubContentsResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - url_(arena) {} - -inline void GetStubContentsResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.rst_id_ = {}; -} -GetStubContentsResponse::~GetStubContentsResponse() { - // @@protoc_insertion_point(destructor:beeremote.GetStubContentsResponse) - SharedDtor(*this); -} -inline void GetStubContentsResponse::SharedDtor(MessageLite& self) { - GetStubContentsResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.url_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* GetStubContentsResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetStubContentsResponse(arena); -} -constexpr auto GetStubContentsResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GetStubContentsResponse), - alignof(GetStubContentsResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetStubContentsResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetStubContentsResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetStubContentsResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetStubContentsResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetStubContentsResponse::ByteSizeLong, - &GetStubContentsResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetStubContentsResponse, _impl_._cached_size_), - false, - }, - &GetStubContentsResponse::kDescriptorMethods, - &descriptor_table_beeremote_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetStubContentsResponse::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, 45, 2> GetStubContentsResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetStubContentsResponse, _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 - 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<::beeremote::GetStubContentsResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional string url = 2; - {::_pbi::TcParser::FastUS1, - {18, 0, 0, PROTOBUF_FIELD_OFFSET(GetStubContentsResponse, _impl_.url_)}}, - // optional uint32 rst_id = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(GetStubContentsResponse, _impl_.rst_id_), 1>(), - {8, 1, 0, PROTOBUF_FIELD_OFFSET(GetStubContentsResponse, _impl_.rst_id_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // optional uint32 rst_id = 1; - {PROTOBUF_FIELD_OFFSET(GetStubContentsResponse, _impl_.rst_id_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, - // optional string url = 2; - {PROTOBUF_FIELD_OFFSET(GetStubContentsResponse, _impl_.url_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{ - "\41\0\3\0\0\0\0\0" - "beeremote.GetStubContentsResponse" - "url" - }}, -}; - -PROTOBUF_NOINLINE void GetStubContentsResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:beeremote.GetStubContentsResponse) - ::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) { - _impl_.url_.ClearNonDefaultToEmpty(); - } - _impl_.rst_id_ = 0u; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetStubContentsResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetStubContentsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetStubContentsResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetStubContentsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beeremote.GetStubContentsResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional uint32 rst_id = 1; - if (cached_has_bits & 0x00000002u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 1, this_._internal_rst_id(), target); - } - - // optional string url = 2; - if (cached_has_bits & 0x00000001u) { - const std::string& _s = this_._internal_url(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beeremote.GetStubContentsResponse.url"); - 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:beeremote.GetStubContentsResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetStubContentsResponse::ByteSizeLong(const MessageLite& base) { - const GetStubContentsResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetStubContentsResponse::ByteSizeLong() const { - const GetStubContentsResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beeremote.GetStubContentsResponse) - ::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 string url = 2; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_url()); - } - // optional uint32 rst_id = 1; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_rst_id()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetStubContentsResponse::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:beeremote.GetStubContentsResponse) - 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) { - _this->_internal_set_url(from._internal_url()); - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.rst_id_ = from._impl_.rst_id_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetStubContentsResponse::CopyFrom(const GetStubContentsResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beeremote.GetStubContentsResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetStubContentsResponse::InternalSwap(GetStubContentsResponse* 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_.url_, &other->_impl_.url_, arena); - swap(_impl_.rst_id_, other->_impl_.rst_id_); -} - -::google::protobuf::Metadata GetStubContentsResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// @@protoc_insertion_point(namespace_scope) -} // namespace beeremote -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_beeremote_2eproto), - ::std::false_type{}); -#include "google/protobuf/port_undef.inc" diff --git a/cpp/beeremote.pb.h b/cpp/beeremote.pb.h deleted file mode 100644 index 0a665f7..0000000 --- a/cpp/beeremote.pb.h +++ /dev/null @@ -1,8567 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: beeremote.proto -// Protobuf C++ Version: 5.29.2 - -#ifndef beeremote_2eproto_2epb_2eh -#define beeremote_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/map.h" // IWYU pragma: export -#include "google/protobuf/map_entry.h" -#include "google/protobuf/map_field_inl.h" -#include "google/protobuf/generated_enum_reflection.h" -#include "google/protobuf/unknown_field_set.h" -#include "flex.pb.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_beeremote_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_beeremote_2eproto { - static const ::uint32_t offsets[]; -}; -extern const ::google::protobuf::internal::DescriptorTable - descriptor_table_beeremote_2eproto; -namespace beeremote { -class GetJobsRequest; -struct GetJobsRequestDefaultTypeInternal; -extern GetJobsRequestDefaultTypeInternal _GetJobsRequest_default_instance_; -class GetJobsRequest_QueryIdAndPath; -struct GetJobsRequest_QueryIdAndPathDefaultTypeInternal; -extern GetJobsRequest_QueryIdAndPathDefaultTypeInternal _GetJobsRequest_QueryIdAndPath_default_instance_; -class GetJobsResponse; -struct GetJobsResponseDefaultTypeInternal; -extern GetJobsResponseDefaultTypeInternal _GetJobsResponse_default_instance_; -class GetRSTConfigRequest; -struct GetRSTConfigRequestDefaultTypeInternal; -extern GetRSTConfigRequestDefaultTypeInternal _GetRSTConfigRequest_default_instance_; -class GetRSTConfigResponse; -struct GetRSTConfigResponseDefaultTypeInternal; -extern GetRSTConfigResponseDefaultTypeInternal _GetRSTConfigResponse_default_instance_; -class GetStubContentsRequest; -struct GetStubContentsRequestDefaultTypeInternal; -extern GetStubContentsRequestDefaultTypeInternal _GetStubContentsRequest_default_instance_; -class GetStubContentsResponse; -struct GetStubContentsResponseDefaultTypeInternal; -extern GetStubContentsResponseDefaultTypeInternal _GetStubContentsResponse_default_instance_; -class Job; -struct JobDefaultTypeInternal; -extern JobDefaultTypeInternal _Job_default_instance_; -class JobRequest; -struct JobRequestDefaultTypeInternal; -extern JobRequestDefaultTypeInternal _JobRequest_default_instance_; -class JobRequest_GenerationStatus; -struct JobRequest_GenerationStatusDefaultTypeInternal; -extern JobRequest_GenerationStatusDefaultTypeInternal _JobRequest_GenerationStatus_default_instance_; -class JobResult; -struct JobResultDefaultTypeInternal; -extern JobResultDefaultTypeInternal _JobResult_default_instance_; -class JobResult_WorkResult; -struct JobResult_WorkResultDefaultTypeInternal; -extern JobResult_WorkResultDefaultTypeInternal _JobResult_WorkResult_default_instance_; -class Job_Status; -struct Job_StatusDefaultTypeInternal; -extern Job_StatusDefaultTypeInternal _Job_Status_default_instance_; -class SubmitJobRequest; -struct SubmitJobRequestDefaultTypeInternal; -extern SubmitJobRequestDefaultTypeInternal _SubmitJobRequest_default_instance_; -class SubmitJobResponse; -struct SubmitJobResponseDefaultTypeInternal; -extern SubmitJobResponseDefaultTypeInternal _SubmitJobResponse_default_instance_; -class UpdateJobsRequest; -struct UpdateJobsRequestDefaultTypeInternal; -extern UpdateJobsRequestDefaultTypeInternal _UpdateJobsRequest_default_instance_; -class UpdateJobsRequest_RemoteTargetsEntry_DoNotUse; -struct UpdateJobsRequest_RemoteTargetsEntry_DoNotUseDefaultTypeInternal; -extern UpdateJobsRequest_RemoteTargetsEntry_DoNotUseDefaultTypeInternal _UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_default_instance_; -class UpdateJobsResponse; -struct UpdateJobsResponseDefaultTypeInternal; -extern UpdateJobsResponseDefaultTypeInternal _UpdateJobsResponse_default_instance_; -class UpdatePathsRequest; -struct UpdatePathsRequestDefaultTypeInternal; -extern UpdatePathsRequestDefaultTypeInternal _UpdatePathsRequest_default_instance_; -class UpdatePathsResponse; -struct UpdatePathsResponseDefaultTypeInternal; -extern UpdatePathsResponseDefaultTypeInternal _UpdatePathsResponse_default_instance_; -class UpdateWorkRequest; -struct UpdateWorkRequestDefaultTypeInternal; -extern UpdateWorkRequestDefaultTypeInternal _UpdateWorkRequest_default_instance_; -class UpdateWorkResponse; -struct UpdateWorkResponseDefaultTypeInternal; -extern UpdateWorkResponseDefaultTypeInternal _UpdateWorkResponse_default_instance_; -} // namespace beeremote -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google - -namespace beeremote { -enum SubmitJobResponse_ResponseStatus : int { - SubmitJobResponse_ResponseStatus_INVALID = 0, - SubmitJobResponse_ResponseStatus_CREATED = 1, - SubmitJobResponse_ResponseStatus_EXISTING = 2, - SubmitJobResponse_ResponseStatus_NOT_ALLOWED = 3, - SubmitJobResponse_ResponseStatus_ALREADY_COMPLETE = 4, - SubmitJobResponse_ResponseStatus_ALREADY_OFFLOADED = 5, - SubmitJobResponse_ResponseStatus_FAILED_PRECONDITION = 6, - SubmitJobResponse_ResponseStatus_SubmitJobResponse_ResponseStatus_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - SubmitJobResponse_ResponseStatus_SubmitJobResponse_ResponseStatus_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool SubmitJobResponse_ResponseStatus_IsValid(int value); -extern const uint32_t SubmitJobResponse_ResponseStatus_internal_data_[]; -constexpr SubmitJobResponse_ResponseStatus SubmitJobResponse_ResponseStatus_ResponseStatus_MIN = static_cast(0); -constexpr SubmitJobResponse_ResponseStatus SubmitJobResponse_ResponseStatus_ResponseStatus_MAX = static_cast(6); -constexpr int SubmitJobResponse_ResponseStatus_ResponseStatus_ARRAYSIZE = 6 + 1; -const ::google::protobuf::EnumDescriptor* -SubmitJobResponse_ResponseStatus_descriptor(); -template -const std::string& SubmitJobResponse_ResponseStatus_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to ResponseStatus_Name()."); - return SubmitJobResponse_ResponseStatus_Name(static_cast(value)); -} -template <> -inline const std::string& SubmitJobResponse_ResponseStatus_Name(SubmitJobResponse_ResponseStatus value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool SubmitJobResponse_ResponseStatus_Parse(absl::string_view name, SubmitJobResponse_ResponseStatus* value) { - return ::google::protobuf::internal::ParseNamedEnum( - SubmitJobResponse_ResponseStatus_descriptor(), name, value); -} -enum JobRequest_GenerationStatus_State : int { - JobRequest_GenerationStatus_State_UNSPECIFIED = 0, - JobRequest_GenerationStatus_State_ALREADY_COMPLETE = 1, - JobRequest_GenerationStatus_State_ALREADY_OFFLOADED = 2, - JobRequest_GenerationStatus_State_FAILED_PRECONDITION = 3, - JobRequest_GenerationStatus_State_ERROR = 4, - JobRequest_GenerationStatus_State_JobRequest_GenerationStatus_State_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - JobRequest_GenerationStatus_State_JobRequest_GenerationStatus_State_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool JobRequest_GenerationStatus_State_IsValid(int value); -extern const uint32_t JobRequest_GenerationStatus_State_internal_data_[]; -constexpr JobRequest_GenerationStatus_State JobRequest_GenerationStatus_State_State_MIN = static_cast(0); -constexpr JobRequest_GenerationStatus_State JobRequest_GenerationStatus_State_State_MAX = static_cast(4); -constexpr int JobRequest_GenerationStatus_State_State_ARRAYSIZE = 4 + 1; -const ::google::protobuf::EnumDescriptor* -JobRequest_GenerationStatus_State_descriptor(); -template -const std::string& JobRequest_GenerationStatus_State_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to State_Name()."); - return JobRequest_GenerationStatus_State_Name(static_cast(value)); -} -template <> -inline const std::string& JobRequest_GenerationStatus_State_Name(JobRequest_GenerationStatus_State value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool JobRequest_GenerationStatus_State_Parse(absl::string_view name, JobRequest_GenerationStatus_State* value) { - return ::google::protobuf::internal::ParseNamedEnum( - JobRequest_GenerationStatus_State_descriptor(), name, value); -} -enum Job_State : int { - Job_State_UNSPECIFIED = 0, - Job_State_UNKNOWN = 1, - Job_State_UNASSIGNED = 2, - Job_State_SCHEDULED = 3, - Job_State_RUNNING = 4, - Job_State_ERROR = 6, - Job_State_FAILED = 7, - Job_State_CANCELLED = 8, - Job_State_COMPLETED = 9, - Job_State_OFFLOADED = 10, - Job_State_Job_State_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - Job_State_Job_State_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool Job_State_IsValid(int value); -extern const uint32_t Job_State_internal_data_[]; -constexpr Job_State Job_State_State_MIN = static_cast(0); -constexpr Job_State Job_State_State_MAX = static_cast(10); -constexpr int Job_State_State_ARRAYSIZE = 10 + 1; -const ::google::protobuf::EnumDescriptor* -Job_State_descriptor(); -template -const std::string& Job_State_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to State_Name()."); - return Job_State_Name(static_cast(value)); -} -template <> -inline const std::string& Job_State_Name(Job_State value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool Job_State_Parse(absl::string_view name, Job_State* value) { - return ::google::protobuf::internal::ParseNamedEnum( - Job_State_descriptor(), name, value); -} -enum UpdateJobsRequest_NewState : int { - UpdateJobsRequest_NewState_UNSPECIFIED = 0, - UpdateJobsRequest_NewState_CANCELLED = 1, - UpdateJobsRequest_NewState_DELETED = 2, - UpdateJobsRequest_NewState_UpdateJobsRequest_NewState_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - UpdateJobsRequest_NewState_UpdateJobsRequest_NewState_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool UpdateJobsRequest_NewState_IsValid(int value); -extern const uint32_t UpdateJobsRequest_NewState_internal_data_[]; -constexpr UpdateJobsRequest_NewState UpdateJobsRequest_NewState_NewState_MIN = static_cast(0); -constexpr UpdateJobsRequest_NewState UpdateJobsRequest_NewState_NewState_MAX = static_cast(2); -constexpr int UpdateJobsRequest_NewState_NewState_ARRAYSIZE = 2 + 1; -const ::google::protobuf::EnumDescriptor* -UpdateJobsRequest_NewState_descriptor(); -template -const std::string& UpdateJobsRequest_NewState_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to NewState_Name()."); - return UpdateJobsRequest_NewState_Name(static_cast(value)); -} -template <> -inline const std::string& UpdateJobsRequest_NewState_Name(UpdateJobsRequest_NewState value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool UpdateJobsRequest_NewState_Parse(absl::string_view name, UpdateJobsRequest_NewState* value) { - return ::google::protobuf::internal::ParseNamedEnum( - UpdateJobsRequest_NewState_descriptor(), name, value); -} - -// =================================================================== - - -// ------------------------------------------------------------------- - -class UpdateWorkResponse final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:beeremote.UpdateWorkResponse) */ { - public: - inline UpdateWorkResponse() : UpdateWorkResponse(nullptr) {} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateWorkResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateWorkResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR UpdateWorkResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline UpdateWorkResponse(const UpdateWorkResponse& from) : UpdateWorkResponse(nullptr, from) {} - inline UpdateWorkResponse(UpdateWorkResponse&& from) noexcept - : UpdateWorkResponse(nullptr, std::move(from)) {} - inline UpdateWorkResponse& operator=(const UpdateWorkResponse& from) { - CopyFrom(from); - return *this; - } - inline UpdateWorkResponse& operator=(UpdateWorkResponse&& 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 UpdateWorkResponse& default_instance() { - return *internal_default_instance(); - } - static inline const UpdateWorkResponse* internal_default_instance() { - return reinterpret_cast( - &_UpdateWorkResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 17; - friend void swap(UpdateWorkResponse& a, UpdateWorkResponse& b) { a.Swap(&b); } - inline void Swap(UpdateWorkResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UpdateWorkResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UpdateWorkResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const UpdateWorkResponse& from) { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const UpdateWorkResponse& 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 "beeremote.UpdateWorkResponse"; } - - protected: - explicit UpdateWorkResponse(::google::protobuf::Arena* arena); - UpdateWorkResponse(::google::protobuf::Arena* arena, const UpdateWorkResponse& from); - UpdateWorkResponse(::google::protobuf::Arena* arena, UpdateWorkResponse&& from) noexcept - : UpdateWorkResponse(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:beeremote.UpdateWorkResponse) - 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 UpdateWorkResponse& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class UpdateJobsRequest_RemoteTargetsEntry_DoNotUse final - : public ::google::protobuf::internal::MapEntry< - ::uint32_t, bool, - ::google::protobuf::internal::WireFormatLite::TYPE_UINT32, - ::google::protobuf::internal::WireFormatLite::TYPE_BOOL> { - public: - using SuperType = ::google::protobuf::internal::MapEntry< - ::uint32_t, bool, - ::google::protobuf::internal::WireFormatLite::TYPE_UINT32, - ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>; - UpdateJobsRequest_RemoteTargetsEntry_DoNotUse(); - template - explicit PROTOBUF_CONSTEXPR UpdateJobsRequest_RemoteTargetsEntry_DoNotUse( - ::google::protobuf::internal::ConstantInitialized); - explicit UpdateJobsRequest_RemoteTargetsEntry_DoNotUse(::google::protobuf::Arena* arena); - static const UpdateJobsRequest_RemoteTargetsEntry_DoNotUse* internal_default_instance() { - return reinterpret_cast( - &_UpdateJobsRequest_RemoteTargetsEntry_DoNotUse_default_instance_); - } - - - private: - friend class ::google::protobuf::MessageLite; - friend struct ::TableStruct_beeremote_2eproto; - - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 0, 2> - _table_; - - 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_; -}; -// ------------------------------------------------------------------- - -class JobRequest_GenerationStatus final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.JobRequest.GenerationStatus) */ { - public: - inline JobRequest_GenerationStatus() : JobRequest_GenerationStatus(nullptr) {} - ~JobRequest_GenerationStatus() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(JobRequest_GenerationStatus* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(JobRequest_GenerationStatus)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR JobRequest_GenerationStatus( - ::google::protobuf::internal::ConstantInitialized); - - inline JobRequest_GenerationStatus(const JobRequest_GenerationStatus& from) : JobRequest_GenerationStatus(nullptr, from) {} - inline JobRequest_GenerationStatus(JobRequest_GenerationStatus&& from) noexcept - : JobRequest_GenerationStatus(nullptr, std::move(from)) {} - inline JobRequest_GenerationStatus& operator=(const JobRequest_GenerationStatus& from) { - CopyFrom(from); - return *this; - } - inline JobRequest_GenerationStatus& operator=(JobRequest_GenerationStatus&& 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 JobRequest_GenerationStatus& default_instance() { - return *internal_default_instance(); - } - static inline const JobRequest_GenerationStatus* internal_default_instance() { - return reinterpret_cast( - &_JobRequest_GenerationStatus_default_instance_); - } - static constexpr int kIndexInFileMessages = 2; - friend void swap(JobRequest_GenerationStatus& a, JobRequest_GenerationStatus& b) { a.Swap(&b); } - inline void Swap(JobRequest_GenerationStatus* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(JobRequest_GenerationStatus* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - JobRequest_GenerationStatus* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const JobRequest_GenerationStatus& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const JobRequest_GenerationStatus& from) { JobRequest_GenerationStatus::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(JobRequest_GenerationStatus* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.JobRequest.GenerationStatus"; } - - protected: - explicit JobRequest_GenerationStatus(::google::protobuf::Arena* arena); - JobRequest_GenerationStatus(::google::protobuf::Arena* arena, const JobRequest_GenerationStatus& from); - JobRequest_GenerationStatus(::google::protobuf::Arena* arena, JobRequest_GenerationStatus&& from) noexcept - : JobRequest_GenerationStatus(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 State = JobRequest_GenerationStatus_State; - static constexpr State UNSPECIFIED = JobRequest_GenerationStatus_State_UNSPECIFIED; - static constexpr State ALREADY_COMPLETE = JobRequest_GenerationStatus_State_ALREADY_COMPLETE; - static constexpr State ALREADY_OFFLOADED = JobRequest_GenerationStatus_State_ALREADY_OFFLOADED; - static constexpr State FAILED_PRECONDITION = JobRequest_GenerationStatus_State_FAILED_PRECONDITION; - static constexpr State ERROR = JobRequest_GenerationStatus_State_ERROR; - static inline bool State_IsValid(int value) { - return JobRequest_GenerationStatus_State_IsValid(value); - } - static constexpr State State_MIN = JobRequest_GenerationStatus_State_State_MIN; - static constexpr State State_MAX = JobRequest_GenerationStatus_State_State_MAX; - static constexpr int State_ARRAYSIZE = JobRequest_GenerationStatus_State_State_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* State_descriptor() { - return JobRequest_GenerationStatus_State_descriptor(); - } - template - static inline const std::string& State_Name(T value) { - return JobRequest_GenerationStatus_State_Name(value); - } - static inline bool State_Parse(absl::string_view name, State* value) { - return JobRequest_GenerationStatus_State_Parse(name, value); - } - - // accessors ------------------------------------------------------- - enum : int { - kMessageFieldNumber = 2, - kStateFieldNumber = 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: - // .beeremote.JobRequest.GenerationStatus.State state = 1; - void clear_state() ; - ::beeremote::JobRequest_GenerationStatus_State state() const; - void set_state(::beeremote::JobRequest_GenerationStatus_State value); - - private: - ::beeremote::JobRequest_GenerationStatus_State _internal_state() const; - void _internal_set_state(::beeremote::JobRequest_GenerationStatus_State value); - - public: - // @@protoc_insertion_point(class_scope:beeremote.JobRequest.GenerationStatus) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 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 JobRequest_GenerationStatus& from_msg); - ::google::protobuf::internal::ArenaStringPtr message_; - int state_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class GetStubContentsResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.GetStubContentsResponse) */ { - public: - inline GetStubContentsResponse() : GetStubContentsResponse(nullptr) {} - ~GetStubContentsResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetStubContentsResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetStubContentsResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetStubContentsResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline GetStubContentsResponse(const GetStubContentsResponse& from) : GetStubContentsResponse(nullptr, from) {} - inline GetStubContentsResponse(GetStubContentsResponse&& from) noexcept - : GetStubContentsResponse(nullptr, std::move(from)) {} - inline GetStubContentsResponse& operator=(const GetStubContentsResponse& from) { - CopyFrom(from); - return *this; - } - inline GetStubContentsResponse& operator=(GetStubContentsResponse&& 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 GetStubContentsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const GetStubContentsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetStubContentsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 21; - friend void swap(GetStubContentsResponse& a, GetStubContentsResponse& b) { a.Swap(&b); } - inline void Swap(GetStubContentsResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetStubContentsResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetStubContentsResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetStubContentsResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetStubContentsResponse& from) { GetStubContentsResponse::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(GetStubContentsResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.GetStubContentsResponse"; } - - protected: - explicit GetStubContentsResponse(::google::protobuf::Arena* arena); - GetStubContentsResponse(::google::protobuf::Arena* arena, const GetStubContentsResponse& from); - GetStubContentsResponse(::google::protobuf::Arena* arena, GetStubContentsResponse&& from) noexcept - : GetStubContentsResponse(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 { - kUrlFieldNumber = 2, - kRstIdFieldNumber = 1, - }; - // optional string url = 2; - bool has_url() const; - void clear_url() ; - const std::string& url() const; - template - void set_url(Arg_&& arg, Args_... args); - std::string* mutable_url(); - PROTOBUF_NODISCARD std::string* release_url(); - void set_allocated_url(std::string* value); - - private: - const std::string& _internal_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_url( - const std::string& value); - std::string* _internal_mutable_url(); - - public: - // optional uint32 rst_id = 1; - bool has_rst_id() const; - void clear_rst_id() ; - ::uint32_t rst_id() const; - void set_rst_id(::uint32_t value); - - private: - ::uint32_t _internal_rst_id() const; - void _internal_set_rst_id(::uint32_t value); - - public: - // @@protoc_insertion_point(class_scope:beeremote.GetStubContentsResponse) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 45, 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 GetStubContentsResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr url_; - ::uint32_t rst_id_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class GetStubContentsRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.GetStubContentsRequest) */ { - public: - inline GetStubContentsRequest() : GetStubContentsRequest(nullptr) {} - ~GetStubContentsRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetStubContentsRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetStubContentsRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetStubContentsRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline GetStubContentsRequest(const GetStubContentsRequest& from) : GetStubContentsRequest(nullptr, from) {} - inline GetStubContentsRequest(GetStubContentsRequest&& from) noexcept - : GetStubContentsRequest(nullptr, std::move(from)) {} - inline GetStubContentsRequest& operator=(const GetStubContentsRequest& from) { - CopyFrom(from); - return *this; - } - inline GetStubContentsRequest& operator=(GetStubContentsRequest&& 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 GetStubContentsRequest& default_instance() { - return *internal_default_instance(); - } - static inline const GetStubContentsRequest* internal_default_instance() { - return reinterpret_cast( - &_GetStubContentsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 20; - friend void swap(GetStubContentsRequest& a, GetStubContentsRequest& b) { a.Swap(&b); } - inline void Swap(GetStubContentsRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetStubContentsRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetStubContentsRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetStubContentsRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetStubContentsRequest& from) { GetStubContentsRequest::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(GetStubContentsRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.GetStubContentsRequest"; } - - protected: - explicit GetStubContentsRequest(::google::protobuf::Arena* arena); - GetStubContentsRequest(::google::protobuf::Arena* arena, const GetStubContentsRequest& from); - GetStubContentsRequest(::google::protobuf::Arena* arena, GetStubContentsRequest&& from) noexcept - : GetStubContentsRequest(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 { - kPathFieldNumber = 1, - }; - // string path = 1; - void clear_path() ; - const std::string& path() const; - template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); - - private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( - const std::string& value); - std::string* _internal_mutable_path(); - - public: - // @@protoc_insertion_point(class_scope:beeremote.GetStubContentsRequest) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 1, 0, - 45, 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 GetStubContentsRequest& from_msg); - ::google::protobuf::internal::ArenaStringPtr path_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class GetRSTConfigRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:beeremote.GetRSTConfigRequest) */ { - public: - inline GetRSTConfigRequest() : GetRSTConfigRequest(nullptr) {} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetRSTConfigRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetRSTConfigRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetRSTConfigRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline GetRSTConfigRequest(const GetRSTConfigRequest& from) : GetRSTConfigRequest(nullptr, from) {} - inline GetRSTConfigRequest(GetRSTConfigRequest&& from) noexcept - : GetRSTConfigRequest(nullptr, std::move(from)) {} - inline GetRSTConfigRequest& operator=(const GetRSTConfigRequest& from) { - CopyFrom(from); - return *this; - } - inline GetRSTConfigRequest& operator=(GetRSTConfigRequest&& 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 GetRSTConfigRequest& default_instance() { - return *internal_default_instance(); - } - static inline const GetRSTConfigRequest* internal_default_instance() { - return reinterpret_cast( - &_GetRSTConfigRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 18; - friend void swap(GetRSTConfigRequest& a, GetRSTConfigRequest& b) { a.Swap(&b); } - inline void Swap(GetRSTConfigRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetRSTConfigRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetRSTConfigRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const GetRSTConfigRequest& from) { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const GetRSTConfigRequest& 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 "beeremote.GetRSTConfigRequest"; } - - protected: - explicit GetRSTConfigRequest(::google::protobuf::Arena* arena); - GetRSTConfigRequest(::google::protobuf::Arena* arena, const GetRSTConfigRequest& from); - GetRSTConfigRequest(::google::protobuf::Arena* arena, GetRSTConfigRequest&& from) noexcept - : GetRSTConfigRequest(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:beeremote.GetRSTConfigRequest) - 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 GetRSTConfigRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class GetJobsRequest_QueryIdAndPath final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.GetJobsRequest.QueryIdAndPath) */ { - public: - inline GetJobsRequest_QueryIdAndPath() : GetJobsRequest_QueryIdAndPath(nullptr) {} - ~GetJobsRequest_QueryIdAndPath() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetJobsRequest_QueryIdAndPath* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetJobsRequest_QueryIdAndPath)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetJobsRequest_QueryIdAndPath( - ::google::protobuf::internal::ConstantInitialized); - - inline GetJobsRequest_QueryIdAndPath(const GetJobsRequest_QueryIdAndPath& from) : GetJobsRequest_QueryIdAndPath(nullptr, from) {} - inline GetJobsRequest_QueryIdAndPath(GetJobsRequest_QueryIdAndPath&& from) noexcept - : GetJobsRequest_QueryIdAndPath(nullptr, std::move(from)) {} - inline GetJobsRequest_QueryIdAndPath& operator=(const GetJobsRequest_QueryIdAndPath& from) { - CopyFrom(from); - return *this; - } - inline GetJobsRequest_QueryIdAndPath& operator=(GetJobsRequest_QueryIdAndPath&& 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 GetJobsRequest_QueryIdAndPath& default_instance() { - return *internal_default_instance(); - } - static inline const GetJobsRequest_QueryIdAndPath* internal_default_instance() { - return reinterpret_cast( - &_GetJobsRequest_QueryIdAndPath_default_instance_); - } - static constexpr int kIndexInFileMessages = 13; - friend void swap(GetJobsRequest_QueryIdAndPath& a, GetJobsRequest_QueryIdAndPath& b) { a.Swap(&b); } - inline void Swap(GetJobsRequest_QueryIdAndPath* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetJobsRequest_QueryIdAndPath* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetJobsRequest_QueryIdAndPath* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetJobsRequest_QueryIdAndPath& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetJobsRequest_QueryIdAndPath& from) { GetJobsRequest_QueryIdAndPath::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(GetJobsRequest_QueryIdAndPath* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.GetJobsRequest.QueryIdAndPath"; } - - protected: - explicit GetJobsRequest_QueryIdAndPath(::google::protobuf::Arena* arena); - GetJobsRequest_QueryIdAndPath(::google::protobuf::Arena* arena, const GetJobsRequest_QueryIdAndPath& from); - GetJobsRequest_QueryIdAndPath(::google::protobuf::Arena* arena, GetJobsRequest_QueryIdAndPath&& from) noexcept - : GetJobsRequest_QueryIdAndPath(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 { - kJobIdFieldNumber = 1, - kPathFieldNumber = 2, - }; - // string job_id = 1; - void clear_job_id() ; - const std::string& job_id() const; - template - void set_job_id(Arg_&& arg, Args_... args); - std::string* mutable_job_id(); - PROTOBUF_NODISCARD std::string* release_job_id(); - void set_allocated_job_id(std::string* value); - - private: - const std::string& _internal_job_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_job_id( - const std::string& value); - std::string* _internal_mutable_job_id(); - - public: - // string path = 2; - void clear_path() ; - const std::string& path() const; - template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); - - private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( - const std::string& value); - std::string* _internal_mutable_path(); - - public: - // @@protoc_insertion_point(class_scope:beeremote.GetJobsRequest.QueryIdAndPath) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 58, 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 GetJobsRequest_QueryIdAndPath& from_msg); - ::google::protobuf::internal::ArenaStringPtr job_id_; - ::google::protobuf::internal::ArenaStringPtr path_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class UpdateJobsRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.UpdateJobsRequest) */ { - public: - inline UpdateJobsRequest() : UpdateJobsRequest(nullptr) {} - ~UpdateJobsRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateJobsRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateJobsRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR UpdateJobsRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline UpdateJobsRequest(const UpdateJobsRequest& from) : UpdateJobsRequest(nullptr, from) {} - inline UpdateJobsRequest(UpdateJobsRequest&& from) noexcept - : UpdateJobsRequest(nullptr, std::move(from)) {} - inline UpdateJobsRequest& operator=(const UpdateJobsRequest& from) { - CopyFrom(from); - return *this; - } - inline UpdateJobsRequest& operator=(UpdateJobsRequest&& 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 UpdateJobsRequest& default_instance() { - return *internal_default_instance(); - } - static inline const UpdateJobsRequest* internal_default_instance() { - return reinterpret_cast( - &_UpdateJobsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 11; - friend void swap(UpdateJobsRequest& a, UpdateJobsRequest& b) { a.Swap(&b); } - inline void Swap(UpdateJobsRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UpdateJobsRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UpdateJobsRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const UpdateJobsRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const UpdateJobsRequest& from) { UpdateJobsRequest::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(UpdateJobsRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.UpdateJobsRequest"; } - - protected: - explicit UpdateJobsRequest(::google::protobuf::Arena* arena); - UpdateJobsRequest(::google::protobuf::Arena* arena, const UpdateJobsRequest& from); - UpdateJobsRequest(::google::protobuf::Arena* arena, UpdateJobsRequest&& from) noexcept - : UpdateJobsRequest(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 NewState = UpdateJobsRequest_NewState; - static constexpr NewState UNSPECIFIED = UpdateJobsRequest_NewState_UNSPECIFIED; - static constexpr NewState CANCELLED = UpdateJobsRequest_NewState_CANCELLED; - static constexpr NewState DELETED = UpdateJobsRequest_NewState_DELETED; - static inline bool NewState_IsValid(int value) { - return UpdateJobsRequest_NewState_IsValid(value); - } - static constexpr NewState NewState_MIN = UpdateJobsRequest_NewState_NewState_MIN; - static constexpr NewState NewState_MAX = UpdateJobsRequest_NewState_NewState_MAX; - static constexpr int NewState_ARRAYSIZE = UpdateJobsRequest_NewState_NewState_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* NewState_descriptor() { - return UpdateJobsRequest_NewState_descriptor(); - } - template - static inline const std::string& NewState_Name(T value) { - return UpdateJobsRequest_NewState_Name(value); - } - static inline bool NewState_Parse(absl::string_view name, NewState* value) { - return UpdateJobsRequest_NewState_Parse(name, value); - } - - // accessors ------------------------------------------------------- - enum : int { - kRemoteTargetsFieldNumber = 3, - kPathFieldNumber = 1, - kJobIdFieldNumber = 2, - kForceUpdateFieldNumber = 4, - kNewStateFieldNumber = 10, - }; - // map remote_targets = 3; - int remote_targets_size() const; - private: - int _internal_remote_targets_size() const; - - public: - void clear_remote_targets() ; - const ::google::protobuf::Map<::uint32_t, bool>& remote_targets() const; - ::google::protobuf::Map<::uint32_t, bool>* mutable_remote_targets(); - - private: - const ::google::protobuf::Map<::uint32_t, bool>& _internal_remote_targets() const; - ::google::protobuf::Map<::uint32_t, bool>* _internal_mutable_remote_targets(); - - public: - // string path = 1; - void clear_path() ; - const std::string& path() const; - template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); - - private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( - const std::string& value); - std::string* _internal_mutable_path(); - - public: - // optional string job_id = 2; - bool has_job_id() const; - void clear_job_id() ; - const std::string& job_id() const; - template - void set_job_id(Arg_&& arg, Args_... args); - std::string* mutable_job_id(); - PROTOBUF_NODISCARD std::string* release_job_id(); - void set_allocated_job_id(std::string* value); - - private: - const std::string& _internal_job_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_job_id( - const std::string& value); - std::string* _internal_mutable_job_id(); - - public: - // bool force_update = 4; - void clear_force_update() ; - bool force_update() const; - void set_force_update(bool value); - - private: - bool _internal_force_update() const; - void _internal_set_force_update(bool value); - - public: - // .beeremote.UpdateJobsRequest.NewState new_state = 10; - void clear_new_state() ; - ::beeremote::UpdateJobsRequest_NewState new_state() const; - void set_new_state(::beeremote::UpdateJobsRequest_NewState value); - - private: - ::beeremote::UpdateJobsRequest_NewState _internal_new_state() const; - void _internal_set_new_state(::beeremote::UpdateJobsRequest_NewState value); - - public: - // @@protoc_insertion_point(class_scope:beeremote.UpdateJobsRequest) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 5, 1, - 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 UpdateJobsRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::MapField - remote_targets_; - ::google::protobuf::internal::ArenaStringPtr path_; - ::google::protobuf::internal::ArenaStringPtr job_id_; - bool force_update_; - int new_state_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class Job_Status final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.Job.Status) */ { - public: - inline Job_Status() : Job_Status(nullptr) {} - ~Job_Status() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Job_Status* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(Job_Status)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR Job_Status( - ::google::protobuf::internal::ConstantInitialized); - - inline Job_Status(const Job_Status& from) : Job_Status(nullptr, from) {} - inline Job_Status(Job_Status&& from) noexcept - : Job_Status(nullptr, std::move(from)) {} - inline Job_Status& operator=(const Job_Status& from) { - CopyFrom(from); - return *this; - } - inline Job_Status& operator=(Job_Status&& 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 Job_Status& default_instance() { - return *internal_default_instance(); - } - static inline const Job_Status* internal_default_instance() { - return reinterpret_cast( - &_Job_Status_default_instance_); - } - static constexpr int kIndexInFileMessages = 4; - friend void swap(Job_Status& a, Job_Status& b) { a.Swap(&b); } - inline void Swap(Job_Status* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Job_Status* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Job_Status* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const Job_Status& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const Job_Status& from) { Job_Status::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(Job_Status* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.Job.Status"; } - - protected: - explicit Job_Status(::google::protobuf::Arena* arena); - Job_Status(::google::protobuf::Arena* arena, const Job_Status& from); - Job_Status(::google::protobuf::Arena* arena, Job_Status&& from) noexcept - : Job_Status(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, - kUpdatedFieldNumber = 3, - kStateFieldNumber = 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: - // .google.protobuf.Timestamp updated = 3; - bool has_updated() const; - void clear_updated() ; - const ::google::protobuf::Timestamp& updated() const; - PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_updated(); - ::google::protobuf::Timestamp* mutable_updated(); - void set_allocated_updated(::google::protobuf::Timestamp* value); - void unsafe_arena_set_allocated_updated(::google::protobuf::Timestamp* value); - ::google::protobuf::Timestamp* unsafe_arena_release_updated(); - - private: - const ::google::protobuf::Timestamp& _internal_updated() const; - ::google::protobuf::Timestamp* _internal_mutable_updated(); - - public: - // .beeremote.Job.State state = 1; - void clear_state() ; - ::beeremote::Job_State state() const; - void set_state(::beeremote::Job_State value); - - private: - ::beeremote::Job_State _internal_state() const; - void _internal_set_state(::beeremote::Job_State value); - - public: - // @@protoc_insertion_point(class_scope:beeremote.Job.Status) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 1, - 36, 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 Job_Status& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr message_; - ::google::protobuf::Timestamp* updated_; - int state_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class GetJobsRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.GetJobsRequest) */ { - public: - inline GetJobsRequest() : GetJobsRequest(nullptr) {} - ~GetJobsRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetJobsRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetJobsRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetJobsRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline GetJobsRequest(const GetJobsRequest& from) : GetJobsRequest(nullptr, from) {} - inline GetJobsRequest(GetJobsRequest&& from) noexcept - : GetJobsRequest(nullptr, std::move(from)) {} - inline GetJobsRequest& operator=(const GetJobsRequest& from) { - CopyFrom(from); - return *this; - } - inline GetJobsRequest& operator=(GetJobsRequest&& 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 GetJobsRequest& default_instance() { - return *internal_default_instance(); - } - enum QueryCase { - kByJobIdAndPath = 1, - kByExactPath = 2, - kByPathPrefix = 3, - QUERY_NOT_SET = 0, - }; - static inline const GetJobsRequest* internal_default_instance() { - return reinterpret_cast( - &_GetJobsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 14; - friend void swap(GetJobsRequest& a, GetJobsRequest& b) { a.Swap(&b); } - inline void Swap(GetJobsRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetJobsRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetJobsRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetJobsRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetJobsRequest& from) { GetJobsRequest::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(GetJobsRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.GetJobsRequest"; } - - protected: - explicit GetJobsRequest(::google::protobuf::Arena* arena); - GetJobsRequest(::google::protobuf::Arena* arena, const GetJobsRequest& from); - GetJobsRequest(::google::protobuf::Arena* arena, GetJobsRequest&& from) noexcept - : GetJobsRequest(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 QueryIdAndPath = GetJobsRequest_QueryIdAndPath; - - // accessors ------------------------------------------------------- - enum : int { - kIncludeWorkRequestsFieldNumber = 4, - kIncludeWorkResultsFieldNumber = 5, - kUpdateWorkResultsFieldNumber = 6, - kByJobIdAndPathFieldNumber = 1, - kByExactPathFieldNumber = 2, - kByPathPrefixFieldNumber = 3, - }; - // bool include_work_requests = 4; - void clear_include_work_requests() ; - bool include_work_requests() const; - void set_include_work_requests(bool value); - - private: - bool _internal_include_work_requests() const; - void _internal_set_include_work_requests(bool value); - - public: - // bool include_work_results = 5; - void clear_include_work_results() ; - bool include_work_results() const; - void set_include_work_results(bool value); - - private: - bool _internal_include_work_results() const; - void _internal_set_include_work_results(bool value); - - public: - // bool update_work_results = 6; - void clear_update_work_results() ; - bool update_work_results() const; - void set_update_work_results(bool value); - - private: - bool _internal_update_work_results() const; - void _internal_set_update_work_results(bool value); - - public: - // .beeremote.GetJobsRequest.QueryIdAndPath by_job_id_and_path = 1; - bool has_by_job_id_and_path() const; - private: - bool _internal_has_by_job_id_and_path() const; - - public: - void clear_by_job_id_and_path() ; - const ::beeremote::GetJobsRequest_QueryIdAndPath& by_job_id_and_path() const; - PROTOBUF_NODISCARD ::beeremote::GetJobsRequest_QueryIdAndPath* release_by_job_id_and_path(); - ::beeremote::GetJobsRequest_QueryIdAndPath* mutable_by_job_id_and_path(); - void set_allocated_by_job_id_and_path(::beeremote::GetJobsRequest_QueryIdAndPath* value); - void unsafe_arena_set_allocated_by_job_id_and_path(::beeremote::GetJobsRequest_QueryIdAndPath* value); - ::beeremote::GetJobsRequest_QueryIdAndPath* unsafe_arena_release_by_job_id_and_path(); - - private: - const ::beeremote::GetJobsRequest_QueryIdAndPath& _internal_by_job_id_and_path() const; - ::beeremote::GetJobsRequest_QueryIdAndPath* _internal_mutable_by_job_id_and_path(); - - public: - // string by_exact_path = 2; - bool has_by_exact_path() const; - void clear_by_exact_path() ; - const std::string& by_exact_path() const; - template - void set_by_exact_path(Arg_&& arg, Args_... args); - std::string* mutable_by_exact_path(); - PROTOBUF_NODISCARD std::string* release_by_exact_path(); - void set_allocated_by_exact_path(std::string* value); - - private: - const std::string& _internal_by_exact_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_by_exact_path( - const std::string& value); - std::string* _internal_mutable_by_exact_path(); - - public: - // string by_path_prefix = 3; - bool has_by_path_prefix() const; - void clear_by_path_prefix() ; - const std::string& by_path_prefix() const; - template - void set_by_path_prefix(Arg_&& arg, Args_... args); - std::string* mutable_by_path_prefix(); - PROTOBUF_NODISCARD std::string* release_by_path_prefix(); - void set_allocated_by_path_prefix(std::string* value); - - private: - const std::string& _internal_by_path_prefix() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_by_path_prefix( - const std::string& value); - std::string* _internal_mutable_by_path_prefix(); - - public: - void clear_query(); - QueryCase query_case() const; - // @@protoc_insertion_point(class_scope:beeremote.GetJobsRequest) - private: - class _Internal; - void set_has_by_job_id_and_path(); - void set_has_by_exact_path(); - void set_has_by_path_prefix(); - inline bool has_query() const; - inline void clear_has_query(); - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 6, 1, - 60, 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 GetJobsRequest& from_msg); - bool include_work_requests_; - bool include_work_results_; - bool update_work_results_; - union QueryUnion { - constexpr QueryUnion() : _constinit_{} {} - ::google::protobuf::internal::ConstantInitialized _constinit_; - ::beeremote::GetJobsRequest_QueryIdAndPath* by_job_id_and_path_; - ::google::protobuf::internal::ArenaStringPtr by_exact_path_; - ::google::protobuf::internal::ArenaStringPtr by_path_prefix_; - } query_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::uint32_t _oneof_case_[1]; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class UpdateWorkRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.UpdateWorkRequest) */ { - public: - inline UpdateWorkRequest() : UpdateWorkRequest(nullptr) {} - ~UpdateWorkRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateWorkRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateWorkRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR UpdateWorkRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline UpdateWorkRequest(const UpdateWorkRequest& from) : UpdateWorkRequest(nullptr, from) {} - inline UpdateWorkRequest(UpdateWorkRequest&& from) noexcept - : UpdateWorkRequest(nullptr, std::move(from)) {} - inline UpdateWorkRequest& operator=(const UpdateWorkRequest& from) { - CopyFrom(from); - return *this; - } - inline UpdateWorkRequest& operator=(UpdateWorkRequest&& 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 UpdateWorkRequest& default_instance() { - return *internal_default_instance(); - } - static inline const UpdateWorkRequest* internal_default_instance() { - return reinterpret_cast( - &_UpdateWorkRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 16; - friend void swap(UpdateWorkRequest& a, UpdateWorkRequest& b) { a.Swap(&b); } - inline void Swap(UpdateWorkRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UpdateWorkRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UpdateWorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const UpdateWorkRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const UpdateWorkRequest& from) { UpdateWorkRequest::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(UpdateWorkRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.UpdateWorkRequest"; } - - protected: - explicit UpdateWorkRequest(::google::protobuf::Arena* arena); - UpdateWorkRequest(::google::protobuf::Arena* arena, const UpdateWorkRequest& from); - UpdateWorkRequest(::google::protobuf::Arena* arena, UpdateWorkRequest&& from) noexcept - : UpdateWorkRequest(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 { - kWorkFieldNumber = 1, - }; - // .flex.Work work = 1; - bool has_work() const; - void clear_work() ; - const ::flex::Work& work() const; - PROTOBUF_NODISCARD ::flex::Work* release_work(); - ::flex::Work* mutable_work(); - void set_allocated_work(::flex::Work* value); - void unsafe_arena_set_allocated_work(::flex::Work* value); - ::flex::Work* unsafe_arena_release_work(); - - private: - const ::flex::Work& _internal_work() const; - ::flex::Work* _internal_mutable_work(); - - public: - // @@protoc_insertion_point(class_scope:beeremote.UpdateWorkRequest) - 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 UpdateWorkRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::Work* work_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class UpdatePathsRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.UpdatePathsRequest) */ { - public: - inline UpdatePathsRequest() : UpdatePathsRequest(nullptr) {} - ~UpdatePathsRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdatePathsRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdatePathsRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR UpdatePathsRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline UpdatePathsRequest(const UpdatePathsRequest& from) : UpdatePathsRequest(nullptr, from) {} - inline UpdatePathsRequest(UpdatePathsRequest&& from) noexcept - : UpdatePathsRequest(nullptr, std::move(from)) {} - inline UpdatePathsRequest& operator=(const UpdatePathsRequest& from) { - CopyFrom(from); - return *this; - } - inline UpdatePathsRequest& operator=(UpdatePathsRequest&& 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 UpdatePathsRequest& default_instance() { - return *internal_default_instance(); - } - static inline const UpdatePathsRequest* internal_default_instance() { - return reinterpret_cast( - &_UpdatePathsRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 8; - friend void swap(UpdatePathsRequest& a, UpdatePathsRequest& b) { a.Swap(&b); } - inline void Swap(UpdatePathsRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UpdatePathsRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UpdatePathsRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const UpdatePathsRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const UpdatePathsRequest& from) { UpdatePathsRequest::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(UpdatePathsRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.UpdatePathsRequest"; } - - protected: - explicit UpdatePathsRequest(::google::protobuf::Arena* arena); - UpdatePathsRequest(::google::protobuf::Arena* arena, const UpdatePathsRequest& from); - UpdatePathsRequest(::google::protobuf::Arena* arena, UpdatePathsRequest&& from) noexcept - : UpdatePathsRequest(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 { - kPathPrefixFieldNumber = 1, - kRequestedUpdateFieldNumber = 2, - }; - // string path_prefix = 1; - void clear_path_prefix() ; - const std::string& path_prefix() const; - template - void set_path_prefix(Arg_&& arg, Args_... args); - std::string* mutable_path_prefix(); - PROTOBUF_NODISCARD std::string* release_path_prefix(); - void set_allocated_path_prefix(std::string* value); - - private: - const std::string& _internal_path_prefix() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path_prefix( - const std::string& value); - std::string* _internal_mutable_path_prefix(); - - public: - // .beeremote.UpdateJobsRequest requested_update = 2; - bool has_requested_update() const; - void clear_requested_update() ; - const ::beeremote::UpdateJobsRequest& requested_update() const; - PROTOBUF_NODISCARD ::beeremote::UpdateJobsRequest* release_requested_update(); - ::beeremote::UpdateJobsRequest* mutable_requested_update(); - void set_allocated_requested_update(::beeremote::UpdateJobsRequest* value); - void unsafe_arena_set_allocated_requested_update(::beeremote::UpdateJobsRequest* value); - ::beeremote::UpdateJobsRequest* unsafe_arena_release_requested_update(); - - private: - const ::beeremote::UpdateJobsRequest& _internal_requested_update() const; - ::beeremote::UpdateJobsRequest* _internal_mutable_requested_update(); - - public: - // @@protoc_insertion_point(class_scope:beeremote.UpdatePathsRequest) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 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 UpdatePathsRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr path_prefix_; - ::beeremote::UpdateJobsRequest* requested_update_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class JobResult_WorkResult final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.JobResult.WorkResult) */ { - public: - inline JobResult_WorkResult() : JobResult_WorkResult(nullptr) {} - ~JobResult_WorkResult() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(JobResult_WorkResult* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(JobResult_WorkResult)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR JobResult_WorkResult( - ::google::protobuf::internal::ConstantInitialized); - - inline JobResult_WorkResult(const JobResult_WorkResult& from) : JobResult_WorkResult(nullptr, from) {} - inline JobResult_WorkResult(JobResult_WorkResult&& from) noexcept - : JobResult_WorkResult(nullptr, std::move(from)) {} - inline JobResult_WorkResult& operator=(const JobResult_WorkResult& from) { - CopyFrom(from); - return *this; - } - inline JobResult_WorkResult& operator=(JobResult_WorkResult&& 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 JobResult_WorkResult& default_instance() { - return *internal_default_instance(); - } - static inline const JobResult_WorkResult* internal_default_instance() { - return reinterpret_cast( - &_JobResult_WorkResult_default_instance_); - } - static constexpr int kIndexInFileMessages = 6; - friend void swap(JobResult_WorkResult& a, JobResult_WorkResult& b) { a.Swap(&b); } - inline void Swap(JobResult_WorkResult* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(JobResult_WorkResult* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - JobResult_WorkResult* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const JobResult_WorkResult& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const JobResult_WorkResult& from) { JobResult_WorkResult::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(JobResult_WorkResult* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.JobResult.WorkResult"; } - - protected: - explicit JobResult_WorkResult(::google::protobuf::Arena* arena); - JobResult_WorkResult(::google::protobuf::Arena* arena, const JobResult_WorkResult& from); - JobResult_WorkResult(::google::protobuf::Arena* arena, JobResult_WorkResult&& from) noexcept - : JobResult_WorkResult(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 { - kAssignedNodeFieldNumber = 2, - kAssignedPoolFieldNumber = 3, - kWorkFieldNumber = 1, - }; - // string assigned_node = 2; - void clear_assigned_node() ; - const std::string& assigned_node() const; - template - void set_assigned_node(Arg_&& arg, Args_... args); - std::string* mutable_assigned_node(); - PROTOBUF_NODISCARD std::string* release_assigned_node(); - void set_allocated_assigned_node(std::string* value); - - private: - const std::string& _internal_assigned_node() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_assigned_node( - const std::string& value); - std::string* _internal_mutable_assigned_node(); - - public: - // string assigned_pool = 3; - void clear_assigned_pool() ; - const std::string& assigned_pool() const; - template - void set_assigned_pool(Arg_&& arg, Args_... args); - std::string* mutable_assigned_pool(); - PROTOBUF_NODISCARD std::string* release_assigned_pool(); - void set_allocated_assigned_pool(std::string* value); - - private: - const std::string& _internal_assigned_pool() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_assigned_pool( - const std::string& value); - std::string* _internal_mutable_assigned_pool(); - - public: - // .flex.Work work = 1; - bool has_work() const; - void clear_work() ; - const ::flex::Work& work() const; - PROTOBUF_NODISCARD ::flex::Work* release_work(); - ::flex::Work* mutable_work(); - void set_allocated_work(::flex::Work* value); - void unsafe_arena_set_allocated_work(::flex::Work* value); - ::flex::Work* unsafe_arena_release_work(); - - private: - const ::flex::Work& _internal_work() const; - ::flex::Work* _internal_mutable_work(); - - public: - // @@protoc_insertion_point(class_scope:beeremote.JobResult.WorkResult) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 1, - 65, 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 JobResult_WorkResult& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr assigned_node_; - ::google::protobuf::internal::ArenaStringPtr assigned_pool_; - ::flex::Work* work_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class JobRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.JobRequest) */ { - public: - inline JobRequest() : JobRequest(nullptr) {} - ~JobRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(JobRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(JobRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR JobRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline JobRequest(const JobRequest& from) : JobRequest(nullptr, from) {} - inline JobRequest(JobRequest&& from) noexcept - : JobRequest(nullptr, std::move(from)) {} - inline JobRequest& operator=(const JobRequest& from) { - CopyFrom(from); - return *this; - } - inline JobRequest& operator=(JobRequest&& 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 JobRequest& default_instance() { - return *internal_default_instance(); - } - enum TypeCase { - kSync = 10, - kMock = 11, - kBuilder = 12, - TYPE_NOT_SET = 0, - }; - static inline const JobRequest* internal_default_instance() { - return reinterpret_cast( - &_JobRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 3; - friend void swap(JobRequest& a, JobRequest& b) { a.Swap(&b); } - inline void Swap(JobRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(JobRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - JobRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const JobRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const JobRequest& from) { JobRequest::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(JobRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.JobRequest"; } - - protected: - explicit JobRequest(::google::protobuf::Arena* arena); - JobRequest(::google::protobuf::Arena* arena, const JobRequest& from); - JobRequest(::google::protobuf::Arena* arena, JobRequest&& from) noexcept - : JobRequest(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 GenerationStatus = JobRequest_GenerationStatus; - - // accessors ------------------------------------------------------- - enum : int { - kPathFieldNumber = 1, - kNameFieldNumber = 2, - kGenerationStatusFieldNumber = 8, - kPriorityFieldNumber = 3, - kRemoteStorageTargetFieldNumber = 4, - kForceFieldNumber = 5, - kStubLocalFieldNumber = 7, - kUpdateFieldNumber = 9, - kSyncFieldNumber = 10, - kMockFieldNumber = 11, - kBuilderFieldNumber = 12, - }; - // string path = 1; - void clear_path() ; - const std::string& path() const; - template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); - - private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( - const std::string& value); - std::string* _internal_mutable_path(); - - 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: - // .beeremote.JobRequest.GenerationStatus generation_status = 8; - bool has_generation_status() const; - void clear_generation_status() ; - const ::beeremote::JobRequest_GenerationStatus& generation_status() const; - PROTOBUF_NODISCARD ::beeremote::JobRequest_GenerationStatus* release_generation_status(); - ::beeremote::JobRequest_GenerationStatus* mutable_generation_status(); - void set_allocated_generation_status(::beeremote::JobRequest_GenerationStatus* value); - void unsafe_arena_set_allocated_generation_status(::beeremote::JobRequest_GenerationStatus* value); - ::beeremote::JobRequest_GenerationStatus* unsafe_arena_release_generation_status(); - - private: - const ::beeremote::JobRequest_GenerationStatus& _internal_generation_status() const; - ::beeremote::JobRequest_GenerationStatus* _internal_mutable_generation_status(); - - public: - // int32 priority = 3; - void clear_priority() ; - ::int32_t priority() const; - void set_priority(::int32_t value); - - private: - ::int32_t _internal_priority() const; - void _internal_set_priority(::int32_t value); - - public: - // uint32 remote_storage_target = 4; - void clear_remote_storage_target() ; - ::uint32_t remote_storage_target() const; - void set_remote_storage_target(::uint32_t value); - - private: - ::uint32_t _internal_remote_storage_target() const; - void _internal_set_remote_storage_target(::uint32_t value); - - public: - // bool force = 5; - void clear_force() ; - bool force() const; - void set_force(bool value); - - private: - bool _internal_force() const; - void _internal_set_force(bool value); - - public: - // bool stub_local = 7; - void clear_stub_local() ; - bool stub_local() const; - void set_stub_local(bool value); - - private: - bool _internal_stub_local() const; - void _internal_set_stub_local(bool value); - - public: - // optional bool update = 9; - bool has_update() const; - void clear_update() ; - bool update() const; - void set_update(bool value); - - private: - bool _internal_update() const; - void _internal_set_update(bool value); - - public: - // .flex.SyncJob sync = 10; - bool has_sync() const; - private: - bool _internal_has_sync() const; - - public: - void clear_sync() ; - const ::flex::SyncJob& sync() const; - PROTOBUF_NODISCARD ::flex::SyncJob* release_sync(); - ::flex::SyncJob* mutable_sync(); - void set_allocated_sync(::flex::SyncJob* value); - void unsafe_arena_set_allocated_sync(::flex::SyncJob* value); - ::flex::SyncJob* unsafe_arena_release_sync(); - - private: - const ::flex::SyncJob& _internal_sync() const; - ::flex::SyncJob* _internal_mutable_sync(); - - public: - // .flex.MockJob mock = 11; - bool has_mock() const; - private: - bool _internal_has_mock() const; - - public: - void clear_mock() ; - const ::flex::MockJob& mock() const; - PROTOBUF_NODISCARD ::flex::MockJob* release_mock(); - ::flex::MockJob* mutable_mock(); - void set_allocated_mock(::flex::MockJob* value); - void unsafe_arena_set_allocated_mock(::flex::MockJob* value); - ::flex::MockJob* unsafe_arena_release_mock(); - - private: - const ::flex::MockJob& _internal_mock() const; - ::flex::MockJob* _internal_mutable_mock(); - - public: - // .flex.BuilderJob builder = 12; - bool has_builder() const; - private: - bool _internal_has_builder() const; - - public: - void clear_builder() ; - const ::flex::BuilderJob& builder() const; - PROTOBUF_NODISCARD ::flex::BuilderJob* release_builder(); - ::flex::BuilderJob* mutable_builder(); - void set_allocated_builder(::flex::BuilderJob* value); - void unsafe_arena_set_allocated_builder(::flex::BuilderJob* value); - ::flex::BuilderJob* unsafe_arena_release_builder(); - - private: - const ::flex::BuilderJob& _internal_builder() const; - ::flex::BuilderJob* _internal_mutable_builder(); - - public: - void clear_type(); - TypeCase type_case() const; - // @@protoc_insertion_point(class_scope:beeremote.JobRequest) - private: - class _Internal; - void set_has_sync(); - void set_has_mock(); - void set_has_builder(); - inline bool has_type() const; - inline void clear_has_type(); - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 11, 4, - 45, 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 JobRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr path_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::beeremote::JobRequest_GenerationStatus* generation_status_; - ::int32_t priority_; - ::uint32_t remote_storage_target_; - bool force_; - bool stub_local_; - bool update_; - union TypeUnion { - constexpr TypeUnion() : _constinit_{} {} - ::google::protobuf::internal::ConstantInitialized _constinit_; - ::flex::SyncJob* sync_; - ::flex::MockJob* mock_; - ::flex::BuilderJob* builder_; - } type_; - ::uint32_t _oneof_case_[1]; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class SubmitJobRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.SubmitJobRequest) */ { - public: - inline SubmitJobRequest() : SubmitJobRequest(nullptr) {} - ~SubmitJobRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubmitJobRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubmitJobRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR SubmitJobRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline SubmitJobRequest(const SubmitJobRequest& from) : SubmitJobRequest(nullptr, from) {} - inline SubmitJobRequest(SubmitJobRequest&& from) noexcept - : SubmitJobRequest(nullptr, std::move(from)) {} - inline SubmitJobRequest& operator=(const SubmitJobRequest& from) { - CopyFrom(from); - return *this; - } - inline SubmitJobRequest& operator=(SubmitJobRequest&& 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 SubmitJobRequest& default_instance() { - return *internal_default_instance(); - } - static inline const SubmitJobRequest* internal_default_instance() { - return reinterpret_cast( - &_SubmitJobRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 0; - friend void swap(SubmitJobRequest& a, SubmitJobRequest& b) { a.Swap(&b); } - inline void Swap(SubmitJobRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubmitJobRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubmitJobRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SubmitJobRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SubmitJobRequest& from) { SubmitJobRequest::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(SubmitJobRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.SubmitJobRequest"; } - - protected: - explicit SubmitJobRequest(::google::protobuf::Arena* arena); - SubmitJobRequest(::google::protobuf::Arena* arena, const SubmitJobRequest& from); - SubmitJobRequest(::google::protobuf::Arena* arena, SubmitJobRequest&& from) noexcept - : SubmitJobRequest(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 { - kRequestFieldNumber = 1, - }; - // .beeremote.JobRequest request = 1; - bool has_request() const; - void clear_request() ; - const ::beeremote::JobRequest& request() const; - PROTOBUF_NODISCARD ::beeremote::JobRequest* release_request(); - ::beeremote::JobRequest* mutable_request(); - void set_allocated_request(::beeremote::JobRequest* value); - void unsafe_arena_set_allocated_request(::beeremote::JobRequest* value); - ::beeremote::JobRequest* unsafe_arena_release_request(); - - private: - const ::beeremote::JobRequest& _internal_request() const; - ::beeremote::JobRequest* _internal_mutable_request(); - - public: - // @@protoc_insertion_point(class_scope:beeremote.SubmitJobRequest) - 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 SubmitJobRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beeremote::JobRequest* request_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class Job final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.Job) */ { - public: - inline Job() : Job(nullptr) {} - ~Job() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Job* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(Job)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR Job( - ::google::protobuf::internal::ConstantInitialized); - - inline Job(const Job& from) : Job(nullptr, from) {} - inline Job(Job&& from) noexcept - : Job(nullptr, std::move(from)) {} - inline Job& operator=(const Job& from) { - CopyFrom(from); - return *this; - } - inline Job& operator=(Job&& 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 Job& default_instance() { - return *internal_default_instance(); - } - static inline const Job* internal_default_instance() { - return reinterpret_cast( - &_Job_default_instance_); - } - static constexpr int kIndexInFileMessages = 5; - friend void swap(Job& a, Job& b) { a.Swap(&b); } - inline void Swap(Job* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Job* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Job* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const Job& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const Job& from) { Job::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(Job* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.Job"; } - - protected: - explicit Job(::google::protobuf::Arena* arena); - Job(::google::protobuf::Arena* arena, const Job& from); - Job(::google::protobuf::Arena* arena, Job&& from) noexcept - : Job(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 Status = Job_Status; - using State = Job_State; - static constexpr State UNSPECIFIED = Job_State_UNSPECIFIED; - static constexpr State UNKNOWN = Job_State_UNKNOWN; - static constexpr State UNASSIGNED = Job_State_UNASSIGNED; - static constexpr State SCHEDULED = Job_State_SCHEDULED; - static constexpr State RUNNING = Job_State_RUNNING; - static constexpr State ERROR = Job_State_ERROR; - static constexpr State FAILED = Job_State_FAILED; - static constexpr State CANCELLED = Job_State_CANCELLED; - static constexpr State COMPLETED = Job_State_COMPLETED; - static constexpr State OFFLOADED = Job_State_OFFLOADED; - static inline bool State_IsValid(int value) { - return Job_State_IsValid(value); - } - static constexpr State State_MIN = Job_State_State_MIN; - static constexpr State State_MAX = Job_State_State_MAX; - static constexpr int State_ARRAYSIZE = Job_State_State_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* State_descriptor() { - return Job_State_descriptor(); - } - template - static inline const std::string& State_Name(T value) { - return Job_State_Name(value); - } - static inline bool State_Parse(absl::string_view name, State* value) { - return Job_State_Parse(name, value); - } - - // accessors ------------------------------------------------------- - enum : int { - kIdFieldNumber = 1, - kExternalIdFieldNumber = 5, - kRequestFieldNumber = 2, - kCreatedFieldNumber = 3, - kStatusFieldNumber = 4, - kStartMtimeFieldNumber = 6, - kStopMtimeFieldNumber = 7, - }; - // string id = 1; - void clear_id() ; - const std::string& id() const; - template - void set_id(Arg_&& arg, Args_... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* value); - - private: - const std::string& _internal_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_id( - const std::string& value); - std::string* _internal_mutable_id(); - - public: - // string external_id = 5; - void clear_external_id() ; - const std::string& external_id() const; - template - void set_external_id(Arg_&& arg, Args_... args); - std::string* mutable_external_id(); - PROTOBUF_NODISCARD std::string* release_external_id(); - void set_allocated_external_id(std::string* value); - - private: - const std::string& _internal_external_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_external_id( - const std::string& value); - std::string* _internal_mutable_external_id(); - - public: - // .beeremote.JobRequest request = 2; - bool has_request() const; - void clear_request() ; - const ::beeremote::JobRequest& request() const; - PROTOBUF_NODISCARD ::beeremote::JobRequest* release_request(); - ::beeremote::JobRequest* mutable_request(); - void set_allocated_request(::beeremote::JobRequest* value); - void unsafe_arena_set_allocated_request(::beeremote::JobRequest* value); - ::beeremote::JobRequest* unsafe_arena_release_request(); - - private: - const ::beeremote::JobRequest& _internal_request() const; - ::beeremote::JobRequest* _internal_mutable_request(); - - public: - // .google.protobuf.Timestamp created = 3; - bool has_created() const; - void clear_created() ; - const ::google::protobuf::Timestamp& created() const; - PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_created(); - ::google::protobuf::Timestamp* mutable_created(); - void set_allocated_created(::google::protobuf::Timestamp* value); - void unsafe_arena_set_allocated_created(::google::protobuf::Timestamp* value); - ::google::protobuf::Timestamp* unsafe_arena_release_created(); - - private: - const ::google::protobuf::Timestamp& _internal_created() const; - ::google::protobuf::Timestamp* _internal_mutable_created(); - - public: - // .beeremote.Job.Status status = 4; - bool has_status() const; - void clear_status() ; - const ::beeremote::Job_Status& status() const; - PROTOBUF_NODISCARD ::beeremote::Job_Status* release_status(); - ::beeremote::Job_Status* mutable_status(); - void set_allocated_status(::beeremote::Job_Status* value); - void unsafe_arena_set_allocated_status(::beeremote::Job_Status* value); - ::beeremote::Job_Status* unsafe_arena_release_status(); - - private: - const ::beeremote::Job_Status& _internal_status() const; - ::beeremote::Job_Status* _internal_mutable_status(); - - public: - // optional .google.protobuf.Timestamp start_mtime = 6; - bool has_start_mtime() const; - void clear_start_mtime() ; - const ::google::protobuf::Timestamp& start_mtime() const; - PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_start_mtime(); - ::google::protobuf::Timestamp* mutable_start_mtime(); - void set_allocated_start_mtime(::google::protobuf::Timestamp* value); - void unsafe_arena_set_allocated_start_mtime(::google::protobuf::Timestamp* value); - ::google::protobuf::Timestamp* unsafe_arena_release_start_mtime(); - - private: - const ::google::protobuf::Timestamp& _internal_start_mtime() const; - ::google::protobuf::Timestamp* _internal_mutable_start_mtime(); - - public: - // optional .google.protobuf.Timestamp stop_mtime = 7; - bool has_stop_mtime() const; - void clear_stop_mtime() ; - const ::google::protobuf::Timestamp& stop_mtime() const; - PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_stop_mtime(); - ::google::protobuf::Timestamp* mutable_stop_mtime(); - void set_allocated_stop_mtime(::google::protobuf::Timestamp* value); - void unsafe_arena_set_allocated_stop_mtime(::google::protobuf::Timestamp* value); - ::google::protobuf::Timestamp* unsafe_arena_release_stop_mtime(); - - private: - const ::google::protobuf::Timestamp& _internal_stop_mtime() const; - ::google::protobuf::Timestamp* _internal_mutable_stop_mtime(); - - public: - // @@protoc_insertion_point(class_scope:beeremote.Job) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 7, 5, - 35, 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 Job& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr id_; - ::google::protobuf::internal::ArenaStringPtr external_id_; - ::beeremote::JobRequest* request_; - ::google::protobuf::Timestamp* created_; - ::beeremote::Job_Status* status_; - ::google::protobuf::Timestamp* start_mtime_; - ::google::protobuf::Timestamp* stop_mtime_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class GetRSTConfigResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.GetRSTConfigResponse) */ { - public: - inline GetRSTConfigResponse() : GetRSTConfigResponse(nullptr) {} - ~GetRSTConfigResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetRSTConfigResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetRSTConfigResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetRSTConfigResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline GetRSTConfigResponse(const GetRSTConfigResponse& from) : GetRSTConfigResponse(nullptr, from) {} - inline GetRSTConfigResponse(GetRSTConfigResponse&& from) noexcept - : GetRSTConfigResponse(nullptr, std::move(from)) {} - inline GetRSTConfigResponse& operator=(const GetRSTConfigResponse& from) { - CopyFrom(from); - return *this; - } - inline GetRSTConfigResponse& operator=(GetRSTConfigResponse&& 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 GetRSTConfigResponse& default_instance() { - return *internal_default_instance(); - } - static inline const GetRSTConfigResponse* internal_default_instance() { - return reinterpret_cast( - &_GetRSTConfigResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 19; - friend void swap(GetRSTConfigResponse& a, GetRSTConfigResponse& b) { a.Swap(&b); } - inline void Swap(GetRSTConfigResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetRSTConfigResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetRSTConfigResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetRSTConfigResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetRSTConfigResponse& from) { GetRSTConfigResponse::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(GetRSTConfigResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.GetRSTConfigResponse"; } - - protected: - explicit GetRSTConfigResponse(::google::protobuf::Arena* arena); - GetRSTConfigResponse(::google::protobuf::Arena* arena, const GetRSTConfigResponse& from); - GetRSTConfigResponse(::google::protobuf::Arena* arena, GetRSTConfigResponse&& from) noexcept - : GetRSTConfigResponse(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 { - kRstsFieldNumber = 1, - }; - // repeated .flex.RemoteStorageTarget rsts = 1; - int rsts_size() const; - private: - int _internal_rsts_size() const; - - public: - void clear_rsts() ; - ::flex::RemoteStorageTarget* mutable_rsts(int index); - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* mutable_rsts(); - - private: - const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>& _internal_rsts() const; - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* _internal_mutable_rsts(); - public: - const ::flex::RemoteStorageTarget& rsts(int index) const; - ::flex::RemoteStorageTarget* add_rsts(); - const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>& rsts() const; - // @@protoc_insertion_point(class_scope:beeremote.GetRSTConfigResponse) - 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 GetRSTConfigResponse& from_msg); - ::google::protobuf::RepeatedPtrField< ::flex::RemoteStorageTarget > rsts_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class JobResult final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.JobResult) */ { - public: - inline JobResult() : JobResult(nullptr) {} - ~JobResult() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(JobResult* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(JobResult)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR JobResult( - ::google::protobuf::internal::ConstantInitialized); - - inline JobResult(const JobResult& from) : JobResult(nullptr, from) {} - inline JobResult(JobResult&& from) noexcept - : JobResult(nullptr, std::move(from)) {} - inline JobResult& operator=(const JobResult& from) { - CopyFrom(from); - return *this; - } - inline JobResult& operator=(JobResult&& 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 JobResult& default_instance() { - return *internal_default_instance(); - } - static inline const JobResult* internal_default_instance() { - return reinterpret_cast( - &_JobResult_default_instance_); - } - static constexpr int kIndexInFileMessages = 7; - friend void swap(JobResult& a, JobResult& b) { a.Swap(&b); } - inline void Swap(JobResult* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(JobResult* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - JobResult* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const JobResult& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const JobResult& from) { JobResult::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(JobResult* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.JobResult"; } - - protected: - explicit JobResult(::google::protobuf::Arena* arena); - JobResult(::google::protobuf::Arena* arena, const JobResult& from); - JobResult(::google::protobuf::Arena* arena, JobResult&& from) noexcept - : JobResult(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 WorkResult = JobResult_WorkResult; - - // accessors ------------------------------------------------------- - enum : int { - kWorkRequestsFieldNumber = 2, - kWorkResultsFieldNumber = 3, - kJobFieldNumber = 1, - }; - // repeated .flex.WorkRequest work_requests = 2; - int work_requests_size() const; - private: - int _internal_work_requests_size() const; - - public: - void clear_work_requests() ; - ::flex::WorkRequest* mutable_work_requests(int index); - ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>* mutable_work_requests(); - - private: - const ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>& _internal_work_requests() const; - ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>* _internal_mutable_work_requests(); - public: - const ::flex::WorkRequest& work_requests(int index) const; - ::flex::WorkRequest* add_work_requests(); - const ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>& work_requests() const; - // repeated .beeremote.JobResult.WorkResult work_results = 3; - int work_results_size() const; - private: - int _internal_work_results_size() const; - - public: - void clear_work_results() ; - ::beeremote::JobResult_WorkResult* mutable_work_results(int index); - ::google::protobuf::RepeatedPtrField<::beeremote::JobResult_WorkResult>* mutable_work_results(); - - private: - const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult_WorkResult>& _internal_work_results() const; - ::google::protobuf::RepeatedPtrField<::beeremote::JobResult_WorkResult>* _internal_mutable_work_results(); - public: - const ::beeremote::JobResult_WorkResult& work_results(int index) const; - ::beeremote::JobResult_WorkResult* add_work_results(); - const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult_WorkResult>& work_results() const; - // .beeremote.Job job = 1; - bool has_job() const; - void clear_job() ; - const ::beeremote::Job& job() const; - PROTOBUF_NODISCARD ::beeremote::Job* release_job(); - ::beeremote::Job* mutable_job(); - void set_allocated_job(::beeremote::Job* value); - void unsafe_arena_set_allocated_job(::beeremote::Job* value); - ::beeremote::Job* unsafe_arena_release_job(); - - private: - const ::beeremote::Job& _internal_job() const; - ::beeremote::Job* _internal_mutable_job(); - - public: - // @@protoc_insertion_point(class_scope:beeremote.JobResult) - 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 JobResult& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::RepeatedPtrField< ::flex::WorkRequest > work_requests_; - ::google::protobuf::RepeatedPtrField< ::beeremote::JobResult_WorkResult > work_results_; - ::beeremote::Job* job_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class UpdateJobsResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.UpdateJobsResponse) */ { - public: - inline UpdateJobsResponse() : UpdateJobsResponse(nullptr) {} - ~UpdateJobsResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateJobsResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateJobsResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR UpdateJobsResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline UpdateJobsResponse(const UpdateJobsResponse& from) : UpdateJobsResponse(nullptr, from) {} - inline UpdateJobsResponse(UpdateJobsResponse&& from) noexcept - : UpdateJobsResponse(nullptr, std::move(from)) {} - inline UpdateJobsResponse& operator=(const UpdateJobsResponse& from) { - CopyFrom(from); - return *this; - } - inline UpdateJobsResponse& operator=(UpdateJobsResponse&& 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 UpdateJobsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const UpdateJobsResponse* internal_default_instance() { - return reinterpret_cast( - &_UpdateJobsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 12; - friend void swap(UpdateJobsResponse& a, UpdateJobsResponse& b) { a.Swap(&b); } - inline void Swap(UpdateJobsResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UpdateJobsResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UpdateJobsResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const UpdateJobsResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const UpdateJobsResponse& from) { UpdateJobsResponse::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(UpdateJobsResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.UpdateJobsResponse"; } - - protected: - explicit UpdateJobsResponse(::google::protobuf::Arena* arena); - UpdateJobsResponse(::google::protobuf::Arena* arena, const UpdateJobsResponse& from); - UpdateJobsResponse(::google::protobuf::Arena* arena, UpdateJobsResponse&& from) noexcept - : UpdateJobsResponse(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 { - kResultsFieldNumber = 3, - kMessageFieldNumber = 2, - kOkFieldNumber = 1, - }; - // repeated .beeremote.JobResult results = 3; - int results_size() const; - private: - int _internal_results_size() const; - - public: - void clear_results() ; - ::beeremote::JobResult* mutable_results(int index); - ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* mutable_results(); - - private: - const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>& _internal_results() const; - ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* _internal_mutable_results(); - public: - const ::beeremote::JobResult& results(int index) const; - ::beeremote::JobResult* add_results(); - const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>& results() const; - // 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: - // bool ok = 1; - void clear_ok() ; - bool ok() const; - void set_ok(bool value); - - private: - bool _internal_ok() const; - void _internal_set_ok(bool value); - - public: - // @@protoc_insertion_point(class_scope:beeremote.UpdateJobsResponse) - 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 UpdateJobsResponse& from_msg); - ::google::protobuf::RepeatedPtrField< ::beeremote::JobResult > results_; - ::google::protobuf::internal::ArenaStringPtr message_; - bool ok_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class SubmitJobResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.SubmitJobResponse) */ { - public: - inline SubmitJobResponse() : SubmitJobResponse(nullptr) {} - ~SubmitJobResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubmitJobResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubmitJobResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR SubmitJobResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline SubmitJobResponse(const SubmitJobResponse& from) : SubmitJobResponse(nullptr, from) {} - inline SubmitJobResponse(SubmitJobResponse&& from) noexcept - : SubmitJobResponse(nullptr, std::move(from)) {} - inline SubmitJobResponse& operator=(const SubmitJobResponse& from) { - CopyFrom(from); - return *this; - } - inline SubmitJobResponse& operator=(SubmitJobResponse&& 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 SubmitJobResponse& default_instance() { - return *internal_default_instance(); - } - static inline const SubmitJobResponse* internal_default_instance() { - return reinterpret_cast( - &_SubmitJobResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 1; - friend void swap(SubmitJobResponse& a, SubmitJobResponse& b) { a.Swap(&b); } - inline void Swap(SubmitJobResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubmitJobResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubmitJobResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SubmitJobResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SubmitJobResponse& from) { SubmitJobResponse::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(SubmitJobResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.SubmitJobResponse"; } - - protected: - explicit SubmitJobResponse(::google::protobuf::Arena* arena); - SubmitJobResponse(::google::protobuf::Arena* arena, const SubmitJobResponse& from); - SubmitJobResponse(::google::protobuf::Arena* arena, SubmitJobResponse&& from) noexcept - : SubmitJobResponse(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 ResponseStatus = SubmitJobResponse_ResponseStatus; - static constexpr ResponseStatus INVALID = SubmitJobResponse_ResponseStatus_INVALID; - static constexpr ResponseStatus CREATED = SubmitJobResponse_ResponseStatus_CREATED; - static constexpr ResponseStatus EXISTING = SubmitJobResponse_ResponseStatus_EXISTING; - static constexpr ResponseStatus NOT_ALLOWED = SubmitJobResponse_ResponseStatus_NOT_ALLOWED; - static constexpr ResponseStatus ALREADY_COMPLETE = SubmitJobResponse_ResponseStatus_ALREADY_COMPLETE; - static constexpr ResponseStatus ALREADY_OFFLOADED = SubmitJobResponse_ResponseStatus_ALREADY_OFFLOADED; - static constexpr ResponseStatus FAILED_PRECONDITION = SubmitJobResponse_ResponseStatus_FAILED_PRECONDITION; - static inline bool ResponseStatus_IsValid(int value) { - return SubmitJobResponse_ResponseStatus_IsValid(value); - } - static constexpr ResponseStatus ResponseStatus_MIN = SubmitJobResponse_ResponseStatus_ResponseStatus_MIN; - static constexpr ResponseStatus ResponseStatus_MAX = SubmitJobResponse_ResponseStatus_ResponseStatus_MAX; - static constexpr int ResponseStatus_ARRAYSIZE = SubmitJobResponse_ResponseStatus_ResponseStatus_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* ResponseStatus_descriptor() { - return SubmitJobResponse_ResponseStatus_descriptor(); - } - template - static inline const std::string& ResponseStatus_Name(T value) { - return SubmitJobResponse_ResponseStatus_Name(value); - } - static inline bool ResponseStatus_Parse(absl::string_view name, ResponseStatus* value) { - return SubmitJobResponse_ResponseStatus_Parse(name, value); - } - - // accessors ------------------------------------------------------- - enum : int { - kResultFieldNumber = 1, - kStatusFieldNumber = 2, - }; - // .beeremote.JobResult result = 1; - bool has_result() const; - void clear_result() ; - const ::beeremote::JobResult& result() const; - PROTOBUF_NODISCARD ::beeremote::JobResult* release_result(); - ::beeremote::JobResult* mutable_result(); - void set_allocated_result(::beeremote::JobResult* value); - void unsafe_arena_set_allocated_result(::beeremote::JobResult* value); - ::beeremote::JobResult* unsafe_arena_release_result(); - - private: - const ::beeremote::JobResult& _internal_result() const; - ::beeremote::JobResult* _internal_mutable_result(); - - public: - // .beeremote.SubmitJobResponse.ResponseStatus status = 2; - void clear_status() ; - ::beeremote::SubmitJobResponse_ResponseStatus status() const; - void set_status(::beeremote::SubmitJobResponse_ResponseStatus value); - - private: - ::beeremote::SubmitJobResponse_ResponseStatus _internal_status() const; - void _internal_set_status(::beeremote::SubmitJobResponse_ResponseStatus value); - - public: - // @@protoc_insertion_point(class_scope:beeremote.SubmitJobResponse) - 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 SubmitJobResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::beeremote::JobResult* result_; - int status_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class GetJobsResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.GetJobsResponse) */ { - public: - inline GetJobsResponse() : GetJobsResponse(nullptr) {} - ~GetJobsResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetJobsResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetJobsResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetJobsResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline GetJobsResponse(const GetJobsResponse& from) : GetJobsResponse(nullptr, from) {} - inline GetJobsResponse(GetJobsResponse&& from) noexcept - : GetJobsResponse(nullptr, std::move(from)) {} - inline GetJobsResponse& operator=(const GetJobsResponse& from) { - CopyFrom(from); - return *this; - } - inline GetJobsResponse& operator=(GetJobsResponse&& 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 GetJobsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const GetJobsResponse* internal_default_instance() { - return reinterpret_cast( - &_GetJobsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 15; - friend void swap(GetJobsResponse& a, GetJobsResponse& b) { a.Swap(&b); } - inline void Swap(GetJobsResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetJobsResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetJobsResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetJobsResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetJobsResponse& from) { GetJobsResponse::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(GetJobsResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.GetJobsResponse"; } - - protected: - explicit GetJobsResponse(::google::protobuf::Arena* arena); - GetJobsResponse(::google::protobuf::Arena* arena, const GetJobsResponse& from); - GetJobsResponse(::google::protobuf::Arena* arena, GetJobsResponse&& from) noexcept - : GetJobsResponse(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 { - kResultsFieldNumber = 2, - kPathFieldNumber = 1, - }; - // repeated .beeremote.JobResult results = 2; - int results_size() const; - private: - int _internal_results_size() const; - - public: - void clear_results() ; - ::beeremote::JobResult* mutable_results(int index); - ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* mutable_results(); - - private: - const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>& _internal_results() const; - ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* _internal_mutable_results(); - public: - const ::beeremote::JobResult& results(int index) const; - ::beeremote::JobResult* add_results(); - const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>& results() const; - // string path = 1; - void clear_path() ; - const std::string& path() const; - template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); - - private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( - const std::string& value); - std::string* _internal_mutable_path(); - - public: - // @@protoc_insertion_point(class_scope:beeremote.GetJobsResponse) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 38, 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 GetJobsResponse& from_msg); - ::google::protobuf::RepeatedPtrField< ::beeremote::JobResult > results_; - ::google::protobuf::internal::ArenaStringPtr path_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; -// ------------------------------------------------------------------- - -class UpdatePathsResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beeremote.UpdatePathsResponse) */ { - public: - inline UpdatePathsResponse() : UpdatePathsResponse(nullptr) {} - ~UpdatePathsResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdatePathsResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdatePathsResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR UpdatePathsResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline UpdatePathsResponse(const UpdatePathsResponse& from) : UpdatePathsResponse(nullptr, from) {} - inline UpdatePathsResponse(UpdatePathsResponse&& from) noexcept - : UpdatePathsResponse(nullptr, std::move(from)) {} - inline UpdatePathsResponse& operator=(const UpdatePathsResponse& from) { - CopyFrom(from); - return *this; - } - inline UpdatePathsResponse& operator=(UpdatePathsResponse&& 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 UpdatePathsResponse& default_instance() { - return *internal_default_instance(); - } - static inline const UpdatePathsResponse* internal_default_instance() { - return reinterpret_cast( - &_UpdatePathsResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 9; - friend void swap(UpdatePathsResponse& a, UpdatePathsResponse& b) { a.Swap(&b); } - inline void Swap(UpdatePathsResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UpdatePathsResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UpdatePathsResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const UpdatePathsResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const UpdatePathsResponse& from) { UpdatePathsResponse::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(UpdatePathsResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beeremote.UpdatePathsResponse"; } - - protected: - explicit UpdatePathsResponse(::google::protobuf::Arena* arena); - UpdatePathsResponse(::google::protobuf::Arena* arena, const UpdatePathsResponse& from); - UpdatePathsResponse(::google::protobuf::Arena* arena, UpdatePathsResponse&& from) noexcept - : UpdatePathsResponse(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 { - kPathFieldNumber = 1, - kUpdateResultFieldNumber = 2, - }; - // string path = 1; - void clear_path() ; - const std::string& path() const; - template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); - - private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( - const std::string& value); - std::string* _internal_mutable_path(); - - public: - // .beeremote.UpdateJobsResponse update_result = 2; - bool has_update_result() const; - void clear_update_result() ; - const ::beeremote::UpdateJobsResponse& update_result() const; - PROTOBUF_NODISCARD ::beeremote::UpdateJobsResponse* release_update_result(); - ::beeremote::UpdateJobsResponse* mutable_update_result(); - void set_allocated_update_result(::beeremote::UpdateJobsResponse* value); - void unsafe_arena_set_allocated_update_result(::beeremote::UpdateJobsResponse* value); - ::beeremote::UpdateJobsResponse* unsafe_arena_release_update_result(); - - private: - const ::beeremote::UpdateJobsResponse& _internal_update_result() const; - ::beeremote::UpdateJobsResponse* _internal_mutable_update_result(); - - public: - // @@protoc_insertion_point(class_scope:beeremote.UpdatePathsResponse) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 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 UpdatePathsResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr path_; - ::beeremote::UpdateJobsResponse* update_result_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beeremote_2eproto; -}; - -// =================================================================== - - - - -// =================================================================== - - -#ifdef __GNUC__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// SubmitJobRequest - -// .beeremote.JobRequest request = 1; -inline bool SubmitJobRequest::has_request() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.request_ != nullptr); - return value; -} -inline void SubmitJobRequest::clear_request() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.request_ != nullptr) _impl_.request_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::beeremote::JobRequest& SubmitJobRequest::_internal_request() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beeremote::JobRequest* p = _impl_.request_; - return p != nullptr ? *p : reinterpret_cast(::beeremote::_JobRequest_default_instance_); -} -inline const ::beeremote::JobRequest& SubmitJobRequest::request() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.SubmitJobRequest.request) - return _internal_request(); -} -inline void SubmitJobRequest::unsafe_arena_set_allocated_request(::beeremote::JobRequest* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_); - } - _impl_.request_ = reinterpret_cast<::beeremote::JobRequest*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.SubmitJobRequest.request) -} -inline ::beeremote::JobRequest* SubmitJobRequest::release_request() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beeremote::JobRequest* released = _impl_.request_; - _impl_.request_ = 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 ::beeremote::JobRequest* SubmitJobRequest::unsafe_arena_release_request() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.SubmitJobRequest.request) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beeremote::JobRequest* temp = _impl_.request_; - _impl_.request_ = nullptr; - return temp; -} -inline ::beeremote::JobRequest* SubmitJobRequest::_internal_mutable_request() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.request_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::JobRequest>(GetArena()); - _impl_.request_ = reinterpret_cast<::beeremote::JobRequest*>(p); - } - return _impl_.request_; -} -inline ::beeremote::JobRequest* SubmitJobRequest::mutable_request() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beeremote::JobRequest* _msg = _internal_mutable_request(); - // @@protoc_insertion_point(field_mutable:beeremote.SubmitJobRequest.request) - return _msg; -} -inline void SubmitJobRequest::set_allocated_request(::beeremote::JobRequest* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.request_); - } - - 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_.request_ = reinterpret_cast<::beeremote::JobRequest*>(value); - // @@protoc_insertion_point(field_set_allocated:beeremote.SubmitJobRequest.request) -} - -// ------------------------------------------------------------------- - -// SubmitJobResponse - -// .beeremote.JobResult result = 1; -inline bool SubmitJobResponse::has_result() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.result_ != nullptr); - return value; -} -inline void SubmitJobResponse::clear_result() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.result_ != nullptr) _impl_.result_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::beeremote::JobResult& SubmitJobResponse::_internal_result() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beeremote::JobResult* p = _impl_.result_; - return p != nullptr ? *p : reinterpret_cast(::beeremote::_JobResult_default_instance_); -} -inline const ::beeremote::JobResult& SubmitJobResponse::result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.SubmitJobResponse.result) - return _internal_result(); -} -inline void SubmitJobResponse::unsafe_arena_set_allocated_result(::beeremote::JobResult* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.result_); - } - _impl_.result_ = reinterpret_cast<::beeremote::JobResult*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.SubmitJobResponse.result) -} -inline ::beeremote::JobResult* SubmitJobResponse::release_result() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beeremote::JobResult* released = _impl_.result_; - _impl_.result_ = 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 ::beeremote::JobResult* SubmitJobResponse::unsafe_arena_release_result() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.SubmitJobResponse.result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beeremote::JobResult* temp = _impl_.result_; - _impl_.result_ = nullptr; - return temp; -} -inline ::beeremote::JobResult* SubmitJobResponse::_internal_mutable_result() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::JobResult>(GetArena()); - _impl_.result_ = reinterpret_cast<::beeremote::JobResult*>(p); - } - return _impl_.result_; -} -inline ::beeremote::JobResult* SubmitJobResponse::mutable_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beeremote::JobResult* _msg = _internal_mutable_result(); - // @@protoc_insertion_point(field_mutable:beeremote.SubmitJobResponse.result) - return _msg; -} -inline void SubmitJobResponse::set_allocated_result(::beeremote::JobResult* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.result_); - } - - 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_.result_ = reinterpret_cast<::beeremote::JobResult*>(value); - // @@protoc_insertion_point(field_set_allocated:beeremote.SubmitJobResponse.result) -} - -// .beeremote.SubmitJobResponse.ResponseStatus status = 2; -inline void SubmitJobResponse::clear_status() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.status_ = 0; -} -inline ::beeremote::SubmitJobResponse_ResponseStatus SubmitJobResponse::status() const { - // @@protoc_insertion_point(field_get:beeremote.SubmitJobResponse.status) - return _internal_status(); -} -inline void SubmitJobResponse::set_status(::beeremote::SubmitJobResponse_ResponseStatus value) { - _internal_set_status(value); - // @@protoc_insertion_point(field_set:beeremote.SubmitJobResponse.status) -} -inline ::beeremote::SubmitJobResponse_ResponseStatus SubmitJobResponse::_internal_status() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beeremote::SubmitJobResponse_ResponseStatus>(_impl_.status_); -} -inline void SubmitJobResponse::_internal_set_status(::beeremote::SubmitJobResponse_ResponseStatus value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.status_ = value; -} - -// ------------------------------------------------------------------- - -// JobRequest_GenerationStatus - -// .beeremote.JobRequest.GenerationStatus.State state = 1; -inline void JobRequest_GenerationStatus::clear_state() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.state_ = 0; -} -inline ::beeremote::JobRequest_GenerationStatus_State JobRequest_GenerationStatus::state() const { - // @@protoc_insertion_point(field_get:beeremote.JobRequest.GenerationStatus.state) - return _internal_state(); -} -inline void JobRequest_GenerationStatus::set_state(::beeremote::JobRequest_GenerationStatus_State value) { - _internal_set_state(value); - // @@protoc_insertion_point(field_set:beeremote.JobRequest.GenerationStatus.state) -} -inline ::beeremote::JobRequest_GenerationStatus_State JobRequest_GenerationStatus::_internal_state() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beeremote::JobRequest_GenerationStatus_State>(_impl_.state_); -} -inline void JobRequest_GenerationStatus::_internal_set_state(::beeremote::JobRequest_GenerationStatus_State value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.state_ = value; -} - -// string message = 2; -inline void JobRequest_GenerationStatus::clear_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.ClearToEmpty(); -} -inline const std::string& JobRequest_GenerationStatus::message() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.JobRequest.GenerationStatus.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE void JobRequest_GenerationStatus::set_message(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.JobRequest.GenerationStatus.message) -} -inline std::string* JobRequest_GenerationStatus::mutable_message() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:beeremote.JobRequest.GenerationStatus.message) - return _s; -} -inline const std::string& JobRequest_GenerationStatus::_internal_message() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.message_.Get(); -} -inline void JobRequest_GenerationStatus::_internal_set_message(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(value, GetArena()); -} -inline std::string* JobRequest_GenerationStatus::_internal_mutable_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.message_.Mutable( GetArena()); -} -inline std::string* JobRequest_GenerationStatus::release_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.JobRequest.GenerationStatus.message) - return _impl_.message_.Release(); -} -inline void JobRequest_GenerationStatus::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:beeremote.JobRequest.GenerationStatus.message) -} - -// ------------------------------------------------------------------- - -// JobRequest - -// string path = 1; -inline void JobRequest::clear_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.ClearToEmpty(); -} -inline const std::string& JobRequest::path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.JobRequest.path) - return _internal_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void JobRequest::set_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.JobRequest.path) -} -inline std::string* JobRequest::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:beeremote.JobRequest.path) - return _s; -} -inline const std::string& JobRequest::_internal_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_.Get(); -} -inline void JobRequest::_internal_set_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(value, GetArena()); -} -inline std::string* JobRequest::_internal_mutable_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_.Mutable( GetArena()); -} -inline std::string* JobRequest::release_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.JobRequest.path) - return _impl_.path_.Release(); -} -inline void JobRequest::set_allocated_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { - _impl_.path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.JobRequest.path) -} - -// string name = 2; -inline void JobRequest::clear_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.name_.ClearToEmpty(); -} -inline const std::string& JobRequest::name() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.JobRequest.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE void JobRequest::set_name(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.name_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.JobRequest.name) -} -inline std::string* JobRequest::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:beeremote.JobRequest.name) - return _s; -} -inline const std::string& JobRequest::_internal_name() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.name_.Get(); -} -inline void JobRequest::_internal_set_name(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.name_.Set(value, GetArena()); -} -inline std::string* JobRequest::_internal_mutable_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.name_.Mutable( GetArena()); -} -inline std::string* JobRequest::release_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.JobRequest.name) - return _impl_.name_.Release(); -} -inline void JobRequest::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:beeremote.JobRequest.name) -} - -// int32 priority = 3; -inline void JobRequest::clear_priority() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.priority_ = 0; -} -inline ::int32_t JobRequest::priority() const { - // @@protoc_insertion_point(field_get:beeremote.JobRequest.priority) - return _internal_priority(); -} -inline void JobRequest::set_priority(::int32_t value) { - _internal_set_priority(value); - // @@protoc_insertion_point(field_set:beeremote.JobRequest.priority) -} -inline ::int32_t JobRequest::_internal_priority() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.priority_; -} -inline void JobRequest::_internal_set_priority(::int32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.priority_ = value; -} - -// uint32 remote_storage_target = 4; -inline void JobRequest::clear_remote_storage_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_storage_target_ = 0u; -} -inline ::uint32_t JobRequest::remote_storage_target() const { - // @@protoc_insertion_point(field_get:beeremote.JobRequest.remote_storage_target) - return _internal_remote_storage_target(); -} -inline void JobRequest::set_remote_storage_target(::uint32_t value) { - _internal_set_remote_storage_target(value); - // @@protoc_insertion_point(field_set:beeremote.JobRequest.remote_storage_target) -} -inline ::uint32_t JobRequest::_internal_remote_storage_target() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.remote_storage_target_; -} -inline void JobRequest::_internal_set_remote_storage_target(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_storage_target_ = value; -} - -// .flex.SyncJob sync = 10; -inline bool JobRequest::has_sync() const { - return type_case() == kSync; -} -inline bool JobRequest::_internal_has_sync() const { - return type_case() == kSync; -} -inline void JobRequest::set_has_sync() { - _impl_._oneof_case_[0] = kSync; -} -inline ::flex::SyncJob* JobRequest::release_sync() { - // @@protoc_insertion_point(field_release:beeremote.JobRequest.sync) - if (type_case() == kSync) { - clear_has_type(); - auto* temp = _impl_.type_.sync_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.type_.sync_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flex::SyncJob& JobRequest::_internal_sync() const { - return type_case() == kSync ? *_impl_.type_.sync_ : reinterpret_cast<::flex::SyncJob&>(::flex::_SyncJob_default_instance_); -} -inline const ::flex::SyncJob& JobRequest::sync() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.JobRequest.sync) - return _internal_sync(); -} -inline ::flex::SyncJob* JobRequest::unsafe_arena_release_sync() { - // @@protoc_insertion_point(field_unsafe_arena_release:beeremote.JobRequest.sync) - if (type_case() == kSync) { - clear_has_type(); - auto* temp = _impl_.type_.sync_; - _impl_.type_.sync_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void JobRequest::unsafe_arena_set_allocated_sync(::flex::SyncJob* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_type(); - if (value) { - set_has_sync(); - _impl_.type_.sync_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.JobRequest.sync) -} -inline ::flex::SyncJob* JobRequest::_internal_mutable_sync() { - if (type_case() != kSync) { - clear_type(); - set_has_sync(); - _impl_.type_.sync_ = - ::google::protobuf::Message::DefaultConstruct<::flex::SyncJob>(GetArena()); - } - return _impl_.type_.sync_; -} -inline ::flex::SyncJob* JobRequest::mutable_sync() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::flex::SyncJob* _msg = _internal_mutable_sync(); - // @@protoc_insertion_point(field_mutable:beeremote.JobRequest.sync) - return _msg; -} - -// .flex.MockJob mock = 11; -inline bool JobRequest::has_mock() const { - return type_case() == kMock; -} -inline bool JobRequest::_internal_has_mock() const { - return type_case() == kMock; -} -inline void JobRequest::set_has_mock() { - _impl_._oneof_case_[0] = kMock; -} -inline ::flex::MockJob* JobRequest::release_mock() { - // @@protoc_insertion_point(field_release:beeremote.JobRequest.mock) - if (type_case() == kMock) { - clear_has_type(); - auto* temp = _impl_.type_.mock_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.type_.mock_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flex::MockJob& JobRequest::_internal_mock() const { - return type_case() == kMock ? *_impl_.type_.mock_ : reinterpret_cast<::flex::MockJob&>(::flex::_MockJob_default_instance_); -} -inline const ::flex::MockJob& JobRequest::mock() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.JobRequest.mock) - return _internal_mock(); -} -inline ::flex::MockJob* JobRequest::unsafe_arena_release_mock() { - // @@protoc_insertion_point(field_unsafe_arena_release:beeremote.JobRequest.mock) - if (type_case() == kMock) { - clear_has_type(); - auto* temp = _impl_.type_.mock_; - _impl_.type_.mock_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void JobRequest::unsafe_arena_set_allocated_mock(::flex::MockJob* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_type(); - if (value) { - set_has_mock(); - _impl_.type_.mock_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.JobRequest.mock) -} -inline ::flex::MockJob* JobRequest::_internal_mutable_mock() { - if (type_case() != kMock) { - clear_type(); - set_has_mock(); - _impl_.type_.mock_ = - ::google::protobuf::Message::DefaultConstruct<::flex::MockJob>(GetArena()); - } - return _impl_.type_.mock_; -} -inline ::flex::MockJob* JobRequest::mutable_mock() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::flex::MockJob* _msg = _internal_mutable_mock(); - // @@protoc_insertion_point(field_mutable:beeremote.JobRequest.mock) - return _msg; -} - -// .flex.BuilderJob builder = 12; -inline bool JobRequest::has_builder() const { - return type_case() == kBuilder; -} -inline bool JobRequest::_internal_has_builder() const { - return type_case() == kBuilder; -} -inline void JobRequest::set_has_builder() { - _impl_._oneof_case_[0] = kBuilder; -} -inline ::flex::BuilderJob* JobRequest::release_builder() { - // @@protoc_insertion_point(field_release:beeremote.JobRequest.builder) - if (type_case() == kBuilder) { - clear_has_type(); - auto* temp = _impl_.type_.builder_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.type_.builder_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flex::BuilderJob& JobRequest::_internal_builder() const { - return type_case() == kBuilder ? *_impl_.type_.builder_ : reinterpret_cast<::flex::BuilderJob&>(::flex::_BuilderJob_default_instance_); -} -inline const ::flex::BuilderJob& JobRequest::builder() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.JobRequest.builder) - return _internal_builder(); -} -inline ::flex::BuilderJob* JobRequest::unsafe_arena_release_builder() { - // @@protoc_insertion_point(field_unsafe_arena_release:beeremote.JobRequest.builder) - if (type_case() == kBuilder) { - clear_has_type(); - auto* temp = _impl_.type_.builder_; - _impl_.type_.builder_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void JobRequest::unsafe_arena_set_allocated_builder(::flex::BuilderJob* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_type(); - if (value) { - set_has_builder(); - _impl_.type_.builder_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.JobRequest.builder) -} -inline ::flex::BuilderJob* JobRequest::_internal_mutable_builder() { - if (type_case() != kBuilder) { - clear_type(); - set_has_builder(); - _impl_.type_.builder_ = - ::google::protobuf::Message::DefaultConstruct<::flex::BuilderJob>(GetArena()); - } - return _impl_.type_.builder_; -} -inline ::flex::BuilderJob* JobRequest::mutable_builder() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::flex::BuilderJob* _msg = _internal_mutable_builder(); - // @@protoc_insertion_point(field_mutable:beeremote.JobRequest.builder) - return _msg; -} - -// bool force = 5; -inline void JobRequest::clear_force() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.force_ = false; -} -inline bool JobRequest::force() const { - // @@protoc_insertion_point(field_get:beeremote.JobRequest.force) - return _internal_force(); -} -inline void JobRequest::set_force(bool value) { - _internal_set_force(value); - // @@protoc_insertion_point(field_set:beeremote.JobRequest.force) -} -inline bool JobRequest::_internal_force() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.force_; -} -inline void JobRequest::_internal_set_force(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.force_ = value; -} - -// bool stub_local = 7; -inline void JobRequest::clear_stub_local() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_local_ = false; -} -inline bool JobRequest::stub_local() const { - // @@protoc_insertion_point(field_get:beeremote.JobRequest.stub_local) - return _internal_stub_local(); -} -inline void JobRequest::set_stub_local(bool value) { - _internal_set_stub_local(value); - // @@protoc_insertion_point(field_set:beeremote.JobRequest.stub_local) -} -inline bool JobRequest::_internal_stub_local() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.stub_local_; -} -inline void JobRequest::_internal_set_stub_local(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_local_ = value; -} - -// .beeremote.JobRequest.GenerationStatus generation_status = 8; -inline bool JobRequest::has_generation_status() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.generation_status_ != nullptr); - return value; -} -inline void JobRequest::clear_generation_status() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.generation_status_ != nullptr) _impl_.generation_status_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::beeremote::JobRequest_GenerationStatus& JobRequest::_internal_generation_status() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beeremote::JobRequest_GenerationStatus* p = _impl_.generation_status_; - return p != nullptr ? *p : reinterpret_cast(::beeremote::_JobRequest_GenerationStatus_default_instance_); -} -inline const ::beeremote::JobRequest_GenerationStatus& JobRequest::generation_status() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.JobRequest.generation_status) - return _internal_generation_status(); -} -inline void JobRequest::unsafe_arena_set_allocated_generation_status(::beeremote::JobRequest_GenerationStatus* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.generation_status_); - } - _impl_.generation_status_ = reinterpret_cast<::beeremote::JobRequest_GenerationStatus*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.JobRequest.generation_status) -} -inline ::beeremote::JobRequest_GenerationStatus* JobRequest::release_generation_status() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beeremote::JobRequest_GenerationStatus* released = _impl_.generation_status_; - _impl_.generation_status_ = 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 ::beeremote::JobRequest_GenerationStatus* JobRequest::unsafe_arena_release_generation_status() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.JobRequest.generation_status) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beeremote::JobRequest_GenerationStatus* temp = _impl_.generation_status_; - _impl_.generation_status_ = nullptr; - return temp; -} -inline ::beeremote::JobRequest_GenerationStatus* JobRequest::_internal_mutable_generation_status() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.generation_status_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::JobRequest_GenerationStatus>(GetArena()); - _impl_.generation_status_ = reinterpret_cast<::beeremote::JobRequest_GenerationStatus*>(p); - } - return _impl_.generation_status_; -} -inline ::beeremote::JobRequest_GenerationStatus* JobRequest::mutable_generation_status() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beeremote::JobRequest_GenerationStatus* _msg = _internal_mutable_generation_status(); - // @@protoc_insertion_point(field_mutable:beeremote.JobRequest.generation_status) - return _msg; -} -inline void JobRequest::set_allocated_generation_status(::beeremote::JobRequest_GenerationStatus* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.generation_status_); - } - - 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_.generation_status_ = reinterpret_cast<::beeremote::JobRequest_GenerationStatus*>(value); - // @@protoc_insertion_point(field_set_allocated:beeremote.JobRequest.generation_status) -} - -// optional bool update = 9; -inline bool JobRequest::has_update() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void JobRequest::clear_update() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.update_ = false; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline bool JobRequest::update() const { - // @@protoc_insertion_point(field_get:beeremote.JobRequest.update) - return _internal_update(); -} -inline void JobRequest::set_update(bool value) { - _internal_set_update(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:beeremote.JobRequest.update) -} -inline bool JobRequest::_internal_update() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.update_; -} -inline void JobRequest::_internal_set_update(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.update_ = value; -} - -inline bool JobRequest::has_type() const { - return type_case() != TYPE_NOT_SET; -} -inline void JobRequest::clear_has_type() { - _impl_._oneof_case_[0] = TYPE_NOT_SET; -} -inline JobRequest::TypeCase JobRequest::type_case() const { - return JobRequest::TypeCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// Job_Status - -// .beeremote.Job.State state = 1; -inline void Job_Status::clear_state() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.state_ = 0; -} -inline ::beeremote::Job_State Job_Status::state() const { - // @@protoc_insertion_point(field_get:beeremote.Job.Status.state) - return _internal_state(); -} -inline void Job_Status::set_state(::beeremote::Job_State value) { - _internal_set_state(value); - // @@protoc_insertion_point(field_set:beeremote.Job.Status.state) -} -inline ::beeremote::Job_State Job_Status::_internal_state() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beeremote::Job_State>(_impl_.state_); -} -inline void Job_Status::_internal_set_state(::beeremote::Job_State value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.state_ = value; -} - -// string message = 2; -inline void Job_Status::clear_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.ClearToEmpty(); -} -inline const std::string& Job_Status::message() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.Job.Status.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE void Job_Status::set_message(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.Job.Status.message) -} -inline std::string* Job_Status::mutable_message() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:beeremote.Job.Status.message) - return _s; -} -inline const std::string& Job_Status::_internal_message() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.message_.Get(); -} -inline void Job_Status::_internal_set_message(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(value, GetArena()); -} -inline std::string* Job_Status::_internal_mutable_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.message_.Mutable( GetArena()); -} -inline std::string* Job_Status::release_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.Job.Status.message) - return _impl_.message_.Release(); -} -inline void Job_Status::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:beeremote.Job.Status.message) -} - -// .google.protobuf.Timestamp updated = 3; -inline bool Job_Status::has_updated() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.updated_ != nullptr); - return value; -} -inline const ::google::protobuf::Timestamp& Job_Status::_internal_updated() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::google::protobuf::Timestamp* p = _impl_.updated_; - return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); -} -inline const ::google::protobuf::Timestamp& Job_Status::updated() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.Job.Status.updated) - return _internal_updated(); -} -inline void Job_Status::unsafe_arena_set_allocated_updated(::google::protobuf::Timestamp* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.updated_); - } - _impl_.updated_ = 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:beeremote.Job.Status.updated) -} -inline ::google::protobuf::Timestamp* Job_Status::release_updated() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::google::protobuf::Timestamp* released = _impl_.updated_; - _impl_.updated_ = 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* Job_Status::unsafe_arena_release_updated() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.Job.Status.updated) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::google::protobuf::Timestamp* temp = _impl_.updated_; - _impl_.updated_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* Job_Status::_internal_mutable_updated() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.updated_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); - _impl_.updated_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); - } - return _impl_.updated_; -} -inline ::google::protobuf::Timestamp* Job_Status::mutable_updated() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::google::protobuf::Timestamp* _msg = _internal_mutable_updated(); - // @@protoc_insertion_point(field_mutable:beeremote.Job.Status.updated) - return _msg; -} -inline void Job_Status::set_allocated_updated(::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_.updated_); - } - - 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_.updated_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - // @@protoc_insertion_point(field_set_allocated:beeremote.Job.Status.updated) -} - -// ------------------------------------------------------------------- - -// Job - -// string id = 1; -inline void Job::clear_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.id_.ClearToEmpty(); -} -inline const std::string& Job::id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.Job.id) - return _internal_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void Job::set_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.Job.id) -} -inline std::string* Job::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:beeremote.Job.id) - return _s; -} -inline const std::string& Job::_internal_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.id_.Get(); -} -inline void Job::_internal_set_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.id_.Set(value, GetArena()); -} -inline std::string* Job::_internal_mutable_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.id_.Mutable( GetArena()); -} -inline std::string* Job::release_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.Job.id) - return _impl_.id_.Release(); -} -inline void Job::set_allocated_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.id_.IsDefault()) { - _impl_.id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.Job.id) -} - -// .beeremote.JobRequest request = 2; -inline bool Job::has_request() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.request_ != nullptr); - return value; -} -inline void Job::clear_request() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.request_ != nullptr) _impl_.request_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::beeremote::JobRequest& Job::_internal_request() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beeremote::JobRequest* p = _impl_.request_; - return p != nullptr ? *p : reinterpret_cast(::beeremote::_JobRequest_default_instance_); -} -inline const ::beeremote::JobRequest& Job::request() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.Job.request) - return _internal_request(); -} -inline void Job::unsafe_arena_set_allocated_request(::beeremote::JobRequest* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_); - } - _impl_.request_ = reinterpret_cast<::beeremote::JobRequest*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.Job.request) -} -inline ::beeremote::JobRequest* Job::release_request() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beeremote::JobRequest* released = _impl_.request_; - _impl_.request_ = 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 ::beeremote::JobRequest* Job::unsafe_arena_release_request() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.Job.request) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beeremote::JobRequest* temp = _impl_.request_; - _impl_.request_ = nullptr; - return temp; -} -inline ::beeremote::JobRequest* Job::_internal_mutable_request() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.request_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::JobRequest>(GetArena()); - _impl_.request_ = reinterpret_cast<::beeremote::JobRequest*>(p); - } - return _impl_.request_; -} -inline ::beeremote::JobRequest* Job::mutable_request() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beeremote::JobRequest* _msg = _internal_mutable_request(); - // @@protoc_insertion_point(field_mutable:beeremote.Job.request) - return _msg; -} -inline void Job::set_allocated_request(::beeremote::JobRequest* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.request_); - } - - 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_.request_ = reinterpret_cast<::beeremote::JobRequest*>(value); - // @@protoc_insertion_point(field_set_allocated:beeremote.Job.request) -} - -// .google.protobuf.Timestamp created = 3; -inline bool Job::has_created() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.created_ != nullptr); - return value; -} -inline const ::google::protobuf::Timestamp& Job::_internal_created() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::google::protobuf::Timestamp* p = _impl_.created_; - return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); -} -inline const ::google::protobuf::Timestamp& Job::created() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.Job.created) - return _internal_created(); -} -inline void Job::unsafe_arena_set_allocated_created(::google::protobuf::Timestamp* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.created_); - } - _impl_.created_ = 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:beeremote.Job.created) -} -inline ::google::protobuf::Timestamp* Job::release_created() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::google::protobuf::Timestamp* released = _impl_.created_; - _impl_.created_ = 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* Job::unsafe_arena_release_created() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.Job.created) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::google::protobuf::Timestamp* temp = _impl_.created_; - _impl_.created_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* Job::_internal_mutable_created() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.created_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); - _impl_.created_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); - } - return _impl_.created_; -} -inline ::google::protobuf::Timestamp* Job::mutable_created() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; - ::google::protobuf::Timestamp* _msg = _internal_mutable_created(); - // @@protoc_insertion_point(field_mutable:beeremote.Job.created) - return _msg; -} -inline void Job::set_allocated_created(::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_.created_); - } - - 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_.created_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - // @@protoc_insertion_point(field_set_allocated:beeremote.Job.created) -} - -// .beeremote.Job.Status status = 4; -inline bool Job::has_status() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.status_ != nullptr); - return value; -} -inline void Job::clear_status() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.status_ != nullptr) _impl_.status_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::beeremote::Job_Status& Job::_internal_status() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beeremote::Job_Status* p = _impl_.status_; - return p != nullptr ? *p : reinterpret_cast(::beeremote::_Job_Status_default_instance_); -} -inline const ::beeremote::Job_Status& Job::status() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.Job.status) - return _internal_status(); -} -inline void Job::unsafe_arena_set_allocated_status(::beeremote::Job_Status* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.status_); - } - _impl_.status_ = reinterpret_cast<::beeremote::Job_Status*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.Job.status) -} -inline ::beeremote::Job_Status* Job::release_status() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000004u; - ::beeremote::Job_Status* released = _impl_.status_; - _impl_.status_ = 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 ::beeremote::Job_Status* Job::unsafe_arena_release_status() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.Job.status) - - _impl_._has_bits_[0] &= ~0x00000004u; - ::beeremote::Job_Status* temp = _impl_.status_; - _impl_.status_ = nullptr; - return temp; -} -inline ::beeremote::Job_Status* Job::_internal_mutable_status() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.status_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::Job_Status>(GetArena()); - _impl_.status_ = reinterpret_cast<::beeremote::Job_Status*>(p); - } - return _impl_.status_; -} -inline ::beeremote::Job_Status* Job::mutable_status() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000004u; - ::beeremote::Job_Status* _msg = _internal_mutable_status(); - // @@protoc_insertion_point(field_mutable:beeremote.Job.status) - return _msg; -} -inline void Job::set_allocated_status(::beeremote::Job_Status* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.status_); - } - - 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_.status_ = reinterpret_cast<::beeremote::Job_Status*>(value); - // @@protoc_insertion_point(field_set_allocated:beeremote.Job.status) -} - -// string external_id = 5; -inline void Job::clear_external_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.ClearToEmpty(); -} -inline const std::string& Job::external_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.Job.external_id) - return _internal_external_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void Job::set_external_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.Job.external_id) -} -inline std::string* Job::mutable_external_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_external_id(); - // @@protoc_insertion_point(field_mutable:beeremote.Job.external_id) - return _s; -} -inline const std::string& Job::_internal_external_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.external_id_.Get(); -} -inline void Job::_internal_set_external_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.Set(value, GetArena()); -} -inline std::string* Job::_internal_mutable_external_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.external_id_.Mutable( GetArena()); -} -inline std::string* Job::release_external_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.Job.external_id) - return _impl_.external_id_.Release(); -} -inline void Job::set_allocated_external_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.external_id_.IsDefault()) { - _impl_.external_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.Job.external_id) -} - -// optional .google.protobuf.Timestamp start_mtime = 6; -inline bool Job::has_start_mtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.start_mtime_ != nullptr); - return value; -} -inline const ::google::protobuf::Timestamp& Job::_internal_start_mtime() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::google::protobuf::Timestamp* p = _impl_.start_mtime_; - return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); -} -inline const ::google::protobuf::Timestamp& Job::start_mtime() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.Job.start_mtime) - return _internal_start_mtime(); -} -inline void Job::unsafe_arena_set_allocated_start_mtime(::google::protobuf::Timestamp* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.start_mtime_); - } - _impl_.start_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.Job.start_mtime) -} -inline ::google::protobuf::Timestamp* Job::release_start_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000008u; - ::google::protobuf::Timestamp* released = _impl_.start_mtime_; - _impl_.start_mtime_ = 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* Job::unsafe_arena_release_start_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.Job.start_mtime) - - _impl_._has_bits_[0] &= ~0x00000008u; - ::google::protobuf::Timestamp* temp = _impl_.start_mtime_; - _impl_.start_mtime_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* Job::_internal_mutable_start_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.start_mtime_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); - _impl_.start_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); - } - return _impl_.start_mtime_; -} -inline ::google::protobuf::Timestamp* Job::mutable_start_mtime() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000008u; - ::google::protobuf::Timestamp* _msg = _internal_mutable_start_mtime(); - // @@protoc_insertion_point(field_mutable:beeremote.Job.start_mtime) - return _msg; -} -inline void Job::set_allocated_start_mtime(::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_.start_mtime_); - } - - 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_.start_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - // @@protoc_insertion_point(field_set_allocated:beeremote.Job.start_mtime) -} - -// optional .google.protobuf.Timestamp stop_mtime = 7; -inline bool Job::has_stop_mtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - PROTOBUF_ASSUME(!value || _impl_.stop_mtime_ != nullptr); - return value; -} -inline const ::google::protobuf::Timestamp& Job::_internal_stop_mtime() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::google::protobuf::Timestamp* p = _impl_.stop_mtime_; - return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); -} -inline const ::google::protobuf::Timestamp& Job::stop_mtime() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.Job.stop_mtime) - return _internal_stop_mtime(); -} -inline void Job::unsafe_arena_set_allocated_stop_mtime(::google::protobuf::Timestamp* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.stop_mtime_); - } - _impl_.stop_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.Job.stop_mtime) -} -inline ::google::protobuf::Timestamp* Job::release_stop_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000010u; - ::google::protobuf::Timestamp* released = _impl_.stop_mtime_; - _impl_.stop_mtime_ = 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* Job::unsafe_arena_release_stop_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.Job.stop_mtime) - - _impl_._has_bits_[0] &= ~0x00000010u; - ::google::protobuf::Timestamp* temp = _impl_.stop_mtime_; - _impl_.stop_mtime_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* Job::_internal_mutable_stop_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.stop_mtime_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); - _impl_.stop_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); - } - return _impl_.stop_mtime_; -} -inline ::google::protobuf::Timestamp* Job::mutable_stop_mtime() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000010u; - ::google::protobuf::Timestamp* _msg = _internal_mutable_stop_mtime(); - // @@protoc_insertion_point(field_mutable:beeremote.Job.stop_mtime) - return _msg; -} -inline void Job::set_allocated_stop_mtime(::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_.stop_mtime_); - } - - 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] |= 0x00000010u; - } else { - _impl_._has_bits_[0] &= ~0x00000010u; - } - - _impl_.stop_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - // @@protoc_insertion_point(field_set_allocated:beeremote.Job.stop_mtime) -} - -// ------------------------------------------------------------------- - -// JobResult_WorkResult - -// .flex.Work work = 1; -inline bool JobResult_WorkResult::has_work() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.work_ != nullptr); - return value; -} -inline const ::flex::Work& JobResult_WorkResult::_internal_work() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::Work* p = _impl_.work_; - return p != nullptr ? *p : reinterpret_cast(::flex::_Work_default_instance_); -} -inline const ::flex::Work& JobResult_WorkResult::work() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.JobResult.WorkResult.work) - return _internal_work(); -} -inline void JobResult_WorkResult::unsafe_arena_set_allocated_work(::flex::Work* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); - } - _impl_.work_ = reinterpret_cast<::flex::Work*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.JobResult.WorkResult.work) -} -inline ::flex::Work* JobResult_WorkResult::release_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::Work* released = _impl_.work_; - _impl_.work_ = 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 ::flex::Work* JobResult_WorkResult::unsafe_arena_release_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.JobResult.WorkResult.work) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::Work* temp = _impl_.work_; - _impl_.work_ = nullptr; - return temp; -} -inline ::flex::Work* JobResult_WorkResult::_internal_mutable_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.work_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work>(GetArena()); - _impl_.work_ = reinterpret_cast<::flex::Work*>(p); - } - return _impl_.work_; -} -inline ::flex::Work* JobResult_WorkResult::mutable_work() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::Work* _msg = _internal_mutable_work(); - // @@protoc_insertion_point(field_mutable:beeremote.JobResult.WorkResult.work) - return _msg; -} -inline void JobResult_WorkResult::set_allocated_work(::flex::Work* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); - } - - 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_.work_ = reinterpret_cast<::flex::Work*>(value); - // @@protoc_insertion_point(field_set_allocated:beeremote.JobResult.WorkResult.work) -} - -// string assigned_node = 2; -inline void JobResult_WorkResult::clear_assigned_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.assigned_node_.ClearToEmpty(); -} -inline const std::string& JobResult_WorkResult::assigned_node() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.JobResult.WorkResult.assigned_node) - return _internal_assigned_node(); -} -template -inline PROTOBUF_ALWAYS_INLINE void JobResult_WorkResult::set_assigned_node(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.assigned_node_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.JobResult.WorkResult.assigned_node) -} -inline std::string* JobResult_WorkResult::mutable_assigned_node() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_assigned_node(); - // @@protoc_insertion_point(field_mutable:beeremote.JobResult.WorkResult.assigned_node) - return _s; -} -inline const std::string& JobResult_WorkResult::_internal_assigned_node() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.assigned_node_.Get(); -} -inline void JobResult_WorkResult::_internal_set_assigned_node(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.assigned_node_.Set(value, GetArena()); -} -inline std::string* JobResult_WorkResult::_internal_mutable_assigned_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.assigned_node_.Mutable( GetArena()); -} -inline std::string* JobResult_WorkResult::release_assigned_node() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.JobResult.WorkResult.assigned_node) - return _impl_.assigned_node_.Release(); -} -inline void JobResult_WorkResult::set_allocated_assigned_node(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.assigned_node_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.assigned_node_.IsDefault()) { - _impl_.assigned_node_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.JobResult.WorkResult.assigned_node) -} - -// string assigned_pool = 3; -inline void JobResult_WorkResult::clear_assigned_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.assigned_pool_.ClearToEmpty(); -} -inline const std::string& JobResult_WorkResult::assigned_pool() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.JobResult.WorkResult.assigned_pool) - return _internal_assigned_pool(); -} -template -inline PROTOBUF_ALWAYS_INLINE void JobResult_WorkResult::set_assigned_pool(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.assigned_pool_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.JobResult.WorkResult.assigned_pool) -} -inline std::string* JobResult_WorkResult::mutable_assigned_pool() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_assigned_pool(); - // @@protoc_insertion_point(field_mutable:beeremote.JobResult.WorkResult.assigned_pool) - return _s; -} -inline const std::string& JobResult_WorkResult::_internal_assigned_pool() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.assigned_pool_.Get(); -} -inline void JobResult_WorkResult::_internal_set_assigned_pool(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.assigned_pool_.Set(value, GetArena()); -} -inline std::string* JobResult_WorkResult::_internal_mutable_assigned_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.assigned_pool_.Mutable( GetArena()); -} -inline std::string* JobResult_WorkResult::release_assigned_pool() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.JobResult.WorkResult.assigned_pool) - return _impl_.assigned_pool_.Release(); -} -inline void JobResult_WorkResult::set_allocated_assigned_pool(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.assigned_pool_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.assigned_pool_.IsDefault()) { - _impl_.assigned_pool_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.JobResult.WorkResult.assigned_pool) -} - -// ------------------------------------------------------------------- - -// JobResult - -// .beeremote.Job job = 1; -inline bool JobResult::has_job() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.job_ != nullptr); - return value; -} -inline void JobResult::clear_job() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.job_ != nullptr) _impl_.job_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::beeremote::Job& JobResult::_internal_job() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beeremote::Job* p = _impl_.job_; - return p != nullptr ? *p : reinterpret_cast(::beeremote::_Job_default_instance_); -} -inline const ::beeremote::Job& JobResult::job() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.JobResult.job) - return _internal_job(); -} -inline void JobResult::unsafe_arena_set_allocated_job(::beeremote::Job* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.job_); - } - _impl_.job_ = reinterpret_cast<::beeremote::Job*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.JobResult.job) -} -inline ::beeremote::Job* JobResult::release_job() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beeremote::Job* released = _impl_.job_; - _impl_.job_ = 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 ::beeremote::Job* JobResult::unsafe_arena_release_job() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.JobResult.job) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beeremote::Job* temp = _impl_.job_; - _impl_.job_ = nullptr; - return temp; -} -inline ::beeremote::Job* JobResult::_internal_mutable_job() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.job_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::Job>(GetArena()); - _impl_.job_ = reinterpret_cast<::beeremote::Job*>(p); - } - return _impl_.job_; -} -inline ::beeremote::Job* JobResult::mutable_job() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beeremote::Job* _msg = _internal_mutable_job(); - // @@protoc_insertion_point(field_mutable:beeremote.JobResult.job) - return _msg; -} -inline void JobResult::set_allocated_job(::beeremote::Job* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.job_); - } - - 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_.job_ = reinterpret_cast<::beeremote::Job*>(value); - // @@protoc_insertion_point(field_set_allocated:beeremote.JobResult.job) -} - -// repeated .flex.WorkRequest work_requests = 2; -inline int JobResult::_internal_work_requests_size() const { - return _internal_work_requests().size(); -} -inline int JobResult::work_requests_size() const { - return _internal_work_requests_size(); -} -inline ::flex::WorkRequest* JobResult::mutable_work_requests(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:beeremote.JobResult.work_requests) - return _internal_mutable_work_requests()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>* JobResult::mutable_work_requests() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:beeremote.JobResult.work_requests) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_work_requests(); -} -inline const ::flex::WorkRequest& JobResult::work_requests(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.JobResult.work_requests) - return _internal_work_requests().Get(index); -} -inline ::flex::WorkRequest* JobResult::add_work_requests() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::flex::WorkRequest* _add = _internal_mutable_work_requests()->Add(); - // @@protoc_insertion_point(field_add:beeremote.JobResult.work_requests) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>& JobResult::work_requests() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:beeremote.JobResult.work_requests) - return _internal_work_requests(); -} -inline const ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>& -JobResult::_internal_work_requests() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.work_requests_; -} -inline ::google::protobuf::RepeatedPtrField<::flex::WorkRequest>* -JobResult::_internal_mutable_work_requests() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.work_requests_; -} - -// repeated .beeremote.JobResult.WorkResult work_results = 3; -inline int JobResult::_internal_work_results_size() const { - return _internal_work_results().size(); -} -inline int JobResult::work_results_size() const { - return _internal_work_results_size(); -} -inline void JobResult::clear_work_results() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.work_results_.Clear(); -} -inline ::beeremote::JobResult_WorkResult* JobResult::mutable_work_results(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:beeremote.JobResult.work_results) - return _internal_mutable_work_results()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult_WorkResult>* JobResult::mutable_work_results() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:beeremote.JobResult.work_results) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_work_results(); -} -inline const ::beeremote::JobResult_WorkResult& JobResult::work_results(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.JobResult.work_results) - return _internal_work_results().Get(index); -} -inline ::beeremote::JobResult_WorkResult* JobResult::add_work_results() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::beeremote::JobResult_WorkResult* _add = _internal_mutable_work_results()->Add(); - // @@protoc_insertion_point(field_add:beeremote.JobResult.work_results) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult_WorkResult>& JobResult::work_results() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:beeremote.JobResult.work_results) - return _internal_work_results(); -} -inline const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult_WorkResult>& -JobResult::_internal_work_results() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.work_results_; -} -inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult_WorkResult>* -JobResult::_internal_mutable_work_results() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.work_results_; -} - -// ------------------------------------------------------------------- - -// UpdatePathsRequest - -// string path_prefix = 1; -inline void UpdatePathsRequest::clear_path_prefix() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_prefix_.ClearToEmpty(); -} -inline const std::string& UpdatePathsRequest::path_prefix() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.UpdatePathsRequest.path_prefix) - return _internal_path_prefix(); -} -template -inline PROTOBUF_ALWAYS_INLINE void UpdatePathsRequest::set_path_prefix(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_prefix_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.UpdatePathsRequest.path_prefix) -} -inline std::string* UpdatePathsRequest::mutable_path_prefix() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path_prefix(); - // @@protoc_insertion_point(field_mutable:beeremote.UpdatePathsRequest.path_prefix) - return _s; -} -inline const std::string& UpdatePathsRequest::_internal_path_prefix() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_prefix_.Get(); -} -inline void UpdatePathsRequest::_internal_set_path_prefix(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_prefix_.Set(value, GetArena()); -} -inline std::string* UpdatePathsRequest::_internal_mutable_path_prefix() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_prefix_.Mutable( GetArena()); -} -inline std::string* UpdatePathsRequest::release_path_prefix() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.UpdatePathsRequest.path_prefix) - return _impl_.path_prefix_.Release(); -} -inline void UpdatePathsRequest::set_allocated_path_prefix(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_prefix_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_prefix_.IsDefault()) { - _impl_.path_prefix_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.UpdatePathsRequest.path_prefix) -} - -// .beeremote.UpdateJobsRequest requested_update = 2; -inline bool UpdatePathsRequest::has_requested_update() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.requested_update_ != nullptr); - return value; -} -inline void UpdatePathsRequest::clear_requested_update() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.requested_update_ != nullptr) _impl_.requested_update_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::beeremote::UpdateJobsRequest& UpdatePathsRequest::_internal_requested_update() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beeremote::UpdateJobsRequest* p = _impl_.requested_update_; - return p != nullptr ? *p : reinterpret_cast(::beeremote::_UpdateJobsRequest_default_instance_); -} -inline const ::beeremote::UpdateJobsRequest& UpdatePathsRequest::requested_update() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.UpdatePathsRequest.requested_update) - return _internal_requested_update(); -} -inline void UpdatePathsRequest::unsafe_arena_set_allocated_requested_update(::beeremote::UpdateJobsRequest* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.requested_update_); - } - _impl_.requested_update_ = reinterpret_cast<::beeremote::UpdateJobsRequest*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.UpdatePathsRequest.requested_update) -} -inline ::beeremote::UpdateJobsRequest* UpdatePathsRequest::release_requested_update() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beeremote::UpdateJobsRequest* released = _impl_.requested_update_; - _impl_.requested_update_ = 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 ::beeremote::UpdateJobsRequest* UpdatePathsRequest::unsafe_arena_release_requested_update() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.UpdatePathsRequest.requested_update) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beeremote::UpdateJobsRequest* temp = _impl_.requested_update_; - _impl_.requested_update_ = nullptr; - return temp; -} -inline ::beeremote::UpdateJobsRequest* UpdatePathsRequest::_internal_mutable_requested_update() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.requested_update_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::UpdateJobsRequest>(GetArena()); - _impl_.requested_update_ = reinterpret_cast<::beeremote::UpdateJobsRequest*>(p); - } - return _impl_.requested_update_; -} -inline ::beeremote::UpdateJobsRequest* UpdatePathsRequest::mutable_requested_update() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beeremote::UpdateJobsRequest* _msg = _internal_mutable_requested_update(); - // @@protoc_insertion_point(field_mutable:beeremote.UpdatePathsRequest.requested_update) - return _msg; -} -inline void UpdatePathsRequest::set_allocated_requested_update(::beeremote::UpdateJobsRequest* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.requested_update_); - } - - 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_.requested_update_ = reinterpret_cast<::beeremote::UpdateJobsRequest*>(value); - // @@protoc_insertion_point(field_set_allocated:beeremote.UpdatePathsRequest.requested_update) -} - -// ------------------------------------------------------------------- - -// UpdatePathsResponse - -// string path = 1; -inline void UpdatePathsResponse::clear_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.ClearToEmpty(); -} -inline const std::string& UpdatePathsResponse::path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.UpdatePathsResponse.path) - return _internal_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void UpdatePathsResponse::set_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.UpdatePathsResponse.path) -} -inline std::string* UpdatePathsResponse::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:beeremote.UpdatePathsResponse.path) - return _s; -} -inline const std::string& UpdatePathsResponse::_internal_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_.Get(); -} -inline void UpdatePathsResponse::_internal_set_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(value, GetArena()); -} -inline std::string* UpdatePathsResponse::_internal_mutable_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_.Mutable( GetArena()); -} -inline std::string* UpdatePathsResponse::release_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.UpdatePathsResponse.path) - return _impl_.path_.Release(); -} -inline void UpdatePathsResponse::set_allocated_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { - _impl_.path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.UpdatePathsResponse.path) -} - -// .beeremote.UpdateJobsResponse update_result = 2; -inline bool UpdatePathsResponse::has_update_result() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.update_result_ != nullptr); - return value; -} -inline void UpdatePathsResponse::clear_update_result() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.update_result_ != nullptr) _impl_.update_result_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::beeremote::UpdateJobsResponse& UpdatePathsResponse::_internal_update_result() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::beeremote::UpdateJobsResponse* p = _impl_.update_result_; - return p != nullptr ? *p : reinterpret_cast(::beeremote::_UpdateJobsResponse_default_instance_); -} -inline const ::beeremote::UpdateJobsResponse& UpdatePathsResponse::update_result() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.UpdatePathsResponse.update_result) - return _internal_update_result(); -} -inline void UpdatePathsResponse::unsafe_arena_set_allocated_update_result(::beeremote::UpdateJobsResponse* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.update_result_); - } - _impl_.update_result_ = reinterpret_cast<::beeremote::UpdateJobsResponse*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.UpdatePathsResponse.update_result) -} -inline ::beeremote::UpdateJobsResponse* UpdatePathsResponse::release_update_result() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beeremote::UpdateJobsResponse* released = _impl_.update_result_; - _impl_.update_result_ = 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 ::beeremote::UpdateJobsResponse* UpdatePathsResponse::unsafe_arena_release_update_result() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.UpdatePathsResponse.update_result) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::beeremote::UpdateJobsResponse* temp = _impl_.update_result_; - _impl_.update_result_ = nullptr; - return temp; -} -inline ::beeremote::UpdateJobsResponse* UpdatePathsResponse::_internal_mutable_update_result() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.update_result_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::beeremote::UpdateJobsResponse>(GetArena()); - _impl_.update_result_ = reinterpret_cast<::beeremote::UpdateJobsResponse*>(p); - } - return _impl_.update_result_; -} -inline ::beeremote::UpdateJobsResponse* UpdatePathsResponse::mutable_update_result() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::beeremote::UpdateJobsResponse* _msg = _internal_mutable_update_result(); - // @@protoc_insertion_point(field_mutable:beeremote.UpdatePathsResponse.update_result) - return _msg; -} -inline void UpdatePathsResponse::set_allocated_update_result(::beeremote::UpdateJobsResponse* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.update_result_); - } - - 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_.update_result_ = reinterpret_cast<::beeremote::UpdateJobsResponse*>(value); - // @@protoc_insertion_point(field_set_allocated:beeremote.UpdatePathsResponse.update_result) -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// UpdateJobsRequest - -// string path = 1; -inline void UpdateJobsRequest::clear_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.ClearToEmpty(); -} -inline const std::string& UpdateJobsRequest::path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.UpdateJobsRequest.path) - return _internal_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void UpdateJobsRequest::set_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.UpdateJobsRequest.path) -} -inline std::string* UpdateJobsRequest::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:beeremote.UpdateJobsRequest.path) - return _s; -} -inline const std::string& UpdateJobsRequest::_internal_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_.Get(); -} -inline void UpdateJobsRequest::_internal_set_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(value, GetArena()); -} -inline std::string* UpdateJobsRequest::_internal_mutable_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_.Mutable( GetArena()); -} -inline std::string* UpdateJobsRequest::release_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.UpdateJobsRequest.path) - return _impl_.path_.Release(); -} -inline void UpdateJobsRequest::set_allocated_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { - _impl_.path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.UpdateJobsRequest.path) -} - -// optional string job_id = 2; -inline bool UpdateJobsRequest::has_job_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline void UpdateJobsRequest::clear_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& UpdateJobsRequest::job_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.UpdateJobsRequest.job_id) - return _internal_job_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void UpdateJobsRequest::set_job_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.job_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.UpdateJobsRequest.job_id) -} -inline std::string* UpdateJobsRequest::mutable_job_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_job_id(); - // @@protoc_insertion_point(field_mutable:beeremote.UpdateJobsRequest.job_id) - return _s; -} -inline const std::string& UpdateJobsRequest::_internal_job_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.job_id_.Get(); -} -inline void UpdateJobsRequest::_internal_set_job_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.job_id_.Set(value, GetArena()); -} -inline std::string* UpdateJobsRequest::_internal_mutable_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.job_id_.Mutable( GetArena()); -} -inline std::string* UpdateJobsRequest::release_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.UpdateJobsRequest.job_id) - if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* released = _impl_.job_id_.Release(); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { - _impl_.job_id_.Set("", GetArena()); - } - return released; -} -inline void UpdateJobsRequest::set_allocated_job_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.job_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.job_id_.IsDefault()) { - _impl_.job_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.UpdateJobsRequest.job_id) -} - -// map remote_targets = 3; -inline int UpdateJobsRequest::_internal_remote_targets_size() const { - return _internal_remote_targets().size(); -} -inline int UpdateJobsRequest::remote_targets_size() const { - return _internal_remote_targets_size(); -} -inline void UpdateJobsRequest::clear_remote_targets() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_targets_.Clear(); -} -inline const ::google::protobuf::Map<::uint32_t, bool>& UpdateJobsRequest::_internal_remote_targets() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.remote_targets_.GetMap(); -} -inline const ::google::protobuf::Map<::uint32_t, bool>& UpdateJobsRequest::remote_targets() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_map:beeremote.UpdateJobsRequest.remote_targets) - return _internal_remote_targets(); -} -inline ::google::protobuf::Map<::uint32_t, bool>* UpdateJobsRequest::_internal_mutable_remote_targets() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.remote_targets_.MutableMap(); -} -inline ::google::protobuf::Map<::uint32_t, bool>* UpdateJobsRequest::mutable_remote_targets() ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_map:beeremote.UpdateJobsRequest.remote_targets) - return _internal_mutable_remote_targets(); -} - -// .beeremote.UpdateJobsRequest.NewState new_state = 10; -inline void UpdateJobsRequest::clear_new_state() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.new_state_ = 0; -} -inline ::beeremote::UpdateJobsRequest_NewState UpdateJobsRequest::new_state() const { - // @@protoc_insertion_point(field_get:beeremote.UpdateJobsRequest.new_state) - return _internal_new_state(); -} -inline void UpdateJobsRequest::set_new_state(::beeremote::UpdateJobsRequest_NewState value) { - _internal_set_new_state(value); - // @@protoc_insertion_point(field_set:beeremote.UpdateJobsRequest.new_state) -} -inline ::beeremote::UpdateJobsRequest_NewState UpdateJobsRequest::_internal_new_state() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beeremote::UpdateJobsRequest_NewState>(_impl_.new_state_); -} -inline void UpdateJobsRequest::_internal_set_new_state(::beeremote::UpdateJobsRequest_NewState value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.new_state_ = value; -} - -// bool force_update = 4; -inline void UpdateJobsRequest::clear_force_update() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.force_update_ = false; -} -inline bool UpdateJobsRequest::force_update() const { - // @@protoc_insertion_point(field_get:beeremote.UpdateJobsRequest.force_update) - return _internal_force_update(); -} -inline void UpdateJobsRequest::set_force_update(bool value) { - _internal_set_force_update(value); - // @@protoc_insertion_point(field_set:beeremote.UpdateJobsRequest.force_update) -} -inline bool UpdateJobsRequest::_internal_force_update() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.force_update_; -} -inline void UpdateJobsRequest::_internal_set_force_update(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.force_update_ = value; -} - -// ------------------------------------------------------------------- - -// UpdateJobsResponse - -// bool ok = 1; -inline void UpdateJobsResponse::clear_ok() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.ok_ = false; -} -inline bool UpdateJobsResponse::ok() const { - // @@protoc_insertion_point(field_get:beeremote.UpdateJobsResponse.ok) - return _internal_ok(); -} -inline void UpdateJobsResponse::set_ok(bool value) { - _internal_set_ok(value); - // @@protoc_insertion_point(field_set:beeremote.UpdateJobsResponse.ok) -} -inline bool UpdateJobsResponse::_internal_ok() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.ok_; -} -inline void UpdateJobsResponse::_internal_set_ok(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.ok_ = value; -} - -// string message = 2; -inline void UpdateJobsResponse::clear_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.ClearToEmpty(); -} -inline const std::string& UpdateJobsResponse::message() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.UpdateJobsResponse.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE void UpdateJobsResponse::set_message(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.UpdateJobsResponse.message) -} -inline std::string* UpdateJobsResponse::mutable_message() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:beeremote.UpdateJobsResponse.message) - return _s; -} -inline const std::string& UpdateJobsResponse::_internal_message() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.message_.Get(); -} -inline void UpdateJobsResponse::_internal_set_message(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(value, GetArena()); -} -inline std::string* UpdateJobsResponse::_internal_mutable_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.message_.Mutable( GetArena()); -} -inline std::string* UpdateJobsResponse::release_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.UpdateJobsResponse.message) - return _impl_.message_.Release(); -} -inline void UpdateJobsResponse::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:beeremote.UpdateJobsResponse.message) -} - -// repeated .beeremote.JobResult results = 3; -inline int UpdateJobsResponse::_internal_results_size() const { - return _internal_results().size(); -} -inline int UpdateJobsResponse::results_size() const { - return _internal_results_size(); -} -inline void UpdateJobsResponse::clear_results() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.results_.Clear(); -} -inline ::beeremote::JobResult* UpdateJobsResponse::mutable_results(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:beeremote.UpdateJobsResponse.results) - return _internal_mutable_results()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* UpdateJobsResponse::mutable_results() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:beeremote.UpdateJobsResponse.results) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_results(); -} -inline const ::beeremote::JobResult& UpdateJobsResponse::results(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.UpdateJobsResponse.results) - return _internal_results().Get(index); -} -inline ::beeremote::JobResult* UpdateJobsResponse::add_results() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::beeremote::JobResult* _add = _internal_mutable_results()->Add(); - // @@protoc_insertion_point(field_add:beeremote.UpdateJobsResponse.results) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>& UpdateJobsResponse::results() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:beeremote.UpdateJobsResponse.results) - return _internal_results(); -} -inline const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>& -UpdateJobsResponse::_internal_results() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.results_; -} -inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* -UpdateJobsResponse::_internal_mutable_results() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.results_; -} - -// ------------------------------------------------------------------- - -// GetJobsRequest_QueryIdAndPath - -// string job_id = 1; -inline void GetJobsRequest_QueryIdAndPath::clear_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.ClearToEmpty(); -} -inline const std::string& GetJobsRequest_QueryIdAndPath::job_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.GetJobsRequest.QueryIdAndPath.job_id) - return _internal_job_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void GetJobsRequest_QueryIdAndPath::set_job_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.GetJobsRequest.QueryIdAndPath.job_id) -} -inline std::string* GetJobsRequest_QueryIdAndPath::mutable_job_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_job_id(); - // @@protoc_insertion_point(field_mutable:beeremote.GetJobsRequest.QueryIdAndPath.job_id) - return _s; -} -inline const std::string& GetJobsRequest_QueryIdAndPath::_internal_job_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.job_id_.Get(); -} -inline void GetJobsRequest_QueryIdAndPath::_internal_set_job_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.Set(value, GetArena()); -} -inline std::string* GetJobsRequest_QueryIdAndPath::_internal_mutable_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.job_id_.Mutable( GetArena()); -} -inline std::string* GetJobsRequest_QueryIdAndPath::release_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.GetJobsRequest.QueryIdAndPath.job_id) - return _impl_.job_id_.Release(); -} -inline void GetJobsRequest_QueryIdAndPath::set_allocated_job_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.job_id_.IsDefault()) { - _impl_.job_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.GetJobsRequest.QueryIdAndPath.job_id) -} - -// string path = 2; -inline void GetJobsRequest_QueryIdAndPath::clear_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.ClearToEmpty(); -} -inline const std::string& GetJobsRequest_QueryIdAndPath::path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.GetJobsRequest.QueryIdAndPath.path) - return _internal_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void GetJobsRequest_QueryIdAndPath::set_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.GetJobsRequest.QueryIdAndPath.path) -} -inline std::string* GetJobsRequest_QueryIdAndPath::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:beeremote.GetJobsRequest.QueryIdAndPath.path) - return _s; -} -inline const std::string& GetJobsRequest_QueryIdAndPath::_internal_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_.Get(); -} -inline void GetJobsRequest_QueryIdAndPath::_internal_set_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(value, GetArena()); -} -inline std::string* GetJobsRequest_QueryIdAndPath::_internal_mutable_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_.Mutable( GetArena()); -} -inline std::string* GetJobsRequest_QueryIdAndPath::release_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.GetJobsRequest.QueryIdAndPath.path) - return _impl_.path_.Release(); -} -inline void GetJobsRequest_QueryIdAndPath::set_allocated_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { - _impl_.path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.GetJobsRequest.QueryIdAndPath.path) -} - -// ------------------------------------------------------------------- - -// GetJobsRequest - -// .beeremote.GetJobsRequest.QueryIdAndPath by_job_id_and_path = 1; -inline bool GetJobsRequest::has_by_job_id_and_path() const { - return query_case() == kByJobIdAndPath; -} -inline bool GetJobsRequest::_internal_has_by_job_id_and_path() const { - return query_case() == kByJobIdAndPath; -} -inline void GetJobsRequest::set_has_by_job_id_and_path() { - _impl_._oneof_case_[0] = kByJobIdAndPath; -} -inline void GetJobsRequest::clear_by_job_id_and_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (query_case() == kByJobIdAndPath) { - if (GetArena() == nullptr) { - delete _impl_.query_.by_job_id_and_path_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.query_.by_job_id_and_path_); - } - clear_has_query(); - } -} -inline ::beeremote::GetJobsRequest_QueryIdAndPath* GetJobsRequest::release_by_job_id_and_path() { - // @@protoc_insertion_point(field_release:beeremote.GetJobsRequest.by_job_id_and_path) - if (query_case() == kByJobIdAndPath) { - clear_has_query(); - auto* temp = _impl_.query_.by_job_id_and_path_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.query_.by_job_id_and_path_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::beeremote::GetJobsRequest_QueryIdAndPath& GetJobsRequest::_internal_by_job_id_and_path() const { - return query_case() == kByJobIdAndPath ? *_impl_.query_.by_job_id_and_path_ : reinterpret_cast<::beeremote::GetJobsRequest_QueryIdAndPath&>(::beeremote::_GetJobsRequest_QueryIdAndPath_default_instance_); -} -inline const ::beeremote::GetJobsRequest_QueryIdAndPath& GetJobsRequest::by_job_id_and_path() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.GetJobsRequest.by_job_id_and_path) - return _internal_by_job_id_and_path(); -} -inline ::beeremote::GetJobsRequest_QueryIdAndPath* GetJobsRequest::unsafe_arena_release_by_job_id_and_path() { - // @@protoc_insertion_point(field_unsafe_arena_release:beeremote.GetJobsRequest.by_job_id_and_path) - if (query_case() == kByJobIdAndPath) { - clear_has_query(); - auto* temp = _impl_.query_.by_job_id_and_path_; - _impl_.query_.by_job_id_and_path_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void GetJobsRequest::unsafe_arena_set_allocated_by_job_id_and_path(::beeremote::GetJobsRequest_QueryIdAndPath* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_query(); - if (value) { - set_has_by_job_id_and_path(); - _impl_.query_.by_job_id_and_path_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.GetJobsRequest.by_job_id_and_path) -} -inline ::beeremote::GetJobsRequest_QueryIdAndPath* GetJobsRequest::_internal_mutable_by_job_id_and_path() { - if (query_case() != kByJobIdAndPath) { - clear_query(); - set_has_by_job_id_and_path(); - _impl_.query_.by_job_id_and_path_ = - ::google::protobuf::Message::DefaultConstruct<::beeremote::GetJobsRequest_QueryIdAndPath>(GetArena()); - } - return _impl_.query_.by_job_id_and_path_; -} -inline ::beeremote::GetJobsRequest_QueryIdAndPath* GetJobsRequest::mutable_by_job_id_and_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::beeremote::GetJobsRequest_QueryIdAndPath* _msg = _internal_mutable_by_job_id_and_path(); - // @@protoc_insertion_point(field_mutable:beeremote.GetJobsRequest.by_job_id_and_path) - return _msg; -} - -// string by_exact_path = 2; -inline bool GetJobsRequest::has_by_exact_path() const { - return query_case() == kByExactPath; -} -inline void GetJobsRequest::set_has_by_exact_path() { - _impl_._oneof_case_[0] = kByExactPath; -} -inline void GetJobsRequest::clear_by_exact_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (query_case() == kByExactPath) { - _impl_.query_.by_exact_path_.Destroy(); - clear_has_query(); - } -} -inline const std::string& GetJobsRequest::by_exact_path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.GetJobsRequest.by_exact_path) - return _internal_by_exact_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void GetJobsRequest::set_by_exact_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (query_case() != kByExactPath) { - clear_query(); - - set_has_by_exact_path(); - _impl_.query_.by_exact_path_.InitDefault(); - } - _impl_.query_.by_exact_path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.GetJobsRequest.by_exact_path) -} -inline std::string* GetJobsRequest::mutable_by_exact_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_by_exact_path(); - // @@protoc_insertion_point(field_mutable:beeremote.GetJobsRequest.by_exact_path) - return _s; -} -inline const std::string& GetJobsRequest::_internal_by_exact_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - if (query_case() != kByExactPath) { - return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); - } - return _impl_.query_.by_exact_path_.Get(); -} -inline void GetJobsRequest::_internal_set_by_exact_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (query_case() != kByExactPath) { - clear_query(); - - set_has_by_exact_path(); - _impl_.query_.by_exact_path_.InitDefault(); - } - _impl_.query_.by_exact_path_.Set(value, GetArena()); -} -inline std::string* GetJobsRequest::_internal_mutable_by_exact_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (query_case() != kByExactPath) { - clear_query(); - - set_has_by_exact_path(); - _impl_.query_.by_exact_path_.InitDefault(); - } - return _impl_.query_.by_exact_path_.Mutable( GetArena()); -} -inline std::string* GetJobsRequest::release_by_exact_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.GetJobsRequest.by_exact_path) - if (query_case() != kByExactPath) { - return nullptr; - } - clear_has_query(); - return _impl_.query_.by_exact_path_.Release(); -} -inline void GetJobsRequest::set_allocated_by_exact_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (has_query()) { - clear_query(); - } - if (value != nullptr) { - set_has_by_exact_path(); - _impl_.query_.by_exact_path_.InitAllocated(value, GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.GetJobsRequest.by_exact_path) -} - -// string by_path_prefix = 3; -inline bool GetJobsRequest::has_by_path_prefix() const { - return query_case() == kByPathPrefix; -} -inline void GetJobsRequest::set_has_by_path_prefix() { - _impl_._oneof_case_[0] = kByPathPrefix; -} -inline void GetJobsRequest::clear_by_path_prefix() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (query_case() == kByPathPrefix) { - _impl_.query_.by_path_prefix_.Destroy(); - clear_has_query(); - } -} -inline const std::string& GetJobsRequest::by_path_prefix() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.GetJobsRequest.by_path_prefix) - return _internal_by_path_prefix(); -} -template -inline PROTOBUF_ALWAYS_INLINE void GetJobsRequest::set_by_path_prefix(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (query_case() != kByPathPrefix) { - clear_query(); - - set_has_by_path_prefix(); - _impl_.query_.by_path_prefix_.InitDefault(); - } - _impl_.query_.by_path_prefix_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.GetJobsRequest.by_path_prefix) -} -inline std::string* GetJobsRequest::mutable_by_path_prefix() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_by_path_prefix(); - // @@protoc_insertion_point(field_mutable:beeremote.GetJobsRequest.by_path_prefix) - return _s; -} -inline const std::string& GetJobsRequest::_internal_by_path_prefix() const { - ::google::protobuf::internal::TSanRead(&_impl_); - if (query_case() != kByPathPrefix) { - return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); - } - return _impl_.query_.by_path_prefix_.Get(); -} -inline void GetJobsRequest::_internal_set_by_path_prefix(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (query_case() != kByPathPrefix) { - clear_query(); - - set_has_by_path_prefix(); - _impl_.query_.by_path_prefix_.InitDefault(); - } - _impl_.query_.by_path_prefix_.Set(value, GetArena()); -} -inline std::string* GetJobsRequest::_internal_mutable_by_path_prefix() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (query_case() != kByPathPrefix) { - clear_query(); - - set_has_by_path_prefix(); - _impl_.query_.by_path_prefix_.InitDefault(); - } - return _impl_.query_.by_path_prefix_.Mutable( GetArena()); -} -inline std::string* GetJobsRequest::release_by_path_prefix() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.GetJobsRequest.by_path_prefix) - if (query_case() != kByPathPrefix) { - return nullptr; - } - clear_has_query(); - return _impl_.query_.by_path_prefix_.Release(); -} -inline void GetJobsRequest::set_allocated_by_path_prefix(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (has_query()) { - clear_query(); - } - if (value != nullptr) { - set_has_by_path_prefix(); - _impl_.query_.by_path_prefix_.InitAllocated(value, GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.GetJobsRequest.by_path_prefix) -} - -// bool include_work_requests = 4; -inline void GetJobsRequest::clear_include_work_requests() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.include_work_requests_ = false; -} -inline bool GetJobsRequest::include_work_requests() const { - // @@protoc_insertion_point(field_get:beeremote.GetJobsRequest.include_work_requests) - return _internal_include_work_requests(); -} -inline void GetJobsRequest::set_include_work_requests(bool value) { - _internal_set_include_work_requests(value); - // @@protoc_insertion_point(field_set:beeremote.GetJobsRequest.include_work_requests) -} -inline bool GetJobsRequest::_internal_include_work_requests() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.include_work_requests_; -} -inline void GetJobsRequest::_internal_set_include_work_requests(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.include_work_requests_ = value; -} - -// bool include_work_results = 5; -inline void GetJobsRequest::clear_include_work_results() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.include_work_results_ = false; -} -inline bool GetJobsRequest::include_work_results() const { - // @@protoc_insertion_point(field_get:beeremote.GetJobsRequest.include_work_results) - return _internal_include_work_results(); -} -inline void GetJobsRequest::set_include_work_results(bool value) { - _internal_set_include_work_results(value); - // @@protoc_insertion_point(field_set:beeremote.GetJobsRequest.include_work_results) -} -inline bool GetJobsRequest::_internal_include_work_results() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.include_work_results_; -} -inline void GetJobsRequest::_internal_set_include_work_results(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.include_work_results_ = value; -} - -// bool update_work_results = 6; -inline void GetJobsRequest::clear_update_work_results() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.update_work_results_ = false; -} -inline bool GetJobsRequest::update_work_results() const { - // @@protoc_insertion_point(field_get:beeremote.GetJobsRequest.update_work_results) - return _internal_update_work_results(); -} -inline void GetJobsRequest::set_update_work_results(bool value) { - _internal_set_update_work_results(value); - // @@protoc_insertion_point(field_set:beeremote.GetJobsRequest.update_work_results) -} -inline bool GetJobsRequest::_internal_update_work_results() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.update_work_results_; -} -inline void GetJobsRequest::_internal_set_update_work_results(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.update_work_results_ = value; -} - -inline bool GetJobsRequest::has_query() const { - return query_case() != QUERY_NOT_SET; -} -inline void GetJobsRequest::clear_has_query() { - _impl_._oneof_case_[0] = QUERY_NOT_SET; -} -inline GetJobsRequest::QueryCase GetJobsRequest::query_case() const { - return GetJobsRequest::QueryCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// GetJobsResponse - -// string path = 1; -inline void GetJobsResponse::clear_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.ClearToEmpty(); -} -inline const std::string& GetJobsResponse::path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.GetJobsResponse.path) - return _internal_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void GetJobsResponse::set_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.GetJobsResponse.path) -} -inline std::string* GetJobsResponse::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:beeremote.GetJobsResponse.path) - return _s; -} -inline const std::string& GetJobsResponse::_internal_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_.Get(); -} -inline void GetJobsResponse::_internal_set_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(value, GetArena()); -} -inline std::string* GetJobsResponse::_internal_mutable_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_.Mutable( GetArena()); -} -inline std::string* GetJobsResponse::release_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.GetJobsResponse.path) - return _impl_.path_.Release(); -} -inline void GetJobsResponse::set_allocated_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { - _impl_.path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.GetJobsResponse.path) -} - -// repeated .beeremote.JobResult results = 2; -inline int GetJobsResponse::_internal_results_size() const { - return _internal_results().size(); -} -inline int GetJobsResponse::results_size() const { - return _internal_results_size(); -} -inline void GetJobsResponse::clear_results() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.results_.Clear(); -} -inline ::beeremote::JobResult* GetJobsResponse::mutable_results(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:beeremote.GetJobsResponse.results) - return _internal_mutable_results()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* GetJobsResponse::mutable_results() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:beeremote.GetJobsResponse.results) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_results(); -} -inline const ::beeremote::JobResult& GetJobsResponse::results(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.GetJobsResponse.results) - return _internal_results().Get(index); -} -inline ::beeremote::JobResult* GetJobsResponse::add_results() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::beeremote::JobResult* _add = _internal_mutable_results()->Add(); - // @@protoc_insertion_point(field_add:beeremote.GetJobsResponse.results) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>& GetJobsResponse::results() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:beeremote.GetJobsResponse.results) - return _internal_results(); -} -inline const ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>& -GetJobsResponse::_internal_results() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.results_; -} -inline ::google::protobuf::RepeatedPtrField<::beeremote::JobResult>* -GetJobsResponse::_internal_mutable_results() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.results_; -} - -// ------------------------------------------------------------------- - -// UpdateWorkRequest - -// .flex.Work work = 1; -inline bool UpdateWorkRequest::has_work() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.work_ != nullptr); - return value; -} -inline const ::flex::Work& UpdateWorkRequest::_internal_work() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::Work* p = _impl_.work_; - return p != nullptr ? *p : reinterpret_cast(::flex::_Work_default_instance_); -} -inline const ::flex::Work& UpdateWorkRequest::work() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.UpdateWorkRequest.work) - return _internal_work(); -} -inline void UpdateWorkRequest::unsafe_arena_set_allocated_work(::flex::Work* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); - } - _impl_.work_ = reinterpret_cast<::flex::Work*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beeremote.UpdateWorkRequest.work) -} -inline ::flex::Work* UpdateWorkRequest::release_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::Work* released = _impl_.work_; - _impl_.work_ = 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 ::flex::Work* UpdateWorkRequest::unsafe_arena_release_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.UpdateWorkRequest.work) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::Work* temp = _impl_.work_; - _impl_.work_ = nullptr; - return temp; -} -inline ::flex::Work* UpdateWorkRequest::_internal_mutable_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.work_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work>(GetArena()); - _impl_.work_ = reinterpret_cast<::flex::Work*>(p); - } - return _impl_.work_; -} -inline ::flex::Work* UpdateWorkRequest::mutable_work() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::Work* _msg = _internal_mutable_work(); - // @@protoc_insertion_point(field_mutable:beeremote.UpdateWorkRequest.work) - return _msg; -} -inline void UpdateWorkRequest::set_allocated_work(::flex::Work* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); - } - - 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_.work_ = reinterpret_cast<::flex::Work*>(value); - // @@protoc_insertion_point(field_set_allocated:beeremote.UpdateWorkRequest.work) -} - -// ------------------------------------------------------------------- - -// UpdateWorkResponse - -// ------------------------------------------------------------------- - -// GetRSTConfigRequest - -// ------------------------------------------------------------------- - -// GetRSTConfigResponse - -// repeated .flex.RemoteStorageTarget rsts = 1; -inline int GetRSTConfigResponse::_internal_rsts_size() const { - return _internal_rsts().size(); -} -inline int GetRSTConfigResponse::rsts_size() const { - return _internal_rsts_size(); -} -inline ::flex::RemoteStorageTarget* GetRSTConfigResponse::mutable_rsts(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:beeremote.GetRSTConfigResponse.rsts) - return _internal_mutable_rsts()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* GetRSTConfigResponse::mutable_rsts() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:beeremote.GetRSTConfigResponse.rsts) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_rsts(); -} -inline const ::flex::RemoteStorageTarget& GetRSTConfigResponse::rsts(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.GetRSTConfigResponse.rsts) - return _internal_rsts().Get(index); -} -inline ::flex::RemoteStorageTarget* GetRSTConfigResponse::add_rsts() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::flex::RemoteStorageTarget* _add = _internal_mutable_rsts()->Add(); - // @@protoc_insertion_point(field_add:beeremote.GetRSTConfigResponse.rsts) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>& GetRSTConfigResponse::rsts() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:beeremote.GetRSTConfigResponse.rsts) - return _internal_rsts(); -} -inline const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>& -GetRSTConfigResponse::_internal_rsts() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.rsts_; -} -inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* -GetRSTConfigResponse::_internal_mutable_rsts() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.rsts_; -} - -// ------------------------------------------------------------------- - -// GetStubContentsRequest - -// string path = 1; -inline void GetStubContentsRequest::clear_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.ClearToEmpty(); -} -inline const std::string& GetStubContentsRequest::path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.GetStubContentsRequest.path) - return _internal_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void GetStubContentsRequest::set_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.GetStubContentsRequest.path) -} -inline std::string* GetStubContentsRequest::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:beeremote.GetStubContentsRequest.path) - return _s; -} -inline const std::string& GetStubContentsRequest::_internal_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_.Get(); -} -inline void GetStubContentsRequest::_internal_set_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(value, GetArena()); -} -inline std::string* GetStubContentsRequest::_internal_mutable_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_.Mutable( GetArena()); -} -inline std::string* GetStubContentsRequest::release_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.GetStubContentsRequest.path) - return _impl_.path_.Release(); -} -inline void GetStubContentsRequest::set_allocated_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { - _impl_.path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.GetStubContentsRequest.path) -} - -// ------------------------------------------------------------------- - -// GetStubContentsResponse - -// optional uint32 rst_id = 1; -inline bool GetStubContentsResponse::has_rst_id() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void GetStubContentsResponse::clear_rst_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.rst_id_ = 0u; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::uint32_t GetStubContentsResponse::rst_id() const { - // @@protoc_insertion_point(field_get:beeremote.GetStubContentsResponse.rst_id) - return _internal_rst_id(); -} -inline void GetStubContentsResponse::set_rst_id(::uint32_t value) { - _internal_set_rst_id(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:beeremote.GetStubContentsResponse.rst_id) -} -inline ::uint32_t GetStubContentsResponse::_internal_rst_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.rst_id_; -} -inline void GetStubContentsResponse::_internal_set_rst_id(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.rst_id_ = value; -} - -// optional string url = 2; -inline bool GetStubContentsResponse::has_url() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline void GetStubContentsResponse::clear_url() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.url_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& GetStubContentsResponse::url() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beeremote.GetStubContentsResponse.url) - return _internal_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE void GetStubContentsResponse::set_url(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.url_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beeremote.GetStubContentsResponse.url) -} -inline std::string* GetStubContentsResponse::mutable_url() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_url(); - // @@protoc_insertion_point(field_mutable:beeremote.GetStubContentsResponse.url) - return _s; -} -inline const std::string& GetStubContentsResponse::_internal_url() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.url_.Get(); -} -inline void GetStubContentsResponse::_internal_set_url(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.url_.Set(value, GetArena()); -} -inline std::string* GetStubContentsResponse::_internal_mutable_url() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.url_.Mutable( GetArena()); -} -inline std::string* GetStubContentsResponse::release_url() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beeremote.GetStubContentsResponse.url) - if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* released = _impl_.url_.Release(); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { - _impl_.url_.Set("", GetArena()); - } - return released; -} -inline void GetStubContentsResponse::set_allocated_url(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.url_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.url_.IsDefault()) { - _impl_.url_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beeremote.GetStubContentsResponse.url) -} - -#ifdef __GNUC__ -#pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) -} // namespace beeremote - - -namespace google { -namespace protobuf { - -template <> -struct is_proto_enum<::beeremote::SubmitJobResponse_ResponseStatus> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::beeremote::SubmitJobResponse_ResponseStatus>() { - return ::beeremote::SubmitJobResponse_ResponseStatus_descriptor(); -} -template <> -struct is_proto_enum<::beeremote::JobRequest_GenerationStatus_State> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::beeremote::JobRequest_GenerationStatus_State>() { - return ::beeremote::JobRequest_GenerationStatus_State_descriptor(); -} -template <> -struct is_proto_enum<::beeremote::Job_State> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::beeremote::Job_State>() { - return ::beeremote::Job_State_descriptor(); -} -template <> -struct is_proto_enum<::beeremote::UpdateJobsRequest_NewState> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::beeremote::UpdateJobsRequest_NewState>() { - return ::beeremote::UpdateJobsRequest_NewState_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include "google/protobuf/port_undef.inc" - -#endif // beeremote_2eproto_2epb_2eh diff --git a/cpp/beewatch.pb.cc b/cpp/beewatch.pb.cc deleted file mode 100644 index 280df5e..0000000 --- a/cpp/beewatch.pb.cc +++ /dev/null @@ -1,1988 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: beewatch.proto -// Protobuf C++ Version: 5.29.2 - -#include "beewatch.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 beewatch { - -inline constexpr V2Event::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - entry_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - parent_entry_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - target_path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - target_parent_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - num_links_{::uint64_t{0u}}, - type_{static_cast< ::beewatch::V2Event_Type >(0)}, - msg_user_id_{0u}, - timestamp_{::int64_t{0}}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR V2Event::V2Event(::_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 V2EventDefaultTypeInternal { - PROTOBUF_CONSTEXPR V2EventDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~V2EventDefaultTypeInternal() {} - union { - V2Event _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 V2EventDefaultTypeInternal _V2Event_default_instance_; - -inline constexpr V1Event::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - entry_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - parent_entry_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - target_path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - target_parent_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - dropped_seq_{::uint64_t{0u}}, - missed_seq_{::uint64_t{0u}}, - type_{static_cast< ::beewatch::V1Event_Type >(0)}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR V1Event::V1Event(::_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 V1EventDefaultTypeInternal { - PROTOBUF_CONSTEXPR V1EventDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~V1EventDefaultTypeInternal() {} - union { - V1Event _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 V1EventDefaultTypeInternal _V1Event_default_instance_; - -inline constexpr Response::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : completed_seq_{::uint64_t{0u}}, - shutting_down_{false}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR Response::Response(::_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 ResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR ResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~ResponseDefaultTypeInternal() {} - union { - Response _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ResponseDefaultTypeInternal _Response_default_instance_; - -inline constexpr Event::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - seq_id_{::uint64_t{0u}}, - meta_id_{0u}, - meta_mirror_{0u}, - event_flags_{0u}, - event_data_{}, - _oneof_case_{} {} - -template -PROTOBUF_CONSTEXPR Event::Event(::_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 EventDefaultTypeInternal { - PROTOBUF_CONSTEXPR EventDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~EventDefaultTypeInternal() {} - union { - Event _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EventDefaultTypeInternal _Event_default_instance_; -} // namespace beewatch -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_beewatch_2eproto[2]; -static constexpr const ::_pb::ServiceDescriptor** - file_level_service_descriptors_beewatch_2eproto = nullptr; -const ::uint32_t - TableStruct_beewatch_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - PROTOBUF_FIELD_OFFSET(::beewatch::Event, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::beewatch::Event, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::beewatch::Event, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::beewatch::Event, _impl_.seq_id_), - PROTOBUF_FIELD_OFFSET(::beewatch::Event, _impl_.meta_id_), - PROTOBUF_FIELD_OFFSET(::beewatch::Event, _impl_.meta_mirror_), - PROTOBUF_FIELD_OFFSET(::beewatch::Event, _impl_.event_flags_), - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::beewatch::Event, _impl_.event_data_), - ~0u, - ~0u, - 0, - ~0u, - ~0u, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::beewatch::V1Event, _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(::beewatch::V1Event, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::beewatch::V1Event, _impl_.dropped_seq_), - PROTOBUF_FIELD_OFFSET(::beewatch::V1Event, _impl_.missed_seq_), - PROTOBUF_FIELD_OFFSET(::beewatch::V1Event, _impl_.path_), - PROTOBUF_FIELD_OFFSET(::beewatch::V1Event, _impl_.entry_id_), - PROTOBUF_FIELD_OFFSET(::beewatch::V1Event, _impl_.parent_entry_id_), - PROTOBUF_FIELD_OFFSET(::beewatch::V1Event, _impl_.target_path_), - PROTOBUF_FIELD_OFFSET(::beewatch::V1Event, _impl_.target_parent_id_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::beewatch::V2Event, _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(::beewatch::V2Event, _impl_.type_), - PROTOBUF_FIELD_OFFSET(::beewatch::V2Event, _impl_.num_links_), - PROTOBUF_FIELD_OFFSET(::beewatch::V2Event, _impl_.path_), - PROTOBUF_FIELD_OFFSET(::beewatch::V2Event, _impl_.entry_id_), - PROTOBUF_FIELD_OFFSET(::beewatch::V2Event, _impl_.parent_entry_id_), - PROTOBUF_FIELD_OFFSET(::beewatch::V2Event, _impl_.target_path_), - PROTOBUF_FIELD_OFFSET(::beewatch::V2Event, _impl_.target_parent_id_), - PROTOBUF_FIELD_OFFSET(::beewatch::V2Event, _impl_.msg_user_id_), - PROTOBUF_FIELD_OFFSET(::beewatch::V2Event, _impl_.timestamp_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::beewatch::Response, _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(::beewatch::Response, _impl_.completed_seq_), - PROTOBUF_FIELD_OFFSET(::beewatch::Response, _impl_.shutting_down_), -}; - -static const ::_pbi::MigrationSchema - schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - {0, 15, -1, sizeof(::beewatch::Event)}, - {21, -1, -1, sizeof(::beewatch::V1Event)}, - {37, -1, -1, sizeof(::beewatch::V2Event)}, - {54, -1, -1, sizeof(::beewatch::Response)}, -}; -static const ::_pb::Message* const file_default_instances[] = { - &::beewatch::_Event_default_instance_._instance, - &::beewatch::_V1Event_default_instance_._instance, - &::beewatch::_V2Event_default_instance_._instance, - &::beewatch::_Response_default_instance_._instance, -}; -const char descriptor_table_protodef_beewatch_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - "\n\016beewatch.proto\022\010beewatch\"\267\001\n\005Event\022\016\n\006" - "seq_id\030\001 \001(\004\022\017\n\007meta_id\030\002 \001(\r\022\030\n\013meta_mi" - "rror\030\003 \001(\rH\001\210\001\001\022\023\n\013event_flags\030\004 \001(\r\022\037\n\002" - "v1\030\013 \001(\0132\021.beewatch.V1EventH\000\022\037\n\002v2\030\014 \001(" - "\0132\021.beewatch.V2EventH\000B\014\n\nevent_dataB\016\n\014" - "_meta_mirror\"\352\002\n\007V1Event\022$\n\004type\030\001 \001(\0162\026" - ".beewatch.V1Event.Type\022\023\n\013dropped_seq\030\002 " - "\001(\004\022\022\n\nmissed_seq\030\003 \001(\004\022\014\n\004path\030\004 \001(\t\022\020\n" - "\010entry_id\030\005 \001(\t\022\027\n\017parent_entry_id\030\006 \001(\t" - "\022\023\n\013target_path\030\007 \001(\t\022\030\n\020target_parent_i" - "d\030\010 \001(\t\"\247\001\n\004Type\022\t\n\005FLUSH\020\000\022\014\n\010TRUNCATE\020" - "\001\022\013\n\007SETATTR\020\002\022\017\n\013CLOSE_WRITE\020\003\022\n\n\006CREAT" - "E\020\004\022\t\n\005MKDIR\020\005\022\t\n\005MKNOD\020\006\022\013\n\007SYMLINK\020\007\022\t" - "\n\005RMDIR\020\010\022\n\n\006UNLINK\020\t\022\014\n\010HARDLINK\020\n\022\n\n\006R" - "ENAME\020\013\022\010\n\004READ\020\014\"\213\004\n\007V2Event\022$\n\004type\030\001 " - "\001(\0162\026.beewatch.V2Event.Type\022\021\n\tnum_links" - "\030\002 \001(\004\022\014\n\004path\030\003 \001(\t\022\020\n\010entry_id\030\004 \001(\t\022\027" - "\n\017parent_entry_id\030\005 \001(\t\022\023\n\013target_path\030\006" - " \001(\t\022\030\n\020target_parent_id\030\007 \001(\t\022\023\n\013msg_us" - "er_id\030\010 \001(\r\022\021\n\ttimestamp\030\t \001(\003\"\266\002\n\004Type\022" - "\013\n\007INVALID\020\000\022\t\n\005FLUSH\020\001\022\014\n\010TRUNCATE\020\002\022\013\n" - "\007SETATTR\020\003\022\017\n\013CLOSE_WRITE\020\004\022\n\n\006CREATE\020\005\022" - "\t\n\005MKDIR\020\006\022\t\n\005MKNOD\020\007\022\013\n\007SYMLINK\020\010\022\t\n\005RM" - "DIR\020\t\022\n\n\006UNLINK\020\n\022\014\n\010HARDLINK\020\013\022\n\n\006RENAM" - "E\020\014\022\r\n\tOPEN_READ\020\r\022\016\n\nOPEN_WRITE\020\016\022\023\n\017OP" - "EN_READ_WRITE\020\017\022\026\n\022LAST_WRITER_CLOSED\020\020\022" - "\020\n\014OPEN_BLOCKED\020\021\022\032\n\026STRIPE_PATTERN_CHAN" - "GED\020\022\022\020\n\014INODE_LOCKED\020\023\"8\n\010Response\022\025\n\rc" - "ompleted_seq\030\001 \001(\004\022\025\n\rshutting_down\030\002 \001(" - "\0102F\n\nSubscriber\0228\n\rReceiveEvents\022\017.beewa" - "tch.Event\032\022.beewatch.Response(\0010\001B+Z)git" - "hub.com/thinkparq/protobuf/go/beewatchb\006" - "proto3" -}; -static ::absl::once_flag descriptor_table_beewatch_2eproto_once; -PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_beewatch_2eproto = { - false, - false, - 1286, - descriptor_table_protodef_beewatch_2eproto, - "beewatch.proto", - &descriptor_table_beewatch_2eproto_once, - nullptr, - 0, - 4, - schemas, - file_default_instances, - TableStruct_beewatch_2eproto::offsets, - file_level_enum_descriptors_beewatch_2eproto, - file_level_service_descriptors_beewatch_2eproto, -}; -namespace beewatch { -const ::google::protobuf::EnumDescriptor* V1Event_Type_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beewatch_2eproto); - return file_level_enum_descriptors_beewatch_2eproto[0]; -} -PROTOBUF_CONSTINIT const uint32_t V1Event_Type_internal_data_[] = { - 851968u, 0u, }; -bool V1Event_Type_IsValid(int value) { - return 0 <= value && value <= 12; -} -#if (__cplusplus < 201703) && \ - (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -constexpr V1Event_Type V1Event::FLUSH; -constexpr V1Event_Type V1Event::TRUNCATE; -constexpr V1Event_Type V1Event::SETATTR; -constexpr V1Event_Type V1Event::CLOSE_WRITE; -constexpr V1Event_Type V1Event::CREATE; -constexpr V1Event_Type V1Event::MKDIR; -constexpr V1Event_Type V1Event::MKNOD; -constexpr V1Event_Type V1Event::SYMLINK; -constexpr V1Event_Type V1Event::RMDIR; -constexpr V1Event_Type V1Event::UNLINK; -constexpr V1Event_Type V1Event::HARDLINK; -constexpr V1Event_Type V1Event::RENAME; -constexpr V1Event_Type V1Event::READ; -constexpr V1Event_Type V1Event::Type_MIN; -constexpr V1Event_Type V1Event::Type_MAX; -constexpr int V1Event::Type_ARRAYSIZE; - -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* V2Event_Type_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_beewatch_2eproto); - return file_level_enum_descriptors_beewatch_2eproto[1]; -} -PROTOBUF_CONSTINIT const uint32_t V2Event_Type_internal_data_[] = { - 1310720u, 0u, }; -bool V2Event_Type_IsValid(int value) { - return 0 <= value && value <= 19; -} -#if (__cplusplus < 201703) && \ - (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -constexpr V2Event_Type V2Event::INVALID; -constexpr V2Event_Type V2Event::FLUSH; -constexpr V2Event_Type V2Event::TRUNCATE; -constexpr V2Event_Type V2Event::SETATTR; -constexpr V2Event_Type V2Event::CLOSE_WRITE; -constexpr V2Event_Type V2Event::CREATE; -constexpr V2Event_Type V2Event::MKDIR; -constexpr V2Event_Type V2Event::MKNOD; -constexpr V2Event_Type V2Event::SYMLINK; -constexpr V2Event_Type V2Event::RMDIR; -constexpr V2Event_Type V2Event::UNLINK; -constexpr V2Event_Type V2Event::HARDLINK; -constexpr V2Event_Type V2Event::RENAME; -constexpr V2Event_Type V2Event::OPEN_READ; -constexpr V2Event_Type V2Event::OPEN_WRITE; -constexpr V2Event_Type V2Event::OPEN_READ_WRITE; -constexpr V2Event_Type V2Event::LAST_WRITER_CLOSED; -constexpr V2Event_Type V2Event::OPEN_BLOCKED; -constexpr V2Event_Type V2Event::STRIPE_PATTERN_CHANGED; -constexpr V2Event_Type V2Event::INODE_LOCKED; -constexpr V2Event_Type V2Event::Type_MIN; -constexpr V2Event_Type V2Event::Type_MAX; -constexpr int V2Event::Type_ARRAYSIZE; - -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -// =================================================================== - -class Event::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(Event, _impl_._has_bits_); - static constexpr ::int32_t kOneofCaseOffset = - PROTOBUF_FIELD_OFFSET(::beewatch::Event, _impl_._oneof_case_); -}; - -void Event::set_allocated_v1(::beewatch::V1Event* v1) { - ::google::protobuf::Arena* message_arena = GetArena(); - clear_event_data(); - if (v1) { - ::google::protobuf::Arena* submessage_arena = v1->GetArena(); - if (message_arena != submessage_arena) { - v1 = ::google::protobuf::internal::GetOwnedMessage(message_arena, v1, submessage_arena); - } - set_has_v1(); - _impl_.event_data_.v1_ = v1; - } - // @@protoc_insertion_point(field_set_allocated:beewatch.Event.v1) -} -void Event::set_allocated_v2(::beewatch::V2Event* v2) { - ::google::protobuf::Arena* message_arena = GetArena(); - clear_event_data(); - if (v2) { - ::google::protobuf::Arena* submessage_arena = v2->GetArena(); - if (message_arena != submessage_arena) { - v2 = ::google::protobuf::internal::GetOwnedMessage(message_arena, v2, submessage_arena); - } - set_has_v2(); - _impl_.event_data_.v2_ = v2; - } - // @@protoc_insertion_point(field_set_allocated:beewatch.Event.v2) -} -Event::Event(::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:beewatch.Event) -} -inline PROTOBUF_NDEBUG_INLINE Event::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beewatch::Event& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - event_data_{}, - _oneof_case_{from._oneof_case_[0]} {} - -Event::Event( - ::google::protobuf::Arena* arena, - const Event& 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 - Event* 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_, seq_id_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, seq_id_), - offsetof(Impl_, event_flags_) - - offsetof(Impl_, seq_id_) + - sizeof(Impl_::event_flags_)); - switch (event_data_case()) { - case EVENT_DATA_NOT_SET: - break; - case kV1: - _impl_.event_data_.v1_ = ::google::protobuf::Message::CopyConstruct<::beewatch::V1Event>(arena, *from._impl_.event_data_.v1_); - break; - case kV2: - _impl_.event_data_.v2_ = ::google::protobuf::Message::CopyConstruct<::beewatch::V2Event>(arena, *from._impl_.event_data_.v2_); - break; - } - - // @@protoc_insertion_point(copy_constructor:beewatch.Event) -} -inline PROTOBUF_NDEBUG_INLINE Event::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - event_data_{}, - _oneof_case_{} {} - -inline void Event::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, seq_id_), - 0, - offsetof(Impl_, event_flags_) - - offsetof(Impl_, seq_id_) + - sizeof(Impl_::event_flags_)); -} -Event::~Event() { - // @@protoc_insertion_point(destructor:beewatch.Event) - SharedDtor(*this); -} -inline void Event::SharedDtor(MessageLite& self) { - Event& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - if (this_.has_event_data()) { - this_.clear_event_data(); - } - this_._impl_.~Impl_(); -} - -void Event::clear_event_data() { -// @@protoc_insertion_point(one_of_clear_start:beewatch.Event) - ::google::protobuf::internal::TSanWrite(&_impl_); - switch (event_data_case()) { - case kV1: { - if (GetArena() == nullptr) { - delete _impl_.event_data_.v1_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.event_data_.v1_); - } - break; - } - case kV2: { - if (GetArena() == nullptr) { - delete _impl_.event_data_.v2_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.event_data_.v2_); - } - break; - } - case EVENT_DATA_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = EVENT_DATA_NOT_SET; -} - - -inline void* Event::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) Event(arena); -} -constexpr auto Event::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Event), - alignof(Event)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull Event::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_Event_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &Event::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &Event::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &Event::ByteSizeLong, - &Event::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(Event, _impl_._cached_size_), - false, - }, - &Event::kDescriptorMethods, - &descriptor_table_beewatch_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* Event::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, 6, 2, 0, 2> Event::_table_ = { - { - PROTOBUF_FIELD_OFFSET(Event, _impl_._has_bits_), - 0, // no _extensions_ - 12, 24, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294964208, // skipmap - offsetof(decltype(_table_), field_entries), - 6, // 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<::beewatch::Event>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // uint32 event_flags = 4; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Event, _impl_.event_flags_), 63>(), - {32, 63, 0, PROTOBUF_FIELD_OFFSET(Event, _impl_.event_flags_)}}, - // uint64 seq_id = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Event, _impl_.seq_id_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(Event, _impl_.seq_id_)}}, - // uint32 meta_id = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Event, _impl_.meta_id_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(Event, _impl_.meta_id_)}}, - // optional uint32 meta_mirror = 3; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Event, _impl_.meta_mirror_), 0>(), - {24, 0, 0, PROTOBUF_FIELD_OFFSET(Event, _impl_.meta_mirror_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // uint64 seq_id = 1; - {PROTOBUF_FIELD_OFFSET(Event, _impl_.seq_id_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, - // uint32 meta_id = 2; - {PROTOBUF_FIELD_OFFSET(Event, _impl_.meta_id_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // optional uint32 meta_mirror = 3; - {PROTOBUF_FIELD_OFFSET(Event, _impl_.meta_mirror_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUInt32)}, - // uint32 event_flags = 4; - {PROTOBUF_FIELD_OFFSET(Event, _impl_.event_flags_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // .beewatch.V1Event v1 = 11; - {PROTOBUF_FIELD_OFFSET(Event, _impl_.event_data_.v1_), _Internal::kOneofCaseOffset + 0, 0, - (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, - // .beewatch.V2Event v2 = 12; - {PROTOBUF_FIELD_OFFSET(Event, _impl_.event_data_.v2_), _Internal::kOneofCaseOffset + 0, 1, - (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::beewatch::V1Event>()}, - {::_pbi::TcParser::GetTable<::beewatch::V2Event>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void Event::Clear() { -// @@protoc_insertion_point(message_clear_start:beewatch.Event) - ::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_.seq_id_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.meta_id_) - - reinterpret_cast(&_impl_.seq_id_)) + sizeof(_impl_.meta_id_)); - _impl_.meta_mirror_ = 0u; - _impl_.event_flags_ = 0u; - clear_event_data(); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* Event::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const Event& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* Event::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const Event& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beewatch.Event) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // uint64 seq_id = 1; - if (this_._internal_seq_id() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray( - 1, this_._internal_seq_id(), target); - } - - // uint32 meta_id = 2; - if (this_._internal_meta_id() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 2, this_._internal_meta_id(), target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional uint32 meta_mirror = 3; - if (cached_has_bits & 0x00000001u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 3, this_._internal_meta_mirror(), target); - } - - // uint32 event_flags = 4; - if (this_._internal_event_flags() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 4, this_._internal_event_flags(), target); - } - - switch (this_.event_data_case()) { - case kV1: { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 11, *this_._impl_.event_data_.v1_, this_._impl_.event_data_.v1_->GetCachedSize(), target, - stream); - break; - } - case kV2: { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 12, *this_._impl_.event_data_.v2_, this_._impl_.event_data_.v2_->GetCachedSize(), target, - stream); - break; - } - default: - break; - } - 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:beewatch.Event) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t Event::ByteSizeLong(const MessageLite& base) { - const Event& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t Event::ByteSizeLong() const { - const Event& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beewatch.Event) - ::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_); - { - // uint64 seq_id = 1; - if (this_._internal_seq_id() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( - this_._internal_seq_id()); - } - // uint32 meta_id = 2; - if (this_._internal_meta_id() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_meta_id()); - } - } - { - // optional uint32 meta_mirror = 3; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_meta_mirror()); - } - } - { - // uint32 event_flags = 4; - if (this_._internal_event_flags() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_event_flags()); - } - } - switch (this_.event_data_case()) { - // .beewatch.V1Event v1 = 11; - case kV1: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.event_data_.v1_); - break; - } - // .beewatch.V2Event v2 = 12; - case kV2: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.event_data_.v2_); - break; - } - case EVENT_DATA_NOT_SET: { - break; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void Event::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:beewatch.Event) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_seq_id() != 0) { - _this->_impl_.seq_id_ = from._impl_.seq_id_; - } - if (from._internal_meta_id() != 0) { - _this->_impl_.meta_id_ = from._impl_.meta_id_; - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - _this->_impl_.meta_mirror_ = from._impl_.meta_mirror_; - } - if (from._internal_event_flags() != 0) { - _this->_impl_.event_flags_ = from._impl_.event_flags_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { - const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; - const bool oneof_needs_init = oneof_to_case != oneof_from_case; - if (oneof_needs_init) { - if (oneof_to_case != 0) { - _this->clear_event_data(); - } - _this->_impl_._oneof_case_[0] = oneof_from_case; - } - - switch (oneof_from_case) { - case kV1: { - if (oneof_needs_init) { - _this->_impl_.event_data_.v1_ = - ::google::protobuf::Message::CopyConstruct<::beewatch::V1Event>(arena, *from._impl_.event_data_.v1_); - } else { - _this->_impl_.event_data_.v1_->MergeFrom(from._internal_v1()); - } - break; - } - case kV2: { - if (oneof_needs_init) { - _this->_impl_.event_data_.v2_ = - ::google::protobuf::Message::CopyConstruct<::beewatch::V2Event>(arena, *from._impl_.event_data_.v2_); - } else { - _this->_impl_.event_data_.v2_->MergeFrom(from._internal_v2()); - } - break; - } - case EVENT_DATA_NOT_SET: - break; - } - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void Event::CopyFrom(const Event& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beewatch.Event) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void Event::InternalSwap(Event* 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(Event, _impl_.event_flags_) - + sizeof(Event::_impl_.event_flags_) - - PROTOBUF_FIELD_OFFSET(Event, _impl_.seq_id_)>( - reinterpret_cast(&_impl_.seq_id_), - reinterpret_cast(&other->_impl_.seq_id_)); - swap(_impl_.event_data_, other->_impl_.event_data_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::google::protobuf::Metadata Event::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class V1Event::_Internal { - public: -}; - -V1Event::V1Event(::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:beewatch.V1Event) -} -inline PROTOBUF_NDEBUG_INLINE V1Event::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beewatch::V1Event& from_msg) - : path_(arena, from.path_), - entry_id_(arena, from.entry_id_), - parent_entry_id_(arena, from.parent_entry_id_), - target_path_(arena, from.target_path_), - target_parent_id_(arena, from.target_parent_id_), - _cached_size_{0} {} - -V1Event::V1Event( - ::google::protobuf::Arena* arena, - const V1Event& 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 - V1Event* 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_, dropped_seq_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, dropped_seq_), - offsetof(Impl_, type_) - - offsetof(Impl_, dropped_seq_) + - sizeof(Impl_::type_)); - - // @@protoc_insertion_point(copy_constructor:beewatch.V1Event) -} -inline PROTOBUF_NDEBUG_INLINE V1Event::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : path_(arena), - entry_id_(arena), - parent_entry_id_(arena), - target_path_(arena), - target_parent_id_(arena), - _cached_size_{0} {} - -inline void V1Event::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, dropped_seq_), - 0, - offsetof(Impl_, type_) - - offsetof(Impl_, dropped_seq_) + - sizeof(Impl_::type_)); -} -V1Event::~V1Event() { - // @@protoc_insertion_point(destructor:beewatch.V1Event) - SharedDtor(*this); -} -inline void V1Event::SharedDtor(MessageLite& self) { - V1Event& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.path_.Destroy(); - this_._impl_.entry_id_.Destroy(); - this_._impl_.parent_entry_id_.Destroy(); - this_._impl_.target_path_.Destroy(); - this_._impl_.target_parent_id_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* V1Event::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) V1Event(arena); -} -constexpr auto V1Event::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(V1Event), - alignof(V1Event)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull V1Event::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_V1Event_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &V1Event::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &V1Event::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &V1Event::ByteSizeLong, - &V1Event::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(V1Event, _impl_._cached_size_), - false, - }, - &V1Event::kDescriptorMethods, - &descriptor_table_beewatch_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* V1Event::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, 0, 87, 2> V1Event::_table_ = { - { - 0, // no _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 - 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<::beewatch::V1Event>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // string target_parent_id = 8; - {::_pbi::TcParser::FastUS1, - {66, 63, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.target_parent_id_)}}, - // .beewatch.V1Event.Type type = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(V1Event, _impl_.type_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.type_)}}, - // uint64 dropped_seq = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(V1Event, _impl_.dropped_seq_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.dropped_seq_)}}, - // uint64 missed_seq = 3; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(V1Event, _impl_.missed_seq_), 63>(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.missed_seq_)}}, - // string path = 4; - {::_pbi::TcParser::FastUS1, - {34, 63, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.path_)}}, - // string entry_id = 5; - {::_pbi::TcParser::FastUS1, - {42, 63, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.entry_id_)}}, - // string parent_entry_id = 6; - {::_pbi::TcParser::FastUS1, - {50, 63, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.parent_entry_id_)}}, - // string target_path = 7; - {::_pbi::TcParser::FastUS1, - {58, 63, 0, PROTOBUF_FIELD_OFFSET(V1Event, _impl_.target_path_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .beewatch.V1Event.Type type = 1; - {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.type_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // uint64 dropped_seq = 2; - {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.dropped_seq_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, - // uint64 missed_seq = 3; - {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.missed_seq_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, - // string path = 4; - {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.path_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string entry_id = 5; - {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.entry_id_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string parent_entry_id = 6; - {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.parent_entry_id_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string target_path = 7; - {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.target_path_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string target_parent_id = 8; - {PROTOBUF_FIELD_OFFSET(V1Event, _impl_.target_parent_id_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{ - "\20\0\0\0\4\10\17\13\20\0\0\0\0\0\0\0" - "beewatch.V1Event" - "path" - "entry_id" - "parent_entry_id" - "target_path" - "target_parent_id" - }}, -}; - -PROTOBUF_NOINLINE void V1Event::Clear() { -// @@protoc_insertion_point(message_clear_start:beewatch.V1Event) - ::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_.path_.ClearToEmpty(); - _impl_.entry_id_.ClearToEmpty(); - _impl_.parent_entry_id_.ClearToEmpty(); - _impl_.target_path_.ClearToEmpty(); - _impl_.target_parent_id_.ClearToEmpty(); - ::memset(&_impl_.dropped_seq_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.type_) - - reinterpret_cast(&_impl_.dropped_seq_)) + sizeof(_impl_.type_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* V1Event::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const V1Event& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* V1Event::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const V1Event& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beewatch.V1Event) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // .beewatch.V1Event.Type type = 1; - if (this_._internal_type() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this_._internal_type(), target); - } - - // uint64 dropped_seq = 2; - if (this_._internal_dropped_seq() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray( - 2, this_._internal_dropped_seq(), target); - } - - // uint64 missed_seq = 3; - if (this_._internal_missed_seq() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray( - 3, this_._internal_missed_seq(), target); - } - - // string path = 4; - if (!this_._internal_path().empty()) { - const std::string& _s = this_._internal_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beewatch.V1Event.path"); - target = stream->WriteStringMaybeAliased(4, _s, target); - } - - // string entry_id = 5; - if (!this_._internal_entry_id().empty()) { - const std::string& _s = this_._internal_entry_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beewatch.V1Event.entry_id"); - target = stream->WriteStringMaybeAliased(5, _s, target); - } - - // string parent_entry_id = 6; - if (!this_._internal_parent_entry_id().empty()) { - const std::string& _s = this_._internal_parent_entry_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beewatch.V1Event.parent_entry_id"); - target = stream->WriteStringMaybeAliased(6, _s, target); - } - - // string target_path = 7; - if (!this_._internal_target_path().empty()) { - const std::string& _s = this_._internal_target_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beewatch.V1Event.target_path"); - target = stream->WriteStringMaybeAliased(7, _s, target); - } - - // string target_parent_id = 8; - if (!this_._internal_target_parent_id().empty()) { - const std::string& _s = this_._internal_target_parent_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beewatch.V1Event.target_parent_id"); - target = stream->WriteStringMaybeAliased(8, _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:beewatch.V1Event) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t V1Event::ByteSizeLong(const MessageLite& base) { - const V1Event& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t V1Event::ByteSizeLong() const { - const V1Event& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beewatch.V1Event) - ::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 path = 4; - if (!this_._internal_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_path()); - } - // string entry_id = 5; - if (!this_._internal_entry_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_entry_id()); - } - // string parent_entry_id = 6; - if (!this_._internal_parent_entry_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_parent_entry_id()); - } - // string target_path = 7; - if (!this_._internal_target_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_target_path()); - } - // string target_parent_id = 8; - if (!this_._internal_target_parent_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_target_parent_id()); - } - // uint64 dropped_seq = 2; - if (this_._internal_dropped_seq() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( - this_._internal_dropped_seq()); - } - // uint64 missed_seq = 3; - if (this_._internal_missed_seq() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( - this_._internal_missed_seq()); - } - // .beewatch.V1Event.Type type = 1; - if (this_._internal_type() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void V1Event::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:beewatch.V1Event) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_path().empty()) { - _this->_internal_set_path(from._internal_path()); - } - if (!from._internal_entry_id().empty()) { - _this->_internal_set_entry_id(from._internal_entry_id()); - } - if (!from._internal_parent_entry_id().empty()) { - _this->_internal_set_parent_entry_id(from._internal_parent_entry_id()); - } - if (!from._internal_target_path().empty()) { - _this->_internal_set_target_path(from._internal_target_path()); - } - if (!from._internal_target_parent_id().empty()) { - _this->_internal_set_target_parent_id(from._internal_target_parent_id()); - } - if (from._internal_dropped_seq() != 0) { - _this->_impl_.dropped_seq_ = from._impl_.dropped_seq_; - } - if (from._internal_missed_seq() != 0) { - _this->_impl_.missed_seq_ = from._impl_.missed_seq_; - } - if (from._internal_type() != 0) { - _this->_impl_.type_ = from._impl_.type_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void V1Event::CopyFrom(const V1Event& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beewatch.V1Event) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void V1Event::InternalSwap(V1Event* 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_.path_, &other->_impl_.path_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.entry_id_, &other->_impl_.entry_id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.parent_entry_id_, &other->_impl_.parent_entry_id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.target_path_, &other->_impl_.target_path_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.target_parent_id_, &other->_impl_.target_parent_id_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(V1Event, _impl_.type_) - + sizeof(V1Event::_impl_.type_) - - PROTOBUF_FIELD_OFFSET(V1Event, _impl_.dropped_seq_)>( - reinterpret_cast(&_impl_.dropped_seq_), - reinterpret_cast(&other->_impl_.dropped_seq_)); -} - -::google::protobuf::Metadata V1Event::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class V2Event::_Internal { - public: -}; - -V2Event::V2Event(::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:beewatch.V2Event) -} -inline PROTOBUF_NDEBUG_INLINE V2Event::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::beewatch::V2Event& from_msg) - : path_(arena, from.path_), - entry_id_(arena, from.entry_id_), - parent_entry_id_(arena, from.parent_entry_id_), - target_path_(arena, from.target_path_), - target_parent_id_(arena, from.target_parent_id_), - _cached_size_{0} {} - -V2Event::V2Event( - ::google::protobuf::Arena* arena, - const V2Event& 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 - V2Event* 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_, num_links_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, num_links_), - offsetof(Impl_, timestamp_) - - offsetof(Impl_, num_links_) + - sizeof(Impl_::timestamp_)); - - // @@protoc_insertion_point(copy_constructor:beewatch.V2Event) -} -inline PROTOBUF_NDEBUG_INLINE V2Event::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : path_(arena), - entry_id_(arena), - parent_entry_id_(arena), - target_path_(arena), - target_parent_id_(arena), - _cached_size_{0} {} - -inline void V2Event::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, num_links_), - 0, - offsetof(Impl_, timestamp_) - - offsetof(Impl_, num_links_) + - sizeof(Impl_::timestamp_)); -} -V2Event::~V2Event() { - // @@protoc_insertion_point(destructor:beewatch.V2Event) - SharedDtor(*this); -} -inline void V2Event::SharedDtor(MessageLite& self) { - V2Event& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.path_.Destroy(); - this_._impl_.entry_id_.Destroy(); - this_._impl_.parent_entry_id_.Destroy(); - this_._impl_.target_path_.Destroy(); - this_._impl_.target_parent_id_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* V2Event::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) V2Event(arena); -} -constexpr auto V2Event::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(V2Event), - alignof(V2Event)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull V2Event::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_V2Event_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &V2Event::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &V2Event::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &V2Event::ByteSizeLong, - &V2Event::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(V2Event, _impl_._cached_size_), - false, - }, - &V2Event::kDescriptorMethods, - &descriptor_table_beewatch_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* V2Event::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, 9, 0, 87, 2> V2Event::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 9, 120, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294966784, // skipmap - offsetof(decltype(_table_), field_entries), - 9, // 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<::beewatch::V2Event>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // .beewatch.V2Event.Type type = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(V2Event, _impl_.type_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.type_)}}, - // uint64 num_links = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(V2Event, _impl_.num_links_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.num_links_)}}, - // string path = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.path_)}}, - // string entry_id = 4; - {::_pbi::TcParser::FastUS1, - {34, 63, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.entry_id_)}}, - // string parent_entry_id = 5; - {::_pbi::TcParser::FastUS1, - {42, 63, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.parent_entry_id_)}}, - // string target_path = 6; - {::_pbi::TcParser::FastUS1, - {50, 63, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.target_path_)}}, - // string target_parent_id = 7; - {::_pbi::TcParser::FastUS1, - {58, 63, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.target_parent_id_)}}, - // uint32 msg_user_id = 8; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(V2Event, _impl_.msg_user_id_), 63>(), - {64, 63, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.msg_user_id_)}}, - // int64 timestamp = 9; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(V2Event, _impl_.timestamp_), 63>(), - {72, 63, 0, PROTOBUF_FIELD_OFFSET(V2Event, _impl_.timestamp_)}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // .beewatch.V2Event.Type type = 1; - {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.type_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // uint64 num_links = 2; - {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.num_links_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, - // string path = 3; - {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.path_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string entry_id = 4; - {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.entry_id_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string parent_entry_id = 5; - {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.parent_entry_id_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string target_path = 6; - {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.target_path_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string target_parent_id = 7; - {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.target_parent_id_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // uint32 msg_user_id = 8; - {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.msg_user_id_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // int64 timestamp = 9; - {PROTOBUF_FIELD_OFFSET(V2Event, _impl_.timestamp_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, - }}, - // no aux_entries - {{ - "\20\0\0\4\10\17\13\20\0\0\0\0\0\0\0\0" - "beewatch.V2Event" - "path" - "entry_id" - "parent_entry_id" - "target_path" - "target_parent_id" - }}, -}; - -PROTOBUF_NOINLINE void V2Event::Clear() { -// @@protoc_insertion_point(message_clear_start:beewatch.V2Event) - ::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_.path_.ClearToEmpty(); - _impl_.entry_id_.ClearToEmpty(); - _impl_.parent_entry_id_.ClearToEmpty(); - _impl_.target_path_.ClearToEmpty(); - _impl_.target_parent_id_.ClearToEmpty(); - ::memset(&_impl_.num_links_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.timestamp_) - - reinterpret_cast(&_impl_.num_links_)) + sizeof(_impl_.timestamp_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* V2Event::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const V2Event& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* V2Event::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const V2Event& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beewatch.V2Event) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // .beewatch.V2Event.Type type = 1; - if (this_._internal_type() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this_._internal_type(), target); - } - - // uint64 num_links = 2; - if (this_._internal_num_links() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray( - 2, this_._internal_num_links(), target); - } - - // string path = 3; - if (!this_._internal_path().empty()) { - const std::string& _s = this_._internal_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beewatch.V2Event.path"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - // string entry_id = 4; - if (!this_._internal_entry_id().empty()) { - const std::string& _s = this_._internal_entry_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beewatch.V2Event.entry_id"); - target = stream->WriteStringMaybeAliased(4, _s, target); - } - - // string parent_entry_id = 5; - if (!this_._internal_parent_entry_id().empty()) { - const std::string& _s = this_._internal_parent_entry_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beewatch.V2Event.parent_entry_id"); - target = stream->WriteStringMaybeAliased(5, _s, target); - } - - // string target_path = 6; - if (!this_._internal_target_path().empty()) { - const std::string& _s = this_._internal_target_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beewatch.V2Event.target_path"); - target = stream->WriteStringMaybeAliased(6, _s, target); - } - - // string target_parent_id = 7; - if (!this_._internal_target_parent_id().empty()) { - const std::string& _s = this_._internal_target_parent_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "beewatch.V2Event.target_parent_id"); - target = stream->WriteStringMaybeAliased(7, _s, target); - } - - // uint32 msg_user_id = 8; - if (this_._internal_msg_user_id() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 8, this_._internal_msg_user_id(), target); - } - - // int64 timestamp = 9; - if (this_._internal_timestamp() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<9>( - stream, this_._internal_timestamp(), 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:beewatch.V2Event) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t V2Event::ByteSizeLong(const MessageLite& base) { - const V2Event& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t V2Event::ByteSizeLong() const { - const V2Event& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beewatch.V2Event) - ::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 path = 3; - if (!this_._internal_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_path()); - } - // string entry_id = 4; - if (!this_._internal_entry_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_entry_id()); - } - // string parent_entry_id = 5; - if (!this_._internal_parent_entry_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_parent_entry_id()); - } - // string target_path = 6; - if (!this_._internal_target_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_target_path()); - } - // string target_parent_id = 7; - if (!this_._internal_target_parent_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_target_parent_id()); - } - // uint64 num_links = 2; - if (this_._internal_num_links() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( - this_._internal_num_links()); - } - // .beewatch.V2Event.Type type = 1; - if (this_._internal_type() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_type()); - } - // uint32 msg_user_id = 8; - if (this_._internal_msg_user_id() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_msg_user_id()); - } - // int64 timestamp = 9; - if (this_._internal_timestamp() != 0) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_timestamp()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void V2Event::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:beewatch.V2Event) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_path().empty()) { - _this->_internal_set_path(from._internal_path()); - } - if (!from._internal_entry_id().empty()) { - _this->_internal_set_entry_id(from._internal_entry_id()); - } - if (!from._internal_parent_entry_id().empty()) { - _this->_internal_set_parent_entry_id(from._internal_parent_entry_id()); - } - if (!from._internal_target_path().empty()) { - _this->_internal_set_target_path(from._internal_target_path()); - } - if (!from._internal_target_parent_id().empty()) { - _this->_internal_set_target_parent_id(from._internal_target_parent_id()); - } - if (from._internal_num_links() != 0) { - _this->_impl_.num_links_ = from._impl_.num_links_; - } - if (from._internal_type() != 0) { - _this->_impl_.type_ = from._impl_.type_; - } - if (from._internal_msg_user_id() != 0) { - _this->_impl_.msg_user_id_ = from._impl_.msg_user_id_; - } - if (from._internal_timestamp() != 0) { - _this->_impl_.timestamp_ = from._impl_.timestamp_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void V2Event::CopyFrom(const V2Event& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beewatch.V2Event) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void V2Event::InternalSwap(V2Event* 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_.path_, &other->_impl_.path_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.entry_id_, &other->_impl_.entry_id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.parent_entry_id_, &other->_impl_.parent_entry_id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.target_path_, &other->_impl_.target_path_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.target_parent_id_, &other->_impl_.target_parent_id_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(V2Event, _impl_.timestamp_) - + sizeof(V2Event::_impl_.timestamp_) - - PROTOBUF_FIELD_OFFSET(V2Event, _impl_.num_links_)>( - reinterpret_cast(&_impl_.num_links_), - reinterpret_cast(&other->_impl_.num_links_)); -} - -::google::protobuf::Metadata V2Event::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class Response::_Internal { - public: -}; - -Response::Response(::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:beewatch.Response) -} -Response::Response( - ::google::protobuf::Arena* arena, const Response& from) - : Response(arena) { - MergeFrom(from); -} -inline PROTOBUF_NDEBUG_INLINE Response::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void Response::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, completed_seq_), - 0, - offsetof(Impl_, shutting_down_) - - offsetof(Impl_, completed_seq_) + - sizeof(Impl_::shutting_down_)); -} -Response::~Response() { - // @@protoc_insertion_point(destructor:beewatch.Response) - SharedDtor(*this); -} -inline void Response::SharedDtor(MessageLite& self) { - Response& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* Response::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) Response(arena); -} -constexpr auto Response::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Response), - alignof(Response)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull Response::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_Response_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &Response::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &Response::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &Response::ByteSizeLong, - &Response::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(Response, _impl_._cached_size_), - false, - }, - &Response::kDescriptorMethods, - &descriptor_table_beewatch_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* Response::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> Response::_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<::beewatch::Response>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // bool shutting_down = 2; - {::_pbi::TcParser::SingularVarintNoZag1(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(Response, _impl_.shutting_down_)}}, - // uint64 completed_seq = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Response, _impl_.completed_seq_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(Response, _impl_.completed_seq_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // uint64 completed_seq = 1; - {PROTOBUF_FIELD_OFFSET(Response, _impl_.completed_seq_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, - // bool shutting_down = 2; - {PROTOBUF_FIELD_OFFSET(Response, _impl_.shutting_down_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - // no aux_entries - {{ - }}, -}; - -PROTOBUF_NOINLINE void Response::Clear() { -// @@protoc_insertion_point(message_clear_start:beewatch.Response) - ::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_.completed_seq_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.shutting_down_) - - reinterpret_cast(&_impl_.completed_seq_)) + sizeof(_impl_.shutting_down_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* Response::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const Response& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* Response::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const Response& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:beewatch.Response) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // uint64 completed_seq = 1; - if (this_._internal_completed_seq() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt64ToArray( - 1, this_._internal_completed_seq(), target); - } - - // bool shutting_down = 2; - if (this_._internal_shutting_down() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 2, this_._internal_shutting_down(), 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:beewatch.Response) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t Response::ByteSizeLong(const MessageLite& base) { - const Response& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t Response::ByteSizeLong() const { - const Response& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:beewatch.Response) - ::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_); - { - // uint64 completed_seq = 1; - if (this_._internal_completed_seq() != 0) { - total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( - this_._internal_completed_seq()); - } - // bool shutting_down = 2; - if (this_._internal_shutting_down() != 0) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void Response::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:beewatch.Response) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_completed_seq() != 0) { - _this->_impl_.completed_seq_ = from._impl_.completed_seq_; - } - if (from._internal_shutting_down() != 0) { - _this->_impl_.shutting_down_ = from._impl_.shutting_down_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void Response::CopyFrom(const Response& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:beewatch.Response) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void Response::InternalSwap(Response* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(Response, _impl_.shutting_down_) - + sizeof(Response::_impl_.shutting_down_) - - PROTOBUF_FIELD_OFFSET(Response, _impl_.completed_seq_)>( - reinterpret_cast(&_impl_.completed_seq_), - reinterpret_cast(&other->_impl_.completed_seq_)); -} - -::google::protobuf::Metadata Response::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// @@protoc_insertion_point(namespace_scope) -} // namespace beewatch -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_beewatch_2eproto), - ::std::false_type{}); -#include "google/protobuf/port_undef.inc" diff --git a/cpp/beewatch.pb.h b/cpp/beewatch.pb.h deleted file mode 100644 index 6fc9bbb..0000000 --- a/cpp/beewatch.pb.h +++ /dev/null @@ -1,2348 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: beewatch.proto -// Protobuf C++ Version: 5.29.2 - -#ifndef beewatch_2eproto_2epb_2eh -#define beewatch_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_beewatch_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_beewatch_2eproto { - static const ::uint32_t offsets[]; -}; -extern const ::google::protobuf::internal::DescriptorTable - descriptor_table_beewatch_2eproto; -namespace beewatch { -class Event; -struct EventDefaultTypeInternal; -extern EventDefaultTypeInternal _Event_default_instance_; -class Response; -struct ResponseDefaultTypeInternal; -extern ResponseDefaultTypeInternal _Response_default_instance_; -class V1Event; -struct V1EventDefaultTypeInternal; -extern V1EventDefaultTypeInternal _V1Event_default_instance_; -class V2Event; -struct V2EventDefaultTypeInternal; -extern V2EventDefaultTypeInternal _V2Event_default_instance_; -} // namespace beewatch -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google - -namespace beewatch { -enum V1Event_Type : int { - V1Event_Type_FLUSH = 0, - V1Event_Type_TRUNCATE = 1, - V1Event_Type_SETATTR = 2, - V1Event_Type_CLOSE_WRITE = 3, - V1Event_Type_CREATE = 4, - V1Event_Type_MKDIR = 5, - V1Event_Type_MKNOD = 6, - V1Event_Type_SYMLINK = 7, - V1Event_Type_RMDIR = 8, - V1Event_Type_UNLINK = 9, - V1Event_Type_HARDLINK = 10, - V1Event_Type_RENAME = 11, - V1Event_Type_READ = 12, - V1Event_Type_V1Event_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - V1Event_Type_V1Event_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool V1Event_Type_IsValid(int value); -extern const uint32_t V1Event_Type_internal_data_[]; -constexpr V1Event_Type V1Event_Type_Type_MIN = static_cast(0); -constexpr V1Event_Type V1Event_Type_Type_MAX = static_cast(12); -constexpr int V1Event_Type_Type_ARRAYSIZE = 12 + 1; -const ::google::protobuf::EnumDescriptor* -V1Event_Type_descriptor(); -template -const std::string& V1Event_Type_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to Type_Name()."); - return V1Event_Type_Name(static_cast(value)); -} -template <> -inline const std::string& V1Event_Type_Name(V1Event_Type value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool V1Event_Type_Parse(absl::string_view name, V1Event_Type* value) { - return ::google::protobuf::internal::ParseNamedEnum( - V1Event_Type_descriptor(), name, value); -} -enum V2Event_Type : int { - V2Event_Type_INVALID = 0, - V2Event_Type_FLUSH = 1, - V2Event_Type_TRUNCATE = 2, - V2Event_Type_SETATTR = 3, - V2Event_Type_CLOSE_WRITE = 4, - V2Event_Type_CREATE = 5, - V2Event_Type_MKDIR = 6, - V2Event_Type_MKNOD = 7, - V2Event_Type_SYMLINK = 8, - V2Event_Type_RMDIR = 9, - V2Event_Type_UNLINK = 10, - V2Event_Type_HARDLINK = 11, - V2Event_Type_RENAME = 12, - V2Event_Type_OPEN_READ = 13, - V2Event_Type_OPEN_WRITE = 14, - V2Event_Type_OPEN_READ_WRITE = 15, - V2Event_Type_LAST_WRITER_CLOSED = 16, - V2Event_Type_OPEN_BLOCKED = 17, - V2Event_Type_STRIPE_PATTERN_CHANGED = 18, - V2Event_Type_INODE_LOCKED = 19, - V2Event_Type_V2Event_Type_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - V2Event_Type_V2Event_Type_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool V2Event_Type_IsValid(int value); -extern const uint32_t V2Event_Type_internal_data_[]; -constexpr V2Event_Type V2Event_Type_Type_MIN = static_cast(0); -constexpr V2Event_Type V2Event_Type_Type_MAX = static_cast(19); -constexpr int V2Event_Type_Type_ARRAYSIZE = 19 + 1; -const ::google::protobuf::EnumDescriptor* -V2Event_Type_descriptor(); -template -const std::string& V2Event_Type_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to Type_Name()."); - return V2Event_Type_Name(static_cast(value)); -} -template <> -inline const std::string& V2Event_Type_Name(V2Event_Type value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool V2Event_Type_Parse(absl::string_view name, V2Event_Type* value) { - return ::google::protobuf::internal::ParseNamedEnum( - V2Event_Type_descriptor(), name, value); -} - -// =================================================================== - - -// ------------------------------------------------------------------- - -class V2Event final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beewatch.V2Event) */ { - public: - inline V2Event() : V2Event(nullptr) {} - ~V2Event() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(V2Event* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(V2Event)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR V2Event( - ::google::protobuf::internal::ConstantInitialized); - - inline V2Event(const V2Event& from) : V2Event(nullptr, from) {} - inline V2Event(V2Event&& from) noexcept - : V2Event(nullptr, std::move(from)) {} - inline V2Event& operator=(const V2Event& from) { - CopyFrom(from); - return *this; - } - inline V2Event& operator=(V2Event&& 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 V2Event& default_instance() { - return *internal_default_instance(); - } - static inline const V2Event* internal_default_instance() { - return reinterpret_cast( - &_V2Event_default_instance_); - } - static constexpr int kIndexInFileMessages = 2; - friend void swap(V2Event& a, V2Event& b) { a.Swap(&b); } - inline void Swap(V2Event* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(V2Event* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - V2Event* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const V2Event& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const V2Event& from) { V2Event::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(V2Event* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beewatch.V2Event"; } - - protected: - explicit V2Event(::google::protobuf::Arena* arena); - V2Event(::google::protobuf::Arena* arena, const V2Event& from); - V2Event(::google::protobuf::Arena* arena, V2Event&& from) noexcept - : V2Event(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 Type = V2Event_Type; - static constexpr Type INVALID = V2Event_Type_INVALID; - static constexpr Type FLUSH = V2Event_Type_FLUSH; - static constexpr Type TRUNCATE = V2Event_Type_TRUNCATE; - static constexpr Type SETATTR = V2Event_Type_SETATTR; - static constexpr Type CLOSE_WRITE = V2Event_Type_CLOSE_WRITE; - static constexpr Type CREATE = V2Event_Type_CREATE; - static constexpr Type MKDIR = V2Event_Type_MKDIR; - static constexpr Type MKNOD = V2Event_Type_MKNOD; - static constexpr Type SYMLINK = V2Event_Type_SYMLINK; - static constexpr Type RMDIR = V2Event_Type_RMDIR; - static constexpr Type UNLINK = V2Event_Type_UNLINK; - static constexpr Type HARDLINK = V2Event_Type_HARDLINK; - static constexpr Type RENAME = V2Event_Type_RENAME; - static constexpr Type OPEN_READ = V2Event_Type_OPEN_READ; - static constexpr Type OPEN_WRITE = V2Event_Type_OPEN_WRITE; - static constexpr Type OPEN_READ_WRITE = V2Event_Type_OPEN_READ_WRITE; - static constexpr Type LAST_WRITER_CLOSED = V2Event_Type_LAST_WRITER_CLOSED; - static constexpr Type OPEN_BLOCKED = V2Event_Type_OPEN_BLOCKED; - static constexpr Type STRIPE_PATTERN_CHANGED = V2Event_Type_STRIPE_PATTERN_CHANGED; - static constexpr Type INODE_LOCKED = V2Event_Type_INODE_LOCKED; - static inline bool Type_IsValid(int value) { - return V2Event_Type_IsValid(value); - } - static constexpr Type Type_MIN = V2Event_Type_Type_MIN; - static constexpr Type Type_MAX = V2Event_Type_Type_MAX; - static constexpr int Type_ARRAYSIZE = V2Event_Type_Type_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { - return V2Event_Type_descriptor(); - } - template - static inline const std::string& Type_Name(T value) { - return V2Event_Type_Name(value); - } - static inline bool Type_Parse(absl::string_view name, Type* value) { - return V2Event_Type_Parse(name, value); - } - - // accessors ------------------------------------------------------- - enum : int { - kPathFieldNumber = 3, - kEntryIdFieldNumber = 4, - kParentEntryIdFieldNumber = 5, - kTargetPathFieldNumber = 6, - kTargetParentIdFieldNumber = 7, - kNumLinksFieldNumber = 2, - kTypeFieldNumber = 1, - kMsgUserIdFieldNumber = 8, - kTimestampFieldNumber = 9, - }; - // string path = 3; - void clear_path() ; - const std::string& path() const; - template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); - - private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( - const std::string& value); - std::string* _internal_mutable_path(); - - public: - // string entry_id = 4; - void clear_entry_id() ; - const std::string& entry_id() const; - template - void set_entry_id(Arg_&& arg, Args_... args); - std::string* mutable_entry_id(); - PROTOBUF_NODISCARD std::string* release_entry_id(); - void set_allocated_entry_id(std::string* value); - - private: - const std::string& _internal_entry_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_entry_id( - const std::string& value); - std::string* _internal_mutable_entry_id(); - - public: - // string parent_entry_id = 5; - void clear_parent_entry_id() ; - const std::string& parent_entry_id() const; - template - void set_parent_entry_id(Arg_&& arg, Args_... args); - std::string* mutable_parent_entry_id(); - PROTOBUF_NODISCARD std::string* release_parent_entry_id(); - void set_allocated_parent_entry_id(std::string* value); - - private: - const std::string& _internal_parent_entry_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_parent_entry_id( - const std::string& value); - std::string* _internal_mutable_parent_entry_id(); - - public: - // string target_path = 6; - void clear_target_path() ; - const std::string& target_path() const; - template - void set_target_path(Arg_&& arg, Args_... args); - std::string* mutable_target_path(); - PROTOBUF_NODISCARD std::string* release_target_path(); - void set_allocated_target_path(std::string* value); - - private: - const std::string& _internal_target_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_target_path( - const std::string& value); - std::string* _internal_mutable_target_path(); - - public: - // string target_parent_id = 7; - void clear_target_parent_id() ; - const std::string& target_parent_id() const; - template - void set_target_parent_id(Arg_&& arg, Args_... args); - std::string* mutable_target_parent_id(); - PROTOBUF_NODISCARD std::string* release_target_parent_id(); - void set_allocated_target_parent_id(std::string* value); - - private: - const std::string& _internal_target_parent_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_target_parent_id( - const std::string& value); - std::string* _internal_mutable_target_parent_id(); - - public: - // uint64 num_links = 2; - void clear_num_links() ; - ::uint64_t num_links() const; - void set_num_links(::uint64_t value); - - private: - ::uint64_t _internal_num_links() const; - void _internal_set_num_links(::uint64_t value); - - public: - // .beewatch.V2Event.Type type = 1; - void clear_type() ; - ::beewatch::V2Event_Type type() const; - void set_type(::beewatch::V2Event_Type value); - - private: - ::beewatch::V2Event_Type _internal_type() const; - void _internal_set_type(::beewatch::V2Event_Type value); - - public: - // uint32 msg_user_id = 8; - void clear_msg_user_id() ; - ::uint32_t msg_user_id() const; - void set_msg_user_id(::uint32_t value); - - private: - ::uint32_t _internal_msg_user_id() const; - void _internal_set_msg_user_id(::uint32_t value); - - public: - // int64 timestamp = 9; - 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: - // @@protoc_insertion_point(class_scope:beewatch.V2Event) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 9, 0, - 87, 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 V2Event& from_msg); - ::google::protobuf::internal::ArenaStringPtr path_; - ::google::protobuf::internal::ArenaStringPtr entry_id_; - ::google::protobuf::internal::ArenaStringPtr parent_entry_id_; - ::google::protobuf::internal::ArenaStringPtr target_path_; - ::google::protobuf::internal::ArenaStringPtr target_parent_id_; - ::uint64_t num_links_; - int type_; - ::uint32_t msg_user_id_; - ::int64_t timestamp_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beewatch_2eproto; -}; -// ------------------------------------------------------------------- - -class V1Event final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beewatch.V1Event) */ { - public: - inline V1Event() : V1Event(nullptr) {} - ~V1Event() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(V1Event* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(V1Event)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR V1Event( - ::google::protobuf::internal::ConstantInitialized); - - inline V1Event(const V1Event& from) : V1Event(nullptr, from) {} - inline V1Event(V1Event&& from) noexcept - : V1Event(nullptr, std::move(from)) {} - inline V1Event& operator=(const V1Event& from) { - CopyFrom(from); - return *this; - } - inline V1Event& operator=(V1Event&& 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 V1Event& default_instance() { - return *internal_default_instance(); - } - static inline const V1Event* internal_default_instance() { - return reinterpret_cast( - &_V1Event_default_instance_); - } - static constexpr int kIndexInFileMessages = 1; - friend void swap(V1Event& a, V1Event& b) { a.Swap(&b); } - inline void Swap(V1Event* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(V1Event* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - V1Event* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const V1Event& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const V1Event& from) { V1Event::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(V1Event* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beewatch.V1Event"; } - - protected: - explicit V1Event(::google::protobuf::Arena* arena); - V1Event(::google::protobuf::Arena* arena, const V1Event& from); - V1Event(::google::protobuf::Arena* arena, V1Event&& from) noexcept - : V1Event(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 Type = V1Event_Type; - static constexpr Type FLUSH = V1Event_Type_FLUSH; - static constexpr Type TRUNCATE = V1Event_Type_TRUNCATE; - static constexpr Type SETATTR = V1Event_Type_SETATTR; - static constexpr Type CLOSE_WRITE = V1Event_Type_CLOSE_WRITE; - static constexpr Type CREATE = V1Event_Type_CREATE; - static constexpr Type MKDIR = V1Event_Type_MKDIR; - static constexpr Type MKNOD = V1Event_Type_MKNOD; - static constexpr Type SYMLINK = V1Event_Type_SYMLINK; - static constexpr Type RMDIR = V1Event_Type_RMDIR; - static constexpr Type UNLINK = V1Event_Type_UNLINK; - static constexpr Type HARDLINK = V1Event_Type_HARDLINK; - static constexpr Type RENAME = V1Event_Type_RENAME; - static constexpr Type READ = V1Event_Type_READ; - static inline bool Type_IsValid(int value) { - return V1Event_Type_IsValid(value); - } - static constexpr Type Type_MIN = V1Event_Type_Type_MIN; - static constexpr Type Type_MAX = V1Event_Type_Type_MAX; - static constexpr int Type_ARRAYSIZE = V1Event_Type_Type_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* Type_descriptor() { - return V1Event_Type_descriptor(); - } - template - static inline const std::string& Type_Name(T value) { - return V1Event_Type_Name(value); - } - static inline bool Type_Parse(absl::string_view name, Type* value) { - return V1Event_Type_Parse(name, value); - } - - // accessors ------------------------------------------------------- - enum : int { - kPathFieldNumber = 4, - kEntryIdFieldNumber = 5, - kParentEntryIdFieldNumber = 6, - kTargetPathFieldNumber = 7, - kTargetParentIdFieldNumber = 8, - kDroppedSeqFieldNumber = 2, - kMissedSeqFieldNumber = 3, - kTypeFieldNumber = 1, - }; - // string path = 4; - void clear_path() ; - const std::string& path() const; - template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); - - private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( - const std::string& value); - std::string* _internal_mutable_path(); - - public: - // string entry_id = 5; - void clear_entry_id() ; - const std::string& entry_id() const; - template - void set_entry_id(Arg_&& arg, Args_... args); - std::string* mutable_entry_id(); - PROTOBUF_NODISCARD std::string* release_entry_id(); - void set_allocated_entry_id(std::string* value); - - private: - const std::string& _internal_entry_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_entry_id( - const std::string& value); - std::string* _internal_mutable_entry_id(); - - public: - // string parent_entry_id = 6; - void clear_parent_entry_id() ; - const std::string& parent_entry_id() const; - template - void set_parent_entry_id(Arg_&& arg, Args_... args); - std::string* mutable_parent_entry_id(); - PROTOBUF_NODISCARD std::string* release_parent_entry_id(); - void set_allocated_parent_entry_id(std::string* value); - - private: - const std::string& _internal_parent_entry_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_parent_entry_id( - const std::string& value); - std::string* _internal_mutable_parent_entry_id(); - - public: - // string target_path = 7; - void clear_target_path() ; - const std::string& target_path() const; - template - void set_target_path(Arg_&& arg, Args_... args); - std::string* mutable_target_path(); - PROTOBUF_NODISCARD std::string* release_target_path(); - void set_allocated_target_path(std::string* value); - - private: - const std::string& _internal_target_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_target_path( - const std::string& value); - std::string* _internal_mutable_target_path(); - - public: - // string target_parent_id = 8; - void clear_target_parent_id() ; - const std::string& target_parent_id() const; - template - void set_target_parent_id(Arg_&& arg, Args_... args); - std::string* mutable_target_parent_id(); - PROTOBUF_NODISCARD std::string* release_target_parent_id(); - void set_allocated_target_parent_id(std::string* value); - - private: - const std::string& _internal_target_parent_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_target_parent_id( - const std::string& value); - std::string* _internal_mutable_target_parent_id(); - - public: - // uint64 dropped_seq = 2; - void clear_dropped_seq() ; - ::uint64_t dropped_seq() const; - void set_dropped_seq(::uint64_t value); - - private: - ::uint64_t _internal_dropped_seq() const; - void _internal_set_dropped_seq(::uint64_t value); - - public: - // uint64 missed_seq = 3; - void clear_missed_seq() ; - ::uint64_t missed_seq() const; - void set_missed_seq(::uint64_t value); - - private: - ::uint64_t _internal_missed_seq() const; - void _internal_set_missed_seq(::uint64_t value); - - public: - // .beewatch.V1Event.Type type = 1; - void clear_type() ; - ::beewatch::V1Event_Type type() const; - void set_type(::beewatch::V1Event_Type value); - - private: - ::beewatch::V1Event_Type _internal_type() const; - void _internal_set_type(::beewatch::V1Event_Type value); - - public: - // @@protoc_insertion_point(class_scope:beewatch.V1Event) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 8, 0, - 87, 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 V1Event& from_msg); - ::google::protobuf::internal::ArenaStringPtr path_; - ::google::protobuf::internal::ArenaStringPtr entry_id_; - ::google::protobuf::internal::ArenaStringPtr parent_entry_id_; - ::google::protobuf::internal::ArenaStringPtr target_path_; - ::google::protobuf::internal::ArenaStringPtr target_parent_id_; - ::uint64_t dropped_seq_; - ::uint64_t missed_seq_; - int type_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beewatch_2eproto; -}; -// ------------------------------------------------------------------- - -class Response final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beewatch.Response) */ { - public: - inline Response() : Response(nullptr) {} - ~Response() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Response* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(Response)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR Response( - ::google::protobuf::internal::ConstantInitialized); - - inline Response(const Response& from) : Response(nullptr, from) {} - inline Response(Response&& from) noexcept - : Response(nullptr, std::move(from)) {} - inline Response& operator=(const Response& from) { - CopyFrom(from); - return *this; - } - inline Response& operator=(Response&& 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 Response& default_instance() { - return *internal_default_instance(); - } - static inline const Response* internal_default_instance() { - return reinterpret_cast( - &_Response_default_instance_); - } - static constexpr int kIndexInFileMessages = 3; - friend void swap(Response& a, Response& b) { a.Swap(&b); } - inline void Swap(Response* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Response* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Response* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const Response& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const Response& from) { Response::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(Response* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beewatch.Response"; } - - protected: - explicit Response(::google::protobuf::Arena* arena); - Response(::google::protobuf::Arena* arena, const Response& from); - Response(::google::protobuf::Arena* arena, Response&& from) noexcept - : Response(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 { - kCompletedSeqFieldNumber = 1, - kShuttingDownFieldNumber = 2, - }; - // uint64 completed_seq = 1; - void clear_completed_seq() ; - ::uint64_t completed_seq() const; - void set_completed_seq(::uint64_t value); - - private: - ::uint64_t _internal_completed_seq() const; - void _internal_set_completed_seq(::uint64_t value); - - public: - // bool shutting_down = 2; - void clear_shutting_down() ; - bool shutting_down() const; - void set_shutting_down(bool value); - - private: - bool _internal_shutting_down() const; - void _internal_set_shutting_down(bool value); - - public: - // @@protoc_insertion_point(class_scope:beewatch.Response) - 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 Response& from_msg); - ::uint64_t completed_seq_; - bool shutting_down_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beewatch_2eproto; -}; -// ------------------------------------------------------------------- - -class Event final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:beewatch.Event) */ { - public: - inline Event() : Event(nullptr) {} - ~Event() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Event* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(Event)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR Event( - ::google::protobuf::internal::ConstantInitialized); - - inline Event(const Event& from) : Event(nullptr, from) {} - inline Event(Event&& from) noexcept - : Event(nullptr, std::move(from)) {} - inline Event& operator=(const Event& from) { - CopyFrom(from); - return *this; - } - inline Event& operator=(Event&& 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 Event& default_instance() { - return *internal_default_instance(); - } - enum EventDataCase { - kV1 = 11, - kV2 = 12, - EVENT_DATA_NOT_SET = 0, - }; - static inline const Event* internal_default_instance() { - return reinterpret_cast( - &_Event_default_instance_); - } - static constexpr int kIndexInFileMessages = 0; - friend void swap(Event& a, Event& b) { a.Swap(&b); } - inline void Swap(Event* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Event* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Event* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const Event& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const Event& from) { Event::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(Event* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "beewatch.Event"; } - - protected: - explicit Event(::google::protobuf::Arena* arena); - Event(::google::protobuf::Arena* arena, const Event& from); - Event(::google::protobuf::Arena* arena, Event&& from) noexcept - : Event(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 { - kSeqIdFieldNumber = 1, - kMetaIdFieldNumber = 2, - kMetaMirrorFieldNumber = 3, - kEventFlagsFieldNumber = 4, - kV1FieldNumber = 11, - kV2FieldNumber = 12, - }; - // uint64 seq_id = 1; - void clear_seq_id() ; - ::uint64_t seq_id() const; - void set_seq_id(::uint64_t value); - - private: - ::uint64_t _internal_seq_id() const; - void _internal_set_seq_id(::uint64_t value); - - public: - // uint32 meta_id = 2; - void clear_meta_id() ; - ::uint32_t meta_id() const; - void set_meta_id(::uint32_t value); - - private: - ::uint32_t _internal_meta_id() const; - void _internal_set_meta_id(::uint32_t value); - - public: - // optional uint32 meta_mirror = 3; - bool has_meta_mirror() const; - void clear_meta_mirror() ; - ::uint32_t meta_mirror() const; - void set_meta_mirror(::uint32_t value); - - private: - ::uint32_t _internal_meta_mirror() const; - void _internal_set_meta_mirror(::uint32_t value); - - public: - // uint32 event_flags = 4; - void clear_event_flags() ; - ::uint32_t event_flags() const; - void set_event_flags(::uint32_t value); - - private: - ::uint32_t _internal_event_flags() const; - void _internal_set_event_flags(::uint32_t value); - - public: - // .beewatch.V1Event v1 = 11; - bool has_v1() const; - private: - bool _internal_has_v1() const; - - public: - void clear_v1() ; - const ::beewatch::V1Event& v1() const; - PROTOBUF_NODISCARD ::beewatch::V1Event* release_v1(); - ::beewatch::V1Event* mutable_v1(); - void set_allocated_v1(::beewatch::V1Event* value); - void unsafe_arena_set_allocated_v1(::beewatch::V1Event* value); - ::beewatch::V1Event* unsafe_arena_release_v1(); - - private: - const ::beewatch::V1Event& _internal_v1() const; - ::beewatch::V1Event* _internal_mutable_v1(); - - public: - // .beewatch.V2Event v2 = 12; - bool has_v2() const; - private: - bool _internal_has_v2() const; - - public: - void clear_v2() ; - const ::beewatch::V2Event& v2() const; - PROTOBUF_NODISCARD ::beewatch::V2Event* release_v2(); - ::beewatch::V2Event* mutable_v2(); - void set_allocated_v2(::beewatch::V2Event* value); - void unsafe_arena_set_allocated_v2(::beewatch::V2Event* value); - ::beewatch::V2Event* unsafe_arena_release_v2(); - - private: - const ::beewatch::V2Event& _internal_v2() const; - ::beewatch::V2Event* _internal_mutable_v2(); - - public: - void clear_event_data(); - EventDataCase event_data_case() const; - // @@protoc_insertion_point(class_scope:beewatch.Event) - private: - class _Internal; - void set_has_v1(); - void set_has_v2(); - inline bool has_event_data() const; - inline void clear_has_event_data(); - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 6, 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 Event& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::uint64_t seq_id_; - ::uint32_t meta_id_; - ::uint32_t meta_mirror_; - ::uint32_t event_flags_; - union EventDataUnion { - constexpr EventDataUnion() : _constinit_{} {} - ::google::protobuf::internal::ConstantInitialized _constinit_; - ::beewatch::V1Event* v1_; - ::beewatch::V2Event* v2_; - } event_data_; - ::uint32_t _oneof_case_[1]; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_beewatch_2eproto; -}; - -// =================================================================== - - - - -// =================================================================== - - -#ifdef __GNUC__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// Event - -// uint64 seq_id = 1; -inline void Event::clear_seq_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.seq_id_ = ::uint64_t{0u}; -} -inline ::uint64_t Event::seq_id() const { - // @@protoc_insertion_point(field_get:beewatch.Event.seq_id) - return _internal_seq_id(); -} -inline void Event::set_seq_id(::uint64_t value) { - _internal_set_seq_id(value); - // @@protoc_insertion_point(field_set:beewatch.Event.seq_id) -} -inline ::uint64_t Event::_internal_seq_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.seq_id_; -} -inline void Event::_internal_set_seq_id(::uint64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.seq_id_ = value; -} - -// uint32 meta_id = 2; -inline void Event::clear_meta_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.meta_id_ = 0u; -} -inline ::uint32_t Event::meta_id() const { - // @@protoc_insertion_point(field_get:beewatch.Event.meta_id) - return _internal_meta_id(); -} -inline void Event::set_meta_id(::uint32_t value) { - _internal_set_meta_id(value); - // @@protoc_insertion_point(field_set:beewatch.Event.meta_id) -} -inline ::uint32_t Event::_internal_meta_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.meta_id_; -} -inline void Event::_internal_set_meta_id(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.meta_id_ = value; -} - -// optional uint32 meta_mirror = 3; -inline bool Event::has_meta_mirror() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline void Event::clear_meta_mirror() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.meta_mirror_ = 0u; - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline ::uint32_t Event::meta_mirror() const { - // @@protoc_insertion_point(field_get:beewatch.Event.meta_mirror) - return _internal_meta_mirror(); -} -inline void Event::set_meta_mirror(::uint32_t value) { - _internal_set_meta_mirror(value); - _impl_._has_bits_[0] |= 0x00000001u; - // @@protoc_insertion_point(field_set:beewatch.Event.meta_mirror) -} -inline ::uint32_t Event::_internal_meta_mirror() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.meta_mirror_; -} -inline void Event::_internal_set_meta_mirror(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.meta_mirror_ = value; -} - -// uint32 event_flags = 4; -inline void Event::clear_event_flags() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.event_flags_ = 0u; -} -inline ::uint32_t Event::event_flags() const { - // @@protoc_insertion_point(field_get:beewatch.Event.event_flags) - return _internal_event_flags(); -} -inline void Event::set_event_flags(::uint32_t value) { - _internal_set_event_flags(value); - // @@protoc_insertion_point(field_set:beewatch.Event.event_flags) -} -inline ::uint32_t Event::_internal_event_flags() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.event_flags_; -} -inline void Event::_internal_set_event_flags(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.event_flags_ = value; -} - -// .beewatch.V1Event v1 = 11; -inline bool Event::has_v1() const { - return event_data_case() == kV1; -} -inline bool Event::_internal_has_v1() const { - return event_data_case() == kV1; -} -inline void Event::set_has_v1() { - _impl_._oneof_case_[0] = kV1; -} -inline void Event::clear_v1() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (event_data_case() == kV1) { - if (GetArena() == nullptr) { - delete _impl_.event_data_.v1_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.event_data_.v1_); - } - clear_has_event_data(); - } -} -inline ::beewatch::V1Event* Event::release_v1() { - // @@protoc_insertion_point(field_release:beewatch.Event.v1) - if (event_data_case() == kV1) { - clear_has_event_data(); - auto* temp = _impl_.event_data_.v1_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.event_data_.v1_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::beewatch::V1Event& Event::_internal_v1() const { - return event_data_case() == kV1 ? *_impl_.event_data_.v1_ : reinterpret_cast<::beewatch::V1Event&>(::beewatch::_V1Event_default_instance_); -} -inline const ::beewatch::V1Event& Event::v1() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beewatch.Event.v1) - return _internal_v1(); -} -inline ::beewatch::V1Event* Event::unsafe_arena_release_v1() { - // @@protoc_insertion_point(field_unsafe_arena_release:beewatch.Event.v1) - if (event_data_case() == kV1) { - clear_has_event_data(); - auto* temp = _impl_.event_data_.v1_; - _impl_.event_data_.v1_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Event::unsafe_arena_set_allocated_v1(::beewatch::V1Event* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_event_data(); - if (value) { - set_has_v1(); - _impl_.event_data_.v1_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beewatch.Event.v1) -} -inline ::beewatch::V1Event* Event::_internal_mutable_v1() { - if (event_data_case() != kV1) { - clear_event_data(); - set_has_v1(); - _impl_.event_data_.v1_ = - ::google::protobuf::Message::DefaultConstruct<::beewatch::V1Event>(GetArena()); - } - return _impl_.event_data_.v1_; -} -inline ::beewatch::V1Event* Event::mutable_v1() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::beewatch::V1Event* _msg = _internal_mutable_v1(); - // @@protoc_insertion_point(field_mutable:beewatch.Event.v1) - return _msg; -} - -// .beewatch.V2Event v2 = 12; -inline bool Event::has_v2() const { - return event_data_case() == kV2; -} -inline bool Event::_internal_has_v2() const { - return event_data_case() == kV2; -} -inline void Event::set_has_v2() { - _impl_._oneof_case_[0] = kV2; -} -inline void Event::clear_v2() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (event_data_case() == kV2) { - if (GetArena() == nullptr) { - delete _impl_.event_data_.v2_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.event_data_.v2_); - } - clear_has_event_data(); - } -} -inline ::beewatch::V2Event* Event::release_v2() { - // @@protoc_insertion_point(field_release:beewatch.Event.v2) - if (event_data_case() == kV2) { - clear_has_event_data(); - auto* temp = _impl_.event_data_.v2_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.event_data_.v2_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::beewatch::V2Event& Event::_internal_v2() const { - return event_data_case() == kV2 ? *_impl_.event_data_.v2_ : reinterpret_cast<::beewatch::V2Event&>(::beewatch::_V2Event_default_instance_); -} -inline const ::beewatch::V2Event& Event::v2() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beewatch.Event.v2) - return _internal_v2(); -} -inline ::beewatch::V2Event* Event::unsafe_arena_release_v2() { - // @@protoc_insertion_point(field_unsafe_arena_release:beewatch.Event.v2) - if (event_data_case() == kV2) { - clear_has_event_data(); - auto* temp = _impl_.event_data_.v2_; - _impl_.event_data_.v2_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void Event::unsafe_arena_set_allocated_v2(::beewatch::V2Event* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_event_data(); - if (value) { - set_has_v2(); - _impl_.event_data_.v2_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:beewatch.Event.v2) -} -inline ::beewatch::V2Event* Event::_internal_mutable_v2() { - if (event_data_case() != kV2) { - clear_event_data(); - set_has_v2(); - _impl_.event_data_.v2_ = - ::google::protobuf::Message::DefaultConstruct<::beewatch::V2Event>(GetArena()); - } - return _impl_.event_data_.v2_; -} -inline ::beewatch::V2Event* Event::mutable_v2() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::beewatch::V2Event* _msg = _internal_mutable_v2(); - // @@protoc_insertion_point(field_mutable:beewatch.Event.v2) - return _msg; -} - -inline bool Event::has_event_data() const { - return event_data_case() != EVENT_DATA_NOT_SET; -} -inline void Event::clear_has_event_data() { - _impl_._oneof_case_[0] = EVENT_DATA_NOT_SET; -} -inline Event::EventDataCase Event::event_data_case() const { - return Event::EventDataCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// V1Event - -// .beewatch.V1Event.Type type = 1; -inline void V1Event::clear_type() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.type_ = 0; -} -inline ::beewatch::V1Event_Type V1Event::type() const { - // @@protoc_insertion_point(field_get:beewatch.V1Event.type) - return _internal_type(); -} -inline void V1Event::set_type(::beewatch::V1Event_Type value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:beewatch.V1Event.type) -} -inline ::beewatch::V1Event_Type V1Event::_internal_type() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beewatch::V1Event_Type>(_impl_.type_); -} -inline void V1Event::_internal_set_type(::beewatch::V1Event_Type value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.type_ = value; -} - -// uint64 dropped_seq = 2; -inline void V1Event::clear_dropped_seq() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.dropped_seq_ = ::uint64_t{0u}; -} -inline ::uint64_t V1Event::dropped_seq() const { - // @@protoc_insertion_point(field_get:beewatch.V1Event.dropped_seq) - return _internal_dropped_seq(); -} -inline void V1Event::set_dropped_seq(::uint64_t value) { - _internal_set_dropped_seq(value); - // @@protoc_insertion_point(field_set:beewatch.V1Event.dropped_seq) -} -inline ::uint64_t V1Event::_internal_dropped_seq() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.dropped_seq_; -} -inline void V1Event::_internal_set_dropped_seq(::uint64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.dropped_seq_ = value; -} - -// uint64 missed_seq = 3; -inline void V1Event::clear_missed_seq() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.missed_seq_ = ::uint64_t{0u}; -} -inline ::uint64_t V1Event::missed_seq() const { - // @@protoc_insertion_point(field_get:beewatch.V1Event.missed_seq) - return _internal_missed_seq(); -} -inline void V1Event::set_missed_seq(::uint64_t value) { - _internal_set_missed_seq(value); - // @@protoc_insertion_point(field_set:beewatch.V1Event.missed_seq) -} -inline ::uint64_t V1Event::_internal_missed_seq() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.missed_seq_; -} -inline void V1Event::_internal_set_missed_seq(::uint64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.missed_seq_ = value; -} - -// string path = 4; -inline void V1Event::clear_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.ClearToEmpty(); -} -inline const std::string& V1Event::path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beewatch.V1Event.path) - return _internal_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void V1Event::set_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beewatch.V1Event.path) -} -inline std::string* V1Event::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:beewatch.V1Event.path) - return _s; -} -inline const std::string& V1Event::_internal_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_.Get(); -} -inline void V1Event::_internal_set_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(value, GetArena()); -} -inline std::string* V1Event::_internal_mutable_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_.Mutable( GetArena()); -} -inline std::string* V1Event::release_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beewatch.V1Event.path) - return _impl_.path_.Release(); -} -inline void V1Event::set_allocated_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { - _impl_.path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beewatch.V1Event.path) -} - -// string entry_id = 5; -inline void V1Event::clear_entry_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.entry_id_.ClearToEmpty(); -} -inline const std::string& V1Event::entry_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beewatch.V1Event.entry_id) - return _internal_entry_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void V1Event::set_entry_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.entry_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beewatch.V1Event.entry_id) -} -inline std::string* V1Event::mutable_entry_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_entry_id(); - // @@protoc_insertion_point(field_mutable:beewatch.V1Event.entry_id) - return _s; -} -inline const std::string& V1Event::_internal_entry_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.entry_id_.Get(); -} -inline void V1Event::_internal_set_entry_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.entry_id_.Set(value, GetArena()); -} -inline std::string* V1Event::_internal_mutable_entry_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.entry_id_.Mutable( GetArena()); -} -inline std::string* V1Event::release_entry_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beewatch.V1Event.entry_id) - return _impl_.entry_id_.Release(); -} -inline void V1Event::set_allocated_entry_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.entry_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.entry_id_.IsDefault()) { - _impl_.entry_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beewatch.V1Event.entry_id) -} - -// string parent_entry_id = 6; -inline void V1Event::clear_parent_entry_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parent_entry_id_.ClearToEmpty(); -} -inline const std::string& V1Event::parent_entry_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beewatch.V1Event.parent_entry_id) - return _internal_parent_entry_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void V1Event::set_parent_entry_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parent_entry_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beewatch.V1Event.parent_entry_id) -} -inline std::string* V1Event::mutable_parent_entry_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_parent_entry_id(); - // @@protoc_insertion_point(field_mutable:beewatch.V1Event.parent_entry_id) - return _s; -} -inline const std::string& V1Event::_internal_parent_entry_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.parent_entry_id_.Get(); -} -inline void V1Event::_internal_set_parent_entry_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parent_entry_id_.Set(value, GetArena()); -} -inline std::string* V1Event::_internal_mutable_parent_entry_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.parent_entry_id_.Mutable( GetArena()); -} -inline std::string* V1Event::release_parent_entry_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beewatch.V1Event.parent_entry_id) - return _impl_.parent_entry_id_.Release(); -} -inline void V1Event::set_allocated_parent_entry_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parent_entry_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.parent_entry_id_.IsDefault()) { - _impl_.parent_entry_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beewatch.V1Event.parent_entry_id) -} - -// string target_path = 7; -inline void V1Event::clear_target_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_path_.ClearToEmpty(); -} -inline const std::string& V1Event::target_path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beewatch.V1Event.target_path) - return _internal_target_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void V1Event::set_target_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beewatch.V1Event.target_path) -} -inline std::string* V1Event::mutable_target_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_target_path(); - // @@protoc_insertion_point(field_mutable:beewatch.V1Event.target_path) - return _s; -} -inline const std::string& V1Event::_internal_target_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.target_path_.Get(); -} -inline void V1Event::_internal_set_target_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_path_.Set(value, GetArena()); -} -inline std::string* V1Event::_internal_mutable_target_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.target_path_.Mutable( GetArena()); -} -inline std::string* V1Event::release_target_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beewatch.V1Event.target_path) - return _impl_.target_path_.Release(); -} -inline void V1Event::set_allocated_target_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.target_path_.IsDefault()) { - _impl_.target_path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beewatch.V1Event.target_path) -} - -// string target_parent_id = 8; -inline void V1Event::clear_target_parent_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_parent_id_.ClearToEmpty(); -} -inline const std::string& V1Event::target_parent_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beewatch.V1Event.target_parent_id) - return _internal_target_parent_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void V1Event::set_target_parent_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_parent_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beewatch.V1Event.target_parent_id) -} -inline std::string* V1Event::mutable_target_parent_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_target_parent_id(); - // @@protoc_insertion_point(field_mutable:beewatch.V1Event.target_parent_id) - return _s; -} -inline const std::string& V1Event::_internal_target_parent_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.target_parent_id_.Get(); -} -inline void V1Event::_internal_set_target_parent_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_parent_id_.Set(value, GetArena()); -} -inline std::string* V1Event::_internal_mutable_target_parent_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.target_parent_id_.Mutable( GetArena()); -} -inline std::string* V1Event::release_target_parent_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beewatch.V1Event.target_parent_id) - return _impl_.target_parent_id_.Release(); -} -inline void V1Event::set_allocated_target_parent_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_parent_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.target_parent_id_.IsDefault()) { - _impl_.target_parent_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beewatch.V1Event.target_parent_id) -} - -// ------------------------------------------------------------------- - -// V2Event - -// .beewatch.V2Event.Type type = 1; -inline void V2Event::clear_type() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.type_ = 0; -} -inline ::beewatch::V2Event_Type V2Event::type() const { - // @@protoc_insertion_point(field_get:beewatch.V2Event.type) - return _internal_type(); -} -inline void V2Event::set_type(::beewatch::V2Event_Type value) { - _internal_set_type(value); - // @@protoc_insertion_point(field_set:beewatch.V2Event.type) -} -inline ::beewatch::V2Event_Type V2Event::_internal_type() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::beewatch::V2Event_Type>(_impl_.type_); -} -inline void V2Event::_internal_set_type(::beewatch::V2Event_Type value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.type_ = value; -} - -// uint64 num_links = 2; -inline void V2Event::clear_num_links() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.num_links_ = ::uint64_t{0u}; -} -inline ::uint64_t V2Event::num_links() const { - // @@protoc_insertion_point(field_get:beewatch.V2Event.num_links) - return _internal_num_links(); -} -inline void V2Event::set_num_links(::uint64_t value) { - _internal_set_num_links(value); - // @@protoc_insertion_point(field_set:beewatch.V2Event.num_links) -} -inline ::uint64_t V2Event::_internal_num_links() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.num_links_; -} -inline void V2Event::_internal_set_num_links(::uint64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.num_links_ = value; -} - -// string path = 3; -inline void V2Event::clear_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.ClearToEmpty(); -} -inline const std::string& V2Event::path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beewatch.V2Event.path) - return _internal_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void V2Event::set_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beewatch.V2Event.path) -} -inline std::string* V2Event::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:beewatch.V2Event.path) - return _s; -} -inline const std::string& V2Event::_internal_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_.Get(); -} -inline void V2Event::_internal_set_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(value, GetArena()); -} -inline std::string* V2Event::_internal_mutable_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_.Mutable( GetArena()); -} -inline std::string* V2Event::release_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beewatch.V2Event.path) - return _impl_.path_.Release(); -} -inline void V2Event::set_allocated_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { - _impl_.path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beewatch.V2Event.path) -} - -// string entry_id = 4; -inline void V2Event::clear_entry_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.entry_id_.ClearToEmpty(); -} -inline const std::string& V2Event::entry_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beewatch.V2Event.entry_id) - return _internal_entry_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void V2Event::set_entry_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.entry_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beewatch.V2Event.entry_id) -} -inline std::string* V2Event::mutable_entry_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_entry_id(); - // @@protoc_insertion_point(field_mutable:beewatch.V2Event.entry_id) - return _s; -} -inline const std::string& V2Event::_internal_entry_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.entry_id_.Get(); -} -inline void V2Event::_internal_set_entry_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.entry_id_.Set(value, GetArena()); -} -inline std::string* V2Event::_internal_mutable_entry_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.entry_id_.Mutable( GetArena()); -} -inline std::string* V2Event::release_entry_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beewatch.V2Event.entry_id) - return _impl_.entry_id_.Release(); -} -inline void V2Event::set_allocated_entry_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.entry_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.entry_id_.IsDefault()) { - _impl_.entry_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beewatch.V2Event.entry_id) -} - -// string parent_entry_id = 5; -inline void V2Event::clear_parent_entry_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parent_entry_id_.ClearToEmpty(); -} -inline const std::string& V2Event::parent_entry_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beewatch.V2Event.parent_entry_id) - return _internal_parent_entry_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void V2Event::set_parent_entry_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parent_entry_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beewatch.V2Event.parent_entry_id) -} -inline std::string* V2Event::mutable_parent_entry_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_parent_entry_id(); - // @@protoc_insertion_point(field_mutable:beewatch.V2Event.parent_entry_id) - return _s; -} -inline const std::string& V2Event::_internal_parent_entry_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.parent_entry_id_.Get(); -} -inline void V2Event::_internal_set_parent_entry_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parent_entry_id_.Set(value, GetArena()); -} -inline std::string* V2Event::_internal_mutable_parent_entry_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.parent_entry_id_.Mutable( GetArena()); -} -inline std::string* V2Event::release_parent_entry_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beewatch.V2Event.parent_entry_id) - return _impl_.parent_entry_id_.Release(); -} -inline void V2Event::set_allocated_parent_entry_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parent_entry_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.parent_entry_id_.IsDefault()) { - _impl_.parent_entry_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beewatch.V2Event.parent_entry_id) -} - -// string target_path = 6; -inline void V2Event::clear_target_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_path_.ClearToEmpty(); -} -inline const std::string& V2Event::target_path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beewatch.V2Event.target_path) - return _internal_target_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void V2Event::set_target_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beewatch.V2Event.target_path) -} -inline std::string* V2Event::mutable_target_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_target_path(); - // @@protoc_insertion_point(field_mutable:beewatch.V2Event.target_path) - return _s; -} -inline const std::string& V2Event::_internal_target_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.target_path_.Get(); -} -inline void V2Event::_internal_set_target_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_path_.Set(value, GetArena()); -} -inline std::string* V2Event::_internal_mutable_target_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.target_path_.Mutable( GetArena()); -} -inline std::string* V2Event::release_target_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beewatch.V2Event.target_path) - return _impl_.target_path_.Release(); -} -inline void V2Event::set_allocated_target_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.target_path_.IsDefault()) { - _impl_.target_path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beewatch.V2Event.target_path) -} - -// string target_parent_id = 7; -inline void V2Event::clear_target_parent_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_parent_id_.ClearToEmpty(); -} -inline const std::string& V2Event::target_parent_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:beewatch.V2Event.target_parent_id) - return _internal_target_parent_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void V2Event::set_target_parent_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_parent_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:beewatch.V2Event.target_parent_id) -} -inline std::string* V2Event::mutable_target_parent_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_target_parent_id(); - // @@protoc_insertion_point(field_mutable:beewatch.V2Event.target_parent_id) - return _s; -} -inline const std::string& V2Event::_internal_target_parent_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.target_parent_id_.Get(); -} -inline void V2Event::_internal_set_target_parent_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_parent_id_.Set(value, GetArena()); -} -inline std::string* V2Event::_internal_mutable_target_parent_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.target_parent_id_.Mutable( GetArena()); -} -inline std::string* V2Event::release_target_parent_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:beewatch.V2Event.target_parent_id) - return _impl_.target_parent_id_.Release(); -} -inline void V2Event::set_allocated_target_parent_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.target_parent_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.target_parent_id_.IsDefault()) { - _impl_.target_parent_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:beewatch.V2Event.target_parent_id) -} - -// uint32 msg_user_id = 8; -inline void V2Event::clear_msg_user_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.msg_user_id_ = 0u; -} -inline ::uint32_t V2Event::msg_user_id() const { - // @@protoc_insertion_point(field_get:beewatch.V2Event.msg_user_id) - return _internal_msg_user_id(); -} -inline void V2Event::set_msg_user_id(::uint32_t value) { - _internal_set_msg_user_id(value); - // @@protoc_insertion_point(field_set:beewatch.V2Event.msg_user_id) -} -inline ::uint32_t V2Event::_internal_msg_user_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.msg_user_id_; -} -inline void V2Event::_internal_set_msg_user_id(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.msg_user_id_ = value; -} - -// int64 timestamp = 9; -inline void V2Event::clear_timestamp() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.timestamp_ = ::int64_t{0}; -} -inline ::int64_t V2Event::timestamp() const { - // @@protoc_insertion_point(field_get:beewatch.V2Event.timestamp) - return _internal_timestamp(); -} -inline void V2Event::set_timestamp(::int64_t value) { - _internal_set_timestamp(value); - // @@protoc_insertion_point(field_set:beewatch.V2Event.timestamp) -} -inline ::int64_t V2Event::_internal_timestamp() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.timestamp_; -} -inline void V2Event::_internal_set_timestamp(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.timestamp_ = value; -} - -// ------------------------------------------------------------------- - -// Response - -// uint64 completed_seq = 1; -inline void Response::clear_completed_seq() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.completed_seq_ = ::uint64_t{0u}; -} -inline ::uint64_t Response::completed_seq() const { - // @@protoc_insertion_point(field_get:beewatch.Response.completed_seq) - return _internal_completed_seq(); -} -inline void Response::set_completed_seq(::uint64_t value) { - _internal_set_completed_seq(value); - // @@protoc_insertion_point(field_set:beewatch.Response.completed_seq) -} -inline ::uint64_t Response::_internal_completed_seq() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.completed_seq_; -} -inline void Response::_internal_set_completed_seq(::uint64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.completed_seq_ = value; -} - -// bool shutting_down = 2; -inline void Response::clear_shutting_down() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.shutting_down_ = false; -} -inline bool Response::shutting_down() const { - // @@protoc_insertion_point(field_get:beewatch.Response.shutting_down) - return _internal_shutting_down(); -} -inline void Response::set_shutting_down(bool value) { - _internal_set_shutting_down(value); - // @@protoc_insertion_point(field_set:beewatch.Response.shutting_down) -} -inline bool Response::_internal_shutting_down() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.shutting_down_; -} -inline void Response::_internal_set_shutting_down(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.shutting_down_ = value; -} - -#ifdef __GNUC__ -#pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) -} // namespace beewatch - - -namespace google { -namespace protobuf { - -template <> -struct is_proto_enum<::beewatch::V1Event_Type> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::beewatch::V1Event_Type>() { - return ::beewatch::V1Event_Type_descriptor(); -} -template <> -struct is_proto_enum<::beewatch::V2Event_Type> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::beewatch::V2Event_Type>() { - return ::beewatch::V2Event_Type_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include "google/protobuf/port_undef.inc" - -#endif // beewatch_2eproto_2epb_2eh diff --git a/cpp/flex.pb.cc b/cpp/flex.pb.cc deleted file mode 100644 index 91238dc..0000000 --- a/cpp/flex.pb.cc +++ /dev/null @@ -1,13577 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: flex.proto -// Protobuf C++ Version: 5.29.2 - -#include "flex.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 flex { - -inline constexpr WorkRequest_Segment::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : offset_start_{::int64_t{0}}, - offset_stop_{::int64_t{0}}, - parts_start_{0}, - parts_stop_{0}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR WorkRequest_Segment::WorkRequest_Segment(::_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 WorkRequest_SegmentDefaultTypeInternal { - PROTOBUF_CONSTEXPR WorkRequest_SegmentDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~WorkRequest_SegmentDefaultTypeInternal() {} - union { - WorkRequest_Segment _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WorkRequest_SegmentDefaultTypeInternal _WorkRequest_Segment_default_instance_; - -inline constexpr Work_Status::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : message_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - state_{static_cast< ::flex::Work_State >(0)}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR Work_Status::Work_Status(::_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 Work_StatusDefaultTypeInternal { - PROTOBUF_CONSTEXPR Work_StatusDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~Work_StatusDefaultTypeInternal() {} - union { - Work_Status _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Work_StatusDefaultTypeInternal _Work_Status_default_instance_; - -inline constexpr Work_Part::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : entity_tag_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - checksum_sha256_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - offset_start_{::int64_t{0}}, - offset_stop_{::int64_t{0}}, - part_number_{0}, - completed_{false}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR Work_Part::Work_Part(::_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 Work_PartDefaultTypeInternal { - PROTOBUF_CONSTEXPR Work_PartDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~Work_PartDefaultTypeInternal() {} - union { - Work_Part _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Work_PartDefaultTypeInternal _Work_Part_default_instance_; - -inline constexpr UpdateWorkRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : job_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - request_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - new_state_{static_cast< ::flex::UpdateWorkRequest_NewState >(0)}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR UpdateWorkRequest::UpdateWorkRequest(::_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 UpdateWorkRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR UpdateWorkRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UpdateWorkRequestDefaultTypeInternal() {} - union { - UpdateWorkRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateWorkRequestDefaultTypeInternal _UpdateWorkRequest_default_instance_; - -inline constexpr UpdateConfigResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : message_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - result_{static_cast< ::flex::UpdateConfigResponse_Result >(0)}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR UpdateConfigResponse::UpdateConfigResponse(::_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 UpdateConfigResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR UpdateConfigResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UpdateConfigResponseDefaultTypeInternal() {} - union { - UpdateConfigResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateConfigResponseDefaultTypeInternal _UpdateConfigResponse_default_instance_; - template -PROTOBUF_CONSTEXPR SyncJob_MetadataEntry_DoNotUse::SyncJob_MetadataEntry_DoNotUse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : SyncJob_MetadataEntry_DoNotUse::MapEntry(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : SyncJob_MetadataEntry_DoNotUse::MapEntry() { -} -#endif // PROTOBUF_CUSTOM_VTABLE -struct SyncJob_MetadataEntry_DoNotUseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SyncJob_MetadataEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SyncJob_MetadataEntry_DoNotUseDefaultTypeInternal() {} - union { - SyncJob_MetadataEntry_DoNotUse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SyncJob_MetadataEntry_DoNotUseDefaultTypeInternal _SyncJob_MetadataEntry_DoNotUse_default_instance_; - -inline constexpr RemoteStorageTarget_S3_StorageClass_Archival::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : retrieval_tier_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - check_time_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - recheck_time_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - retention_days_{0}, - auto_restore_{false}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR RemoteStorageTarget_S3_StorageClass_Archival::RemoteStorageTarget_S3_StorageClass_Archival(::_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 RemoteStorageTarget_S3_StorageClass_ArchivalDefaultTypeInternal { - PROTOBUF_CONSTEXPR RemoteStorageTarget_S3_StorageClass_ArchivalDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~RemoteStorageTarget_S3_StorageClass_ArchivalDefaultTypeInternal() {} - union { - RemoteStorageTarget_S3_StorageClass_Archival _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteStorageTarget_S3_StorageClass_ArchivalDefaultTypeInternal _RemoteStorageTarget_S3_StorageClass_Archival_default_instance_; - -inline constexpr RemoteStorageTarget_Policies::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : fast_start_max_size_{::int64_t{0}}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR RemoteStorageTarget_Policies::RemoteStorageTarget_Policies(::_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 RemoteStorageTarget_PoliciesDefaultTypeInternal { - PROTOBUF_CONSTEXPR RemoteStorageTarget_PoliciesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~RemoteStorageTarget_PoliciesDefaultTypeInternal() {} - union { - RemoteStorageTarget_Policies _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteStorageTarget_PoliciesDefaultTypeInternal _RemoteStorageTarget_Policies_default_instance_; - -inline constexpr RemoteStorageTarget_POSIX::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR RemoteStorageTarget_POSIX::RemoteStorageTarget_POSIX(::_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 RemoteStorageTarget_POSIXDefaultTypeInternal { - PROTOBUF_CONSTEXPR RemoteStorageTarget_POSIXDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~RemoteStorageTarget_POSIXDefaultTypeInternal() {} - union { - RemoteStorageTarget_POSIX _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteStorageTarget_POSIXDefaultTypeInternal _RemoteStorageTarget_POSIX_default_instance_; - template -PROTOBUF_CONSTEXPR JobRequestCfg_MetadataEntry_DoNotUse::JobRequestCfg_MetadataEntry_DoNotUse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : JobRequestCfg_MetadataEntry_DoNotUse::MapEntry(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : JobRequestCfg_MetadataEntry_DoNotUse::MapEntry() { -} -#endif // PROTOBUF_CUSTOM_VTABLE -struct JobRequestCfg_MetadataEntry_DoNotUseDefaultTypeInternal { - PROTOBUF_CONSTEXPR JobRequestCfg_MetadataEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~JobRequestCfg_MetadataEntry_DoNotUseDefaultTypeInternal() {} - union { - JobRequestCfg_MetadataEntry_DoNotUse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobRequestCfg_MetadataEntry_DoNotUseDefaultTypeInternal _JobRequestCfg_MetadataEntry_DoNotUse_default_instance_; - -inline constexpr HeartbeatRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : include_stats_{false}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR HeartbeatRequest::HeartbeatRequest(::_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 HeartbeatRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR HeartbeatRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~HeartbeatRequestDefaultTypeInternal() {} - union { - HeartbeatRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HeartbeatRequestDefaultTypeInternal _HeartbeatRequest_default_instance_; - template -PROTOBUF_CONSTEXPR GetCapabilitiesRequest::GetCapabilitiesRequest(::_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 GetCapabilitiesRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetCapabilitiesRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetCapabilitiesRequestDefaultTypeInternal() {} - union { - GetCapabilitiesRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetCapabilitiesRequestDefaultTypeInternal _GetCapabilitiesRequest_default_instance_; - -inline constexpr Feature::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : sub_feature_{}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR Feature::Feature(::_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 FeatureDefaultTypeInternal { - PROTOBUF_CONSTEXPR FeatureDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~FeatureDefaultTypeInternal() {} - union { - Feature _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FeatureDefaultTypeInternal _Feature_default_instance_; - template -PROTOBUF_CONSTEXPR Feature_SubFeatureEntry_DoNotUse::Feature_SubFeatureEntry_DoNotUse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : Feature_SubFeatureEntry_DoNotUse::MapEntry(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : Feature_SubFeatureEntry_DoNotUse::MapEntry() { -} -#endif // PROTOBUF_CUSTOM_VTABLE -struct Feature_SubFeatureEntry_DoNotUseDefaultTypeInternal { - PROTOBUF_CONSTEXPR Feature_SubFeatureEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~Feature_SubFeatureEntry_DoNotUseDefaultTypeInternal() {} - union { - Feature_SubFeatureEntry_DoNotUse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Feature_SubFeatureEntry_DoNotUseDefaultTypeInternal _Feature_SubFeatureEntry_DoNotUse_default_instance_; - -inline constexpr BulkUpdateWorkResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : message_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - success_{false}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR BulkUpdateWorkResponse::BulkUpdateWorkResponse(::_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 BulkUpdateWorkResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR BulkUpdateWorkResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~BulkUpdateWorkResponseDefaultTypeInternal() {} - union { - BulkUpdateWorkResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BulkUpdateWorkResponseDefaultTypeInternal _BulkUpdateWorkResponse_default_instance_; - -inline constexpr BulkUpdateWorkRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : new_state_{static_cast< ::flex::BulkUpdateWorkRequest_NewState >(0)}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR BulkUpdateWorkRequest::BulkUpdateWorkRequest(::_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 BulkUpdateWorkRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR BulkUpdateWorkRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~BulkUpdateWorkRequestDefaultTypeInternal() {} - union { - BulkUpdateWorkRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BulkUpdateWorkRequestDefaultTypeInternal _BulkUpdateWorkRequest_default_instance_; - -inline constexpr BuildInfo::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : binary_name_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - version_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - commit_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - build_time_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR BuildInfo::BuildInfo(::_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 BuildInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR BuildInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~BuildInfoDefaultTypeInternal() {} - union { - BuildInfo _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BuildInfoDefaultTypeInternal _BuildInfo_default_instance_; - -inline constexpr BeeRemoteNode::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - address_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - mgmtd_address_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - mgmtd_tls_cert_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - auth_secret_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - mgmtd_tls_disable_verification_{false}, - mgmtd_tls_disable_{false}, - mgmtd_use_proxy_{false}, - auth_disable_{false}, - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR BeeRemoteNode::BeeRemoteNode(::_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 BeeRemoteNodeDefaultTypeInternal { - PROTOBUF_CONSTEXPR BeeRemoteNodeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~BeeRemoteNodeDefaultTypeInternal() {} - union { - BeeRemoteNode _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BeeRemoteNodeDefaultTypeInternal _BeeRemoteNode_default_instance_; - -inline constexpr Work::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - parts_{}, - path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - job_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - request_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - status_{nullptr}, - job_builder_{false} {} - -template -PROTOBUF_CONSTEXPR Work::Work(::_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 WorkDefaultTypeInternal { - PROTOBUF_CONSTEXPR WorkDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~WorkDefaultTypeInternal() {} - union { - Work _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WorkDefaultTypeInternal _Work_default_instance_; - -inline constexpr RemoteStorageTarget_S3_StorageClass::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - name_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - archival_{nullptr} {} - -template -PROTOBUF_CONSTEXPR RemoteStorageTarget_S3_StorageClass::RemoteStorageTarget_S3_StorageClass(::_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 RemoteStorageTarget_S3_StorageClassDefaultTypeInternal { - PROTOBUF_CONSTEXPR RemoteStorageTarget_S3_StorageClassDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~RemoteStorageTarget_S3_StorageClassDefaultTypeInternal() {} - union { - RemoteStorageTarget_S3_StorageClass _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteStorageTarget_S3_StorageClassDefaultTypeInternal _RemoteStorageTarget_S3_StorageClass_default_instance_; - -inline constexpr NodeStats::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - timestamp_{nullptr}, - active_requests_{::int64_t{0}} {} - -template -PROTOBUF_CONSTEXPR NodeStats::NodeStats(::_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 NodeStatsDefaultTypeInternal { - PROTOBUF_CONSTEXPR NodeStatsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~NodeStatsDefaultTypeInternal() {} - union { - NodeStats _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 NodeStatsDefaultTypeInternal _NodeStats_default_instance_; - -inline constexpr JobLockedInfo::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - stub_url_path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - externalid_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - mtime_{nullptr}, - remote_mtime_{nullptr}, - size_{::int64_t{0}}, - mode_{0u}, - read_write_locked_{false}, - exists_{false}, - is_archived_{false}, - remote_size_{::int64_t{0}}, - stub_url_rst_id_{0u} {} - -template -PROTOBUF_CONSTEXPR JobLockedInfo::JobLockedInfo(::_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 JobLockedInfoDefaultTypeInternal { - PROTOBUF_CONSTEXPR JobLockedInfoDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~JobLockedInfoDefaultTypeInternal() {} - union { - JobLockedInfo _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobLockedInfoDefaultTypeInternal _JobLockedInfo_default_instance_; - template -PROTOBUF_CONSTEXPR GetCapabilitiesResponse_FeaturesEntry_DoNotUse::GetCapabilitiesResponse_FeaturesEntry_DoNotUse(::_pbi::ConstantInitialized) -#if defined(PROTOBUF_CUSTOM_VTABLE) - : GetCapabilitiesResponse_FeaturesEntry_DoNotUse::MapEntry(_class_data_.base()){} -#else // PROTOBUF_CUSTOM_VTABLE - : GetCapabilitiesResponse_FeaturesEntry_DoNotUse::MapEntry() { -} -#endif // PROTOBUF_CUSTOM_VTABLE -struct GetCapabilitiesResponse_FeaturesEntry_DoNotUseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetCapabilitiesResponse_FeaturesEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetCapabilitiesResponse_FeaturesEntry_DoNotUseDefaultTypeInternal() {} - union { - GetCapabilitiesResponse_FeaturesEntry_DoNotUse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetCapabilitiesResponse_FeaturesEntry_DoNotUseDefaultTypeInternal _GetCapabilitiesResponse_FeaturesEntry_DoNotUse_default_instance_; - -inline constexpr UpdateWorkResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - work_{nullptr} {} - -template -PROTOBUF_CONSTEXPR UpdateWorkResponse::UpdateWorkResponse(::_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 UpdateWorkResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR UpdateWorkResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UpdateWorkResponseDefaultTypeInternal() {} - union { - UpdateWorkResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateWorkResponseDefaultTypeInternal _UpdateWorkResponse_default_instance_; - -inline constexpr SyncJob::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - metadata_{}, - remote_path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - tagging_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - storage_class_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - locked_info_{nullptr}, - operation_{static_cast< ::flex::SyncJob_Operation >(0)}, - overwrite_{false}, - flatten_{false}, - update_{false}, - allow_restore_{false} {} - -template -PROTOBUF_CONSTEXPR SyncJob::SyncJob(::_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 SyncJobDefaultTypeInternal { - PROTOBUF_CONSTEXPR SyncJobDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SyncJobDefaultTypeInternal() {} - union { - SyncJob _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SyncJobDefaultTypeInternal _SyncJob_default_instance_; - -inline constexpr SubmitWorkResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - work_{nullptr} {} - -template -PROTOBUF_CONSTEXPR SubmitWorkResponse::SubmitWorkResponse(::_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 SubmitWorkResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubmitWorkResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SubmitWorkResponseDefaultTypeInternal() {} - union { - SubmitWorkResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubmitWorkResponseDefaultTypeInternal _SubmitWorkResponse_default_instance_; - -inline constexpr RemoteStorageTarget_S3::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : storage_class_{}, - endpoint_url_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - partition_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - region_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - bucket_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - access_key_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - secret_key_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - _cached_size_{0} {} - -template -PROTOBUF_CONSTEXPR RemoteStorageTarget_S3::RemoteStorageTarget_S3(::_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 RemoteStorageTarget_S3DefaultTypeInternal { - PROTOBUF_CONSTEXPR RemoteStorageTarget_S3DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~RemoteStorageTarget_S3DefaultTypeInternal() {} - union { - RemoteStorageTarget_S3 _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteStorageTarget_S3DefaultTypeInternal _RemoteStorageTarget_S3_default_instance_; - -inline constexpr JobRequestCfg::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - metadata_{}, - path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - remotepath_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - storage_class_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - tagging_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - filter_expr_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - locked_info_{nullptr}, - remotestoragetarget_{0u}, - download_{false}, - stub_local_{false}, - overwrite_{false}, - flatten_{false}, - priority_{0}, - force_{false}, - update_{false}, - allow_restore_{false} {} - -template -PROTOBUF_CONSTEXPR JobRequestCfg::JobRequestCfg(::_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 JobRequestCfgDefaultTypeInternal { - PROTOBUF_CONSTEXPR JobRequestCfgDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~JobRequestCfgDefaultTypeInternal() {} - union { - JobRequestCfg _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 JobRequestCfgDefaultTypeInternal _JobRequestCfg_default_instance_; - -inline constexpr HeartbeatResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - node_stats_{nullptr}, - is_ready_{false} {} - -template -PROTOBUF_CONSTEXPR HeartbeatResponse::HeartbeatResponse(::_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 HeartbeatResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR HeartbeatResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~HeartbeatResponseDefaultTypeInternal() {} - union { - HeartbeatResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 HeartbeatResponseDefaultTypeInternal _HeartbeatResponse_default_instance_; - -inline constexpr GetCapabilitiesResponse::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - features_{}, - build_info_{nullptr}, - start_timestamp_{nullptr} {} - -template -PROTOBUF_CONSTEXPR GetCapabilitiesResponse::GetCapabilitiesResponse(::_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 GetCapabilitiesResponseDefaultTypeInternal { - PROTOBUF_CONSTEXPR GetCapabilitiesResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~GetCapabilitiesResponseDefaultTypeInternal() {} - union { - GetCapabilitiesResponse _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 GetCapabilitiesResponseDefaultTypeInternal _GetCapabilitiesResponse_default_instance_; - -inline constexpr RemoteStorageTarget_Azure::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - account_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - s3_{nullptr} {} - -template -PROTOBUF_CONSTEXPR RemoteStorageTarget_Azure::RemoteStorageTarget_Azure(::_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 RemoteStorageTarget_AzureDefaultTypeInternal { - PROTOBUF_CONSTEXPR RemoteStorageTarget_AzureDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~RemoteStorageTarget_AzureDefaultTypeInternal() {} - union { - RemoteStorageTarget_Azure _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteStorageTarget_AzureDefaultTypeInternal _RemoteStorageTarget_Azure_default_instance_; - -inline constexpr MockJob::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - external_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - locked_info_{nullptr}, - cfg_{nullptr}, - file_size_{::int64_t{0}}, - num_test_segments_{0}, - should_fail_{false} {} - -template -PROTOBUF_CONSTEXPR MockJob::MockJob(::_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 MockJobDefaultTypeInternal { - PROTOBUF_CONSTEXPR MockJobDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~MockJobDefaultTypeInternal() {} - union { - MockJob _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MockJobDefaultTypeInternal _MockJob_default_instance_; - -inline constexpr BuilderJob::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - cfg_{nullptr}, - submitted_{0}, - errors_{0} {} - -template -PROTOBUF_CONSTEXPR BuilderJob::BuilderJob(::_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 BuilderJobDefaultTypeInternal { - PROTOBUF_CONSTEXPR BuilderJobDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~BuilderJobDefaultTypeInternal() {} - union { - BuilderJob _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BuilderJobDefaultTypeInternal _BuilderJob_default_instance_; - -inline constexpr WorkRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - job_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - request_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - external_id_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - path_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - segment_{nullptr}, - remote_storage_target_{0u}, - stub_local_{false}, - priority_{0}, - Type_{}, - _oneof_case_{} {} - -template -PROTOBUF_CONSTEXPR WorkRequest::WorkRequest(::_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 WorkRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR WorkRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~WorkRequestDefaultTypeInternal() {} - union { - WorkRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WorkRequestDefaultTypeInternal _WorkRequest_default_instance_; - -inline constexpr RemoteStorageTarget::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - name_( - &::google::protobuf::internal::fixed_address_empty_string, - ::_pbi::ConstantInitialized()), - policies_{nullptr}, - id_{0u}, - type_{}, - _oneof_case_{} {} - -template -PROTOBUF_CONSTEXPR RemoteStorageTarget::RemoteStorageTarget(::_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 RemoteStorageTargetDefaultTypeInternal { - PROTOBUF_CONSTEXPR RemoteStorageTargetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~RemoteStorageTargetDefaultTypeInternal() {} - union { - RemoteStorageTarget _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 RemoteStorageTargetDefaultTypeInternal _RemoteStorageTarget_default_instance_; - -inline constexpr UpdateConfigRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - rsts_{}, - bee_remote_{nullptr} {} - -template -PROTOBUF_CONSTEXPR UpdateConfigRequest::UpdateConfigRequest(::_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 UpdateConfigRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR UpdateConfigRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~UpdateConfigRequestDefaultTypeInternal() {} - union { - UpdateConfigRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 UpdateConfigRequestDefaultTypeInternal _UpdateConfigRequest_default_instance_; - -inline constexpr SubmitWorkRequest::Impl_::Impl_( - ::_pbi::ConstantInitialized) noexcept - : _cached_size_{0}, - request_{nullptr} {} - -template -PROTOBUF_CONSTEXPR SubmitWorkRequest::SubmitWorkRequest(::_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 SubmitWorkRequestDefaultTypeInternal { - PROTOBUF_CONSTEXPR SubmitWorkRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} - ~SubmitWorkRequestDefaultTypeInternal() {} - union { - SubmitWorkRequest _instance; - }; -}; - -PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 SubmitWorkRequestDefaultTypeInternal _SubmitWorkRequest_default_instance_; -} // namespace flex -static const ::_pb::EnumDescriptor* file_level_enum_descriptors_flex_2eproto[5]; -static constexpr const ::_pb::ServiceDescriptor** - file_level_service_descriptors_flex_2eproto = nullptr; -const ::uint32_t - TableStruct_flex_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::HeartbeatRequest, _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(::flex::HeartbeatRequest, _impl_.include_stats_), - PROTOBUF_FIELD_OFFSET(::flex::HeartbeatResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::HeartbeatResponse, _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(::flex::HeartbeatResponse, _impl_.is_ready_), - PROTOBUF_FIELD_OFFSET(::flex::HeartbeatResponse, _impl_.node_stats_), - ~0u, - 0, - PROTOBUF_FIELD_OFFSET(::flex::NodeStats, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::NodeStats, _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(::flex::NodeStats, _impl_.timestamp_), - PROTOBUF_FIELD_OFFSET(::flex::NodeStats, _impl_.active_requests_), - 0, - ~0u, - PROTOBUF_FIELD_OFFSET(::flex::SubmitWorkRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::SubmitWorkRequest, _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(::flex::SubmitWorkRequest, _impl_.request_), - 0, - PROTOBUF_FIELD_OFFSET(::flex::SubmitWorkResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::SubmitWorkResponse, _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(::flex::SubmitWorkResponse, _impl_.work_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::UpdateWorkRequest, _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(::flex::UpdateWorkRequest, _impl_.job_id_), - PROTOBUF_FIELD_OFFSET(::flex::UpdateWorkRequest, _impl_.request_id_), - PROTOBUF_FIELD_OFFSET(::flex::UpdateWorkRequest, _impl_.new_state_), - PROTOBUF_FIELD_OFFSET(::flex::UpdateWorkResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::UpdateWorkResponse, _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(::flex::UpdateWorkResponse, _impl_.work_), - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::BulkUpdateWorkRequest, _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(::flex::BulkUpdateWorkRequest, _impl_.new_state_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::BulkUpdateWorkResponse, _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(::flex::BulkUpdateWorkResponse, _impl_.success_), - PROTOBUF_FIELD_OFFSET(::flex::BulkUpdateWorkResponse, _impl_.message_), - PROTOBUF_FIELD_OFFSET(::flex::JobLockedInfo, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::JobLockedInfo, _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(::flex::JobLockedInfo, _impl_.read_write_locked_), - PROTOBUF_FIELD_OFFSET(::flex::JobLockedInfo, _impl_.exists_), - PROTOBUF_FIELD_OFFSET(::flex::JobLockedInfo, _impl_.size_), - PROTOBUF_FIELD_OFFSET(::flex::JobLockedInfo, _impl_.mode_), - PROTOBUF_FIELD_OFFSET(::flex::JobLockedInfo, _impl_.mtime_), - PROTOBUF_FIELD_OFFSET(::flex::JobLockedInfo, _impl_.remote_size_), - PROTOBUF_FIELD_OFFSET(::flex::JobLockedInfo, _impl_.remote_mtime_), - PROTOBUF_FIELD_OFFSET(::flex::JobLockedInfo, _impl_.stub_url_rst_id_), - PROTOBUF_FIELD_OFFSET(::flex::JobLockedInfo, _impl_.stub_url_path_), - PROTOBUF_FIELD_OFFSET(::flex::JobLockedInfo, _impl_.externalid_), - PROTOBUF_FIELD_OFFSET(::flex::JobLockedInfo, _impl_.is_archived_), - ~0u, - ~0u, - ~0u, - ~0u, - 0, - ~0u, - 1, - ~0u, - ~0u, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg_MetadataEntry_DoNotUse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg_MetadataEntry_DoNotUse, _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(::flex::JobRequestCfg_MetadataEntry_DoNotUse, _impl_.key_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg_MetadataEntry_DoNotUse, _impl_.value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _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(::flex::JobRequestCfg, _impl_.remotestoragetarget_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.path_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.remotepath_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.download_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.stub_local_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.overwrite_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.flatten_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.force_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.locked_info_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.update_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.metadata_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.tagging_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.priority_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.storage_class_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.allow_restore_), - PROTOBUF_FIELD_OFFSET(::flex::JobRequestCfg, _impl_.filter_expr_), - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - 3, - 5, - ~0u, - 1, - 4, - 0, - 6, - 2, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest_Segment, _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(::flex::WorkRequest_Segment, _impl_.offset_start_), - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest_Segment, _impl_.offset_stop_), - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest_Segment, _impl_.parts_start_), - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest_Segment, _impl_.parts_stop_), - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.job_id_), - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.request_id_), - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.external_id_), - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.path_), - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.segment_), - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.remote_storage_target_), - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.stub_local_), - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.priority_), - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_.Type_), - ~0u, - ~0u, - ~0u, - ~0u, - 0, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _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(::flex::BuilderJob, _impl_.cfg_), - PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _impl_.submitted_), - PROTOBUF_FIELD_OFFSET(::flex::BuilderJob, _impl_.errors_), - 0, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::flex::MockJob, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::MockJob, _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(::flex::MockJob, _impl_.num_test_segments_), - PROTOBUF_FIELD_OFFSET(::flex::MockJob, _impl_.file_size_), - PROTOBUF_FIELD_OFFSET(::flex::MockJob, _impl_.external_id_), - PROTOBUF_FIELD_OFFSET(::flex::MockJob, _impl_.should_fail_), - PROTOBUF_FIELD_OFFSET(::flex::MockJob, _impl_.locked_info_), - PROTOBUF_FIELD_OFFSET(::flex::MockJob, _impl_.cfg_), - ~0u, - ~0u, - ~0u, - ~0u, - 0, - 1, - PROTOBUF_FIELD_OFFSET(::flex::SyncJob_MetadataEntry_DoNotUse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::SyncJob_MetadataEntry_DoNotUse, _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(::flex::SyncJob_MetadataEntry_DoNotUse, _impl_.key_), - PROTOBUF_FIELD_OFFSET(::flex::SyncJob_MetadataEntry_DoNotUse, _impl_.value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::flex::SyncJob, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::SyncJob, _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(::flex::SyncJob, _impl_.operation_), - PROTOBUF_FIELD_OFFSET(::flex::SyncJob, _impl_.overwrite_), - PROTOBUF_FIELD_OFFSET(::flex::SyncJob, _impl_.remote_path_), - PROTOBUF_FIELD_OFFSET(::flex::SyncJob, _impl_.flatten_), - PROTOBUF_FIELD_OFFSET(::flex::SyncJob, _impl_.locked_info_), - PROTOBUF_FIELD_OFFSET(::flex::SyncJob, _impl_.update_), - PROTOBUF_FIELD_OFFSET(::flex::SyncJob, _impl_.metadata_), - PROTOBUF_FIELD_OFFSET(::flex::SyncJob, _impl_.tagging_), - PROTOBUF_FIELD_OFFSET(::flex::SyncJob, _impl_.storage_class_), - PROTOBUF_FIELD_OFFSET(::flex::SyncJob, _impl_.allow_restore_), - ~0u, - ~0u, - ~0u, - ~0u, - 2, - 3, - ~0u, - 0, - 1, - 4, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::Work_Status, _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(::flex::Work_Status, _impl_.state_), - PROTOBUF_FIELD_OFFSET(::flex::Work_Status, _impl_.message_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::Work_Part, _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(::flex::Work_Part, _impl_.part_number_), - PROTOBUF_FIELD_OFFSET(::flex::Work_Part, _impl_.offset_start_), - PROTOBUF_FIELD_OFFSET(::flex::Work_Part, _impl_.offset_stop_), - PROTOBUF_FIELD_OFFSET(::flex::Work_Part, _impl_.entity_tag_), - PROTOBUF_FIELD_OFFSET(::flex::Work_Part, _impl_.checksum_sha256_), - PROTOBUF_FIELD_OFFSET(::flex::Work_Part, _impl_.completed_), - PROTOBUF_FIELD_OFFSET(::flex::Work, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::Work, _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(::flex::Work, _impl_.path_), - PROTOBUF_FIELD_OFFSET(::flex::Work, _impl_.job_id_), - PROTOBUF_FIELD_OFFSET(::flex::Work, _impl_.request_id_), - PROTOBUF_FIELD_OFFSET(::flex::Work, _impl_.status_), - PROTOBUF_FIELD_OFFSET(::flex::Work, _impl_.parts_), - PROTOBUF_FIELD_OFFSET(::flex::Work, _impl_.job_builder_), - ~0u, - ~0u, - ~0u, - 0, - ~0u, - ~0u, - PROTOBUF_FIELD_OFFSET(::flex::UpdateConfigRequest, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::UpdateConfigRequest, _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(::flex::UpdateConfigRequest, _impl_.bee_remote_), - PROTOBUF_FIELD_OFFSET(::flex::UpdateConfigRequest, _impl_.rsts_), - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::UpdateConfigResponse, _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(::flex::UpdateConfigResponse, _impl_.result_), - PROTOBUF_FIELD_OFFSET(::flex::UpdateConfigResponse, _impl_.message_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::BeeRemoteNode, _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(::flex::BeeRemoteNode, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::flex::BeeRemoteNode, _impl_.address_), - PROTOBUF_FIELD_OFFSET(::flex::BeeRemoteNode, _impl_.mgmtd_address_), - PROTOBUF_FIELD_OFFSET(::flex::BeeRemoteNode, _impl_.mgmtd_tls_cert_), - PROTOBUF_FIELD_OFFSET(::flex::BeeRemoteNode, _impl_.mgmtd_tls_disable_verification_), - PROTOBUF_FIELD_OFFSET(::flex::BeeRemoteNode, _impl_.mgmtd_tls_disable_), - PROTOBUF_FIELD_OFFSET(::flex::BeeRemoteNode, _impl_.mgmtd_use_proxy_), - PROTOBUF_FIELD_OFFSET(::flex::BeeRemoteNode, _impl_.auth_secret_), - PROTOBUF_FIELD_OFFSET(::flex::BeeRemoteNode, _impl_.auth_disable_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_Policies, _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(::flex::RemoteStorageTarget_Policies, _impl_.fast_start_max_size_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3_StorageClass_Archival, _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(::flex::RemoteStorageTarget_S3_StorageClass_Archival, _impl_.retrieval_tier_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3_StorageClass_Archival, _impl_.retention_days_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3_StorageClass_Archival, _impl_.check_time_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3_StorageClass_Archival, _impl_.recheck_time_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3_StorageClass_Archival, _impl_.auto_restore_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3_StorageClass, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3_StorageClass, _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(::flex::RemoteStorageTarget_S3_StorageClass, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3_StorageClass, _impl_.archival_), - ~0u, - 0, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3, _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(::flex::RemoteStorageTarget_S3, _impl_.endpoint_url_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3, _impl_.partition_id_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3, _impl_.region_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3, _impl_.bucket_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3, _impl_.access_key_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3, _impl_.secret_key_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_S3, _impl_.storage_class_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_Azure, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_Azure, _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(::flex::RemoteStorageTarget_Azure, _impl_.s3_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_Azure, _impl_.account_), - 0, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget_POSIX, _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(::flex::RemoteStorageTarget_POSIX, _impl_.path_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget, _internal_metadata_), - ~0u, // no _extensions_ - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget, _impl_._oneof_case_[0]), - ~0u, // no _weak_field_map_ - ~0u, // no _inlined_string_donated_ - ~0u, // no _split_ - ~0u, // no sizeof(Split) - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget, _impl_.id_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget, _impl_.name_), - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget, _impl_.policies_), - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - ::_pbi::kInvalidFieldOffsetTag, - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget, _impl_.type_), - ~0u, - ~0u, - 0, - ~0u, - ~0u, - ~0u, - ~0u, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::GetCapabilitiesRequest, _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(::flex::GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _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(::flex::GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_.key_), - PROTOBUF_FIELD_OFFSET(::flex::GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_.value_), - 0, - 1, - PROTOBUF_FIELD_OFFSET(::flex::GetCapabilitiesResponse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::GetCapabilitiesResponse, _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(::flex::GetCapabilitiesResponse, _impl_.build_info_), - PROTOBUF_FIELD_OFFSET(::flex::GetCapabilitiesResponse, _impl_.features_), - PROTOBUF_FIELD_OFFSET(::flex::GetCapabilitiesResponse, _impl_.start_timestamp_), - 0, - ~0u, - 1, - PROTOBUF_FIELD_OFFSET(::flex::Feature_SubFeatureEntry_DoNotUse, _impl_._has_bits_), - PROTOBUF_FIELD_OFFSET(::flex::Feature_SubFeatureEntry_DoNotUse, _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(::flex::Feature_SubFeatureEntry_DoNotUse, _impl_.key_), - PROTOBUF_FIELD_OFFSET(::flex::Feature_SubFeatureEntry_DoNotUse, _impl_.value_), - 0, - 1, - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::Feature, _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(::flex::Feature, _impl_.sub_feature_), - ~0u, // no _has_bits_ - PROTOBUF_FIELD_OFFSET(::flex::BuildInfo, _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(::flex::BuildInfo, _impl_.binary_name_), - PROTOBUF_FIELD_OFFSET(::flex::BuildInfo, _impl_.version_), - PROTOBUF_FIELD_OFFSET(::flex::BuildInfo, _impl_.commit_), - PROTOBUF_FIELD_OFFSET(::flex::BuildInfo, _impl_.build_time_), -}; - -static const ::_pbi::MigrationSchema - schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { - {0, -1, -1, sizeof(::flex::HeartbeatRequest)}, - {9, 19, -1, sizeof(::flex::HeartbeatResponse)}, - {21, 31, -1, sizeof(::flex::NodeStats)}, - {33, 42, -1, sizeof(::flex::SubmitWorkRequest)}, - {43, 52, -1, sizeof(::flex::SubmitWorkResponse)}, - {53, -1, -1, sizeof(::flex::UpdateWorkRequest)}, - {64, 73, -1, sizeof(::flex::UpdateWorkResponse)}, - {74, -1, -1, sizeof(::flex::BulkUpdateWorkRequest)}, - {83, -1, -1, sizeof(::flex::BulkUpdateWorkResponse)}, - {93, 112, -1, sizeof(::flex::JobLockedInfo)}, - {123, 133, -1, sizeof(::flex::JobRequestCfg_MetadataEntry_DoNotUse)}, - {135, 159, -1, sizeof(::flex::JobRequestCfg)}, - {175, -1, -1, sizeof(::flex::WorkRequest_Segment)}, - {187, 207, -1, sizeof(::flex::WorkRequest)}, - {218, 229, -1, sizeof(::flex::BuilderJob)}, - {232, 246, -1, sizeof(::flex::MockJob)}, - {252, 262, -1, sizeof(::flex::SyncJob_MetadataEntry_DoNotUse)}, - {264, 282, -1, sizeof(::flex::SyncJob)}, - {292, -1, -1, sizeof(::flex::Work_Status)}, - {302, -1, -1, sizeof(::flex::Work_Part)}, - {316, 330, -1, sizeof(::flex::Work)}, - {336, 346, -1, sizeof(::flex::UpdateConfigRequest)}, - {348, -1, -1, sizeof(::flex::UpdateConfigResponse)}, - {358, -1, -1, sizeof(::flex::BeeRemoteNode)}, - {375, -1, -1, sizeof(::flex::RemoteStorageTarget_Policies)}, - {384, -1, -1, sizeof(::flex::RemoteStorageTarget_S3_StorageClass_Archival)}, - {397, 407, -1, sizeof(::flex::RemoteStorageTarget_S3_StorageClass)}, - {409, -1, -1, sizeof(::flex::RemoteStorageTarget_S3)}, - {424, 434, -1, sizeof(::flex::RemoteStorageTarget_Azure)}, - {436, -1, -1, sizeof(::flex::RemoteStorageTarget_POSIX)}, - {445, 461, -1, sizeof(::flex::RemoteStorageTarget)}, - {468, -1, -1, sizeof(::flex::GetCapabilitiesRequest)}, - {476, 486, -1, sizeof(::flex::GetCapabilitiesResponse_FeaturesEntry_DoNotUse)}, - {488, 499, -1, sizeof(::flex::GetCapabilitiesResponse)}, - {502, 512, -1, sizeof(::flex::Feature_SubFeatureEntry_DoNotUse)}, - {514, -1, -1, sizeof(::flex::Feature)}, - {523, -1, -1, sizeof(::flex::BuildInfo)}, -}; -static const ::_pb::Message* const file_default_instances[] = { - &::flex::_HeartbeatRequest_default_instance_._instance, - &::flex::_HeartbeatResponse_default_instance_._instance, - &::flex::_NodeStats_default_instance_._instance, - &::flex::_SubmitWorkRequest_default_instance_._instance, - &::flex::_SubmitWorkResponse_default_instance_._instance, - &::flex::_UpdateWorkRequest_default_instance_._instance, - &::flex::_UpdateWorkResponse_default_instance_._instance, - &::flex::_BulkUpdateWorkRequest_default_instance_._instance, - &::flex::_BulkUpdateWorkResponse_default_instance_._instance, - &::flex::_JobLockedInfo_default_instance_._instance, - &::flex::_JobRequestCfg_MetadataEntry_DoNotUse_default_instance_._instance, - &::flex::_JobRequestCfg_default_instance_._instance, - &::flex::_WorkRequest_Segment_default_instance_._instance, - &::flex::_WorkRequest_default_instance_._instance, - &::flex::_BuilderJob_default_instance_._instance, - &::flex::_MockJob_default_instance_._instance, - &::flex::_SyncJob_MetadataEntry_DoNotUse_default_instance_._instance, - &::flex::_SyncJob_default_instance_._instance, - &::flex::_Work_Status_default_instance_._instance, - &::flex::_Work_Part_default_instance_._instance, - &::flex::_Work_default_instance_._instance, - &::flex::_UpdateConfigRequest_default_instance_._instance, - &::flex::_UpdateConfigResponse_default_instance_._instance, - &::flex::_BeeRemoteNode_default_instance_._instance, - &::flex::_RemoteStorageTarget_Policies_default_instance_._instance, - &::flex::_RemoteStorageTarget_S3_StorageClass_Archival_default_instance_._instance, - &::flex::_RemoteStorageTarget_S3_StorageClass_default_instance_._instance, - &::flex::_RemoteStorageTarget_S3_default_instance_._instance, - &::flex::_RemoteStorageTarget_Azure_default_instance_._instance, - &::flex::_RemoteStorageTarget_POSIX_default_instance_._instance, - &::flex::_RemoteStorageTarget_default_instance_._instance, - &::flex::_GetCapabilitiesRequest_default_instance_._instance, - &::flex::_GetCapabilitiesResponse_FeaturesEntry_DoNotUse_default_instance_._instance, - &::flex::_GetCapabilitiesResponse_default_instance_._instance, - &::flex::_Feature_SubFeatureEntry_DoNotUse_default_instance_._instance, - &::flex::_Feature_default_instance_._instance, - &::flex::_BuildInfo_default_instance_._instance, -}; -const char descriptor_table_protodef_flex_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( - protodesc_cold) = { - "\n\nflex.proto\022\004flex\032\037google/protobuf/time" - "stamp.proto\")\n\020HeartbeatRequest\022\025\n\rinclu" - "de_stats\030\001 \001(\010\"J\n\021HeartbeatResponse\022\020\n\010i" - "s_ready\030\001 \001(\010\022#\n\nnode_stats\030\002 \001(\0132\017.flex" - ".NodeStats\"S\n\tNodeStats\022-\n\ttimestamp\030\001 \001" - "(\0132\032.google.protobuf.Timestamp\022\027\n\017active" - "_requests\030\002 \001(\003\"7\n\021SubmitWorkRequest\022\"\n\007" - "request\030\001 \001(\0132\021.flex.WorkRequest\".\n\022Subm" - "itWorkResponse\022\030\n\004work\030\001 \001(\0132\n.flex.Work" - "\"\230\001\n\021UpdateWorkRequest\022\016\n\006job_id\030\001 \001(\t\022\022" - "\n\nrequest_id\030\002 \001(\t\0223\n\tnew_state\030\003 \001(\0162 ." - "flex.UpdateWorkRequest.NewState\"*\n\010NewSt" - "ate\022\017\n\013UNSPECIFIED\020\000\022\r\n\tCANCELLED\020\001\".\n\022U" - "pdateWorkResponse\022\030\n\004work\030\001 \001(\0132\n.flex.W" - "ork\"|\n\025BulkUpdateWorkRequest\0227\n\tnew_stat" - "e\030\001 \001(\0162$.flex.BulkUpdateWorkRequest.New" - "State\"*\n\010NewState\022\017\n\013UNSPECIFIED\020\000\022\r\n\tUN" - "CHANGED\020\001\":\n\026BulkUpdateWorkResponse\022\017\n\007s" - "uccess\030\001 \001(\010\022\017\n\007message\030\002 \001(\t\"\241\002\n\rJobLoc" - "kedInfo\022\031\n\021read_write_locked\030\001 \001(\010\022\016\n\006ex" - "ists\030\002 \001(\010\022\014\n\004size\030\003 \001(\003\022\014\n\004mode\030\004 \001(\r\022)" - "\n\005mtime\030\005 \001(\0132\032.google.protobuf.Timestam" - "p\022\023\n\013remote_size\030\006 \001(\003\0220\n\014remote_mtime\030\007" - " \001(\0132\032.google.protobuf.Timestamp\022\027\n\017stub" - "_url_rst_id\030\010 \001(\r\022\025\n\rstub_url_path\030\t \001(\t" - "\022\022\n\nexternalId\030\n \001(\t\022\023\n\013is_archived\030\013 \001(" - "\010\"\243\004\n\rJobRequestCfg\022\033\n\023remoteStorageTarg" - "et\030\001 \001(\r\022\014\n\004path\030\002 \001(\t\022\022\n\nremotePath\030\003 \001" - "(\t\022\020\n\010download\030\004 \001(\010\022\022\n\nstub_local\030\005 \001(\010" - "\022\021\n\toverwrite\030\006 \001(\010\022\017\n\007flatten\030\007 \001(\010\022\r\n\005" - "force\030\010 \001(\010\022(\n\013locked_info\030\t \001(\0132\023.flex." - "JobLockedInfo\022\023\n\006update\030\n \001(\010H\000\210\001\001\0223\n\010me" - "tadata\030\r \003(\0132!.flex.JobRequestCfg.Metada" - "taEntry\022\024\n\007tagging\030\016 \001(\tH\001\210\001\001\022\025\n\010priorit" - "y\030\013 \001(\005H\002\210\001\001\022\032\n\rstorage_class\030\014 \001(\tH\003\210\001\001" - "\022\032\n\rallow_restore\030\017 \001(\010H\004\210\001\001\022\030\n\013filter_e" - "xpr\030\020 \001(\tH\005\210\001\001\032/\n\rMetadataEntry\022\013\n\003key\030\001" - " \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\t\n\007_updateB\n\n\010_t" - "aggingB\013\n\t_priorityB\020\n\016_storage_classB\020\n" - "\016_allow_restoreB\016\n\014_filter_expr\"\241\003\n\013Work" - "Request\022\016\n\006job_id\030\001 \001(\t\022\022\n\nrequest_id\030\002 " - "\001(\t\022\023\n\013external_id\030\003 \001(\t\022\014\n\004path\030\004 \001(\t\022*" - "\n\007segment\030\005 \001(\0132\031.flex.WorkRequest.Segme" - "nt\022\035\n\025remote_storage_target\030\006 \001(\r\022\035\n\004moc" - "k\030\n \001(\0132\r.flex.MockJobH\000\022\035\n\004sync\030\013 \001(\0132\r" - ".flex.SyncJobH\000\022#\n\007builder\030\014 \001(\0132\020.flex." - "BuilderJobH\000\022\022\n\nstub_local\030\010 \001(\010\022\025\n\010prio" - "rity\030\t \001(\005H\001\210\001\001\032]\n\007Segment\022\024\n\014offset_sta" - "rt\030\001 \001(\003\022\023\n\013offset_stop\030\002 \001(\003\022\023\n\013parts_s" - "tart\030\003 \001(\005\022\022\n\nparts_stop\030\004 \001(\005B\006\n\004TypeB\013" - "\n\t_priority\"Q\n\nBuilderJob\022 \n\003cfg\030\001 \001(\0132\023" - ".flex.JobRequestCfg\022\021\n\tsubmitted\030\002 \001(\005\022\016" - "\n\006errors\030\003 \001(\005\"\255\001\n\007MockJob\022\031\n\021num_test_s" - "egments\030\001 \001(\005\022\021\n\tfile_size\030\002 \001(\003\022\023\n\013exte" - "rnal_id\030\003 \001(\t\022\023\n\013should_fail\030\004 \001(\010\022(\n\013lo" - "cked_info\030\006 \001(\0132\023.flex.JobLockedInfo\022 \n\003" - "cfg\030\007 \001(\0132\023.flex.JobRequestCfg\"\316\003\n\007SyncJ" - "ob\022*\n\toperation\030\001 \001(\0162\027.flex.SyncJob.Ope" - "ration\022\021\n\toverwrite\030\002 \001(\010\022\023\n\013remote_path" - "\030\003 \001(\t\022\017\n\007flatten\030\005 \001(\010\022(\n\013locked_info\030\006" - " \001(\0132\023.flex.JobLockedInfo\022\023\n\006update\030\007 \001(" - "\010H\000\210\001\001\022-\n\010metadata\030\t \003(\0132\033.flex.SyncJob." - "MetadataEntry\022\024\n\007tagging\030\n \001(\tH\001\210\001\001\022\032\n\rs" - "torage_class\030\014 \001(\tH\002\210\001\001\022\032\n\rallow_restore" - "\030\r \001(\010H\003\210\001\001\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001(" - "\t\022\r\n\005value\030\002 \001(\t:\0028\001\"6\n\tOperation\022\017\n\013UNS" - "PECIFIED\020\000\022\n\n\006UPLOAD\020\001\022\014\n\010DOWNLOAD\020\002B\t\n\007" - "_updateB\n\n\010_taggingB\020\n\016_storage_classB\020\n" - "\016_allow_restore\"\354\003\n\004Work\022\014\n\004path\030\001 \001(\t\022\016" - "\n\006job_id\030\002 \001(\t\022\022\n\nrequest_id\030\003 \001(\t\022!\n\006st" - "atus\030\004 \001(\0132\021.flex.Work.Status\022\036\n\005parts\030\005" - " \003(\0132\017.flex.Work.Part\022\023\n\013job_builder\030\006 \001" - "(\010\032:\n\006Status\022\037\n\005state\030\001 \001(\0162\020.flex.Work." - "State\022\017\n\007message\030\002 \001(\t\032\206\001\n\004Part\022\023\n\013part_" - "number\030\001 \001(\005\022\024\n\014offset_start\030\002 \001(\003\022\023\n\013of" - "fset_stop\030\003 \001(\003\022\022\n\nentity_tag\030\004 \001(\t\022\027\n\017c" - "hecksum_sha256\030\005 \001(\t\022\021\n\tcompleted\030\006 \001(\010\"" - "\224\001\n\005State\022\017\n\013UNSPECIFIED\020\000\022\013\n\007UNKNOWN\020\001\022" - "\013\n\007CREATED\020\002\022\r\n\tSCHEDULED\020\003\022\013\n\007RUNNING\020\004" - "\022\017\n\013RESCHEDULED\020\005\022\t\n\005ERROR\020\006\022\n\n\006FAILED\020\007" - "\022\r\n\tCANCELLED\020\010\022\r\n\tCOMPLETED\020\t\"g\n\023Update" - "ConfigRequest\022\'\n\nbee_remote\030\001 \001(\0132\023.flex" - ".BeeRemoteNode\022\'\n\004rsts\030\002 \003(\0132\031.flex.Remo" - "teStorageTarget\"\234\001\n\024UpdateConfigResponse" - "\0221\n\006result\030\001 \001(\0162!.flex.UpdateConfigResp" - "onse.Result\022\017\n\007message\030\002 \001(\t\"@\n\006Result\022\017" - "\n\013UNSPECIFIED\020\000\022\013\n\007SUCCESS\020\001\022\013\n\007PARTIAL\020" - "\002\022\013\n\007FAILURE\020\003\"\342\001\n\rBeeRemoteNode\022\n\n\002id\030\001" - " \001(\t\022\017\n\007address\030\002 \001(\t\022\025\n\rmgmtd_address\030\003" - " \001(\t\022\026\n\016mgmtd_tls_cert\030\004 \001(\014\022&\n\036mgmtd_tl" - "s_disable_verification\030\005 \001(\010\022\031\n\021mgmtd_tl" - "s_disable\030\006 \001(\010\022\027\n\017mgmtd_use_proxy\030\t \001(\010" - "\022\023\n\013auth_secret\030\007 \001(\014\022\024\n\014auth_disable\030\010 " - "\001(\010\"\301\006\n\023RemoteStorageTarget\022\n\n\002id\030\001 \001(\r\022" - "\014\n\004name\030\002 \001(\t\0224\n\010policies\030\003 \001(\0132\".flex.R" - "emoteStorageTarget.Policies\022*\n\002s3\030\004 \001(\0132" - "\034.flex.RemoteStorageTarget.S3H\000\0220\n\005posix" - "\030\005 \001(\0132\037.flex.RemoteStorageTarget.POSIXH" - "\000\0220\n\005azure\030\006 \001(\0132\037.flex.RemoteStorageTar" - "get.AzureH\000\022\016\n\004mock\030\007 \001(\tH\000\032\'\n\010Policies\022" - "\033\n\023fast_start_max_size\030\001 \001(\003\032\255\003\n\002S3\022\024\n\014e" - "ndpoint_url\030\001 \001(\t\022\024\n\014partition_id\030\002 \001(\t\022" - "\016\n\006region\030\003 \001(\t\022\016\n\006bucket\030\004 \001(\t\022\022\n\nacces" - "s_key\030\005 \001(\t\022\022\n\nsecret_key\030\006 \001(\t\022@\n\rstora" - "ge_class\030\010 \003(\0132).flex.RemoteStorageTarge" - "t.S3.StorageClass\032\360\001\n\014StorageClass\022\014\n\004na" - "me\030\001 \001(\t\022I\n\010archival\030\002 \001(\01322.flex.Remote" - "StorageTarget.S3.StorageClass.ArchivalH\000" - "\210\001\001\032z\n\010Archival\022\026\n\016retrieval_tier\030\001 \001(\t\022" - "\026\n\016retention_days\030\002 \001(\005\022\022\n\ncheck_time\030\003 " - "\001(\t\022\024\n\014recheck_time\030\004 \001(\t\022\024\n\014auto_restor" - "e\030\005 \001(\010B\013\n\t_archival\032B\n\005Azure\022(\n\002s3\030\001 \001(" - "\0132\034.flex.RemoteStorageTarget.S3\022\017\n\007accou" - "nt\030\002 \001(\t\032\025\n\005POSIX\022\014\n\004path\030\001 \001(\tB\006\n\004type\"" - "\030\n\026GetCapabilitiesRequest\"\362\001\n\027GetCapabil" - "itiesResponse\022#\n\nbuild_info\030\001 \001(\0132\017.flex" - ".BuildInfo\022=\n\010features\030\002 \003(\0132+.flex.GetC" - "apabilitiesResponse.FeaturesEntry\0223\n\017sta" - "rt_timestamp\030\003 \001(\0132\032.google.protobuf.Tim" - "estamp\032>\n\rFeaturesEntry\022\013\n\003key\030\001 \001(\t\022\034\n\005" - "value\030\002 \001(\0132\r.flex.Feature:\0028\001\"\177\n\007Featur" - "e\0222\n\013sub_feature\030\001 \003(\0132\035.flex.Feature.Su" - "bFeatureEntry\032@\n\017SubFeatureEntry\022\013\n\003key\030" - "\001 \001(\t\022\034\n\005value\030\002 \001(\0132\r.flex.Feature:\0028\001\"" - "U\n\tBuildInfo\022\023\n\013binary_name\030\001 \001(\t\022\017\n\007ver" - "sion\030\002 \001(\t\022\016\n\006commit\030\003 \001(\t\022\022\n\nbuild_time" - "\030\004 \001(\t2\260\003\n\nWorkerNode\022E\n\014UpdateConfig\022\031." - "flex.UpdateConfigRequest\032\032.flex.UpdateCo" - "nfigResponse\022<\n\tHeartbeat\022\026.flex.Heartbe" - "atRequest\032\027.flex.HeartbeatResponse\022\?\n\nSu" - "bmitWork\022\027.flex.SubmitWorkRequest\032\030.flex" - ".SubmitWorkResponse\022\?\n\nUpdateWork\022\027.flex" - ".UpdateWorkRequest\032\030.flex.UpdateWorkResp" - "onse\022K\n\016BulkUpdateWork\022\033.flex.BulkUpdate" - "WorkRequest\032\034.flex.BulkUpdateWorkRespons" - "e\022N\n\017GetCapabilities\022\034.flex.GetCapabilit" - "iesRequest\032\035.flex.GetCapabilitiesRespons" - "eB\'Z%github.com/thinkparq/protobuf/go/fl" - "exb\006proto3" -}; -static const ::_pbi::DescriptorTable* const descriptor_table_flex_2eproto_deps[1] = - { - &::descriptor_table_google_2fprotobuf_2ftimestamp_2eproto, -}; -static ::absl::once_flag descriptor_table_flex_2eproto_once; -PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_flex_2eproto = { - false, - false, - 5530, - descriptor_table_protodef_flex_2eproto, - "flex.proto", - &descriptor_table_flex_2eproto_once, - descriptor_table_flex_2eproto_deps, - 1, - 37, - schemas, - file_default_instances, - TableStruct_flex_2eproto::offsets, - file_level_enum_descriptors_flex_2eproto, - file_level_service_descriptors_flex_2eproto, -}; -namespace flex { -const ::google::protobuf::EnumDescriptor* UpdateWorkRequest_NewState_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_flex_2eproto); - return file_level_enum_descriptors_flex_2eproto[0]; -} -PROTOBUF_CONSTINIT const uint32_t UpdateWorkRequest_NewState_internal_data_[] = { - 131072u, 0u, }; -bool UpdateWorkRequest_NewState_IsValid(int value) { - return 0 <= value && value <= 1; -} -#if (__cplusplus < 201703) && \ - (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -constexpr UpdateWorkRequest_NewState UpdateWorkRequest::UNSPECIFIED; -constexpr UpdateWorkRequest_NewState UpdateWorkRequest::CANCELLED; -constexpr UpdateWorkRequest_NewState UpdateWorkRequest::NewState_MIN; -constexpr UpdateWorkRequest_NewState UpdateWorkRequest::NewState_MAX; -constexpr int UpdateWorkRequest::NewState_ARRAYSIZE; - -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* BulkUpdateWorkRequest_NewState_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_flex_2eproto); - return file_level_enum_descriptors_flex_2eproto[1]; -} -PROTOBUF_CONSTINIT const uint32_t BulkUpdateWorkRequest_NewState_internal_data_[] = { - 131072u, 0u, }; -bool BulkUpdateWorkRequest_NewState_IsValid(int value) { - return 0 <= value && value <= 1; -} -#if (__cplusplus < 201703) && \ - (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -constexpr BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest::UNSPECIFIED; -constexpr BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest::UNCHANGED; -constexpr BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest::NewState_MIN; -constexpr BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest::NewState_MAX; -constexpr int BulkUpdateWorkRequest::NewState_ARRAYSIZE; - -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* SyncJob_Operation_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_flex_2eproto); - return file_level_enum_descriptors_flex_2eproto[2]; -} -PROTOBUF_CONSTINIT const uint32_t SyncJob_Operation_internal_data_[] = { - 196608u, 0u, }; -bool SyncJob_Operation_IsValid(int value) { - return 0 <= value && value <= 2; -} -#if (__cplusplus < 201703) && \ - (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -constexpr SyncJob_Operation SyncJob::UNSPECIFIED; -constexpr SyncJob_Operation SyncJob::UPLOAD; -constexpr SyncJob_Operation SyncJob::DOWNLOAD; -constexpr SyncJob_Operation SyncJob::Operation_MIN; -constexpr SyncJob_Operation SyncJob::Operation_MAX; -constexpr int SyncJob::Operation_ARRAYSIZE; - -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* Work_State_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_flex_2eproto); - return file_level_enum_descriptors_flex_2eproto[3]; -} -PROTOBUF_CONSTINIT const uint32_t Work_State_internal_data_[] = { - 655360u, 0u, }; -bool Work_State_IsValid(int value) { - return 0 <= value && value <= 9; -} -#if (__cplusplus < 201703) && \ - (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -constexpr Work_State Work::UNSPECIFIED; -constexpr Work_State Work::UNKNOWN; -constexpr Work_State Work::CREATED; -constexpr Work_State Work::SCHEDULED; -constexpr Work_State Work::RUNNING; -constexpr Work_State Work::RESCHEDULED; -constexpr Work_State Work::ERROR; -constexpr Work_State Work::FAILED; -constexpr Work_State Work::CANCELLED; -constexpr Work_State Work::COMPLETED; -constexpr Work_State Work::State_MIN; -constexpr Work_State Work::State_MAX; -constexpr int Work::State_ARRAYSIZE; - -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -const ::google::protobuf::EnumDescriptor* UpdateConfigResponse_Result_descriptor() { - ::google::protobuf::internal::AssignDescriptors(&descriptor_table_flex_2eproto); - return file_level_enum_descriptors_flex_2eproto[4]; -} -PROTOBUF_CONSTINIT const uint32_t UpdateConfigResponse_Result_internal_data_[] = { - 262144u, 0u, }; -bool UpdateConfigResponse_Result_IsValid(int value) { - return 0 <= value && value <= 3; -} -#if (__cplusplus < 201703) && \ - (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) - -constexpr UpdateConfigResponse_Result UpdateConfigResponse::UNSPECIFIED; -constexpr UpdateConfigResponse_Result UpdateConfigResponse::SUCCESS; -constexpr UpdateConfigResponse_Result UpdateConfigResponse::PARTIAL; -constexpr UpdateConfigResponse_Result UpdateConfigResponse::FAILURE; -constexpr UpdateConfigResponse_Result UpdateConfigResponse::Result_MIN; -constexpr UpdateConfigResponse_Result UpdateConfigResponse::Result_MAX; -constexpr int UpdateConfigResponse::Result_ARRAYSIZE; - -#endif // (__cplusplus < 201703) && - // (!defined(_MSC_VER) || (_MSC_VER >= 1900 && _MSC_VER < 1912)) -// =================================================================== - -class HeartbeatRequest::_Internal { - public: -}; - -HeartbeatRequest::HeartbeatRequest(::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:flex.HeartbeatRequest) -} -HeartbeatRequest::HeartbeatRequest( - ::google::protobuf::Arena* arena, const HeartbeatRequest& from) - : HeartbeatRequest(arena) { - MergeFrom(from); -} -inline PROTOBUF_NDEBUG_INLINE HeartbeatRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void HeartbeatRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.include_stats_ = {}; -} -HeartbeatRequest::~HeartbeatRequest() { - // @@protoc_insertion_point(destructor:flex.HeartbeatRequest) - SharedDtor(*this); -} -inline void HeartbeatRequest::SharedDtor(MessageLite& self) { - HeartbeatRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* HeartbeatRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) HeartbeatRequest(arena); -} -constexpr auto HeartbeatRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(HeartbeatRequest), - alignof(HeartbeatRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull HeartbeatRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_HeartbeatRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &HeartbeatRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &HeartbeatRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &HeartbeatRequest::ByteSizeLong, - &HeartbeatRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(HeartbeatRequest, _impl_._cached_size_), - false, - }, - &HeartbeatRequest::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* HeartbeatRequest::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> HeartbeatRequest::_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<::flex::HeartbeatRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // bool include_stats = 1; - {::_pbi::TcParser::SingularVarintNoZag1(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(HeartbeatRequest, _impl_.include_stats_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // bool include_stats = 1; - {PROTOBUF_FIELD_OFFSET(HeartbeatRequest, _impl_.include_stats_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - // no aux_entries - {{ - }}, -}; - -PROTOBUF_NOINLINE void HeartbeatRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.HeartbeatRequest) - ::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_stats_ = false; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* HeartbeatRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const HeartbeatRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* HeartbeatRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const HeartbeatRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.HeartbeatRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // bool include_stats = 1; - if (this_._internal_include_stats() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 1, this_._internal_include_stats(), 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:flex.HeartbeatRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t HeartbeatRequest::ByteSizeLong(const MessageLite& base) { - const HeartbeatRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t HeartbeatRequest::ByteSizeLong() const { - const HeartbeatRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.HeartbeatRequest) - ::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_stats = 1; - if (this_._internal_include_stats() != 0) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void HeartbeatRequest::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:flex.HeartbeatRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_include_stats() != 0) { - _this->_impl_.include_stats_ = from._impl_.include_stats_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void HeartbeatRequest::CopyFrom(const HeartbeatRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.HeartbeatRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void HeartbeatRequest::InternalSwap(HeartbeatRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.include_stats_, other->_impl_.include_stats_); -} - -::google::protobuf::Metadata HeartbeatRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class HeartbeatResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(HeartbeatResponse, _impl_._has_bits_); -}; - -HeartbeatResponse::HeartbeatResponse(::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:flex.HeartbeatResponse) -} -inline PROTOBUF_NDEBUG_INLINE HeartbeatResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::HeartbeatResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -HeartbeatResponse::HeartbeatResponse( - ::google::protobuf::Arena* arena, - const HeartbeatResponse& 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 - HeartbeatResponse* 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_stats_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::NodeStats>( - arena, *from._impl_.node_stats_) - : nullptr; - _impl_.is_ready_ = from._impl_.is_ready_; - - // @@protoc_insertion_point(copy_constructor:flex.HeartbeatResponse) -} -inline PROTOBUF_NDEBUG_INLINE HeartbeatResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void HeartbeatResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, node_stats_), - 0, - offsetof(Impl_, is_ready_) - - offsetof(Impl_, node_stats_) + - sizeof(Impl_::is_ready_)); -} -HeartbeatResponse::~HeartbeatResponse() { - // @@protoc_insertion_point(destructor:flex.HeartbeatResponse) - SharedDtor(*this); -} -inline void HeartbeatResponse::SharedDtor(MessageLite& self) { - HeartbeatResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.node_stats_; - this_._impl_.~Impl_(); -} - -inline void* HeartbeatResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) HeartbeatResponse(arena); -} -constexpr auto HeartbeatResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(HeartbeatResponse), - alignof(HeartbeatResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull HeartbeatResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_HeartbeatResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &HeartbeatResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &HeartbeatResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &HeartbeatResponse::ByteSizeLong, - &HeartbeatResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(HeartbeatResponse, _impl_._cached_size_), - false, - }, - &HeartbeatResponse::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* HeartbeatResponse::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> HeartbeatResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(HeartbeatResponse, _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<::flex::HeartbeatResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // .flex.NodeStats node_stats = 2; - {::_pbi::TcParser::FastMtS1, - {18, 0, 0, PROTOBUF_FIELD_OFFSET(HeartbeatResponse, _impl_.node_stats_)}}, - // bool is_ready = 1; - {::_pbi::TcParser::SingularVarintNoZag1(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(HeartbeatResponse, _impl_.is_ready_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // bool is_ready = 1; - {PROTOBUF_FIELD_OFFSET(HeartbeatResponse, _impl_.is_ready_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // .flex.NodeStats node_stats = 2; - {PROTOBUF_FIELD_OFFSET(HeartbeatResponse, _impl_.node_stats_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::NodeStats>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void HeartbeatResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.HeartbeatResponse) - ::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_stats_ != nullptr); - _impl_.node_stats_->Clear(); - } - _impl_.is_ready_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* HeartbeatResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const HeartbeatResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* HeartbeatResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const HeartbeatResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.HeartbeatResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // bool is_ready = 1; - if (this_._internal_is_ready() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 1, this_._internal_is_ready(), target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.NodeStats node_stats = 2; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, *this_._impl_.node_stats_, this_._impl_.node_stats_->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:flex.HeartbeatResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t HeartbeatResponse::ByteSizeLong(const MessageLite& base) { - const HeartbeatResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t HeartbeatResponse::ByteSizeLong() const { - const HeartbeatResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.HeartbeatResponse) - ::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_); - { - // .flex.NodeStats node_stats = 2; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.node_stats_); - } - } - { - // bool is_ready = 1; - if (this_._internal_is_ready() != 0) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void HeartbeatResponse::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:flex.HeartbeatResponse) - 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_stats_ != nullptr); - if (_this->_impl_.node_stats_ == nullptr) { - _this->_impl_.node_stats_ = - ::google::protobuf::Message::CopyConstruct<::flex::NodeStats>(arena, *from._impl_.node_stats_); - } else { - _this->_impl_.node_stats_->MergeFrom(*from._impl_.node_stats_); - } - } - if (from._internal_is_ready() != 0) { - _this->_impl_.is_ready_ = from._impl_.is_ready_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void HeartbeatResponse::CopyFrom(const HeartbeatResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.HeartbeatResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void HeartbeatResponse::InternalSwap(HeartbeatResponse* 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(HeartbeatResponse, _impl_.is_ready_) - + sizeof(HeartbeatResponse::_impl_.is_ready_) - - PROTOBUF_FIELD_OFFSET(HeartbeatResponse, _impl_.node_stats_)>( - reinterpret_cast(&_impl_.node_stats_), - reinterpret_cast(&other->_impl_.node_stats_)); -} - -::google::protobuf::Metadata HeartbeatResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class NodeStats::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(NodeStats, _impl_._has_bits_); -}; - -void NodeStats::clear_timestamp() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.timestamp_ != nullptr) _impl_.timestamp_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -NodeStats::NodeStats(::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:flex.NodeStats) -} -inline PROTOBUF_NDEBUG_INLINE NodeStats::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::NodeStats& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -NodeStats::NodeStats( - ::google::protobuf::Arena* arena, - const NodeStats& 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 - NodeStats* 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_.timestamp_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( - arena, *from._impl_.timestamp_) - : nullptr; - _impl_.active_requests_ = from._impl_.active_requests_; - - // @@protoc_insertion_point(copy_constructor:flex.NodeStats) -} -inline PROTOBUF_NDEBUG_INLINE NodeStats::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void NodeStats::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, timestamp_), - 0, - offsetof(Impl_, active_requests_) - - offsetof(Impl_, timestamp_) + - sizeof(Impl_::active_requests_)); -} -NodeStats::~NodeStats() { - // @@protoc_insertion_point(destructor:flex.NodeStats) - SharedDtor(*this); -} -inline void NodeStats::SharedDtor(MessageLite& self) { - NodeStats& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.timestamp_; - this_._impl_.~Impl_(); -} - -inline void* NodeStats::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) NodeStats(arena); -} -constexpr auto NodeStats::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(NodeStats), - alignof(NodeStats)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull NodeStats::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_NodeStats_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &NodeStats::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &NodeStats::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &NodeStats::ByteSizeLong, - &NodeStats::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(NodeStats, _impl_._cached_size_), - false, - }, - &NodeStats::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* NodeStats::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> NodeStats::_table_ = { - { - PROTOBUF_FIELD_OFFSET(NodeStats, _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<::flex::NodeStats>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // int64 active_requests = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(NodeStats, _impl_.active_requests_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(NodeStats, _impl_.active_requests_)}}, - // .google.protobuf.Timestamp timestamp = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(NodeStats, _impl_.timestamp_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .google.protobuf.Timestamp timestamp = 1; - {PROTOBUF_FIELD_OFFSET(NodeStats, _impl_.timestamp_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // int64 active_requests = 2; - {PROTOBUF_FIELD_OFFSET(NodeStats, _impl_.active_requests_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, - }}, {{ - {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void NodeStats::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.NodeStats) - ::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_.timestamp_ != nullptr); - _impl_.timestamp_->Clear(); - } - _impl_.active_requests_ = ::int64_t{0}; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* NodeStats::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const NodeStats& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* NodeStats::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const NodeStats& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.NodeStats) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .google.protobuf.Timestamp timestamp = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.timestamp_, this_._impl_.timestamp_->GetCachedSize(), target, - stream); - } - - // int64 active_requests = 2; - if (this_._internal_active_requests() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<2>( - stream, this_._internal_active_requests(), 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:flex.NodeStats) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t NodeStats::ByteSizeLong(const MessageLite& base) { - const NodeStats& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t NodeStats::ByteSizeLong() const { - const NodeStats& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.NodeStats) - ::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_); - { - // .google.protobuf.Timestamp timestamp = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.timestamp_); - } - } - { - // int64 active_requests = 2; - if (this_._internal_active_requests() != 0) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_active_requests()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void NodeStats::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:flex.NodeStats) - 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_.timestamp_ != nullptr); - if (_this->_impl_.timestamp_ == nullptr) { - _this->_impl_.timestamp_ = - ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.timestamp_); - } else { - _this->_impl_.timestamp_->MergeFrom(*from._impl_.timestamp_); - } - } - if (from._internal_active_requests() != 0) { - _this->_impl_.active_requests_ = from._impl_.active_requests_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void NodeStats::CopyFrom(const NodeStats& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.NodeStats) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void NodeStats::InternalSwap(NodeStats* 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(NodeStats, _impl_.active_requests_) - + sizeof(NodeStats::_impl_.active_requests_) - - PROTOBUF_FIELD_OFFSET(NodeStats, _impl_.timestamp_)>( - reinterpret_cast(&_impl_.timestamp_), - reinterpret_cast(&other->_impl_.timestamp_)); -} - -::google::protobuf::Metadata NodeStats::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class SubmitWorkRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SubmitWorkRequest, _impl_._has_bits_); -}; - -SubmitWorkRequest::SubmitWorkRequest(::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:flex.SubmitWorkRequest) -} -inline PROTOBUF_NDEBUG_INLINE SubmitWorkRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::SubmitWorkRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -SubmitWorkRequest::SubmitWorkRequest( - ::google::protobuf::Arena* arena, - const SubmitWorkRequest& 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 - SubmitWorkRequest* 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_.request_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::WorkRequest>( - arena, *from._impl_.request_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:flex.SubmitWorkRequest) -} -inline PROTOBUF_NDEBUG_INLINE SubmitWorkRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void SubmitWorkRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.request_ = {}; -} -SubmitWorkRequest::~SubmitWorkRequest() { - // @@protoc_insertion_point(destructor:flex.SubmitWorkRequest) - SharedDtor(*this); -} -inline void SubmitWorkRequest::SharedDtor(MessageLite& self) { - SubmitWorkRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.request_; - this_._impl_.~Impl_(); -} - -inline void* SubmitWorkRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) SubmitWorkRequest(arena); -} -constexpr auto SubmitWorkRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubmitWorkRequest), - alignof(SubmitWorkRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SubmitWorkRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SubmitWorkRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SubmitWorkRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SubmitWorkRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &SubmitWorkRequest::ByteSizeLong, - &SubmitWorkRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SubmitWorkRequest, _impl_._cached_size_), - false, - }, - &SubmitWorkRequest::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SubmitWorkRequest::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> SubmitWorkRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SubmitWorkRequest, _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<::flex::SubmitWorkRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // .flex.WorkRequest request = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SubmitWorkRequest, _impl_.request_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .flex.WorkRequest request = 1; - {PROTOBUF_FIELD_OFFSET(SubmitWorkRequest, _impl_.request_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::WorkRequest>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void SubmitWorkRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.SubmitWorkRequest) - ::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_.request_ != nullptr); - _impl_.request_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* SubmitWorkRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const SubmitWorkRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* SubmitWorkRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const SubmitWorkRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.SubmitWorkRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.WorkRequest request = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.request_, this_._impl_.request_->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:flex.SubmitWorkRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t SubmitWorkRequest::ByteSizeLong(const MessageLite& base) { - const SubmitWorkRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t SubmitWorkRequest::ByteSizeLong() const { - const SubmitWorkRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.SubmitWorkRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // .flex.WorkRequest request = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.request_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void SubmitWorkRequest::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:flex.SubmitWorkRequest) - 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_.request_ != nullptr); - if (_this->_impl_.request_ == nullptr) { - _this->_impl_.request_ = - ::google::protobuf::Message::CopyConstruct<::flex::WorkRequest>(arena, *from._impl_.request_); - } else { - _this->_impl_.request_->MergeFrom(*from._impl_.request_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void SubmitWorkRequest::CopyFrom(const SubmitWorkRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.SubmitWorkRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void SubmitWorkRequest::InternalSwap(SubmitWorkRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.request_, other->_impl_.request_); -} - -::google::protobuf::Metadata SubmitWorkRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class SubmitWorkResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SubmitWorkResponse, _impl_._has_bits_); -}; - -SubmitWorkResponse::SubmitWorkResponse(::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:flex.SubmitWorkResponse) -} -inline PROTOBUF_NDEBUG_INLINE SubmitWorkResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::SubmitWorkResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -SubmitWorkResponse::SubmitWorkResponse( - ::google::protobuf::Arena* arena, - const SubmitWorkResponse& 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 - SubmitWorkResponse* 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_.work_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::Work>( - arena, *from._impl_.work_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:flex.SubmitWorkResponse) -} -inline PROTOBUF_NDEBUG_INLINE SubmitWorkResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void SubmitWorkResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.work_ = {}; -} -SubmitWorkResponse::~SubmitWorkResponse() { - // @@protoc_insertion_point(destructor:flex.SubmitWorkResponse) - SharedDtor(*this); -} -inline void SubmitWorkResponse::SharedDtor(MessageLite& self) { - SubmitWorkResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.work_; - this_._impl_.~Impl_(); -} - -inline void* SubmitWorkResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) SubmitWorkResponse(arena); -} -constexpr auto SubmitWorkResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(SubmitWorkResponse), - alignof(SubmitWorkResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SubmitWorkResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SubmitWorkResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SubmitWorkResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SubmitWorkResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &SubmitWorkResponse::ByteSizeLong, - &SubmitWorkResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SubmitWorkResponse, _impl_._cached_size_), - false, - }, - &SubmitWorkResponse::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SubmitWorkResponse::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> SubmitWorkResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SubmitWorkResponse, _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<::flex::SubmitWorkResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // .flex.Work work = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(SubmitWorkResponse, _impl_.work_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .flex.Work work = 1; - {PROTOBUF_FIELD_OFFSET(SubmitWorkResponse, _impl_.work_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::Work>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void SubmitWorkResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.SubmitWorkResponse) - ::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_.work_ != nullptr); - _impl_.work_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* SubmitWorkResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const SubmitWorkResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* SubmitWorkResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const SubmitWorkResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.SubmitWorkResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.Work work = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.work_, this_._impl_.work_->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:flex.SubmitWorkResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t SubmitWorkResponse::ByteSizeLong(const MessageLite& base) { - const SubmitWorkResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t SubmitWorkResponse::ByteSizeLong() const { - const SubmitWorkResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.SubmitWorkResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // .flex.Work work = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.work_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void SubmitWorkResponse::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:flex.SubmitWorkResponse) - 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_.work_ != nullptr); - if (_this->_impl_.work_ == nullptr) { - _this->_impl_.work_ = - ::google::protobuf::Message::CopyConstruct<::flex::Work>(arena, *from._impl_.work_); - } else { - _this->_impl_.work_->MergeFrom(*from._impl_.work_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void SubmitWorkResponse::CopyFrom(const SubmitWorkResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.SubmitWorkResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void SubmitWorkResponse::InternalSwap(SubmitWorkResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.work_, other->_impl_.work_); -} - -::google::protobuf::Metadata SubmitWorkResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class UpdateWorkRequest::_Internal { - public: -}; - -UpdateWorkRequest::UpdateWorkRequest(::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:flex.UpdateWorkRequest) -} -inline PROTOBUF_NDEBUG_INLINE UpdateWorkRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::UpdateWorkRequest& from_msg) - : job_id_(arena, from.job_id_), - request_id_(arena, from.request_id_), - _cached_size_{0} {} - -UpdateWorkRequest::UpdateWorkRequest( - ::google::protobuf::Arena* arena, - const UpdateWorkRequest& 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 - UpdateWorkRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _impl_.new_state_ = from._impl_.new_state_; - - // @@protoc_insertion_point(copy_constructor:flex.UpdateWorkRequest) -} -inline PROTOBUF_NDEBUG_INLINE UpdateWorkRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : job_id_(arena), - request_id_(arena), - _cached_size_{0} {} - -inline void UpdateWorkRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.new_state_ = {}; -} -UpdateWorkRequest::~UpdateWorkRequest() { - // @@protoc_insertion_point(destructor:flex.UpdateWorkRequest) - SharedDtor(*this); -} -inline void UpdateWorkRequest::SharedDtor(MessageLite& self) { - UpdateWorkRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.job_id_.Destroy(); - this_._impl_.request_id_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* UpdateWorkRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) UpdateWorkRequest(arena); -} -constexpr auto UpdateWorkRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(UpdateWorkRequest), - alignof(UpdateWorkRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull UpdateWorkRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_UpdateWorkRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &UpdateWorkRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &UpdateWorkRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &UpdateWorkRequest::ByteSizeLong, - &UpdateWorkRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_._cached_size_), - false, - }, - &UpdateWorkRequest::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* UpdateWorkRequest::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, 47, 2> UpdateWorkRequest::_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<::flex::UpdateWorkRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // string job_id = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_.job_id_)}}, - // string request_id = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_.request_id_)}}, - // .flex.UpdateWorkRequest.NewState new_state = 3; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(UpdateWorkRequest, _impl_.new_state_), 63>(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_.new_state_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string job_id = 1; - {PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_.job_id_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string request_id = 2; - {PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_.request_id_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // .flex.UpdateWorkRequest.NewState new_state = 3; - {PROTOBUF_FIELD_OFFSET(UpdateWorkRequest, _impl_.new_state_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - }}, - // no aux_entries - {{ - "\26\6\12\0\0\0\0\0" - "flex.UpdateWorkRequest" - "job_id" - "request_id" - }}, -}; - -PROTOBUF_NOINLINE void UpdateWorkRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.UpdateWorkRequest) - ::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_.job_id_.ClearToEmpty(); - _impl_.request_id_.ClearToEmpty(); - _impl_.new_state_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* UpdateWorkRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const UpdateWorkRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* UpdateWorkRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const UpdateWorkRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.UpdateWorkRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string job_id = 1; - if (!this_._internal_job_id().empty()) { - const std::string& _s = this_._internal_job_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.UpdateWorkRequest.job_id"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - // string request_id = 2; - if (!this_._internal_request_id().empty()) { - const std::string& _s = this_._internal_request_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.UpdateWorkRequest.request_id"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - // .flex.UpdateWorkRequest.NewState new_state = 3; - if (this_._internal_new_state() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 3, this_._internal_new_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:flex.UpdateWorkRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t UpdateWorkRequest::ByteSizeLong(const MessageLite& base) { - const UpdateWorkRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t UpdateWorkRequest::ByteSizeLong() const { - const UpdateWorkRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.UpdateWorkRequest) - ::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 job_id = 1; - if (!this_._internal_job_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_job_id()); - } - // string request_id = 2; - if (!this_._internal_request_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_request_id()); - } - // .flex.UpdateWorkRequest.NewState new_state = 3; - if (this_._internal_new_state() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_new_state()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void UpdateWorkRequest::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:flex.UpdateWorkRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_job_id().empty()) { - _this->_internal_set_job_id(from._internal_job_id()); - } - if (!from._internal_request_id().empty()) { - _this->_internal_set_request_id(from._internal_request_id()); - } - if (from._internal_new_state() != 0) { - _this->_impl_.new_state_ = from._impl_.new_state_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void UpdateWorkRequest::CopyFrom(const UpdateWorkRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.UpdateWorkRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void UpdateWorkRequest::InternalSwap(UpdateWorkRequest* 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_.job_id_, &other->_impl_.job_id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.request_id_, &other->_impl_.request_id_, arena); - swap(_impl_.new_state_, other->_impl_.new_state_); -} - -::google::protobuf::Metadata UpdateWorkRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class UpdateWorkResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(UpdateWorkResponse, _impl_._has_bits_); -}; - -UpdateWorkResponse::UpdateWorkResponse(::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:flex.UpdateWorkResponse) -} -inline PROTOBUF_NDEBUG_INLINE UpdateWorkResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::UpdateWorkResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -UpdateWorkResponse::UpdateWorkResponse( - ::google::protobuf::Arena* arena, - const UpdateWorkResponse& 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 - UpdateWorkResponse* 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_.work_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::Work>( - arena, *from._impl_.work_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:flex.UpdateWorkResponse) -} -inline PROTOBUF_NDEBUG_INLINE UpdateWorkResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void UpdateWorkResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.work_ = {}; -} -UpdateWorkResponse::~UpdateWorkResponse() { - // @@protoc_insertion_point(destructor:flex.UpdateWorkResponse) - SharedDtor(*this); -} -inline void UpdateWorkResponse::SharedDtor(MessageLite& self) { - UpdateWorkResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.work_; - this_._impl_.~Impl_(); -} - -inline void* UpdateWorkResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) UpdateWorkResponse(arena); -} -constexpr auto UpdateWorkResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(UpdateWorkResponse), - alignof(UpdateWorkResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull UpdateWorkResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_UpdateWorkResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &UpdateWorkResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &UpdateWorkResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &UpdateWorkResponse::ByteSizeLong, - &UpdateWorkResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(UpdateWorkResponse, _impl_._cached_size_), - false, - }, - &UpdateWorkResponse::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* UpdateWorkResponse::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> UpdateWorkResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(UpdateWorkResponse, _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<::flex::UpdateWorkResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // .flex.Work work = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(UpdateWorkResponse, _impl_.work_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .flex.Work work = 1; - {PROTOBUF_FIELD_OFFSET(UpdateWorkResponse, _impl_.work_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::Work>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void UpdateWorkResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.UpdateWorkResponse) - ::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_.work_ != nullptr); - _impl_.work_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* UpdateWorkResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const UpdateWorkResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* UpdateWorkResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const UpdateWorkResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.UpdateWorkResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.Work work = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.work_, this_._impl_.work_->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:flex.UpdateWorkResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t UpdateWorkResponse::ByteSizeLong(const MessageLite& base) { - const UpdateWorkResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t UpdateWorkResponse::ByteSizeLong() const { - const UpdateWorkResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.UpdateWorkResponse) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // .flex.Work work = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.work_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void UpdateWorkResponse::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:flex.UpdateWorkResponse) - 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_.work_ != nullptr); - if (_this->_impl_.work_ == nullptr) { - _this->_impl_.work_ = - ::google::protobuf::Message::CopyConstruct<::flex::Work>(arena, *from._impl_.work_); - } else { - _this->_impl_.work_->MergeFrom(*from._impl_.work_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void UpdateWorkResponse::CopyFrom(const UpdateWorkResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.UpdateWorkResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void UpdateWorkResponse::InternalSwap(UpdateWorkResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - swap(_impl_.work_, other->_impl_.work_); -} - -::google::protobuf::Metadata UpdateWorkResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class BulkUpdateWorkRequest::_Internal { - public: -}; - -BulkUpdateWorkRequest::BulkUpdateWorkRequest(::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:flex.BulkUpdateWorkRequest) -} -BulkUpdateWorkRequest::BulkUpdateWorkRequest( - ::google::protobuf::Arena* arena, const BulkUpdateWorkRequest& from) - : BulkUpdateWorkRequest(arena) { - MergeFrom(from); -} -inline PROTOBUF_NDEBUG_INLINE BulkUpdateWorkRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void BulkUpdateWorkRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.new_state_ = {}; -} -BulkUpdateWorkRequest::~BulkUpdateWorkRequest() { - // @@protoc_insertion_point(destructor:flex.BulkUpdateWorkRequest) - SharedDtor(*this); -} -inline void BulkUpdateWorkRequest::SharedDtor(MessageLite& self) { - BulkUpdateWorkRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* BulkUpdateWorkRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) BulkUpdateWorkRequest(arena); -} -constexpr auto BulkUpdateWorkRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BulkUpdateWorkRequest), - alignof(BulkUpdateWorkRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull BulkUpdateWorkRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_BulkUpdateWorkRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &BulkUpdateWorkRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &BulkUpdateWorkRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &BulkUpdateWorkRequest::ByteSizeLong, - &BulkUpdateWorkRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(BulkUpdateWorkRequest, _impl_._cached_size_), - false, - }, - &BulkUpdateWorkRequest::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* BulkUpdateWorkRequest::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> BulkUpdateWorkRequest::_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<::flex::BulkUpdateWorkRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // .flex.BulkUpdateWorkRequest.NewState new_state = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BulkUpdateWorkRequest, _impl_.new_state_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(BulkUpdateWorkRequest, _impl_.new_state_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .flex.BulkUpdateWorkRequest.NewState new_state = 1; - {PROTOBUF_FIELD_OFFSET(BulkUpdateWorkRequest, _impl_.new_state_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - }}, - // no aux_entries - {{ - }}, -}; - -PROTOBUF_NOINLINE void BulkUpdateWorkRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.BulkUpdateWorkRequest) - ::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_state_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* BulkUpdateWorkRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const BulkUpdateWorkRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* BulkUpdateWorkRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const BulkUpdateWorkRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.BulkUpdateWorkRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // .flex.BulkUpdateWorkRequest.NewState new_state = 1; - if (this_._internal_new_state() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this_._internal_new_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:flex.BulkUpdateWorkRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t BulkUpdateWorkRequest::ByteSizeLong(const MessageLite& base) { - const BulkUpdateWorkRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t BulkUpdateWorkRequest::ByteSizeLong() const { - const BulkUpdateWorkRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.BulkUpdateWorkRequest) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // .flex.BulkUpdateWorkRequest.NewState new_state = 1; - if (this_._internal_new_state() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_new_state()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void BulkUpdateWorkRequest::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:flex.BulkUpdateWorkRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_new_state() != 0) { - _this->_impl_.new_state_ = from._impl_.new_state_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void BulkUpdateWorkRequest::CopyFrom(const BulkUpdateWorkRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.BulkUpdateWorkRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void BulkUpdateWorkRequest::InternalSwap(BulkUpdateWorkRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.new_state_, other->_impl_.new_state_); -} - -::google::protobuf::Metadata BulkUpdateWorkRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class BulkUpdateWorkResponse::_Internal { - public: -}; - -BulkUpdateWorkResponse::BulkUpdateWorkResponse(::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:flex.BulkUpdateWorkResponse) -} -inline PROTOBUF_NDEBUG_INLINE BulkUpdateWorkResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::BulkUpdateWorkResponse& from_msg) - : message_(arena, from.message_), - _cached_size_{0} {} - -BulkUpdateWorkResponse::BulkUpdateWorkResponse( - ::google::protobuf::Arena* arena, - const BulkUpdateWorkResponse& 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 - BulkUpdateWorkResponse* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _impl_.success_ = from._impl_.success_; - - // @@protoc_insertion_point(copy_constructor:flex.BulkUpdateWorkResponse) -} -inline PROTOBUF_NDEBUG_INLINE BulkUpdateWorkResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : message_(arena), - _cached_size_{0} {} - -inline void BulkUpdateWorkResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.success_ = {}; -} -BulkUpdateWorkResponse::~BulkUpdateWorkResponse() { - // @@protoc_insertion_point(destructor:flex.BulkUpdateWorkResponse) - SharedDtor(*this); -} -inline void BulkUpdateWorkResponse::SharedDtor(MessageLite& self) { - BulkUpdateWorkResponse& 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* BulkUpdateWorkResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) BulkUpdateWorkResponse(arena); -} -constexpr auto BulkUpdateWorkResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BulkUpdateWorkResponse), - alignof(BulkUpdateWorkResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull BulkUpdateWorkResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_BulkUpdateWorkResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &BulkUpdateWorkResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &BulkUpdateWorkResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &BulkUpdateWorkResponse::ByteSizeLong, - &BulkUpdateWorkResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(BulkUpdateWorkResponse, _impl_._cached_size_), - false, - }, - &BulkUpdateWorkResponse::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* BulkUpdateWorkResponse::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> BulkUpdateWorkResponse::_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<::flex::BulkUpdateWorkResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // string message = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(BulkUpdateWorkResponse, _impl_.message_)}}, - // bool success = 1; - {::_pbi::TcParser::SingularVarintNoZag1(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(BulkUpdateWorkResponse, _impl_.success_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // bool success = 1; - {PROTOBUF_FIELD_OFFSET(BulkUpdateWorkResponse, _impl_.success_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // string message = 2; - {PROTOBUF_FIELD_OFFSET(BulkUpdateWorkResponse, _impl_.message_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{ - "\33\0\7\0\0\0\0\0" - "flex.BulkUpdateWorkResponse" - "message" - }}, -}; - -PROTOBUF_NOINLINE void BulkUpdateWorkResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.BulkUpdateWorkResponse) - ::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_.success_ = false; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* BulkUpdateWorkResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const BulkUpdateWorkResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* BulkUpdateWorkResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const BulkUpdateWorkResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.BulkUpdateWorkResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // bool success = 1; - if (this_._internal_success() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 1, this_._internal_success(), 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, "flex.BulkUpdateWorkResponse.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:flex.BulkUpdateWorkResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t BulkUpdateWorkResponse::ByteSizeLong(const MessageLite& base) { - const BulkUpdateWorkResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t BulkUpdateWorkResponse::ByteSizeLong() const { - const BulkUpdateWorkResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.BulkUpdateWorkResponse) - ::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()); - } - // bool success = 1; - if (this_._internal_success() != 0) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void BulkUpdateWorkResponse::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:flex.BulkUpdateWorkResponse) - 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_success() != 0) { - _this->_impl_.success_ = from._impl_.success_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void BulkUpdateWorkResponse::CopyFrom(const BulkUpdateWorkResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.BulkUpdateWorkResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void BulkUpdateWorkResponse::InternalSwap(BulkUpdateWorkResponse* 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_.success_, other->_impl_.success_); -} - -::google::protobuf::Metadata BulkUpdateWorkResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class JobLockedInfo::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_._has_bits_); -}; - -void JobLockedInfo::clear_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.mtime_ != nullptr) _impl_.mtime_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -void JobLockedInfo::clear_remote_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.remote_mtime_ != nullptr) _impl_.remote_mtime_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -JobLockedInfo::JobLockedInfo(::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:flex.JobLockedInfo) -} -inline PROTOBUF_NDEBUG_INLINE JobLockedInfo::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::JobLockedInfo& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - stub_url_path_(arena, from.stub_url_path_), - externalid_(arena, from.externalid_) {} - -JobLockedInfo::JobLockedInfo( - ::google::protobuf::Arena* arena, - const JobLockedInfo& 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 - JobLockedInfo* 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_.mtime_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( - arena, *from._impl_.mtime_) - : nullptr; - _impl_.remote_mtime_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( - arena, *from._impl_.remote_mtime_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, size_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, size_), - offsetof(Impl_, stub_url_rst_id_) - - offsetof(Impl_, size_) + - sizeof(Impl_::stub_url_rst_id_)); - - // @@protoc_insertion_point(copy_constructor:flex.JobLockedInfo) -} -inline PROTOBUF_NDEBUG_INLINE JobLockedInfo::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - stub_url_path_(arena), - externalid_(arena) {} - -inline void JobLockedInfo::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, mtime_), - 0, - offsetof(Impl_, stub_url_rst_id_) - - offsetof(Impl_, mtime_) + - sizeof(Impl_::stub_url_rst_id_)); -} -JobLockedInfo::~JobLockedInfo() { - // @@protoc_insertion_point(destructor:flex.JobLockedInfo) - SharedDtor(*this); -} -inline void JobLockedInfo::SharedDtor(MessageLite& self) { - JobLockedInfo& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.stub_url_path_.Destroy(); - this_._impl_.externalid_.Destroy(); - delete this_._impl_.mtime_; - delete this_._impl_.remote_mtime_; - this_._impl_.~Impl_(); -} - -inline void* JobLockedInfo::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) JobLockedInfo(arena); -} -constexpr auto JobLockedInfo::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(JobLockedInfo), - alignof(JobLockedInfo)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull JobLockedInfo::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_JobLockedInfo_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &JobLockedInfo::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &JobLockedInfo::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &JobLockedInfo::ByteSizeLong, - &JobLockedInfo::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_._cached_size_), - false, - }, - &JobLockedInfo::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* JobLockedInfo::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, 11, 2, 58, 2> JobLockedInfo::_table_ = { - { - PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_._has_bits_), - 0, // no _extensions_ - 11, 120, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294965248, // skipmap - offsetof(decltype(_table_), field_entries), - 11, // 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<::flex::JobLockedInfo>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // bool read_write_locked = 1; - {::_pbi::TcParser::SingularVarintNoZag1(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.read_write_locked_)}}, - // bool exists = 2; - {::_pbi::TcParser::SingularVarintNoZag1(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.exists_)}}, - // int64 size = 3; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(JobLockedInfo, _impl_.size_), 63>(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.size_)}}, - // uint32 mode = 4; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobLockedInfo, _impl_.mode_), 63>(), - {32, 63, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.mode_)}}, - // .google.protobuf.Timestamp mtime = 5; - {::_pbi::TcParser::FastMtS1, - {42, 0, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.mtime_)}}, - // int64 remote_size = 6; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(JobLockedInfo, _impl_.remote_size_), 63>(), - {48, 63, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.remote_size_)}}, - // .google.protobuf.Timestamp remote_mtime = 7; - {::_pbi::TcParser::FastMtS1, - {58, 1, 1, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.remote_mtime_)}}, - // uint32 stub_url_rst_id = 8; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobLockedInfo, _impl_.stub_url_rst_id_), 63>(), - {64, 63, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.stub_url_rst_id_)}}, - // string stub_url_path = 9; - {::_pbi::TcParser::FastUS1, - {74, 63, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.stub_url_path_)}}, - // string externalId = 10; - {::_pbi::TcParser::FastUS1, - {82, 63, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.externalid_)}}, - // bool is_archived = 11; - {::_pbi::TcParser::SingularVarintNoZag1(), - {88, 63, 0, PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.is_archived_)}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // bool read_write_locked = 1; - {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.read_write_locked_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool exists = 2; - {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.exists_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // int64 size = 3; - {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.size_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, - // uint32 mode = 4; - {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.mode_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // .google.protobuf.Timestamp mtime = 5; - {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.mtime_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // int64 remote_size = 6; - {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.remote_size_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, - // .google.protobuf.Timestamp remote_mtime = 7; - {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.remote_mtime_), _Internal::kHasBitsOffset + 1, 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // uint32 stub_url_rst_id = 8; - {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.stub_url_rst_id_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // string stub_url_path = 9; - {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.stub_url_path_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string externalId = 10; - {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.externalid_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // bool is_archived = 11; - {PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.is_archived_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, - {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, - }}, {{ - "\22\0\0\0\0\0\0\0\0\15\12\0\0\0\0\0" - "flex.JobLockedInfo" - "stub_url_path" - "externalId" - }}, -}; - -PROTOBUF_NOINLINE void JobLockedInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.JobLockedInfo) - ::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_.stub_url_path_.ClearToEmpty(); - _impl_.externalid_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.mtime_ != nullptr); - _impl_.mtime_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.remote_mtime_ != nullptr); - _impl_.remote_mtime_->Clear(); - } - } - ::memset(&_impl_.size_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.stub_url_rst_id_) - - reinterpret_cast(&_impl_.size_)) + sizeof(_impl_.stub_url_rst_id_)); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* JobLockedInfo::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const JobLockedInfo& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* JobLockedInfo::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const JobLockedInfo& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.JobLockedInfo) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // bool read_write_locked = 1; - if (this_._internal_read_write_locked() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 1, this_._internal_read_write_locked(), target); - } - - // bool exists = 2; - if (this_._internal_exists() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 2, this_._internal_exists(), target); - } - - // int64 size = 3; - if (this_._internal_size() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<3>( - stream, this_._internal_size(), target); - } - - // uint32 mode = 4; - if (this_._internal_mode() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 4, this_._internal_mode(), target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .google.protobuf.Timestamp mtime = 5; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 5, *this_._impl_.mtime_, this_._impl_.mtime_->GetCachedSize(), target, - stream); - } - - // int64 remote_size = 6; - if (this_._internal_remote_size() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<6>( - stream, this_._internal_remote_size(), target); - } - - // .google.protobuf.Timestamp remote_mtime = 7; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 7, *this_._impl_.remote_mtime_, this_._impl_.remote_mtime_->GetCachedSize(), target, - stream); - } - - // uint32 stub_url_rst_id = 8; - if (this_._internal_stub_url_rst_id() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 8, this_._internal_stub_url_rst_id(), target); - } - - // string stub_url_path = 9; - if (!this_._internal_stub_url_path().empty()) { - const std::string& _s = this_._internal_stub_url_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.JobLockedInfo.stub_url_path"); - target = stream->WriteStringMaybeAliased(9, _s, target); - } - - // string externalId = 10; - if (!this_._internal_externalid().empty()) { - const std::string& _s = this_._internal_externalid(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.JobLockedInfo.externalId"); - target = stream->WriteStringMaybeAliased(10, _s, target); - } - - // bool is_archived = 11; - if (this_._internal_is_archived() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 11, this_._internal_is_archived(), 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:flex.JobLockedInfo) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t JobLockedInfo::ByteSizeLong(const MessageLite& base) { - const JobLockedInfo& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t JobLockedInfo::ByteSizeLong() const { - const JobLockedInfo& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.JobLockedInfo) - ::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 stub_url_path = 9; - if (!this_._internal_stub_url_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_stub_url_path()); - } - // string externalId = 10; - if (!this_._internal_externalid().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_externalid()); - } - } - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // .google.protobuf.Timestamp mtime = 5; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.mtime_); - } - // .google.protobuf.Timestamp remote_mtime = 7; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.remote_mtime_); - } - } - { - // int64 size = 3; - if (this_._internal_size() != 0) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_size()); - } - // uint32 mode = 4; - if (this_._internal_mode() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_mode()); - } - // bool read_write_locked = 1; - if (this_._internal_read_write_locked() != 0) { - total_size += 2; - } - // bool exists = 2; - if (this_._internal_exists() != 0) { - total_size += 2; - } - // bool is_archived = 11; - if (this_._internal_is_archived() != 0) { - total_size += 2; - } - // int64 remote_size = 6; - if (this_._internal_remote_size() != 0) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_remote_size()); - } - // uint32 stub_url_rst_id = 8; - if (this_._internal_stub_url_rst_id() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_stub_url_rst_id()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void JobLockedInfo::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:flex.JobLockedInfo) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_stub_url_path().empty()) { - _this->_internal_set_stub_url_path(from._internal_stub_url_path()); - } - if (!from._internal_externalid().empty()) { - _this->_internal_set_externalid(from._internal_externalid()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.mtime_ != nullptr); - if (_this->_impl_.mtime_ == nullptr) { - _this->_impl_.mtime_ = - ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.mtime_); - } else { - _this->_impl_.mtime_->MergeFrom(*from._impl_.mtime_); - } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.remote_mtime_ != nullptr); - if (_this->_impl_.remote_mtime_ == nullptr) { - _this->_impl_.remote_mtime_ = - ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.remote_mtime_); - } else { - _this->_impl_.remote_mtime_->MergeFrom(*from._impl_.remote_mtime_); - } - } - } - if (from._internal_size() != 0) { - _this->_impl_.size_ = from._impl_.size_; - } - if (from._internal_mode() != 0) { - _this->_impl_.mode_ = from._impl_.mode_; - } - if (from._internal_read_write_locked() != 0) { - _this->_impl_.read_write_locked_ = from._impl_.read_write_locked_; - } - if (from._internal_exists() != 0) { - _this->_impl_.exists_ = from._impl_.exists_; - } - if (from._internal_is_archived() != 0) { - _this->_impl_.is_archived_ = from._impl_.is_archived_; - } - if (from._internal_remote_size() != 0) { - _this->_impl_.remote_size_ = from._impl_.remote_size_; - } - if (from._internal_stub_url_rst_id() != 0) { - _this->_impl_.stub_url_rst_id_ = from._impl_.stub_url_rst_id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void JobLockedInfo::CopyFrom(const JobLockedInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.JobLockedInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void JobLockedInfo::InternalSwap(JobLockedInfo* 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_.stub_url_path_, &other->_impl_.stub_url_path_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.externalid_, &other->_impl_.externalid_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.stub_url_rst_id_) - + sizeof(JobLockedInfo::_impl_.stub_url_rst_id_) - - PROTOBUF_FIELD_OFFSET(JobLockedInfo, _impl_.mtime_)>( - reinterpret_cast(&_impl_.mtime_), - reinterpret_cast(&other->_impl_.mtime_)); -} - -::google::protobuf::Metadata JobLockedInfo::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -#if defined(PROTOBUF_CUSTOM_VTABLE) - JobRequestCfg_MetadataEntry_DoNotUse::JobRequestCfg_MetadataEntry_DoNotUse() : SuperType(_class_data_.base()) {} - JobRequestCfg_MetadataEntry_DoNotUse::JobRequestCfg_MetadataEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena, _class_data_.base()) {} -#else // PROTOBUF_CUSTOM_VTABLE - JobRequestCfg_MetadataEntry_DoNotUse::JobRequestCfg_MetadataEntry_DoNotUse() : SuperType() {} - JobRequestCfg_MetadataEntry_DoNotUse::JobRequestCfg_MetadataEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {} -#endif // PROTOBUF_CUSTOM_VTABLE - inline void* JobRequestCfg_MetadataEntry_DoNotUse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) JobRequestCfg_MetadataEntry_DoNotUse(arena); - } - constexpr auto JobRequestCfg_MetadataEntry_DoNotUse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(JobRequestCfg_MetadataEntry_DoNotUse), - alignof(JobRequestCfg_MetadataEntry_DoNotUse)); - } - PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - const ::google::protobuf::internal::ClassDataFull JobRequestCfg_MetadataEntry_DoNotUse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_JobRequestCfg_MetadataEntry_DoNotUse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &JobRequestCfg_MetadataEntry_DoNotUse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), - #if defined(PROTOBUF_CUSTOM_VTABLE) - &JobRequestCfg_MetadataEntry_DoNotUse::SharedDtor, - static_cast( - &JobRequestCfg_MetadataEntry_DoNotUse::ClearImpl), - ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl - , - #endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(JobRequestCfg_MetadataEntry_DoNotUse, _impl_._cached_size_), - false, - }, - &JobRequestCfg_MetadataEntry_DoNotUse::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker - }; - const ::google::protobuf::internal::ClassData* JobRequestCfg_MetadataEntry_DoNotUse::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, 49, 2> JobRequestCfg_MetadataEntry_DoNotUse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(JobRequestCfg_MetadataEntry_DoNotUse, _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 - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::DiscardEverythingFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::flex::JobRequestCfg_MetadataEntry_DoNotUse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // string value = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg_MetadataEntry_DoNotUse, _impl_.value_)}}, - // string key = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg_MetadataEntry_DoNotUse, _impl_.key_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string key = 1; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg_MetadataEntry_DoNotUse, _impl_.key_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string value = 2; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg_MetadataEntry_DoNotUse, _impl_.value_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{ - "\40\3\5\0\0\0\0\0" - "flex.JobRequestCfg.MetadataEntry" - "key" - "value" - }}, -}; - -// =================================================================== - -class JobRequestCfg::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_._has_bits_); -}; - -JobRequestCfg::JobRequestCfg(::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:flex.JobRequestCfg) -} -inline PROTOBUF_NDEBUG_INLINE JobRequestCfg::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::JobRequestCfg& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - metadata_{visibility, arena, from.metadata_}, - path_(arena, from.path_), - remotepath_(arena, from.remotepath_), - storage_class_(arena, from.storage_class_), - tagging_(arena, from.tagging_), - filter_expr_(arena, from.filter_expr_) {} - -JobRequestCfg::JobRequestCfg( - ::google::protobuf::Arena* arena, - const JobRequestCfg& 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 - JobRequestCfg* 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_.locked_info_ = (cached_has_bits & 0x00000008u) ? ::google::protobuf::Message::CopyConstruct<::flex::JobLockedInfo>( - arena, *from._impl_.locked_info_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, remotestoragetarget_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, remotestoragetarget_), - offsetof(Impl_, allow_restore_) - - offsetof(Impl_, remotestoragetarget_) + - sizeof(Impl_::allow_restore_)); - - // @@protoc_insertion_point(copy_constructor:flex.JobRequestCfg) -} -inline PROTOBUF_NDEBUG_INLINE JobRequestCfg::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - metadata_{visibility, arena}, - path_(arena), - remotepath_(arena), - storage_class_(arena), - tagging_(arena), - filter_expr_(arena) {} - -inline void JobRequestCfg::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, locked_info_), - 0, - offsetof(Impl_, allow_restore_) - - offsetof(Impl_, locked_info_) + - sizeof(Impl_::allow_restore_)); -} -JobRequestCfg::~JobRequestCfg() { - // @@protoc_insertion_point(destructor:flex.JobRequestCfg) - SharedDtor(*this); -} -inline void JobRequestCfg::SharedDtor(MessageLite& self) { - JobRequestCfg& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.path_.Destroy(); - this_._impl_.remotepath_.Destroy(); - this_._impl_.storage_class_.Destroy(); - this_._impl_.tagging_.Destroy(); - this_._impl_.filter_expr_.Destroy(); - delete this_._impl_.locked_info_; - this_._impl_.~Impl_(); -} - -inline void* JobRequestCfg::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) JobRequestCfg(arena); -} -constexpr auto JobRequestCfg::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.metadata_) + - decltype(JobRequestCfg::_impl_.metadata_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.metadata_) + - decltype(JobRequestCfg::_impl_.metadata_):: - InternalGetArenaOffsetAlt( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(JobRequestCfg), alignof(JobRequestCfg), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&JobRequestCfg::PlacementNew_, - sizeof(JobRequestCfg), - alignof(JobRequestCfg)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull JobRequestCfg::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_JobRequestCfg_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &JobRequestCfg::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &JobRequestCfg::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &JobRequestCfg::ByteSizeLong, - &JobRequestCfg::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_._cached_size_), - false, - }, - &JobRequestCfg::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* JobRequestCfg::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, 16, 2, 96, 2> JobRequestCfg::_table_ = { - { - PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_._has_bits_), - 0, // no _extensions_ - 16, 120, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294901760, // skipmap - offsetof(decltype(_table_), field_entries), - 16, // 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<::flex::JobRequestCfg>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional string filter_expr = 16; - {::_pbi::TcParser::FastUS2, - {386, 2, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.filter_expr_)}}, - // uint32 remoteStorageTarget = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobRequestCfg, _impl_.remotestoragetarget_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.remotestoragetarget_)}}, - // string path = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.path_)}}, - // string remotePath = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.remotepath_)}}, - // bool download = 4; - {::_pbi::TcParser::SingularVarintNoZag1(), - {32, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.download_)}}, - // bool stub_local = 5; - {::_pbi::TcParser::SingularVarintNoZag1(), - {40, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.stub_local_)}}, - // bool overwrite = 6; - {::_pbi::TcParser::SingularVarintNoZag1(), - {48, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.overwrite_)}}, - // bool flatten = 7; - {::_pbi::TcParser::SingularVarintNoZag1(), - {56, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.flatten_)}}, - // bool force = 8; - {::_pbi::TcParser::SingularVarintNoZag1(), - {64, 63, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.force_)}}, - // .flex.JobLockedInfo locked_info = 9; - {::_pbi::TcParser::FastMtS1, - {74, 3, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.locked_info_)}}, - // optional bool update = 10; - {::_pbi::TcParser::SingularVarintNoZag1(), - {80, 5, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.update_)}}, - // optional int32 priority = 11; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(JobRequestCfg, _impl_.priority_), 4>(), - {88, 4, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.priority_)}}, - // optional string storage_class = 12; - {::_pbi::TcParser::FastUS1, - {98, 0, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.storage_class_)}}, - {::_pbi::TcParser::MiniParse, {}}, - // optional string tagging = 14; - {::_pbi::TcParser::FastUS1, - {114, 1, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.tagging_)}}, - // optional bool allow_restore = 15; - {::_pbi::TcParser::SingularVarintNoZag1(), - {120, 6, 0, PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.allow_restore_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // uint32 remoteStorageTarget = 1; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.remotestoragetarget_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // string path = 2; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.path_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string remotePath = 3; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.remotepath_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // bool download = 4; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.download_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool stub_local = 5; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.stub_local_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool overwrite = 6; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.overwrite_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool flatten = 7; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.flatten_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool force = 8; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.force_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // .flex.JobLockedInfo locked_info = 9; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.locked_info_), _Internal::kHasBitsOffset + 3, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional bool update = 10; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.update_), _Internal::kHasBitsOffset + 5, 0, - (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - // optional int32 priority = 11; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.priority_), _Internal::kHasBitsOffset + 4, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, - // optional string storage_class = 12; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.storage_class_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // map metadata = 13; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.metadata_), -1, 1, - (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, - // optional string tagging = 14; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.tagging_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // optional bool allow_restore = 15; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.allow_restore_), _Internal::kHasBitsOffset + 6, 0, - (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - // optional string filter_expr = 16; - {PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.filter_expr_), _Internal::kHasBitsOffset + 2, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::JobLockedInfo>()}, - {::_pbi::TcParser::GetMapAuxInfo< - decltype(JobRequestCfg()._impl_.metadata_)>( - 1, 0, 0, 9, - 9)}, - }}, {{ - "\22\0\4\12\0\0\0\0\0\0\0\0\15\10\7\0\13\0\0\0\0\0\0\0" - "flex.JobRequestCfg" - "path" - "remotePath" - "storage_class" - "metadata" - "tagging" - "filter_expr" - }}, -}; - -PROTOBUF_NOINLINE void JobRequestCfg::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.JobRequestCfg) - ::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_.metadata_.Clear(); - _impl_.path_.ClearToEmpty(); - _impl_.remotepath_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _impl_.storage_class_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.tagging_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - _impl_.filter_expr_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000008u) { - ABSL_DCHECK(_impl_.locked_info_ != nullptr); - _impl_.locked_info_->Clear(); - } - } - ::memset(&_impl_.remotestoragetarget_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.flatten_) - - reinterpret_cast(&_impl_.remotestoragetarget_)) + sizeof(_impl_.flatten_)); - _impl_.priority_ = 0; - _impl_.force_ = false; - if (cached_has_bits & 0x00000060u) { - ::memset(&_impl_.update_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.allow_restore_) - - reinterpret_cast(&_impl_.update_)) + sizeof(_impl_.allow_restore_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* JobRequestCfg::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const JobRequestCfg& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* JobRequestCfg::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const JobRequestCfg& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.JobRequestCfg) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // uint32 remoteStorageTarget = 1; - if (this_._internal_remotestoragetarget() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 1, this_._internal_remotestoragetarget(), target); - } - - // string path = 2; - if (!this_._internal_path().empty()) { - const std::string& _s = this_._internal_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.JobRequestCfg.path"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - // string remotePath = 3; - if (!this_._internal_remotepath().empty()) { - const std::string& _s = this_._internal_remotepath(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.JobRequestCfg.remotePath"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - // bool download = 4; - if (this_._internal_download() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 4, this_._internal_download(), target); - } - - // bool stub_local = 5; - if (this_._internal_stub_local() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 5, this_._internal_stub_local(), target); - } - - // bool overwrite = 6; - if (this_._internal_overwrite() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 6, this_._internal_overwrite(), target); - } - - // bool flatten = 7; - if (this_._internal_flatten() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 7, this_._internal_flatten(), target); - } - - // bool force = 8; - if (this_._internal_force() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 8, this_._internal_force(), target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.JobLockedInfo locked_info = 9; - if (cached_has_bits & 0x00000008u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 9, *this_._impl_.locked_info_, this_._impl_.locked_info_->GetCachedSize(), target, - stream); - } - - // optional bool update = 10; - if (cached_has_bits & 0x00000020u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 10, this_._internal_update(), target); - } - - // optional int32 priority = 11; - if (cached_has_bits & 0x00000010u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32ToArrayWithField<11>( - stream, this_._internal_priority(), target); - } - - // optional string storage_class = 12; - if (cached_has_bits & 0x00000001u) { - const std::string& _s = this_._internal_storage_class(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.JobRequestCfg.storage_class"); - target = stream->WriteStringMaybeAliased(12, _s, target); - } - - // map metadata = 13; - if (!this_._internal_metadata().empty()) { - using MapType = ::google::protobuf::Map; - using WireHelper = _pbi::MapEntryFuncs; - const auto& field = this_._internal_metadata(); - - if (stream->IsSerializationDeterministic() && field.size() > 1) { - for (const auto& entry : ::google::protobuf::internal::MapSorterPtr(field)) { - target = WireHelper::InternalSerialize( - 13, entry.first, entry.second, target, stream); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - entry.first.data(), static_cast(entry.first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.JobRequestCfg.metadata"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - entry.second.data(), static_cast(entry.second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.JobRequestCfg.metadata"); - } - } else { - for (const auto& entry : field) { - target = WireHelper::InternalSerialize( - 13, entry.first, entry.second, target, stream); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - entry.first.data(), static_cast(entry.first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.JobRequestCfg.metadata"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - entry.second.data(), static_cast(entry.second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.JobRequestCfg.metadata"); - } - } - } - - // optional string tagging = 14; - if (cached_has_bits & 0x00000002u) { - const std::string& _s = this_._internal_tagging(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.JobRequestCfg.tagging"); - target = stream->WriteStringMaybeAliased(14, _s, target); - } - - // optional bool allow_restore = 15; - if (cached_has_bits & 0x00000040u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 15, this_._internal_allow_restore(), target); - } - - // optional string filter_expr = 16; - if (cached_has_bits & 0x00000004u) { - const std::string& _s = this_._internal_filter_expr(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.JobRequestCfg.filter_expr"); - target = stream->WriteStringMaybeAliased(16, _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:flex.JobRequestCfg) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t JobRequestCfg::ByteSizeLong(const MessageLite& base) { - const JobRequestCfg& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t JobRequestCfg::ByteSizeLong() const { - const JobRequestCfg& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.JobRequestCfg) - ::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_); - { - // map metadata = 13; - { - total_size += - 1 * ::google::protobuf::internal::FromIntSize(this_._internal_metadata_size()); - for (const auto& entry : this_._internal_metadata()) { - total_size += _pbi::MapEntryFuncs::ByteSizeLong(entry.first, entry.second); - } - } - } - { - // string path = 2; - if (!this_._internal_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_path()); - } - // string remotePath = 3; - if (!this_._internal_remotepath().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_remotepath()); - } - } - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - // optional string storage_class = 12; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_storage_class()); - } - // optional string tagging = 14; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_tagging()); - } - // optional string filter_expr = 16; - if (cached_has_bits & 0x00000004u) { - total_size += 2 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_filter_expr()); - } - // .flex.JobLockedInfo locked_info = 9; - if (cached_has_bits & 0x00000008u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.locked_info_); - } - } - { - // uint32 remoteStorageTarget = 1; - if (this_._internal_remotestoragetarget() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_remotestoragetarget()); - } - // bool download = 4; - if (this_._internal_download() != 0) { - total_size += 2; - } - // bool stub_local = 5; - if (this_._internal_stub_local() != 0) { - total_size += 2; - } - // bool overwrite = 6; - if (this_._internal_overwrite() != 0) { - total_size += 2; - } - // bool flatten = 7; - if (this_._internal_flatten() != 0) { - total_size += 2; - } - } - { - // optional int32 priority = 11; - if (cached_has_bits & 0x00000010u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( - this_._internal_priority()); - } - } - { - // bool force = 8; - if (this_._internal_force() != 0) { - total_size += 2; - } - } - if (cached_has_bits & 0x00000060u) { - // optional bool update = 10; - if (cached_has_bits & 0x00000020u) { - total_size += 2; - } - // optional bool allow_restore = 15; - if (cached_has_bits & 0x00000040u) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void JobRequestCfg::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:flex.JobRequestCfg) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.metadata_.MergeFrom(from._impl_.metadata_); - if (!from._internal_path().empty()) { - _this->_internal_set_path(from._internal_path()); - } - if (!from._internal_remotepath().empty()) { - _this->_internal_set_remotepath(from._internal_remotepath()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x0000000fu) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_storage_class(from._internal_storage_class()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_tagging(from._internal_tagging()); - } - if (cached_has_bits & 0x00000004u) { - _this->_internal_set_filter_expr(from._internal_filter_expr()); - } - if (cached_has_bits & 0x00000008u) { - ABSL_DCHECK(from._impl_.locked_info_ != nullptr); - if (_this->_impl_.locked_info_ == nullptr) { - _this->_impl_.locked_info_ = - ::google::protobuf::Message::CopyConstruct<::flex::JobLockedInfo>(arena, *from._impl_.locked_info_); - } else { - _this->_impl_.locked_info_->MergeFrom(*from._impl_.locked_info_); - } - } - } - if (from._internal_remotestoragetarget() != 0) { - _this->_impl_.remotestoragetarget_ = from._impl_.remotestoragetarget_; - } - if (from._internal_download() != 0) { - _this->_impl_.download_ = from._impl_.download_; - } - if (from._internal_stub_local() != 0) { - _this->_impl_.stub_local_ = from._impl_.stub_local_; - } - if (from._internal_overwrite() != 0) { - _this->_impl_.overwrite_ = from._impl_.overwrite_; - } - if (from._internal_flatten() != 0) { - _this->_impl_.flatten_ = from._impl_.flatten_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.priority_ = from._impl_.priority_; - } - if (from._internal_force() != 0) { - _this->_impl_.force_ = from._impl_.force_; - } - if (cached_has_bits & 0x00000060u) { - if (cached_has_bits & 0x00000020u) { - _this->_impl_.update_ = from._impl_.update_; - } - if (cached_has_bits & 0x00000040u) { - _this->_impl_.allow_restore_ = from._impl_.allow_restore_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void JobRequestCfg::CopyFrom(const JobRequestCfg& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.JobRequestCfg) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void JobRequestCfg::InternalSwap(JobRequestCfg* 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_.metadata_.InternalSwap(&other->_impl_.metadata_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.remotepath_, &other->_impl_.remotepath_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.storage_class_, &other->_impl_.storage_class_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.tagging_, &other->_impl_.tagging_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.filter_expr_, &other->_impl_.filter_expr_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.allow_restore_) - + sizeof(JobRequestCfg::_impl_.allow_restore_) - - PROTOBUF_FIELD_OFFSET(JobRequestCfg, _impl_.locked_info_)>( - reinterpret_cast(&_impl_.locked_info_), - reinterpret_cast(&other->_impl_.locked_info_)); -} - -::google::protobuf::Metadata JobRequestCfg::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class WorkRequest_Segment::_Internal { - public: -}; - -WorkRequest_Segment::WorkRequest_Segment(::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:flex.WorkRequest.Segment) -} -WorkRequest_Segment::WorkRequest_Segment( - ::google::protobuf::Arena* arena, const WorkRequest_Segment& from) - : WorkRequest_Segment(arena) { - MergeFrom(from); -} -inline PROTOBUF_NDEBUG_INLINE WorkRequest_Segment::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void WorkRequest_Segment::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, offset_start_), - 0, - offsetof(Impl_, parts_stop_) - - offsetof(Impl_, offset_start_) + - sizeof(Impl_::parts_stop_)); -} -WorkRequest_Segment::~WorkRequest_Segment() { - // @@protoc_insertion_point(destructor:flex.WorkRequest.Segment) - SharedDtor(*this); -} -inline void WorkRequest_Segment::SharedDtor(MessageLite& self) { - WorkRequest_Segment& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* WorkRequest_Segment::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) WorkRequest_Segment(arena); -} -constexpr auto WorkRequest_Segment::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(WorkRequest_Segment), - alignof(WorkRequest_Segment)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull WorkRequest_Segment::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_WorkRequest_Segment_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &WorkRequest_Segment::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &WorkRequest_Segment::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &WorkRequest_Segment::ByteSizeLong, - &WorkRequest_Segment::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_._cached_size_), - false, - }, - &WorkRequest_Segment::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* WorkRequest_Segment::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, 0, 0, 2> WorkRequest_Segment::_table_ = { - { - 0, // no _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 - 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<::flex::WorkRequest_Segment>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // int32 parts_stop = 4; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WorkRequest_Segment, _impl_.parts_stop_), 63>(), - {32, 63, 0, PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.parts_stop_)}}, - // int64 offset_start = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(WorkRequest_Segment, _impl_.offset_start_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.offset_start_)}}, - // int64 offset_stop = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(WorkRequest_Segment, _impl_.offset_stop_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.offset_stop_)}}, - // int32 parts_start = 3; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WorkRequest_Segment, _impl_.parts_start_), 63>(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.parts_start_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // int64 offset_start = 1; - {PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.offset_start_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, - // int64 offset_stop = 2; - {PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.offset_stop_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, - // int32 parts_start = 3; - {PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.parts_start_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - // int32 parts_stop = 4; - {PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.parts_stop_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - }}, - // no aux_entries - {{ - }}, -}; - -PROTOBUF_NOINLINE void WorkRequest_Segment::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.WorkRequest.Segment) - ::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_.offset_start_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.parts_stop_) - - reinterpret_cast(&_impl_.offset_start_)) + sizeof(_impl_.parts_stop_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* WorkRequest_Segment::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const WorkRequest_Segment& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* WorkRequest_Segment::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const WorkRequest_Segment& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.WorkRequest.Segment) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // int64 offset_start = 1; - if (this_._internal_offset_start() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<1>( - stream, this_._internal_offset_start(), target); - } - - // int64 offset_stop = 2; - if (this_._internal_offset_stop() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<2>( - stream, this_._internal_offset_stop(), target); - } - - // int32 parts_start = 3; - if (this_._internal_parts_start() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32ToArrayWithField<3>( - stream, this_._internal_parts_start(), target); - } - - // int32 parts_stop = 4; - if (this_._internal_parts_stop() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32ToArrayWithField<4>( - stream, this_._internal_parts_stop(), 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:flex.WorkRequest.Segment) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t WorkRequest_Segment::ByteSizeLong(const MessageLite& base) { - const WorkRequest_Segment& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t WorkRequest_Segment::ByteSizeLong() const { - const WorkRequest_Segment& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.WorkRequest.Segment) - ::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_); - { - // int64 offset_start = 1; - if (this_._internal_offset_start() != 0) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_offset_start()); - } - // int64 offset_stop = 2; - if (this_._internal_offset_stop() != 0) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_offset_stop()); - } - // int32 parts_start = 3; - if (this_._internal_parts_start() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( - this_._internal_parts_start()); - } - // int32 parts_stop = 4; - if (this_._internal_parts_stop() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( - this_._internal_parts_stop()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void WorkRequest_Segment::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:flex.WorkRequest.Segment) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_offset_start() != 0) { - _this->_impl_.offset_start_ = from._impl_.offset_start_; - } - if (from._internal_offset_stop() != 0) { - _this->_impl_.offset_stop_ = from._impl_.offset_stop_; - } - if (from._internal_parts_start() != 0) { - _this->_impl_.parts_start_ = from._impl_.parts_start_; - } - if (from._internal_parts_stop() != 0) { - _this->_impl_.parts_stop_ = from._impl_.parts_stop_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void WorkRequest_Segment::CopyFrom(const WorkRequest_Segment& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.WorkRequest.Segment) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void WorkRequest_Segment::InternalSwap(WorkRequest_Segment* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.parts_stop_) - + sizeof(WorkRequest_Segment::_impl_.parts_stop_) - - PROTOBUF_FIELD_OFFSET(WorkRequest_Segment, _impl_.offset_start_)>( - reinterpret_cast(&_impl_.offset_start_), - reinterpret_cast(&other->_impl_.offset_start_)); -} - -::google::protobuf::Metadata WorkRequest_Segment::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class WorkRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_._has_bits_); - static constexpr ::int32_t kOneofCaseOffset = - PROTOBUF_FIELD_OFFSET(::flex::WorkRequest, _impl_._oneof_case_); -}; - -void WorkRequest::set_allocated_mock(::flex::MockJob* mock) { - ::google::protobuf::Arena* message_arena = GetArena(); - clear_Type(); - if (mock) { - ::google::protobuf::Arena* submessage_arena = mock->GetArena(); - if (message_arena != submessage_arena) { - mock = ::google::protobuf::internal::GetOwnedMessage(message_arena, mock, submessage_arena); - } - set_has_mock(); - _impl_.Type_.mock_ = mock; - } - // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.mock) -} -void WorkRequest::set_allocated_sync(::flex::SyncJob* sync) { - ::google::protobuf::Arena* message_arena = GetArena(); - clear_Type(); - if (sync) { - ::google::protobuf::Arena* submessage_arena = sync->GetArena(); - if (message_arena != submessage_arena) { - sync = ::google::protobuf::internal::GetOwnedMessage(message_arena, sync, submessage_arena); - } - set_has_sync(); - _impl_.Type_.sync_ = sync; - } - // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.sync) -} -void WorkRequest::set_allocated_builder(::flex::BuilderJob* builder) { - ::google::protobuf::Arena* message_arena = GetArena(); - clear_Type(); - if (builder) { - ::google::protobuf::Arena* submessage_arena = builder->GetArena(); - if (message_arena != submessage_arena) { - builder = ::google::protobuf::internal::GetOwnedMessage(message_arena, builder, submessage_arena); - } - set_has_builder(); - _impl_.Type_.builder_ = builder; - } - // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.builder) -} -WorkRequest::WorkRequest(::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:flex.WorkRequest) -} -inline PROTOBUF_NDEBUG_INLINE WorkRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::WorkRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - job_id_(arena, from.job_id_), - request_id_(arena, from.request_id_), - external_id_(arena, from.external_id_), - path_(arena, from.path_), - Type_{}, - _oneof_case_{from._oneof_case_[0]} {} - -WorkRequest::WorkRequest( - ::google::protobuf::Arena* arena, - const WorkRequest& 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 - WorkRequest* 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_.segment_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::WorkRequest_Segment>( - arena, *from._impl_.segment_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, remote_storage_target_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, remote_storage_target_), - offsetof(Impl_, priority_) - - offsetof(Impl_, remote_storage_target_) + - sizeof(Impl_::priority_)); - switch (Type_case()) { - case TYPE_NOT_SET: - break; - case kMock: - _impl_.Type_.mock_ = ::google::protobuf::Message::CopyConstruct<::flex::MockJob>(arena, *from._impl_.Type_.mock_); - break; - case kSync: - _impl_.Type_.sync_ = ::google::protobuf::Message::CopyConstruct<::flex::SyncJob>(arena, *from._impl_.Type_.sync_); - break; - case kBuilder: - _impl_.Type_.builder_ = ::google::protobuf::Message::CopyConstruct<::flex::BuilderJob>(arena, *from._impl_.Type_.builder_); - break; - } - - // @@protoc_insertion_point(copy_constructor:flex.WorkRequest) -} -inline PROTOBUF_NDEBUG_INLINE WorkRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - job_id_(arena), - request_id_(arena), - external_id_(arena), - path_(arena), - Type_{}, - _oneof_case_{} {} - -inline void WorkRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, segment_), - 0, - offsetof(Impl_, priority_) - - offsetof(Impl_, segment_) + - sizeof(Impl_::priority_)); -} -WorkRequest::~WorkRequest() { - // @@protoc_insertion_point(destructor:flex.WorkRequest) - SharedDtor(*this); -} -inline void WorkRequest::SharedDtor(MessageLite& self) { - WorkRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.job_id_.Destroy(); - this_._impl_.request_id_.Destroy(); - this_._impl_.external_id_.Destroy(); - this_._impl_.path_.Destroy(); - delete this_._impl_.segment_; - if (this_.has_Type()) { - this_.clear_Type(); - } - this_._impl_.~Impl_(); -} - -void WorkRequest::clear_Type() { -// @@protoc_insertion_point(one_of_clear_start:flex.WorkRequest) - ::google::protobuf::internal::TSanWrite(&_impl_); - switch (Type_case()) { - case kMock: { - if (GetArena() == nullptr) { - delete _impl_.Type_.mock_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.Type_.mock_); - } - break; - } - case kSync: { - if (GetArena() == nullptr) { - delete _impl_.Type_.sync_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.Type_.sync_); - } - break; - } - case kBuilder: { - if (GetArena() == nullptr) { - delete _impl_.Type_.builder_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.Type_.builder_); - } - break; - } - case TYPE_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = TYPE_NOT_SET; -} - - -inline void* WorkRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) WorkRequest(arena); -} -constexpr auto WorkRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(WorkRequest), - alignof(WorkRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull WorkRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_WorkRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &WorkRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &WorkRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &WorkRequest::ByteSizeLong, - &WorkRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_._cached_size_), - false, - }, - &WorkRequest::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* WorkRequest::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, 11, 4, 64, 2> WorkRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_._has_bits_), - 0, // no _extensions_ - 12, 120, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294963264, // skipmap - offsetof(decltype(_table_), field_entries), - 11, // 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<::flex::WorkRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // string job_id = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.job_id_)}}, - // string request_id = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.request_id_)}}, - // string external_id = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.external_id_)}}, - // string path = 4; - {::_pbi::TcParser::FastUS1, - {34, 63, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.path_)}}, - // .flex.WorkRequest.Segment segment = 5; - {::_pbi::TcParser::FastMtS1, - {42, 0, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.segment_)}}, - // uint32 remote_storage_target = 6; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WorkRequest, _impl_.remote_storage_target_), 63>(), - {48, 63, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.remote_storage_target_)}}, - {::_pbi::TcParser::MiniParse, {}}, - // bool stub_local = 8; - {::_pbi::TcParser::SingularVarintNoZag1(), - {64, 63, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.stub_local_)}}, - // optional int32 priority = 9; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WorkRequest, _impl_.priority_), 1>(), - {72, 1, 0, PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.priority_)}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // string job_id = 1; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.job_id_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string request_id = 2; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.request_id_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string external_id = 3; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.external_id_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string path = 4; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.path_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // .flex.WorkRequest.Segment segment = 5; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.segment_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // uint32 remote_storage_target = 6; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.remote_storage_target_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // bool stub_local = 8; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.stub_local_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // optional int32 priority = 9; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.priority_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kInt32)}, - // .flex.MockJob mock = 10; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.Type_.mock_), _Internal::kOneofCaseOffset + 0, 1, - (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, - // .flex.SyncJob sync = 11; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.Type_.sync_), _Internal::kOneofCaseOffset + 0, 2, - (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, - // .flex.BuilderJob builder = 12; - {PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.Type_.builder_), _Internal::kOneofCaseOffset + 0, 3, - (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::WorkRequest_Segment>()}, - {::_pbi::TcParser::GetTable<::flex::MockJob>()}, - {::_pbi::TcParser::GetTable<::flex::SyncJob>()}, - {::_pbi::TcParser::GetTable<::flex::BuilderJob>()}, - }}, {{ - "\20\6\12\13\4\0\0\0\0\0\0\0\0\0\0\0" - "flex.WorkRequest" - "job_id" - "request_id" - "external_id" - "path" - }}, -}; - -PROTOBUF_NOINLINE void WorkRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.WorkRequest) - ::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_.job_id_.ClearToEmpty(); - _impl_.request_id_.ClearToEmpty(); - _impl_.external_id_.ClearToEmpty(); - _impl_.path_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.segment_ != nullptr); - _impl_.segment_->Clear(); - } - ::memset(&_impl_.remote_storage_target_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.stub_local_) - - reinterpret_cast(&_impl_.remote_storage_target_)) + sizeof(_impl_.stub_local_)); - _impl_.priority_ = 0; - clear_Type(); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* WorkRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const WorkRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* WorkRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const WorkRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.WorkRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string job_id = 1; - if (!this_._internal_job_id().empty()) { - const std::string& _s = this_._internal_job_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.WorkRequest.job_id"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - // string request_id = 2; - if (!this_._internal_request_id().empty()) { - const std::string& _s = this_._internal_request_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.WorkRequest.request_id"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - // string external_id = 3; - if (!this_._internal_external_id().empty()) { - const std::string& _s = this_._internal_external_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.WorkRequest.external_id"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - // string path = 4; - if (!this_._internal_path().empty()) { - const std::string& _s = this_._internal_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.WorkRequest.path"); - target = stream->WriteStringMaybeAliased(4, _s, target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.WorkRequest.Segment segment = 5; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 5, *this_._impl_.segment_, this_._impl_.segment_->GetCachedSize(), target, - stream); - } - - // uint32 remote_storage_target = 6; - if (this_._internal_remote_storage_target() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 6, this_._internal_remote_storage_target(), target); - } - - // bool stub_local = 8; - if (this_._internal_stub_local() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 8, this_._internal_stub_local(), target); - } - - // optional int32 priority = 9; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32ToArrayWithField<9>( - stream, this_._internal_priority(), target); - } - - switch (this_.Type_case()) { - case kMock: { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 10, *this_._impl_.Type_.mock_, this_._impl_.Type_.mock_->GetCachedSize(), target, - stream); - break; - } - case kSync: { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 11, *this_._impl_.Type_.sync_, this_._impl_.Type_.sync_->GetCachedSize(), target, - stream); - break; - } - case kBuilder: { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 12, *this_._impl_.Type_.builder_, this_._impl_.Type_.builder_->GetCachedSize(), target, - stream); - break; - } - default: - break; - } - 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:flex.WorkRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t WorkRequest::ByteSizeLong(const MessageLite& base) { - const WorkRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t WorkRequest::ByteSizeLong() const { - const WorkRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.WorkRequest) - ::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 job_id = 1; - if (!this_._internal_job_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_job_id()); - } - // string request_id = 2; - if (!this_._internal_request_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_request_id()); - } - // string external_id = 3; - if (!this_._internal_external_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_external_id()); - } - // string path = 4; - if (!this_._internal_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_path()); - } - } - { - // .flex.WorkRequest.Segment segment = 5; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.segment_); - } - } - { - // uint32 remote_storage_target = 6; - if (this_._internal_remote_storage_target() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_remote_storage_target()); - } - // bool stub_local = 8; - if (this_._internal_stub_local() != 0) { - total_size += 2; - } - } - { - // optional int32 priority = 9; - if (cached_has_bits & 0x00000002u) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( - this_._internal_priority()); - } - } - switch (this_.Type_case()) { - // .flex.MockJob mock = 10; - case kMock: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.Type_.mock_); - break; - } - // .flex.SyncJob sync = 11; - case kSync: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.Type_.sync_); - break; - } - // .flex.BuilderJob builder = 12; - case kBuilder: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.Type_.builder_); - break; - } - case TYPE_NOT_SET: { - break; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void WorkRequest::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:flex.WorkRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_job_id().empty()) { - _this->_internal_set_job_id(from._internal_job_id()); - } - if (!from._internal_request_id().empty()) { - _this->_internal_set_request_id(from._internal_request_id()); - } - if (!from._internal_external_id().empty()) { - _this->_internal_set_external_id(from._internal_external_id()); - } - if (!from._internal_path().empty()) { - _this->_internal_set_path(from._internal_path()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.segment_ != nullptr); - if (_this->_impl_.segment_ == nullptr) { - _this->_impl_.segment_ = - ::google::protobuf::Message::CopyConstruct<::flex::WorkRequest_Segment>(arena, *from._impl_.segment_); - } else { - _this->_impl_.segment_->MergeFrom(*from._impl_.segment_); - } - } - if (from._internal_remote_storage_target() != 0) { - _this->_impl_.remote_storage_target_ = from._impl_.remote_storage_target_; - } - if (from._internal_stub_local() != 0) { - _this->_impl_.stub_local_ = from._impl_.stub_local_; - } - if (cached_has_bits & 0x00000002u) { - _this->_impl_.priority_ = from._impl_.priority_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { - const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; - const bool oneof_needs_init = oneof_to_case != oneof_from_case; - if (oneof_needs_init) { - if (oneof_to_case != 0) { - _this->clear_Type(); - } - _this->_impl_._oneof_case_[0] = oneof_from_case; - } - - switch (oneof_from_case) { - case kMock: { - if (oneof_needs_init) { - _this->_impl_.Type_.mock_ = - ::google::protobuf::Message::CopyConstruct<::flex::MockJob>(arena, *from._impl_.Type_.mock_); - } else { - _this->_impl_.Type_.mock_->MergeFrom(from._internal_mock()); - } - break; - } - case kSync: { - if (oneof_needs_init) { - _this->_impl_.Type_.sync_ = - ::google::protobuf::Message::CopyConstruct<::flex::SyncJob>(arena, *from._impl_.Type_.sync_); - } else { - _this->_impl_.Type_.sync_->MergeFrom(from._internal_sync()); - } - break; - } - case kBuilder: { - if (oneof_needs_init) { - _this->_impl_.Type_.builder_ = - ::google::protobuf::Message::CopyConstruct<::flex::BuilderJob>(arena, *from._impl_.Type_.builder_); - } else { - _this->_impl_.Type_.builder_->MergeFrom(from._internal_builder()); - } - break; - } - case TYPE_NOT_SET: - break; - } - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void WorkRequest::CopyFrom(const WorkRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.WorkRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void WorkRequest::InternalSwap(WorkRequest* 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_.job_id_, &other->_impl_.job_id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.request_id_, &other->_impl_.request_id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.external_id_, &other->_impl_.external_id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.priority_) - + sizeof(WorkRequest::_impl_.priority_) - - PROTOBUF_FIELD_OFFSET(WorkRequest, _impl_.segment_)>( - reinterpret_cast(&_impl_.segment_), - reinterpret_cast(&other->_impl_.segment_)); - swap(_impl_.Type_, other->_impl_.Type_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::google::protobuf::Metadata WorkRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class BuilderJob::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_._has_bits_); -}; - -BuilderJob::BuilderJob(::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:flex.BuilderJob) -} -inline PROTOBUF_NDEBUG_INLINE BuilderJob::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::BuilderJob& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0} {} - -BuilderJob::BuilderJob( - ::google::protobuf::Arena* arena, - const BuilderJob& 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 - BuilderJob* 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_.cfg_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::JobRequestCfg>( - arena, *from._impl_.cfg_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, submitted_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, submitted_), - offsetof(Impl_, errors_) - - offsetof(Impl_, submitted_) + - sizeof(Impl_::errors_)); - - // @@protoc_insertion_point(copy_constructor:flex.BuilderJob) -} -inline PROTOBUF_NDEBUG_INLINE BuilderJob::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void BuilderJob::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, cfg_), - 0, - offsetof(Impl_, errors_) - - offsetof(Impl_, cfg_) + - sizeof(Impl_::errors_)); -} -BuilderJob::~BuilderJob() { - // @@protoc_insertion_point(destructor:flex.BuilderJob) - SharedDtor(*this); -} -inline void BuilderJob::SharedDtor(MessageLite& self) { - BuilderJob& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.cfg_; - this_._impl_.~Impl_(); -} - -inline void* BuilderJob::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) BuilderJob(arena); -} -constexpr auto BuilderJob::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BuilderJob), - alignof(BuilderJob)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull BuilderJob::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_BuilderJob_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &BuilderJob::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &BuilderJob::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &BuilderJob::ByteSizeLong, - &BuilderJob::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_._cached_size_), - false, - }, - &BuilderJob::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* BuilderJob::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> BuilderJob::_table_ = { - { - PROTOBUF_FIELD_OFFSET(BuilderJob, _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<::flex::BuilderJob>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // .flex.JobRequestCfg cfg = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.cfg_)}}, - // int32 submitted = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BuilderJob, _impl_.submitted_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.submitted_)}}, - // int32 errors = 3; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BuilderJob, _impl_.errors_), 63>(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.errors_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .flex.JobRequestCfg cfg = 1; - {PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.cfg_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // int32 submitted = 2; - {PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.submitted_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - // int32 errors = 3; - {PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.errors_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::JobRequestCfg>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void BuilderJob::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.BuilderJob) - ::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_.cfg_ != nullptr); - _impl_.cfg_->Clear(); - } - ::memset(&_impl_.submitted_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.errors_) - - reinterpret_cast(&_impl_.submitted_)) + sizeof(_impl_.errors_)); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* BuilderJob::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const BuilderJob& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* BuilderJob::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const BuilderJob& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.BuilderJob) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.JobRequestCfg cfg = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.cfg_, this_._impl_.cfg_->GetCachedSize(), target, - stream); - } - - // int32 submitted = 2; - if (this_._internal_submitted() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32ToArrayWithField<2>( - stream, this_._internal_submitted(), target); - } - - // int32 errors = 3; - if (this_._internal_errors() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32ToArrayWithField<3>( - stream, this_._internal_errors(), 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:flex.BuilderJob) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t BuilderJob::ByteSizeLong(const MessageLite& base) { - const BuilderJob& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t BuilderJob::ByteSizeLong() const { - const BuilderJob& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.BuilderJob) - ::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_); - { - // .flex.JobRequestCfg cfg = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.cfg_); - } - } - { - // int32 submitted = 2; - if (this_._internal_submitted() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( - this_._internal_submitted()); - } - // int32 errors = 3; - if (this_._internal_errors() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( - this_._internal_errors()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void BuilderJob::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:flex.BuilderJob) - 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_.cfg_ != nullptr); - if (_this->_impl_.cfg_ == nullptr) { - _this->_impl_.cfg_ = - ::google::protobuf::Message::CopyConstruct<::flex::JobRequestCfg>(arena, *from._impl_.cfg_); - } else { - _this->_impl_.cfg_->MergeFrom(*from._impl_.cfg_); - } - } - if (from._internal_submitted() != 0) { - _this->_impl_.submitted_ = from._impl_.submitted_; - } - if (from._internal_errors() != 0) { - _this->_impl_.errors_ = from._impl_.errors_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void BuilderJob::CopyFrom(const BuilderJob& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.BuilderJob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void BuilderJob::InternalSwap(BuilderJob* 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(BuilderJob, _impl_.errors_) - + sizeof(BuilderJob::_impl_.errors_) - - PROTOBUF_FIELD_OFFSET(BuilderJob, _impl_.cfg_)>( - reinterpret_cast(&_impl_.cfg_), - reinterpret_cast(&other->_impl_.cfg_)); -} - -::google::protobuf::Metadata BuilderJob::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class MockJob::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(MockJob, _impl_._has_bits_); -}; - -MockJob::MockJob(::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:flex.MockJob) -} -inline PROTOBUF_NDEBUG_INLINE MockJob::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::MockJob& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - external_id_(arena, from.external_id_) {} - -MockJob::MockJob( - ::google::protobuf::Arena* arena, - const MockJob& 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 - MockJob* 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_.locked_info_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::JobLockedInfo>( - arena, *from._impl_.locked_info_) - : nullptr; - _impl_.cfg_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::flex::JobRequestCfg>( - arena, *from._impl_.cfg_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, file_size_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, file_size_), - offsetof(Impl_, should_fail_) - - offsetof(Impl_, file_size_) + - sizeof(Impl_::should_fail_)); - - // @@protoc_insertion_point(copy_constructor:flex.MockJob) -} -inline PROTOBUF_NDEBUG_INLINE MockJob::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - external_id_(arena) {} - -inline void MockJob::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, locked_info_), - 0, - offsetof(Impl_, should_fail_) - - offsetof(Impl_, locked_info_) + - sizeof(Impl_::should_fail_)); -} -MockJob::~MockJob() { - // @@protoc_insertion_point(destructor:flex.MockJob) - SharedDtor(*this); -} -inline void MockJob::SharedDtor(MessageLite& self) { - MockJob& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.external_id_.Destroy(); - delete this_._impl_.locked_info_; - delete this_._impl_.cfg_; - this_._impl_.~Impl_(); -} - -inline void* MockJob::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) MockJob(arena); -} -constexpr auto MockJob::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(MockJob), - alignof(MockJob)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull MockJob::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_MockJob_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &MockJob::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &MockJob::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &MockJob::ByteSizeLong, - &MockJob::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(MockJob, _impl_._cached_size_), - false, - }, - &MockJob::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* MockJob::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, 6, 2, 32, 2> MockJob::_table_ = { - { - PROTOBUF_FIELD_OFFSET(MockJob, _impl_._has_bits_), - 0, // no _extensions_ - 7, 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967184, // skipmap - offsetof(decltype(_table_), field_entries), - 6, // 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<::flex::MockJob>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // int32 num_test_segments = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(MockJob, _impl_.num_test_segments_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(MockJob, _impl_.num_test_segments_)}}, - // int64 file_size = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(MockJob, _impl_.file_size_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(MockJob, _impl_.file_size_)}}, - // string external_id = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(MockJob, _impl_.external_id_)}}, - // bool should_fail = 4; - {::_pbi::TcParser::SingularVarintNoZag1(), - {32, 63, 0, PROTOBUF_FIELD_OFFSET(MockJob, _impl_.should_fail_)}}, - {::_pbi::TcParser::MiniParse, {}}, - // .flex.JobLockedInfo locked_info = 6; - {::_pbi::TcParser::FastMtS1, - {50, 0, 0, PROTOBUF_FIELD_OFFSET(MockJob, _impl_.locked_info_)}}, - // .flex.JobRequestCfg cfg = 7; - {::_pbi::TcParser::FastMtS1, - {58, 1, 1, PROTOBUF_FIELD_OFFSET(MockJob, _impl_.cfg_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // int32 num_test_segments = 1; - {PROTOBUF_FIELD_OFFSET(MockJob, _impl_.num_test_segments_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - // int64 file_size = 2; - {PROTOBUF_FIELD_OFFSET(MockJob, _impl_.file_size_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, - // string external_id = 3; - {PROTOBUF_FIELD_OFFSET(MockJob, _impl_.external_id_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // bool should_fail = 4; - {PROTOBUF_FIELD_OFFSET(MockJob, _impl_.should_fail_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // .flex.JobLockedInfo locked_info = 6; - {PROTOBUF_FIELD_OFFSET(MockJob, _impl_.locked_info_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .flex.JobRequestCfg cfg = 7; - {PROTOBUF_FIELD_OFFSET(MockJob, _impl_.cfg_), _Internal::kHasBitsOffset + 1, 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::JobLockedInfo>()}, - {::_pbi::TcParser::GetTable<::flex::JobRequestCfg>()}, - }}, {{ - "\14\0\0\13\0\0\0\0" - "flex.MockJob" - "external_id" - }}, -}; - -PROTOBUF_NOINLINE void MockJob::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.MockJob) - ::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_.external_id_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.locked_info_ != nullptr); - _impl_.locked_info_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.cfg_ != nullptr); - _impl_.cfg_->Clear(); - } - } - ::memset(&_impl_.file_size_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.should_fail_) - - reinterpret_cast(&_impl_.file_size_)) + sizeof(_impl_.should_fail_)); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* MockJob::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const MockJob& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* MockJob::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const MockJob& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.MockJob) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // int32 num_test_segments = 1; - if (this_._internal_num_test_segments() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32ToArrayWithField<1>( - stream, this_._internal_num_test_segments(), target); - } - - // int64 file_size = 2; - if (this_._internal_file_size() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<2>( - stream, this_._internal_file_size(), target); - } - - // string external_id = 3; - if (!this_._internal_external_id().empty()) { - const std::string& _s = this_._internal_external_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.MockJob.external_id"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - // bool should_fail = 4; - if (this_._internal_should_fail() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 4, this_._internal_should_fail(), target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.JobLockedInfo locked_info = 6; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 6, *this_._impl_.locked_info_, this_._impl_.locked_info_->GetCachedSize(), target, - stream); - } - - // .flex.JobRequestCfg cfg = 7; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 7, *this_._impl_.cfg_, this_._impl_.cfg_->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:flex.MockJob) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t MockJob::ByteSizeLong(const MessageLite& base) { - const MockJob& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t MockJob::ByteSizeLong() const { - const MockJob& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.MockJob) - ::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 external_id = 3; - if (!this_._internal_external_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_external_id()); - } - } - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // .flex.JobLockedInfo locked_info = 6; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.locked_info_); - } - // .flex.JobRequestCfg cfg = 7; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.cfg_); - } - } - { - // int64 file_size = 2; - if (this_._internal_file_size() != 0) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_file_size()); - } - // int32 num_test_segments = 1; - if (this_._internal_num_test_segments() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( - this_._internal_num_test_segments()); - } - // bool should_fail = 4; - if (this_._internal_should_fail() != 0) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void MockJob::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:flex.MockJob) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_external_id().empty()) { - _this->_internal_set_external_id(from._internal_external_id()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.locked_info_ != nullptr); - if (_this->_impl_.locked_info_ == nullptr) { - _this->_impl_.locked_info_ = - ::google::protobuf::Message::CopyConstruct<::flex::JobLockedInfo>(arena, *from._impl_.locked_info_); - } else { - _this->_impl_.locked_info_->MergeFrom(*from._impl_.locked_info_); - } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.cfg_ != nullptr); - if (_this->_impl_.cfg_ == nullptr) { - _this->_impl_.cfg_ = - ::google::protobuf::Message::CopyConstruct<::flex::JobRequestCfg>(arena, *from._impl_.cfg_); - } else { - _this->_impl_.cfg_->MergeFrom(*from._impl_.cfg_); - } - } - } - if (from._internal_file_size() != 0) { - _this->_impl_.file_size_ = from._impl_.file_size_; - } - if (from._internal_num_test_segments() != 0) { - _this->_impl_.num_test_segments_ = from._impl_.num_test_segments_; - } - if (from._internal_should_fail() != 0) { - _this->_impl_.should_fail_ = from._impl_.should_fail_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void MockJob::CopyFrom(const MockJob& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.MockJob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void MockJob::InternalSwap(MockJob* 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_.external_id_, &other->_impl_.external_id_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(MockJob, _impl_.should_fail_) - + sizeof(MockJob::_impl_.should_fail_) - - PROTOBUF_FIELD_OFFSET(MockJob, _impl_.locked_info_)>( - reinterpret_cast(&_impl_.locked_info_), - reinterpret_cast(&other->_impl_.locked_info_)); -} - -::google::protobuf::Metadata MockJob::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -#if defined(PROTOBUF_CUSTOM_VTABLE) - SyncJob_MetadataEntry_DoNotUse::SyncJob_MetadataEntry_DoNotUse() : SuperType(_class_data_.base()) {} - SyncJob_MetadataEntry_DoNotUse::SyncJob_MetadataEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena, _class_data_.base()) {} -#else // PROTOBUF_CUSTOM_VTABLE - SyncJob_MetadataEntry_DoNotUse::SyncJob_MetadataEntry_DoNotUse() : SuperType() {} - SyncJob_MetadataEntry_DoNotUse::SyncJob_MetadataEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {} -#endif // PROTOBUF_CUSTOM_VTABLE - inline void* SyncJob_MetadataEntry_DoNotUse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) SyncJob_MetadataEntry_DoNotUse(arena); - } - constexpr auto SyncJob_MetadataEntry_DoNotUse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(SyncJob_MetadataEntry_DoNotUse), - alignof(SyncJob_MetadataEntry_DoNotUse)); - } - PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - const ::google::protobuf::internal::ClassDataFull SyncJob_MetadataEntry_DoNotUse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SyncJob_MetadataEntry_DoNotUse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SyncJob_MetadataEntry_DoNotUse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), - #if defined(PROTOBUF_CUSTOM_VTABLE) - &SyncJob_MetadataEntry_DoNotUse::SharedDtor, - static_cast( - &SyncJob_MetadataEntry_DoNotUse::ClearImpl), - ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl - , - #endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SyncJob_MetadataEntry_DoNotUse, _impl_._cached_size_), - false, - }, - &SyncJob_MetadataEntry_DoNotUse::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker - }; - const ::google::protobuf::internal::ClassData* SyncJob_MetadataEntry_DoNotUse::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> SyncJob_MetadataEntry_DoNotUse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SyncJob_MetadataEntry_DoNotUse, _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 - 0, // num_aux_entries - offsetof(decltype(_table_), field_names), // no aux_entries - _class_data_.base(), - nullptr, // post_loop_handler - ::_pbi::TcParser::DiscardEverythingFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::flex::SyncJob_MetadataEntry_DoNotUse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // string value = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(SyncJob_MetadataEntry_DoNotUse, _impl_.value_)}}, - // string key = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(SyncJob_MetadataEntry_DoNotUse, _impl_.key_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string key = 1; - {PROTOBUF_FIELD_OFFSET(SyncJob_MetadataEntry_DoNotUse, _impl_.key_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string value = 2; - {PROTOBUF_FIELD_OFFSET(SyncJob_MetadataEntry_DoNotUse, _impl_.value_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{ - "\32\3\5\0\0\0\0\0" - "flex.SyncJob.MetadataEntry" - "key" - "value" - }}, -}; - -// =================================================================== - -class SyncJob::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(SyncJob, _impl_._has_bits_); -}; - -SyncJob::SyncJob(::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:flex.SyncJob) -} -inline PROTOBUF_NDEBUG_INLINE SyncJob::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::SyncJob& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - metadata_{visibility, arena, from.metadata_}, - remote_path_(arena, from.remote_path_), - tagging_(arena, from.tagging_), - storage_class_(arena, from.storage_class_) {} - -SyncJob::SyncJob( - ::google::protobuf::Arena* arena, - const SyncJob& 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 - SyncJob* 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_.locked_info_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::flex::JobLockedInfo>( - arena, *from._impl_.locked_info_) - : nullptr; - ::memcpy(reinterpret_cast(&_impl_) + - offsetof(Impl_, operation_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, operation_), - offsetof(Impl_, allow_restore_) - - offsetof(Impl_, operation_) + - sizeof(Impl_::allow_restore_)); - - // @@protoc_insertion_point(copy_constructor:flex.SyncJob) -} -inline PROTOBUF_NDEBUG_INLINE SyncJob::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - metadata_{visibility, arena}, - remote_path_(arena), - tagging_(arena), - storage_class_(arena) {} - -inline void SyncJob::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, locked_info_), - 0, - offsetof(Impl_, allow_restore_) - - offsetof(Impl_, locked_info_) + - sizeof(Impl_::allow_restore_)); -} -SyncJob::~SyncJob() { - // @@protoc_insertion_point(destructor:flex.SyncJob) - SharedDtor(*this); -} -inline void SyncJob::SharedDtor(MessageLite& self) { - SyncJob& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.remote_path_.Destroy(); - this_._impl_.tagging_.Destroy(); - this_._impl_.storage_class_.Destroy(); - delete this_._impl_.locked_info_; - this_._impl_.~Impl_(); -} - -inline void* SyncJob::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) SyncJob(arena); -} -constexpr auto SyncJob::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.metadata_) + - decltype(SyncJob::_impl_.metadata_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.metadata_) + - decltype(SyncJob::_impl_.metadata_):: - InternalGetArenaOffsetAlt( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(SyncJob), alignof(SyncJob), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&SyncJob::PlacementNew_, - sizeof(SyncJob), - alignof(SyncJob)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull SyncJob::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_SyncJob_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &SyncJob::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &SyncJob::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &SyncJob::ByteSizeLong, - &SyncJob::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(SyncJob, _impl_._cached_size_), - false, - }, - &SyncJob::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* SyncJob::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, 10, 2, 68, 2> SyncJob::_table_ = { - { - PROTOBUF_FIELD_OFFSET(SyncJob, _impl_._has_bits_), - 0, // no _extensions_ - 13, 120, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294960264, // skipmap - offsetof(decltype(_table_), field_entries), - 10, // 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<::flex::SyncJob>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // .flex.SyncJob.Operation operation = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(SyncJob, _impl_.operation_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.operation_)}}, - // bool overwrite = 2; - {::_pbi::TcParser::SingularVarintNoZag1(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.overwrite_)}}, - // string remote_path = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.remote_path_)}}, - {::_pbi::TcParser::MiniParse, {}}, - // bool flatten = 5; - {::_pbi::TcParser::SingularVarintNoZag1(), - {40, 63, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.flatten_)}}, - // .flex.JobLockedInfo locked_info = 6; - {::_pbi::TcParser::FastMtS1, - {50, 2, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.locked_info_)}}, - // optional bool update = 7; - {::_pbi::TcParser::SingularVarintNoZag1(), - {56, 3, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.update_)}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - // optional string tagging = 10; - {::_pbi::TcParser::FastUS1, - {82, 0, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.tagging_)}}, - {::_pbi::TcParser::MiniParse, {}}, - // optional string storage_class = 12; - {::_pbi::TcParser::FastUS1, - {98, 1, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.storage_class_)}}, - // optional bool allow_restore = 13; - {::_pbi::TcParser::SingularVarintNoZag1(), - {104, 4, 0, PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.allow_restore_)}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // .flex.SyncJob.Operation operation = 1; - {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.operation_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // bool overwrite = 2; - {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.overwrite_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // string remote_path = 3; - {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.remote_path_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // bool flatten = 5; - {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.flatten_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // .flex.JobLockedInfo locked_info = 6; - {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.locked_info_), _Internal::kHasBitsOffset + 2, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // optional bool update = 7; - {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.update_), _Internal::kHasBitsOffset + 3, 0, - (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - // map metadata = 9; - {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.metadata_), -1, 1, - (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, - // optional string tagging = 10; - {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.tagging_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // optional string storage_class = 12; - {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.storage_class_), _Internal::kHasBitsOffset + 1, 0, - (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // optional bool allow_restore = 13; - {PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.allow_restore_), _Internal::kHasBitsOffset + 4, 0, - (0 | ::_fl::kFcOptional | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::JobLockedInfo>()}, - {::_pbi::TcParser::GetMapAuxInfo< - decltype(SyncJob()._impl_.metadata_)>( - 1, 0, 0, 9, - 9)}, - }}, {{ - "\14\0\0\13\0\0\0\10\7\15\0\0\0\0\0\0" - "flex.SyncJob" - "remote_path" - "metadata" - "tagging" - "storage_class" - }}, -}; - -PROTOBUF_NOINLINE void SyncJob::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.SyncJob) - ::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_.metadata_.Clear(); - _impl_.remote_path_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _impl_.tagging_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000002u) { - _impl_.storage_class_.ClearNonDefaultToEmpty(); - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(_impl_.locked_info_ != nullptr); - _impl_.locked_info_->Clear(); - } - } - ::memset(&_impl_.operation_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.flatten_) - - reinterpret_cast(&_impl_.operation_)) + sizeof(_impl_.flatten_)); - if (cached_has_bits & 0x00000018u) { - ::memset(&_impl_.update_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.allow_restore_) - - reinterpret_cast(&_impl_.update_)) + sizeof(_impl_.allow_restore_)); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* SyncJob::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const SyncJob& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* SyncJob::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const SyncJob& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.SyncJob) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // .flex.SyncJob.Operation operation = 1; - if (this_._internal_operation() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this_._internal_operation(), target); - } - - // bool overwrite = 2; - if (this_._internal_overwrite() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 2, this_._internal_overwrite(), target); - } - - // string remote_path = 3; - if (!this_._internal_remote_path().empty()) { - const std::string& _s = this_._internal_remote_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.SyncJob.remote_path"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - // bool flatten = 5; - if (this_._internal_flatten() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 5, this_._internal_flatten(), target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.JobLockedInfo locked_info = 6; - if (cached_has_bits & 0x00000004u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 6, *this_._impl_.locked_info_, this_._impl_.locked_info_->GetCachedSize(), target, - stream); - } - - // optional bool update = 7; - if (cached_has_bits & 0x00000008u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 7, this_._internal_update(), target); - } - - // map metadata = 9; - if (!this_._internal_metadata().empty()) { - using MapType = ::google::protobuf::Map; - using WireHelper = _pbi::MapEntryFuncs; - const auto& field = this_._internal_metadata(); - - if (stream->IsSerializationDeterministic() && field.size() > 1) { - for (const auto& entry : ::google::protobuf::internal::MapSorterPtr(field)) { - target = WireHelper::InternalSerialize( - 9, entry.first, entry.second, target, stream); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - entry.first.data(), static_cast(entry.first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.SyncJob.metadata"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - entry.second.data(), static_cast(entry.second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.SyncJob.metadata"); - } - } else { - for (const auto& entry : field) { - target = WireHelper::InternalSerialize( - 9, entry.first, entry.second, target, stream); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - entry.first.data(), static_cast(entry.first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.SyncJob.metadata"); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - entry.second.data(), static_cast(entry.second.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.SyncJob.metadata"); - } - } - } - - // optional string tagging = 10; - if (cached_has_bits & 0x00000001u) { - const std::string& _s = this_._internal_tagging(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.SyncJob.tagging"); - target = stream->WriteStringMaybeAliased(10, _s, target); - } - - // optional string storage_class = 12; - if (cached_has_bits & 0x00000002u) { - const std::string& _s = this_._internal_storage_class(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.SyncJob.storage_class"); - target = stream->WriteStringMaybeAliased(12, _s, target); - } - - // optional bool allow_restore = 13; - if (cached_has_bits & 0x00000010u) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 13, this_._internal_allow_restore(), 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:flex.SyncJob) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t SyncJob::ByteSizeLong(const MessageLite& base) { - const SyncJob& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t SyncJob::ByteSizeLong() const { - const SyncJob& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.SyncJob) - ::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_); - { - // map metadata = 9; - { - total_size += - 1 * ::google::protobuf::internal::FromIntSize(this_._internal_metadata_size()); - for (const auto& entry : this_._internal_metadata()) { - total_size += _pbi::MapEntryFuncs::ByteSizeLong(entry.first, entry.second); - } - } - } - { - // string remote_path = 3; - if (!this_._internal_remote_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_remote_path()); - } - } - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - // optional string tagging = 10; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_tagging()); - } - // optional string storage_class = 12; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_storage_class()); - } - // .flex.JobLockedInfo locked_info = 6; - if (cached_has_bits & 0x00000004u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.locked_info_); - } - } - { - // .flex.SyncJob.Operation operation = 1; - if (this_._internal_operation() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_operation()); - } - // bool overwrite = 2; - if (this_._internal_overwrite() != 0) { - total_size += 2; - } - // bool flatten = 5; - if (this_._internal_flatten() != 0) { - total_size += 2; - } - } - if (cached_has_bits & 0x00000018u) { - // optional bool update = 7; - if (cached_has_bits & 0x00000008u) { - total_size += 2; - } - // optional bool allow_restore = 13; - if (cached_has_bits & 0x00000010u) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void SyncJob::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:flex.SyncJob) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.metadata_.MergeFrom(from._impl_.metadata_); - if (!from._internal_remote_path().empty()) { - _this->_internal_set_remote_path(from._internal_remote_path()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000007u) { - if (cached_has_bits & 0x00000001u) { - _this->_internal_set_tagging(from._internal_tagging()); - } - if (cached_has_bits & 0x00000002u) { - _this->_internal_set_storage_class(from._internal_storage_class()); - } - if (cached_has_bits & 0x00000004u) { - ABSL_DCHECK(from._impl_.locked_info_ != nullptr); - if (_this->_impl_.locked_info_ == nullptr) { - _this->_impl_.locked_info_ = - ::google::protobuf::Message::CopyConstruct<::flex::JobLockedInfo>(arena, *from._impl_.locked_info_); - } else { - _this->_impl_.locked_info_->MergeFrom(*from._impl_.locked_info_); - } - } - } - if (from._internal_operation() != 0) { - _this->_impl_.operation_ = from._impl_.operation_; - } - if (from._internal_overwrite() != 0) { - _this->_impl_.overwrite_ = from._impl_.overwrite_; - } - if (from._internal_flatten() != 0) { - _this->_impl_.flatten_ = from._impl_.flatten_; - } - if (cached_has_bits & 0x00000018u) { - if (cached_has_bits & 0x00000008u) { - _this->_impl_.update_ = from._impl_.update_; - } - if (cached_has_bits & 0x00000010u) { - _this->_impl_.allow_restore_ = from._impl_.allow_restore_; - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void SyncJob::CopyFrom(const SyncJob& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.SyncJob) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void SyncJob::InternalSwap(SyncJob* 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_.metadata_.InternalSwap(&other->_impl_.metadata_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.remote_path_, &other->_impl_.remote_path_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.tagging_, &other->_impl_.tagging_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.storage_class_, &other->_impl_.storage_class_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.allow_restore_) - + sizeof(SyncJob::_impl_.allow_restore_) - - PROTOBUF_FIELD_OFFSET(SyncJob, _impl_.locked_info_)>( - reinterpret_cast(&_impl_.locked_info_), - reinterpret_cast(&other->_impl_.locked_info_)); -} - -::google::protobuf::Metadata SyncJob::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class Work_Status::_Internal { - public: -}; - -Work_Status::Work_Status(::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:flex.Work.Status) -} -inline PROTOBUF_NDEBUG_INLINE Work_Status::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::Work_Status& from_msg) - : message_(arena, from.message_), - _cached_size_{0} {} - -Work_Status::Work_Status( - ::google::protobuf::Arena* arena, - const Work_Status& 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 - Work_Status* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); - _impl_.state_ = from._impl_.state_; - - // @@protoc_insertion_point(copy_constructor:flex.Work.Status) -} -inline PROTOBUF_NDEBUG_INLINE Work_Status::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : message_(arena), - _cached_size_{0} {} - -inline void Work_Status::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.state_ = {}; -} -Work_Status::~Work_Status() { - // @@protoc_insertion_point(destructor:flex.Work.Status) - SharedDtor(*this); -} -inline void Work_Status::SharedDtor(MessageLite& self) { - Work_Status& 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* Work_Status::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) Work_Status(arena); -} -constexpr auto Work_Status::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Work_Status), - alignof(Work_Status)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull Work_Status::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_Work_Status_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &Work_Status::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &Work_Status::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &Work_Status::ByteSizeLong, - &Work_Status::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(Work_Status, _impl_._cached_size_), - false, - }, - &Work_Status::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* Work_Status::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, 32, 2> Work_Status::_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<::flex::Work_Status>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // string message = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(Work_Status, _impl_.message_)}}, - // .flex.Work.State state = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Work_Status, _impl_.state_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(Work_Status, _impl_.state_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .flex.Work.State state = 1; - {PROTOBUF_FIELD_OFFSET(Work_Status, _impl_.state_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // string message = 2; - {PROTOBUF_FIELD_OFFSET(Work_Status, _impl_.message_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{ - "\20\0\7\0\0\0\0\0" - "flex.Work.Status" - "message" - }}, -}; - -PROTOBUF_NOINLINE void Work_Status::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.Work.Status) - ::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_.state_ = 0; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* Work_Status::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const Work_Status& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* Work_Status::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const Work_Status& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.Work.Status) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // .flex.Work.State state = 1; - if (this_._internal_state() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteEnumToArray( - 1, this_._internal_state(), 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, "flex.Work.Status.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:flex.Work.Status) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t Work_Status::ByteSizeLong(const MessageLite& base) { - const Work_Status& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t Work_Status::ByteSizeLong() const { - const Work_Status& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.Work.Status) - ::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()); - } - // .flex.Work.State state = 1; - if (this_._internal_state() != 0) { - total_size += 1 + - ::_pbi::WireFormatLite::EnumSize(this_._internal_state()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void Work_Status::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:flex.Work.Status) - 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_state() != 0) { - _this->_impl_.state_ = from._impl_.state_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void Work_Status::CopyFrom(const Work_Status& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.Work.Status) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void Work_Status::InternalSwap(Work_Status* 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_.state_, other->_impl_.state_); -} - -::google::protobuf::Metadata Work_Status::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class Work_Part::_Internal { - public: -}; - -Work_Part::Work_Part(::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:flex.Work.Part) -} -inline PROTOBUF_NDEBUG_INLINE Work_Part::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::Work_Part& from_msg) - : entity_tag_(arena, from.entity_tag_), - checksum_sha256_(arena, from.checksum_sha256_), - _cached_size_{0} {} - -Work_Part::Work_Part( - ::google::protobuf::Arena* arena, - const Work_Part& 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 - Work_Part* 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_, offset_start_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, offset_start_), - offsetof(Impl_, completed_) - - offsetof(Impl_, offset_start_) + - sizeof(Impl_::completed_)); - - // @@protoc_insertion_point(copy_constructor:flex.Work.Part) -} -inline PROTOBUF_NDEBUG_INLINE Work_Part::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : entity_tag_(arena), - checksum_sha256_(arena), - _cached_size_{0} {} - -inline void Work_Part::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, offset_start_), - 0, - offsetof(Impl_, completed_) - - offsetof(Impl_, offset_start_) + - sizeof(Impl_::completed_)); -} -Work_Part::~Work_Part() { - // @@protoc_insertion_point(destructor:flex.Work.Part) - SharedDtor(*this); -} -inline void Work_Part::SharedDtor(MessageLite& self) { - Work_Part& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.entity_tag_.Destroy(); - this_._impl_.checksum_sha256_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* Work_Part::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) Work_Part(arena); -} -constexpr auto Work_Part::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Work_Part), - alignof(Work_Part)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull Work_Part::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_Work_Part_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &Work_Part::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &Work_Part::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &Work_Part::ByteSizeLong, - &Work_Part::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(Work_Part, _impl_._cached_size_), - false, - }, - &Work_Part::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* Work_Part::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, 6, 0, 48, 2> Work_Part::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 6, 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967232, // skipmap - offsetof(decltype(_table_), field_entries), - 6, // 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<::flex::Work_Part>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // int32 part_number = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Work_Part, _impl_.part_number_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.part_number_)}}, - // int64 offset_start = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Work_Part, _impl_.offset_start_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.offset_start_)}}, - // int64 offset_stop = 3; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(Work_Part, _impl_.offset_stop_), 63>(), - {24, 63, 0, PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.offset_stop_)}}, - // string entity_tag = 4; - {::_pbi::TcParser::FastUS1, - {34, 63, 0, PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.entity_tag_)}}, - // string checksum_sha256 = 5; - {::_pbi::TcParser::FastUS1, - {42, 63, 0, PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.checksum_sha256_)}}, - // bool completed = 6; - {::_pbi::TcParser::SingularVarintNoZag1(), - {48, 63, 0, PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.completed_)}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // int32 part_number = 1; - {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.part_number_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - // int64 offset_start = 2; - {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.offset_start_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, - // int64 offset_stop = 3; - {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.offset_stop_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, - // string entity_tag = 4; - {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.entity_tag_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string checksum_sha256 = 5; - {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.checksum_sha256_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // bool completed = 6; - {PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.completed_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - // no aux_entries - {{ - "\16\0\0\0\12\17\0\0" - "flex.Work.Part" - "entity_tag" - "checksum_sha256" - }}, -}; - -PROTOBUF_NOINLINE void Work_Part::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.Work.Part) - ::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_.entity_tag_.ClearToEmpty(); - _impl_.checksum_sha256_.ClearToEmpty(); - ::memset(&_impl_.offset_start_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.completed_) - - reinterpret_cast(&_impl_.offset_start_)) + sizeof(_impl_.completed_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* Work_Part::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const Work_Part& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* Work_Part::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const Work_Part& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.Work.Part) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // int32 part_number = 1; - if (this_._internal_part_number() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32ToArrayWithField<1>( - stream, this_._internal_part_number(), target); - } - - // int64 offset_start = 2; - if (this_._internal_offset_start() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<2>( - stream, this_._internal_offset_start(), target); - } - - // int64 offset_stop = 3; - if (this_._internal_offset_stop() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<3>( - stream, this_._internal_offset_stop(), target); - } - - // string entity_tag = 4; - if (!this_._internal_entity_tag().empty()) { - const std::string& _s = this_._internal_entity_tag(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.Work.Part.entity_tag"); - target = stream->WriteStringMaybeAliased(4, _s, target); - } - - // string checksum_sha256 = 5; - if (!this_._internal_checksum_sha256().empty()) { - const std::string& _s = this_._internal_checksum_sha256(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.Work.Part.checksum_sha256"); - target = stream->WriteStringMaybeAliased(5, _s, target); - } - - // bool completed = 6; - if (this_._internal_completed() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 6, this_._internal_completed(), 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:flex.Work.Part) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t Work_Part::ByteSizeLong(const MessageLite& base) { - const Work_Part& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t Work_Part::ByteSizeLong() const { - const Work_Part& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.Work.Part) - ::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 entity_tag = 4; - if (!this_._internal_entity_tag().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_entity_tag()); - } - // string checksum_sha256 = 5; - if (!this_._internal_checksum_sha256().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_checksum_sha256()); - } - // int64 offset_start = 2; - if (this_._internal_offset_start() != 0) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_offset_start()); - } - // int64 offset_stop = 3; - if (this_._internal_offset_stop() != 0) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_offset_stop()); - } - // int32 part_number = 1; - if (this_._internal_part_number() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( - this_._internal_part_number()); - } - // bool completed = 6; - if (this_._internal_completed() != 0) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void Work_Part::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:flex.Work.Part) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_entity_tag().empty()) { - _this->_internal_set_entity_tag(from._internal_entity_tag()); - } - if (!from._internal_checksum_sha256().empty()) { - _this->_internal_set_checksum_sha256(from._internal_checksum_sha256()); - } - if (from._internal_offset_start() != 0) { - _this->_impl_.offset_start_ = from._impl_.offset_start_; - } - if (from._internal_offset_stop() != 0) { - _this->_impl_.offset_stop_ = from._impl_.offset_stop_; - } - if (from._internal_part_number() != 0) { - _this->_impl_.part_number_ = from._impl_.part_number_; - } - if (from._internal_completed() != 0) { - _this->_impl_.completed_ = from._impl_.completed_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void Work_Part::CopyFrom(const Work_Part& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.Work.Part) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void Work_Part::InternalSwap(Work_Part* 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_.entity_tag_, &other->_impl_.entity_tag_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.checksum_sha256_, &other->_impl_.checksum_sha256_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.completed_) - + sizeof(Work_Part::_impl_.completed_) - - PROTOBUF_FIELD_OFFSET(Work_Part, _impl_.offset_start_)>( - reinterpret_cast(&_impl_.offset_start_), - reinterpret_cast(&other->_impl_.offset_start_)); -} - -::google::protobuf::Metadata Work_Part::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class Work::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(Work, _impl_._has_bits_); -}; - -Work::Work(::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:flex.Work) -} -inline PROTOBUF_NDEBUG_INLINE Work::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::Work& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - parts_{visibility, arena, from.parts_}, - path_(arena, from.path_), - job_id_(arena, from.job_id_), - request_id_(arena, from.request_id_) {} - -Work::Work( - ::google::protobuf::Arena* arena, - const Work& 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 - Work* 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_.status_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::Work_Status>( - arena, *from._impl_.status_) - : nullptr; - _impl_.job_builder_ = from._impl_.job_builder_; - - // @@protoc_insertion_point(copy_constructor:flex.Work) -} -inline PROTOBUF_NDEBUG_INLINE Work::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - parts_{visibility, arena}, - path_(arena), - job_id_(arena), - request_id_(arena) {} - -inline void Work::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, status_), - 0, - offsetof(Impl_, job_builder_) - - offsetof(Impl_, status_) + - sizeof(Impl_::job_builder_)); -} -Work::~Work() { - // @@protoc_insertion_point(destructor:flex.Work) - SharedDtor(*this); -} -inline void Work::SharedDtor(MessageLite& self) { - Work& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.path_.Destroy(); - this_._impl_.job_id_.Destroy(); - this_._impl_.request_id_.Destroy(); - delete this_._impl_.status_; - this_._impl_.~Impl_(); -} - -inline void* Work::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) Work(arena); -} -constexpr auto Work::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(Work, _impl_.parts_) + - decltype(Work::_impl_.parts_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(Work), alignof(Work), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&Work::PlacementNew_, - sizeof(Work), - alignof(Work)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull Work::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_Work_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &Work::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &Work::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &Work::ByteSizeLong, - &Work::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(Work, _impl_._cached_size_), - false, - }, - &Work::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* Work::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, 6, 2, 38, 2> Work::_table_ = { - { - PROTOBUF_FIELD_OFFSET(Work, _impl_._has_bits_), - 0, // no _extensions_ - 6, 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967232, // skipmap - offsetof(decltype(_table_), field_entries), - 6, // 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<::flex::Work>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // string path = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(Work, _impl_.path_)}}, - // string job_id = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(Work, _impl_.job_id_)}}, - // string request_id = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(Work, _impl_.request_id_)}}, - // .flex.Work.Status status = 4; - {::_pbi::TcParser::FastMtS1, - {34, 0, 0, PROTOBUF_FIELD_OFFSET(Work, _impl_.status_)}}, - // repeated .flex.Work.Part parts = 5; - {::_pbi::TcParser::FastMtR1, - {42, 63, 1, PROTOBUF_FIELD_OFFSET(Work, _impl_.parts_)}}, - // bool job_builder = 6; - {::_pbi::TcParser::SingularVarintNoZag1(), - {48, 63, 0, PROTOBUF_FIELD_OFFSET(Work, _impl_.job_builder_)}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // string path = 1; - {PROTOBUF_FIELD_OFFSET(Work, _impl_.path_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string job_id = 2; - {PROTOBUF_FIELD_OFFSET(Work, _impl_.job_id_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string request_id = 3; - {PROTOBUF_FIELD_OFFSET(Work, _impl_.request_id_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // .flex.Work.Status status = 4; - {PROTOBUF_FIELD_OFFSET(Work, _impl_.status_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // repeated .flex.Work.Part parts = 5; - {PROTOBUF_FIELD_OFFSET(Work, _impl_.parts_), -1, 1, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - // bool job_builder = 6; - {PROTOBUF_FIELD_OFFSET(Work, _impl_.job_builder_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::Work_Status>()}, - {::_pbi::TcParser::GetTable<::flex::Work_Part>()}, - }}, {{ - "\11\4\6\12\0\0\0\0" - "flex.Work" - "path" - "job_id" - "request_id" - }}, -}; - -PROTOBUF_NOINLINE void Work::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.Work) - ::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_.parts_.Clear(); - _impl_.path_.ClearToEmpty(); - _impl_.job_id_.ClearToEmpty(); - _impl_.request_id_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.status_ != nullptr); - _impl_.status_->Clear(); - } - _impl_.job_builder_ = false; - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* Work::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const Work& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* Work::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const Work& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.Work) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string path = 1; - if (!this_._internal_path().empty()) { - const std::string& _s = this_._internal_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.Work.path"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - // string job_id = 2; - if (!this_._internal_job_id().empty()) { - const std::string& _s = this_._internal_job_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.Work.job_id"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - // string request_id = 3; - if (!this_._internal_request_id().empty()) { - const std::string& _s = this_._internal_request_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.Work.request_id"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.Work.Status status = 4; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 4, *this_._impl_.status_, this_._impl_.status_->GetCachedSize(), target, - stream); - } - - // repeated .flex.Work.Part parts = 5; - for (unsigned i = 0, n = static_cast( - this_._internal_parts_size()); - i < n; i++) { - const auto& repfield = this_._internal_parts().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 5, repfield, repfield.GetCachedSize(), - target, stream); - } - - // bool job_builder = 6; - if (this_._internal_job_builder() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 6, this_._internal_job_builder(), 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:flex.Work) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t Work::ByteSizeLong(const MessageLite& base) { - const Work& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t Work::ByteSizeLong() const { - const Work& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.Work) - ::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 .flex.Work.Part parts = 5; - { - total_size += 1UL * this_._internal_parts_size(); - for (const auto& msg : this_._internal_parts()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - { - // string path = 1; - if (!this_._internal_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_path()); - } - // string job_id = 2; - if (!this_._internal_job_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_job_id()); - } - // string request_id = 3; - if (!this_._internal_request_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_request_id()); - } - } - { - // .flex.Work.Status status = 4; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.status_); - } - } - { - // bool job_builder = 6; - if (this_._internal_job_builder() != 0) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void Work::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:flex.Work) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_parts()->MergeFrom( - from._internal_parts()); - if (!from._internal_path().empty()) { - _this->_internal_set_path(from._internal_path()); - } - if (!from._internal_job_id().empty()) { - _this->_internal_set_job_id(from._internal_job_id()); - } - if (!from._internal_request_id().empty()) { - _this->_internal_set_request_id(from._internal_request_id()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.status_ != nullptr); - if (_this->_impl_.status_ == nullptr) { - _this->_impl_.status_ = - ::google::protobuf::Message::CopyConstruct<::flex::Work_Status>(arena, *from._impl_.status_); - } else { - _this->_impl_.status_->MergeFrom(*from._impl_.status_); - } - } - if (from._internal_job_builder() != 0) { - _this->_impl_.job_builder_ = from._impl_.job_builder_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void Work::CopyFrom(const Work& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.Work) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void Work::InternalSwap(Work* 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_.parts_.InternalSwap(&other->_impl_.parts_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.path_, &other->_impl_.path_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.job_id_, &other->_impl_.job_id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.request_id_, &other->_impl_.request_id_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(Work, _impl_.job_builder_) - + sizeof(Work::_impl_.job_builder_) - - PROTOBUF_FIELD_OFFSET(Work, _impl_.status_)>( - reinterpret_cast(&_impl_.status_), - reinterpret_cast(&other->_impl_.status_)); -} - -::google::protobuf::Metadata Work::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class UpdateConfigRequest::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(UpdateConfigRequest, _impl_._has_bits_); -}; - -UpdateConfigRequest::UpdateConfigRequest(::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:flex.UpdateConfigRequest) -} -inline PROTOBUF_NDEBUG_INLINE UpdateConfigRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::UpdateConfigRequest& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - rsts_{visibility, arena, from.rsts_} {} - -UpdateConfigRequest::UpdateConfigRequest( - ::google::protobuf::Arena* arena, - const UpdateConfigRequest& 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 - UpdateConfigRequest* 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_.bee_remote_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::BeeRemoteNode>( - arena, *from._impl_.bee_remote_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:flex.UpdateConfigRequest) -} -inline PROTOBUF_NDEBUG_INLINE UpdateConfigRequest::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - rsts_{visibility, arena} {} - -inline void UpdateConfigRequest::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.bee_remote_ = {}; -} -UpdateConfigRequest::~UpdateConfigRequest() { - // @@protoc_insertion_point(destructor:flex.UpdateConfigRequest) - SharedDtor(*this); -} -inline void UpdateConfigRequest::SharedDtor(MessageLite& self) { - UpdateConfigRequest& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.bee_remote_; - this_._impl_.~Impl_(); -} - -inline void* UpdateConfigRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) UpdateConfigRequest(arena); -} -constexpr auto UpdateConfigRequest::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(UpdateConfigRequest, _impl_.rsts_) + - decltype(UpdateConfigRequest::_impl_.rsts_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::ZeroInit( - sizeof(UpdateConfigRequest), alignof(UpdateConfigRequest), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&UpdateConfigRequest::PlacementNew_, - sizeof(UpdateConfigRequest), - alignof(UpdateConfigRequest)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull UpdateConfigRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_UpdateConfigRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &UpdateConfigRequest::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &UpdateConfigRequest::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &UpdateConfigRequest::ByteSizeLong, - &UpdateConfigRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(UpdateConfigRequest, _impl_._cached_size_), - false, - }, - &UpdateConfigRequest::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* UpdateConfigRequest::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, 2, 0, 2> UpdateConfigRequest::_table_ = { - { - PROTOBUF_FIELD_OFFSET(UpdateConfigRequest, _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 - 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<::flex::UpdateConfigRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // repeated .flex.RemoteStorageTarget rsts = 2; - {::_pbi::TcParser::FastMtR1, - {18, 63, 1, PROTOBUF_FIELD_OFFSET(UpdateConfigRequest, _impl_.rsts_)}}, - // .flex.BeeRemoteNode bee_remote = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(UpdateConfigRequest, _impl_.bee_remote_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .flex.BeeRemoteNode bee_remote = 1; - {PROTOBUF_FIELD_OFFSET(UpdateConfigRequest, _impl_.bee_remote_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // repeated .flex.RemoteStorageTarget rsts = 2; - {PROTOBUF_FIELD_OFFSET(UpdateConfigRequest, _impl_.rsts_), -1, 1, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::BeeRemoteNode>()}, - {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget>()}, - }}, {{ - }}, -}; - -PROTOBUF_NOINLINE void UpdateConfigRequest::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.UpdateConfigRequest) - ::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_.rsts_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.bee_remote_ != nullptr); - _impl_.bee_remote_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* UpdateConfigRequest::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const UpdateConfigRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* UpdateConfigRequest::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const UpdateConfigRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.UpdateConfigRequest) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.BeeRemoteNode bee_remote = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.bee_remote_, this_._impl_.bee_remote_->GetCachedSize(), target, - stream); - } - - // repeated .flex.RemoteStorageTarget rsts = 2; - for (unsigned i = 0, n = static_cast( - this_._internal_rsts_size()); - i < n; i++) { - const auto& repfield = this_._internal_rsts().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, 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:flex.UpdateConfigRequest) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t UpdateConfigRequest::ByteSizeLong(const MessageLite& base) { - const UpdateConfigRequest& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t UpdateConfigRequest::ByteSizeLong() const { - const UpdateConfigRequest& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.UpdateConfigRequest) - ::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 .flex.RemoteStorageTarget rsts = 2; - { - total_size += 1UL * this_._internal_rsts_size(); - for (const auto& msg : this_._internal_rsts()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - { - // .flex.BeeRemoteNode bee_remote = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.bee_remote_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void UpdateConfigRequest::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:flex.UpdateConfigRequest) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_rsts()->MergeFrom( - from._internal_rsts()); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.bee_remote_ != nullptr); - if (_this->_impl_.bee_remote_ == nullptr) { - _this->_impl_.bee_remote_ = - ::google::protobuf::Message::CopyConstruct<::flex::BeeRemoteNode>(arena, *from._impl_.bee_remote_); - } else { - _this->_impl_.bee_remote_->MergeFrom(*from._impl_.bee_remote_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void UpdateConfigRequest::CopyFrom(const UpdateConfigRequest& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.UpdateConfigRequest) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void UpdateConfigRequest::InternalSwap(UpdateConfigRequest* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.rsts_.InternalSwap(&other->_impl_.rsts_); - swap(_impl_.bee_remote_, other->_impl_.bee_remote_); -} - -::google::protobuf::Metadata UpdateConfigRequest::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class UpdateConfigResponse::_Internal { - public: -}; - -UpdateConfigResponse::UpdateConfigResponse(::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:flex.UpdateConfigResponse) -} -inline PROTOBUF_NDEBUG_INLINE UpdateConfigResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::UpdateConfigResponse& from_msg) - : message_(arena, from.message_), - _cached_size_{0} {} - -UpdateConfigResponse::UpdateConfigResponse( - ::google::protobuf::Arena* arena, - const UpdateConfigResponse& 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 - UpdateConfigResponse* 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:flex.UpdateConfigResponse) -} -inline PROTOBUF_NDEBUG_INLINE UpdateConfigResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : message_(arena), - _cached_size_{0} {} - -inline void UpdateConfigResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.result_ = {}; -} -UpdateConfigResponse::~UpdateConfigResponse() { - // @@protoc_insertion_point(destructor:flex.UpdateConfigResponse) - SharedDtor(*this); -} -inline void UpdateConfigResponse::SharedDtor(MessageLite& self) { - UpdateConfigResponse& 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* UpdateConfigResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) UpdateConfigResponse(arena); -} -constexpr auto UpdateConfigResponse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(UpdateConfigResponse), - alignof(UpdateConfigResponse)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull UpdateConfigResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_UpdateConfigResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &UpdateConfigResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &UpdateConfigResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &UpdateConfigResponse::ByteSizeLong, - &UpdateConfigResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(UpdateConfigResponse, _impl_._cached_size_), - false, - }, - &UpdateConfigResponse::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* UpdateConfigResponse::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, 41, 2> UpdateConfigResponse::_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<::flex::UpdateConfigResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // string message = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateConfigResponse, _impl_.message_)}}, - // .flex.UpdateConfigResponse.Result result = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(UpdateConfigResponse, _impl_.result_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(UpdateConfigResponse, _impl_.result_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .flex.UpdateConfigResponse.Result result = 1; - {PROTOBUF_FIELD_OFFSET(UpdateConfigResponse, _impl_.result_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kOpenEnum)}, - // string message = 2; - {PROTOBUF_FIELD_OFFSET(UpdateConfigResponse, _impl_.message_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{ - "\31\0\7\0\0\0\0\0" - "flex.UpdateConfigResponse" - "message" - }}, -}; - -PROTOBUF_NOINLINE void UpdateConfigResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.UpdateConfigResponse) - ::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* UpdateConfigResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const UpdateConfigResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* UpdateConfigResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const UpdateConfigResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.UpdateConfigResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // .flex.UpdateConfigResponse.Result 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, "flex.UpdateConfigResponse.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:flex.UpdateConfigResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t UpdateConfigResponse::ByteSizeLong(const MessageLite& base) { - const UpdateConfigResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t UpdateConfigResponse::ByteSizeLong() const { - const UpdateConfigResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.UpdateConfigResponse) - ::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()); - } - // .flex.UpdateConfigResponse.Result 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 UpdateConfigResponse::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:flex.UpdateConfigResponse) - 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 UpdateConfigResponse::CopyFrom(const UpdateConfigResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.UpdateConfigResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void UpdateConfigResponse::InternalSwap(UpdateConfigResponse* 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 UpdateConfigResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class BeeRemoteNode::_Internal { - public: -}; - -BeeRemoteNode::BeeRemoteNode(::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:flex.BeeRemoteNode) -} -inline PROTOBUF_NDEBUG_INLINE BeeRemoteNode::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::BeeRemoteNode& from_msg) - : id_(arena, from.id_), - address_(arena, from.address_), - mgmtd_address_(arena, from.mgmtd_address_), - mgmtd_tls_cert_(arena, from.mgmtd_tls_cert_), - auth_secret_(arena, from.auth_secret_), - _cached_size_{0} {} - -BeeRemoteNode::BeeRemoteNode( - ::google::protobuf::Arena* arena, - const BeeRemoteNode& 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 - BeeRemoteNode* 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_, mgmtd_tls_disable_verification_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, mgmtd_tls_disable_verification_), - offsetof(Impl_, auth_disable_) - - offsetof(Impl_, mgmtd_tls_disable_verification_) + - sizeof(Impl_::auth_disable_)); - - // @@protoc_insertion_point(copy_constructor:flex.BeeRemoteNode) -} -inline PROTOBUF_NDEBUG_INLINE BeeRemoteNode::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : id_(arena), - address_(arena), - mgmtd_address_(arena), - mgmtd_tls_cert_(arena), - auth_secret_(arena), - _cached_size_{0} {} - -inline void BeeRemoteNode::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, mgmtd_tls_disable_verification_), - 0, - offsetof(Impl_, auth_disable_) - - offsetof(Impl_, mgmtd_tls_disable_verification_) + - sizeof(Impl_::auth_disable_)); -} -BeeRemoteNode::~BeeRemoteNode() { - // @@protoc_insertion_point(destructor:flex.BeeRemoteNode) - SharedDtor(*this); -} -inline void BeeRemoteNode::SharedDtor(MessageLite& self) { - BeeRemoteNode& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.id_.Destroy(); - this_._impl_.address_.Destroy(); - this_._impl_.mgmtd_address_.Destroy(); - this_._impl_.mgmtd_tls_cert_.Destroy(); - this_._impl_.auth_secret_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* BeeRemoteNode::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) BeeRemoteNode(arena); -} -constexpr auto BeeRemoteNode::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BeeRemoteNode), - alignof(BeeRemoteNode)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull BeeRemoteNode::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_BeeRemoteNode_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &BeeRemoteNode::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &BeeRemoteNode::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &BeeRemoteNode::ByteSizeLong, - &BeeRemoteNode::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_._cached_size_), - false, - }, - &BeeRemoteNode::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* BeeRemoteNode::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, 9, 0, 57, 2> BeeRemoteNode::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 9, 120, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294966784, // skipmap - offsetof(decltype(_table_), field_entries), - 9, // 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<::flex::BeeRemoteNode>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // string id = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.id_)}}, - // string address = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.address_)}}, - // string mgmtd_address = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_address_)}}, - // bytes mgmtd_tls_cert = 4; - {::_pbi::TcParser::FastBS1, - {34, 63, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_tls_cert_)}}, - // bool mgmtd_tls_disable_verification = 5; - {::_pbi::TcParser::SingularVarintNoZag1(), - {40, 63, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_tls_disable_verification_)}}, - // bool mgmtd_tls_disable = 6; - {::_pbi::TcParser::SingularVarintNoZag1(), - {48, 63, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_tls_disable_)}}, - // bytes auth_secret = 7; - {::_pbi::TcParser::FastBS1, - {58, 63, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.auth_secret_)}}, - // bool auth_disable = 8; - {::_pbi::TcParser::SingularVarintNoZag1(), - {64, 63, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.auth_disable_)}}, - // bool mgmtd_use_proxy = 9; - {::_pbi::TcParser::SingularVarintNoZag1(), - {72, 63, 0, PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_use_proxy_)}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // string id = 1; - {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.id_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string address = 2; - {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.address_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string mgmtd_address = 3; - {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_address_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // bytes mgmtd_tls_cert = 4; - {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_tls_cert_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, - // bool mgmtd_tls_disable_verification = 5; - {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_tls_disable_verification_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool mgmtd_tls_disable = 6; - {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_tls_disable_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bytes auth_secret = 7; - {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.auth_secret_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, - // bool auth_disable = 8; - {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.auth_disable_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - // bool mgmtd_use_proxy = 9; - {PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_use_proxy_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - // no aux_entries - {{ - "\22\2\7\15\0\0\0\0\0\0\0\0\0\0\0\0" - "flex.BeeRemoteNode" - "id" - "address" - "mgmtd_address" - }}, -}; - -PROTOBUF_NOINLINE void BeeRemoteNode::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.BeeRemoteNode) - ::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_.id_.ClearToEmpty(); - _impl_.address_.ClearToEmpty(); - _impl_.mgmtd_address_.ClearToEmpty(); - _impl_.mgmtd_tls_cert_.ClearToEmpty(); - _impl_.auth_secret_.ClearToEmpty(); - ::memset(&_impl_.mgmtd_tls_disable_verification_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.auth_disable_) - - reinterpret_cast(&_impl_.mgmtd_tls_disable_verification_)) + sizeof(_impl_.auth_disable_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* BeeRemoteNode::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const BeeRemoteNode& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* BeeRemoteNode::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const BeeRemoteNode& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.BeeRemoteNode) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string id = 1; - if (!this_._internal_id().empty()) { - const std::string& _s = this_._internal_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.BeeRemoteNode.id"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - // string address = 2; - if (!this_._internal_address().empty()) { - const std::string& _s = this_._internal_address(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.BeeRemoteNode.address"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - // string mgmtd_address = 3; - if (!this_._internal_mgmtd_address().empty()) { - const std::string& _s = this_._internal_mgmtd_address(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.BeeRemoteNode.mgmtd_address"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - // bytes mgmtd_tls_cert = 4; - if (!this_._internal_mgmtd_tls_cert().empty()) { - const std::string& _s = this_._internal_mgmtd_tls_cert(); - target = stream->WriteBytesMaybeAliased(4, _s, target); - } - - // bool mgmtd_tls_disable_verification = 5; - if (this_._internal_mgmtd_tls_disable_verification() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 5, this_._internal_mgmtd_tls_disable_verification(), target); - } - - // bool mgmtd_tls_disable = 6; - if (this_._internal_mgmtd_tls_disable() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 6, this_._internal_mgmtd_tls_disable(), target); - } - - // bytes auth_secret = 7; - if (!this_._internal_auth_secret().empty()) { - const std::string& _s = this_._internal_auth_secret(); - target = stream->WriteBytesMaybeAliased(7, _s, target); - } - - // bool auth_disable = 8; - if (this_._internal_auth_disable() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 8, this_._internal_auth_disable(), target); - } - - // bool mgmtd_use_proxy = 9; - if (this_._internal_mgmtd_use_proxy() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 9, this_._internal_mgmtd_use_proxy(), 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:flex.BeeRemoteNode) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t BeeRemoteNode::ByteSizeLong(const MessageLite& base) { - const BeeRemoteNode& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t BeeRemoteNode::ByteSizeLong() const { - const BeeRemoteNode& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.BeeRemoteNode) - ::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 id = 1; - if (!this_._internal_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_id()); - } - // string address = 2; - if (!this_._internal_address().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_address()); - } - // string mgmtd_address = 3; - if (!this_._internal_mgmtd_address().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_mgmtd_address()); - } - // bytes mgmtd_tls_cert = 4; - if (!this_._internal_mgmtd_tls_cert().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( - this_._internal_mgmtd_tls_cert()); - } - // bytes auth_secret = 7; - if (!this_._internal_auth_secret().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( - this_._internal_auth_secret()); - } - // bool mgmtd_tls_disable_verification = 5; - if (this_._internal_mgmtd_tls_disable_verification() != 0) { - total_size += 2; - } - // bool mgmtd_tls_disable = 6; - if (this_._internal_mgmtd_tls_disable() != 0) { - total_size += 2; - } - // bool mgmtd_use_proxy = 9; - if (this_._internal_mgmtd_use_proxy() != 0) { - total_size += 2; - } - // bool auth_disable = 8; - if (this_._internal_auth_disable() != 0) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void BeeRemoteNode::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:flex.BeeRemoteNode) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_id().empty()) { - _this->_internal_set_id(from._internal_id()); - } - if (!from._internal_address().empty()) { - _this->_internal_set_address(from._internal_address()); - } - if (!from._internal_mgmtd_address().empty()) { - _this->_internal_set_mgmtd_address(from._internal_mgmtd_address()); - } - if (!from._internal_mgmtd_tls_cert().empty()) { - _this->_internal_set_mgmtd_tls_cert(from._internal_mgmtd_tls_cert()); - } - if (!from._internal_auth_secret().empty()) { - _this->_internal_set_auth_secret(from._internal_auth_secret()); - } - if (from._internal_mgmtd_tls_disable_verification() != 0) { - _this->_impl_.mgmtd_tls_disable_verification_ = from._impl_.mgmtd_tls_disable_verification_; - } - if (from._internal_mgmtd_tls_disable() != 0) { - _this->_impl_.mgmtd_tls_disable_ = from._impl_.mgmtd_tls_disable_; - } - if (from._internal_mgmtd_use_proxy() != 0) { - _this->_impl_.mgmtd_use_proxy_ = from._impl_.mgmtd_use_proxy_; - } - if (from._internal_auth_disable() != 0) { - _this->_impl_.auth_disable_ = from._impl_.auth_disable_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void BeeRemoteNode::CopyFrom(const BeeRemoteNode& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.BeeRemoteNode) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void BeeRemoteNode::InternalSwap(BeeRemoteNode* 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_.id_, &other->_impl_.id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.address_, &other->_impl_.address_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.mgmtd_address_, &other->_impl_.mgmtd_address_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.mgmtd_tls_cert_, &other->_impl_.mgmtd_tls_cert_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.auth_secret_, &other->_impl_.auth_secret_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.auth_disable_) - + sizeof(BeeRemoteNode::_impl_.auth_disable_) - - PROTOBUF_FIELD_OFFSET(BeeRemoteNode, _impl_.mgmtd_tls_disable_verification_)>( - reinterpret_cast(&_impl_.mgmtd_tls_disable_verification_), - reinterpret_cast(&other->_impl_.mgmtd_tls_disable_verification_)); -} - -::google::protobuf::Metadata BeeRemoteNode::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class RemoteStorageTarget_Policies::_Internal { - public: -}; - -RemoteStorageTarget_Policies::RemoteStorageTarget_Policies(::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:flex.RemoteStorageTarget.Policies) -} -RemoteStorageTarget_Policies::RemoteStorageTarget_Policies( - ::google::protobuf::Arena* arena, const RemoteStorageTarget_Policies& from) - : RemoteStorageTarget_Policies(arena) { - MergeFrom(from); -} -inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_Policies::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0} {} - -inline void RemoteStorageTarget_Policies::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.fast_start_max_size_ = {}; -} -RemoteStorageTarget_Policies::~RemoteStorageTarget_Policies() { - // @@protoc_insertion_point(destructor:flex.RemoteStorageTarget.Policies) - SharedDtor(*this); -} -inline void RemoteStorageTarget_Policies::SharedDtor(MessageLite& self) { - RemoteStorageTarget_Policies& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* RemoteStorageTarget_Policies::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) RemoteStorageTarget_Policies(arena); -} -constexpr auto RemoteStorageTarget_Policies::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(RemoteStorageTarget_Policies), - alignof(RemoteStorageTarget_Policies)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_Policies::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_RemoteStorageTarget_Policies_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &RemoteStorageTarget_Policies::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &RemoteStorageTarget_Policies::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &RemoteStorageTarget_Policies::ByteSizeLong, - &RemoteStorageTarget_Policies::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Policies, _impl_._cached_size_), - false, - }, - &RemoteStorageTarget_Policies::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* RemoteStorageTarget_Policies::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> RemoteStorageTarget_Policies::_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<::flex::RemoteStorageTarget_Policies>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // int64 fast_start_max_size = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(RemoteStorageTarget_Policies, _impl_.fast_start_max_size_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Policies, _impl_.fast_start_max_size_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // int64 fast_start_max_size = 1; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Policies, _impl_.fast_start_max_size_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt64)}, - }}, - // no aux_entries - {{ - }}, -}; - -PROTOBUF_NOINLINE void RemoteStorageTarget_Policies::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.RemoteStorageTarget.Policies) - ::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_.fast_start_max_size_ = ::int64_t{0}; - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* RemoteStorageTarget_Policies::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const RemoteStorageTarget_Policies& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* RemoteStorageTarget_Policies::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const RemoteStorageTarget_Policies& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.RemoteStorageTarget.Policies) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // int64 fast_start_max_size = 1; - if (this_._internal_fast_start_max_size() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt64ToArrayWithField<1>( - stream, this_._internal_fast_start_max_size(), 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:flex.RemoteStorageTarget.Policies) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t RemoteStorageTarget_Policies::ByteSizeLong(const MessageLite& base) { - const RemoteStorageTarget_Policies& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t RemoteStorageTarget_Policies::ByteSizeLong() const { - const RemoteStorageTarget_Policies& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.RemoteStorageTarget.Policies) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // int64 fast_start_max_size = 1; - if (this_._internal_fast_start_max_size() != 0) { - total_size += ::_pbi::WireFormatLite::Int64SizePlusOne( - this_._internal_fast_start_max_size()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void RemoteStorageTarget_Policies::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:flex.RemoteStorageTarget.Policies) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (from._internal_fast_start_max_size() != 0) { - _this->_impl_.fast_start_max_size_ = from._impl_.fast_start_max_size_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void RemoteStorageTarget_Policies::CopyFrom(const RemoteStorageTarget_Policies& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.RemoteStorageTarget.Policies) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void RemoteStorageTarget_Policies::InternalSwap(RemoteStorageTarget_Policies* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_.fast_start_max_size_, other->_impl_.fast_start_max_size_); -} - -::google::protobuf::Metadata RemoteStorageTarget_Policies::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class RemoteStorageTarget_S3_StorageClass_Archival::_Internal { - public: -}; - -RemoteStorageTarget_S3_StorageClass_Archival::RemoteStorageTarget_S3_StorageClass_Archival(::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:flex.RemoteStorageTarget.S3.StorageClass.Archival) -} -inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_S3_StorageClass_Archival::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::RemoteStorageTarget_S3_StorageClass_Archival& from_msg) - : retrieval_tier_(arena, from.retrieval_tier_), - check_time_(arena, from.check_time_), - recheck_time_(arena, from.recheck_time_), - _cached_size_{0} {} - -RemoteStorageTarget_S3_StorageClass_Archival::RemoteStorageTarget_S3_StorageClass_Archival( - ::google::protobuf::Arena* arena, - const RemoteStorageTarget_S3_StorageClass_Archival& 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 - RemoteStorageTarget_S3_StorageClass_Archival* 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_, retention_days_), - reinterpret_cast(&from._impl_) + - offsetof(Impl_, retention_days_), - offsetof(Impl_, auto_restore_) - - offsetof(Impl_, retention_days_) + - sizeof(Impl_::auto_restore_)); - - // @@protoc_insertion_point(copy_constructor:flex.RemoteStorageTarget.S3.StorageClass.Archival) -} -inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_S3_StorageClass_Archival::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : retrieval_tier_(arena), - check_time_(arena), - recheck_time_(arena), - _cached_size_{0} {} - -inline void RemoteStorageTarget_S3_StorageClass_Archival::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, retention_days_), - 0, - offsetof(Impl_, auto_restore_) - - offsetof(Impl_, retention_days_) + - sizeof(Impl_::auto_restore_)); -} -RemoteStorageTarget_S3_StorageClass_Archival::~RemoteStorageTarget_S3_StorageClass_Archival() { - // @@protoc_insertion_point(destructor:flex.RemoteStorageTarget.S3.StorageClass.Archival) - SharedDtor(*this); -} -inline void RemoteStorageTarget_S3_StorageClass_Archival::SharedDtor(MessageLite& self) { - RemoteStorageTarget_S3_StorageClass_Archival& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.retrieval_tier_.Destroy(); - this_._impl_.check_time_.Destroy(); - this_._impl_.recheck_time_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* RemoteStorageTarget_S3_StorageClass_Archival::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) RemoteStorageTarget_S3_StorageClass_Archival(arena); -} -constexpr auto RemoteStorageTarget_S3_StorageClass_Archival::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(RemoteStorageTarget_S3_StorageClass_Archival), - alignof(RemoteStorageTarget_S3_StorageClass_Archival)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_S3_StorageClass_Archival::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_RemoteStorageTarget_S3_StorageClass_Archival_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &RemoteStorageTarget_S3_StorageClass_Archival::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &RemoteStorageTarget_S3_StorageClass_Archival::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &RemoteStorageTarget_S3_StorageClass_Archival::ByteSizeLong, - &RemoteStorageTarget_S3_StorageClass_Archival::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_._cached_size_), - false, - }, - &RemoteStorageTarget_S3_StorageClass_Archival::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* RemoteStorageTarget_S3_StorageClass_Archival::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, 0, 94, 2> RemoteStorageTarget_S3_StorageClass_Archival::_table_ = { - { - 0, // no _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 - 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<::flex::RemoteStorageTarget_S3_StorageClass_Archival>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // string retrieval_tier = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.retrieval_tier_)}}, - // int32 retention_days = 2; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.retention_days_), 63>(), - {16, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.retention_days_)}}, - // string check_time = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.check_time_)}}, - // string recheck_time = 4; - {::_pbi::TcParser::FastUS1, - {34, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.recheck_time_)}}, - // bool auto_restore = 5; - {::_pbi::TcParser::SingularVarintNoZag1(), - {40, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.auto_restore_)}}, - {::_pbi::TcParser::MiniParse, {}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // string retrieval_tier = 1; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.retrieval_tier_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // int32 retention_days = 2; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.retention_days_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kInt32)}, - // string check_time = 3; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.check_time_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string recheck_time = 4; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.recheck_time_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // bool auto_restore = 5; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.auto_restore_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kBool)}, - }}, - // no aux_entries - {{ - "\61\16\0\12\14\0\0\0" - "flex.RemoteStorageTarget.S3.StorageClass.Archival" - "retrieval_tier" - "check_time" - "recheck_time" - }}, -}; - -PROTOBUF_NOINLINE void RemoteStorageTarget_S3_StorageClass_Archival::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.RemoteStorageTarget.S3.StorageClass.Archival) - ::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_.retrieval_tier_.ClearToEmpty(); - _impl_.check_time_.ClearToEmpty(); - _impl_.recheck_time_.ClearToEmpty(); - ::memset(&_impl_.retention_days_, 0, static_cast<::size_t>( - reinterpret_cast(&_impl_.auto_restore_) - - reinterpret_cast(&_impl_.retention_days_)) + sizeof(_impl_.auto_restore_)); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* RemoteStorageTarget_S3_StorageClass_Archival::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const RemoteStorageTarget_S3_StorageClass_Archival& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* RemoteStorageTarget_S3_StorageClass_Archival::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const RemoteStorageTarget_S3_StorageClass_Archival& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.RemoteStorageTarget.S3.StorageClass.Archival) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string retrieval_tier = 1; - if (!this_._internal_retrieval_tier().empty()) { - const std::string& _s = this_._internal_retrieval_tier(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.RemoteStorageTarget.S3.StorageClass.Archival.retrieval_tier"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - // int32 retention_days = 2; - if (this_._internal_retention_days() != 0) { - target = ::google::protobuf::internal::WireFormatLite:: - WriteInt32ToArrayWithField<2>( - stream, this_._internal_retention_days(), target); - } - - // string check_time = 3; - if (!this_._internal_check_time().empty()) { - const std::string& _s = this_._internal_check_time(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.RemoteStorageTarget.S3.StorageClass.Archival.check_time"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - // string recheck_time = 4; - if (!this_._internal_recheck_time().empty()) { - const std::string& _s = this_._internal_recheck_time(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.RemoteStorageTarget.S3.StorageClass.Archival.recheck_time"); - target = stream->WriteStringMaybeAliased(4, _s, target); - } - - // bool auto_restore = 5; - if (this_._internal_auto_restore() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteBoolToArray( - 5, this_._internal_auto_restore(), 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:flex.RemoteStorageTarget.S3.StorageClass.Archival) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t RemoteStorageTarget_S3_StorageClass_Archival::ByteSizeLong(const MessageLite& base) { - const RemoteStorageTarget_S3_StorageClass_Archival& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t RemoteStorageTarget_S3_StorageClass_Archival::ByteSizeLong() const { - const RemoteStorageTarget_S3_StorageClass_Archival& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.RemoteStorageTarget.S3.StorageClass.Archival) - ::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 retrieval_tier = 1; - if (!this_._internal_retrieval_tier().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_retrieval_tier()); - } - // string check_time = 3; - if (!this_._internal_check_time().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_check_time()); - } - // string recheck_time = 4; - if (!this_._internal_recheck_time().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_recheck_time()); - } - // int32 retention_days = 2; - if (this_._internal_retention_days() != 0) { - total_size += ::_pbi::WireFormatLite::Int32SizePlusOne( - this_._internal_retention_days()); - } - // bool auto_restore = 5; - if (this_._internal_auto_restore() != 0) { - total_size += 2; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void RemoteStorageTarget_S3_StorageClass_Archival::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:flex.RemoteStorageTarget.S3.StorageClass.Archival) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_retrieval_tier().empty()) { - _this->_internal_set_retrieval_tier(from._internal_retrieval_tier()); - } - if (!from._internal_check_time().empty()) { - _this->_internal_set_check_time(from._internal_check_time()); - } - if (!from._internal_recheck_time().empty()) { - _this->_internal_set_recheck_time(from._internal_recheck_time()); - } - if (from._internal_retention_days() != 0) { - _this->_impl_.retention_days_ = from._impl_.retention_days_; - } - if (from._internal_auto_restore() != 0) { - _this->_impl_.auto_restore_ = from._impl_.auto_restore_; - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void RemoteStorageTarget_S3_StorageClass_Archival::CopyFrom(const RemoteStorageTarget_S3_StorageClass_Archival& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.RemoteStorageTarget.S3.StorageClass.Archival) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void RemoteStorageTarget_S3_StorageClass_Archival::InternalSwap(RemoteStorageTarget_S3_StorageClass_Archival* 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_.retrieval_tier_, &other->_impl_.retrieval_tier_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.check_time_, &other->_impl_.check_time_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.recheck_time_, &other->_impl_.recheck_time_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.auto_restore_) - + sizeof(RemoteStorageTarget_S3_StorageClass_Archival::_impl_.auto_restore_) - - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass_Archival, _impl_.retention_days_)>( - reinterpret_cast(&_impl_.retention_days_), - reinterpret_cast(&other->_impl_.retention_days_)); -} - -::google::protobuf::Metadata RemoteStorageTarget_S3_StorageClass_Archival::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class RemoteStorageTarget_S3_StorageClass::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass, _impl_._has_bits_); -}; - -RemoteStorageTarget_S3_StorageClass::RemoteStorageTarget_S3_StorageClass(::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:flex.RemoteStorageTarget.S3.StorageClass) -} -inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_S3_StorageClass::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::RemoteStorageTarget_S3_StorageClass& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - name_(arena, from.name_) {} - -RemoteStorageTarget_S3_StorageClass::RemoteStorageTarget_S3_StorageClass( - ::google::protobuf::Arena* arena, - const RemoteStorageTarget_S3_StorageClass& 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 - RemoteStorageTarget_S3_StorageClass* 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_.archival_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_S3_StorageClass_Archival>( - arena, *from._impl_.archival_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:flex.RemoteStorageTarget.S3.StorageClass) -} -inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_S3_StorageClass::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - name_(arena) {} - -inline void RemoteStorageTarget_S3_StorageClass::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.archival_ = {}; -} -RemoteStorageTarget_S3_StorageClass::~RemoteStorageTarget_S3_StorageClass() { - // @@protoc_insertion_point(destructor:flex.RemoteStorageTarget.S3.StorageClass) - SharedDtor(*this); -} -inline void RemoteStorageTarget_S3_StorageClass::SharedDtor(MessageLite& self) { - RemoteStorageTarget_S3_StorageClass& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.name_.Destroy(); - delete this_._impl_.archival_; - this_._impl_.~Impl_(); -} - -inline void* RemoteStorageTarget_S3_StorageClass::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) RemoteStorageTarget_S3_StorageClass(arena); -} -constexpr auto RemoteStorageTarget_S3_StorageClass::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(RemoteStorageTarget_S3_StorageClass), - alignof(RemoteStorageTarget_S3_StorageClass)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_S3_StorageClass::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_RemoteStorageTarget_S3_StorageClass_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &RemoteStorageTarget_S3_StorageClass::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &RemoteStorageTarget_S3_StorageClass::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &RemoteStorageTarget_S3_StorageClass::ByteSizeLong, - &RemoteStorageTarget_S3_StorageClass::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass, _impl_._cached_size_), - false, - }, - &RemoteStorageTarget_S3_StorageClass::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* RemoteStorageTarget_S3_StorageClass::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, 53, 2> RemoteStorageTarget_S3_StorageClass::_table_ = { - { - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass, _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<::flex::RemoteStorageTarget_S3_StorageClass>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // optional .flex.RemoteStorageTarget.S3.StorageClass.Archival archival = 2; - {::_pbi::TcParser::FastMtS1, - {18, 0, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass, _impl_.archival_)}}, - // string name = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass, _impl_.name_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string name = 1; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass, _impl_.name_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // optional .flex.RemoteStorageTarget.S3.StorageClass.Archival archival = 2; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3_StorageClass, _impl_.archival_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget_S3_StorageClass_Archival>()}, - }}, {{ - "\50\4\0\0\0\0\0\0" - "flex.RemoteStorageTarget.S3.StorageClass" - "name" - }}, -}; - -PROTOBUF_NOINLINE void RemoteStorageTarget_S3_StorageClass::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.RemoteStorageTarget.S3.StorageClass) - ::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_.name_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.archival_ != nullptr); - _impl_.archival_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* RemoteStorageTarget_S3_StorageClass::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const RemoteStorageTarget_S3_StorageClass& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* RemoteStorageTarget_S3_StorageClass::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const RemoteStorageTarget_S3_StorageClass& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.RemoteStorageTarget.S3.StorageClass) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string name = 1; - 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, "flex.RemoteStorageTarget.S3.StorageClass.name"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // optional .flex.RemoteStorageTarget.S3.StorageClass.Archival archival = 2; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 2, *this_._impl_.archival_, this_._impl_.archival_->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:flex.RemoteStorageTarget.S3.StorageClass) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t RemoteStorageTarget_S3_StorageClass::ByteSizeLong(const MessageLite& base) { - const RemoteStorageTarget_S3_StorageClass& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t RemoteStorageTarget_S3_StorageClass::ByteSizeLong() const { - const RemoteStorageTarget_S3_StorageClass& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.RemoteStorageTarget.S3.StorageClass) - ::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 name = 1; - if (!this_._internal_name().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_name()); - } - } - { - // optional .flex.RemoteStorageTarget.S3.StorageClass.Archival archival = 2; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.archival_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void RemoteStorageTarget_S3_StorageClass::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:flex.RemoteStorageTarget.S3.StorageClass) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_name().empty()) { - _this->_internal_set_name(from._internal_name()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.archival_ != nullptr); - if (_this->_impl_.archival_ == nullptr) { - _this->_impl_.archival_ = - ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_S3_StorageClass_Archival>(arena, *from._impl_.archival_); - } else { - _this->_impl_.archival_->MergeFrom(*from._impl_.archival_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void RemoteStorageTarget_S3_StorageClass::CopyFrom(const RemoteStorageTarget_S3_StorageClass& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.RemoteStorageTarget.S3.StorageClass) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void RemoteStorageTarget_S3_StorageClass::InternalSwap(RemoteStorageTarget_S3_StorageClass* 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_.name_, &other->_impl_.name_, arena); - swap(_impl_.archival_, other->_impl_.archival_); -} - -::google::protobuf::Metadata RemoteStorageTarget_S3_StorageClass::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class RemoteStorageTarget_S3::_Internal { - public: -}; - -RemoteStorageTarget_S3::RemoteStorageTarget_S3(::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:flex.RemoteStorageTarget.S3) -} -inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_S3::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::RemoteStorageTarget_S3& from_msg) - : storage_class_{visibility, arena, from.storage_class_}, - endpoint_url_(arena, from.endpoint_url_), - partition_id_(arena, from.partition_id_), - region_(arena, from.region_), - bucket_(arena, from.bucket_), - access_key_(arena, from.access_key_), - secret_key_(arena, from.secret_key_), - _cached_size_{0} {} - -RemoteStorageTarget_S3::RemoteStorageTarget_S3( - ::google::protobuf::Arena* arena, - const RemoteStorageTarget_S3& 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 - RemoteStorageTarget_S3* 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:flex.RemoteStorageTarget.S3) -} -inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_S3::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : storage_class_{visibility, arena}, - endpoint_url_(arena), - partition_id_(arena), - region_(arena), - bucket_(arena), - access_key_(arena), - secret_key_(arena), - _cached_size_{0} {} - -inline void RemoteStorageTarget_S3::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); -} -RemoteStorageTarget_S3::~RemoteStorageTarget_S3() { - // @@protoc_insertion_point(destructor:flex.RemoteStorageTarget.S3) - SharedDtor(*this); -} -inline void RemoteStorageTarget_S3::SharedDtor(MessageLite& self) { - RemoteStorageTarget_S3& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.endpoint_url_.Destroy(); - this_._impl_.partition_id_.Destroy(); - this_._impl_.region_.Destroy(); - this_._impl_.bucket_.Destroy(); - this_._impl_.access_key_.Destroy(); - this_._impl_.secret_key_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* RemoteStorageTarget_S3::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) RemoteStorageTarget_S3(arena); -} -constexpr auto RemoteStorageTarget_S3::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.storage_class_) + - decltype(RemoteStorageTarget_S3::_impl_.storage_class_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(RemoteStorageTarget_S3), alignof(RemoteStorageTarget_S3), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&RemoteStorageTarget_S3::PlacementNew_, - sizeof(RemoteStorageTarget_S3), - alignof(RemoteStorageTarget_S3)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_S3::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_RemoteStorageTarget_S3_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &RemoteStorageTarget_S3::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &RemoteStorageTarget_S3::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &RemoteStorageTarget_S3::ByteSizeLong, - &RemoteStorageTarget_S3::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_._cached_size_), - false, - }, - &RemoteStorageTarget_S3::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* RemoteStorageTarget_S3::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, 92, 2> RemoteStorageTarget_S3::_table_ = { - { - 0, // no _has_bits_ - 0, // no _extensions_ - 8, 56, // max_field_number, fast_idx_mask - offsetof(decltype(_table_), field_lookup_table), - 4294967104, // 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<::flex::RemoteStorageTarget_S3>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // repeated .flex.RemoteStorageTarget.S3.StorageClass storage_class = 8; - {::_pbi::TcParser::FastMtR1, - {66, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.storage_class_)}}, - // string endpoint_url = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.endpoint_url_)}}, - // string partition_id = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.partition_id_)}}, - // string region = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.region_)}}, - // string bucket = 4; - {::_pbi::TcParser::FastUS1, - {34, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.bucket_)}}, - // string access_key = 5; - {::_pbi::TcParser::FastUS1, - {42, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.access_key_)}}, - // string secret_key = 6; - {::_pbi::TcParser::FastUS1, - {50, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.secret_key_)}}, - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // string endpoint_url = 1; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.endpoint_url_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string partition_id = 2; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.partition_id_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string region = 3; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.region_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string bucket = 4; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.bucket_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string access_key = 5; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.access_key_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string secret_key = 6; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.secret_key_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // repeated .flex.RemoteStorageTarget.S3.StorageClass storage_class = 8; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_S3, _impl_.storage_class_), 0, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget_S3_StorageClass>()}, - }}, {{ - "\33\14\14\6\6\12\12\0" - "flex.RemoteStorageTarget.S3" - "endpoint_url" - "partition_id" - "region" - "bucket" - "access_key" - "secret_key" - }}, -}; - -PROTOBUF_NOINLINE void RemoteStorageTarget_S3::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.RemoteStorageTarget.S3) - ::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_.storage_class_.Clear(); - _impl_.endpoint_url_.ClearToEmpty(); - _impl_.partition_id_.ClearToEmpty(); - _impl_.region_.ClearToEmpty(); - _impl_.bucket_.ClearToEmpty(); - _impl_.access_key_.ClearToEmpty(); - _impl_.secret_key_.ClearToEmpty(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* RemoteStorageTarget_S3::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const RemoteStorageTarget_S3& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* RemoteStorageTarget_S3::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const RemoteStorageTarget_S3& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.RemoteStorageTarget.S3) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string endpoint_url = 1; - if (!this_._internal_endpoint_url().empty()) { - const std::string& _s = this_._internal_endpoint_url(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.RemoteStorageTarget.S3.endpoint_url"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - // string partition_id = 2; - if (!this_._internal_partition_id().empty()) { - const std::string& _s = this_._internal_partition_id(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.RemoteStorageTarget.S3.partition_id"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - // string region = 3; - if (!this_._internal_region().empty()) { - const std::string& _s = this_._internal_region(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.RemoteStorageTarget.S3.region"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - // string bucket = 4; - if (!this_._internal_bucket().empty()) { - const std::string& _s = this_._internal_bucket(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.RemoteStorageTarget.S3.bucket"); - target = stream->WriteStringMaybeAliased(4, _s, target); - } - - // string access_key = 5; - if (!this_._internal_access_key().empty()) { - const std::string& _s = this_._internal_access_key(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.RemoteStorageTarget.S3.access_key"); - target = stream->WriteStringMaybeAliased(5, _s, target); - } - - // string secret_key = 6; - if (!this_._internal_secret_key().empty()) { - const std::string& _s = this_._internal_secret_key(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.RemoteStorageTarget.S3.secret_key"); - target = stream->WriteStringMaybeAliased(6, _s, target); - } - - // repeated .flex.RemoteStorageTarget.S3.StorageClass storage_class = 8; - for (unsigned i = 0, n = static_cast( - this_._internal_storage_class_size()); - i < n; i++) { - const auto& repfield = this_._internal_storage_class().Get(i); - target = - ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 8, 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:flex.RemoteStorageTarget.S3) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t RemoteStorageTarget_S3::ByteSizeLong(const MessageLite& base) { - const RemoteStorageTarget_S3& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t RemoteStorageTarget_S3::ByteSizeLong() const { - const RemoteStorageTarget_S3& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.RemoteStorageTarget.S3) - ::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 .flex.RemoteStorageTarget.S3.StorageClass storage_class = 8; - { - total_size += 1UL * this_._internal_storage_class_size(); - for (const auto& msg : this_._internal_storage_class()) { - total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); - } - } - } - { - // string endpoint_url = 1; - if (!this_._internal_endpoint_url().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_endpoint_url()); - } - // string partition_id = 2; - if (!this_._internal_partition_id().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_partition_id()); - } - // string region = 3; - if (!this_._internal_region().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_region()); - } - // string bucket = 4; - if (!this_._internal_bucket().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_bucket()); - } - // string access_key = 5; - if (!this_._internal_access_key().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_access_key()); - } - // string secret_key = 6; - if (!this_._internal_secret_key().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_secret_key()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void RemoteStorageTarget_S3::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:flex.RemoteStorageTarget.S3) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_internal_mutable_storage_class()->MergeFrom( - from._internal_storage_class()); - if (!from._internal_endpoint_url().empty()) { - _this->_internal_set_endpoint_url(from._internal_endpoint_url()); - } - if (!from._internal_partition_id().empty()) { - _this->_internal_set_partition_id(from._internal_partition_id()); - } - if (!from._internal_region().empty()) { - _this->_internal_set_region(from._internal_region()); - } - if (!from._internal_bucket().empty()) { - _this->_internal_set_bucket(from._internal_bucket()); - } - if (!from._internal_access_key().empty()) { - _this->_internal_set_access_key(from._internal_access_key()); - } - if (!from._internal_secret_key().empty()) { - _this->_internal_set_secret_key(from._internal_secret_key()); - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void RemoteStorageTarget_S3::CopyFrom(const RemoteStorageTarget_S3& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.RemoteStorageTarget.S3) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void RemoteStorageTarget_S3::InternalSwap(RemoteStorageTarget_S3* PROTOBUF_RESTRICT other) { - using std::swap; - auto* arena = GetArena(); - ABSL_DCHECK_EQ(arena, other->GetArena()); - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.storage_class_.InternalSwap(&other->_impl_.storage_class_); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.endpoint_url_, &other->_impl_.endpoint_url_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.partition_id_, &other->_impl_.partition_id_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.region_, &other->_impl_.region_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.bucket_, &other->_impl_.bucket_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.access_key_, &other->_impl_.access_key_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.secret_key_, &other->_impl_.secret_key_, arena); -} - -::google::protobuf::Metadata RemoteStorageTarget_S3::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class RemoteStorageTarget_Azure::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Azure, _impl_._has_bits_); -}; - -RemoteStorageTarget_Azure::RemoteStorageTarget_Azure(::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:flex.RemoteStorageTarget.Azure) -} -inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_Azure::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::RemoteStorageTarget_Azure& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - account_(arena, from.account_) {} - -RemoteStorageTarget_Azure::RemoteStorageTarget_Azure( - ::google::protobuf::Arena* arena, - const RemoteStorageTarget_Azure& 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 - RemoteStorageTarget_Azure* 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_.s3_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_S3>( - arena, *from._impl_.s3_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:flex.RemoteStorageTarget.Azure) -} -inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_Azure::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - account_(arena) {} - -inline void RemoteStorageTarget_Azure::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - _impl_.s3_ = {}; -} -RemoteStorageTarget_Azure::~RemoteStorageTarget_Azure() { - // @@protoc_insertion_point(destructor:flex.RemoteStorageTarget.Azure) - SharedDtor(*this); -} -inline void RemoteStorageTarget_Azure::SharedDtor(MessageLite& self) { - RemoteStorageTarget_Azure& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.account_.Destroy(); - delete this_._impl_.s3_; - this_._impl_.~Impl_(); -} - -inline void* RemoteStorageTarget_Azure::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) RemoteStorageTarget_Azure(arena); -} -constexpr auto RemoteStorageTarget_Azure::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(RemoteStorageTarget_Azure), - alignof(RemoteStorageTarget_Azure)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_Azure::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_RemoteStorageTarget_Azure_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &RemoteStorageTarget_Azure::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &RemoteStorageTarget_Azure::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &RemoteStorageTarget_Azure::ByteSizeLong, - &RemoteStorageTarget_Azure::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Azure, _impl_._cached_size_), - false, - }, - &RemoteStorageTarget_Azure::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* RemoteStorageTarget_Azure::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, 46, 2> RemoteStorageTarget_Azure::_table_ = { - { - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Azure, _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<::flex::RemoteStorageTarget_Azure>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // string account = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Azure, _impl_.account_)}}, - // .flex.RemoteStorageTarget.S3 s3 = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Azure, _impl_.s3_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .flex.RemoteStorageTarget.S3 s3 = 1; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Azure, _impl_.s3_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // string account = 2; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_Azure, _impl_.account_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget_S3>()}, - }}, {{ - "\36\0\7\0\0\0\0\0" - "flex.RemoteStorageTarget.Azure" - "account" - }}, -}; - -PROTOBUF_NOINLINE void RemoteStorageTarget_Azure::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.RemoteStorageTarget.Azure) - ::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_.account_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.s3_ != nullptr); - _impl_.s3_->Clear(); - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* RemoteStorageTarget_Azure::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const RemoteStorageTarget_Azure& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* RemoteStorageTarget_Azure::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const RemoteStorageTarget_Azure& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.RemoteStorageTarget.Azure) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.RemoteStorageTarget.S3 s3 = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.s3_, this_._impl_.s3_->GetCachedSize(), target, - stream); - } - - // string account = 2; - if (!this_._internal_account().empty()) { - const std::string& _s = this_._internal_account(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.RemoteStorageTarget.Azure.account"); - 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:flex.RemoteStorageTarget.Azure) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t RemoteStorageTarget_Azure::ByteSizeLong(const MessageLite& base) { - const RemoteStorageTarget_Azure& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t RemoteStorageTarget_Azure::ByteSizeLong() const { - const RemoteStorageTarget_Azure& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.RemoteStorageTarget.Azure) - ::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 account = 2; - if (!this_._internal_account().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_account()); - } - } - { - // .flex.RemoteStorageTarget.S3 s3 = 1; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.s3_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void RemoteStorageTarget_Azure::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:flex.RemoteStorageTarget.Azure) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_account().empty()) { - _this->_internal_set_account(from._internal_account()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.s3_ != nullptr); - if (_this->_impl_.s3_ == nullptr) { - _this->_impl_.s3_ = - ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_S3>(arena, *from._impl_.s3_); - } else { - _this->_impl_.s3_->MergeFrom(*from._impl_.s3_); - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void RemoteStorageTarget_Azure::CopyFrom(const RemoteStorageTarget_Azure& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.RemoteStorageTarget.Azure) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void RemoteStorageTarget_Azure::InternalSwap(RemoteStorageTarget_Azure* 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_.account_, &other->_impl_.account_, arena); - swap(_impl_.s3_, other->_impl_.s3_); -} - -::google::protobuf::Metadata RemoteStorageTarget_Azure::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class RemoteStorageTarget_POSIX::_Internal { - public: -}; - -RemoteStorageTarget_POSIX::RemoteStorageTarget_POSIX(::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:flex.RemoteStorageTarget.POSIX) -} -inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_POSIX::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::RemoteStorageTarget_POSIX& from_msg) - : path_(arena, from.path_), - _cached_size_{0} {} - -RemoteStorageTarget_POSIX::RemoteStorageTarget_POSIX( - ::google::protobuf::Arena* arena, - const RemoteStorageTarget_POSIX& 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 - RemoteStorageTarget_POSIX* 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:flex.RemoteStorageTarget.POSIX) -} -inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget_POSIX::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : path_(arena), - _cached_size_{0} {} - -inline void RemoteStorageTarget_POSIX::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); -} -RemoteStorageTarget_POSIX::~RemoteStorageTarget_POSIX() { - // @@protoc_insertion_point(destructor:flex.RemoteStorageTarget.POSIX) - SharedDtor(*this); -} -inline void RemoteStorageTarget_POSIX::SharedDtor(MessageLite& self) { - RemoteStorageTarget_POSIX& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.path_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* RemoteStorageTarget_POSIX::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) RemoteStorageTarget_POSIX(arena); -} -constexpr auto RemoteStorageTarget_POSIX::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(RemoteStorageTarget_POSIX), - alignof(RemoteStorageTarget_POSIX)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget_POSIX::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_RemoteStorageTarget_POSIX_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &RemoteStorageTarget_POSIX::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &RemoteStorageTarget_POSIX::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &RemoteStorageTarget_POSIX::ByteSizeLong, - &RemoteStorageTarget_POSIX::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_POSIX, _impl_._cached_size_), - false, - }, - &RemoteStorageTarget_POSIX::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* RemoteStorageTarget_POSIX::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, 43, 2> RemoteStorageTarget_POSIX::_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<::flex::RemoteStorageTarget_POSIX>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // string path = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_POSIX, _impl_.path_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string path = 1; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget_POSIX, _impl_.path_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{ - "\36\4\0\0\0\0\0\0" - "flex.RemoteStorageTarget.POSIX" - "path" - }}, -}; - -PROTOBUF_NOINLINE void RemoteStorageTarget_POSIX::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.RemoteStorageTarget.POSIX) - ::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_.path_.ClearToEmpty(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* RemoteStorageTarget_POSIX::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const RemoteStorageTarget_POSIX& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* RemoteStorageTarget_POSIX::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const RemoteStorageTarget_POSIX& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.RemoteStorageTarget.POSIX) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string path = 1; - if (!this_._internal_path().empty()) { - const std::string& _s = this_._internal_path(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.RemoteStorageTarget.POSIX.path"); - target = stream->WriteStringMaybeAliased(1, _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:flex.RemoteStorageTarget.POSIX) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t RemoteStorageTarget_POSIX::ByteSizeLong(const MessageLite& base) { - const RemoteStorageTarget_POSIX& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t RemoteStorageTarget_POSIX::ByteSizeLong() const { - const RemoteStorageTarget_POSIX& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.RemoteStorageTarget.POSIX) - ::size_t total_size = 0; - - ::uint32_t cached_has_bits = 0; - // Prevent compiler warnings about cached_has_bits being unused - (void)cached_has_bits; - - { - // string path = 1; - if (!this_._internal_path().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_path()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void RemoteStorageTarget_POSIX::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:flex.RemoteStorageTarget.POSIX) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_path().empty()) { - _this->_internal_set_path(from._internal_path()); - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void RemoteStorageTarget_POSIX::CopyFrom(const RemoteStorageTarget_POSIX& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.RemoteStorageTarget.POSIX) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void RemoteStorageTarget_POSIX::InternalSwap(RemoteStorageTarget_POSIX* 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_.path_, &other->_impl_.path_, arena); -} - -::google::protobuf::Metadata RemoteStorageTarget_POSIX::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class RemoteStorageTarget::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_._has_bits_); - static constexpr ::int32_t kOneofCaseOffset = - PROTOBUF_FIELD_OFFSET(::flex::RemoteStorageTarget, _impl_._oneof_case_); -}; - -void RemoteStorageTarget::set_allocated_s3(::flex::RemoteStorageTarget_S3* s3) { - ::google::protobuf::Arena* message_arena = GetArena(); - clear_type(); - if (s3) { - ::google::protobuf::Arena* submessage_arena = s3->GetArena(); - if (message_arena != submessage_arena) { - s3 = ::google::protobuf::internal::GetOwnedMessage(message_arena, s3, submessage_arena); - } - set_has_s3(); - _impl_.type_.s3_ = s3; - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.s3) -} -void RemoteStorageTarget::set_allocated_posix(::flex::RemoteStorageTarget_POSIX* posix) { - ::google::protobuf::Arena* message_arena = GetArena(); - clear_type(); - if (posix) { - ::google::protobuf::Arena* submessage_arena = posix->GetArena(); - if (message_arena != submessage_arena) { - posix = ::google::protobuf::internal::GetOwnedMessage(message_arena, posix, submessage_arena); - } - set_has_posix(); - _impl_.type_.posix_ = posix; - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.posix) -} -void RemoteStorageTarget::set_allocated_azure(::flex::RemoteStorageTarget_Azure* azure) { - ::google::protobuf::Arena* message_arena = GetArena(); - clear_type(); - if (azure) { - ::google::protobuf::Arena* submessage_arena = azure->GetArena(); - if (message_arena != submessage_arena) { - azure = ::google::protobuf::internal::GetOwnedMessage(message_arena, azure, submessage_arena); - } - set_has_azure(); - _impl_.type_.azure_ = azure; - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.azure) -} -RemoteStorageTarget::RemoteStorageTarget(::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:flex.RemoteStorageTarget) -} -inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::RemoteStorageTarget& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - name_(arena, from.name_), - type_{}, - _oneof_case_{from._oneof_case_[0]} {} - -RemoteStorageTarget::RemoteStorageTarget( - ::google::protobuf::Arena* arena, - const RemoteStorageTarget& 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 - RemoteStorageTarget* 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_.policies_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_Policies>( - arena, *from._impl_.policies_) - : nullptr; - _impl_.id_ = from._impl_.id_; - switch (type_case()) { - case TYPE_NOT_SET: - break; - case kS3: - _impl_.type_.s3_ = ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_S3>(arena, *from._impl_.type_.s3_); - break; - case kPosix: - _impl_.type_.posix_ = ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_POSIX>(arena, *from._impl_.type_.posix_); - break; - case kAzure: - _impl_.type_.azure_ = ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_Azure>(arena, *from._impl_.type_.azure_); - break; - case kMock: - new (&_impl_.type_.mock_) decltype(_impl_.type_.mock_){arena, from._impl_.type_.mock_}; - break; - } - - // @@protoc_insertion_point(copy_constructor:flex.RemoteStorageTarget) -} -inline PROTOBUF_NDEBUG_INLINE RemoteStorageTarget::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - name_(arena), - type_{}, - _oneof_case_{} {} - -inline void RemoteStorageTarget::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, policies_), - 0, - offsetof(Impl_, id_) - - offsetof(Impl_, policies_) + - sizeof(Impl_::id_)); -} -RemoteStorageTarget::~RemoteStorageTarget() { - // @@protoc_insertion_point(destructor:flex.RemoteStorageTarget) - SharedDtor(*this); -} -inline void RemoteStorageTarget::SharedDtor(MessageLite& self) { - RemoteStorageTarget& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.name_.Destroy(); - delete this_._impl_.policies_; - if (this_.has_type()) { - this_.clear_type(); - } - this_._impl_.~Impl_(); -} - -void RemoteStorageTarget::clear_type() { -// @@protoc_insertion_point(one_of_clear_start:flex.RemoteStorageTarget) - ::google::protobuf::internal::TSanWrite(&_impl_); - switch (type_case()) { - case kS3: { - if (GetArena() == nullptr) { - delete _impl_.type_.s3_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.s3_); - } - break; - } - case kPosix: { - if (GetArena() == nullptr) { - delete _impl_.type_.posix_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.posix_); - } - break; - } - case kAzure: { - if (GetArena() == nullptr) { - delete _impl_.type_.azure_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.azure_); - } - break; - } - case kMock: { - _impl_.type_.mock_.Destroy(); - break; - } - case TYPE_NOT_SET: { - break; - } - } - _impl_._oneof_case_[0] = TYPE_NOT_SET; -} - - -inline void* RemoteStorageTarget::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) RemoteStorageTarget(arena); -} -constexpr auto RemoteStorageTarget::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(RemoteStorageTarget), - alignof(RemoteStorageTarget)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull RemoteStorageTarget::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_RemoteStorageTarget_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &RemoteStorageTarget::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &RemoteStorageTarget::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &RemoteStorageTarget::ByteSizeLong, - &RemoteStorageTarget::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_._cached_size_), - false, - }, - &RemoteStorageTarget::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* RemoteStorageTarget::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, 7, 4, 41, 2> RemoteStorageTarget::_table_ = { - { - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_._has_bits_), - 0, // no _extensions_ - 7, 24, // 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<::flex::RemoteStorageTarget>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // uint32 id = 1; - {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(RemoteStorageTarget, _impl_.id_), 63>(), - {8, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.id_)}}, - // string name = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.name_)}}, - // .flex.RemoteStorageTarget.Policies policies = 3; - {::_pbi::TcParser::FastMtS1, - {26, 0, 0, PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.policies_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // uint32 id = 1; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.id_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, - // string name = 2; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.name_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // .flex.RemoteStorageTarget.Policies policies = 3; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.policies_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // .flex.RemoteStorageTarget.S3 s3 = 4; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.type_.s3_), _Internal::kOneofCaseOffset + 0, 1, - (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, - // .flex.RemoteStorageTarget.POSIX posix = 5; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.type_.posix_), _Internal::kOneofCaseOffset + 0, 2, - (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, - // .flex.RemoteStorageTarget.Azure azure = 6; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.type_.azure_), _Internal::kOneofCaseOffset + 0, 3, - (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, - // string mock = 7; - {PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.type_.mock_), _Internal::kOneofCaseOffset + 0, 0, - (0 | ::_fl::kFcOneof | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget_Policies>()}, - {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget_S3>()}, - {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget_POSIX>()}, - {::_pbi::TcParser::GetTable<::flex::RemoteStorageTarget_Azure>()}, - }}, {{ - "\30\0\4\0\0\0\0\4" - "flex.RemoteStorageTarget" - "name" - "mock" - }}, -}; - -PROTOBUF_NOINLINE void RemoteStorageTarget::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.RemoteStorageTarget) - ::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_.name_.ClearToEmpty(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.policies_ != nullptr); - _impl_.policies_->Clear(); - } - _impl_.id_ = 0u; - clear_type(); - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* RemoteStorageTarget::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const RemoteStorageTarget& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* RemoteStorageTarget::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const RemoteStorageTarget& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.RemoteStorageTarget) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // uint32 id = 1; - if (this_._internal_id() != 0) { - target = stream->EnsureSpace(target); - target = ::_pbi::WireFormatLite::WriteUInt32ToArray( - 1, this_._internal_id(), 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, "flex.RemoteStorageTarget.name"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.RemoteStorageTarget.Policies policies = 3; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 3, *this_._impl_.policies_, this_._impl_.policies_->GetCachedSize(), target, - stream); - } - - switch (this_.type_case()) { - case kS3: { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 4, *this_._impl_.type_.s3_, this_._impl_.type_.s3_->GetCachedSize(), target, - stream); - break; - } - case kPosix: { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 5, *this_._impl_.type_.posix_, this_._impl_.type_.posix_->GetCachedSize(), target, - stream); - break; - } - case kAzure: { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 6, *this_._impl_.type_.azure_, this_._impl_.type_.azure_->GetCachedSize(), target, - stream); - break; - } - case kMock: { - const std::string& _s = this_._internal_mock(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.RemoteStorageTarget.mock"); - target = stream->WriteStringMaybeAliased(7, _s, target); - break; - } - default: - break; - } - 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:flex.RemoteStorageTarget) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t RemoteStorageTarget::ByteSizeLong(const MessageLite& base) { - const RemoteStorageTarget& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t RemoteStorageTarget::ByteSizeLong() const { - const RemoteStorageTarget& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.RemoteStorageTarget) - ::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 name = 2; - if (!this_._internal_name().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_name()); - } - } - { - // .flex.RemoteStorageTarget.Policies policies = 3; - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.policies_); - } - } - { - // uint32 id = 1; - if (this_._internal_id() != 0) { - total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( - this_._internal_id()); - } - } - switch (this_.type_case()) { - // .flex.RemoteStorageTarget.S3 s3 = 4; - case kS3: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.s3_); - break; - } - // .flex.RemoteStorageTarget.POSIX posix = 5; - case kPosix: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.posix_); - break; - } - // .flex.RemoteStorageTarget.Azure azure = 6; - case kAzure: { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.type_.azure_); - break; - } - // string mock = 7; - case kMock: { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_mock()); - break; - } - case TYPE_NOT_SET: { - break; - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void RemoteStorageTarget::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:flex.RemoteStorageTarget) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_name().empty()) { - _this->_internal_set_name(from._internal_name()); - } - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.policies_ != nullptr); - if (_this->_impl_.policies_ == nullptr) { - _this->_impl_.policies_ = - ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_Policies>(arena, *from._impl_.policies_); - } else { - _this->_impl_.policies_->MergeFrom(*from._impl_.policies_); - } - } - if (from._internal_id() != 0) { - _this->_impl_.id_ = from._impl_.id_; - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { - const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; - const bool oneof_needs_init = oneof_to_case != oneof_from_case; - if (oneof_needs_init) { - if (oneof_to_case != 0) { - _this->clear_type(); - } - _this->_impl_._oneof_case_[0] = oneof_from_case; - } - - switch (oneof_from_case) { - case kS3: { - if (oneof_needs_init) { - _this->_impl_.type_.s3_ = - ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_S3>(arena, *from._impl_.type_.s3_); - } else { - _this->_impl_.type_.s3_->MergeFrom(from._internal_s3()); - } - break; - } - case kPosix: { - if (oneof_needs_init) { - _this->_impl_.type_.posix_ = - ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_POSIX>(arena, *from._impl_.type_.posix_); - } else { - _this->_impl_.type_.posix_->MergeFrom(from._internal_posix()); - } - break; - } - case kAzure: { - if (oneof_needs_init) { - _this->_impl_.type_.azure_ = - ::google::protobuf::Message::CopyConstruct<::flex::RemoteStorageTarget_Azure>(arena, *from._impl_.type_.azure_); - } else { - _this->_impl_.type_.azure_->MergeFrom(from._internal_azure()); - } - break; - } - case kMock: { - if (oneof_needs_init) { - _this->_impl_.type_.mock_.InitDefault(); - } - _this->_impl_.type_.mock_.Set(from._internal_mock(), arena); - break; - } - case TYPE_NOT_SET: - break; - } - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void RemoteStorageTarget::CopyFrom(const RemoteStorageTarget& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.RemoteStorageTarget) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void RemoteStorageTarget::InternalSwap(RemoteStorageTarget* 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_.name_, &other->_impl_.name_, arena); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.id_) - + sizeof(RemoteStorageTarget::_impl_.id_) - - PROTOBUF_FIELD_OFFSET(RemoteStorageTarget, _impl_.policies_)>( - reinterpret_cast(&_impl_.policies_), - reinterpret_cast(&other->_impl_.policies_)); - swap(_impl_.type_, other->_impl_.type_); - swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); -} - -::google::protobuf::Metadata RemoteStorageTarget::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class GetCapabilitiesRequest::_Internal { - public: -}; - -GetCapabilitiesRequest::GetCapabilitiesRequest(::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:flex.GetCapabilitiesRequest) -} -GetCapabilitiesRequest::GetCapabilitiesRequest( - ::google::protobuf::Arena* arena, - const GetCapabilitiesRequest& 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 - GetCapabilitiesRequest* const _this = this; - (void)_this; - _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( - from._internal_metadata_); - - // @@protoc_insertion_point(copy_constructor:flex.GetCapabilitiesRequest) -} - -inline void* GetCapabilitiesRequest::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetCapabilitiesRequest(arena); -} -constexpr auto GetCapabilitiesRequest::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(GetCapabilitiesRequest), - alignof(GetCapabilitiesRequest)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetCapabilitiesRequest::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetCapabilitiesRequest_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetCapabilitiesRequest::MergeImpl, - ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetCapabilitiesRequest::SharedDtor, - ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &GetCapabilitiesRequest::ByteSizeLong, - &GetCapabilitiesRequest::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetCapabilitiesRequest, _impl_._cached_size_), - false, - }, - &GetCapabilitiesRequest::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetCapabilitiesRequest::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> GetCapabilitiesRequest::_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<::flex::GetCapabilitiesRequest>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, - // no field_entries, or aux_entries - {{ - }}, -}; - - - - - - - - -::google::protobuf::Metadata GetCapabilitiesRequest::GetMetadata() const { - return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -#if defined(PROTOBUF_CUSTOM_VTABLE) - GetCapabilitiesResponse_FeaturesEntry_DoNotUse::GetCapabilitiesResponse_FeaturesEntry_DoNotUse() : SuperType(_class_data_.base()) {} - GetCapabilitiesResponse_FeaturesEntry_DoNotUse::GetCapabilitiesResponse_FeaturesEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena, _class_data_.base()) {} -#else // PROTOBUF_CUSTOM_VTABLE - GetCapabilitiesResponse_FeaturesEntry_DoNotUse::GetCapabilitiesResponse_FeaturesEntry_DoNotUse() : SuperType() {} - GetCapabilitiesResponse_FeaturesEntry_DoNotUse::GetCapabilitiesResponse_FeaturesEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {} -#endif // PROTOBUF_CUSTOM_VTABLE - inline void* GetCapabilitiesResponse_FeaturesEntry_DoNotUse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetCapabilitiesResponse_FeaturesEntry_DoNotUse(arena); - } - constexpr auto GetCapabilitiesResponse_FeaturesEntry_DoNotUse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(GetCapabilitiesResponse_FeaturesEntry_DoNotUse), - alignof(GetCapabilitiesResponse_FeaturesEntry_DoNotUse)); - } - PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - const ::google::protobuf::internal::ClassDataFull GetCapabilitiesResponse_FeaturesEntry_DoNotUse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetCapabilitiesResponse_FeaturesEntry_DoNotUse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetCapabilitiesResponse_FeaturesEntry_DoNotUse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), - #if defined(PROTOBUF_CUSTOM_VTABLE) - &GetCapabilitiesResponse_FeaturesEntry_DoNotUse::SharedDtor, - static_cast( - &GetCapabilitiesResponse_FeaturesEntry_DoNotUse::ClearImpl), - ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl - , - #endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_._cached_size_), - false, - }, - &GetCapabilitiesResponse_FeaturesEntry_DoNotUse::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker - }; - const ::google::protobuf::internal::ClassData* GetCapabilitiesResponse_FeaturesEntry_DoNotUse::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, 54, 2> GetCapabilitiesResponse_FeaturesEntry_DoNotUse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _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::DiscardEverythingFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::flex::GetCapabilitiesResponse_FeaturesEntry_DoNotUse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // .flex.Feature value = 2; - {::_pbi::TcParser::FastMtS1, - {18, 0, 0, PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_.value_)}}, - // string key = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_.key_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string key = 1; - {PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_.key_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // .flex.Feature value = 2; - {PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse_FeaturesEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::Feature>()}, - }}, {{ - "\52\3\0\0\0\0\0\0" - "flex.GetCapabilitiesResponse.FeaturesEntry" - "key" - }}, -}; - -// =================================================================== - -class GetCapabilitiesResponse::_Internal { - public: - using HasBits = - decltype(std::declval()._impl_._has_bits_); - static constexpr ::int32_t kHasBitsOffset = - 8 * PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse, _impl_._has_bits_); -}; - -void GetCapabilitiesResponse::clear_start_timestamp() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.start_timestamp_ != nullptr) _impl_.start_timestamp_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -GetCapabilitiesResponse::GetCapabilitiesResponse(::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:flex.GetCapabilitiesResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetCapabilitiesResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::GetCapabilitiesResponse& from_msg) - : _has_bits_{from._has_bits_}, - _cached_size_{0}, - features_{visibility, arena, from.features_} {} - -GetCapabilitiesResponse::GetCapabilitiesResponse( - ::google::protobuf::Arena* arena, - const GetCapabilitiesResponse& 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 - GetCapabilitiesResponse* 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_.build_info_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::flex::BuildInfo>( - arena, *from._impl_.build_info_) - : nullptr; - _impl_.start_timestamp_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>( - arena, *from._impl_.start_timestamp_) - : nullptr; - - // @@protoc_insertion_point(copy_constructor:flex.GetCapabilitiesResponse) -} -inline PROTOBUF_NDEBUG_INLINE GetCapabilitiesResponse::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : _cached_size_{0}, - features_{visibility, arena} {} - -inline void GetCapabilitiesResponse::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); - ::memset(reinterpret_cast(&_impl_) + - offsetof(Impl_, build_info_), - 0, - offsetof(Impl_, start_timestamp_) - - offsetof(Impl_, build_info_) + - sizeof(Impl_::start_timestamp_)); -} -GetCapabilitiesResponse::~GetCapabilitiesResponse() { - // @@protoc_insertion_point(destructor:flex.GetCapabilitiesResponse) - SharedDtor(*this); -} -inline void GetCapabilitiesResponse::SharedDtor(MessageLite& self) { - GetCapabilitiesResponse& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - delete this_._impl_.build_info_; - delete this_._impl_.start_timestamp_; - this_._impl_.~Impl_(); -} - -inline void* GetCapabilitiesResponse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) GetCapabilitiesResponse(arena); -} -constexpr auto GetCapabilitiesResponse::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse, _impl_.features_) + - decltype(GetCapabilitiesResponse::_impl_.features_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse, _impl_.features_) + - decltype(GetCapabilitiesResponse::_impl_.features_):: - InternalGetArenaOffsetAlt( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(GetCapabilitiesResponse), alignof(GetCapabilitiesResponse), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&GetCapabilitiesResponse::PlacementNew_, - sizeof(GetCapabilitiesResponse), - alignof(GetCapabilitiesResponse)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull GetCapabilitiesResponse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_GetCapabilitiesResponse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &GetCapabilitiesResponse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &GetCapabilitiesResponse::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &GetCapabilitiesResponse::ByteSizeLong, - &GetCapabilitiesResponse::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse, _impl_._cached_size_), - false, - }, - &GetCapabilitiesResponse::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* GetCapabilitiesResponse::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, 4, 45, 2> GetCapabilitiesResponse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse, _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 - 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<::flex::GetCapabilitiesResponse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - // .flex.BuildInfo build_info = 1; - {::_pbi::TcParser::FastMtS1, - {10, 0, 0, PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse, _impl_.build_info_)}}, - {::_pbi::TcParser::MiniParse, {}}, - // .google.protobuf.Timestamp start_timestamp = 3; - {::_pbi::TcParser::FastMtS1, - {26, 1, 1, PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse, _impl_.start_timestamp_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // .flex.BuildInfo build_info = 1; - {PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse, _impl_.build_info_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - // map features = 2; - {PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse, _impl_.features_), -1, 2, - (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, - // .google.protobuf.Timestamp start_timestamp = 3; - {PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse, _impl_.start_timestamp_), _Internal::kHasBitsOffset + 1, 1, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::BuildInfo>()}, - {::_pbi::TcParser::GetTable<::google::protobuf::Timestamp>()}, - {::_pbi::TcParser::GetMapAuxInfo< - decltype(GetCapabilitiesResponse()._impl_.features_)>( - 1, 0, 0, 9, - 11)}, - {::_pbi::TcParser::GetTable<::flex::Feature>()}, - }}, {{ - "\34\0\10\0\0\0\0\0" - "flex.GetCapabilitiesResponse" - "features" - }}, -}; - -PROTOBUF_NOINLINE void GetCapabilitiesResponse::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.GetCapabilitiesResponse) - ::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_.features_.Clear(); - cached_has_bits = _impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(_impl_.build_info_ != nullptr); - _impl_.build_info_->Clear(); - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(_impl_.start_timestamp_ != nullptr); - _impl_.start_timestamp_->Clear(); - } - } - _impl_._has_bits_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* GetCapabilitiesResponse::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const GetCapabilitiesResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* GetCapabilitiesResponse::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const GetCapabilitiesResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.GetCapabilitiesResponse) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - cached_has_bits = this_._impl_._has_bits_[0]; - // .flex.BuildInfo build_info = 1; - if (cached_has_bits & 0x00000001u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 1, *this_._impl_.build_info_, this_._impl_.build_info_->GetCachedSize(), target, - stream); - } - - // map features = 2; - if (!this_._internal_features().empty()) { - using MapType = ::google::protobuf::Map; - using WireHelper = _pbi::MapEntryFuncs; - const auto& field = this_._internal_features(); - - if (stream->IsSerializationDeterministic() && field.size() > 1) { - for (const auto& entry : ::google::protobuf::internal::MapSorterPtr(field)) { - target = WireHelper::InternalSerialize( - 2, entry.first, entry.second, target, stream); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - entry.first.data(), static_cast(entry.first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.GetCapabilitiesResponse.features"); - } - } else { - for (const auto& entry : field) { - target = WireHelper::InternalSerialize( - 2, entry.first, entry.second, target, stream); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - entry.first.data(), static_cast(entry.first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.GetCapabilitiesResponse.features"); - } - } - } - - // .google.protobuf.Timestamp start_timestamp = 3; - if (cached_has_bits & 0x00000002u) { - target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( - 3, *this_._impl_.start_timestamp_, this_._impl_.start_timestamp_->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:flex.GetCapabilitiesResponse) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t GetCapabilitiesResponse::ByteSizeLong(const MessageLite& base) { - const GetCapabilitiesResponse& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t GetCapabilitiesResponse::ByteSizeLong() const { - const GetCapabilitiesResponse& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.GetCapabilitiesResponse) - ::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_); - { - // map features = 2; - { - total_size += - 1 * ::google::protobuf::internal::FromIntSize(this_._internal_features_size()); - for (const auto& entry : this_._internal_features()) { - total_size += _pbi::MapEntryFuncs::ByteSizeLong(entry.first, entry.second); - } - } - } - cached_has_bits = this_._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - // .flex.BuildInfo build_info = 1; - if (cached_has_bits & 0x00000001u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.build_info_); - } - // .google.protobuf.Timestamp start_timestamp = 3; - if (cached_has_bits & 0x00000002u) { - total_size += 1 + - ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.start_timestamp_); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void GetCapabilitiesResponse::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:flex.GetCapabilitiesResponse) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.features_.MergeFrom(from._impl_.features_); - cached_has_bits = from._impl_._has_bits_[0]; - if (cached_has_bits & 0x00000003u) { - if (cached_has_bits & 0x00000001u) { - ABSL_DCHECK(from._impl_.build_info_ != nullptr); - if (_this->_impl_.build_info_ == nullptr) { - _this->_impl_.build_info_ = - ::google::protobuf::Message::CopyConstruct<::flex::BuildInfo>(arena, *from._impl_.build_info_); - } else { - _this->_impl_.build_info_->MergeFrom(*from._impl_.build_info_); - } - } - if (cached_has_bits & 0x00000002u) { - ABSL_DCHECK(from._impl_.start_timestamp_ != nullptr); - if (_this->_impl_.start_timestamp_ == nullptr) { - _this->_impl_.start_timestamp_ = - ::google::protobuf::Message::CopyConstruct<::google::protobuf::Timestamp>(arena, *from._impl_.start_timestamp_); - } else { - _this->_impl_.start_timestamp_->MergeFrom(*from._impl_.start_timestamp_); - } - } - } - _this->_impl_._has_bits_[0] |= cached_has_bits; - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void GetCapabilitiesResponse::CopyFrom(const GetCapabilitiesResponse& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.GetCapabilitiesResponse) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void GetCapabilitiesResponse::InternalSwap(GetCapabilitiesResponse* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); - _impl_.features_.InternalSwap(&other->_impl_.features_); - ::google::protobuf::internal::memswap< - PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse, _impl_.start_timestamp_) - + sizeof(GetCapabilitiesResponse::_impl_.start_timestamp_) - - PROTOBUF_FIELD_OFFSET(GetCapabilitiesResponse, _impl_.build_info_)>( - reinterpret_cast(&_impl_.build_info_), - reinterpret_cast(&other->_impl_.build_info_)); -} - -::google::protobuf::Metadata GetCapabilitiesResponse::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -#if defined(PROTOBUF_CUSTOM_VTABLE) - Feature_SubFeatureEntry_DoNotUse::Feature_SubFeatureEntry_DoNotUse() : SuperType(_class_data_.base()) {} - Feature_SubFeatureEntry_DoNotUse::Feature_SubFeatureEntry_DoNotUse(::google::protobuf::Arena* arena) - : SuperType(arena, _class_data_.base()) {} -#else // PROTOBUF_CUSTOM_VTABLE - Feature_SubFeatureEntry_DoNotUse::Feature_SubFeatureEntry_DoNotUse() : SuperType() {} - Feature_SubFeatureEntry_DoNotUse::Feature_SubFeatureEntry_DoNotUse(::google::protobuf::Arena* arena) : SuperType(arena) {} -#endif // PROTOBUF_CUSTOM_VTABLE - inline void* Feature_SubFeatureEntry_DoNotUse::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) Feature_SubFeatureEntry_DoNotUse(arena); - } - constexpr auto Feature_SubFeatureEntry_DoNotUse::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Feature_SubFeatureEntry_DoNotUse), - alignof(Feature_SubFeatureEntry_DoNotUse)); - } - PROTOBUF_CONSTINIT - PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 - const ::google::protobuf::internal::ClassDataFull Feature_SubFeatureEntry_DoNotUse::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_Feature_SubFeatureEntry_DoNotUse_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &Feature_SubFeatureEntry_DoNotUse::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), - #if defined(PROTOBUF_CUSTOM_VTABLE) - &Feature_SubFeatureEntry_DoNotUse::SharedDtor, - static_cast( - &Feature_SubFeatureEntry_DoNotUse::ClearImpl), - ::google::protobuf::Message::ByteSizeLongImpl, ::google::protobuf::Message::_InternalSerializeImpl - , - #endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(Feature_SubFeatureEntry_DoNotUse, _impl_._cached_size_), - false, - }, - &Feature_SubFeatureEntry_DoNotUse::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker - }; - const ::google::protobuf::internal::ClassData* Feature_SubFeatureEntry_DoNotUse::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, 40, 2> Feature_SubFeatureEntry_DoNotUse::_table_ = { - { - PROTOBUF_FIELD_OFFSET(Feature_SubFeatureEntry_DoNotUse, _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::DiscardEverythingFallback, // fallback - #ifdef PROTOBUF_PREFETCH_PARSE_TABLE - ::_pbi::TcParser::GetTable<::flex::Feature_SubFeatureEntry_DoNotUse>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // .flex.Feature value = 2; - {::_pbi::TcParser::FastMtS1, - {18, 0, 0, PROTOBUF_FIELD_OFFSET(Feature_SubFeatureEntry_DoNotUse, _impl_.value_)}}, - // string key = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(Feature_SubFeatureEntry_DoNotUse, _impl_.key_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string key = 1; - {PROTOBUF_FIELD_OFFSET(Feature_SubFeatureEntry_DoNotUse, _impl_.key_), -1, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // .flex.Feature value = 2; - {PROTOBUF_FIELD_OFFSET(Feature_SubFeatureEntry_DoNotUse, _impl_.value_), _Internal::kHasBitsOffset + 0, 0, - (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, - }}, {{ - {::_pbi::TcParser::GetTable<::flex::Feature>()}, - }}, {{ - "\34\3\0\0\0\0\0\0" - "flex.Feature.SubFeatureEntry" - "key" - }}, -}; - -// =================================================================== - -class Feature::_Internal { - public: -}; - -Feature::Feature(::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:flex.Feature) -} -inline PROTOBUF_NDEBUG_INLINE Feature::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::Feature& from_msg) - : sub_feature_{visibility, arena, from.sub_feature_}, - _cached_size_{0} {} - -Feature::Feature( - ::google::protobuf::Arena* arena, - const Feature& 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 - Feature* 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:flex.Feature) -} -inline PROTOBUF_NDEBUG_INLINE Feature::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : sub_feature_{visibility, arena}, - _cached_size_{0} {} - -inline void Feature::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); -} -Feature::~Feature() { - // @@protoc_insertion_point(destructor:flex.Feature) - SharedDtor(*this); -} -inline void Feature::SharedDtor(MessageLite& self) { - Feature& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.~Impl_(); -} - -inline void* Feature::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) Feature(arena); -} -constexpr auto Feature::InternalNewImpl_() { - constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ - PROTOBUF_FIELD_OFFSET(Feature, _impl_.sub_feature_) + - decltype(Feature::_impl_.sub_feature_):: - InternalGetArenaOffset( - ::google::protobuf::Message::internal_visibility()), - PROTOBUF_FIELD_OFFSET(Feature, _impl_.sub_feature_) + - decltype(Feature::_impl_.sub_feature_):: - InternalGetArenaOffsetAlt( - ::google::protobuf::Message::internal_visibility()), - }); - if (arena_bits.has_value()) { - return ::google::protobuf::internal::MessageCreator::CopyInit( - sizeof(Feature), alignof(Feature), *arena_bits); - } else { - return ::google::protobuf::internal::MessageCreator(&Feature::PlacementNew_, - sizeof(Feature), - alignof(Feature)); - } -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull Feature::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_Feature_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &Feature::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &Feature::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &Feature::ByteSizeLong, - &Feature::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(Feature, _impl_._cached_size_), - false, - }, - &Feature::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* Feature::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, 2, 32, 2> Feature::_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 - 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<::flex::Feature>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - {::_pbi::TcParser::MiniParse, {}}, - }}, {{ - 65535, 65535 - }}, {{ - // map sub_feature = 1; - {PROTOBUF_FIELD_OFFSET(Feature, _impl_.sub_feature_), 0, 0, - (0 | ::_fl::kFcRepeated | ::_fl::kMap)}, - }}, {{ - {::_pbi::TcParser::GetMapAuxInfo< - decltype(Feature()._impl_.sub_feature_)>( - 1, 0, 0, 9, - 11)}, - {::_pbi::TcParser::GetTable<::flex::Feature>()}, - }}, {{ - "\14\13\0\0\0\0\0\0" - "flex.Feature" - "sub_feature" - }}, -}; - -PROTOBUF_NOINLINE void Feature::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.Feature) - ::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_.sub_feature_.Clear(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* Feature::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const Feature& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* Feature::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const Feature& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.Feature) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // map sub_feature = 1; - if (!this_._internal_sub_feature().empty()) { - using MapType = ::google::protobuf::Map; - using WireHelper = _pbi::MapEntryFuncs; - const auto& field = this_._internal_sub_feature(); - - if (stream->IsSerializationDeterministic() && field.size() > 1) { - for (const auto& entry : ::google::protobuf::internal::MapSorterPtr(field)) { - target = WireHelper::InternalSerialize( - 1, entry.first, entry.second, target, stream); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - entry.first.data(), static_cast(entry.first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.Feature.sub_feature"); - } - } else { - for (const auto& entry : field) { - target = WireHelper::InternalSerialize( - 1, entry.first, entry.second, target, stream); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - entry.first.data(), static_cast(entry.first.length()), - ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.Feature.sub_feature"); - } - } - } - - 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:flex.Feature) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t Feature::ByteSizeLong(const MessageLite& base) { - const Feature& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t Feature::ByteSizeLong() const { - const Feature& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.Feature) - ::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_); - { - // map sub_feature = 1; - { - total_size += - 1 * ::google::protobuf::internal::FromIntSize(this_._internal_sub_feature_size()); - for (const auto& entry : this_._internal_sub_feature()) { - total_size += _pbi::MapEntryFuncs::ByteSizeLong(entry.first, entry.second); - } - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void Feature::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:flex.Feature) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - _this->_impl_.sub_feature_.MergeFrom(from._impl_.sub_feature_); - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void Feature::CopyFrom(const Feature& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.Feature) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void Feature::InternalSwap(Feature* PROTOBUF_RESTRICT other) { - using std::swap; - _internal_metadata_.InternalSwap(&other->_internal_metadata_); - _impl_.sub_feature_.InternalSwap(&other->_impl_.sub_feature_); -} - -::google::protobuf::Metadata Feature::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// =================================================================== - -class BuildInfo::_Internal { - public: -}; - -BuildInfo::BuildInfo(::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:flex.BuildInfo) -} -inline PROTOBUF_NDEBUG_INLINE BuildInfo::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, - const Impl_& from, const ::flex::BuildInfo& from_msg) - : binary_name_(arena, from.binary_name_), - version_(arena, from.version_), - commit_(arena, from.commit_), - build_time_(arena, from.build_time_), - _cached_size_{0} {} - -BuildInfo::BuildInfo( - ::google::protobuf::Arena* arena, - const BuildInfo& 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 - BuildInfo* 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:flex.BuildInfo) -} -inline PROTOBUF_NDEBUG_INLINE BuildInfo::Impl_::Impl_( - ::google::protobuf::internal::InternalVisibility visibility, - ::google::protobuf::Arena* arena) - : binary_name_(arena), - version_(arena), - commit_(arena), - build_time_(arena), - _cached_size_{0} {} - -inline void BuildInfo::SharedCtor(::_pb::Arena* arena) { - new (&_impl_) Impl_(internal_visibility(), arena); -} -BuildInfo::~BuildInfo() { - // @@protoc_insertion_point(destructor:flex.BuildInfo) - SharedDtor(*this); -} -inline void BuildInfo::SharedDtor(MessageLite& self) { - BuildInfo& this_ = static_cast(self); - this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); - ABSL_DCHECK(this_.GetArena() == nullptr); - this_._impl_.binary_name_.Destroy(); - this_._impl_.version_.Destroy(); - this_._impl_.commit_.Destroy(); - this_._impl_.build_time_.Destroy(); - this_._impl_.~Impl_(); -} - -inline void* BuildInfo::PlacementNew_(const void*, void* mem, - ::google::protobuf::Arena* arena) { - return ::new (mem) BuildInfo(arena); -} -constexpr auto BuildInfo::InternalNewImpl_() { - return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(BuildInfo), - alignof(BuildInfo)); -} -PROTOBUF_CONSTINIT -PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 -const ::google::protobuf::internal::ClassDataFull BuildInfo::_class_data_ = { - ::google::protobuf::internal::ClassData{ - &_BuildInfo_default_instance_._instance, - &_table_.header, - nullptr, // OnDemandRegisterArenaDtor - nullptr, // IsInitialized - &BuildInfo::MergeImpl, - ::google::protobuf::Message::GetNewImpl(), -#if defined(PROTOBUF_CUSTOM_VTABLE) - &BuildInfo::SharedDtor, - ::google::protobuf::Message::GetClearImpl(), &BuildInfo::ByteSizeLong, - &BuildInfo::_InternalSerialize, -#endif // PROTOBUF_CUSTOM_VTABLE - PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_._cached_size_), - false, - }, - &BuildInfo::kDescriptorMethods, - &descriptor_table_flex_2eproto, - nullptr, // tracker -}; -const ::google::protobuf::internal::ClassData* BuildInfo::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, 0, 57, 2> BuildInfo::_table_ = { - { - 0, // no _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 - 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<::flex::BuildInfo>(), // to_prefetch - #endif // PROTOBUF_PREFETCH_PARSE_TABLE - }, {{ - // string build_time = 4; - {::_pbi::TcParser::FastUS1, - {34, 63, 0, PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.build_time_)}}, - // string binary_name = 1; - {::_pbi::TcParser::FastUS1, - {10, 63, 0, PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.binary_name_)}}, - // string version = 2; - {::_pbi::TcParser::FastUS1, - {18, 63, 0, PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.version_)}}, - // string commit = 3; - {::_pbi::TcParser::FastUS1, - {26, 63, 0, PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.commit_)}}, - }}, {{ - 65535, 65535 - }}, {{ - // string binary_name = 1; - {PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.binary_name_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string version = 2; - {PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.version_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string commit = 3; - {PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.commit_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - // string build_time = 4; - {PROTOBUF_FIELD_OFFSET(BuildInfo, _impl_.build_time_), 0, 0, - (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, - }}, - // no aux_entries - {{ - "\16\13\7\6\12\0\0\0" - "flex.BuildInfo" - "binary_name" - "version" - "commit" - "build_time" - }}, -}; - -PROTOBUF_NOINLINE void BuildInfo::Clear() { -// @@protoc_insertion_point(message_clear_start:flex.BuildInfo) - ::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_.binary_name_.ClearToEmpty(); - _impl_.version_.ClearToEmpty(); - _impl_.commit_.ClearToEmpty(); - _impl_.build_time_.ClearToEmpty(); - _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); -} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::uint8_t* BuildInfo::_InternalSerialize( - const MessageLite& base, ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) { - const BuildInfo& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::uint8_t* BuildInfo::_InternalSerialize( - ::uint8_t* target, - ::google::protobuf::io::EpsCopyOutputStream* stream) const { - const BuildInfo& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(serialize_to_array_start:flex.BuildInfo) - ::uint32_t cached_has_bits = 0; - (void)cached_has_bits; - - // string binary_name = 1; - if (!this_._internal_binary_name().empty()) { - const std::string& _s = this_._internal_binary_name(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.BuildInfo.binary_name"); - target = stream->WriteStringMaybeAliased(1, _s, target); - } - - // string version = 2; - if (!this_._internal_version().empty()) { - const std::string& _s = this_._internal_version(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.BuildInfo.version"); - target = stream->WriteStringMaybeAliased(2, _s, target); - } - - // string commit = 3; - if (!this_._internal_commit().empty()) { - const std::string& _s = this_._internal_commit(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.BuildInfo.commit"); - target = stream->WriteStringMaybeAliased(3, _s, target); - } - - // string build_time = 4; - if (!this_._internal_build_time().empty()) { - const std::string& _s = this_._internal_build_time(); - ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( - _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "flex.BuildInfo.build_time"); - target = stream->WriteStringMaybeAliased(4, _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:flex.BuildInfo) - return target; - } - -#if defined(PROTOBUF_CUSTOM_VTABLE) - ::size_t BuildInfo::ByteSizeLong(const MessageLite& base) { - const BuildInfo& this_ = static_cast(base); -#else // PROTOBUF_CUSTOM_VTABLE - ::size_t BuildInfo::ByteSizeLong() const { - const BuildInfo& this_ = *this; -#endif // PROTOBUF_CUSTOM_VTABLE - // @@protoc_insertion_point(message_byte_size_start:flex.BuildInfo) - ::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 binary_name = 1; - if (!this_._internal_binary_name().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_binary_name()); - } - // string version = 2; - if (!this_._internal_version().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_version()); - } - // string commit = 3; - if (!this_._internal_commit().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_commit()); - } - // string build_time = 4; - if (!this_._internal_build_time().empty()) { - total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( - this_._internal_build_time()); - } - } - return this_.MaybeComputeUnknownFieldsSize(total_size, - &this_._impl_._cached_size_); - } - -void BuildInfo::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:flex.BuildInfo) - ABSL_DCHECK_NE(&from, _this); - ::uint32_t cached_has_bits = 0; - (void) cached_has_bits; - - if (!from._internal_binary_name().empty()) { - _this->_internal_set_binary_name(from._internal_binary_name()); - } - if (!from._internal_version().empty()) { - _this->_internal_set_version(from._internal_version()); - } - if (!from._internal_commit().empty()) { - _this->_internal_set_commit(from._internal_commit()); - } - if (!from._internal_build_time().empty()) { - _this->_internal_set_build_time(from._internal_build_time()); - } - _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); -} - -void BuildInfo::CopyFrom(const BuildInfo& from) { -// @@protoc_insertion_point(class_specific_copy_from_start:flex.BuildInfo) - if (&from == this) return; - Clear(); - MergeFrom(from); -} - - -void BuildInfo::InternalSwap(BuildInfo* 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_.binary_name_, &other->_impl_.binary_name_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.version_, &other->_impl_.version_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.commit_, &other->_impl_.commit_, arena); - ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.build_time_, &other->_impl_.build_time_, arena); -} - -::google::protobuf::Metadata BuildInfo::GetMetadata() const { - return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); -} -// @@protoc_insertion_point(namespace_scope) -} // namespace flex -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_flex_2eproto), - ::std::false_type{}); -#include "google/protobuf/port_undef.inc" diff --git a/cpp/flex.pb.h b/cpp/flex.pb.h deleted file mode 100644 index 4c8943b..0000000 --- a/cpp/flex.pb.h +++ /dev/null @@ -1,15176 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// NO CHECKED-IN PROTOBUF GENCODE -// source: flex.proto -// Protobuf C++ Version: 5.29.2 - -#ifndef flex_2eproto_2epb_2eh -#define flex_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/map.h" // IWYU pragma: export -#include "google/protobuf/map_entry.h" -#include "google/protobuf/map_field_inl.h" -#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_flex_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_flex_2eproto { - static const ::uint32_t offsets[]; -}; -extern const ::google::protobuf::internal::DescriptorTable - descriptor_table_flex_2eproto; -namespace flex { -class BeeRemoteNode; -struct BeeRemoteNodeDefaultTypeInternal; -extern BeeRemoteNodeDefaultTypeInternal _BeeRemoteNode_default_instance_; -class BuildInfo; -struct BuildInfoDefaultTypeInternal; -extern BuildInfoDefaultTypeInternal _BuildInfo_default_instance_; -class BuilderJob; -struct BuilderJobDefaultTypeInternal; -extern BuilderJobDefaultTypeInternal _BuilderJob_default_instance_; -class BulkUpdateWorkRequest; -struct BulkUpdateWorkRequestDefaultTypeInternal; -extern BulkUpdateWorkRequestDefaultTypeInternal _BulkUpdateWorkRequest_default_instance_; -class BulkUpdateWorkResponse; -struct BulkUpdateWorkResponseDefaultTypeInternal; -extern BulkUpdateWorkResponseDefaultTypeInternal _BulkUpdateWorkResponse_default_instance_; -class Feature; -struct FeatureDefaultTypeInternal; -extern FeatureDefaultTypeInternal _Feature_default_instance_; -class Feature_SubFeatureEntry_DoNotUse; -struct Feature_SubFeatureEntry_DoNotUseDefaultTypeInternal; -extern Feature_SubFeatureEntry_DoNotUseDefaultTypeInternal _Feature_SubFeatureEntry_DoNotUse_default_instance_; -class GetCapabilitiesRequest; -struct GetCapabilitiesRequestDefaultTypeInternal; -extern GetCapabilitiesRequestDefaultTypeInternal _GetCapabilitiesRequest_default_instance_; -class GetCapabilitiesResponse; -struct GetCapabilitiesResponseDefaultTypeInternal; -extern GetCapabilitiesResponseDefaultTypeInternal _GetCapabilitiesResponse_default_instance_; -class GetCapabilitiesResponse_FeaturesEntry_DoNotUse; -struct GetCapabilitiesResponse_FeaturesEntry_DoNotUseDefaultTypeInternal; -extern GetCapabilitiesResponse_FeaturesEntry_DoNotUseDefaultTypeInternal _GetCapabilitiesResponse_FeaturesEntry_DoNotUse_default_instance_; -class HeartbeatRequest; -struct HeartbeatRequestDefaultTypeInternal; -extern HeartbeatRequestDefaultTypeInternal _HeartbeatRequest_default_instance_; -class HeartbeatResponse; -struct HeartbeatResponseDefaultTypeInternal; -extern HeartbeatResponseDefaultTypeInternal _HeartbeatResponse_default_instance_; -class JobLockedInfo; -struct JobLockedInfoDefaultTypeInternal; -extern JobLockedInfoDefaultTypeInternal _JobLockedInfo_default_instance_; -class JobRequestCfg; -struct JobRequestCfgDefaultTypeInternal; -extern JobRequestCfgDefaultTypeInternal _JobRequestCfg_default_instance_; -class JobRequestCfg_MetadataEntry_DoNotUse; -struct JobRequestCfg_MetadataEntry_DoNotUseDefaultTypeInternal; -extern JobRequestCfg_MetadataEntry_DoNotUseDefaultTypeInternal _JobRequestCfg_MetadataEntry_DoNotUse_default_instance_; -class MockJob; -struct MockJobDefaultTypeInternal; -extern MockJobDefaultTypeInternal _MockJob_default_instance_; -class NodeStats; -struct NodeStatsDefaultTypeInternal; -extern NodeStatsDefaultTypeInternal _NodeStats_default_instance_; -class RemoteStorageTarget; -struct RemoteStorageTargetDefaultTypeInternal; -extern RemoteStorageTargetDefaultTypeInternal _RemoteStorageTarget_default_instance_; -class RemoteStorageTarget_Azure; -struct RemoteStorageTarget_AzureDefaultTypeInternal; -extern RemoteStorageTarget_AzureDefaultTypeInternal _RemoteStorageTarget_Azure_default_instance_; -class RemoteStorageTarget_POSIX; -struct RemoteStorageTarget_POSIXDefaultTypeInternal; -extern RemoteStorageTarget_POSIXDefaultTypeInternal _RemoteStorageTarget_POSIX_default_instance_; -class RemoteStorageTarget_Policies; -struct RemoteStorageTarget_PoliciesDefaultTypeInternal; -extern RemoteStorageTarget_PoliciesDefaultTypeInternal _RemoteStorageTarget_Policies_default_instance_; -class RemoteStorageTarget_S3; -struct RemoteStorageTarget_S3DefaultTypeInternal; -extern RemoteStorageTarget_S3DefaultTypeInternal _RemoteStorageTarget_S3_default_instance_; -class RemoteStorageTarget_S3_StorageClass; -struct RemoteStorageTarget_S3_StorageClassDefaultTypeInternal; -extern RemoteStorageTarget_S3_StorageClassDefaultTypeInternal _RemoteStorageTarget_S3_StorageClass_default_instance_; -class RemoteStorageTarget_S3_StorageClass_Archival; -struct RemoteStorageTarget_S3_StorageClass_ArchivalDefaultTypeInternal; -extern RemoteStorageTarget_S3_StorageClass_ArchivalDefaultTypeInternal _RemoteStorageTarget_S3_StorageClass_Archival_default_instance_; -class SubmitWorkRequest; -struct SubmitWorkRequestDefaultTypeInternal; -extern SubmitWorkRequestDefaultTypeInternal _SubmitWorkRequest_default_instance_; -class SubmitWorkResponse; -struct SubmitWorkResponseDefaultTypeInternal; -extern SubmitWorkResponseDefaultTypeInternal _SubmitWorkResponse_default_instance_; -class SyncJob; -struct SyncJobDefaultTypeInternal; -extern SyncJobDefaultTypeInternal _SyncJob_default_instance_; -class SyncJob_MetadataEntry_DoNotUse; -struct SyncJob_MetadataEntry_DoNotUseDefaultTypeInternal; -extern SyncJob_MetadataEntry_DoNotUseDefaultTypeInternal _SyncJob_MetadataEntry_DoNotUse_default_instance_; -class UpdateConfigRequest; -struct UpdateConfigRequestDefaultTypeInternal; -extern UpdateConfigRequestDefaultTypeInternal _UpdateConfigRequest_default_instance_; -class UpdateConfigResponse; -struct UpdateConfigResponseDefaultTypeInternal; -extern UpdateConfigResponseDefaultTypeInternal _UpdateConfigResponse_default_instance_; -class UpdateWorkRequest; -struct UpdateWorkRequestDefaultTypeInternal; -extern UpdateWorkRequestDefaultTypeInternal _UpdateWorkRequest_default_instance_; -class UpdateWorkResponse; -struct UpdateWorkResponseDefaultTypeInternal; -extern UpdateWorkResponseDefaultTypeInternal _UpdateWorkResponse_default_instance_; -class Work; -struct WorkDefaultTypeInternal; -extern WorkDefaultTypeInternal _Work_default_instance_; -class WorkRequest; -struct WorkRequestDefaultTypeInternal; -extern WorkRequestDefaultTypeInternal _WorkRequest_default_instance_; -class WorkRequest_Segment; -struct WorkRequest_SegmentDefaultTypeInternal; -extern WorkRequest_SegmentDefaultTypeInternal _WorkRequest_Segment_default_instance_; -class Work_Part; -struct Work_PartDefaultTypeInternal; -extern Work_PartDefaultTypeInternal _Work_Part_default_instance_; -class Work_Status; -struct Work_StatusDefaultTypeInternal; -extern Work_StatusDefaultTypeInternal _Work_Status_default_instance_; -} // namespace flex -namespace google { -namespace protobuf { -} // namespace protobuf -} // namespace google - -namespace flex { -enum UpdateWorkRequest_NewState : int { - UpdateWorkRequest_NewState_UNSPECIFIED = 0, - UpdateWorkRequest_NewState_CANCELLED = 1, - UpdateWorkRequest_NewState_UpdateWorkRequest_NewState_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - UpdateWorkRequest_NewState_UpdateWorkRequest_NewState_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool UpdateWorkRequest_NewState_IsValid(int value); -extern const uint32_t UpdateWorkRequest_NewState_internal_data_[]; -constexpr UpdateWorkRequest_NewState UpdateWorkRequest_NewState_NewState_MIN = static_cast(0); -constexpr UpdateWorkRequest_NewState UpdateWorkRequest_NewState_NewState_MAX = static_cast(1); -constexpr int UpdateWorkRequest_NewState_NewState_ARRAYSIZE = 1 + 1; -const ::google::protobuf::EnumDescriptor* -UpdateWorkRequest_NewState_descriptor(); -template -const std::string& UpdateWorkRequest_NewState_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to NewState_Name()."); - return UpdateWorkRequest_NewState_Name(static_cast(value)); -} -template <> -inline const std::string& UpdateWorkRequest_NewState_Name(UpdateWorkRequest_NewState value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool UpdateWorkRequest_NewState_Parse(absl::string_view name, UpdateWorkRequest_NewState* value) { - return ::google::protobuf::internal::ParseNamedEnum( - UpdateWorkRequest_NewState_descriptor(), name, value); -} -enum BulkUpdateWorkRequest_NewState : int { - BulkUpdateWorkRequest_NewState_UNSPECIFIED = 0, - BulkUpdateWorkRequest_NewState_UNCHANGED = 1, - BulkUpdateWorkRequest_NewState_BulkUpdateWorkRequest_NewState_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - BulkUpdateWorkRequest_NewState_BulkUpdateWorkRequest_NewState_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool BulkUpdateWorkRequest_NewState_IsValid(int value); -extern const uint32_t BulkUpdateWorkRequest_NewState_internal_data_[]; -constexpr BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest_NewState_NewState_MIN = static_cast(0); -constexpr BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest_NewState_NewState_MAX = static_cast(1); -constexpr int BulkUpdateWorkRequest_NewState_NewState_ARRAYSIZE = 1 + 1; -const ::google::protobuf::EnumDescriptor* -BulkUpdateWorkRequest_NewState_descriptor(); -template -const std::string& BulkUpdateWorkRequest_NewState_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to NewState_Name()."); - return BulkUpdateWorkRequest_NewState_Name(static_cast(value)); -} -template <> -inline const std::string& BulkUpdateWorkRequest_NewState_Name(BulkUpdateWorkRequest_NewState value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool BulkUpdateWorkRequest_NewState_Parse(absl::string_view name, BulkUpdateWorkRequest_NewState* value) { - return ::google::protobuf::internal::ParseNamedEnum( - BulkUpdateWorkRequest_NewState_descriptor(), name, value); -} -enum SyncJob_Operation : int { - SyncJob_Operation_UNSPECIFIED = 0, - SyncJob_Operation_UPLOAD = 1, - SyncJob_Operation_DOWNLOAD = 2, - SyncJob_Operation_SyncJob_Operation_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - SyncJob_Operation_SyncJob_Operation_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool SyncJob_Operation_IsValid(int value); -extern const uint32_t SyncJob_Operation_internal_data_[]; -constexpr SyncJob_Operation SyncJob_Operation_Operation_MIN = static_cast(0); -constexpr SyncJob_Operation SyncJob_Operation_Operation_MAX = static_cast(2); -constexpr int SyncJob_Operation_Operation_ARRAYSIZE = 2 + 1; -const ::google::protobuf::EnumDescriptor* -SyncJob_Operation_descriptor(); -template -const std::string& SyncJob_Operation_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to Operation_Name()."); - return SyncJob_Operation_Name(static_cast(value)); -} -template <> -inline const std::string& SyncJob_Operation_Name(SyncJob_Operation value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool SyncJob_Operation_Parse(absl::string_view name, SyncJob_Operation* value) { - return ::google::protobuf::internal::ParseNamedEnum( - SyncJob_Operation_descriptor(), name, value); -} -enum Work_State : int { - Work_State_UNSPECIFIED = 0, - Work_State_UNKNOWN = 1, - Work_State_CREATED = 2, - Work_State_SCHEDULED = 3, - Work_State_RUNNING = 4, - Work_State_RESCHEDULED = 5, - Work_State_ERROR = 6, - Work_State_FAILED = 7, - Work_State_CANCELLED = 8, - Work_State_COMPLETED = 9, - Work_State_Work_State_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - Work_State_Work_State_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool Work_State_IsValid(int value); -extern const uint32_t Work_State_internal_data_[]; -constexpr Work_State Work_State_State_MIN = static_cast(0); -constexpr Work_State Work_State_State_MAX = static_cast(9); -constexpr int Work_State_State_ARRAYSIZE = 9 + 1; -const ::google::protobuf::EnumDescriptor* -Work_State_descriptor(); -template -const std::string& Work_State_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to State_Name()."); - return Work_State_Name(static_cast(value)); -} -template <> -inline const std::string& Work_State_Name(Work_State value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool Work_State_Parse(absl::string_view name, Work_State* value) { - return ::google::protobuf::internal::ParseNamedEnum( - Work_State_descriptor(), name, value); -} -enum UpdateConfigResponse_Result : int { - UpdateConfigResponse_Result_UNSPECIFIED = 0, - UpdateConfigResponse_Result_SUCCESS = 1, - UpdateConfigResponse_Result_PARTIAL = 2, - UpdateConfigResponse_Result_FAILURE = 3, - UpdateConfigResponse_Result_UpdateConfigResponse_Result_INT_MIN_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::min(), - UpdateConfigResponse_Result_UpdateConfigResponse_Result_INT_MAX_SENTINEL_DO_NOT_USE_ = - std::numeric_limits<::int32_t>::max(), -}; - -bool UpdateConfigResponse_Result_IsValid(int value); -extern const uint32_t UpdateConfigResponse_Result_internal_data_[]; -constexpr UpdateConfigResponse_Result UpdateConfigResponse_Result_Result_MIN = static_cast(0); -constexpr UpdateConfigResponse_Result UpdateConfigResponse_Result_Result_MAX = static_cast(3); -constexpr int UpdateConfigResponse_Result_Result_ARRAYSIZE = 3 + 1; -const ::google::protobuf::EnumDescriptor* -UpdateConfigResponse_Result_descriptor(); -template -const std::string& UpdateConfigResponse_Result_Name(T value) { - static_assert(std::is_same::value || - std::is_integral::value, - "Incorrect type passed to Result_Name()."); - return UpdateConfigResponse_Result_Name(static_cast(value)); -} -template <> -inline const std::string& UpdateConfigResponse_Result_Name(UpdateConfigResponse_Result value) { - return ::google::protobuf::internal::NameOfDenseEnum( - static_cast(value)); -} -inline bool UpdateConfigResponse_Result_Parse(absl::string_view name, UpdateConfigResponse_Result* value) { - return ::google::protobuf::internal::ParseNamedEnum( - UpdateConfigResponse_Result_descriptor(), name, value); -} - -// =================================================================== - - -// ------------------------------------------------------------------- - -class WorkRequest_Segment final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.WorkRequest.Segment) */ { - public: - inline WorkRequest_Segment() : WorkRequest_Segment(nullptr) {} - ~WorkRequest_Segment() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(WorkRequest_Segment* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(WorkRequest_Segment)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR WorkRequest_Segment( - ::google::protobuf::internal::ConstantInitialized); - - inline WorkRequest_Segment(const WorkRequest_Segment& from) : WorkRequest_Segment(nullptr, from) {} - inline WorkRequest_Segment(WorkRequest_Segment&& from) noexcept - : WorkRequest_Segment(nullptr, std::move(from)) {} - inline WorkRequest_Segment& operator=(const WorkRequest_Segment& from) { - CopyFrom(from); - return *this; - } - inline WorkRequest_Segment& operator=(WorkRequest_Segment&& 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 WorkRequest_Segment& default_instance() { - return *internal_default_instance(); - } - static inline const WorkRequest_Segment* internal_default_instance() { - return reinterpret_cast( - &_WorkRequest_Segment_default_instance_); - } - static constexpr int kIndexInFileMessages = 12; - friend void swap(WorkRequest_Segment& a, WorkRequest_Segment& b) { a.Swap(&b); } - inline void Swap(WorkRequest_Segment* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(WorkRequest_Segment* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - WorkRequest_Segment* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const WorkRequest_Segment& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const WorkRequest_Segment& from) { WorkRequest_Segment::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(WorkRequest_Segment* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.WorkRequest.Segment"; } - - protected: - explicit WorkRequest_Segment(::google::protobuf::Arena* arena); - WorkRequest_Segment(::google::protobuf::Arena* arena, const WorkRequest_Segment& from); - WorkRequest_Segment(::google::protobuf::Arena* arena, WorkRequest_Segment&& from) noexcept - : WorkRequest_Segment(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 { - kOffsetStartFieldNumber = 1, - kOffsetStopFieldNumber = 2, - kPartsStartFieldNumber = 3, - kPartsStopFieldNumber = 4, - }; - // int64 offset_start = 1; - void clear_offset_start() ; - ::int64_t offset_start() const; - void set_offset_start(::int64_t value); - - private: - ::int64_t _internal_offset_start() const; - void _internal_set_offset_start(::int64_t value); - - public: - // int64 offset_stop = 2; - void clear_offset_stop() ; - ::int64_t offset_stop() const; - void set_offset_stop(::int64_t value); - - private: - ::int64_t _internal_offset_stop() const; - void _internal_set_offset_stop(::int64_t value); - - public: - // int32 parts_start = 3; - void clear_parts_start() ; - ::int32_t parts_start() const; - void set_parts_start(::int32_t value); - - private: - ::int32_t _internal_parts_start() const; - void _internal_set_parts_start(::int32_t value); - - public: - // int32 parts_stop = 4; - void clear_parts_stop() ; - ::int32_t parts_stop() const; - void set_parts_stop(::int32_t value); - - private: - ::int32_t _internal_parts_stop() const; - void _internal_set_parts_stop(::int32_t value); - - public: - // @@protoc_insertion_point(class_scope:flex.WorkRequest.Segment) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 4, 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 WorkRequest_Segment& from_msg); - ::int64_t offset_start_; - ::int64_t offset_stop_; - ::int32_t parts_start_; - ::int32_t parts_stop_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class Work_Status final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.Work.Status) */ { - public: - inline Work_Status() : Work_Status(nullptr) {} - ~Work_Status() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Work_Status* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(Work_Status)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR Work_Status( - ::google::protobuf::internal::ConstantInitialized); - - inline Work_Status(const Work_Status& from) : Work_Status(nullptr, from) {} - inline Work_Status(Work_Status&& from) noexcept - : Work_Status(nullptr, std::move(from)) {} - inline Work_Status& operator=(const Work_Status& from) { - CopyFrom(from); - return *this; - } - inline Work_Status& operator=(Work_Status&& 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 Work_Status& default_instance() { - return *internal_default_instance(); - } - static inline const Work_Status* internal_default_instance() { - return reinterpret_cast( - &_Work_Status_default_instance_); - } - static constexpr int kIndexInFileMessages = 18; - friend void swap(Work_Status& a, Work_Status& b) { a.Swap(&b); } - inline void Swap(Work_Status* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Work_Status* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Work_Status* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const Work_Status& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const Work_Status& from) { Work_Status::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(Work_Status* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.Work.Status"; } - - protected: - explicit Work_Status(::google::protobuf::Arena* arena); - Work_Status(::google::protobuf::Arena* arena, const Work_Status& from); - Work_Status(::google::protobuf::Arena* arena, Work_Status&& from) noexcept - : Work_Status(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, - kStateFieldNumber = 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: - // .flex.Work.State state = 1; - void clear_state() ; - ::flex::Work_State state() const; - void set_state(::flex::Work_State value); - - private: - ::flex::Work_State _internal_state() const; - void _internal_set_state(::flex::Work_State value); - - public: - // @@protoc_insertion_point(class_scope:flex.Work.Status) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 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 Work_Status& from_msg); - ::google::protobuf::internal::ArenaStringPtr message_; - int state_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class Work_Part final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.Work.Part) */ { - public: - inline Work_Part() : Work_Part(nullptr) {} - ~Work_Part() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Work_Part* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(Work_Part)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR Work_Part( - ::google::protobuf::internal::ConstantInitialized); - - inline Work_Part(const Work_Part& from) : Work_Part(nullptr, from) {} - inline Work_Part(Work_Part&& from) noexcept - : Work_Part(nullptr, std::move(from)) {} - inline Work_Part& operator=(const Work_Part& from) { - CopyFrom(from); - return *this; - } - inline Work_Part& operator=(Work_Part&& 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 Work_Part& default_instance() { - return *internal_default_instance(); - } - static inline const Work_Part* internal_default_instance() { - return reinterpret_cast( - &_Work_Part_default_instance_); - } - static constexpr int kIndexInFileMessages = 19; - friend void swap(Work_Part& a, Work_Part& b) { a.Swap(&b); } - inline void Swap(Work_Part* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Work_Part* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Work_Part* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const Work_Part& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const Work_Part& from) { Work_Part::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(Work_Part* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.Work.Part"; } - - protected: - explicit Work_Part(::google::protobuf::Arena* arena); - Work_Part(::google::protobuf::Arena* arena, const Work_Part& from); - Work_Part(::google::protobuf::Arena* arena, Work_Part&& from) noexcept - : Work_Part(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 { - kEntityTagFieldNumber = 4, - kChecksumSha256FieldNumber = 5, - kOffsetStartFieldNumber = 2, - kOffsetStopFieldNumber = 3, - kPartNumberFieldNumber = 1, - kCompletedFieldNumber = 6, - }; - // string entity_tag = 4; - void clear_entity_tag() ; - const std::string& entity_tag() const; - template - void set_entity_tag(Arg_&& arg, Args_... args); - std::string* mutable_entity_tag(); - PROTOBUF_NODISCARD std::string* release_entity_tag(); - void set_allocated_entity_tag(std::string* value); - - private: - const std::string& _internal_entity_tag() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_entity_tag( - const std::string& value); - std::string* _internal_mutable_entity_tag(); - - public: - // string checksum_sha256 = 5; - void clear_checksum_sha256() ; - const std::string& checksum_sha256() const; - template - void set_checksum_sha256(Arg_&& arg, Args_... args); - std::string* mutable_checksum_sha256(); - PROTOBUF_NODISCARD std::string* release_checksum_sha256(); - void set_allocated_checksum_sha256(std::string* value); - - private: - const std::string& _internal_checksum_sha256() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_checksum_sha256( - const std::string& value); - std::string* _internal_mutable_checksum_sha256(); - - public: - // int64 offset_start = 2; - void clear_offset_start() ; - ::int64_t offset_start() const; - void set_offset_start(::int64_t value); - - private: - ::int64_t _internal_offset_start() const; - void _internal_set_offset_start(::int64_t value); - - public: - // int64 offset_stop = 3; - void clear_offset_stop() ; - ::int64_t offset_stop() const; - void set_offset_stop(::int64_t value); - - private: - ::int64_t _internal_offset_stop() const; - void _internal_set_offset_stop(::int64_t value); - - public: - // int32 part_number = 1; - void clear_part_number() ; - ::int32_t part_number() const; - void set_part_number(::int32_t value); - - private: - ::int32_t _internal_part_number() const; - void _internal_set_part_number(::int32_t value); - - public: - // bool completed = 6; - void clear_completed() ; - bool completed() const; - void set_completed(bool value); - - private: - bool _internal_completed() const; - void _internal_set_completed(bool value); - - public: - // @@protoc_insertion_point(class_scope:flex.Work.Part) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 6, 0, - 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 Work_Part& from_msg); - ::google::protobuf::internal::ArenaStringPtr entity_tag_; - ::google::protobuf::internal::ArenaStringPtr checksum_sha256_; - ::int64_t offset_start_; - ::int64_t offset_stop_; - ::int32_t part_number_; - bool completed_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class UpdateWorkRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.UpdateWorkRequest) */ { - public: - inline UpdateWorkRequest() : UpdateWorkRequest(nullptr) {} - ~UpdateWorkRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateWorkRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateWorkRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR UpdateWorkRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline UpdateWorkRequest(const UpdateWorkRequest& from) : UpdateWorkRequest(nullptr, from) {} - inline UpdateWorkRequest(UpdateWorkRequest&& from) noexcept - : UpdateWorkRequest(nullptr, std::move(from)) {} - inline UpdateWorkRequest& operator=(const UpdateWorkRequest& from) { - CopyFrom(from); - return *this; - } - inline UpdateWorkRequest& operator=(UpdateWorkRequest&& 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 UpdateWorkRequest& default_instance() { - return *internal_default_instance(); - } - static inline const UpdateWorkRequest* internal_default_instance() { - return reinterpret_cast( - &_UpdateWorkRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 5; - friend void swap(UpdateWorkRequest& a, UpdateWorkRequest& b) { a.Swap(&b); } - inline void Swap(UpdateWorkRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UpdateWorkRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UpdateWorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const UpdateWorkRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const UpdateWorkRequest& from) { UpdateWorkRequest::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(UpdateWorkRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.UpdateWorkRequest"; } - - protected: - explicit UpdateWorkRequest(::google::protobuf::Arena* arena); - UpdateWorkRequest(::google::protobuf::Arena* arena, const UpdateWorkRequest& from); - UpdateWorkRequest(::google::protobuf::Arena* arena, UpdateWorkRequest&& from) noexcept - : UpdateWorkRequest(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 NewState = UpdateWorkRequest_NewState; - static constexpr NewState UNSPECIFIED = UpdateWorkRequest_NewState_UNSPECIFIED; - static constexpr NewState CANCELLED = UpdateWorkRequest_NewState_CANCELLED; - static inline bool NewState_IsValid(int value) { - return UpdateWorkRequest_NewState_IsValid(value); - } - static constexpr NewState NewState_MIN = UpdateWorkRequest_NewState_NewState_MIN; - static constexpr NewState NewState_MAX = UpdateWorkRequest_NewState_NewState_MAX; - static constexpr int NewState_ARRAYSIZE = UpdateWorkRequest_NewState_NewState_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* NewState_descriptor() { - return UpdateWorkRequest_NewState_descriptor(); - } - template - static inline const std::string& NewState_Name(T value) { - return UpdateWorkRequest_NewState_Name(value); - } - static inline bool NewState_Parse(absl::string_view name, NewState* value) { - return UpdateWorkRequest_NewState_Parse(name, value); - } - - // accessors ------------------------------------------------------- - enum : int { - kJobIdFieldNumber = 1, - kRequestIdFieldNumber = 2, - kNewStateFieldNumber = 3, - }; - // string job_id = 1; - void clear_job_id() ; - const std::string& job_id() const; - template - void set_job_id(Arg_&& arg, Args_... args); - std::string* mutable_job_id(); - PROTOBUF_NODISCARD std::string* release_job_id(); - void set_allocated_job_id(std::string* value); - - private: - const std::string& _internal_job_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_job_id( - const std::string& value); - std::string* _internal_mutable_job_id(); - - public: - // string request_id = 2; - void clear_request_id() ; - const std::string& request_id() const; - template - void set_request_id(Arg_&& arg, Args_... args); - std::string* mutable_request_id(); - PROTOBUF_NODISCARD std::string* release_request_id(); - void set_allocated_request_id(std::string* value); - - private: - const std::string& _internal_request_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_id( - const std::string& value); - std::string* _internal_mutable_request_id(); - - public: - // .flex.UpdateWorkRequest.NewState new_state = 3; - void clear_new_state() ; - ::flex::UpdateWorkRequest_NewState new_state() const; - void set_new_state(::flex::UpdateWorkRequest_NewState value); - - private: - ::flex::UpdateWorkRequest_NewState _internal_new_state() const; - void _internal_set_new_state(::flex::UpdateWorkRequest_NewState value); - - public: - // @@protoc_insertion_point(class_scope:flex.UpdateWorkRequest) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 0, - 47, 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 UpdateWorkRequest& from_msg); - ::google::protobuf::internal::ArenaStringPtr job_id_; - ::google::protobuf::internal::ArenaStringPtr request_id_; - int new_state_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class UpdateConfigResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.UpdateConfigResponse) */ { - public: - inline UpdateConfigResponse() : UpdateConfigResponse(nullptr) {} - ~UpdateConfigResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateConfigResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateConfigResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR UpdateConfigResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline UpdateConfigResponse(const UpdateConfigResponse& from) : UpdateConfigResponse(nullptr, from) {} - inline UpdateConfigResponse(UpdateConfigResponse&& from) noexcept - : UpdateConfigResponse(nullptr, std::move(from)) {} - inline UpdateConfigResponse& operator=(const UpdateConfigResponse& from) { - CopyFrom(from); - return *this; - } - inline UpdateConfigResponse& operator=(UpdateConfigResponse&& 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 UpdateConfigResponse& default_instance() { - return *internal_default_instance(); - } - static inline const UpdateConfigResponse* internal_default_instance() { - return reinterpret_cast( - &_UpdateConfigResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 22; - friend void swap(UpdateConfigResponse& a, UpdateConfigResponse& b) { a.Swap(&b); } - inline void Swap(UpdateConfigResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UpdateConfigResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UpdateConfigResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const UpdateConfigResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const UpdateConfigResponse& from) { UpdateConfigResponse::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(UpdateConfigResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.UpdateConfigResponse"; } - - protected: - explicit UpdateConfigResponse(::google::protobuf::Arena* arena); - UpdateConfigResponse(::google::protobuf::Arena* arena, const UpdateConfigResponse& from); - UpdateConfigResponse(::google::protobuf::Arena* arena, UpdateConfigResponse&& from) noexcept - : UpdateConfigResponse(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 Result = UpdateConfigResponse_Result; - static constexpr Result UNSPECIFIED = UpdateConfigResponse_Result_UNSPECIFIED; - static constexpr Result SUCCESS = UpdateConfigResponse_Result_SUCCESS; - static constexpr Result PARTIAL = UpdateConfigResponse_Result_PARTIAL; - static constexpr Result FAILURE = UpdateConfigResponse_Result_FAILURE; - static inline bool Result_IsValid(int value) { - return UpdateConfigResponse_Result_IsValid(value); - } - static constexpr Result Result_MIN = UpdateConfigResponse_Result_Result_MIN; - static constexpr Result Result_MAX = UpdateConfigResponse_Result_Result_MAX; - static constexpr int Result_ARRAYSIZE = UpdateConfigResponse_Result_Result_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* Result_descriptor() { - return UpdateConfigResponse_Result_descriptor(); - } - template - static inline const std::string& Result_Name(T value) { - return UpdateConfigResponse_Result_Name(value); - } - static inline bool Result_Parse(absl::string_view name, Result* value) { - return UpdateConfigResponse_Result_Parse(name, value); - } - - // 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: - // .flex.UpdateConfigResponse.Result result = 1; - void clear_result() ; - ::flex::UpdateConfigResponse_Result result() const; - void set_result(::flex::UpdateConfigResponse_Result value); - - private: - ::flex::UpdateConfigResponse_Result _internal_result() const; - void _internal_set_result(::flex::UpdateConfigResponse_Result value); - - public: - // @@protoc_insertion_point(class_scope:flex.UpdateConfigResponse) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 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 UpdateConfigResponse& 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_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class SyncJob_MetadataEntry_DoNotUse final - : public ::google::protobuf::internal::MapEntry< - std::string, std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING> { - public: - using SuperType = ::google::protobuf::internal::MapEntry< - std::string, std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING>; - SyncJob_MetadataEntry_DoNotUse(); - template - explicit PROTOBUF_CONSTEXPR SyncJob_MetadataEntry_DoNotUse( - ::google::protobuf::internal::ConstantInitialized); - explicit SyncJob_MetadataEntry_DoNotUse(::google::protobuf::Arena* arena); - static const SyncJob_MetadataEntry_DoNotUse* internal_default_instance() { - return reinterpret_cast( - &_SyncJob_MetadataEntry_DoNotUse_default_instance_); - } - - - private: - friend class ::google::protobuf::MessageLite; - friend struct ::TableStruct_flex_2eproto; - - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 43, 2> - _table_; - - 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_; -}; -// ------------------------------------------------------------------- - -class RemoteStorageTarget_S3_StorageClass_Archival final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget.S3.StorageClass.Archival) */ { - public: - inline RemoteStorageTarget_S3_StorageClass_Archival() : RemoteStorageTarget_S3_StorageClass_Archival(nullptr) {} - ~RemoteStorageTarget_S3_StorageClass_Archival() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_S3_StorageClass_Archival* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget_S3_StorageClass_Archival)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR RemoteStorageTarget_S3_StorageClass_Archival( - ::google::protobuf::internal::ConstantInitialized); - - inline RemoteStorageTarget_S3_StorageClass_Archival(const RemoteStorageTarget_S3_StorageClass_Archival& from) : RemoteStorageTarget_S3_StorageClass_Archival(nullptr, from) {} - inline RemoteStorageTarget_S3_StorageClass_Archival(RemoteStorageTarget_S3_StorageClass_Archival&& from) noexcept - : RemoteStorageTarget_S3_StorageClass_Archival(nullptr, std::move(from)) {} - inline RemoteStorageTarget_S3_StorageClass_Archival& operator=(const RemoteStorageTarget_S3_StorageClass_Archival& from) { - CopyFrom(from); - return *this; - } - inline RemoteStorageTarget_S3_StorageClass_Archival& operator=(RemoteStorageTarget_S3_StorageClass_Archival&& 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 RemoteStorageTarget_S3_StorageClass_Archival& default_instance() { - return *internal_default_instance(); - } - static inline const RemoteStorageTarget_S3_StorageClass_Archival* internal_default_instance() { - return reinterpret_cast( - &_RemoteStorageTarget_S3_StorageClass_Archival_default_instance_); - } - static constexpr int kIndexInFileMessages = 25; - friend void swap(RemoteStorageTarget_S3_StorageClass_Archival& a, RemoteStorageTarget_S3_StorageClass_Archival& b) { a.Swap(&b); } - inline void Swap(RemoteStorageTarget_S3_StorageClass_Archival* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RemoteStorageTarget_S3_StorageClass_Archival* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RemoteStorageTarget_S3_StorageClass_Archival* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RemoteStorageTarget_S3_StorageClass_Archival& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RemoteStorageTarget_S3_StorageClass_Archival& from) { RemoteStorageTarget_S3_StorageClass_Archival::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(RemoteStorageTarget_S3_StorageClass_Archival* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget.S3.StorageClass.Archival"; } - - protected: - explicit RemoteStorageTarget_S3_StorageClass_Archival(::google::protobuf::Arena* arena); - RemoteStorageTarget_S3_StorageClass_Archival(::google::protobuf::Arena* arena, const RemoteStorageTarget_S3_StorageClass_Archival& from); - RemoteStorageTarget_S3_StorageClass_Archival(::google::protobuf::Arena* arena, RemoteStorageTarget_S3_StorageClass_Archival&& from) noexcept - : RemoteStorageTarget_S3_StorageClass_Archival(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 { - kRetrievalTierFieldNumber = 1, - kCheckTimeFieldNumber = 3, - kRecheckTimeFieldNumber = 4, - kRetentionDaysFieldNumber = 2, - kAutoRestoreFieldNumber = 5, - }; - // string retrieval_tier = 1; - void clear_retrieval_tier() ; - const std::string& retrieval_tier() const; - template - void set_retrieval_tier(Arg_&& arg, Args_... args); - std::string* mutable_retrieval_tier(); - PROTOBUF_NODISCARD std::string* release_retrieval_tier(); - void set_allocated_retrieval_tier(std::string* value); - - private: - const std::string& _internal_retrieval_tier() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_retrieval_tier( - const std::string& value); - std::string* _internal_mutable_retrieval_tier(); - - public: - // string check_time = 3; - void clear_check_time() ; - const std::string& check_time() const; - template - void set_check_time(Arg_&& arg, Args_... args); - std::string* mutable_check_time(); - PROTOBUF_NODISCARD std::string* release_check_time(); - void set_allocated_check_time(std::string* value); - - private: - const std::string& _internal_check_time() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_check_time( - const std::string& value); - std::string* _internal_mutable_check_time(); - - public: - // string recheck_time = 4; - void clear_recheck_time() ; - const std::string& recheck_time() const; - template - void set_recheck_time(Arg_&& arg, Args_... args); - std::string* mutable_recheck_time(); - PROTOBUF_NODISCARD std::string* release_recheck_time(); - void set_allocated_recheck_time(std::string* value); - - private: - const std::string& _internal_recheck_time() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_recheck_time( - const std::string& value); - std::string* _internal_mutable_recheck_time(); - - public: - // int32 retention_days = 2; - void clear_retention_days() ; - ::int32_t retention_days() const; - void set_retention_days(::int32_t value); - - private: - ::int32_t _internal_retention_days() const; - void _internal_set_retention_days(::int32_t value); - - public: - // bool auto_restore = 5; - void clear_auto_restore() ; - bool auto_restore() const; - void set_auto_restore(bool value); - - private: - bool _internal_auto_restore() const; - void _internal_set_auto_restore(bool value); - - public: - // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget.S3.StorageClass.Archival) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 5, 0, - 94, 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 RemoteStorageTarget_S3_StorageClass_Archival& from_msg); - ::google::protobuf::internal::ArenaStringPtr retrieval_tier_; - ::google::protobuf::internal::ArenaStringPtr check_time_; - ::google::protobuf::internal::ArenaStringPtr recheck_time_; - ::int32_t retention_days_; - bool auto_restore_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class RemoteStorageTarget_Policies final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget.Policies) */ { - public: - inline RemoteStorageTarget_Policies() : RemoteStorageTarget_Policies(nullptr) {} - ~RemoteStorageTarget_Policies() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_Policies* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget_Policies)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR RemoteStorageTarget_Policies( - ::google::protobuf::internal::ConstantInitialized); - - inline RemoteStorageTarget_Policies(const RemoteStorageTarget_Policies& from) : RemoteStorageTarget_Policies(nullptr, from) {} - inline RemoteStorageTarget_Policies(RemoteStorageTarget_Policies&& from) noexcept - : RemoteStorageTarget_Policies(nullptr, std::move(from)) {} - inline RemoteStorageTarget_Policies& operator=(const RemoteStorageTarget_Policies& from) { - CopyFrom(from); - return *this; - } - inline RemoteStorageTarget_Policies& operator=(RemoteStorageTarget_Policies&& 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 RemoteStorageTarget_Policies& default_instance() { - return *internal_default_instance(); - } - static inline const RemoteStorageTarget_Policies* internal_default_instance() { - return reinterpret_cast( - &_RemoteStorageTarget_Policies_default_instance_); - } - static constexpr int kIndexInFileMessages = 24; - friend void swap(RemoteStorageTarget_Policies& a, RemoteStorageTarget_Policies& b) { a.Swap(&b); } - inline void Swap(RemoteStorageTarget_Policies* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RemoteStorageTarget_Policies* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RemoteStorageTarget_Policies* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RemoteStorageTarget_Policies& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RemoteStorageTarget_Policies& from) { RemoteStorageTarget_Policies::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(RemoteStorageTarget_Policies* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget.Policies"; } - - protected: - explicit RemoteStorageTarget_Policies(::google::protobuf::Arena* arena); - RemoteStorageTarget_Policies(::google::protobuf::Arena* arena, const RemoteStorageTarget_Policies& from); - RemoteStorageTarget_Policies(::google::protobuf::Arena* arena, RemoteStorageTarget_Policies&& from) noexcept - : RemoteStorageTarget_Policies(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 { - kFastStartMaxSizeFieldNumber = 1, - }; - // int64 fast_start_max_size = 1; - void clear_fast_start_max_size() ; - ::int64_t fast_start_max_size() const; - void set_fast_start_max_size(::int64_t value); - - private: - ::int64_t _internal_fast_start_max_size() const; - void _internal_set_fast_start_max_size(::int64_t value); - - public: - // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget.Policies) - 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 RemoteStorageTarget_Policies& from_msg); - ::int64_t fast_start_max_size_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class RemoteStorageTarget_POSIX final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget.POSIX) */ { - public: - inline RemoteStorageTarget_POSIX() : RemoteStorageTarget_POSIX(nullptr) {} - ~RemoteStorageTarget_POSIX() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_POSIX* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget_POSIX)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR RemoteStorageTarget_POSIX( - ::google::protobuf::internal::ConstantInitialized); - - inline RemoteStorageTarget_POSIX(const RemoteStorageTarget_POSIX& from) : RemoteStorageTarget_POSIX(nullptr, from) {} - inline RemoteStorageTarget_POSIX(RemoteStorageTarget_POSIX&& from) noexcept - : RemoteStorageTarget_POSIX(nullptr, std::move(from)) {} - inline RemoteStorageTarget_POSIX& operator=(const RemoteStorageTarget_POSIX& from) { - CopyFrom(from); - return *this; - } - inline RemoteStorageTarget_POSIX& operator=(RemoteStorageTarget_POSIX&& 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 RemoteStorageTarget_POSIX& default_instance() { - return *internal_default_instance(); - } - static inline const RemoteStorageTarget_POSIX* internal_default_instance() { - return reinterpret_cast( - &_RemoteStorageTarget_POSIX_default_instance_); - } - static constexpr int kIndexInFileMessages = 29; - friend void swap(RemoteStorageTarget_POSIX& a, RemoteStorageTarget_POSIX& b) { a.Swap(&b); } - inline void Swap(RemoteStorageTarget_POSIX* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RemoteStorageTarget_POSIX* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RemoteStorageTarget_POSIX* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RemoteStorageTarget_POSIX& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RemoteStorageTarget_POSIX& from) { RemoteStorageTarget_POSIX::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(RemoteStorageTarget_POSIX* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget.POSIX"; } - - protected: - explicit RemoteStorageTarget_POSIX(::google::protobuf::Arena* arena); - RemoteStorageTarget_POSIX(::google::protobuf::Arena* arena, const RemoteStorageTarget_POSIX& from); - RemoteStorageTarget_POSIX(::google::protobuf::Arena* arena, RemoteStorageTarget_POSIX&& from) noexcept - : RemoteStorageTarget_POSIX(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 { - kPathFieldNumber = 1, - }; - // string path = 1; - void clear_path() ; - const std::string& path() const; - template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); - - private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( - const std::string& value); - std::string* _internal_mutable_path(); - - public: - // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget.POSIX) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 1, 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 RemoteStorageTarget_POSIX& from_msg); - ::google::protobuf::internal::ArenaStringPtr path_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class JobRequestCfg_MetadataEntry_DoNotUse final - : public ::google::protobuf::internal::MapEntry< - std::string, std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING> { - public: - using SuperType = ::google::protobuf::internal::MapEntry< - std::string, std::string, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING>; - JobRequestCfg_MetadataEntry_DoNotUse(); - template - explicit PROTOBUF_CONSTEXPR JobRequestCfg_MetadataEntry_DoNotUse( - ::google::protobuf::internal::ConstantInitialized); - explicit JobRequestCfg_MetadataEntry_DoNotUse(::google::protobuf::Arena* arena); - static const JobRequestCfg_MetadataEntry_DoNotUse* internal_default_instance() { - return reinterpret_cast( - &_JobRequestCfg_MetadataEntry_DoNotUse_default_instance_); - } - - - private: - friend class ::google::protobuf::MessageLite; - friend struct ::TableStruct_flex_2eproto; - - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 0, - 49, 2> - _table_; - - 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_; -}; -// ------------------------------------------------------------------- - -class HeartbeatRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.HeartbeatRequest) */ { - public: - inline HeartbeatRequest() : HeartbeatRequest(nullptr) {} - ~HeartbeatRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(HeartbeatRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(HeartbeatRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR HeartbeatRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline HeartbeatRequest(const HeartbeatRequest& from) : HeartbeatRequest(nullptr, from) {} - inline HeartbeatRequest(HeartbeatRequest&& from) noexcept - : HeartbeatRequest(nullptr, std::move(from)) {} - inline HeartbeatRequest& operator=(const HeartbeatRequest& from) { - CopyFrom(from); - return *this; - } - inline HeartbeatRequest& operator=(HeartbeatRequest&& 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 HeartbeatRequest& default_instance() { - return *internal_default_instance(); - } - static inline const HeartbeatRequest* internal_default_instance() { - return reinterpret_cast( - &_HeartbeatRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 0; - friend void swap(HeartbeatRequest& a, HeartbeatRequest& b) { a.Swap(&b); } - inline void Swap(HeartbeatRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(HeartbeatRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - HeartbeatRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const HeartbeatRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const HeartbeatRequest& from) { HeartbeatRequest::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(HeartbeatRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.HeartbeatRequest"; } - - protected: - explicit HeartbeatRequest(::google::protobuf::Arena* arena); - HeartbeatRequest(::google::protobuf::Arena* arena, const HeartbeatRequest& from); - HeartbeatRequest(::google::protobuf::Arena* arena, HeartbeatRequest&& from) noexcept - : HeartbeatRequest(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 { - kIncludeStatsFieldNumber = 1, - }; - // bool include_stats = 1; - void clear_include_stats() ; - bool include_stats() const; - void set_include_stats(bool value); - - private: - bool _internal_include_stats() const; - void _internal_set_include_stats(bool value); - - public: - // @@protoc_insertion_point(class_scope:flex.HeartbeatRequest) - 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 HeartbeatRequest& from_msg); - bool include_stats_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class GetCapabilitiesRequest final : public ::google::protobuf::internal::ZeroFieldsBase -/* @@protoc_insertion_point(class_definition:flex.GetCapabilitiesRequest) */ { - public: - inline GetCapabilitiesRequest() : GetCapabilitiesRequest(nullptr) {} - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetCapabilitiesRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetCapabilitiesRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetCapabilitiesRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline GetCapabilitiesRequest(const GetCapabilitiesRequest& from) : GetCapabilitiesRequest(nullptr, from) {} - inline GetCapabilitiesRequest(GetCapabilitiesRequest&& from) noexcept - : GetCapabilitiesRequest(nullptr, std::move(from)) {} - inline GetCapabilitiesRequest& operator=(const GetCapabilitiesRequest& from) { - CopyFrom(from); - return *this; - } - inline GetCapabilitiesRequest& operator=(GetCapabilitiesRequest&& 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 GetCapabilitiesRequest& default_instance() { - return *internal_default_instance(); - } - static inline const GetCapabilitiesRequest* internal_default_instance() { - return reinterpret_cast( - &_GetCapabilitiesRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 31; - friend void swap(GetCapabilitiesRequest& a, GetCapabilitiesRequest& b) { a.Swap(&b); } - inline void Swap(GetCapabilitiesRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetCapabilitiesRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetCapabilitiesRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); - } - using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; - inline void CopyFrom(const GetCapabilitiesRequest& from) { - ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); - } - using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; - void MergeFrom(const GetCapabilitiesRequest& 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 "flex.GetCapabilitiesRequest"; } - - protected: - explicit GetCapabilitiesRequest(::google::protobuf::Arena* arena); - GetCapabilitiesRequest(::google::protobuf::Arena* arena, const GetCapabilitiesRequest& from); - GetCapabilitiesRequest(::google::protobuf::Arena* arena, GetCapabilitiesRequest&& from) noexcept - : GetCapabilitiesRequest(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:flex.GetCapabilitiesRequest) - 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 GetCapabilitiesRequest& from_msg); - PROTOBUF_TSAN_DECLARE_MEMBER - }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class Feature final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.Feature) */ { - public: - inline Feature() : Feature(nullptr) {} - ~Feature() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Feature* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(Feature)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR Feature( - ::google::protobuf::internal::ConstantInitialized); - - inline Feature(const Feature& from) : Feature(nullptr, from) {} - inline Feature(Feature&& from) noexcept - : Feature(nullptr, std::move(from)) {} - inline Feature& operator=(const Feature& from) { - CopyFrom(from); - return *this; - } - inline Feature& operator=(Feature&& 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 Feature& default_instance() { - return *internal_default_instance(); - } - static inline const Feature* internal_default_instance() { - return reinterpret_cast( - &_Feature_default_instance_); - } - static constexpr int kIndexInFileMessages = 35; - friend void swap(Feature& a, Feature& b) { a.Swap(&b); } - inline void Swap(Feature* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Feature* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Feature* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const Feature& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const Feature& from) { Feature::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(Feature* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.Feature"; } - - protected: - explicit Feature(::google::protobuf::Arena* arena); - Feature(::google::protobuf::Arena* arena, const Feature& from); - Feature(::google::protobuf::Arena* arena, Feature&& from) noexcept - : Feature(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 { - kSubFeatureFieldNumber = 1, - }; - // map sub_feature = 1; - int sub_feature_size() const; - private: - int _internal_sub_feature_size() const; - - public: - void clear_sub_feature() ; - const ::google::protobuf::Map& sub_feature() const; - ::google::protobuf::Map* mutable_sub_feature(); - - private: - const ::google::protobuf::Map& _internal_sub_feature() const; - ::google::protobuf::Map* _internal_mutable_sub_feature(); - - public: - // @@protoc_insertion_point(class_scope:flex.Feature) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 0, 1, 2, - 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 Feature& from_msg); - ::google::protobuf::internal::MapField - sub_feature_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class Feature_SubFeatureEntry_DoNotUse final - : public ::google::protobuf::internal::MapEntry< - std::string, ::google::protobuf::Message, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { - public: - using SuperType = ::google::protobuf::internal::MapEntry< - std::string, ::google::protobuf::Message, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; - Feature_SubFeatureEntry_DoNotUse(); - template - explicit PROTOBUF_CONSTEXPR Feature_SubFeatureEntry_DoNotUse( - ::google::protobuf::internal::ConstantInitialized); - explicit Feature_SubFeatureEntry_DoNotUse(::google::protobuf::Arena* arena); - static const Feature_SubFeatureEntry_DoNotUse* internal_default_instance() { - return reinterpret_cast( - &_Feature_SubFeatureEntry_DoNotUse_default_instance_); - } - - - private: - friend class ::google::protobuf::MessageLite; - friend struct ::TableStruct_flex_2eproto; - - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 40, 2> - _table_; - - 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_; -}; -// ------------------------------------------------------------------- - -class BulkUpdateWorkResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.BulkUpdateWorkResponse) */ { - public: - inline BulkUpdateWorkResponse() : BulkUpdateWorkResponse(nullptr) {} - ~BulkUpdateWorkResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(BulkUpdateWorkResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(BulkUpdateWorkResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR BulkUpdateWorkResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline BulkUpdateWorkResponse(const BulkUpdateWorkResponse& from) : BulkUpdateWorkResponse(nullptr, from) {} - inline BulkUpdateWorkResponse(BulkUpdateWorkResponse&& from) noexcept - : BulkUpdateWorkResponse(nullptr, std::move(from)) {} - inline BulkUpdateWorkResponse& operator=(const BulkUpdateWorkResponse& from) { - CopyFrom(from); - return *this; - } - inline BulkUpdateWorkResponse& operator=(BulkUpdateWorkResponse&& 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 BulkUpdateWorkResponse& default_instance() { - return *internal_default_instance(); - } - static inline const BulkUpdateWorkResponse* internal_default_instance() { - return reinterpret_cast( - &_BulkUpdateWorkResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 8; - friend void swap(BulkUpdateWorkResponse& a, BulkUpdateWorkResponse& b) { a.Swap(&b); } - inline void Swap(BulkUpdateWorkResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BulkUpdateWorkResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BulkUpdateWorkResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const BulkUpdateWorkResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const BulkUpdateWorkResponse& from) { BulkUpdateWorkResponse::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(BulkUpdateWorkResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.BulkUpdateWorkResponse"; } - - protected: - explicit BulkUpdateWorkResponse(::google::protobuf::Arena* arena); - BulkUpdateWorkResponse(::google::protobuf::Arena* arena, const BulkUpdateWorkResponse& from); - BulkUpdateWorkResponse(::google::protobuf::Arena* arena, BulkUpdateWorkResponse&& from) noexcept - : BulkUpdateWorkResponse(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, - kSuccessFieldNumber = 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: - // bool success = 1; - void clear_success() ; - bool success() const; - void set_success(bool value); - - private: - bool _internal_success() const; - void _internal_set_success(bool value); - - public: - // @@protoc_insertion_point(class_scope:flex.BulkUpdateWorkResponse) - 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 BulkUpdateWorkResponse& from_msg); - ::google::protobuf::internal::ArenaStringPtr message_; - bool success_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class BulkUpdateWorkRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.BulkUpdateWorkRequest) */ { - public: - inline BulkUpdateWorkRequest() : BulkUpdateWorkRequest(nullptr) {} - ~BulkUpdateWorkRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(BulkUpdateWorkRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(BulkUpdateWorkRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR BulkUpdateWorkRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline BulkUpdateWorkRequest(const BulkUpdateWorkRequest& from) : BulkUpdateWorkRequest(nullptr, from) {} - inline BulkUpdateWorkRequest(BulkUpdateWorkRequest&& from) noexcept - : BulkUpdateWorkRequest(nullptr, std::move(from)) {} - inline BulkUpdateWorkRequest& operator=(const BulkUpdateWorkRequest& from) { - CopyFrom(from); - return *this; - } - inline BulkUpdateWorkRequest& operator=(BulkUpdateWorkRequest&& 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 BulkUpdateWorkRequest& default_instance() { - return *internal_default_instance(); - } - static inline const BulkUpdateWorkRequest* internal_default_instance() { - return reinterpret_cast( - &_BulkUpdateWorkRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 7; - friend void swap(BulkUpdateWorkRequest& a, BulkUpdateWorkRequest& b) { a.Swap(&b); } - inline void Swap(BulkUpdateWorkRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BulkUpdateWorkRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BulkUpdateWorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const BulkUpdateWorkRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const BulkUpdateWorkRequest& from) { BulkUpdateWorkRequest::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(BulkUpdateWorkRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.BulkUpdateWorkRequest"; } - - protected: - explicit BulkUpdateWorkRequest(::google::protobuf::Arena* arena); - BulkUpdateWorkRequest(::google::protobuf::Arena* arena, const BulkUpdateWorkRequest& from); - BulkUpdateWorkRequest(::google::protobuf::Arena* arena, BulkUpdateWorkRequest&& from) noexcept - : BulkUpdateWorkRequest(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 NewState = BulkUpdateWorkRequest_NewState; - static constexpr NewState UNSPECIFIED = BulkUpdateWorkRequest_NewState_UNSPECIFIED; - static constexpr NewState UNCHANGED = BulkUpdateWorkRequest_NewState_UNCHANGED; - static inline bool NewState_IsValid(int value) { - return BulkUpdateWorkRequest_NewState_IsValid(value); - } - static constexpr NewState NewState_MIN = BulkUpdateWorkRequest_NewState_NewState_MIN; - static constexpr NewState NewState_MAX = BulkUpdateWorkRequest_NewState_NewState_MAX; - static constexpr int NewState_ARRAYSIZE = BulkUpdateWorkRequest_NewState_NewState_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* NewState_descriptor() { - return BulkUpdateWorkRequest_NewState_descriptor(); - } - template - static inline const std::string& NewState_Name(T value) { - return BulkUpdateWorkRequest_NewState_Name(value); - } - static inline bool NewState_Parse(absl::string_view name, NewState* value) { - return BulkUpdateWorkRequest_NewState_Parse(name, value); - } - - // accessors ------------------------------------------------------- - enum : int { - kNewStateFieldNumber = 1, - }; - // .flex.BulkUpdateWorkRequest.NewState new_state = 1; - void clear_new_state() ; - ::flex::BulkUpdateWorkRequest_NewState new_state() const; - void set_new_state(::flex::BulkUpdateWorkRequest_NewState value); - - private: - ::flex::BulkUpdateWorkRequest_NewState _internal_new_state() const; - void _internal_set_new_state(::flex::BulkUpdateWorkRequest_NewState value); - - public: - // @@protoc_insertion_point(class_scope:flex.BulkUpdateWorkRequest) - 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 BulkUpdateWorkRequest& from_msg); - int new_state_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class BuildInfo final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.BuildInfo) */ { - public: - inline BuildInfo() : BuildInfo(nullptr) {} - ~BuildInfo() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(BuildInfo* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(BuildInfo)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR BuildInfo( - ::google::protobuf::internal::ConstantInitialized); - - inline BuildInfo(const BuildInfo& from) : BuildInfo(nullptr, from) {} - inline BuildInfo(BuildInfo&& from) noexcept - : BuildInfo(nullptr, std::move(from)) {} - inline BuildInfo& operator=(const BuildInfo& from) { - CopyFrom(from); - return *this; - } - inline BuildInfo& operator=(BuildInfo&& 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 BuildInfo& default_instance() { - return *internal_default_instance(); - } - static inline const BuildInfo* internal_default_instance() { - return reinterpret_cast( - &_BuildInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = 36; - friend void swap(BuildInfo& a, BuildInfo& b) { a.Swap(&b); } - inline void Swap(BuildInfo* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BuildInfo* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BuildInfo* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const BuildInfo& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const BuildInfo& from) { BuildInfo::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(BuildInfo* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.BuildInfo"; } - - protected: - explicit BuildInfo(::google::protobuf::Arena* arena); - BuildInfo(::google::protobuf::Arena* arena, const BuildInfo& from); - BuildInfo(::google::protobuf::Arena* arena, BuildInfo&& from) noexcept - : BuildInfo(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 { - kBinaryNameFieldNumber = 1, - kVersionFieldNumber = 2, - kCommitFieldNumber = 3, - kBuildTimeFieldNumber = 4, - }; - // string binary_name = 1; - void clear_binary_name() ; - const std::string& binary_name() const; - template - void set_binary_name(Arg_&& arg, Args_... args); - std::string* mutable_binary_name(); - PROTOBUF_NODISCARD std::string* release_binary_name(); - void set_allocated_binary_name(std::string* value); - - private: - const std::string& _internal_binary_name() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_binary_name( - const std::string& value); - std::string* _internal_mutable_binary_name(); - - public: - // string version = 2; - void clear_version() ; - const std::string& version() const; - template - void set_version(Arg_&& arg, Args_... args); - std::string* mutable_version(); - PROTOBUF_NODISCARD std::string* release_version(); - void set_allocated_version(std::string* value); - - private: - const std::string& _internal_version() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_version( - const std::string& value); - std::string* _internal_mutable_version(); - - public: - // string commit = 3; - void clear_commit() ; - const std::string& commit() const; - template - void set_commit(Arg_&& arg, Args_... args); - std::string* mutable_commit(); - PROTOBUF_NODISCARD std::string* release_commit(); - void set_allocated_commit(std::string* value); - - private: - const std::string& _internal_commit() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_commit( - const std::string& value); - std::string* _internal_mutable_commit(); - - public: - // string build_time = 4; - void clear_build_time() ; - const std::string& build_time() const; - template - void set_build_time(Arg_&& arg, Args_... args); - std::string* mutable_build_time(); - PROTOBUF_NODISCARD std::string* release_build_time(); - void set_allocated_build_time(std::string* value); - - private: - const std::string& _internal_build_time() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_build_time( - const std::string& value); - std::string* _internal_mutable_build_time(); - - public: - // @@protoc_insertion_point(class_scope:flex.BuildInfo) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 4, 0, - 57, 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 BuildInfo& from_msg); - ::google::protobuf::internal::ArenaStringPtr binary_name_; - ::google::protobuf::internal::ArenaStringPtr version_; - ::google::protobuf::internal::ArenaStringPtr commit_; - ::google::protobuf::internal::ArenaStringPtr build_time_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class BeeRemoteNode final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.BeeRemoteNode) */ { - public: - inline BeeRemoteNode() : BeeRemoteNode(nullptr) {} - ~BeeRemoteNode() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(BeeRemoteNode* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(BeeRemoteNode)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR BeeRemoteNode( - ::google::protobuf::internal::ConstantInitialized); - - inline BeeRemoteNode(const BeeRemoteNode& from) : BeeRemoteNode(nullptr, from) {} - inline BeeRemoteNode(BeeRemoteNode&& from) noexcept - : BeeRemoteNode(nullptr, std::move(from)) {} - inline BeeRemoteNode& operator=(const BeeRemoteNode& from) { - CopyFrom(from); - return *this; - } - inline BeeRemoteNode& operator=(BeeRemoteNode&& 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 BeeRemoteNode& default_instance() { - return *internal_default_instance(); - } - static inline const BeeRemoteNode* internal_default_instance() { - return reinterpret_cast( - &_BeeRemoteNode_default_instance_); - } - static constexpr int kIndexInFileMessages = 23; - friend void swap(BeeRemoteNode& a, BeeRemoteNode& b) { a.Swap(&b); } - inline void Swap(BeeRemoteNode* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BeeRemoteNode* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BeeRemoteNode* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const BeeRemoteNode& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const BeeRemoteNode& from) { BeeRemoteNode::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(BeeRemoteNode* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.BeeRemoteNode"; } - - protected: - explicit BeeRemoteNode(::google::protobuf::Arena* arena); - BeeRemoteNode(::google::protobuf::Arena* arena, const BeeRemoteNode& from); - BeeRemoteNode(::google::protobuf::Arena* arena, BeeRemoteNode&& from) noexcept - : BeeRemoteNode(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, - kAddressFieldNumber = 2, - kMgmtdAddressFieldNumber = 3, - kMgmtdTlsCertFieldNumber = 4, - kAuthSecretFieldNumber = 7, - kMgmtdTlsDisableVerificationFieldNumber = 5, - kMgmtdTlsDisableFieldNumber = 6, - kMgmtdUseProxyFieldNumber = 9, - kAuthDisableFieldNumber = 8, - }; - // string id = 1; - void clear_id() ; - const std::string& id() const; - template - void set_id(Arg_&& arg, Args_... args); - std::string* mutable_id(); - PROTOBUF_NODISCARD std::string* release_id(); - void set_allocated_id(std::string* value); - - private: - const std::string& _internal_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_id( - const std::string& value); - std::string* _internal_mutable_id(); - - public: - // string address = 2; - void clear_address() ; - const std::string& address() const; - template - void set_address(Arg_&& arg, Args_... args); - std::string* mutable_address(); - PROTOBUF_NODISCARD std::string* release_address(); - void set_allocated_address(std::string* value); - - private: - const std::string& _internal_address() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_address( - const std::string& value); - std::string* _internal_mutable_address(); - - public: - // string mgmtd_address = 3; - void clear_mgmtd_address() ; - const std::string& mgmtd_address() const; - template - void set_mgmtd_address(Arg_&& arg, Args_... args); - std::string* mutable_mgmtd_address(); - PROTOBUF_NODISCARD std::string* release_mgmtd_address(); - void set_allocated_mgmtd_address(std::string* value); - - private: - const std::string& _internal_mgmtd_address() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mgmtd_address( - const std::string& value); - std::string* _internal_mutable_mgmtd_address(); - - public: - // bytes mgmtd_tls_cert = 4; - void clear_mgmtd_tls_cert() ; - const std::string& mgmtd_tls_cert() const; - template - void set_mgmtd_tls_cert(Arg_&& arg, Args_... args); - std::string* mutable_mgmtd_tls_cert(); - PROTOBUF_NODISCARD std::string* release_mgmtd_tls_cert(); - void set_allocated_mgmtd_tls_cert(std::string* value); - - private: - const std::string& _internal_mgmtd_tls_cert() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mgmtd_tls_cert( - const std::string& value); - std::string* _internal_mutable_mgmtd_tls_cert(); - - public: - // bytes auth_secret = 7; - void clear_auth_secret() ; - const std::string& auth_secret() const; - template - void set_auth_secret(Arg_&& arg, Args_... args); - std::string* mutable_auth_secret(); - PROTOBUF_NODISCARD std::string* release_auth_secret(); - void set_allocated_auth_secret(std::string* value); - - private: - const std::string& _internal_auth_secret() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_auth_secret( - const std::string& value); - std::string* _internal_mutable_auth_secret(); - - public: - // bool mgmtd_tls_disable_verification = 5; - void clear_mgmtd_tls_disable_verification() ; - bool mgmtd_tls_disable_verification() const; - void set_mgmtd_tls_disable_verification(bool value); - - private: - bool _internal_mgmtd_tls_disable_verification() const; - void _internal_set_mgmtd_tls_disable_verification(bool value); - - public: - // bool mgmtd_tls_disable = 6; - void clear_mgmtd_tls_disable() ; - bool mgmtd_tls_disable() const; - void set_mgmtd_tls_disable(bool value); - - private: - bool _internal_mgmtd_tls_disable() const; - void _internal_set_mgmtd_tls_disable(bool value); - - public: - // bool mgmtd_use_proxy = 9; - void clear_mgmtd_use_proxy() ; - bool mgmtd_use_proxy() const; - void set_mgmtd_use_proxy(bool value); - - private: - bool _internal_mgmtd_use_proxy() const; - void _internal_set_mgmtd_use_proxy(bool value); - - public: - // bool auth_disable = 8; - void clear_auth_disable() ; - bool auth_disable() const; - void set_auth_disable(bool value); - - private: - bool _internal_auth_disable() const; - void _internal_set_auth_disable(bool value); - - public: - // @@protoc_insertion_point(class_scope:flex.BeeRemoteNode) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 9, 0, - 57, 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 BeeRemoteNode& from_msg); - ::google::protobuf::internal::ArenaStringPtr id_; - ::google::protobuf::internal::ArenaStringPtr address_; - ::google::protobuf::internal::ArenaStringPtr mgmtd_address_; - ::google::protobuf::internal::ArenaStringPtr mgmtd_tls_cert_; - ::google::protobuf::internal::ArenaStringPtr auth_secret_; - bool mgmtd_tls_disable_verification_; - bool mgmtd_tls_disable_; - bool mgmtd_use_proxy_; - bool auth_disable_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class Work final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.Work) */ { - public: - inline Work() : Work(nullptr) {} - ~Work() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(Work* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(Work)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR Work( - ::google::protobuf::internal::ConstantInitialized); - - inline Work(const Work& from) : Work(nullptr, from) {} - inline Work(Work&& from) noexcept - : Work(nullptr, std::move(from)) {} - inline Work& operator=(const Work& from) { - CopyFrom(from); - return *this; - } - inline Work& operator=(Work&& 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 Work& default_instance() { - return *internal_default_instance(); - } - static inline const Work* internal_default_instance() { - return reinterpret_cast( - &_Work_default_instance_); - } - static constexpr int kIndexInFileMessages = 20; - friend void swap(Work& a, Work& b) { a.Swap(&b); } - inline void Swap(Work* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(Work* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - Work* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const Work& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const Work& from) { Work::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(Work* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.Work"; } - - protected: - explicit Work(::google::protobuf::Arena* arena); - Work(::google::protobuf::Arena* arena, const Work& from); - Work(::google::protobuf::Arena* arena, Work&& from) noexcept - : Work(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 Status = Work_Status; - using Part = Work_Part; - using State = Work_State; - static constexpr State UNSPECIFIED = Work_State_UNSPECIFIED; - static constexpr State UNKNOWN = Work_State_UNKNOWN; - static constexpr State CREATED = Work_State_CREATED; - static constexpr State SCHEDULED = Work_State_SCHEDULED; - static constexpr State RUNNING = Work_State_RUNNING; - static constexpr State RESCHEDULED = Work_State_RESCHEDULED; - static constexpr State ERROR = Work_State_ERROR; - static constexpr State FAILED = Work_State_FAILED; - static constexpr State CANCELLED = Work_State_CANCELLED; - static constexpr State COMPLETED = Work_State_COMPLETED; - static inline bool State_IsValid(int value) { - return Work_State_IsValid(value); - } - static constexpr State State_MIN = Work_State_State_MIN; - static constexpr State State_MAX = Work_State_State_MAX; - static constexpr int State_ARRAYSIZE = Work_State_State_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* State_descriptor() { - return Work_State_descriptor(); - } - template - static inline const std::string& State_Name(T value) { - return Work_State_Name(value); - } - static inline bool State_Parse(absl::string_view name, State* value) { - return Work_State_Parse(name, value); - } - - // accessors ------------------------------------------------------- - enum : int { - kPartsFieldNumber = 5, - kPathFieldNumber = 1, - kJobIdFieldNumber = 2, - kRequestIdFieldNumber = 3, - kStatusFieldNumber = 4, - kJobBuilderFieldNumber = 6, - }; - // repeated .flex.Work.Part parts = 5; - int parts_size() const; - private: - int _internal_parts_size() const; - - public: - void clear_parts() ; - ::flex::Work_Part* mutable_parts(int index); - ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* mutable_parts(); - - private: - const ::google::protobuf::RepeatedPtrField<::flex::Work_Part>& _internal_parts() const; - ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* _internal_mutable_parts(); - public: - const ::flex::Work_Part& parts(int index) const; - ::flex::Work_Part* add_parts(); - const ::google::protobuf::RepeatedPtrField<::flex::Work_Part>& parts() const; - // string path = 1; - void clear_path() ; - const std::string& path() const; - template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); - - private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( - const std::string& value); - std::string* _internal_mutable_path(); - - public: - // string job_id = 2; - void clear_job_id() ; - const std::string& job_id() const; - template - void set_job_id(Arg_&& arg, Args_... args); - std::string* mutable_job_id(); - PROTOBUF_NODISCARD std::string* release_job_id(); - void set_allocated_job_id(std::string* value); - - private: - const std::string& _internal_job_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_job_id( - const std::string& value); - std::string* _internal_mutable_job_id(); - - public: - // string request_id = 3; - void clear_request_id() ; - const std::string& request_id() const; - template - void set_request_id(Arg_&& arg, Args_... args); - std::string* mutable_request_id(); - PROTOBUF_NODISCARD std::string* release_request_id(); - void set_allocated_request_id(std::string* value); - - private: - const std::string& _internal_request_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_id( - const std::string& value); - std::string* _internal_mutable_request_id(); - - public: - // .flex.Work.Status status = 4; - bool has_status() const; - void clear_status() ; - const ::flex::Work_Status& status() const; - PROTOBUF_NODISCARD ::flex::Work_Status* release_status(); - ::flex::Work_Status* mutable_status(); - void set_allocated_status(::flex::Work_Status* value); - void unsafe_arena_set_allocated_status(::flex::Work_Status* value); - ::flex::Work_Status* unsafe_arena_release_status(); - - private: - const ::flex::Work_Status& _internal_status() const; - ::flex::Work_Status* _internal_mutable_status(); - - public: - // bool job_builder = 6; - void clear_job_builder() ; - bool job_builder() const; - void set_job_builder(bool value); - - private: - bool _internal_job_builder() const; - void _internal_set_job_builder(bool value); - - public: - // @@protoc_insertion_point(class_scope:flex.Work) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 6, 2, - 38, 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 Work& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::RepeatedPtrField< ::flex::Work_Part > parts_; - ::google::protobuf::internal::ArenaStringPtr path_; - ::google::protobuf::internal::ArenaStringPtr job_id_; - ::google::protobuf::internal::ArenaStringPtr request_id_; - ::flex::Work_Status* status_; - bool job_builder_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class RemoteStorageTarget_S3_StorageClass final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget.S3.StorageClass) */ { - public: - inline RemoteStorageTarget_S3_StorageClass() : RemoteStorageTarget_S3_StorageClass(nullptr) {} - ~RemoteStorageTarget_S3_StorageClass() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_S3_StorageClass* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget_S3_StorageClass)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR RemoteStorageTarget_S3_StorageClass( - ::google::protobuf::internal::ConstantInitialized); - - inline RemoteStorageTarget_S3_StorageClass(const RemoteStorageTarget_S3_StorageClass& from) : RemoteStorageTarget_S3_StorageClass(nullptr, from) {} - inline RemoteStorageTarget_S3_StorageClass(RemoteStorageTarget_S3_StorageClass&& from) noexcept - : RemoteStorageTarget_S3_StorageClass(nullptr, std::move(from)) {} - inline RemoteStorageTarget_S3_StorageClass& operator=(const RemoteStorageTarget_S3_StorageClass& from) { - CopyFrom(from); - return *this; - } - inline RemoteStorageTarget_S3_StorageClass& operator=(RemoteStorageTarget_S3_StorageClass&& 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 RemoteStorageTarget_S3_StorageClass& default_instance() { - return *internal_default_instance(); - } - static inline const RemoteStorageTarget_S3_StorageClass* internal_default_instance() { - return reinterpret_cast( - &_RemoteStorageTarget_S3_StorageClass_default_instance_); - } - static constexpr int kIndexInFileMessages = 26; - friend void swap(RemoteStorageTarget_S3_StorageClass& a, RemoteStorageTarget_S3_StorageClass& b) { a.Swap(&b); } - inline void Swap(RemoteStorageTarget_S3_StorageClass* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RemoteStorageTarget_S3_StorageClass* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RemoteStorageTarget_S3_StorageClass* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RemoteStorageTarget_S3_StorageClass& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RemoteStorageTarget_S3_StorageClass& from) { RemoteStorageTarget_S3_StorageClass::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(RemoteStorageTarget_S3_StorageClass* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget.S3.StorageClass"; } - - protected: - explicit RemoteStorageTarget_S3_StorageClass(::google::protobuf::Arena* arena); - RemoteStorageTarget_S3_StorageClass(::google::protobuf::Arena* arena, const RemoteStorageTarget_S3_StorageClass& from); - RemoteStorageTarget_S3_StorageClass(::google::protobuf::Arena* arena, RemoteStorageTarget_S3_StorageClass&& from) noexcept - : RemoteStorageTarget_S3_StorageClass(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 Archival = RemoteStorageTarget_S3_StorageClass_Archival; - - // accessors ------------------------------------------------------- - enum : int { - kNameFieldNumber = 1, - kArchivalFieldNumber = 2, - }; - // string name = 1; - 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: - // optional .flex.RemoteStorageTarget.S3.StorageClass.Archival archival = 2; - bool has_archival() const; - void clear_archival() ; - const ::flex::RemoteStorageTarget_S3_StorageClass_Archival& archival() const; - PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_S3_StorageClass_Archival* release_archival(); - ::flex::RemoteStorageTarget_S3_StorageClass_Archival* mutable_archival(); - void set_allocated_archival(::flex::RemoteStorageTarget_S3_StorageClass_Archival* value); - void unsafe_arena_set_allocated_archival(::flex::RemoteStorageTarget_S3_StorageClass_Archival* value); - ::flex::RemoteStorageTarget_S3_StorageClass_Archival* unsafe_arena_release_archival(); - - private: - const ::flex::RemoteStorageTarget_S3_StorageClass_Archival& _internal_archival() const; - ::flex::RemoteStorageTarget_S3_StorageClass_Archival* _internal_mutable_archival(); - - public: - // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget.S3.StorageClass) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 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 RemoteStorageTarget_S3_StorageClass& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::flex::RemoteStorageTarget_S3_StorageClass_Archival* archival_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class NodeStats final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.NodeStats) */ { - public: - inline NodeStats() : NodeStats(nullptr) {} - ~NodeStats() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(NodeStats* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(NodeStats)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR NodeStats( - ::google::protobuf::internal::ConstantInitialized); - - inline NodeStats(const NodeStats& from) : NodeStats(nullptr, from) {} - inline NodeStats(NodeStats&& from) noexcept - : NodeStats(nullptr, std::move(from)) {} - inline NodeStats& operator=(const NodeStats& from) { - CopyFrom(from); - return *this; - } - inline NodeStats& operator=(NodeStats&& 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 NodeStats& default_instance() { - return *internal_default_instance(); - } - static inline const NodeStats* internal_default_instance() { - return reinterpret_cast( - &_NodeStats_default_instance_); - } - static constexpr int kIndexInFileMessages = 2; - friend void swap(NodeStats& a, NodeStats& b) { a.Swap(&b); } - inline void Swap(NodeStats* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(NodeStats* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - NodeStats* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const NodeStats& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const NodeStats& from) { NodeStats::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(NodeStats* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.NodeStats"; } - - protected: - explicit NodeStats(::google::protobuf::Arena* arena); - NodeStats(::google::protobuf::Arena* arena, const NodeStats& from); - NodeStats(::google::protobuf::Arena* arena, NodeStats&& from) noexcept - : NodeStats(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 { - kTimestampFieldNumber = 1, - kActiveRequestsFieldNumber = 2, - }; - // .google.protobuf.Timestamp timestamp = 1; - bool has_timestamp() const; - void clear_timestamp() ; - const ::google::protobuf::Timestamp& timestamp() const; - PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_timestamp(); - ::google::protobuf::Timestamp* mutable_timestamp(); - void set_allocated_timestamp(::google::protobuf::Timestamp* value); - void unsafe_arena_set_allocated_timestamp(::google::protobuf::Timestamp* value); - ::google::protobuf::Timestamp* unsafe_arena_release_timestamp(); - - private: - const ::google::protobuf::Timestamp& _internal_timestamp() const; - ::google::protobuf::Timestamp* _internal_mutable_timestamp(); - - public: - // int64 active_requests = 2; - void clear_active_requests() ; - ::int64_t active_requests() const; - void set_active_requests(::int64_t value); - - private: - ::int64_t _internal_active_requests() const; - void _internal_set_active_requests(::int64_t value); - - public: - // @@protoc_insertion_point(class_scope:flex.NodeStats) - 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 NodeStats& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::Timestamp* timestamp_; - ::int64_t active_requests_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class JobLockedInfo final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.JobLockedInfo) */ { - public: - inline JobLockedInfo() : JobLockedInfo(nullptr) {} - ~JobLockedInfo() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(JobLockedInfo* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(JobLockedInfo)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR JobLockedInfo( - ::google::protobuf::internal::ConstantInitialized); - - inline JobLockedInfo(const JobLockedInfo& from) : JobLockedInfo(nullptr, from) {} - inline JobLockedInfo(JobLockedInfo&& from) noexcept - : JobLockedInfo(nullptr, std::move(from)) {} - inline JobLockedInfo& operator=(const JobLockedInfo& from) { - CopyFrom(from); - return *this; - } - inline JobLockedInfo& operator=(JobLockedInfo&& 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 JobLockedInfo& default_instance() { - return *internal_default_instance(); - } - static inline const JobLockedInfo* internal_default_instance() { - return reinterpret_cast( - &_JobLockedInfo_default_instance_); - } - static constexpr int kIndexInFileMessages = 9; - friend void swap(JobLockedInfo& a, JobLockedInfo& b) { a.Swap(&b); } - inline void Swap(JobLockedInfo* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(JobLockedInfo* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - JobLockedInfo* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const JobLockedInfo& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const JobLockedInfo& from) { JobLockedInfo::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(JobLockedInfo* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.JobLockedInfo"; } - - protected: - explicit JobLockedInfo(::google::protobuf::Arena* arena); - JobLockedInfo(::google::protobuf::Arena* arena, const JobLockedInfo& from); - JobLockedInfo(::google::protobuf::Arena* arena, JobLockedInfo&& from) noexcept - : JobLockedInfo(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 { - kStubUrlPathFieldNumber = 9, - kExternalIdFieldNumber = 10, - kMtimeFieldNumber = 5, - kRemoteMtimeFieldNumber = 7, - kSizeFieldNumber = 3, - kModeFieldNumber = 4, - kReadWriteLockedFieldNumber = 1, - kExistsFieldNumber = 2, - kIsArchivedFieldNumber = 11, - kRemoteSizeFieldNumber = 6, - kStubUrlRstIdFieldNumber = 8, - }; - // string stub_url_path = 9; - void clear_stub_url_path() ; - const std::string& stub_url_path() const; - template - void set_stub_url_path(Arg_&& arg, Args_... args); - std::string* mutable_stub_url_path(); - PROTOBUF_NODISCARD std::string* release_stub_url_path(); - void set_allocated_stub_url_path(std::string* value); - - private: - const std::string& _internal_stub_url_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_stub_url_path( - const std::string& value); - std::string* _internal_mutable_stub_url_path(); - - public: - // string externalId = 10; - void clear_externalid() ; - const std::string& externalid() const; - template - void set_externalid(Arg_&& arg, Args_... args); - std::string* mutable_externalid(); - PROTOBUF_NODISCARD std::string* release_externalid(); - void set_allocated_externalid(std::string* value); - - private: - const std::string& _internal_externalid() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_externalid( - const std::string& value); - std::string* _internal_mutable_externalid(); - - public: - // .google.protobuf.Timestamp mtime = 5; - bool has_mtime() const; - void clear_mtime() ; - const ::google::protobuf::Timestamp& mtime() const; - PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_mtime(); - ::google::protobuf::Timestamp* mutable_mtime(); - void set_allocated_mtime(::google::protobuf::Timestamp* value); - void unsafe_arena_set_allocated_mtime(::google::protobuf::Timestamp* value); - ::google::protobuf::Timestamp* unsafe_arena_release_mtime(); - - private: - const ::google::protobuf::Timestamp& _internal_mtime() const; - ::google::protobuf::Timestamp* _internal_mutable_mtime(); - - public: - // .google.protobuf.Timestamp remote_mtime = 7; - bool has_remote_mtime() const; - void clear_remote_mtime() ; - const ::google::protobuf::Timestamp& remote_mtime() const; - PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_remote_mtime(); - ::google::protobuf::Timestamp* mutable_remote_mtime(); - void set_allocated_remote_mtime(::google::protobuf::Timestamp* value); - void unsafe_arena_set_allocated_remote_mtime(::google::protobuf::Timestamp* value); - ::google::protobuf::Timestamp* unsafe_arena_release_remote_mtime(); - - private: - const ::google::protobuf::Timestamp& _internal_remote_mtime() const; - ::google::protobuf::Timestamp* _internal_mutable_remote_mtime(); - - public: - // int64 size = 3; - void clear_size() ; - ::int64_t size() const; - void set_size(::int64_t value); - - private: - ::int64_t _internal_size() const; - void _internal_set_size(::int64_t value); - - public: - // uint32 mode = 4; - void clear_mode() ; - ::uint32_t mode() const; - void set_mode(::uint32_t value); - - private: - ::uint32_t _internal_mode() const; - void _internal_set_mode(::uint32_t value); - - public: - // bool read_write_locked = 1; - void clear_read_write_locked() ; - bool read_write_locked() const; - void set_read_write_locked(bool value); - - private: - bool _internal_read_write_locked() const; - void _internal_set_read_write_locked(bool value); - - public: - // bool exists = 2; - void clear_exists() ; - bool exists() const; - void set_exists(bool value); - - private: - bool _internal_exists() const; - void _internal_set_exists(bool value); - - public: - // bool is_archived = 11; - void clear_is_archived() ; - bool is_archived() const; - void set_is_archived(bool value); - - private: - bool _internal_is_archived() const; - void _internal_set_is_archived(bool value); - - public: - // int64 remote_size = 6; - void clear_remote_size() ; - ::int64_t remote_size() const; - void set_remote_size(::int64_t value); - - private: - ::int64_t _internal_remote_size() const; - void _internal_set_remote_size(::int64_t value); - - public: - // uint32 stub_url_rst_id = 8; - void clear_stub_url_rst_id() ; - ::uint32_t stub_url_rst_id() const; - void set_stub_url_rst_id(::uint32_t value); - - private: - ::uint32_t _internal_stub_url_rst_id() const; - void _internal_set_stub_url_rst_id(::uint32_t value); - - public: - // @@protoc_insertion_point(class_scope:flex.JobLockedInfo) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 11, 2, - 58, 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 JobLockedInfo& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr stub_url_path_; - ::google::protobuf::internal::ArenaStringPtr externalid_; - ::google::protobuf::Timestamp* mtime_; - ::google::protobuf::Timestamp* remote_mtime_; - ::int64_t size_; - ::uint32_t mode_; - bool read_write_locked_; - bool exists_; - bool is_archived_; - ::int64_t remote_size_; - ::uint32_t stub_url_rst_id_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class GetCapabilitiesResponse_FeaturesEntry_DoNotUse final - : public ::google::protobuf::internal::MapEntry< - std::string, ::google::protobuf::Message, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> { - public: - using SuperType = ::google::protobuf::internal::MapEntry< - std::string, ::google::protobuf::Message, - ::google::protobuf::internal::WireFormatLite::TYPE_STRING, - ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>; - GetCapabilitiesResponse_FeaturesEntry_DoNotUse(); - template - explicit PROTOBUF_CONSTEXPR GetCapabilitiesResponse_FeaturesEntry_DoNotUse( - ::google::protobuf::internal::ConstantInitialized); - explicit GetCapabilitiesResponse_FeaturesEntry_DoNotUse(::google::protobuf::Arena* arena); - static const GetCapabilitiesResponse_FeaturesEntry_DoNotUse* internal_default_instance() { - return reinterpret_cast( - &_GetCapabilitiesResponse_FeaturesEntry_DoNotUse_default_instance_); - } - - - private: - friend class ::google::protobuf::MessageLite; - friend struct ::TableStruct_flex_2eproto; - - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 54, 2> - _table_; - - 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_; -}; -// ------------------------------------------------------------------- - -class UpdateWorkResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.UpdateWorkResponse) */ { - public: - inline UpdateWorkResponse() : UpdateWorkResponse(nullptr) {} - ~UpdateWorkResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateWorkResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateWorkResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR UpdateWorkResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline UpdateWorkResponse(const UpdateWorkResponse& from) : UpdateWorkResponse(nullptr, from) {} - inline UpdateWorkResponse(UpdateWorkResponse&& from) noexcept - : UpdateWorkResponse(nullptr, std::move(from)) {} - inline UpdateWorkResponse& operator=(const UpdateWorkResponse& from) { - CopyFrom(from); - return *this; - } - inline UpdateWorkResponse& operator=(UpdateWorkResponse&& 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 UpdateWorkResponse& default_instance() { - return *internal_default_instance(); - } - static inline const UpdateWorkResponse* internal_default_instance() { - return reinterpret_cast( - &_UpdateWorkResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 6; - friend void swap(UpdateWorkResponse& a, UpdateWorkResponse& b) { a.Swap(&b); } - inline void Swap(UpdateWorkResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UpdateWorkResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UpdateWorkResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const UpdateWorkResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const UpdateWorkResponse& from) { UpdateWorkResponse::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(UpdateWorkResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.UpdateWorkResponse"; } - - protected: - explicit UpdateWorkResponse(::google::protobuf::Arena* arena); - UpdateWorkResponse(::google::protobuf::Arena* arena, const UpdateWorkResponse& from); - UpdateWorkResponse(::google::protobuf::Arena* arena, UpdateWorkResponse&& from) noexcept - : UpdateWorkResponse(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 { - kWorkFieldNumber = 1, - }; - // .flex.Work work = 1; - bool has_work() const; - void clear_work() ; - const ::flex::Work& work() const; - PROTOBUF_NODISCARD ::flex::Work* release_work(); - ::flex::Work* mutable_work(); - void set_allocated_work(::flex::Work* value); - void unsafe_arena_set_allocated_work(::flex::Work* value); - ::flex::Work* unsafe_arena_release_work(); - - private: - const ::flex::Work& _internal_work() const; - ::flex::Work* _internal_mutable_work(); - - public: - // @@protoc_insertion_point(class_scope:flex.UpdateWorkResponse) - 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 UpdateWorkResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::Work* work_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class SyncJob final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.SyncJob) */ { - public: - inline SyncJob() : SyncJob(nullptr) {} - ~SyncJob() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SyncJob* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SyncJob)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR SyncJob( - ::google::protobuf::internal::ConstantInitialized); - - inline SyncJob(const SyncJob& from) : SyncJob(nullptr, from) {} - inline SyncJob(SyncJob&& from) noexcept - : SyncJob(nullptr, std::move(from)) {} - inline SyncJob& operator=(const SyncJob& from) { - CopyFrom(from); - return *this; - } - inline SyncJob& operator=(SyncJob&& 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 SyncJob& default_instance() { - return *internal_default_instance(); - } - static inline const SyncJob* internal_default_instance() { - return reinterpret_cast( - &_SyncJob_default_instance_); - } - static constexpr int kIndexInFileMessages = 17; - friend void swap(SyncJob& a, SyncJob& b) { a.Swap(&b); } - inline void Swap(SyncJob* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SyncJob* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SyncJob* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SyncJob& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SyncJob& from) { SyncJob::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(SyncJob* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.SyncJob"; } - - protected: - explicit SyncJob(::google::protobuf::Arena* arena); - SyncJob(::google::protobuf::Arena* arena, const SyncJob& from); - SyncJob(::google::protobuf::Arena* arena, SyncJob&& from) noexcept - : SyncJob(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 Operation = SyncJob_Operation; - static constexpr Operation UNSPECIFIED = SyncJob_Operation_UNSPECIFIED; - static constexpr Operation UPLOAD = SyncJob_Operation_UPLOAD; - static constexpr Operation DOWNLOAD = SyncJob_Operation_DOWNLOAD; - static inline bool Operation_IsValid(int value) { - return SyncJob_Operation_IsValid(value); - } - static constexpr Operation Operation_MIN = SyncJob_Operation_Operation_MIN; - static constexpr Operation Operation_MAX = SyncJob_Operation_Operation_MAX; - static constexpr int Operation_ARRAYSIZE = SyncJob_Operation_Operation_ARRAYSIZE; - static inline const ::google::protobuf::EnumDescriptor* Operation_descriptor() { - return SyncJob_Operation_descriptor(); - } - template - static inline const std::string& Operation_Name(T value) { - return SyncJob_Operation_Name(value); - } - static inline bool Operation_Parse(absl::string_view name, Operation* value) { - return SyncJob_Operation_Parse(name, value); - } - - // accessors ------------------------------------------------------- - enum : int { - kMetadataFieldNumber = 9, - kRemotePathFieldNumber = 3, - kTaggingFieldNumber = 10, - kStorageClassFieldNumber = 12, - kLockedInfoFieldNumber = 6, - kOperationFieldNumber = 1, - kOverwriteFieldNumber = 2, - kFlattenFieldNumber = 5, - kUpdateFieldNumber = 7, - kAllowRestoreFieldNumber = 13, - }; - // map metadata = 9; - int metadata_size() const; - private: - int _internal_metadata_size() const; - - public: - void clear_metadata() ; - const ::google::protobuf::Map& metadata() const; - ::google::protobuf::Map* mutable_metadata(); - - private: - const ::google::protobuf::Map& _internal_metadata() const; - ::google::protobuf::Map* _internal_mutable_metadata(); - - public: - // string remote_path = 3; - void clear_remote_path() ; - const std::string& remote_path() const; - template - void set_remote_path(Arg_&& arg, Args_... args); - std::string* mutable_remote_path(); - PROTOBUF_NODISCARD std::string* release_remote_path(); - void set_allocated_remote_path(std::string* value); - - private: - const std::string& _internal_remote_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_remote_path( - const std::string& value); - std::string* _internal_mutable_remote_path(); - - public: - // optional string tagging = 10; - bool has_tagging() const; - void clear_tagging() ; - const std::string& tagging() const; - template - void set_tagging(Arg_&& arg, Args_... args); - std::string* mutable_tagging(); - PROTOBUF_NODISCARD std::string* release_tagging(); - void set_allocated_tagging(std::string* value); - - private: - const std::string& _internal_tagging() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_tagging( - const std::string& value); - std::string* _internal_mutable_tagging(); - - public: - // optional string storage_class = 12; - bool has_storage_class() const; - void clear_storage_class() ; - const std::string& storage_class() const; - template - void set_storage_class(Arg_&& arg, Args_... args); - std::string* mutable_storage_class(); - PROTOBUF_NODISCARD std::string* release_storage_class(); - void set_allocated_storage_class(std::string* value); - - private: - const std::string& _internal_storage_class() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_storage_class( - const std::string& value); - std::string* _internal_mutable_storage_class(); - - public: - // .flex.JobLockedInfo locked_info = 6; - bool has_locked_info() const; - void clear_locked_info() ; - const ::flex::JobLockedInfo& locked_info() const; - PROTOBUF_NODISCARD ::flex::JobLockedInfo* release_locked_info(); - ::flex::JobLockedInfo* mutable_locked_info(); - void set_allocated_locked_info(::flex::JobLockedInfo* value); - void unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* value); - ::flex::JobLockedInfo* unsafe_arena_release_locked_info(); - - private: - const ::flex::JobLockedInfo& _internal_locked_info() const; - ::flex::JobLockedInfo* _internal_mutable_locked_info(); - - public: - // .flex.SyncJob.Operation operation = 1; - void clear_operation() ; - ::flex::SyncJob_Operation operation() const; - void set_operation(::flex::SyncJob_Operation value); - - private: - ::flex::SyncJob_Operation _internal_operation() const; - void _internal_set_operation(::flex::SyncJob_Operation value); - - public: - // bool overwrite = 2; - void clear_overwrite() ; - bool overwrite() const; - void set_overwrite(bool value); - - private: - bool _internal_overwrite() const; - void _internal_set_overwrite(bool value); - - public: - // bool flatten = 5; - void clear_flatten() ; - bool flatten() const; - void set_flatten(bool value); - - private: - bool _internal_flatten() const; - void _internal_set_flatten(bool value); - - public: - // optional bool update = 7; - bool has_update() const; - void clear_update() ; - bool update() const; - void set_update(bool value); - - private: - bool _internal_update() const; - void _internal_set_update(bool value); - - public: - // optional bool allow_restore = 13; - bool has_allow_restore() const; - void clear_allow_restore() ; - bool allow_restore() const; - void set_allow_restore(bool value); - - private: - bool _internal_allow_restore() const; - void _internal_set_allow_restore(bool value); - - public: - // @@protoc_insertion_point(class_scope:flex.SyncJob) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 10, 2, - 68, 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 SyncJob& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::MapField - metadata_; - ::google::protobuf::internal::ArenaStringPtr remote_path_; - ::google::protobuf::internal::ArenaStringPtr tagging_; - ::google::protobuf::internal::ArenaStringPtr storage_class_; - ::flex::JobLockedInfo* locked_info_; - int operation_; - bool overwrite_; - bool flatten_; - bool update_; - bool allow_restore_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class SubmitWorkResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.SubmitWorkResponse) */ { - public: - inline SubmitWorkResponse() : SubmitWorkResponse(nullptr) {} - ~SubmitWorkResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubmitWorkResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubmitWorkResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR SubmitWorkResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline SubmitWorkResponse(const SubmitWorkResponse& from) : SubmitWorkResponse(nullptr, from) {} - inline SubmitWorkResponse(SubmitWorkResponse&& from) noexcept - : SubmitWorkResponse(nullptr, std::move(from)) {} - inline SubmitWorkResponse& operator=(const SubmitWorkResponse& from) { - CopyFrom(from); - return *this; - } - inline SubmitWorkResponse& operator=(SubmitWorkResponse&& 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 SubmitWorkResponse& default_instance() { - return *internal_default_instance(); - } - static inline const SubmitWorkResponse* internal_default_instance() { - return reinterpret_cast( - &_SubmitWorkResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 4; - friend void swap(SubmitWorkResponse& a, SubmitWorkResponse& b) { a.Swap(&b); } - inline void Swap(SubmitWorkResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubmitWorkResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubmitWorkResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SubmitWorkResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SubmitWorkResponse& from) { SubmitWorkResponse::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(SubmitWorkResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.SubmitWorkResponse"; } - - protected: - explicit SubmitWorkResponse(::google::protobuf::Arena* arena); - SubmitWorkResponse(::google::protobuf::Arena* arena, const SubmitWorkResponse& from); - SubmitWorkResponse(::google::protobuf::Arena* arena, SubmitWorkResponse&& from) noexcept - : SubmitWorkResponse(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 { - kWorkFieldNumber = 1, - }; - // .flex.Work work = 1; - bool has_work() const; - void clear_work() ; - const ::flex::Work& work() const; - PROTOBUF_NODISCARD ::flex::Work* release_work(); - ::flex::Work* mutable_work(); - void set_allocated_work(::flex::Work* value); - void unsafe_arena_set_allocated_work(::flex::Work* value); - ::flex::Work* unsafe_arena_release_work(); - - private: - const ::flex::Work& _internal_work() const; - ::flex::Work* _internal_mutable_work(); - - public: - // @@protoc_insertion_point(class_scope:flex.SubmitWorkResponse) - 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 SubmitWorkResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::Work* work_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class RemoteStorageTarget_S3 final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget.S3) */ { - public: - inline RemoteStorageTarget_S3() : RemoteStorageTarget_S3(nullptr) {} - ~RemoteStorageTarget_S3() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_S3* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget_S3)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR RemoteStorageTarget_S3( - ::google::protobuf::internal::ConstantInitialized); - - inline RemoteStorageTarget_S3(const RemoteStorageTarget_S3& from) : RemoteStorageTarget_S3(nullptr, from) {} - inline RemoteStorageTarget_S3(RemoteStorageTarget_S3&& from) noexcept - : RemoteStorageTarget_S3(nullptr, std::move(from)) {} - inline RemoteStorageTarget_S3& operator=(const RemoteStorageTarget_S3& from) { - CopyFrom(from); - return *this; - } - inline RemoteStorageTarget_S3& operator=(RemoteStorageTarget_S3&& 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 RemoteStorageTarget_S3& default_instance() { - return *internal_default_instance(); - } - static inline const RemoteStorageTarget_S3* internal_default_instance() { - return reinterpret_cast( - &_RemoteStorageTarget_S3_default_instance_); - } - static constexpr int kIndexInFileMessages = 27; - friend void swap(RemoteStorageTarget_S3& a, RemoteStorageTarget_S3& b) { a.Swap(&b); } - inline void Swap(RemoteStorageTarget_S3* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RemoteStorageTarget_S3* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RemoteStorageTarget_S3* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RemoteStorageTarget_S3& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RemoteStorageTarget_S3& from) { RemoteStorageTarget_S3::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(RemoteStorageTarget_S3* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget.S3"; } - - protected: - explicit RemoteStorageTarget_S3(::google::protobuf::Arena* arena); - RemoteStorageTarget_S3(::google::protobuf::Arena* arena, const RemoteStorageTarget_S3& from); - RemoteStorageTarget_S3(::google::protobuf::Arena* arena, RemoteStorageTarget_S3&& from) noexcept - : RemoteStorageTarget_S3(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 StorageClass = RemoteStorageTarget_S3_StorageClass; - - // accessors ------------------------------------------------------- - enum : int { - kStorageClassFieldNumber = 8, - kEndpointUrlFieldNumber = 1, - kPartitionIdFieldNumber = 2, - kRegionFieldNumber = 3, - kBucketFieldNumber = 4, - kAccessKeyFieldNumber = 5, - kSecretKeyFieldNumber = 6, - }; - // repeated .flex.RemoteStorageTarget.S3.StorageClass storage_class = 8; - int storage_class_size() const; - private: - int _internal_storage_class_size() const; - - public: - void clear_storage_class() ; - ::flex::RemoteStorageTarget_S3_StorageClass* mutable_storage_class(int index); - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>* mutable_storage_class(); - - private: - const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>& _internal_storage_class() const; - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>* _internal_mutable_storage_class(); - public: - const ::flex::RemoteStorageTarget_S3_StorageClass& storage_class(int index) const; - ::flex::RemoteStorageTarget_S3_StorageClass* add_storage_class(); - const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>& storage_class() const; - // string endpoint_url = 1; - void clear_endpoint_url() ; - const std::string& endpoint_url() const; - template - void set_endpoint_url(Arg_&& arg, Args_... args); - std::string* mutable_endpoint_url(); - PROTOBUF_NODISCARD std::string* release_endpoint_url(); - void set_allocated_endpoint_url(std::string* value); - - private: - const std::string& _internal_endpoint_url() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_endpoint_url( - const std::string& value); - std::string* _internal_mutable_endpoint_url(); - - public: - // string partition_id = 2; - void clear_partition_id() ; - const std::string& partition_id() const; - template - void set_partition_id(Arg_&& arg, Args_... args); - std::string* mutable_partition_id(); - PROTOBUF_NODISCARD std::string* release_partition_id(); - void set_allocated_partition_id(std::string* value); - - private: - const std::string& _internal_partition_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_partition_id( - const std::string& value); - std::string* _internal_mutable_partition_id(); - - public: - // string region = 3; - void clear_region() ; - const std::string& region() const; - template - void set_region(Arg_&& arg, Args_... args); - std::string* mutable_region(); - PROTOBUF_NODISCARD std::string* release_region(); - void set_allocated_region(std::string* value); - - private: - const std::string& _internal_region() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_region( - const std::string& value); - std::string* _internal_mutable_region(); - - public: - // string bucket = 4; - void clear_bucket() ; - const std::string& bucket() const; - template - void set_bucket(Arg_&& arg, Args_... args); - std::string* mutable_bucket(); - PROTOBUF_NODISCARD std::string* release_bucket(); - void set_allocated_bucket(std::string* value); - - private: - const std::string& _internal_bucket() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_bucket( - const std::string& value); - std::string* _internal_mutable_bucket(); - - public: - // string access_key = 5; - void clear_access_key() ; - const std::string& access_key() const; - template - void set_access_key(Arg_&& arg, Args_... args); - std::string* mutable_access_key(); - PROTOBUF_NODISCARD std::string* release_access_key(); - void set_allocated_access_key(std::string* value); - - private: - const std::string& _internal_access_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_access_key( - const std::string& value); - std::string* _internal_mutable_access_key(); - - public: - // string secret_key = 6; - void clear_secret_key() ; - const std::string& secret_key() const; - template - void set_secret_key(Arg_&& arg, Args_... args); - std::string* mutable_secret_key(); - PROTOBUF_NODISCARD std::string* release_secret_key(); - void set_allocated_secret_key(std::string* value); - - private: - const std::string& _internal_secret_key() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_secret_key( - const std::string& value); - std::string* _internal_mutable_secret_key(); - - public: - // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget.S3) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 7, 1, - 92, 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 RemoteStorageTarget_S3& from_msg); - ::google::protobuf::RepeatedPtrField< ::flex::RemoteStorageTarget_S3_StorageClass > storage_class_; - ::google::protobuf::internal::ArenaStringPtr endpoint_url_; - ::google::protobuf::internal::ArenaStringPtr partition_id_; - ::google::protobuf::internal::ArenaStringPtr region_; - ::google::protobuf::internal::ArenaStringPtr bucket_; - ::google::protobuf::internal::ArenaStringPtr access_key_; - ::google::protobuf::internal::ArenaStringPtr secret_key_; - ::google::protobuf::internal::CachedSize _cached_size_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class JobRequestCfg final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.JobRequestCfg) */ { - public: - inline JobRequestCfg() : JobRequestCfg(nullptr) {} - ~JobRequestCfg() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(JobRequestCfg* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(JobRequestCfg)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR JobRequestCfg( - ::google::protobuf::internal::ConstantInitialized); - - inline JobRequestCfg(const JobRequestCfg& from) : JobRequestCfg(nullptr, from) {} - inline JobRequestCfg(JobRequestCfg&& from) noexcept - : JobRequestCfg(nullptr, std::move(from)) {} - inline JobRequestCfg& operator=(const JobRequestCfg& from) { - CopyFrom(from); - return *this; - } - inline JobRequestCfg& operator=(JobRequestCfg&& 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 JobRequestCfg& default_instance() { - return *internal_default_instance(); - } - static inline const JobRequestCfg* internal_default_instance() { - return reinterpret_cast( - &_JobRequestCfg_default_instance_); - } - static constexpr int kIndexInFileMessages = 11; - friend void swap(JobRequestCfg& a, JobRequestCfg& b) { a.Swap(&b); } - inline void Swap(JobRequestCfg* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(JobRequestCfg* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - JobRequestCfg* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const JobRequestCfg& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const JobRequestCfg& from) { JobRequestCfg::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(JobRequestCfg* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.JobRequestCfg"; } - - protected: - explicit JobRequestCfg(::google::protobuf::Arena* arena); - JobRequestCfg(::google::protobuf::Arena* arena, const JobRequestCfg& from); - JobRequestCfg(::google::protobuf::Arena* arena, JobRequestCfg&& from) noexcept - : JobRequestCfg(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 { - kMetadataFieldNumber = 13, - kPathFieldNumber = 2, - kRemotePathFieldNumber = 3, - kStorageClassFieldNumber = 12, - kTaggingFieldNumber = 14, - kFilterExprFieldNumber = 16, - kLockedInfoFieldNumber = 9, - kRemoteStorageTargetFieldNumber = 1, - kDownloadFieldNumber = 4, - kStubLocalFieldNumber = 5, - kOverwriteFieldNumber = 6, - kFlattenFieldNumber = 7, - kPriorityFieldNumber = 11, - kForceFieldNumber = 8, - kUpdateFieldNumber = 10, - kAllowRestoreFieldNumber = 15, - }; - // map metadata = 13; - int metadata_size() const; - private: - int _internal_metadata_size() const; - - public: - void clear_metadata() ; - const ::google::protobuf::Map& metadata() const; - ::google::protobuf::Map* mutable_metadata(); - - private: - const ::google::protobuf::Map& _internal_metadata() const; - ::google::protobuf::Map* _internal_mutable_metadata(); - - public: - // string path = 2; - void clear_path() ; - const std::string& path() const; - template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); - - private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( - const std::string& value); - std::string* _internal_mutable_path(); - - public: - // string remotePath = 3; - void clear_remotepath() ; - const std::string& remotepath() const; - template - void set_remotepath(Arg_&& arg, Args_... args); - std::string* mutable_remotepath(); - PROTOBUF_NODISCARD std::string* release_remotepath(); - void set_allocated_remotepath(std::string* value); - - private: - const std::string& _internal_remotepath() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_remotepath( - const std::string& value); - std::string* _internal_mutable_remotepath(); - - public: - // optional string storage_class = 12; - bool has_storage_class() const; - void clear_storage_class() ; - const std::string& storage_class() const; - template - void set_storage_class(Arg_&& arg, Args_... args); - std::string* mutable_storage_class(); - PROTOBUF_NODISCARD std::string* release_storage_class(); - void set_allocated_storage_class(std::string* value); - - private: - const std::string& _internal_storage_class() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_storage_class( - const std::string& value); - std::string* _internal_mutable_storage_class(); - - public: - // optional string tagging = 14; - bool has_tagging() const; - void clear_tagging() ; - const std::string& tagging() const; - template - void set_tagging(Arg_&& arg, Args_... args); - std::string* mutable_tagging(); - PROTOBUF_NODISCARD std::string* release_tagging(); - void set_allocated_tagging(std::string* value); - - private: - const std::string& _internal_tagging() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_tagging( - const std::string& value); - std::string* _internal_mutable_tagging(); - - public: - // optional string filter_expr = 16; - bool has_filter_expr() const; - void clear_filter_expr() ; - const std::string& filter_expr() const; - template - void set_filter_expr(Arg_&& arg, Args_... args); - std::string* mutable_filter_expr(); - PROTOBUF_NODISCARD std::string* release_filter_expr(); - void set_allocated_filter_expr(std::string* value); - - private: - const std::string& _internal_filter_expr() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_filter_expr( - const std::string& value); - std::string* _internal_mutable_filter_expr(); - - public: - // .flex.JobLockedInfo locked_info = 9; - bool has_locked_info() const; - void clear_locked_info() ; - const ::flex::JobLockedInfo& locked_info() const; - PROTOBUF_NODISCARD ::flex::JobLockedInfo* release_locked_info(); - ::flex::JobLockedInfo* mutable_locked_info(); - void set_allocated_locked_info(::flex::JobLockedInfo* value); - void unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* value); - ::flex::JobLockedInfo* unsafe_arena_release_locked_info(); - - private: - const ::flex::JobLockedInfo& _internal_locked_info() const; - ::flex::JobLockedInfo* _internal_mutable_locked_info(); - - public: - // uint32 remoteStorageTarget = 1; - void clear_remotestoragetarget() ; - ::uint32_t remotestoragetarget() const; - void set_remotestoragetarget(::uint32_t value); - - private: - ::uint32_t _internal_remotestoragetarget() const; - void _internal_set_remotestoragetarget(::uint32_t value); - - public: - // bool download = 4; - void clear_download() ; - bool download() const; - void set_download(bool value); - - private: - bool _internal_download() const; - void _internal_set_download(bool value); - - public: - // bool stub_local = 5; - void clear_stub_local() ; - bool stub_local() const; - void set_stub_local(bool value); - - private: - bool _internal_stub_local() const; - void _internal_set_stub_local(bool value); - - public: - // bool overwrite = 6; - void clear_overwrite() ; - bool overwrite() const; - void set_overwrite(bool value); - - private: - bool _internal_overwrite() const; - void _internal_set_overwrite(bool value); - - public: - // bool flatten = 7; - void clear_flatten() ; - bool flatten() const; - void set_flatten(bool value); - - private: - bool _internal_flatten() const; - void _internal_set_flatten(bool value); - - public: - // optional int32 priority = 11; - bool has_priority() const; - void clear_priority() ; - ::int32_t priority() const; - void set_priority(::int32_t value); - - private: - ::int32_t _internal_priority() const; - void _internal_set_priority(::int32_t value); - - public: - // bool force = 8; - void clear_force() ; - bool force() const; - void set_force(bool value); - - private: - bool _internal_force() const; - void _internal_set_force(bool value); - - public: - // optional bool update = 10; - bool has_update() const; - void clear_update() ; - bool update() const; - void set_update(bool value); - - private: - bool _internal_update() const; - void _internal_set_update(bool value); - - public: - // optional bool allow_restore = 15; - bool has_allow_restore() const; - void clear_allow_restore() ; - bool allow_restore() const; - void set_allow_restore(bool value); - - private: - bool _internal_allow_restore() const; - void _internal_set_allow_restore(bool value); - - public: - // @@protoc_insertion_point(class_scope:flex.JobRequestCfg) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 16, 2, - 96, 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 JobRequestCfg& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::MapField - metadata_; - ::google::protobuf::internal::ArenaStringPtr path_; - ::google::protobuf::internal::ArenaStringPtr remotepath_; - ::google::protobuf::internal::ArenaStringPtr storage_class_; - ::google::protobuf::internal::ArenaStringPtr tagging_; - ::google::protobuf::internal::ArenaStringPtr filter_expr_; - ::flex::JobLockedInfo* locked_info_; - ::uint32_t remotestoragetarget_; - bool download_; - bool stub_local_; - bool overwrite_; - bool flatten_; - ::int32_t priority_; - bool force_; - bool update_; - bool allow_restore_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class HeartbeatResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.HeartbeatResponse) */ { - public: - inline HeartbeatResponse() : HeartbeatResponse(nullptr) {} - ~HeartbeatResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(HeartbeatResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(HeartbeatResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR HeartbeatResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline HeartbeatResponse(const HeartbeatResponse& from) : HeartbeatResponse(nullptr, from) {} - inline HeartbeatResponse(HeartbeatResponse&& from) noexcept - : HeartbeatResponse(nullptr, std::move(from)) {} - inline HeartbeatResponse& operator=(const HeartbeatResponse& from) { - CopyFrom(from); - return *this; - } - inline HeartbeatResponse& operator=(HeartbeatResponse&& 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 HeartbeatResponse& default_instance() { - return *internal_default_instance(); - } - static inline const HeartbeatResponse* internal_default_instance() { - return reinterpret_cast( - &_HeartbeatResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 1; - friend void swap(HeartbeatResponse& a, HeartbeatResponse& b) { a.Swap(&b); } - inline void Swap(HeartbeatResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(HeartbeatResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - HeartbeatResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const HeartbeatResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const HeartbeatResponse& from) { HeartbeatResponse::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(HeartbeatResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.HeartbeatResponse"; } - - protected: - explicit HeartbeatResponse(::google::protobuf::Arena* arena); - HeartbeatResponse(::google::protobuf::Arena* arena, const HeartbeatResponse& from); - HeartbeatResponse(::google::protobuf::Arena* arena, HeartbeatResponse&& from) noexcept - : HeartbeatResponse(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 { - kNodeStatsFieldNumber = 2, - kIsReadyFieldNumber = 1, - }; - // .flex.NodeStats node_stats = 2; - bool has_node_stats() const; - void clear_node_stats() ; - const ::flex::NodeStats& node_stats() const; - PROTOBUF_NODISCARD ::flex::NodeStats* release_node_stats(); - ::flex::NodeStats* mutable_node_stats(); - void set_allocated_node_stats(::flex::NodeStats* value); - void unsafe_arena_set_allocated_node_stats(::flex::NodeStats* value); - ::flex::NodeStats* unsafe_arena_release_node_stats(); - - private: - const ::flex::NodeStats& _internal_node_stats() const; - ::flex::NodeStats* _internal_mutable_node_stats(); - - public: - // bool is_ready = 1; - void clear_is_ready() ; - bool is_ready() const; - void set_is_ready(bool value); - - private: - bool _internal_is_ready() const; - void _internal_set_is_ready(bool value); - - public: - // @@protoc_insertion_point(class_scope:flex.HeartbeatResponse) - 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 HeartbeatResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::NodeStats* node_stats_; - bool is_ready_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class GetCapabilitiesResponse final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.GetCapabilitiesResponse) */ { - public: - inline GetCapabilitiesResponse() : GetCapabilitiesResponse(nullptr) {} - ~GetCapabilitiesResponse() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(GetCapabilitiesResponse* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(GetCapabilitiesResponse)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR GetCapabilitiesResponse( - ::google::protobuf::internal::ConstantInitialized); - - inline GetCapabilitiesResponse(const GetCapabilitiesResponse& from) : GetCapabilitiesResponse(nullptr, from) {} - inline GetCapabilitiesResponse(GetCapabilitiesResponse&& from) noexcept - : GetCapabilitiesResponse(nullptr, std::move(from)) {} - inline GetCapabilitiesResponse& operator=(const GetCapabilitiesResponse& from) { - CopyFrom(from); - return *this; - } - inline GetCapabilitiesResponse& operator=(GetCapabilitiesResponse&& 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 GetCapabilitiesResponse& default_instance() { - return *internal_default_instance(); - } - static inline const GetCapabilitiesResponse* internal_default_instance() { - return reinterpret_cast( - &_GetCapabilitiesResponse_default_instance_); - } - static constexpr int kIndexInFileMessages = 33; - friend void swap(GetCapabilitiesResponse& a, GetCapabilitiesResponse& b) { a.Swap(&b); } - inline void Swap(GetCapabilitiesResponse* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(GetCapabilitiesResponse* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - GetCapabilitiesResponse* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const GetCapabilitiesResponse& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const GetCapabilitiesResponse& from) { GetCapabilitiesResponse::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(GetCapabilitiesResponse* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.GetCapabilitiesResponse"; } - - protected: - explicit GetCapabilitiesResponse(::google::protobuf::Arena* arena); - GetCapabilitiesResponse(::google::protobuf::Arena* arena, const GetCapabilitiesResponse& from); - GetCapabilitiesResponse(::google::protobuf::Arena* arena, GetCapabilitiesResponse&& from) noexcept - : GetCapabilitiesResponse(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 { - kFeaturesFieldNumber = 2, - kBuildInfoFieldNumber = 1, - kStartTimestampFieldNumber = 3, - }; - // map features = 2; - int features_size() const; - private: - int _internal_features_size() const; - - public: - void clear_features() ; - const ::google::protobuf::Map& features() const; - ::google::protobuf::Map* mutable_features(); - - private: - const ::google::protobuf::Map& _internal_features() const; - ::google::protobuf::Map* _internal_mutable_features(); - - public: - // .flex.BuildInfo build_info = 1; - bool has_build_info() const; - void clear_build_info() ; - const ::flex::BuildInfo& build_info() const; - PROTOBUF_NODISCARD ::flex::BuildInfo* release_build_info(); - ::flex::BuildInfo* mutable_build_info(); - void set_allocated_build_info(::flex::BuildInfo* value); - void unsafe_arena_set_allocated_build_info(::flex::BuildInfo* value); - ::flex::BuildInfo* unsafe_arena_release_build_info(); - - private: - const ::flex::BuildInfo& _internal_build_info() const; - ::flex::BuildInfo* _internal_mutable_build_info(); - - public: - // .google.protobuf.Timestamp start_timestamp = 3; - bool has_start_timestamp() const; - void clear_start_timestamp() ; - const ::google::protobuf::Timestamp& start_timestamp() const; - PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_start_timestamp(); - ::google::protobuf::Timestamp* mutable_start_timestamp(); - void set_allocated_start_timestamp(::google::protobuf::Timestamp* value); - void unsafe_arena_set_allocated_start_timestamp(::google::protobuf::Timestamp* value); - ::google::protobuf::Timestamp* unsafe_arena_release_start_timestamp(); - - private: - const ::google::protobuf::Timestamp& _internal_start_timestamp() const; - ::google::protobuf::Timestamp* _internal_mutable_start_timestamp(); - - public: - // @@protoc_insertion_point(class_scope:flex.GetCapabilitiesResponse) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 3, 4, - 45, 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 GetCapabilitiesResponse& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::MapField - features_; - ::flex::BuildInfo* build_info_; - ::google::protobuf::Timestamp* start_timestamp_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class RemoteStorageTarget_Azure final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget.Azure) */ { - public: - inline RemoteStorageTarget_Azure() : RemoteStorageTarget_Azure(nullptr) {} - ~RemoteStorageTarget_Azure() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget_Azure* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget_Azure)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR RemoteStorageTarget_Azure( - ::google::protobuf::internal::ConstantInitialized); - - inline RemoteStorageTarget_Azure(const RemoteStorageTarget_Azure& from) : RemoteStorageTarget_Azure(nullptr, from) {} - inline RemoteStorageTarget_Azure(RemoteStorageTarget_Azure&& from) noexcept - : RemoteStorageTarget_Azure(nullptr, std::move(from)) {} - inline RemoteStorageTarget_Azure& operator=(const RemoteStorageTarget_Azure& from) { - CopyFrom(from); - return *this; - } - inline RemoteStorageTarget_Azure& operator=(RemoteStorageTarget_Azure&& 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 RemoteStorageTarget_Azure& default_instance() { - return *internal_default_instance(); - } - static inline const RemoteStorageTarget_Azure* internal_default_instance() { - return reinterpret_cast( - &_RemoteStorageTarget_Azure_default_instance_); - } - static constexpr int kIndexInFileMessages = 28; - friend void swap(RemoteStorageTarget_Azure& a, RemoteStorageTarget_Azure& b) { a.Swap(&b); } - inline void Swap(RemoteStorageTarget_Azure* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RemoteStorageTarget_Azure* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RemoteStorageTarget_Azure* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RemoteStorageTarget_Azure& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RemoteStorageTarget_Azure& from) { RemoteStorageTarget_Azure::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(RemoteStorageTarget_Azure* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget.Azure"; } - - protected: - explicit RemoteStorageTarget_Azure(::google::protobuf::Arena* arena); - RemoteStorageTarget_Azure(::google::protobuf::Arena* arena, const RemoteStorageTarget_Azure& from); - RemoteStorageTarget_Azure(::google::protobuf::Arena* arena, RemoteStorageTarget_Azure&& from) noexcept - : RemoteStorageTarget_Azure(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 { - kAccountFieldNumber = 2, - kS3FieldNumber = 1, - }; - // string account = 2; - void clear_account() ; - const std::string& account() const; - template - void set_account(Arg_&& arg, Args_... args); - std::string* mutable_account(); - PROTOBUF_NODISCARD std::string* release_account(); - void set_allocated_account(std::string* value); - - private: - const std::string& _internal_account() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_account( - const std::string& value); - std::string* _internal_mutable_account(); - - public: - // .flex.RemoteStorageTarget.S3 s3 = 1; - bool has_s3() const; - void clear_s3() ; - const ::flex::RemoteStorageTarget_S3& s3() const; - PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_S3* release_s3(); - ::flex::RemoteStorageTarget_S3* mutable_s3(); - void set_allocated_s3(::flex::RemoteStorageTarget_S3* value); - void unsafe_arena_set_allocated_s3(::flex::RemoteStorageTarget_S3* value); - ::flex::RemoteStorageTarget_S3* unsafe_arena_release_s3(); - - private: - const ::flex::RemoteStorageTarget_S3& _internal_s3() const; - ::flex::RemoteStorageTarget_S3* _internal_mutable_s3(); - - public: - // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget.Azure) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 1, - 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 RemoteStorageTarget_Azure& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr account_; - ::flex::RemoteStorageTarget_S3* s3_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class MockJob final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.MockJob) */ { - public: - inline MockJob() : MockJob(nullptr) {} - ~MockJob() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(MockJob* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(MockJob)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR MockJob( - ::google::protobuf::internal::ConstantInitialized); - - inline MockJob(const MockJob& from) : MockJob(nullptr, from) {} - inline MockJob(MockJob&& from) noexcept - : MockJob(nullptr, std::move(from)) {} - inline MockJob& operator=(const MockJob& from) { - CopyFrom(from); - return *this; - } - inline MockJob& operator=(MockJob&& 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 MockJob& default_instance() { - return *internal_default_instance(); - } - static inline const MockJob* internal_default_instance() { - return reinterpret_cast( - &_MockJob_default_instance_); - } - static constexpr int kIndexInFileMessages = 15; - friend void swap(MockJob& a, MockJob& b) { a.Swap(&b); } - inline void Swap(MockJob* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(MockJob* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - MockJob* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const MockJob& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const MockJob& from) { MockJob::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(MockJob* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.MockJob"; } - - protected: - explicit MockJob(::google::protobuf::Arena* arena); - MockJob(::google::protobuf::Arena* arena, const MockJob& from); - MockJob(::google::protobuf::Arena* arena, MockJob&& from) noexcept - : MockJob(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 { - kExternalIdFieldNumber = 3, - kLockedInfoFieldNumber = 6, - kCfgFieldNumber = 7, - kFileSizeFieldNumber = 2, - kNumTestSegmentsFieldNumber = 1, - kShouldFailFieldNumber = 4, - }; - // string external_id = 3; - void clear_external_id() ; - const std::string& external_id() const; - template - void set_external_id(Arg_&& arg, Args_... args); - std::string* mutable_external_id(); - PROTOBUF_NODISCARD std::string* release_external_id(); - void set_allocated_external_id(std::string* value); - - private: - const std::string& _internal_external_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_external_id( - const std::string& value); - std::string* _internal_mutable_external_id(); - - public: - // .flex.JobLockedInfo locked_info = 6; - bool has_locked_info() const; - void clear_locked_info() ; - const ::flex::JobLockedInfo& locked_info() const; - PROTOBUF_NODISCARD ::flex::JobLockedInfo* release_locked_info(); - ::flex::JobLockedInfo* mutable_locked_info(); - void set_allocated_locked_info(::flex::JobLockedInfo* value); - void unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* value); - ::flex::JobLockedInfo* unsafe_arena_release_locked_info(); - - private: - const ::flex::JobLockedInfo& _internal_locked_info() const; - ::flex::JobLockedInfo* _internal_mutable_locked_info(); - - public: - // .flex.JobRequestCfg cfg = 7; - bool has_cfg() const; - void clear_cfg() ; - const ::flex::JobRequestCfg& cfg() const; - PROTOBUF_NODISCARD ::flex::JobRequestCfg* release_cfg(); - ::flex::JobRequestCfg* mutable_cfg(); - void set_allocated_cfg(::flex::JobRequestCfg* value); - void unsafe_arena_set_allocated_cfg(::flex::JobRequestCfg* value); - ::flex::JobRequestCfg* unsafe_arena_release_cfg(); - - private: - const ::flex::JobRequestCfg& _internal_cfg() const; - ::flex::JobRequestCfg* _internal_mutable_cfg(); - - public: - // int64 file_size = 2; - void clear_file_size() ; - ::int64_t file_size() const; - void set_file_size(::int64_t value); - - private: - ::int64_t _internal_file_size() const; - void _internal_set_file_size(::int64_t value); - - public: - // int32 num_test_segments = 1; - void clear_num_test_segments() ; - ::int32_t num_test_segments() const; - void set_num_test_segments(::int32_t value); - - private: - ::int32_t _internal_num_test_segments() const; - void _internal_set_num_test_segments(::int32_t value); - - public: - // bool should_fail = 4; - void clear_should_fail() ; - bool should_fail() const; - void set_should_fail(bool value); - - private: - bool _internal_should_fail() const; - void _internal_set_should_fail(bool value); - - public: - // @@protoc_insertion_point(class_scope:flex.MockJob) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 3, 6, 2, - 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 MockJob& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr external_id_; - ::flex::JobLockedInfo* locked_info_; - ::flex::JobRequestCfg* cfg_; - ::int64_t file_size_; - ::int32_t num_test_segments_; - bool should_fail_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class BuilderJob final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.BuilderJob) */ { - public: - inline BuilderJob() : BuilderJob(nullptr) {} - ~BuilderJob() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(BuilderJob* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(BuilderJob)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR BuilderJob( - ::google::protobuf::internal::ConstantInitialized); - - inline BuilderJob(const BuilderJob& from) : BuilderJob(nullptr, from) {} - inline BuilderJob(BuilderJob&& from) noexcept - : BuilderJob(nullptr, std::move(from)) {} - inline BuilderJob& operator=(const BuilderJob& from) { - CopyFrom(from); - return *this; - } - inline BuilderJob& operator=(BuilderJob&& 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 BuilderJob& default_instance() { - return *internal_default_instance(); - } - static inline const BuilderJob* internal_default_instance() { - return reinterpret_cast( - &_BuilderJob_default_instance_); - } - static constexpr int kIndexInFileMessages = 14; - friend void swap(BuilderJob& a, BuilderJob& b) { a.Swap(&b); } - inline void Swap(BuilderJob* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(BuilderJob* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - BuilderJob* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const BuilderJob& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const BuilderJob& from) { BuilderJob::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(BuilderJob* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.BuilderJob"; } - - protected: - explicit BuilderJob(::google::protobuf::Arena* arena); - BuilderJob(::google::protobuf::Arena* arena, const BuilderJob& from); - BuilderJob(::google::protobuf::Arena* arena, BuilderJob&& from) noexcept - : BuilderJob(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 { - kCfgFieldNumber = 1, - kSubmittedFieldNumber = 2, - kErrorsFieldNumber = 3, - }; - // .flex.JobRequestCfg cfg = 1; - bool has_cfg() const; - void clear_cfg() ; - const ::flex::JobRequestCfg& cfg() const; - PROTOBUF_NODISCARD ::flex::JobRequestCfg* release_cfg(); - ::flex::JobRequestCfg* mutable_cfg(); - void set_allocated_cfg(::flex::JobRequestCfg* value); - void unsafe_arena_set_allocated_cfg(::flex::JobRequestCfg* value); - ::flex::JobRequestCfg* unsafe_arena_release_cfg(); - - private: - const ::flex::JobRequestCfg& _internal_cfg() const; - ::flex::JobRequestCfg* _internal_mutable_cfg(); - - public: - // int32 submitted = 2; - void clear_submitted() ; - ::int32_t submitted() const; - void set_submitted(::int32_t value); - - private: - ::int32_t _internal_submitted() const; - void _internal_set_submitted(::int32_t value); - - public: - // int32 errors = 3; - void clear_errors() ; - ::int32_t errors() const; - void set_errors(::int32_t value); - - private: - ::int32_t _internal_errors() const; - void _internal_set_errors(::int32_t value); - - public: - // @@protoc_insertion_point(class_scope:flex.BuilderJob) - 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 BuilderJob& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::JobRequestCfg* cfg_; - ::int32_t submitted_; - ::int32_t errors_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class WorkRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.WorkRequest) */ { - public: - inline WorkRequest() : WorkRequest(nullptr) {} - ~WorkRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(WorkRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(WorkRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR WorkRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline WorkRequest(const WorkRequest& from) : WorkRequest(nullptr, from) {} - inline WorkRequest(WorkRequest&& from) noexcept - : WorkRequest(nullptr, std::move(from)) {} - inline WorkRequest& operator=(const WorkRequest& from) { - CopyFrom(from); - return *this; - } - inline WorkRequest& operator=(WorkRequest&& 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 WorkRequest& default_instance() { - return *internal_default_instance(); - } - enum TypeCase { - kMock = 10, - kSync = 11, - kBuilder = 12, - TYPE_NOT_SET = 0, - }; - static inline const WorkRequest* internal_default_instance() { - return reinterpret_cast( - &_WorkRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 13; - friend void swap(WorkRequest& a, WorkRequest& b) { a.Swap(&b); } - inline void Swap(WorkRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(WorkRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - WorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const WorkRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const WorkRequest& from) { WorkRequest::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(WorkRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.WorkRequest"; } - - protected: - explicit WorkRequest(::google::protobuf::Arena* arena); - WorkRequest(::google::protobuf::Arena* arena, const WorkRequest& from); - WorkRequest(::google::protobuf::Arena* arena, WorkRequest&& from) noexcept - : WorkRequest(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 Segment = WorkRequest_Segment; - - // accessors ------------------------------------------------------- - enum : int { - kJobIdFieldNumber = 1, - kRequestIdFieldNumber = 2, - kExternalIdFieldNumber = 3, - kPathFieldNumber = 4, - kSegmentFieldNumber = 5, - kRemoteStorageTargetFieldNumber = 6, - kStubLocalFieldNumber = 8, - kPriorityFieldNumber = 9, - kMockFieldNumber = 10, - kSyncFieldNumber = 11, - kBuilderFieldNumber = 12, - }; - // string job_id = 1; - void clear_job_id() ; - const std::string& job_id() const; - template - void set_job_id(Arg_&& arg, Args_... args); - std::string* mutable_job_id(); - PROTOBUF_NODISCARD std::string* release_job_id(); - void set_allocated_job_id(std::string* value); - - private: - const std::string& _internal_job_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_job_id( - const std::string& value); - std::string* _internal_mutable_job_id(); - - public: - // string request_id = 2; - void clear_request_id() ; - const std::string& request_id() const; - template - void set_request_id(Arg_&& arg, Args_... args); - std::string* mutable_request_id(); - PROTOBUF_NODISCARD std::string* release_request_id(); - void set_allocated_request_id(std::string* value); - - private: - const std::string& _internal_request_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_request_id( - const std::string& value); - std::string* _internal_mutable_request_id(); - - public: - // string external_id = 3; - void clear_external_id() ; - const std::string& external_id() const; - template - void set_external_id(Arg_&& arg, Args_... args); - std::string* mutable_external_id(); - PROTOBUF_NODISCARD std::string* release_external_id(); - void set_allocated_external_id(std::string* value); - - private: - const std::string& _internal_external_id() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_external_id( - const std::string& value); - std::string* _internal_mutable_external_id(); - - public: - // string path = 4; - void clear_path() ; - const std::string& path() const; - template - void set_path(Arg_&& arg, Args_... args); - std::string* mutable_path(); - PROTOBUF_NODISCARD std::string* release_path(); - void set_allocated_path(std::string* value); - - private: - const std::string& _internal_path() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_path( - const std::string& value); - std::string* _internal_mutable_path(); - - public: - // .flex.WorkRequest.Segment segment = 5; - bool has_segment() const; - void clear_segment() ; - const ::flex::WorkRequest_Segment& segment() const; - PROTOBUF_NODISCARD ::flex::WorkRequest_Segment* release_segment(); - ::flex::WorkRequest_Segment* mutable_segment(); - void set_allocated_segment(::flex::WorkRequest_Segment* value); - void unsafe_arena_set_allocated_segment(::flex::WorkRequest_Segment* value); - ::flex::WorkRequest_Segment* unsafe_arena_release_segment(); - - private: - const ::flex::WorkRequest_Segment& _internal_segment() const; - ::flex::WorkRequest_Segment* _internal_mutable_segment(); - - public: - // uint32 remote_storage_target = 6; - void clear_remote_storage_target() ; - ::uint32_t remote_storage_target() const; - void set_remote_storage_target(::uint32_t value); - - private: - ::uint32_t _internal_remote_storage_target() const; - void _internal_set_remote_storage_target(::uint32_t value); - - public: - // bool stub_local = 8; - void clear_stub_local() ; - bool stub_local() const; - void set_stub_local(bool value); - - private: - bool _internal_stub_local() const; - void _internal_set_stub_local(bool value); - - public: - // optional int32 priority = 9; - bool has_priority() const; - void clear_priority() ; - ::int32_t priority() const; - void set_priority(::int32_t value); - - private: - ::int32_t _internal_priority() const; - void _internal_set_priority(::int32_t value); - - public: - // .flex.MockJob mock = 10; - bool has_mock() const; - private: - bool _internal_has_mock() const; - - public: - void clear_mock() ; - const ::flex::MockJob& mock() const; - PROTOBUF_NODISCARD ::flex::MockJob* release_mock(); - ::flex::MockJob* mutable_mock(); - void set_allocated_mock(::flex::MockJob* value); - void unsafe_arena_set_allocated_mock(::flex::MockJob* value); - ::flex::MockJob* unsafe_arena_release_mock(); - - private: - const ::flex::MockJob& _internal_mock() const; - ::flex::MockJob* _internal_mutable_mock(); - - public: - // .flex.SyncJob sync = 11; - bool has_sync() const; - private: - bool _internal_has_sync() const; - - public: - void clear_sync() ; - const ::flex::SyncJob& sync() const; - PROTOBUF_NODISCARD ::flex::SyncJob* release_sync(); - ::flex::SyncJob* mutable_sync(); - void set_allocated_sync(::flex::SyncJob* value); - void unsafe_arena_set_allocated_sync(::flex::SyncJob* value); - ::flex::SyncJob* unsafe_arena_release_sync(); - - private: - const ::flex::SyncJob& _internal_sync() const; - ::flex::SyncJob* _internal_mutable_sync(); - - public: - // .flex.BuilderJob builder = 12; - bool has_builder() const; - private: - bool _internal_has_builder() const; - - public: - void clear_builder() ; - const ::flex::BuilderJob& builder() const; - PROTOBUF_NODISCARD ::flex::BuilderJob* release_builder(); - ::flex::BuilderJob* mutable_builder(); - void set_allocated_builder(::flex::BuilderJob* value); - void unsafe_arena_set_allocated_builder(::flex::BuilderJob* value); - ::flex::BuilderJob* unsafe_arena_release_builder(); - - private: - const ::flex::BuilderJob& _internal_builder() const; - ::flex::BuilderJob* _internal_mutable_builder(); - - public: - void clear_Type(); - TypeCase Type_case() const; - // @@protoc_insertion_point(class_scope:flex.WorkRequest) - private: - class _Internal; - void set_has_mock(); - void set_has_sync(); - void set_has_builder(); - inline bool has_Type() const; - inline void clear_has_Type(); - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 4, 11, 4, - 64, 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 WorkRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr job_id_; - ::google::protobuf::internal::ArenaStringPtr request_id_; - ::google::protobuf::internal::ArenaStringPtr external_id_; - ::google::protobuf::internal::ArenaStringPtr path_; - ::flex::WorkRequest_Segment* segment_; - ::uint32_t remote_storage_target_; - bool stub_local_; - ::int32_t priority_; - union TypeUnion { - constexpr TypeUnion() : _constinit_{} {} - ::google::protobuf::internal::ConstantInitialized _constinit_; - ::flex::MockJob* mock_; - ::flex::SyncJob* sync_; - ::flex::BuilderJob* builder_; - } Type_; - ::uint32_t _oneof_case_[1]; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class RemoteStorageTarget final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.RemoteStorageTarget) */ { - public: - inline RemoteStorageTarget() : RemoteStorageTarget(nullptr) {} - ~RemoteStorageTarget() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(RemoteStorageTarget* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(RemoteStorageTarget)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR RemoteStorageTarget( - ::google::protobuf::internal::ConstantInitialized); - - inline RemoteStorageTarget(const RemoteStorageTarget& from) : RemoteStorageTarget(nullptr, from) {} - inline RemoteStorageTarget(RemoteStorageTarget&& from) noexcept - : RemoteStorageTarget(nullptr, std::move(from)) {} - inline RemoteStorageTarget& operator=(const RemoteStorageTarget& from) { - CopyFrom(from); - return *this; - } - inline RemoteStorageTarget& operator=(RemoteStorageTarget&& 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 RemoteStorageTarget& default_instance() { - return *internal_default_instance(); - } - enum TypeCase { - kS3 = 4, - kPosix = 5, - kAzure = 6, - kMock = 7, - TYPE_NOT_SET = 0, - }; - static inline const RemoteStorageTarget* internal_default_instance() { - return reinterpret_cast( - &_RemoteStorageTarget_default_instance_); - } - static constexpr int kIndexInFileMessages = 30; - friend void swap(RemoteStorageTarget& a, RemoteStorageTarget& b) { a.Swap(&b); } - inline void Swap(RemoteStorageTarget* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(RemoteStorageTarget* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - RemoteStorageTarget* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const RemoteStorageTarget& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const RemoteStorageTarget& from) { RemoteStorageTarget::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(RemoteStorageTarget* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.RemoteStorageTarget"; } - - protected: - explicit RemoteStorageTarget(::google::protobuf::Arena* arena); - RemoteStorageTarget(::google::protobuf::Arena* arena, const RemoteStorageTarget& from); - RemoteStorageTarget(::google::protobuf::Arena* arena, RemoteStorageTarget&& from) noexcept - : RemoteStorageTarget(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 Policies = RemoteStorageTarget_Policies; - using S3 = RemoteStorageTarget_S3; - using Azure = RemoteStorageTarget_Azure; - using POSIX = RemoteStorageTarget_POSIX; - - // accessors ------------------------------------------------------- - enum : int { - kNameFieldNumber = 2, - kPoliciesFieldNumber = 3, - kIdFieldNumber = 1, - kS3FieldNumber = 4, - kPosixFieldNumber = 5, - kAzureFieldNumber = 6, - kMockFieldNumber = 7, - }; - // 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: - // .flex.RemoteStorageTarget.Policies policies = 3; - bool has_policies() const; - void clear_policies() ; - const ::flex::RemoteStorageTarget_Policies& policies() const; - PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_Policies* release_policies(); - ::flex::RemoteStorageTarget_Policies* mutable_policies(); - void set_allocated_policies(::flex::RemoteStorageTarget_Policies* value); - void unsafe_arena_set_allocated_policies(::flex::RemoteStorageTarget_Policies* value); - ::flex::RemoteStorageTarget_Policies* unsafe_arena_release_policies(); - - private: - const ::flex::RemoteStorageTarget_Policies& _internal_policies() const; - ::flex::RemoteStorageTarget_Policies* _internal_mutable_policies(); - - public: - // uint32 id = 1; - void clear_id() ; - ::uint32_t id() const; - void set_id(::uint32_t value); - - private: - ::uint32_t _internal_id() const; - void _internal_set_id(::uint32_t value); - - public: - // .flex.RemoteStorageTarget.S3 s3 = 4; - bool has_s3() const; - private: - bool _internal_has_s3() const; - - public: - void clear_s3() ; - const ::flex::RemoteStorageTarget_S3& s3() const; - PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_S3* release_s3(); - ::flex::RemoteStorageTarget_S3* mutable_s3(); - void set_allocated_s3(::flex::RemoteStorageTarget_S3* value); - void unsafe_arena_set_allocated_s3(::flex::RemoteStorageTarget_S3* value); - ::flex::RemoteStorageTarget_S3* unsafe_arena_release_s3(); - - private: - const ::flex::RemoteStorageTarget_S3& _internal_s3() const; - ::flex::RemoteStorageTarget_S3* _internal_mutable_s3(); - - public: - // .flex.RemoteStorageTarget.POSIX posix = 5; - bool has_posix() const; - private: - bool _internal_has_posix() const; - - public: - void clear_posix() ; - const ::flex::RemoteStorageTarget_POSIX& posix() const; - PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_POSIX* release_posix(); - ::flex::RemoteStorageTarget_POSIX* mutable_posix(); - void set_allocated_posix(::flex::RemoteStorageTarget_POSIX* value); - void unsafe_arena_set_allocated_posix(::flex::RemoteStorageTarget_POSIX* value); - ::flex::RemoteStorageTarget_POSIX* unsafe_arena_release_posix(); - - private: - const ::flex::RemoteStorageTarget_POSIX& _internal_posix() const; - ::flex::RemoteStorageTarget_POSIX* _internal_mutable_posix(); - - public: - // .flex.RemoteStorageTarget.Azure azure = 6; - bool has_azure() const; - private: - bool _internal_has_azure() const; - - public: - void clear_azure() ; - const ::flex::RemoteStorageTarget_Azure& azure() const; - PROTOBUF_NODISCARD ::flex::RemoteStorageTarget_Azure* release_azure(); - ::flex::RemoteStorageTarget_Azure* mutable_azure(); - void set_allocated_azure(::flex::RemoteStorageTarget_Azure* value); - void unsafe_arena_set_allocated_azure(::flex::RemoteStorageTarget_Azure* value); - ::flex::RemoteStorageTarget_Azure* unsafe_arena_release_azure(); - - private: - const ::flex::RemoteStorageTarget_Azure& _internal_azure() const; - ::flex::RemoteStorageTarget_Azure* _internal_mutable_azure(); - - public: - // string mock = 7; - bool has_mock() const; - void clear_mock() ; - const std::string& mock() const; - template - void set_mock(Arg_&& arg, Args_... args); - std::string* mutable_mock(); - PROTOBUF_NODISCARD std::string* release_mock(); - void set_allocated_mock(std::string* value); - - private: - const std::string& _internal_mock() const; - inline PROTOBUF_ALWAYS_INLINE void _internal_set_mock( - const std::string& value); - std::string* _internal_mutable_mock(); - - public: - void clear_type(); - TypeCase type_case() const; - // @@protoc_insertion_point(class_scope:flex.RemoteStorageTarget) - private: - class _Internal; - void set_has_s3(); - void set_has_posix(); - void set_has_azure(); - void set_has_mock(); - inline bool has_type() const; - inline void clear_has_type(); - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 2, 7, 4, - 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 RemoteStorageTarget& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::internal::ArenaStringPtr name_; - ::flex::RemoteStorageTarget_Policies* policies_; - ::uint32_t id_; - union TypeUnion { - constexpr TypeUnion() : _constinit_{} {} - ::google::protobuf::internal::ConstantInitialized _constinit_; - ::flex::RemoteStorageTarget_S3* s3_; - ::flex::RemoteStorageTarget_POSIX* posix_; - ::flex::RemoteStorageTarget_Azure* azure_; - ::google::protobuf::internal::ArenaStringPtr mock_; - } type_; - ::uint32_t _oneof_case_[1]; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class UpdateConfigRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.UpdateConfigRequest) */ { - public: - inline UpdateConfigRequest() : UpdateConfigRequest(nullptr) {} - ~UpdateConfigRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(UpdateConfigRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(UpdateConfigRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR UpdateConfigRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline UpdateConfigRequest(const UpdateConfigRequest& from) : UpdateConfigRequest(nullptr, from) {} - inline UpdateConfigRequest(UpdateConfigRequest&& from) noexcept - : UpdateConfigRequest(nullptr, std::move(from)) {} - inline UpdateConfigRequest& operator=(const UpdateConfigRequest& from) { - CopyFrom(from); - return *this; - } - inline UpdateConfigRequest& operator=(UpdateConfigRequest&& 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 UpdateConfigRequest& default_instance() { - return *internal_default_instance(); - } - static inline const UpdateConfigRequest* internal_default_instance() { - return reinterpret_cast( - &_UpdateConfigRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 21; - friend void swap(UpdateConfigRequest& a, UpdateConfigRequest& b) { a.Swap(&b); } - inline void Swap(UpdateConfigRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(UpdateConfigRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - UpdateConfigRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const UpdateConfigRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const UpdateConfigRequest& from) { UpdateConfigRequest::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(UpdateConfigRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.UpdateConfigRequest"; } - - protected: - explicit UpdateConfigRequest(::google::protobuf::Arena* arena); - UpdateConfigRequest(::google::protobuf::Arena* arena, const UpdateConfigRequest& from); - UpdateConfigRequest(::google::protobuf::Arena* arena, UpdateConfigRequest&& from) noexcept - : UpdateConfigRequest(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 { - kRstsFieldNumber = 2, - kBeeRemoteFieldNumber = 1, - }; - // repeated .flex.RemoteStorageTarget rsts = 2; - int rsts_size() const; - private: - int _internal_rsts_size() const; - - public: - void clear_rsts() ; - ::flex::RemoteStorageTarget* mutable_rsts(int index); - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* mutable_rsts(); - - private: - const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>& _internal_rsts() const; - ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* _internal_mutable_rsts(); - public: - const ::flex::RemoteStorageTarget& rsts(int index) const; - ::flex::RemoteStorageTarget* add_rsts(); - const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>& rsts() const; - // .flex.BeeRemoteNode bee_remote = 1; - bool has_bee_remote() const; - void clear_bee_remote() ; - const ::flex::BeeRemoteNode& bee_remote() const; - PROTOBUF_NODISCARD ::flex::BeeRemoteNode* release_bee_remote(); - ::flex::BeeRemoteNode* mutable_bee_remote(); - void set_allocated_bee_remote(::flex::BeeRemoteNode* value); - void unsafe_arena_set_allocated_bee_remote(::flex::BeeRemoteNode* value); - ::flex::BeeRemoteNode* unsafe_arena_release_bee_remote(); - - private: - const ::flex::BeeRemoteNode& _internal_bee_remote() const; - ::flex::BeeRemoteNode* _internal_mutable_bee_remote(); - - public: - // @@protoc_insertion_point(class_scope:flex.UpdateConfigRequest) - private: - class _Internal; - friend class ::google::protobuf::internal::TcParser; - static const ::google::protobuf::internal::TcParseTable< - 1, 2, 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 UpdateConfigRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::google::protobuf::RepeatedPtrField< ::flex::RemoteStorageTarget > rsts_; - ::flex::BeeRemoteNode* bee_remote_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; -// ------------------------------------------------------------------- - -class SubmitWorkRequest final : public ::google::protobuf::Message -/* @@protoc_insertion_point(class_definition:flex.SubmitWorkRequest) */ { - public: - inline SubmitWorkRequest() : SubmitWorkRequest(nullptr) {} - ~SubmitWorkRequest() PROTOBUF_FINAL; - -#if defined(PROTOBUF_CUSTOM_VTABLE) - void operator delete(SubmitWorkRequest* msg, std::destroying_delete_t) { - SharedDtor(*msg); - ::google::protobuf::internal::SizedDelete(msg, sizeof(SubmitWorkRequest)); - } -#endif - - template - explicit PROTOBUF_CONSTEXPR SubmitWorkRequest( - ::google::protobuf::internal::ConstantInitialized); - - inline SubmitWorkRequest(const SubmitWorkRequest& from) : SubmitWorkRequest(nullptr, from) {} - inline SubmitWorkRequest(SubmitWorkRequest&& from) noexcept - : SubmitWorkRequest(nullptr, std::move(from)) {} - inline SubmitWorkRequest& operator=(const SubmitWorkRequest& from) { - CopyFrom(from); - return *this; - } - inline SubmitWorkRequest& operator=(SubmitWorkRequest&& 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 SubmitWorkRequest& default_instance() { - return *internal_default_instance(); - } - static inline const SubmitWorkRequest* internal_default_instance() { - return reinterpret_cast( - &_SubmitWorkRequest_default_instance_); - } - static constexpr int kIndexInFileMessages = 3; - friend void swap(SubmitWorkRequest& a, SubmitWorkRequest& b) { a.Swap(&b); } - inline void Swap(SubmitWorkRequest* other) { - if (other == this) return; - if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { - InternalSwap(other); - } else { - ::google::protobuf::internal::GenericSwap(this, other); - } - } - void UnsafeArenaSwap(SubmitWorkRequest* other) { - if (other == this) return; - ABSL_DCHECK(GetArena() == other->GetArena()); - InternalSwap(other); - } - - // implements Message ---------------------------------------------- - - SubmitWorkRequest* New(::google::protobuf::Arena* arena = nullptr) const { - return ::google::protobuf::Message::DefaultConstruct(arena); - } - using ::google::protobuf::Message::CopyFrom; - void CopyFrom(const SubmitWorkRequest& from); - using ::google::protobuf::Message::MergeFrom; - void MergeFrom(const SubmitWorkRequest& from) { SubmitWorkRequest::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(SubmitWorkRequest* other); - private: - template - friend ::absl::string_view( - ::google::protobuf::internal::GetAnyMessageName)(); - static ::absl::string_view FullMessageName() { return "flex.SubmitWorkRequest"; } - - protected: - explicit SubmitWorkRequest(::google::protobuf::Arena* arena); - SubmitWorkRequest(::google::protobuf::Arena* arena, const SubmitWorkRequest& from); - SubmitWorkRequest(::google::protobuf::Arena* arena, SubmitWorkRequest&& from) noexcept - : SubmitWorkRequest(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 { - kRequestFieldNumber = 1, - }; - // .flex.WorkRequest request = 1; - bool has_request() const; - void clear_request() ; - const ::flex::WorkRequest& request() const; - PROTOBUF_NODISCARD ::flex::WorkRequest* release_request(); - ::flex::WorkRequest* mutable_request(); - void set_allocated_request(::flex::WorkRequest* value); - void unsafe_arena_set_allocated_request(::flex::WorkRequest* value); - ::flex::WorkRequest* unsafe_arena_release_request(); - - private: - const ::flex::WorkRequest& _internal_request() const; - ::flex::WorkRequest* _internal_mutable_request(); - - public: - // @@protoc_insertion_point(class_scope:flex.SubmitWorkRequest) - 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 SubmitWorkRequest& from_msg); - ::google::protobuf::internal::HasBits<1> _has_bits_; - ::google::protobuf::internal::CachedSize _cached_size_; - ::flex::WorkRequest* request_; - PROTOBUF_TSAN_DECLARE_MEMBER - }; - union { Impl_ _impl_; }; - friend struct ::TableStruct_flex_2eproto; -}; - -// =================================================================== - - - - -// =================================================================== - - -#ifdef __GNUC__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wstrict-aliasing" -#endif // __GNUC__ -// ------------------------------------------------------------------- - -// HeartbeatRequest - -// bool include_stats = 1; -inline void HeartbeatRequest::clear_include_stats() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.include_stats_ = false; -} -inline bool HeartbeatRequest::include_stats() const { - // @@protoc_insertion_point(field_get:flex.HeartbeatRequest.include_stats) - return _internal_include_stats(); -} -inline void HeartbeatRequest::set_include_stats(bool value) { - _internal_set_include_stats(value); - // @@protoc_insertion_point(field_set:flex.HeartbeatRequest.include_stats) -} -inline bool HeartbeatRequest::_internal_include_stats() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.include_stats_; -} -inline void HeartbeatRequest::_internal_set_include_stats(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.include_stats_ = value; -} - -// ------------------------------------------------------------------- - -// HeartbeatResponse - -// bool is_ready = 1; -inline void HeartbeatResponse::clear_is_ready() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.is_ready_ = false; -} -inline bool HeartbeatResponse::is_ready() const { - // @@protoc_insertion_point(field_get:flex.HeartbeatResponse.is_ready) - return _internal_is_ready(); -} -inline void HeartbeatResponse::set_is_ready(bool value) { - _internal_set_is_ready(value); - // @@protoc_insertion_point(field_set:flex.HeartbeatResponse.is_ready) -} -inline bool HeartbeatResponse::_internal_is_ready() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.is_ready_; -} -inline void HeartbeatResponse::_internal_set_is_ready(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.is_ready_ = value; -} - -// .flex.NodeStats node_stats = 2; -inline bool HeartbeatResponse::has_node_stats() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.node_stats_ != nullptr); - return value; -} -inline void HeartbeatResponse::clear_node_stats() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.node_stats_ != nullptr) _impl_.node_stats_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::NodeStats& HeartbeatResponse::_internal_node_stats() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::NodeStats* p = _impl_.node_stats_; - return p != nullptr ? *p : reinterpret_cast(::flex::_NodeStats_default_instance_); -} -inline const ::flex::NodeStats& HeartbeatResponse::node_stats() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.HeartbeatResponse.node_stats) - return _internal_node_stats(); -} -inline void HeartbeatResponse::unsafe_arena_set_allocated_node_stats(::flex::NodeStats* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.node_stats_); - } - _impl_.node_stats_ = reinterpret_cast<::flex::NodeStats*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.HeartbeatResponse.node_stats) -} -inline ::flex::NodeStats* HeartbeatResponse::release_node_stats() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::NodeStats* released = _impl_.node_stats_; - _impl_.node_stats_ = 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 ::flex::NodeStats* HeartbeatResponse::unsafe_arena_release_node_stats() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.HeartbeatResponse.node_stats) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::NodeStats* temp = _impl_.node_stats_; - _impl_.node_stats_ = nullptr; - return temp; -} -inline ::flex::NodeStats* HeartbeatResponse::_internal_mutable_node_stats() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.node_stats_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::NodeStats>(GetArena()); - _impl_.node_stats_ = reinterpret_cast<::flex::NodeStats*>(p); - } - return _impl_.node_stats_; -} -inline ::flex::NodeStats* HeartbeatResponse::mutable_node_stats() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::NodeStats* _msg = _internal_mutable_node_stats(); - // @@protoc_insertion_point(field_mutable:flex.HeartbeatResponse.node_stats) - return _msg; -} -inline void HeartbeatResponse::set_allocated_node_stats(::flex::NodeStats* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.node_stats_); - } - - 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_.node_stats_ = reinterpret_cast<::flex::NodeStats*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.HeartbeatResponse.node_stats) -} - -// ------------------------------------------------------------------- - -// NodeStats - -// .google.protobuf.Timestamp timestamp = 1; -inline bool NodeStats::has_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.timestamp_ != nullptr); - return value; -} -inline const ::google::protobuf::Timestamp& NodeStats::_internal_timestamp() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::google::protobuf::Timestamp* p = _impl_.timestamp_; - return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); -} -inline const ::google::protobuf::Timestamp& NodeStats::timestamp() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.NodeStats.timestamp) - return _internal_timestamp(); -} -inline void NodeStats::unsafe_arena_set_allocated_timestamp(::google::protobuf::Timestamp* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.timestamp_); - } - _impl_.timestamp_ = 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:flex.NodeStats.timestamp) -} -inline ::google::protobuf::Timestamp* NodeStats::release_timestamp() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::google::protobuf::Timestamp* released = _impl_.timestamp_; - _impl_.timestamp_ = 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* NodeStats::unsafe_arena_release_timestamp() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.NodeStats.timestamp) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::google::protobuf::Timestamp* temp = _impl_.timestamp_; - _impl_.timestamp_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* NodeStats::_internal_mutable_timestamp() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.timestamp_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); - _impl_.timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); - } - return _impl_.timestamp_; -} -inline ::google::protobuf::Timestamp* NodeStats::mutable_timestamp() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::google::protobuf::Timestamp* _msg = _internal_mutable_timestamp(); - // @@protoc_insertion_point(field_mutable:flex.NodeStats.timestamp) - return _msg; -} -inline void NodeStats::set_allocated_timestamp(::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_.timestamp_); - } - - 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_.timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.NodeStats.timestamp) -} - -// int64 active_requests = 2; -inline void NodeStats::clear_active_requests() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.active_requests_ = ::int64_t{0}; -} -inline ::int64_t NodeStats::active_requests() const { - // @@protoc_insertion_point(field_get:flex.NodeStats.active_requests) - return _internal_active_requests(); -} -inline void NodeStats::set_active_requests(::int64_t value) { - _internal_set_active_requests(value); - // @@protoc_insertion_point(field_set:flex.NodeStats.active_requests) -} -inline ::int64_t NodeStats::_internal_active_requests() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.active_requests_; -} -inline void NodeStats::_internal_set_active_requests(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.active_requests_ = value; -} - -// ------------------------------------------------------------------- - -// SubmitWorkRequest - -// .flex.WorkRequest request = 1; -inline bool SubmitWorkRequest::has_request() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.request_ != nullptr); - return value; -} -inline void SubmitWorkRequest::clear_request() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.request_ != nullptr) _impl_.request_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::WorkRequest& SubmitWorkRequest::_internal_request() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::WorkRequest* p = _impl_.request_; - return p != nullptr ? *p : reinterpret_cast(::flex::_WorkRequest_default_instance_); -} -inline const ::flex::WorkRequest& SubmitWorkRequest::request() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.SubmitWorkRequest.request) - return _internal_request(); -} -inline void SubmitWorkRequest::unsafe_arena_set_allocated_request(::flex::WorkRequest* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.request_); - } - _impl_.request_ = reinterpret_cast<::flex::WorkRequest*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.SubmitWorkRequest.request) -} -inline ::flex::WorkRequest* SubmitWorkRequest::release_request() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::WorkRequest* released = _impl_.request_; - _impl_.request_ = 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 ::flex::WorkRequest* SubmitWorkRequest::unsafe_arena_release_request() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.SubmitWorkRequest.request) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::WorkRequest* temp = _impl_.request_; - _impl_.request_ = nullptr; - return temp; -} -inline ::flex::WorkRequest* SubmitWorkRequest::_internal_mutable_request() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.request_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::WorkRequest>(GetArena()); - _impl_.request_ = reinterpret_cast<::flex::WorkRequest*>(p); - } - return _impl_.request_; -} -inline ::flex::WorkRequest* SubmitWorkRequest::mutable_request() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::WorkRequest* _msg = _internal_mutable_request(); - // @@protoc_insertion_point(field_mutable:flex.SubmitWorkRequest.request) - return _msg; -} -inline void SubmitWorkRequest::set_allocated_request(::flex::WorkRequest* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.request_); - } - - 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_.request_ = reinterpret_cast<::flex::WorkRequest*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.SubmitWorkRequest.request) -} - -// ------------------------------------------------------------------- - -// SubmitWorkResponse - -// .flex.Work work = 1; -inline bool SubmitWorkResponse::has_work() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.work_ != nullptr); - return value; -} -inline void SubmitWorkResponse::clear_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.work_ != nullptr) _impl_.work_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::Work& SubmitWorkResponse::_internal_work() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::Work* p = _impl_.work_; - return p != nullptr ? *p : reinterpret_cast(::flex::_Work_default_instance_); -} -inline const ::flex::Work& SubmitWorkResponse::work() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.SubmitWorkResponse.work) - return _internal_work(); -} -inline void SubmitWorkResponse::unsafe_arena_set_allocated_work(::flex::Work* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); - } - _impl_.work_ = reinterpret_cast<::flex::Work*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.SubmitWorkResponse.work) -} -inline ::flex::Work* SubmitWorkResponse::release_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::Work* released = _impl_.work_; - _impl_.work_ = 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 ::flex::Work* SubmitWorkResponse::unsafe_arena_release_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.SubmitWorkResponse.work) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::Work* temp = _impl_.work_; - _impl_.work_ = nullptr; - return temp; -} -inline ::flex::Work* SubmitWorkResponse::_internal_mutable_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.work_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work>(GetArena()); - _impl_.work_ = reinterpret_cast<::flex::Work*>(p); - } - return _impl_.work_; -} -inline ::flex::Work* SubmitWorkResponse::mutable_work() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::Work* _msg = _internal_mutable_work(); - // @@protoc_insertion_point(field_mutable:flex.SubmitWorkResponse.work) - return _msg; -} -inline void SubmitWorkResponse::set_allocated_work(::flex::Work* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.work_); - } - - 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_.work_ = reinterpret_cast<::flex::Work*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.SubmitWorkResponse.work) -} - -// ------------------------------------------------------------------- - -// UpdateWorkRequest - -// string job_id = 1; -inline void UpdateWorkRequest::clear_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.ClearToEmpty(); -} -inline const std::string& UpdateWorkRequest::job_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.UpdateWorkRequest.job_id) - return _internal_job_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void UpdateWorkRequest::set_job_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.UpdateWorkRequest.job_id) -} -inline std::string* UpdateWorkRequest::mutable_job_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_job_id(); - // @@protoc_insertion_point(field_mutable:flex.UpdateWorkRequest.job_id) - return _s; -} -inline const std::string& UpdateWorkRequest::_internal_job_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.job_id_.Get(); -} -inline void UpdateWorkRequest::_internal_set_job_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.Set(value, GetArena()); -} -inline std::string* UpdateWorkRequest::_internal_mutable_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.job_id_.Mutable( GetArena()); -} -inline std::string* UpdateWorkRequest::release_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.UpdateWorkRequest.job_id) - return _impl_.job_id_.Release(); -} -inline void UpdateWorkRequest::set_allocated_job_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.job_id_.IsDefault()) { - _impl_.job_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.UpdateWorkRequest.job_id) -} - -// string request_id = 2; -inline void UpdateWorkRequest::clear_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.ClearToEmpty(); -} -inline const std::string& UpdateWorkRequest::request_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.UpdateWorkRequest.request_id) - return _internal_request_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void UpdateWorkRequest::set_request_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.UpdateWorkRequest.request_id) -} -inline std::string* UpdateWorkRequest::mutable_request_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_request_id(); - // @@protoc_insertion_point(field_mutable:flex.UpdateWorkRequest.request_id) - return _s; -} -inline const std::string& UpdateWorkRequest::_internal_request_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.request_id_.Get(); -} -inline void UpdateWorkRequest::_internal_set_request_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.Set(value, GetArena()); -} -inline std::string* UpdateWorkRequest::_internal_mutable_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.request_id_.Mutable( GetArena()); -} -inline std::string* UpdateWorkRequest::release_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.UpdateWorkRequest.request_id) - return _impl_.request_id_.Release(); -} -inline void UpdateWorkRequest::set_allocated_request_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.request_id_.IsDefault()) { - _impl_.request_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.UpdateWorkRequest.request_id) -} - -// .flex.UpdateWorkRequest.NewState new_state = 3; -inline void UpdateWorkRequest::clear_new_state() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.new_state_ = 0; -} -inline ::flex::UpdateWorkRequest_NewState UpdateWorkRequest::new_state() const { - // @@protoc_insertion_point(field_get:flex.UpdateWorkRequest.new_state) - return _internal_new_state(); -} -inline void UpdateWorkRequest::set_new_state(::flex::UpdateWorkRequest_NewState value) { - _internal_set_new_state(value); - // @@protoc_insertion_point(field_set:flex.UpdateWorkRequest.new_state) -} -inline ::flex::UpdateWorkRequest_NewState UpdateWorkRequest::_internal_new_state() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::flex::UpdateWorkRequest_NewState>(_impl_.new_state_); -} -inline void UpdateWorkRequest::_internal_set_new_state(::flex::UpdateWorkRequest_NewState value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.new_state_ = value; -} - -// ------------------------------------------------------------------- - -// UpdateWorkResponse - -// .flex.Work work = 1; -inline bool UpdateWorkResponse::has_work() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.work_ != nullptr); - return value; -} -inline void UpdateWorkResponse::clear_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.work_ != nullptr) _impl_.work_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::Work& UpdateWorkResponse::_internal_work() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::Work* p = _impl_.work_; - return p != nullptr ? *p : reinterpret_cast(::flex::_Work_default_instance_); -} -inline const ::flex::Work& UpdateWorkResponse::work() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.UpdateWorkResponse.work) - return _internal_work(); -} -inline void UpdateWorkResponse::unsafe_arena_set_allocated_work(::flex::Work* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.work_); - } - _impl_.work_ = reinterpret_cast<::flex::Work*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.UpdateWorkResponse.work) -} -inline ::flex::Work* UpdateWorkResponse::release_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::Work* released = _impl_.work_; - _impl_.work_ = 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 ::flex::Work* UpdateWorkResponse::unsafe_arena_release_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.UpdateWorkResponse.work) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::Work* temp = _impl_.work_; - _impl_.work_ = nullptr; - return temp; -} -inline ::flex::Work* UpdateWorkResponse::_internal_mutable_work() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.work_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work>(GetArena()); - _impl_.work_ = reinterpret_cast<::flex::Work*>(p); - } - return _impl_.work_; -} -inline ::flex::Work* UpdateWorkResponse::mutable_work() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::Work* _msg = _internal_mutable_work(); - // @@protoc_insertion_point(field_mutable:flex.UpdateWorkResponse.work) - return _msg; -} -inline void UpdateWorkResponse::set_allocated_work(::flex::Work* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.work_); - } - - 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_.work_ = reinterpret_cast<::flex::Work*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.UpdateWorkResponse.work) -} - -// ------------------------------------------------------------------- - -// BulkUpdateWorkRequest - -// .flex.BulkUpdateWorkRequest.NewState new_state = 1; -inline void BulkUpdateWorkRequest::clear_new_state() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.new_state_ = 0; -} -inline ::flex::BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest::new_state() const { - // @@protoc_insertion_point(field_get:flex.BulkUpdateWorkRequest.new_state) - return _internal_new_state(); -} -inline void BulkUpdateWorkRequest::set_new_state(::flex::BulkUpdateWorkRequest_NewState value) { - _internal_set_new_state(value); - // @@protoc_insertion_point(field_set:flex.BulkUpdateWorkRequest.new_state) -} -inline ::flex::BulkUpdateWorkRequest_NewState BulkUpdateWorkRequest::_internal_new_state() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::flex::BulkUpdateWorkRequest_NewState>(_impl_.new_state_); -} -inline void BulkUpdateWorkRequest::_internal_set_new_state(::flex::BulkUpdateWorkRequest_NewState value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.new_state_ = value; -} - -// ------------------------------------------------------------------- - -// BulkUpdateWorkResponse - -// bool success = 1; -inline void BulkUpdateWorkResponse::clear_success() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.success_ = false; -} -inline bool BulkUpdateWorkResponse::success() const { - // @@protoc_insertion_point(field_get:flex.BulkUpdateWorkResponse.success) - return _internal_success(); -} -inline void BulkUpdateWorkResponse::set_success(bool value) { - _internal_set_success(value); - // @@protoc_insertion_point(field_set:flex.BulkUpdateWorkResponse.success) -} -inline bool BulkUpdateWorkResponse::_internal_success() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.success_; -} -inline void BulkUpdateWorkResponse::_internal_set_success(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.success_ = value; -} - -// string message = 2; -inline void BulkUpdateWorkResponse::clear_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.ClearToEmpty(); -} -inline const std::string& BulkUpdateWorkResponse::message() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.BulkUpdateWorkResponse.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE void BulkUpdateWorkResponse::set_message(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.BulkUpdateWorkResponse.message) -} -inline std::string* BulkUpdateWorkResponse::mutable_message() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:flex.BulkUpdateWorkResponse.message) - return _s; -} -inline const std::string& BulkUpdateWorkResponse::_internal_message() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.message_.Get(); -} -inline void BulkUpdateWorkResponse::_internal_set_message(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(value, GetArena()); -} -inline std::string* BulkUpdateWorkResponse::_internal_mutable_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.message_.Mutable( GetArena()); -} -inline std::string* BulkUpdateWorkResponse::release_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.BulkUpdateWorkResponse.message) - return _impl_.message_.Release(); -} -inline void BulkUpdateWorkResponse::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:flex.BulkUpdateWorkResponse.message) -} - -// ------------------------------------------------------------------- - -// JobLockedInfo - -// bool read_write_locked = 1; -inline void JobLockedInfo::clear_read_write_locked() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.read_write_locked_ = false; -} -inline bool JobLockedInfo::read_write_locked() const { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.read_write_locked) - return _internal_read_write_locked(); -} -inline void JobLockedInfo::set_read_write_locked(bool value) { - _internal_set_read_write_locked(value); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.read_write_locked) -} -inline bool JobLockedInfo::_internal_read_write_locked() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.read_write_locked_; -} -inline void JobLockedInfo::_internal_set_read_write_locked(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.read_write_locked_ = value; -} - -// bool exists = 2; -inline void JobLockedInfo::clear_exists() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.exists_ = false; -} -inline bool JobLockedInfo::exists() const { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.exists) - return _internal_exists(); -} -inline void JobLockedInfo::set_exists(bool value) { - _internal_set_exists(value); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.exists) -} -inline bool JobLockedInfo::_internal_exists() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.exists_; -} -inline void JobLockedInfo::_internal_set_exists(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.exists_ = value; -} - -// int64 size = 3; -inline void JobLockedInfo::clear_size() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.size_ = ::int64_t{0}; -} -inline ::int64_t JobLockedInfo::size() const { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.size) - return _internal_size(); -} -inline void JobLockedInfo::set_size(::int64_t value) { - _internal_set_size(value); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.size) -} -inline ::int64_t JobLockedInfo::_internal_size() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.size_; -} -inline void JobLockedInfo::_internal_set_size(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.size_ = value; -} - -// uint32 mode = 4; -inline void JobLockedInfo::clear_mode() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mode_ = 0u; -} -inline ::uint32_t JobLockedInfo::mode() const { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.mode) - return _internal_mode(); -} -inline void JobLockedInfo::set_mode(::uint32_t value) { - _internal_set_mode(value); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.mode) -} -inline ::uint32_t JobLockedInfo::_internal_mode() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.mode_; -} -inline void JobLockedInfo::_internal_set_mode(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mode_ = value; -} - -// .google.protobuf.Timestamp mtime = 5; -inline bool JobLockedInfo::has_mtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.mtime_ != nullptr); - return value; -} -inline const ::google::protobuf::Timestamp& JobLockedInfo::_internal_mtime() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::google::protobuf::Timestamp* p = _impl_.mtime_; - return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); -} -inline const ::google::protobuf::Timestamp& JobLockedInfo::mtime() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.mtime) - return _internal_mtime(); -} -inline void JobLockedInfo::unsafe_arena_set_allocated_mtime(::google::protobuf::Timestamp* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.mtime_); - } - _impl_.mtime_ = 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:flex.JobLockedInfo.mtime) -} -inline ::google::protobuf::Timestamp* JobLockedInfo::release_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::google::protobuf::Timestamp* released = _impl_.mtime_; - _impl_.mtime_ = 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* JobLockedInfo::unsafe_arena_release_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobLockedInfo.mtime) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::google::protobuf::Timestamp* temp = _impl_.mtime_; - _impl_.mtime_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* JobLockedInfo::_internal_mutable_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.mtime_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); - _impl_.mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); - } - return _impl_.mtime_; -} -inline ::google::protobuf::Timestamp* JobLockedInfo::mutable_mtime() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::google::protobuf::Timestamp* _msg = _internal_mutable_mtime(); - // @@protoc_insertion_point(field_mutable:flex.JobLockedInfo.mtime) - return _msg; -} -inline void JobLockedInfo::set_allocated_mtime(::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_.mtime_); - } - - 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_.mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.JobLockedInfo.mtime) -} - -// int64 remote_size = 6; -inline void JobLockedInfo::clear_remote_size() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_size_ = ::int64_t{0}; -} -inline ::int64_t JobLockedInfo::remote_size() const { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.remote_size) - return _internal_remote_size(); -} -inline void JobLockedInfo::set_remote_size(::int64_t value) { - _internal_set_remote_size(value); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.remote_size) -} -inline ::int64_t JobLockedInfo::_internal_remote_size() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.remote_size_; -} -inline void JobLockedInfo::_internal_set_remote_size(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_size_ = value; -} - -// .google.protobuf.Timestamp remote_mtime = 7; -inline bool JobLockedInfo::has_remote_mtime() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.remote_mtime_ != nullptr); - return value; -} -inline const ::google::protobuf::Timestamp& JobLockedInfo::_internal_remote_mtime() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::google::protobuf::Timestamp* p = _impl_.remote_mtime_; - return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); -} -inline const ::google::protobuf::Timestamp& JobLockedInfo::remote_mtime() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.remote_mtime) - return _internal_remote_mtime(); -} -inline void JobLockedInfo::unsafe_arena_set_allocated_remote_mtime(::google::protobuf::Timestamp* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.remote_mtime_); - } - _impl_.remote_mtime_ = 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:flex.JobLockedInfo.remote_mtime) -} -inline ::google::protobuf::Timestamp* JobLockedInfo::release_remote_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::google::protobuf::Timestamp* released = _impl_.remote_mtime_; - _impl_.remote_mtime_ = 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* JobLockedInfo::unsafe_arena_release_remote_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobLockedInfo.remote_mtime) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::google::protobuf::Timestamp* temp = _impl_.remote_mtime_; - _impl_.remote_mtime_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* JobLockedInfo::_internal_mutable_remote_mtime() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.remote_mtime_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); - _impl_.remote_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); - } - return _impl_.remote_mtime_; -} -inline ::google::protobuf::Timestamp* JobLockedInfo::mutable_remote_mtime() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; - ::google::protobuf::Timestamp* _msg = _internal_mutable_remote_mtime(); - // @@protoc_insertion_point(field_mutable:flex.JobLockedInfo.remote_mtime) - return _msg; -} -inline void JobLockedInfo::set_allocated_remote_mtime(::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_.remote_mtime_); - } - - 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_.remote_mtime_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.JobLockedInfo.remote_mtime) -} - -// uint32 stub_url_rst_id = 8; -inline void JobLockedInfo::clear_stub_url_rst_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_url_rst_id_ = 0u; -} -inline ::uint32_t JobLockedInfo::stub_url_rst_id() const { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.stub_url_rst_id) - return _internal_stub_url_rst_id(); -} -inline void JobLockedInfo::set_stub_url_rst_id(::uint32_t value) { - _internal_set_stub_url_rst_id(value); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.stub_url_rst_id) -} -inline ::uint32_t JobLockedInfo::_internal_stub_url_rst_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.stub_url_rst_id_; -} -inline void JobLockedInfo::_internal_set_stub_url_rst_id(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_url_rst_id_ = value; -} - -// string stub_url_path = 9; -inline void JobLockedInfo::clear_stub_url_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_url_path_.ClearToEmpty(); -} -inline const std::string& JobLockedInfo::stub_url_path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.stub_url_path) - return _internal_stub_url_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void JobLockedInfo::set_stub_url_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_url_path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.stub_url_path) -} -inline std::string* JobLockedInfo::mutable_stub_url_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_stub_url_path(); - // @@protoc_insertion_point(field_mutable:flex.JobLockedInfo.stub_url_path) - return _s; -} -inline const std::string& JobLockedInfo::_internal_stub_url_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.stub_url_path_.Get(); -} -inline void JobLockedInfo::_internal_set_stub_url_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_url_path_.Set(value, GetArena()); -} -inline std::string* JobLockedInfo::_internal_mutable_stub_url_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.stub_url_path_.Mutable( GetArena()); -} -inline std::string* JobLockedInfo::release_stub_url_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobLockedInfo.stub_url_path) - return _impl_.stub_url_path_.Release(); -} -inline void JobLockedInfo::set_allocated_stub_url_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_url_path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.stub_url_path_.IsDefault()) { - _impl_.stub_url_path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.JobLockedInfo.stub_url_path) -} - -// string externalId = 10; -inline void JobLockedInfo::clear_externalid() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.externalid_.ClearToEmpty(); -} -inline const std::string& JobLockedInfo::externalid() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.externalId) - return _internal_externalid(); -} -template -inline PROTOBUF_ALWAYS_INLINE void JobLockedInfo::set_externalid(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.externalid_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.externalId) -} -inline std::string* JobLockedInfo::mutable_externalid() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_externalid(); - // @@protoc_insertion_point(field_mutable:flex.JobLockedInfo.externalId) - return _s; -} -inline const std::string& JobLockedInfo::_internal_externalid() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.externalid_.Get(); -} -inline void JobLockedInfo::_internal_set_externalid(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.externalid_.Set(value, GetArena()); -} -inline std::string* JobLockedInfo::_internal_mutable_externalid() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.externalid_.Mutable( GetArena()); -} -inline std::string* JobLockedInfo::release_externalid() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobLockedInfo.externalId) - return _impl_.externalid_.Release(); -} -inline void JobLockedInfo::set_allocated_externalid(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.externalid_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.externalid_.IsDefault()) { - _impl_.externalid_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.JobLockedInfo.externalId) -} - -// bool is_archived = 11; -inline void JobLockedInfo::clear_is_archived() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.is_archived_ = false; -} -inline bool JobLockedInfo::is_archived() const { - // @@protoc_insertion_point(field_get:flex.JobLockedInfo.is_archived) - return _internal_is_archived(); -} -inline void JobLockedInfo::set_is_archived(bool value) { - _internal_set_is_archived(value); - // @@protoc_insertion_point(field_set:flex.JobLockedInfo.is_archived) -} -inline bool JobLockedInfo::_internal_is_archived() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.is_archived_; -} -inline void JobLockedInfo::_internal_set_is_archived(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.is_archived_ = value; -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// JobRequestCfg - -// uint32 remoteStorageTarget = 1; -inline void JobRequestCfg::clear_remotestoragetarget() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remotestoragetarget_ = 0u; -} -inline ::uint32_t JobRequestCfg::remotestoragetarget() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.remoteStorageTarget) - return _internal_remotestoragetarget(); -} -inline void JobRequestCfg::set_remotestoragetarget(::uint32_t value) { - _internal_set_remotestoragetarget(value); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.remoteStorageTarget) -} -inline ::uint32_t JobRequestCfg::_internal_remotestoragetarget() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.remotestoragetarget_; -} -inline void JobRequestCfg::_internal_set_remotestoragetarget(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remotestoragetarget_ = value; -} - -// string path = 2; -inline void JobRequestCfg::clear_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.ClearToEmpty(); -} -inline const std::string& JobRequestCfg::path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.path) - return _internal_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.path) -} -inline std::string* JobRequestCfg::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.path) - return _s; -} -inline const std::string& JobRequestCfg::_internal_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_.Get(); -} -inline void JobRequestCfg::_internal_set_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(value, GetArena()); -} -inline std::string* JobRequestCfg::_internal_mutable_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_.Mutable( GetArena()); -} -inline std::string* JobRequestCfg::release_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobRequestCfg.path) - return _impl_.path_.Release(); -} -inline void JobRequestCfg::set_allocated_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { - _impl_.path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.path) -} - -// string remotePath = 3; -inline void JobRequestCfg::clear_remotepath() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remotepath_.ClearToEmpty(); -} -inline const std::string& JobRequestCfg::remotepath() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.remotePath) - return _internal_remotepath(); -} -template -inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_remotepath(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remotepath_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.remotePath) -} -inline std::string* JobRequestCfg::mutable_remotepath() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_remotepath(); - // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.remotePath) - return _s; -} -inline const std::string& JobRequestCfg::_internal_remotepath() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.remotepath_.Get(); -} -inline void JobRequestCfg::_internal_set_remotepath(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remotepath_.Set(value, GetArena()); -} -inline std::string* JobRequestCfg::_internal_mutable_remotepath() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.remotepath_.Mutable( GetArena()); -} -inline std::string* JobRequestCfg::release_remotepath() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobRequestCfg.remotePath) - return _impl_.remotepath_.Release(); -} -inline void JobRequestCfg::set_allocated_remotepath(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remotepath_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.remotepath_.IsDefault()) { - _impl_.remotepath_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.remotePath) -} - -// bool download = 4; -inline void JobRequestCfg::clear_download() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.download_ = false; -} -inline bool JobRequestCfg::download() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.download) - return _internal_download(); -} -inline void JobRequestCfg::set_download(bool value) { - _internal_set_download(value); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.download) -} -inline bool JobRequestCfg::_internal_download() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.download_; -} -inline void JobRequestCfg::_internal_set_download(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.download_ = value; -} - -// bool stub_local = 5; -inline void JobRequestCfg::clear_stub_local() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_local_ = false; -} -inline bool JobRequestCfg::stub_local() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.stub_local) - return _internal_stub_local(); -} -inline void JobRequestCfg::set_stub_local(bool value) { - _internal_set_stub_local(value); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.stub_local) -} -inline bool JobRequestCfg::_internal_stub_local() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.stub_local_; -} -inline void JobRequestCfg::_internal_set_stub_local(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_local_ = value; -} - -// bool overwrite = 6; -inline void JobRequestCfg::clear_overwrite() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.overwrite_ = false; -} -inline bool JobRequestCfg::overwrite() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.overwrite) - return _internal_overwrite(); -} -inline void JobRequestCfg::set_overwrite(bool value) { - _internal_set_overwrite(value); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.overwrite) -} -inline bool JobRequestCfg::_internal_overwrite() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.overwrite_; -} -inline void JobRequestCfg::_internal_set_overwrite(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.overwrite_ = value; -} - -// bool flatten = 7; -inline void JobRequestCfg::clear_flatten() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.flatten_ = false; -} -inline bool JobRequestCfg::flatten() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.flatten) - return _internal_flatten(); -} -inline void JobRequestCfg::set_flatten(bool value) { - _internal_set_flatten(value); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.flatten) -} -inline bool JobRequestCfg::_internal_flatten() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.flatten_; -} -inline void JobRequestCfg::_internal_set_flatten(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.flatten_ = value; -} - -// bool force = 8; -inline void JobRequestCfg::clear_force() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.force_ = false; -} -inline bool JobRequestCfg::force() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.force) - return _internal_force(); -} -inline void JobRequestCfg::set_force(bool value) { - _internal_set_force(value); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.force) -} -inline bool JobRequestCfg::_internal_force() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.force_; -} -inline void JobRequestCfg::_internal_set_force(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.force_ = value; -} - -// .flex.JobLockedInfo locked_info = 9; -inline bool JobRequestCfg::has_locked_info() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - PROTOBUF_ASSUME(!value || _impl_.locked_info_ != nullptr); - return value; -} -inline void JobRequestCfg::clear_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.locked_info_ != nullptr) _impl_.locked_info_->Clear(); - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline const ::flex::JobLockedInfo& JobRequestCfg::_internal_locked_info() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::JobLockedInfo* p = _impl_.locked_info_; - return p != nullptr ? *p : reinterpret_cast(::flex::_JobLockedInfo_default_instance_); -} -inline const ::flex::JobLockedInfo& JobRequestCfg::locked_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.locked_info) - return _internal_locked_info(); -} -inline void JobRequestCfg::unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.locked_info_); - } - _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.JobRequestCfg.locked_info) -} -inline ::flex::JobLockedInfo* JobRequestCfg::release_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000008u; - ::flex::JobLockedInfo* released = _impl_.locked_info_; - _impl_.locked_info_ = 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 ::flex::JobLockedInfo* JobRequestCfg::unsafe_arena_release_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobRequestCfg.locked_info) - - _impl_._has_bits_[0] &= ~0x00000008u; - ::flex::JobLockedInfo* temp = _impl_.locked_info_; - _impl_.locked_info_ = nullptr; - return temp; -} -inline ::flex::JobLockedInfo* JobRequestCfg::_internal_mutable_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.locked_info_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::JobLockedInfo>(GetArena()); - _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(p); - } - return _impl_.locked_info_; -} -inline ::flex::JobLockedInfo* JobRequestCfg::mutable_locked_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000008u; - ::flex::JobLockedInfo* _msg = _internal_mutable_locked_info(); - // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.locked_info) - return _msg; -} -inline void JobRequestCfg::set_allocated_locked_info(::flex::JobLockedInfo* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.locked_info_); - } - - 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] |= 0x00000008u; - } else { - _impl_._has_bits_[0] &= ~0x00000008u; - } - - _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.locked_info) -} - -// optional bool update = 10; -inline bool JobRequestCfg::has_update() const { - bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0; - return value; -} -inline void JobRequestCfg::clear_update() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.update_ = false; - _impl_._has_bits_[0] &= ~0x00000020u; -} -inline bool JobRequestCfg::update() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.update) - return _internal_update(); -} -inline void JobRequestCfg::set_update(bool value) { - _internal_set_update(value); - _impl_._has_bits_[0] |= 0x00000020u; - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.update) -} -inline bool JobRequestCfg::_internal_update() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.update_; -} -inline void JobRequestCfg::_internal_set_update(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.update_ = value; -} - -// map metadata = 13; -inline int JobRequestCfg::_internal_metadata_size() const { - return _internal_metadata().size(); -} -inline int JobRequestCfg::metadata_size() const { - return _internal_metadata_size(); -} -inline void JobRequestCfg::clear_metadata() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.metadata_.Clear(); -} -inline const ::google::protobuf::Map& JobRequestCfg::_internal_metadata() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.metadata_.GetMap(); -} -inline const ::google::protobuf::Map& JobRequestCfg::metadata() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_map:flex.JobRequestCfg.metadata) - return _internal_metadata(); -} -inline ::google::protobuf::Map* JobRequestCfg::_internal_mutable_metadata() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.metadata_.MutableMap(); -} -inline ::google::protobuf::Map* JobRequestCfg::mutable_metadata() ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_map:flex.JobRequestCfg.metadata) - return _internal_mutable_metadata(); -} - -// optional string tagging = 14; -inline bool JobRequestCfg::has_tagging() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void JobRequestCfg::clear_tagging() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.tagging_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& JobRequestCfg::tagging() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.tagging) - return _internal_tagging(); -} -template -inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_tagging(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.tagging_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.tagging) -} -inline std::string* JobRequestCfg::mutable_tagging() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_tagging(); - // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.tagging) - return _s; -} -inline const std::string& JobRequestCfg::_internal_tagging() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.tagging_.Get(); -} -inline void JobRequestCfg::_internal_set_tagging(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.tagging_.Set(value, GetArena()); -} -inline std::string* JobRequestCfg::_internal_mutable_tagging() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.tagging_.Mutable( GetArena()); -} -inline std::string* JobRequestCfg::release_tagging() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobRequestCfg.tagging) - if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* released = _impl_.tagging_.Release(); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { - _impl_.tagging_.Set("", GetArena()); - } - return released; -} -inline void JobRequestCfg::set_allocated_tagging(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.tagging_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.tagging_.IsDefault()) { - _impl_.tagging_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.tagging) -} - -// optional int32 priority = 11; -inline bool JobRequestCfg::has_priority() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline void JobRequestCfg::clear_priority() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.priority_ = 0; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline ::int32_t JobRequestCfg::priority() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.priority) - return _internal_priority(); -} -inline void JobRequestCfg::set_priority(::int32_t value) { - _internal_set_priority(value); - _impl_._has_bits_[0] |= 0x00000010u; - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.priority) -} -inline ::int32_t JobRequestCfg::_internal_priority() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.priority_; -} -inline void JobRequestCfg::_internal_set_priority(::int32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.priority_ = value; -} - -// optional string storage_class = 12; -inline bool JobRequestCfg::has_storage_class() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline void JobRequestCfg::clear_storage_class() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.storage_class_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& JobRequestCfg::storage_class() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.storage_class) - return _internal_storage_class(); -} -template -inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_storage_class(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.storage_class_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.storage_class) -} -inline std::string* JobRequestCfg::mutable_storage_class() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_storage_class(); - // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.storage_class) - return _s; -} -inline const std::string& JobRequestCfg::_internal_storage_class() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.storage_class_.Get(); -} -inline void JobRequestCfg::_internal_set_storage_class(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.storage_class_.Set(value, GetArena()); -} -inline std::string* JobRequestCfg::_internal_mutable_storage_class() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.storage_class_.Mutable( GetArena()); -} -inline std::string* JobRequestCfg::release_storage_class() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobRequestCfg.storage_class) - if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* released = _impl_.storage_class_.Release(); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { - _impl_.storage_class_.Set("", GetArena()); - } - return released; -} -inline void JobRequestCfg::set_allocated_storage_class(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.storage_class_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.storage_class_.IsDefault()) { - _impl_.storage_class_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.storage_class) -} - -// optional bool allow_restore = 15; -inline bool JobRequestCfg::has_allow_restore() const { - bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0; - return value; -} -inline void JobRequestCfg::clear_allow_restore() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.allow_restore_ = false; - _impl_._has_bits_[0] &= ~0x00000040u; -} -inline bool JobRequestCfg::allow_restore() const { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.allow_restore) - return _internal_allow_restore(); -} -inline void JobRequestCfg::set_allow_restore(bool value) { - _internal_set_allow_restore(value); - _impl_._has_bits_[0] |= 0x00000040u; - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.allow_restore) -} -inline bool JobRequestCfg::_internal_allow_restore() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.allow_restore_; -} -inline void JobRequestCfg::_internal_set_allow_restore(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.allow_restore_ = value; -} - -// optional string filter_expr = 16; -inline bool JobRequestCfg::has_filter_expr() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - return value; -} -inline void JobRequestCfg::clear_filter_expr() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.filter_expr_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const std::string& JobRequestCfg::filter_expr() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.JobRequestCfg.filter_expr) - return _internal_filter_expr(); -} -template -inline PROTOBUF_ALWAYS_INLINE void JobRequestCfg::set_filter_expr(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.filter_expr_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.JobRequestCfg.filter_expr) -} -inline std::string* JobRequestCfg::mutable_filter_expr() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_filter_expr(); - // @@protoc_insertion_point(field_mutable:flex.JobRequestCfg.filter_expr) - return _s; -} -inline const std::string& JobRequestCfg::_internal_filter_expr() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.filter_expr_.Get(); -} -inline void JobRequestCfg::_internal_set_filter_expr(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000004u; - _impl_.filter_expr_.Set(value, GetArena()); -} -inline std::string* JobRequestCfg::_internal_mutable_filter_expr() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000004u; - return _impl_.filter_expr_.Mutable( GetArena()); -} -inline std::string* JobRequestCfg::release_filter_expr() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.JobRequestCfg.filter_expr) - if ((_impl_._has_bits_[0] & 0x00000004u) == 0) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000004u; - auto* released = _impl_.filter_expr_.Release(); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { - _impl_.filter_expr_.Set("", GetArena()); - } - return released; -} -inline void JobRequestCfg::set_allocated_filter_expr(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - _impl_.filter_expr_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.filter_expr_.IsDefault()) { - _impl_.filter_expr_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.JobRequestCfg.filter_expr) -} - -// ------------------------------------------------------------------- - -// WorkRequest_Segment - -// int64 offset_start = 1; -inline void WorkRequest_Segment::clear_offset_start() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.offset_start_ = ::int64_t{0}; -} -inline ::int64_t WorkRequest_Segment::offset_start() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.offset_start) - return _internal_offset_start(); -} -inline void WorkRequest_Segment::set_offset_start(::int64_t value) { - _internal_set_offset_start(value); - // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.offset_start) -} -inline ::int64_t WorkRequest_Segment::_internal_offset_start() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.offset_start_; -} -inline void WorkRequest_Segment::_internal_set_offset_start(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.offset_start_ = value; -} - -// int64 offset_stop = 2; -inline void WorkRequest_Segment::clear_offset_stop() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.offset_stop_ = ::int64_t{0}; -} -inline ::int64_t WorkRequest_Segment::offset_stop() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.offset_stop) - return _internal_offset_stop(); -} -inline void WorkRequest_Segment::set_offset_stop(::int64_t value) { - _internal_set_offset_stop(value); - // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.offset_stop) -} -inline ::int64_t WorkRequest_Segment::_internal_offset_stop() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.offset_stop_; -} -inline void WorkRequest_Segment::_internal_set_offset_stop(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.offset_stop_ = value; -} - -// int32 parts_start = 3; -inline void WorkRequest_Segment::clear_parts_start() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parts_start_ = 0; -} -inline ::int32_t WorkRequest_Segment::parts_start() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.parts_start) - return _internal_parts_start(); -} -inline void WorkRequest_Segment::set_parts_start(::int32_t value) { - _internal_set_parts_start(value); - // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.parts_start) -} -inline ::int32_t WorkRequest_Segment::_internal_parts_start() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.parts_start_; -} -inline void WorkRequest_Segment::_internal_set_parts_start(::int32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parts_start_ = value; -} - -// int32 parts_stop = 4; -inline void WorkRequest_Segment::clear_parts_stop() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parts_stop_ = 0; -} -inline ::int32_t WorkRequest_Segment::parts_stop() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.Segment.parts_stop) - return _internal_parts_stop(); -} -inline void WorkRequest_Segment::set_parts_stop(::int32_t value) { - _internal_set_parts_stop(value); - // @@protoc_insertion_point(field_set:flex.WorkRequest.Segment.parts_stop) -} -inline ::int32_t WorkRequest_Segment::_internal_parts_stop() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.parts_stop_; -} -inline void WorkRequest_Segment::_internal_set_parts_stop(::int32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parts_stop_ = value; -} - -// ------------------------------------------------------------------- - -// WorkRequest - -// string job_id = 1; -inline void WorkRequest::clear_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.ClearToEmpty(); -} -inline const std::string& WorkRequest::job_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.job_id) - return _internal_job_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void WorkRequest::set_job_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.WorkRequest.job_id) -} -inline std::string* WorkRequest::mutable_job_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_job_id(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.job_id) - return _s; -} -inline const std::string& WorkRequest::_internal_job_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.job_id_.Get(); -} -inline void WorkRequest::_internal_set_job_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.Set(value, GetArena()); -} -inline std::string* WorkRequest::_internal_mutable_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.job_id_.Mutable( GetArena()); -} -inline std::string* WorkRequest::release_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.WorkRequest.job_id) - return _impl_.job_id_.Release(); -} -inline void WorkRequest::set_allocated_job_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.job_id_.IsDefault()) { - _impl_.job_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.job_id) -} - -// string request_id = 2; -inline void WorkRequest::clear_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.ClearToEmpty(); -} -inline const std::string& WorkRequest::request_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.request_id) - return _internal_request_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void WorkRequest::set_request_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.WorkRequest.request_id) -} -inline std::string* WorkRequest::mutable_request_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_request_id(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.request_id) - return _s; -} -inline const std::string& WorkRequest::_internal_request_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.request_id_.Get(); -} -inline void WorkRequest::_internal_set_request_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.Set(value, GetArena()); -} -inline std::string* WorkRequest::_internal_mutable_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.request_id_.Mutable( GetArena()); -} -inline std::string* WorkRequest::release_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.WorkRequest.request_id) - return _impl_.request_id_.Release(); -} -inline void WorkRequest::set_allocated_request_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.request_id_.IsDefault()) { - _impl_.request_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.request_id) -} - -// string external_id = 3; -inline void WorkRequest::clear_external_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.ClearToEmpty(); -} -inline const std::string& WorkRequest::external_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.external_id) - return _internal_external_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void WorkRequest::set_external_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.WorkRequest.external_id) -} -inline std::string* WorkRequest::mutable_external_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_external_id(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.external_id) - return _s; -} -inline const std::string& WorkRequest::_internal_external_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.external_id_.Get(); -} -inline void WorkRequest::_internal_set_external_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.Set(value, GetArena()); -} -inline std::string* WorkRequest::_internal_mutable_external_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.external_id_.Mutable( GetArena()); -} -inline std::string* WorkRequest::release_external_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.WorkRequest.external_id) - return _impl_.external_id_.Release(); -} -inline void WorkRequest::set_allocated_external_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.external_id_.IsDefault()) { - _impl_.external_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.external_id) -} - -// string path = 4; -inline void WorkRequest::clear_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.ClearToEmpty(); -} -inline const std::string& WorkRequest::path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.path) - return _internal_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void WorkRequest::set_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.WorkRequest.path) -} -inline std::string* WorkRequest::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.path) - return _s; -} -inline const std::string& WorkRequest::_internal_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_.Get(); -} -inline void WorkRequest::_internal_set_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(value, GetArena()); -} -inline std::string* WorkRequest::_internal_mutable_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_.Mutable( GetArena()); -} -inline std::string* WorkRequest::release_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.WorkRequest.path) - return _impl_.path_.Release(); -} -inline void WorkRequest::set_allocated_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { - _impl_.path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.path) -} - -// .flex.WorkRequest.Segment segment = 5; -inline bool WorkRequest::has_segment() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.segment_ != nullptr); - return value; -} -inline void WorkRequest::clear_segment() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.segment_ != nullptr) _impl_.segment_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::WorkRequest_Segment& WorkRequest::_internal_segment() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::WorkRequest_Segment* p = _impl_.segment_; - return p != nullptr ? *p : reinterpret_cast(::flex::_WorkRequest_Segment_default_instance_); -} -inline const ::flex::WorkRequest_Segment& WorkRequest::segment() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.segment) - return _internal_segment(); -} -inline void WorkRequest::unsafe_arena_set_allocated_segment(::flex::WorkRequest_Segment* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.segment_); - } - _impl_.segment_ = reinterpret_cast<::flex::WorkRequest_Segment*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.segment) -} -inline ::flex::WorkRequest_Segment* WorkRequest::release_segment() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::WorkRequest_Segment* released = _impl_.segment_; - _impl_.segment_ = 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 ::flex::WorkRequest_Segment* WorkRequest::unsafe_arena_release_segment() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.WorkRequest.segment) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::WorkRequest_Segment* temp = _impl_.segment_; - _impl_.segment_ = nullptr; - return temp; -} -inline ::flex::WorkRequest_Segment* WorkRequest::_internal_mutable_segment() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.segment_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::WorkRequest_Segment>(GetArena()); - _impl_.segment_ = reinterpret_cast<::flex::WorkRequest_Segment*>(p); - } - return _impl_.segment_; -} -inline ::flex::WorkRequest_Segment* WorkRequest::mutable_segment() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::WorkRequest_Segment* _msg = _internal_mutable_segment(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.segment) - return _msg; -} -inline void WorkRequest::set_allocated_segment(::flex::WorkRequest_Segment* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.segment_); - } - - 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_.segment_ = reinterpret_cast<::flex::WorkRequest_Segment*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.WorkRequest.segment) -} - -// uint32 remote_storage_target = 6; -inline void WorkRequest::clear_remote_storage_target() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_storage_target_ = 0u; -} -inline ::uint32_t WorkRequest::remote_storage_target() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.remote_storage_target) - return _internal_remote_storage_target(); -} -inline void WorkRequest::set_remote_storage_target(::uint32_t value) { - _internal_set_remote_storage_target(value); - // @@protoc_insertion_point(field_set:flex.WorkRequest.remote_storage_target) -} -inline ::uint32_t WorkRequest::_internal_remote_storage_target() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.remote_storage_target_; -} -inline void WorkRequest::_internal_set_remote_storage_target(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_storage_target_ = value; -} - -// .flex.MockJob mock = 10; -inline bool WorkRequest::has_mock() const { - return Type_case() == kMock; -} -inline bool WorkRequest::_internal_has_mock() const { - return Type_case() == kMock; -} -inline void WorkRequest::set_has_mock() { - _impl_._oneof_case_[0] = kMock; -} -inline void WorkRequest::clear_mock() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (Type_case() == kMock) { - if (GetArena() == nullptr) { - delete _impl_.Type_.mock_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.Type_.mock_); - } - clear_has_Type(); - } -} -inline ::flex::MockJob* WorkRequest::release_mock() { - // @@protoc_insertion_point(field_release:flex.WorkRequest.mock) - if (Type_case() == kMock) { - clear_has_Type(); - auto* temp = _impl_.Type_.mock_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.Type_.mock_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flex::MockJob& WorkRequest::_internal_mock() const { - return Type_case() == kMock ? *_impl_.Type_.mock_ : reinterpret_cast<::flex::MockJob&>(::flex::_MockJob_default_instance_); -} -inline const ::flex::MockJob& WorkRequest::mock() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.mock) - return _internal_mock(); -} -inline ::flex::MockJob* WorkRequest::unsafe_arena_release_mock() { - // @@protoc_insertion_point(field_unsafe_arena_release:flex.WorkRequest.mock) - if (Type_case() == kMock) { - clear_has_Type(); - auto* temp = _impl_.Type_.mock_; - _impl_.Type_.mock_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void WorkRequest::unsafe_arena_set_allocated_mock(::flex::MockJob* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_Type(); - if (value) { - set_has_mock(); - _impl_.Type_.mock_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.mock) -} -inline ::flex::MockJob* WorkRequest::_internal_mutable_mock() { - if (Type_case() != kMock) { - clear_Type(); - set_has_mock(); - _impl_.Type_.mock_ = - ::google::protobuf::Message::DefaultConstruct<::flex::MockJob>(GetArena()); - } - return _impl_.Type_.mock_; -} -inline ::flex::MockJob* WorkRequest::mutable_mock() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::flex::MockJob* _msg = _internal_mutable_mock(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.mock) - return _msg; -} - -// .flex.SyncJob sync = 11; -inline bool WorkRequest::has_sync() const { - return Type_case() == kSync; -} -inline bool WorkRequest::_internal_has_sync() const { - return Type_case() == kSync; -} -inline void WorkRequest::set_has_sync() { - _impl_._oneof_case_[0] = kSync; -} -inline void WorkRequest::clear_sync() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (Type_case() == kSync) { - if (GetArena() == nullptr) { - delete _impl_.Type_.sync_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.Type_.sync_); - } - clear_has_Type(); - } -} -inline ::flex::SyncJob* WorkRequest::release_sync() { - // @@protoc_insertion_point(field_release:flex.WorkRequest.sync) - if (Type_case() == kSync) { - clear_has_Type(); - auto* temp = _impl_.Type_.sync_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.Type_.sync_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flex::SyncJob& WorkRequest::_internal_sync() const { - return Type_case() == kSync ? *_impl_.Type_.sync_ : reinterpret_cast<::flex::SyncJob&>(::flex::_SyncJob_default_instance_); -} -inline const ::flex::SyncJob& WorkRequest::sync() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.sync) - return _internal_sync(); -} -inline ::flex::SyncJob* WorkRequest::unsafe_arena_release_sync() { - // @@protoc_insertion_point(field_unsafe_arena_release:flex.WorkRequest.sync) - if (Type_case() == kSync) { - clear_has_Type(); - auto* temp = _impl_.Type_.sync_; - _impl_.Type_.sync_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void WorkRequest::unsafe_arena_set_allocated_sync(::flex::SyncJob* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_Type(); - if (value) { - set_has_sync(); - _impl_.Type_.sync_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.sync) -} -inline ::flex::SyncJob* WorkRequest::_internal_mutable_sync() { - if (Type_case() != kSync) { - clear_Type(); - set_has_sync(); - _impl_.Type_.sync_ = - ::google::protobuf::Message::DefaultConstruct<::flex::SyncJob>(GetArena()); - } - return _impl_.Type_.sync_; -} -inline ::flex::SyncJob* WorkRequest::mutable_sync() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::flex::SyncJob* _msg = _internal_mutable_sync(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.sync) - return _msg; -} - -// .flex.BuilderJob builder = 12; -inline bool WorkRequest::has_builder() const { - return Type_case() == kBuilder; -} -inline bool WorkRequest::_internal_has_builder() const { - return Type_case() == kBuilder; -} -inline void WorkRequest::set_has_builder() { - _impl_._oneof_case_[0] = kBuilder; -} -inline void WorkRequest::clear_builder() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (Type_case() == kBuilder) { - if (GetArena() == nullptr) { - delete _impl_.Type_.builder_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.Type_.builder_); - } - clear_has_Type(); - } -} -inline ::flex::BuilderJob* WorkRequest::release_builder() { - // @@protoc_insertion_point(field_release:flex.WorkRequest.builder) - if (Type_case() == kBuilder) { - clear_has_Type(); - auto* temp = _impl_.Type_.builder_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.Type_.builder_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flex::BuilderJob& WorkRequest::_internal_builder() const { - return Type_case() == kBuilder ? *_impl_.Type_.builder_ : reinterpret_cast<::flex::BuilderJob&>(::flex::_BuilderJob_default_instance_); -} -inline const ::flex::BuilderJob& WorkRequest::builder() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.WorkRequest.builder) - return _internal_builder(); -} -inline ::flex::BuilderJob* WorkRequest::unsafe_arena_release_builder() { - // @@protoc_insertion_point(field_unsafe_arena_release:flex.WorkRequest.builder) - if (Type_case() == kBuilder) { - clear_has_Type(); - auto* temp = _impl_.Type_.builder_; - _impl_.Type_.builder_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void WorkRequest::unsafe_arena_set_allocated_builder(::flex::BuilderJob* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_Type(); - if (value) { - set_has_builder(); - _impl_.Type_.builder_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.WorkRequest.builder) -} -inline ::flex::BuilderJob* WorkRequest::_internal_mutable_builder() { - if (Type_case() != kBuilder) { - clear_Type(); - set_has_builder(); - _impl_.Type_.builder_ = - ::google::protobuf::Message::DefaultConstruct<::flex::BuilderJob>(GetArena()); - } - return _impl_.Type_.builder_; -} -inline ::flex::BuilderJob* WorkRequest::mutable_builder() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::flex::BuilderJob* _msg = _internal_mutable_builder(); - // @@protoc_insertion_point(field_mutable:flex.WorkRequest.builder) - return _msg; -} - -// bool stub_local = 8; -inline void WorkRequest::clear_stub_local() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_local_ = false; -} -inline bool WorkRequest::stub_local() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.stub_local) - return _internal_stub_local(); -} -inline void WorkRequest::set_stub_local(bool value) { - _internal_set_stub_local(value); - // @@protoc_insertion_point(field_set:flex.WorkRequest.stub_local) -} -inline bool WorkRequest::_internal_stub_local() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.stub_local_; -} -inline void WorkRequest::_internal_set_stub_local(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.stub_local_ = value; -} - -// optional int32 priority = 9; -inline bool WorkRequest::has_priority() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void WorkRequest::clear_priority() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.priority_ = 0; - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline ::int32_t WorkRequest::priority() const { - // @@protoc_insertion_point(field_get:flex.WorkRequest.priority) - return _internal_priority(); -} -inline void WorkRequest::set_priority(::int32_t value) { - _internal_set_priority(value); - _impl_._has_bits_[0] |= 0x00000002u; - // @@protoc_insertion_point(field_set:flex.WorkRequest.priority) -} -inline ::int32_t WorkRequest::_internal_priority() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.priority_; -} -inline void WorkRequest::_internal_set_priority(::int32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.priority_ = value; -} - -inline bool WorkRequest::has_Type() const { - return Type_case() != TYPE_NOT_SET; -} -inline void WorkRequest::clear_has_Type() { - _impl_._oneof_case_[0] = TYPE_NOT_SET; -} -inline WorkRequest::TypeCase WorkRequest::Type_case() const { - return WorkRequest::TypeCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// BuilderJob - -// .flex.JobRequestCfg cfg = 1; -inline bool BuilderJob::has_cfg() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cfg_ != nullptr); - return value; -} -inline void BuilderJob::clear_cfg() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.cfg_ != nullptr) _impl_.cfg_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::JobRequestCfg& BuilderJob::_internal_cfg() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::JobRequestCfg* p = _impl_.cfg_; - return p != nullptr ? *p : reinterpret_cast(::flex::_JobRequestCfg_default_instance_); -} -inline const ::flex::JobRequestCfg& BuilderJob::cfg() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.BuilderJob.cfg) - return _internal_cfg(); -} -inline void BuilderJob::unsafe_arena_set_allocated_cfg(::flex::JobRequestCfg* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cfg_); - } - _impl_.cfg_ = reinterpret_cast<::flex::JobRequestCfg*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.BuilderJob.cfg) -} -inline ::flex::JobRequestCfg* BuilderJob::release_cfg() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::JobRequestCfg* released = _impl_.cfg_; - _impl_.cfg_ = 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 ::flex::JobRequestCfg* BuilderJob::unsafe_arena_release_cfg() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.BuilderJob.cfg) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::JobRequestCfg* temp = _impl_.cfg_; - _impl_.cfg_ = nullptr; - return temp; -} -inline ::flex::JobRequestCfg* BuilderJob::_internal_mutable_cfg() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.cfg_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::JobRequestCfg>(GetArena()); - _impl_.cfg_ = reinterpret_cast<::flex::JobRequestCfg*>(p); - } - return _impl_.cfg_; -} -inline ::flex::JobRequestCfg* BuilderJob::mutable_cfg() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::JobRequestCfg* _msg = _internal_mutable_cfg(); - // @@protoc_insertion_point(field_mutable:flex.BuilderJob.cfg) - return _msg; -} -inline void BuilderJob::set_allocated_cfg(::flex::JobRequestCfg* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.cfg_); - } - - 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_.cfg_ = reinterpret_cast<::flex::JobRequestCfg*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.BuilderJob.cfg) -} - -// int32 submitted = 2; -inline void BuilderJob::clear_submitted() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.submitted_ = 0; -} -inline ::int32_t BuilderJob::submitted() const { - // @@protoc_insertion_point(field_get:flex.BuilderJob.submitted) - return _internal_submitted(); -} -inline void BuilderJob::set_submitted(::int32_t value) { - _internal_set_submitted(value); - // @@protoc_insertion_point(field_set:flex.BuilderJob.submitted) -} -inline ::int32_t BuilderJob::_internal_submitted() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.submitted_; -} -inline void BuilderJob::_internal_set_submitted(::int32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.submitted_ = value; -} - -// int32 errors = 3; -inline void BuilderJob::clear_errors() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.errors_ = 0; -} -inline ::int32_t BuilderJob::errors() const { - // @@protoc_insertion_point(field_get:flex.BuilderJob.errors) - return _internal_errors(); -} -inline void BuilderJob::set_errors(::int32_t value) { - _internal_set_errors(value); - // @@protoc_insertion_point(field_set:flex.BuilderJob.errors) -} -inline ::int32_t BuilderJob::_internal_errors() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.errors_; -} -inline void BuilderJob::_internal_set_errors(::int32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.errors_ = value; -} - -// ------------------------------------------------------------------- - -// MockJob - -// int32 num_test_segments = 1; -inline void MockJob::clear_num_test_segments() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.num_test_segments_ = 0; -} -inline ::int32_t MockJob::num_test_segments() const { - // @@protoc_insertion_point(field_get:flex.MockJob.num_test_segments) - return _internal_num_test_segments(); -} -inline void MockJob::set_num_test_segments(::int32_t value) { - _internal_set_num_test_segments(value); - // @@protoc_insertion_point(field_set:flex.MockJob.num_test_segments) -} -inline ::int32_t MockJob::_internal_num_test_segments() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.num_test_segments_; -} -inline void MockJob::_internal_set_num_test_segments(::int32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.num_test_segments_ = value; -} - -// int64 file_size = 2; -inline void MockJob::clear_file_size() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.file_size_ = ::int64_t{0}; -} -inline ::int64_t MockJob::file_size() const { - // @@protoc_insertion_point(field_get:flex.MockJob.file_size) - return _internal_file_size(); -} -inline void MockJob::set_file_size(::int64_t value) { - _internal_set_file_size(value); - // @@protoc_insertion_point(field_set:flex.MockJob.file_size) -} -inline ::int64_t MockJob::_internal_file_size() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.file_size_; -} -inline void MockJob::_internal_set_file_size(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.file_size_ = value; -} - -// string external_id = 3; -inline void MockJob::clear_external_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.ClearToEmpty(); -} -inline const std::string& MockJob::external_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.MockJob.external_id) - return _internal_external_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void MockJob::set_external_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.MockJob.external_id) -} -inline std::string* MockJob::mutable_external_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_external_id(); - // @@protoc_insertion_point(field_mutable:flex.MockJob.external_id) - return _s; -} -inline const std::string& MockJob::_internal_external_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.external_id_.Get(); -} -inline void MockJob::_internal_set_external_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.Set(value, GetArena()); -} -inline std::string* MockJob::_internal_mutable_external_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.external_id_.Mutable( GetArena()); -} -inline std::string* MockJob::release_external_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.MockJob.external_id) - return _impl_.external_id_.Release(); -} -inline void MockJob::set_allocated_external_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.external_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.external_id_.IsDefault()) { - _impl_.external_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.MockJob.external_id) -} - -// bool should_fail = 4; -inline void MockJob::clear_should_fail() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.should_fail_ = false; -} -inline bool MockJob::should_fail() const { - // @@protoc_insertion_point(field_get:flex.MockJob.should_fail) - return _internal_should_fail(); -} -inline void MockJob::set_should_fail(bool value) { - _internal_set_should_fail(value); - // @@protoc_insertion_point(field_set:flex.MockJob.should_fail) -} -inline bool MockJob::_internal_should_fail() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.should_fail_; -} -inline void MockJob::_internal_set_should_fail(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.should_fail_ = value; -} - -// .flex.JobLockedInfo locked_info = 6; -inline bool MockJob::has_locked_info() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.locked_info_ != nullptr); - return value; -} -inline void MockJob::clear_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.locked_info_ != nullptr) _impl_.locked_info_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::JobLockedInfo& MockJob::_internal_locked_info() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::JobLockedInfo* p = _impl_.locked_info_; - return p != nullptr ? *p : reinterpret_cast(::flex::_JobLockedInfo_default_instance_); -} -inline const ::flex::JobLockedInfo& MockJob::locked_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.MockJob.locked_info) - return _internal_locked_info(); -} -inline void MockJob::unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.locked_info_); - } - _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.MockJob.locked_info) -} -inline ::flex::JobLockedInfo* MockJob::release_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::JobLockedInfo* released = _impl_.locked_info_; - _impl_.locked_info_ = 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 ::flex::JobLockedInfo* MockJob::unsafe_arena_release_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.MockJob.locked_info) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::JobLockedInfo* temp = _impl_.locked_info_; - _impl_.locked_info_ = nullptr; - return temp; -} -inline ::flex::JobLockedInfo* MockJob::_internal_mutable_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.locked_info_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::JobLockedInfo>(GetArena()); - _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(p); - } - return _impl_.locked_info_; -} -inline ::flex::JobLockedInfo* MockJob::mutable_locked_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::JobLockedInfo* _msg = _internal_mutable_locked_info(); - // @@protoc_insertion_point(field_mutable:flex.MockJob.locked_info) - return _msg; -} -inline void MockJob::set_allocated_locked_info(::flex::JobLockedInfo* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.locked_info_); - } - - 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_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.MockJob.locked_info) -} - -// .flex.JobRequestCfg cfg = 7; -inline bool MockJob::has_cfg() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.cfg_ != nullptr); - return value; -} -inline void MockJob::clear_cfg() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.cfg_ != nullptr) _impl_.cfg_->Clear(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const ::flex::JobRequestCfg& MockJob::_internal_cfg() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::JobRequestCfg* p = _impl_.cfg_; - return p != nullptr ? *p : reinterpret_cast(::flex::_JobRequestCfg_default_instance_); -} -inline const ::flex::JobRequestCfg& MockJob::cfg() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.MockJob.cfg) - return _internal_cfg(); -} -inline void MockJob::unsafe_arena_set_allocated_cfg(::flex::JobRequestCfg* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cfg_); - } - _impl_.cfg_ = reinterpret_cast<::flex::JobRequestCfg*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.MockJob.cfg) -} -inline ::flex::JobRequestCfg* MockJob::release_cfg() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::flex::JobRequestCfg* released = _impl_.cfg_; - _impl_.cfg_ = 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 ::flex::JobRequestCfg* MockJob::unsafe_arena_release_cfg() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.MockJob.cfg) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::flex::JobRequestCfg* temp = _impl_.cfg_; - _impl_.cfg_ = nullptr; - return temp; -} -inline ::flex::JobRequestCfg* MockJob::_internal_mutable_cfg() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.cfg_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::JobRequestCfg>(GetArena()); - _impl_.cfg_ = reinterpret_cast<::flex::JobRequestCfg*>(p); - } - return _impl_.cfg_; -} -inline ::flex::JobRequestCfg* MockJob::mutable_cfg() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; - ::flex::JobRequestCfg* _msg = _internal_mutable_cfg(); - // @@protoc_insertion_point(field_mutable:flex.MockJob.cfg) - return _msg; -} -inline void MockJob::set_allocated_cfg(::flex::JobRequestCfg* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.cfg_); - } - - 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_.cfg_ = reinterpret_cast<::flex::JobRequestCfg*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.MockJob.cfg) -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// SyncJob - -// .flex.SyncJob.Operation operation = 1; -inline void SyncJob::clear_operation() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.operation_ = 0; -} -inline ::flex::SyncJob_Operation SyncJob::operation() const { - // @@protoc_insertion_point(field_get:flex.SyncJob.operation) - return _internal_operation(); -} -inline void SyncJob::set_operation(::flex::SyncJob_Operation value) { - _internal_set_operation(value); - // @@protoc_insertion_point(field_set:flex.SyncJob.operation) -} -inline ::flex::SyncJob_Operation SyncJob::_internal_operation() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::flex::SyncJob_Operation>(_impl_.operation_); -} -inline void SyncJob::_internal_set_operation(::flex::SyncJob_Operation value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.operation_ = value; -} - -// bool overwrite = 2; -inline void SyncJob::clear_overwrite() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.overwrite_ = false; -} -inline bool SyncJob::overwrite() const { - // @@protoc_insertion_point(field_get:flex.SyncJob.overwrite) - return _internal_overwrite(); -} -inline void SyncJob::set_overwrite(bool value) { - _internal_set_overwrite(value); - // @@protoc_insertion_point(field_set:flex.SyncJob.overwrite) -} -inline bool SyncJob::_internal_overwrite() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.overwrite_; -} -inline void SyncJob::_internal_set_overwrite(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.overwrite_ = value; -} - -// string remote_path = 3; -inline void SyncJob::clear_remote_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_path_.ClearToEmpty(); -} -inline const std::string& SyncJob::remote_path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.SyncJob.remote_path) - return _internal_remote_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void SyncJob::set_remote_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.SyncJob.remote_path) -} -inline std::string* SyncJob::mutable_remote_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_remote_path(); - // @@protoc_insertion_point(field_mutable:flex.SyncJob.remote_path) - return _s; -} -inline const std::string& SyncJob::_internal_remote_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.remote_path_.Get(); -} -inline void SyncJob::_internal_set_remote_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_path_.Set(value, GetArena()); -} -inline std::string* SyncJob::_internal_mutable_remote_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.remote_path_.Mutable( GetArena()); -} -inline std::string* SyncJob::release_remote_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.SyncJob.remote_path) - return _impl_.remote_path_.Release(); -} -inline void SyncJob::set_allocated_remote_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.remote_path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.remote_path_.IsDefault()) { - _impl_.remote_path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.SyncJob.remote_path) -} - -// bool flatten = 5; -inline void SyncJob::clear_flatten() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.flatten_ = false; -} -inline bool SyncJob::flatten() const { - // @@protoc_insertion_point(field_get:flex.SyncJob.flatten) - return _internal_flatten(); -} -inline void SyncJob::set_flatten(bool value) { - _internal_set_flatten(value); - // @@protoc_insertion_point(field_set:flex.SyncJob.flatten) -} -inline bool SyncJob::_internal_flatten() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.flatten_; -} -inline void SyncJob::_internal_set_flatten(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.flatten_ = value; -} - -// .flex.JobLockedInfo locked_info = 6; -inline bool SyncJob::has_locked_info() const { - bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; - PROTOBUF_ASSUME(!value || _impl_.locked_info_ != nullptr); - return value; -} -inline void SyncJob::clear_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.locked_info_ != nullptr) _impl_.locked_info_->Clear(); - _impl_._has_bits_[0] &= ~0x00000004u; -} -inline const ::flex::JobLockedInfo& SyncJob::_internal_locked_info() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::JobLockedInfo* p = _impl_.locked_info_; - return p != nullptr ? *p : reinterpret_cast(::flex::_JobLockedInfo_default_instance_); -} -inline const ::flex::JobLockedInfo& SyncJob::locked_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.SyncJob.locked_info) - return _internal_locked_info(); -} -inline void SyncJob::unsafe_arena_set_allocated_locked_info(::flex::JobLockedInfo* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.locked_info_); - } - _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000004u; - } else { - _impl_._has_bits_[0] &= ~0x00000004u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.SyncJob.locked_info) -} -inline ::flex::JobLockedInfo* SyncJob::release_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000004u; - ::flex::JobLockedInfo* released = _impl_.locked_info_; - _impl_.locked_info_ = 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 ::flex::JobLockedInfo* SyncJob::unsafe_arena_release_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.SyncJob.locked_info) - - _impl_._has_bits_[0] &= ~0x00000004u; - ::flex::JobLockedInfo* temp = _impl_.locked_info_; - _impl_.locked_info_ = nullptr; - return temp; -} -inline ::flex::JobLockedInfo* SyncJob::_internal_mutable_locked_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.locked_info_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::JobLockedInfo>(GetArena()); - _impl_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(p); - } - return _impl_.locked_info_; -} -inline ::flex::JobLockedInfo* SyncJob::mutable_locked_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000004u; - ::flex::JobLockedInfo* _msg = _internal_mutable_locked_info(); - // @@protoc_insertion_point(field_mutable:flex.SyncJob.locked_info) - return _msg; -} -inline void SyncJob::set_allocated_locked_info(::flex::JobLockedInfo* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.locked_info_); - } - - 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_.locked_info_ = reinterpret_cast<::flex::JobLockedInfo*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.SyncJob.locked_info) -} - -// optional bool update = 7; -inline bool SyncJob::has_update() const { - bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0; - return value; -} -inline void SyncJob::clear_update() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.update_ = false; - _impl_._has_bits_[0] &= ~0x00000008u; -} -inline bool SyncJob::update() const { - // @@protoc_insertion_point(field_get:flex.SyncJob.update) - return _internal_update(); -} -inline void SyncJob::set_update(bool value) { - _internal_set_update(value); - _impl_._has_bits_[0] |= 0x00000008u; - // @@protoc_insertion_point(field_set:flex.SyncJob.update) -} -inline bool SyncJob::_internal_update() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.update_; -} -inline void SyncJob::_internal_set_update(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.update_ = value; -} - -// map metadata = 9; -inline int SyncJob::_internal_metadata_size() const { - return _internal_metadata().size(); -} -inline int SyncJob::metadata_size() const { - return _internal_metadata_size(); -} -inline void SyncJob::clear_metadata() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.metadata_.Clear(); -} -inline const ::google::protobuf::Map& SyncJob::_internal_metadata() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.metadata_.GetMap(); -} -inline const ::google::protobuf::Map& SyncJob::metadata() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_map:flex.SyncJob.metadata) - return _internal_metadata(); -} -inline ::google::protobuf::Map* SyncJob::_internal_mutable_metadata() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.metadata_.MutableMap(); -} -inline ::google::protobuf::Map* SyncJob::mutable_metadata() ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_map:flex.SyncJob.metadata) - return _internal_mutable_metadata(); -} - -// optional string tagging = 10; -inline bool SyncJob::has_tagging() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - return value; -} -inline void SyncJob::clear_tagging() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.tagging_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const std::string& SyncJob::tagging() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.SyncJob.tagging) - return _internal_tagging(); -} -template -inline PROTOBUF_ALWAYS_INLINE void SyncJob::set_tagging(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tagging_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.SyncJob.tagging) -} -inline std::string* SyncJob::mutable_tagging() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_tagging(); - // @@protoc_insertion_point(field_mutable:flex.SyncJob.tagging) - return _s; -} -inline const std::string& SyncJob::_internal_tagging() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.tagging_.Get(); -} -inline void SyncJob::_internal_set_tagging(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - _impl_.tagging_.Set(value, GetArena()); -} -inline std::string* SyncJob::_internal_mutable_tagging() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000001u; - return _impl_.tagging_.Mutable( GetArena()); -} -inline std::string* SyncJob::release_tagging() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.SyncJob.tagging) - if ((_impl_._has_bits_[0] & 0x00000001u) == 0) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000001u; - auto* released = _impl_.tagging_.Release(); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { - _impl_.tagging_.Set("", GetArena()); - } - return released; -} -inline void SyncJob::set_allocated_tagging(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - _impl_.tagging_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.tagging_.IsDefault()) { - _impl_.tagging_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.SyncJob.tagging) -} - -// optional string storage_class = 12; -inline bool SyncJob::has_storage_class() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - return value; -} -inline void SyncJob::clear_storage_class() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.storage_class_.ClearToEmpty(); - _impl_._has_bits_[0] &= ~0x00000002u; -} -inline const std::string& SyncJob::storage_class() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.SyncJob.storage_class) - return _internal_storage_class(); -} -template -inline PROTOBUF_ALWAYS_INLINE void SyncJob::set_storage_class(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.storage_class_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.SyncJob.storage_class) -} -inline std::string* SyncJob::mutable_storage_class() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_storage_class(); - // @@protoc_insertion_point(field_mutable:flex.SyncJob.storage_class) - return _s; -} -inline const std::string& SyncJob::_internal_storage_class() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.storage_class_.Get(); -} -inline void SyncJob::_internal_set_storage_class(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; - _impl_.storage_class_.Set(value, GetArena()); -} -inline std::string* SyncJob::_internal_mutable_storage_class() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_._has_bits_[0] |= 0x00000002u; - return _impl_.storage_class_.Mutable( GetArena()); -} -inline std::string* SyncJob::release_storage_class() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.SyncJob.storage_class) - if ((_impl_._has_bits_[0] & 0x00000002u) == 0) { - return nullptr; - } - _impl_._has_bits_[0] &= ~0x00000002u; - auto* released = _impl_.storage_class_.Release(); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString()) { - _impl_.storage_class_.Set("", GetArena()); - } - return released; -} -inline void SyncJob::set_allocated_storage_class(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000002u; - } else { - _impl_._has_bits_[0] &= ~0x00000002u; - } - _impl_.storage_class_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.storage_class_.IsDefault()) { - _impl_.storage_class_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.SyncJob.storage_class) -} - -// optional bool allow_restore = 13; -inline bool SyncJob::has_allow_restore() const { - bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0; - return value; -} -inline void SyncJob::clear_allow_restore() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.allow_restore_ = false; - _impl_._has_bits_[0] &= ~0x00000010u; -} -inline bool SyncJob::allow_restore() const { - // @@protoc_insertion_point(field_get:flex.SyncJob.allow_restore) - return _internal_allow_restore(); -} -inline void SyncJob::set_allow_restore(bool value) { - _internal_set_allow_restore(value); - _impl_._has_bits_[0] |= 0x00000010u; - // @@protoc_insertion_point(field_set:flex.SyncJob.allow_restore) -} -inline bool SyncJob::_internal_allow_restore() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.allow_restore_; -} -inline void SyncJob::_internal_set_allow_restore(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.allow_restore_ = value; -} - -// ------------------------------------------------------------------- - -// Work_Status - -// .flex.Work.State state = 1; -inline void Work_Status::clear_state() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.state_ = 0; -} -inline ::flex::Work_State Work_Status::state() const { - // @@protoc_insertion_point(field_get:flex.Work.Status.state) - return _internal_state(); -} -inline void Work_Status::set_state(::flex::Work_State value) { - _internal_set_state(value); - // @@protoc_insertion_point(field_set:flex.Work.Status.state) -} -inline ::flex::Work_State Work_Status::_internal_state() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::flex::Work_State>(_impl_.state_); -} -inline void Work_Status::_internal_set_state(::flex::Work_State value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.state_ = value; -} - -// string message = 2; -inline void Work_Status::clear_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.ClearToEmpty(); -} -inline const std::string& Work_Status::message() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.Work.Status.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE void Work_Status::set_message(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.Work.Status.message) -} -inline std::string* Work_Status::mutable_message() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:flex.Work.Status.message) - return _s; -} -inline const std::string& Work_Status::_internal_message() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.message_.Get(); -} -inline void Work_Status::_internal_set_message(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(value, GetArena()); -} -inline std::string* Work_Status::_internal_mutable_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.message_.Mutable( GetArena()); -} -inline std::string* Work_Status::release_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.Work.Status.message) - return _impl_.message_.Release(); -} -inline void Work_Status::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:flex.Work.Status.message) -} - -// ------------------------------------------------------------------- - -// Work_Part - -// int32 part_number = 1; -inline void Work_Part::clear_part_number() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.part_number_ = 0; -} -inline ::int32_t Work_Part::part_number() const { - // @@protoc_insertion_point(field_get:flex.Work.Part.part_number) - return _internal_part_number(); -} -inline void Work_Part::set_part_number(::int32_t value) { - _internal_set_part_number(value); - // @@protoc_insertion_point(field_set:flex.Work.Part.part_number) -} -inline ::int32_t Work_Part::_internal_part_number() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.part_number_; -} -inline void Work_Part::_internal_set_part_number(::int32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.part_number_ = value; -} - -// int64 offset_start = 2; -inline void Work_Part::clear_offset_start() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.offset_start_ = ::int64_t{0}; -} -inline ::int64_t Work_Part::offset_start() const { - // @@protoc_insertion_point(field_get:flex.Work.Part.offset_start) - return _internal_offset_start(); -} -inline void Work_Part::set_offset_start(::int64_t value) { - _internal_set_offset_start(value); - // @@protoc_insertion_point(field_set:flex.Work.Part.offset_start) -} -inline ::int64_t Work_Part::_internal_offset_start() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.offset_start_; -} -inline void Work_Part::_internal_set_offset_start(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.offset_start_ = value; -} - -// int64 offset_stop = 3; -inline void Work_Part::clear_offset_stop() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.offset_stop_ = ::int64_t{0}; -} -inline ::int64_t Work_Part::offset_stop() const { - // @@protoc_insertion_point(field_get:flex.Work.Part.offset_stop) - return _internal_offset_stop(); -} -inline void Work_Part::set_offset_stop(::int64_t value) { - _internal_set_offset_stop(value); - // @@protoc_insertion_point(field_set:flex.Work.Part.offset_stop) -} -inline ::int64_t Work_Part::_internal_offset_stop() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.offset_stop_; -} -inline void Work_Part::_internal_set_offset_stop(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.offset_stop_ = value; -} - -// string entity_tag = 4; -inline void Work_Part::clear_entity_tag() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.entity_tag_.ClearToEmpty(); -} -inline const std::string& Work_Part::entity_tag() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.Work.Part.entity_tag) - return _internal_entity_tag(); -} -template -inline PROTOBUF_ALWAYS_INLINE void Work_Part::set_entity_tag(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.entity_tag_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.Work.Part.entity_tag) -} -inline std::string* Work_Part::mutable_entity_tag() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_entity_tag(); - // @@protoc_insertion_point(field_mutable:flex.Work.Part.entity_tag) - return _s; -} -inline const std::string& Work_Part::_internal_entity_tag() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.entity_tag_.Get(); -} -inline void Work_Part::_internal_set_entity_tag(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.entity_tag_.Set(value, GetArena()); -} -inline std::string* Work_Part::_internal_mutable_entity_tag() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.entity_tag_.Mutable( GetArena()); -} -inline std::string* Work_Part::release_entity_tag() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.Work.Part.entity_tag) - return _impl_.entity_tag_.Release(); -} -inline void Work_Part::set_allocated_entity_tag(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.entity_tag_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.entity_tag_.IsDefault()) { - _impl_.entity_tag_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.Work.Part.entity_tag) -} - -// string checksum_sha256 = 5; -inline void Work_Part::clear_checksum_sha256() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.checksum_sha256_.ClearToEmpty(); -} -inline const std::string& Work_Part::checksum_sha256() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.Work.Part.checksum_sha256) - return _internal_checksum_sha256(); -} -template -inline PROTOBUF_ALWAYS_INLINE void Work_Part::set_checksum_sha256(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.checksum_sha256_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.Work.Part.checksum_sha256) -} -inline std::string* Work_Part::mutable_checksum_sha256() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_checksum_sha256(); - // @@protoc_insertion_point(field_mutable:flex.Work.Part.checksum_sha256) - return _s; -} -inline const std::string& Work_Part::_internal_checksum_sha256() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.checksum_sha256_.Get(); -} -inline void Work_Part::_internal_set_checksum_sha256(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.checksum_sha256_.Set(value, GetArena()); -} -inline std::string* Work_Part::_internal_mutable_checksum_sha256() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.checksum_sha256_.Mutable( GetArena()); -} -inline std::string* Work_Part::release_checksum_sha256() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.Work.Part.checksum_sha256) - return _impl_.checksum_sha256_.Release(); -} -inline void Work_Part::set_allocated_checksum_sha256(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.checksum_sha256_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.checksum_sha256_.IsDefault()) { - _impl_.checksum_sha256_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.Work.Part.checksum_sha256) -} - -// bool completed = 6; -inline void Work_Part::clear_completed() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.completed_ = false; -} -inline bool Work_Part::completed() const { - // @@protoc_insertion_point(field_get:flex.Work.Part.completed) - return _internal_completed(); -} -inline void Work_Part::set_completed(bool value) { - _internal_set_completed(value); - // @@protoc_insertion_point(field_set:flex.Work.Part.completed) -} -inline bool Work_Part::_internal_completed() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.completed_; -} -inline void Work_Part::_internal_set_completed(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.completed_ = value; -} - -// ------------------------------------------------------------------- - -// Work - -// string path = 1; -inline void Work::clear_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.ClearToEmpty(); -} -inline const std::string& Work::path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.Work.path) - return _internal_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void Work::set_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.Work.path) -} -inline std::string* Work::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:flex.Work.path) - return _s; -} -inline const std::string& Work::_internal_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_.Get(); -} -inline void Work::_internal_set_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(value, GetArena()); -} -inline std::string* Work::_internal_mutable_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_.Mutable( GetArena()); -} -inline std::string* Work::release_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.Work.path) - return _impl_.path_.Release(); -} -inline void Work::set_allocated_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { - _impl_.path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.Work.path) -} - -// string job_id = 2; -inline void Work::clear_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.ClearToEmpty(); -} -inline const std::string& Work::job_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.Work.job_id) - return _internal_job_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void Work::set_job_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.Work.job_id) -} -inline std::string* Work::mutable_job_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_job_id(); - // @@protoc_insertion_point(field_mutable:flex.Work.job_id) - return _s; -} -inline const std::string& Work::_internal_job_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.job_id_.Get(); -} -inline void Work::_internal_set_job_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.Set(value, GetArena()); -} -inline std::string* Work::_internal_mutable_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.job_id_.Mutable( GetArena()); -} -inline std::string* Work::release_job_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.Work.job_id) - return _impl_.job_id_.Release(); -} -inline void Work::set_allocated_job_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.job_id_.IsDefault()) { - _impl_.job_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.Work.job_id) -} - -// string request_id = 3; -inline void Work::clear_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.ClearToEmpty(); -} -inline const std::string& Work::request_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.Work.request_id) - return _internal_request_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void Work::set_request_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.Work.request_id) -} -inline std::string* Work::mutable_request_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_request_id(); - // @@protoc_insertion_point(field_mutable:flex.Work.request_id) - return _s; -} -inline const std::string& Work::_internal_request_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.request_id_.Get(); -} -inline void Work::_internal_set_request_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.Set(value, GetArena()); -} -inline std::string* Work::_internal_mutable_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.request_id_.Mutable( GetArena()); -} -inline std::string* Work::release_request_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.Work.request_id) - return _impl_.request_id_.Release(); -} -inline void Work::set_allocated_request_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.request_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.request_id_.IsDefault()) { - _impl_.request_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.Work.request_id) -} - -// .flex.Work.Status status = 4; -inline bool Work::has_status() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.status_ != nullptr); - return value; -} -inline void Work::clear_status() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.status_ != nullptr) _impl_.status_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::Work_Status& Work::_internal_status() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::Work_Status* p = _impl_.status_; - return p != nullptr ? *p : reinterpret_cast(::flex::_Work_Status_default_instance_); -} -inline const ::flex::Work_Status& Work::status() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.Work.status) - return _internal_status(); -} -inline void Work::unsafe_arena_set_allocated_status(::flex::Work_Status* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.status_); - } - _impl_.status_ = reinterpret_cast<::flex::Work_Status*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.Work.status) -} -inline ::flex::Work_Status* Work::release_status() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::Work_Status* released = _impl_.status_; - _impl_.status_ = 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 ::flex::Work_Status* Work::unsafe_arena_release_status() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.Work.status) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::Work_Status* temp = _impl_.status_; - _impl_.status_ = nullptr; - return temp; -} -inline ::flex::Work_Status* Work::_internal_mutable_status() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.status_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::Work_Status>(GetArena()); - _impl_.status_ = reinterpret_cast<::flex::Work_Status*>(p); - } - return _impl_.status_; -} -inline ::flex::Work_Status* Work::mutable_status() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::Work_Status* _msg = _internal_mutable_status(); - // @@protoc_insertion_point(field_mutable:flex.Work.status) - return _msg; -} -inline void Work::set_allocated_status(::flex::Work_Status* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.status_); - } - - 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_.status_ = reinterpret_cast<::flex::Work_Status*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.Work.status) -} - -// repeated .flex.Work.Part parts = 5; -inline int Work::_internal_parts_size() const { - return _internal_parts().size(); -} -inline int Work::parts_size() const { - return _internal_parts_size(); -} -inline void Work::clear_parts() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.parts_.Clear(); -} -inline ::flex::Work_Part* Work::mutable_parts(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:flex.Work.parts) - return _internal_mutable_parts()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* Work::mutable_parts() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:flex.Work.parts) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_parts(); -} -inline const ::flex::Work_Part& Work::parts(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.Work.parts) - return _internal_parts().Get(index); -} -inline ::flex::Work_Part* Work::add_parts() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::flex::Work_Part* _add = _internal_mutable_parts()->Add(); - // @@protoc_insertion_point(field_add:flex.Work.parts) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::flex::Work_Part>& Work::parts() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:flex.Work.parts) - return _internal_parts(); -} -inline const ::google::protobuf::RepeatedPtrField<::flex::Work_Part>& -Work::_internal_parts() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.parts_; -} -inline ::google::protobuf::RepeatedPtrField<::flex::Work_Part>* -Work::_internal_mutable_parts() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.parts_; -} - -// bool job_builder = 6; -inline void Work::clear_job_builder() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_builder_ = false; -} -inline bool Work::job_builder() const { - // @@protoc_insertion_point(field_get:flex.Work.job_builder) - return _internal_job_builder(); -} -inline void Work::set_job_builder(bool value) { - _internal_set_job_builder(value); - // @@protoc_insertion_point(field_set:flex.Work.job_builder) -} -inline bool Work::_internal_job_builder() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.job_builder_; -} -inline void Work::_internal_set_job_builder(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.job_builder_ = value; -} - -// ------------------------------------------------------------------- - -// UpdateConfigRequest - -// .flex.BeeRemoteNode bee_remote = 1; -inline bool UpdateConfigRequest::has_bee_remote() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.bee_remote_ != nullptr); - return value; -} -inline void UpdateConfigRequest::clear_bee_remote() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.bee_remote_ != nullptr) _impl_.bee_remote_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::BeeRemoteNode& UpdateConfigRequest::_internal_bee_remote() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::BeeRemoteNode* p = _impl_.bee_remote_; - return p != nullptr ? *p : reinterpret_cast(::flex::_BeeRemoteNode_default_instance_); -} -inline const ::flex::BeeRemoteNode& UpdateConfigRequest::bee_remote() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.UpdateConfigRequest.bee_remote) - return _internal_bee_remote(); -} -inline void UpdateConfigRequest::unsafe_arena_set_allocated_bee_remote(::flex::BeeRemoteNode* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.bee_remote_); - } - _impl_.bee_remote_ = reinterpret_cast<::flex::BeeRemoteNode*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.UpdateConfigRequest.bee_remote) -} -inline ::flex::BeeRemoteNode* UpdateConfigRequest::release_bee_remote() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::BeeRemoteNode* released = _impl_.bee_remote_; - _impl_.bee_remote_ = 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 ::flex::BeeRemoteNode* UpdateConfigRequest::unsafe_arena_release_bee_remote() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.UpdateConfigRequest.bee_remote) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::BeeRemoteNode* temp = _impl_.bee_remote_; - _impl_.bee_remote_ = nullptr; - return temp; -} -inline ::flex::BeeRemoteNode* UpdateConfigRequest::_internal_mutable_bee_remote() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.bee_remote_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::BeeRemoteNode>(GetArena()); - _impl_.bee_remote_ = reinterpret_cast<::flex::BeeRemoteNode*>(p); - } - return _impl_.bee_remote_; -} -inline ::flex::BeeRemoteNode* UpdateConfigRequest::mutable_bee_remote() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::BeeRemoteNode* _msg = _internal_mutable_bee_remote(); - // @@protoc_insertion_point(field_mutable:flex.UpdateConfigRequest.bee_remote) - return _msg; -} -inline void UpdateConfigRequest::set_allocated_bee_remote(::flex::BeeRemoteNode* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.bee_remote_); - } - - 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_.bee_remote_ = reinterpret_cast<::flex::BeeRemoteNode*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.UpdateConfigRequest.bee_remote) -} - -// repeated .flex.RemoteStorageTarget rsts = 2; -inline int UpdateConfigRequest::_internal_rsts_size() const { - return _internal_rsts().size(); -} -inline int UpdateConfigRequest::rsts_size() const { - return _internal_rsts_size(); -} -inline void UpdateConfigRequest::clear_rsts() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.rsts_.Clear(); -} -inline ::flex::RemoteStorageTarget* UpdateConfigRequest::mutable_rsts(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:flex.UpdateConfigRequest.rsts) - return _internal_mutable_rsts()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* UpdateConfigRequest::mutable_rsts() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:flex.UpdateConfigRequest.rsts) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_rsts(); -} -inline const ::flex::RemoteStorageTarget& UpdateConfigRequest::rsts(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.UpdateConfigRequest.rsts) - return _internal_rsts().Get(index); -} -inline ::flex::RemoteStorageTarget* UpdateConfigRequest::add_rsts() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::flex::RemoteStorageTarget* _add = _internal_mutable_rsts()->Add(); - // @@protoc_insertion_point(field_add:flex.UpdateConfigRequest.rsts) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>& UpdateConfigRequest::rsts() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:flex.UpdateConfigRequest.rsts) - return _internal_rsts(); -} -inline const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>& -UpdateConfigRequest::_internal_rsts() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.rsts_; -} -inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget>* -UpdateConfigRequest::_internal_mutable_rsts() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.rsts_; -} - -// ------------------------------------------------------------------- - -// UpdateConfigResponse - -// .flex.UpdateConfigResponse.Result result = 1; -inline void UpdateConfigResponse::clear_result() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = 0; -} -inline ::flex::UpdateConfigResponse_Result UpdateConfigResponse::result() const { - // @@protoc_insertion_point(field_get:flex.UpdateConfigResponse.result) - return _internal_result(); -} -inline void UpdateConfigResponse::set_result(::flex::UpdateConfigResponse_Result value) { - _internal_set_result(value); - // @@protoc_insertion_point(field_set:flex.UpdateConfigResponse.result) -} -inline ::flex::UpdateConfigResponse_Result UpdateConfigResponse::_internal_result() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return static_cast<::flex::UpdateConfigResponse_Result>(_impl_.result_); -} -inline void UpdateConfigResponse::_internal_set_result(::flex::UpdateConfigResponse_Result value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.result_ = value; -} - -// string message = 2; -inline void UpdateConfigResponse::clear_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.ClearToEmpty(); -} -inline const std::string& UpdateConfigResponse::message() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.UpdateConfigResponse.message) - return _internal_message(); -} -template -inline PROTOBUF_ALWAYS_INLINE void UpdateConfigResponse::set_message(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.UpdateConfigResponse.message) -} -inline std::string* UpdateConfigResponse::mutable_message() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_message(); - // @@protoc_insertion_point(field_mutable:flex.UpdateConfigResponse.message) - return _s; -} -inline const std::string& UpdateConfigResponse::_internal_message() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.message_.Get(); -} -inline void UpdateConfigResponse::_internal_set_message(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.message_.Set(value, GetArena()); -} -inline std::string* UpdateConfigResponse::_internal_mutable_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.message_.Mutable( GetArena()); -} -inline std::string* UpdateConfigResponse::release_message() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.UpdateConfigResponse.message) - return _impl_.message_.Release(); -} -inline void UpdateConfigResponse::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:flex.UpdateConfigResponse.message) -} - -// ------------------------------------------------------------------- - -// BeeRemoteNode - -// string id = 1; -inline void BeeRemoteNode::clear_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.id_.ClearToEmpty(); -} -inline const std::string& BeeRemoteNode::id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.BeeRemoteNode.id) - return _internal_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void BeeRemoteNode::set_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.BeeRemoteNode.id) -} -inline std::string* BeeRemoteNode::mutable_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_id(); - // @@protoc_insertion_point(field_mutable:flex.BeeRemoteNode.id) - return _s; -} -inline const std::string& BeeRemoteNode::_internal_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.id_.Get(); -} -inline void BeeRemoteNode::_internal_set_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.id_.Set(value, GetArena()); -} -inline std::string* BeeRemoteNode::_internal_mutable_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.id_.Mutable( GetArena()); -} -inline std::string* BeeRemoteNode::release_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.BeeRemoteNode.id) - return _impl_.id_.Release(); -} -inline void BeeRemoteNode::set_allocated_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.id_.IsDefault()) { - _impl_.id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.BeeRemoteNode.id) -} - -// string address = 2; -inline void BeeRemoteNode::clear_address() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.address_.ClearToEmpty(); -} -inline const std::string& BeeRemoteNode::address() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.BeeRemoteNode.address) - return _internal_address(); -} -template -inline PROTOBUF_ALWAYS_INLINE void BeeRemoteNode::set_address(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.address_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.BeeRemoteNode.address) -} -inline std::string* BeeRemoteNode::mutable_address() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_address(); - // @@protoc_insertion_point(field_mutable:flex.BeeRemoteNode.address) - return _s; -} -inline const std::string& BeeRemoteNode::_internal_address() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.address_.Get(); -} -inline void BeeRemoteNode::_internal_set_address(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.address_.Set(value, GetArena()); -} -inline std::string* BeeRemoteNode::_internal_mutable_address() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.address_.Mutable( GetArena()); -} -inline std::string* BeeRemoteNode::release_address() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.BeeRemoteNode.address) - return _impl_.address_.Release(); -} -inline void BeeRemoteNode::set_allocated_address(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.address_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.address_.IsDefault()) { - _impl_.address_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.BeeRemoteNode.address) -} - -// string mgmtd_address = 3; -inline void BeeRemoteNode::clear_mgmtd_address() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mgmtd_address_.ClearToEmpty(); -} -inline const std::string& BeeRemoteNode::mgmtd_address() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.BeeRemoteNode.mgmtd_address) - return _internal_mgmtd_address(); -} -template -inline PROTOBUF_ALWAYS_INLINE void BeeRemoteNode::set_mgmtd_address(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mgmtd_address_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.BeeRemoteNode.mgmtd_address) -} -inline std::string* BeeRemoteNode::mutable_mgmtd_address() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_mgmtd_address(); - // @@protoc_insertion_point(field_mutable:flex.BeeRemoteNode.mgmtd_address) - return _s; -} -inline const std::string& BeeRemoteNode::_internal_mgmtd_address() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.mgmtd_address_.Get(); -} -inline void BeeRemoteNode::_internal_set_mgmtd_address(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mgmtd_address_.Set(value, GetArena()); -} -inline std::string* BeeRemoteNode::_internal_mutable_mgmtd_address() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.mgmtd_address_.Mutable( GetArena()); -} -inline std::string* BeeRemoteNode::release_mgmtd_address() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.BeeRemoteNode.mgmtd_address) - return _impl_.mgmtd_address_.Release(); -} -inline void BeeRemoteNode::set_allocated_mgmtd_address(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mgmtd_address_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.mgmtd_address_.IsDefault()) { - _impl_.mgmtd_address_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.BeeRemoteNode.mgmtd_address) -} - -// bytes mgmtd_tls_cert = 4; -inline void BeeRemoteNode::clear_mgmtd_tls_cert() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mgmtd_tls_cert_.ClearToEmpty(); -} -inline const std::string& BeeRemoteNode::mgmtd_tls_cert() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.BeeRemoteNode.mgmtd_tls_cert) - return _internal_mgmtd_tls_cert(); -} -template -inline PROTOBUF_ALWAYS_INLINE void BeeRemoteNode::set_mgmtd_tls_cert(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mgmtd_tls_cert_.SetBytes(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.BeeRemoteNode.mgmtd_tls_cert) -} -inline std::string* BeeRemoteNode::mutable_mgmtd_tls_cert() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_mgmtd_tls_cert(); - // @@protoc_insertion_point(field_mutable:flex.BeeRemoteNode.mgmtd_tls_cert) - return _s; -} -inline const std::string& BeeRemoteNode::_internal_mgmtd_tls_cert() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.mgmtd_tls_cert_.Get(); -} -inline void BeeRemoteNode::_internal_set_mgmtd_tls_cert(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mgmtd_tls_cert_.Set(value, GetArena()); -} -inline std::string* BeeRemoteNode::_internal_mutable_mgmtd_tls_cert() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.mgmtd_tls_cert_.Mutable( GetArena()); -} -inline std::string* BeeRemoteNode::release_mgmtd_tls_cert() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.BeeRemoteNode.mgmtd_tls_cert) - return _impl_.mgmtd_tls_cert_.Release(); -} -inline void BeeRemoteNode::set_allocated_mgmtd_tls_cert(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mgmtd_tls_cert_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.mgmtd_tls_cert_.IsDefault()) { - _impl_.mgmtd_tls_cert_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.BeeRemoteNode.mgmtd_tls_cert) -} - -// bool mgmtd_tls_disable_verification = 5; -inline void BeeRemoteNode::clear_mgmtd_tls_disable_verification() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mgmtd_tls_disable_verification_ = false; -} -inline bool BeeRemoteNode::mgmtd_tls_disable_verification() const { - // @@protoc_insertion_point(field_get:flex.BeeRemoteNode.mgmtd_tls_disable_verification) - return _internal_mgmtd_tls_disable_verification(); -} -inline void BeeRemoteNode::set_mgmtd_tls_disable_verification(bool value) { - _internal_set_mgmtd_tls_disable_verification(value); - // @@protoc_insertion_point(field_set:flex.BeeRemoteNode.mgmtd_tls_disable_verification) -} -inline bool BeeRemoteNode::_internal_mgmtd_tls_disable_verification() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.mgmtd_tls_disable_verification_; -} -inline void BeeRemoteNode::_internal_set_mgmtd_tls_disable_verification(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mgmtd_tls_disable_verification_ = value; -} - -// bool mgmtd_tls_disable = 6; -inline void BeeRemoteNode::clear_mgmtd_tls_disable() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mgmtd_tls_disable_ = false; -} -inline bool BeeRemoteNode::mgmtd_tls_disable() const { - // @@protoc_insertion_point(field_get:flex.BeeRemoteNode.mgmtd_tls_disable) - return _internal_mgmtd_tls_disable(); -} -inline void BeeRemoteNode::set_mgmtd_tls_disable(bool value) { - _internal_set_mgmtd_tls_disable(value); - // @@protoc_insertion_point(field_set:flex.BeeRemoteNode.mgmtd_tls_disable) -} -inline bool BeeRemoteNode::_internal_mgmtd_tls_disable() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.mgmtd_tls_disable_; -} -inline void BeeRemoteNode::_internal_set_mgmtd_tls_disable(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mgmtd_tls_disable_ = value; -} - -// bool mgmtd_use_proxy = 9; -inline void BeeRemoteNode::clear_mgmtd_use_proxy() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mgmtd_use_proxy_ = false; -} -inline bool BeeRemoteNode::mgmtd_use_proxy() const { - // @@protoc_insertion_point(field_get:flex.BeeRemoteNode.mgmtd_use_proxy) - return _internal_mgmtd_use_proxy(); -} -inline void BeeRemoteNode::set_mgmtd_use_proxy(bool value) { - _internal_set_mgmtd_use_proxy(value); - // @@protoc_insertion_point(field_set:flex.BeeRemoteNode.mgmtd_use_proxy) -} -inline bool BeeRemoteNode::_internal_mgmtd_use_proxy() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.mgmtd_use_proxy_; -} -inline void BeeRemoteNode::_internal_set_mgmtd_use_proxy(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.mgmtd_use_proxy_ = value; -} - -// bytes auth_secret = 7; -inline void BeeRemoteNode::clear_auth_secret() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.auth_secret_.ClearToEmpty(); -} -inline const std::string& BeeRemoteNode::auth_secret() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.BeeRemoteNode.auth_secret) - return _internal_auth_secret(); -} -template -inline PROTOBUF_ALWAYS_INLINE void BeeRemoteNode::set_auth_secret(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.auth_secret_.SetBytes(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.BeeRemoteNode.auth_secret) -} -inline std::string* BeeRemoteNode::mutable_auth_secret() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_auth_secret(); - // @@protoc_insertion_point(field_mutable:flex.BeeRemoteNode.auth_secret) - return _s; -} -inline const std::string& BeeRemoteNode::_internal_auth_secret() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.auth_secret_.Get(); -} -inline void BeeRemoteNode::_internal_set_auth_secret(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.auth_secret_.Set(value, GetArena()); -} -inline std::string* BeeRemoteNode::_internal_mutable_auth_secret() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.auth_secret_.Mutable( GetArena()); -} -inline std::string* BeeRemoteNode::release_auth_secret() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.BeeRemoteNode.auth_secret) - return _impl_.auth_secret_.Release(); -} -inline void BeeRemoteNode::set_allocated_auth_secret(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.auth_secret_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.auth_secret_.IsDefault()) { - _impl_.auth_secret_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.BeeRemoteNode.auth_secret) -} - -// bool auth_disable = 8; -inline void BeeRemoteNode::clear_auth_disable() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.auth_disable_ = false; -} -inline bool BeeRemoteNode::auth_disable() const { - // @@protoc_insertion_point(field_get:flex.BeeRemoteNode.auth_disable) - return _internal_auth_disable(); -} -inline void BeeRemoteNode::set_auth_disable(bool value) { - _internal_set_auth_disable(value); - // @@protoc_insertion_point(field_set:flex.BeeRemoteNode.auth_disable) -} -inline bool BeeRemoteNode::_internal_auth_disable() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.auth_disable_; -} -inline void BeeRemoteNode::_internal_set_auth_disable(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.auth_disable_ = value; -} - -// ------------------------------------------------------------------- - -// RemoteStorageTarget_Policies - -// int64 fast_start_max_size = 1; -inline void RemoteStorageTarget_Policies::clear_fast_start_max_size() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.fast_start_max_size_ = ::int64_t{0}; -} -inline ::int64_t RemoteStorageTarget_Policies::fast_start_max_size() const { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.Policies.fast_start_max_size) - return _internal_fast_start_max_size(); -} -inline void RemoteStorageTarget_Policies::set_fast_start_max_size(::int64_t value) { - _internal_set_fast_start_max_size(value); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.Policies.fast_start_max_size) -} -inline ::int64_t RemoteStorageTarget_Policies::_internal_fast_start_max_size() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.fast_start_max_size_; -} -inline void RemoteStorageTarget_Policies::_internal_set_fast_start_max_size(::int64_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.fast_start_max_size_ = value; -} - -// ------------------------------------------------------------------- - -// RemoteStorageTarget_S3_StorageClass_Archival - -// string retrieval_tier = 1; -inline void RemoteStorageTarget_S3_StorageClass_Archival::clear_retrieval_tier() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.retrieval_tier_.ClearToEmpty(); -} -inline const std::string& RemoteStorageTarget_S3_StorageClass_Archival::retrieval_tier() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.StorageClass.Archival.retrieval_tier) - return _internal_retrieval_tier(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3_StorageClass_Archival::set_retrieval_tier(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.retrieval_tier_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.S3.StorageClass.Archival.retrieval_tier) -} -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::mutable_retrieval_tier() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_retrieval_tier(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.S3.StorageClass.Archival.retrieval_tier) - return _s; -} -inline const std::string& RemoteStorageTarget_S3_StorageClass_Archival::_internal_retrieval_tier() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.retrieval_tier_.Get(); -} -inline void RemoteStorageTarget_S3_StorageClass_Archival::_internal_set_retrieval_tier(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.retrieval_tier_.Set(value, GetArena()); -} -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::_internal_mutable_retrieval_tier() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.retrieval_tier_.Mutable( GetArena()); -} -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::release_retrieval_tier() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.S3.StorageClass.Archival.retrieval_tier) - return _impl_.retrieval_tier_.Release(); -} -inline void RemoteStorageTarget_S3_StorageClass_Archival::set_allocated_retrieval_tier(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.retrieval_tier_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.retrieval_tier_.IsDefault()) { - _impl_.retrieval_tier_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.S3.StorageClass.Archival.retrieval_tier) -} - -// int32 retention_days = 2; -inline void RemoteStorageTarget_S3_StorageClass_Archival::clear_retention_days() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.retention_days_ = 0; -} -inline ::int32_t RemoteStorageTarget_S3_StorageClass_Archival::retention_days() const { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.StorageClass.Archival.retention_days) - return _internal_retention_days(); -} -inline void RemoteStorageTarget_S3_StorageClass_Archival::set_retention_days(::int32_t value) { - _internal_set_retention_days(value); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.S3.StorageClass.Archival.retention_days) -} -inline ::int32_t RemoteStorageTarget_S3_StorageClass_Archival::_internal_retention_days() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.retention_days_; -} -inline void RemoteStorageTarget_S3_StorageClass_Archival::_internal_set_retention_days(::int32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.retention_days_ = value; -} - -// string check_time = 3; -inline void RemoteStorageTarget_S3_StorageClass_Archival::clear_check_time() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.check_time_.ClearToEmpty(); -} -inline const std::string& RemoteStorageTarget_S3_StorageClass_Archival::check_time() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.StorageClass.Archival.check_time) - return _internal_check_time(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3_StorageClass_Archival::set_check_time(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.check_time_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.S3.StorageClass.Archival.check_time) -} -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::mutable_check_time() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_check_time(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.S3.StorageClass.Archival.check_time) - return _s; -} -inline const std::string& RemoteStorageTarget_S3_StorageClass_Archival::_internal_check_time() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.check_time_.Get(); -} -inline void RemoteStorageTarget_S3_StorageClass_Archival::_internal_set_check_time(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.check_time_.Set(value, GetArena()); -} -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::_internal_mutable_check_time() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.check_time_.Mutable( GetArena()); -} -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::release_check_time() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.S3.StorageClass.Archival.check_time) - return _impl_.check_time_.Release(); -} -inline void RemoteStorageTarget_S3_StorageClass_Archival::set_allocated_check_time(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.check_time_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.check_time_.IsDefault()) { - _impl_.check_time_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.S3.StorageClass.Archival.check_time) -} - -// string recheck_time = 4; -inline void RemoteStorageTarget_S3_StorageClass_Archival::clear_recheck_time() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.recheck_time_.ClearToEmpty(); -} -inline const std::string& RemoteStorageTarget_S3_StorageClass_Archival::recheck_time() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.StorageClass.Archival.recheck_time) - return _internal_recheck_time(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3_StorageClass_Archival::set_recheck_time(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.recheck_time_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.S3.StorageClass.Archival.recheck_time) -} -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::mutable_recheck_time() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_recheck_time(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.S3.StorageClass.Archival.recheck_time) - return _s; -} -inline const std::string& RemoteStorageTarget_S3_StorageClass_Archival::_internal_recheck_time() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.recheck_time_.Get(); -} -inline void RemoteStorageTarget_S3_StorageClass_Archival::_internal_set_recheck_time(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.recheck_time_.Set(value, GetArena()); -} -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::_internal_mutable_recheck_time() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.recheck_time_.Mutable( GetArena()); -} -inline std::string* RemoteStorageTarget_S3_StorageClass_Archival::release_recheck_time() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.S3.StorageClass.Archival.recheck_time) - return _impl_.recheck_time_.Release(); -} -inline void RemoteStorageTarget_S3_StorageClass_Archival::set_allocated_recheck_time(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.recheck_time_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.recheck_time_.IsDefault()) { - _impl_.recheck_time_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.S3.StorageClass.Archival.recheck_time) -} - -// bool auto_restore = 5; -inline void RemoteStorageTarget_S3_StorageClass_Archival::clear_auto_restore() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.auto_restore_ = false; -} -inline bool RemoteStorageTarget_S3_StorageClass_Archival::auto_restore() const { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.StorageClass.Archival.auto_restore) - return _internal_auto_restore(); -} -inline void RemoteStorageTarget_S3_StorageClass_Archival::set_auto_restore(bool value) { - _internal_set_auto_restore(value); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.S3.StorageClass.Archival.auto_restore) -} -inline bool RemoteStorageTarget_S3_StorageClass_Archival::_internal_auto_restore() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.auto_restore_; -} -inline void RemoteStorageTarget_S3_StorageClass_Archival::_internal_set_auto_restore(bool value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.auto_restore_ = value; -} - -// ------------------------------------------------------------------- - -// RemoteStorageTarget_S3_StorageClass - -// string name = 1; -inline void RemoteStorageTarget_S3_StorageClass::clear_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.name_.ClearToEmpty(); -} -inline const std::string& RemoteStorageTarget_S3_StorageClass::name() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.StorageClass.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3_StorageClass::set_name(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.name_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.S3.StorageClass.name) -} -inline std::string* RemoteStorageTarget_S3_StorageClass::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.S3.StorageClass.name) - return _s; -} -inline const std::string& RemoteStorageTarget_S3_StorageClass::_internal_name() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.name_.Get(); -} -inline void RemoteStorageTarget_S3_StorageClass::_internal_set_name(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.name_.Set(value, GetArena()); -} -inline std::string* RemoteStorageTarget_S3_StorageClass::_internal_mutable_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.name_.Mutable( GetArena()); -} -inline std::string* RemoteStorageTarget_S3_StorageClass::release_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.S3.StorageClass.name) - return _impl_.name_.Release(); -} -inline void RemoteStorageTarget_S3_StorageClass::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:flex.RemoteStorageTarget.S3.StorageClass.name) -} - -// optional .flex.RemoteStorageTarget.S3.StorageClass.Archival archival = 2; -inline bool RemoteStorageTarget_S3_StorageClass::has_archival() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.archival_ != nullptr); - return value; -} -inline void RemoteStorageTarget_S3_StorageClass::clear_archival() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.archival_ != nullptr) _impl_.archival_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::RemoteStorageTarget_S3_StorageClass_Archival& RemoteStorageTarget_S3_StorageClass::_internal_archival() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::RemoteStorageTarget_S3_StorageClass_Archival* p = _impl_.archival_; - return p != nullptr ? *p : reinterpret_cast(::flex::_RemoteStorageTarget_S3_StorageClass_Archival_default_instance_); -} -inline const ::flex::RemoteStorageTarget_S3_StorageClass_Archival& RemoteStorageTarget_S3_StorageClass::archival() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.StorageClass.archival) - return _internal_archival(); -} -inline void RemoteStorageTarget_S3_StorageClass::unsafe_arena_set_allocated_archival(::flex::RemoteStorageTarget_S3_StorageClass_Archival* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.archival_); - } - _impl_.archival_ = reinterpret_cast<::flex::RemoteStorageTarget_S3_StorageClass_Archival*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.RemoteStorageTarget.S3.StorageClass.archival) -} -inline ::flex::RemoteStorageTarget_S3_StorageClass_Archival* RemoteStorageTarget_S3_StorageClass::release_archival() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::RemoteStorageTarget_S3_StorageClass_Archival* released = _impl_.archival_; - _impl_.archival_ = 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 ::flex::RemoteStorageTarget_S3_StorageClass_Archival* RemoteStorageTarget_S3_StorageClass::unsafe_arena_release_archival() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.S3.StorageClass.archival) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::RemoteStorageTarget_S3_StorageClass_Archival* temp = _impl_.archival_; - _impl_.archival_ = nullptr; - return temp; -} -inline ::flex::RemoteStorageTarget_S3_StorageClass_Archival* RemoteStorageTarget_S3_StorageClass::_internal_mutable_archival() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.archival_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_S3_StorageClass_Archival>(GetArena()); - _impl_.archival_ = reinterpret_cast<::flex::RemoteStorageTarget_S3_StorageClass_Archival*>(p); - } - return _impl_.archival_; -} -inline ::flex::RemoteStorageTarget_S3_StorageClass_Archival* RemoteStorageTarget_S3_StorageClass::mutable_archival() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::RemoteStorageTarget_S3_StorageClass_Archival* _msg = _internal_mutable_archival(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.S3.StorageClass.archival) - return _msg; -} -inline void RemoteStorageTarget_S3_StorageClass::set_allocated_archival(::flex::RemoteStorageTarget_S3_StorageClass_Archival* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.archival_); - } - - 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_.archival_ = reinterpret_cast<::flex::RemoteStorageTarget_S3_StorageClass_Archival*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.S3.StorageClass.archival) -} - -// ------------------------------------------------------------------- - -// RemoteStorageTarget_S3 - -// string endpoint_url = 1; -inline void RemoteStorageTarget_S3::clear_endpoint_url() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.endpoint_url_.ClearToEmpty(); -} -inline const std::string& RemoteStorageTarget_S3::endpoint_url() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.endpoint_url) - return _internal_endpoint_url(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3::set_endpoint_url(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.endpoint_url_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.S3.endpoint_url) -} -inline std::string* RemoteStorageTarget_S3::mutable_endpoint_url() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_endpoint_url(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.S3.endpoint_url) - return _s; -} -inline const std::string& RemoteStorageTarget_S3::_internal_endpoint_url() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.endpoint_url_.Get(); -} -inline void RemoteStorageTarget_S3::_internal_set_endpoint_url(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.endpoint_url_.Set(value, GetArena()); -} -inline std::string* RemoteStorageTarget_S3::_internal_mutable_endpoint_url() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.endpoint_url_.Mutable( GetArena()); -} -inline std::string* RemoteStorageTarget_S3::release_endpoint_url() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.S3.endpoint_url) - return _impl_.endpoint_url_.Release(); -} -inline void RemoteStorageTarget_S3::set_allocated_endpoint_url(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.endpoint_url_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.endpoint_url_.IsDefault()) { - _impl_.endpoint_url_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.S3.endpoint_url) -} - -// string partition_id = 2; -inline void RemoteStorageTarget_S3::clear_partition_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.partition_id_.ClearToEmpty(); -} -inline const std::string& RemoteStorageTarget_S3::partition_id() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.partition_id) - return _internal_partition_id(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3::set_partition_id(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.partition_id_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.S3.partition_id) -} -inline std::string* RemoteStorageTarget_S3::mutable_partition_id() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_partition_id(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.S3.partition_id) - return _s; -} -inline const std::string& RemoteStorageTarget_S3::_internal_partition_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.partition_id_.Get(); -} -inline void RemoteStorageTarget_S3::_internal_set_partition_id(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.partition_id_.Set(value, GetArena()); -} -inline std::string* RemoteStorageTarget_S3::_internal_mutable_partition_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.partition_id_.Mutable( GetArena()); -} -inline std::string* RemoteStorageTarget_S3::release_partition_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.S3.partition_id) - return _impl_.partition_id_.Release(); -} -inline void RemoteStorageTarget_S3::set_allocated_partition_id(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.partition_id_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.partition_id_.IsDefault()) { - _impl_.partition_id_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.S3.partition_id) -} - -// string region = 3; -inline void RemoteStorageTarget_S3::clear_region() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.region_.ClearToEmpty(); -} -inline const std::string& RemoteStorageTarget_S3::region() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.region) - return _internal_region(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3::set_region(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.region_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.S3.region) -} -inline std::string* RemoteStorageTarget_S3::mutable_region() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_region(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.S3.region) - return _s; -} -inline const std::string& RemoteStorageTarget_S3::_internal_region() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.region_.Get(); -} -inline void RemoteStorageTarget_S3::_internal_set_region(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.region_.Set(value, GetArena()); -} -inline std::string* RemoteStorageTarget_S3::_internal_mutable_region() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.region_.Mutable( GetArena()); -} -inline std::string* RemoteStorageTarget_S3::release_region() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.S3.region) - return _impl_.region_.Release(); -} -inline void RemoteStorageTarget_S3::set_allocated_region(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.region_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.region_.IsDefault()) { - _impl_.region_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.S3.region) -} - -// string bucket = 4; -inline void RemoteStorageTarget_S3::clear_bucket() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.bucket_.ClearToEmpty(); -} -inline const std::string& RemoteStorageTarget_S3::bucket() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.bucket) - return _internal_bucket(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3::set_bucket(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.bucket_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.S3.bucket) -} -inline std::string* RemoteStorageTarget_S3::mutable_bucket() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_bucket(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.S3.bucket) - return _s; -} -inline const std::string& RemoteStorageTarget_S3::_internal_bucket() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.bucket_.Get(); -} -inline void RemoteStorageTarget_S3::_internal_set_bucket(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.bucket_.Set(value, GetArena()); -} -inline std::string* RemoteStorageTarget_S3::_internal_mutable_bucket() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.bucket_.Mutable( GetArena()); -} -inline std::string* RemoteStorageTarget_S3::release_bucket() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.S3.bucket) - return _impl_.bucket_.Release(); -} -inline void RemoteStorageTarget_S3::set_allocated_bucket(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.bucket_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.bucket_.IsDefault()) { - _impl_.bucket_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.S3.bucket) -} - -// string access_key = 5; -inline void RemoteStorageTarget_S3::clear_access_key() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.access_key_.ClearToEmpty(); -} -inline const std::string& RemoteStorageTarget_S3::access_key() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.access_key) - return _internal_access_key(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3::set_access_key(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.access_key_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.S3.access_key) -} -inline std::string* RemoteStorageTarget_S3::mutable_access_key() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_access_key(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.S3.access_key) - return _s; -} -inline const std::string& RemoteStorageTarget_S3::_internal_access_key() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.access_key_.Get(); -} -inline void RemoteStorageTarget_S3::_internal_set_access_key(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.access_key_.Set(value, GetArena()); -} -inline std::string* RemoteStorageTarget_S3::_internal_mutable_access_key() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.access_key_.Mutable( GetArena()); -} -inline std::string* RemoteStorageTarget_S3::release_access_key() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.S3.access_key) - return _impl_.access_key_.Release(); -} -inline void RemoteStorageTarget_S3::set_allocated_access_key(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.access_key_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.access_key_.IsDefault()) { - _impl_.access_key_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.S3.access_key) -} - -// string secret_key = 6; -inline void RemoteStorageTarget_S3::clear_secret_key() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.secret_key_.ClearToEmpty(); -} -inline const std::string& RemoteStorageTarget_S3::secret_key() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.secret_key) - return _internal_secret_key(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_S3::set_secret_key(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.secret_key_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.S3.secret_key) -} -inline std::string* RemoteStorageTarget_S3::mutable_secret_key() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_secret_key(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.S3.secret_key) - return _s; -} -inline const std::string& RemoteStorageTarget_S3::_internal_secret_key() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.secret_key_.Get(); -} -inline void RemoteStorageTarget_S3::_internal_set_secret_key(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.secret_key_.Set(value, GetArena()); -} -inline std::string* RemoteStorageTarget_S3::_internal_mutable_secret_key() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.secret_key_.Mutable( GetArena()); -} -inline std::string* RemoteStorageTarget_S3::release_secret_key() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.S3.secret_key) - return _impl_.secret_key_.Release(); -} -inline void RemoteStorageTarget_S3::set_allocated_secret_key(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.secret_key_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.secret_key_.IsDefault()) { - _impl_.secret_key_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.S3.secret_key) -} - -// repeated .flex.RemoteStorageTarget.S3.StorageClass storage_class = 8; -inline int RemoteStorageTarget_S3::_internal_storage_class_size() const { - return _internal_storage_class().size(); -} -inline int RemoteStorageTarget_S3::storage_class_size() const { - return _internal_storage_class_size(); -} -inline void RemoteStorageTarget_S3::clear_storage_class() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.storage_class_.Clear(); -} -inline ::flex::RemoteStorageTarget_S3_StorageClass* RemoteStorageTarget_S3::mutable_storage_class(int index) - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.S3.storage_class) - return _internal_mutable_storage_class()->Mutable(index); -} -inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>* RemoteStorageTarget_S3::mutable_storage_class() - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_list:flex.RemoteStorageTarget.S3.storage_class) - ::google::protobuf::internal::TSanWrite(&_impl_); - return _internal_mutable_storage_class(); -} -inline const ::flex::RemoteStorageTarget_S3_StorageClass& RemoteStorageTarget_S3::storage_class(int index) const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.S3.storage_class) - return _internal_storage_class().Get(index); -} -inline ::flex::RemoteStorageTarget_S3_StorageClass* RemoteStorageTarget_S3::add_storage_class() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::google::protobuf::internal::TSanWrite(&_impl_); - ::flex::RemoteStorageTarget_S3_StorageClass* _add = _internal_mutable_storage_class()->Add(); - // @@protoc_insertion_point(field_add:flex.RemoteStorageTarget.S3.storage_class) - return _add; -} -inline const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>& RemoteStorageTarget_S3::storage_class() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_list:flex.RemoteStorageTarget.S3.storage_class) - return _internal_storage_class(); -} -inline const ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>& -RemoteStorageTarget_S3::_internal_storage_class() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.storage_class_; -} -inline ::google::protobuf::RepeatedPtrField<::flex::RemoteStorageTarget_S3_StorageClass>* -RemoteStorageTarget_S3::_internal_mutable_storage_class() { - ::google::protobuf::internal::TSanRead(&_impl_); - return &_impl_.storage_class_; -} - -// ------------------------------------------------------------------- - -// RemoteStorageTarget_Azure - -// .flex.RemoteStorageTarget.S3 s3 = 1; -inline bool RemoteStorageTarget_Azure::has_s3() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.s3_ != nullptr); - return value; -} -inline void RemoteStorageTarget_Azure::clear_s3() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.s3_ != nullptr) _impl_.s3_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::RemoteStorageTarget_S3& RemoteStorageTarget_Azure::_internal_s3() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::RemoteStorageTarget_S3* p = _impl_.s3_; - return p != nullptr ? *p : reinterpret_cast(::flex::_RemoteStorageTarget_S3_default_instance_); -} -inline const ::flex::RemoteStorageTarget_S3& RemoteStorageTarget_Azure::s3() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.Azure.s3) - return _internal_s3(); -} -inline void RemoteStorageTarget_Azure::unsafe_arena_set_allocated_s3(::flex::RemoteStorageTarget_S3* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.s3_); - } - _impl_.s3_ = reinterpret_cast<::flex::RemoteStorageTarget_S3*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.RemoteStorageTarget.Azure.s3) -} -inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget_Azure::release_s3() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::RemoteStorageTarget_S3* released = _impl_.s3_; - _impl_.s3_ = 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 ::flex::RemoteStorageTarget_S3* RemoteStorageTarget_Azure::unsafe_arena_release_s3() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.Azure.s3) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::RemoteStorageTarget_S3* temp = _impl_.s3_; - _impl_.s3_ = nullptr; - return temp; -} -inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget_Azure::_internal_mutable_s3() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.s3_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_S3>(GetArena()); - _impl_.s3_ = reinterpret_cast<::flex::RemoteStorageTarget_S3*>(p); - } - return _impl_.s3_; -} -inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget_Azure::mutable_s3() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::RemoteStorageTarget_S3* _msg = _internal_mutable_s3(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.Azure.s3) - return _msg; -} -inline void RemoteStorageTarget_Azure::set_allocated_s3(::flex::RemoteStorageTarget_S3* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.s3_); - } - - 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_.s3_ = reinterpret_cast<::flex::RemoteStorageTarget_S3*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.Azure.s3) -} - -// string account = 2; -inline void RemoteStorageTarget_Azure::clear_account() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.account_.ClearToEmpty(); -} -inline const std::string& RemoteStorageTarget_Azure::account() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.Azure.account) - return _internal_account(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_Azure::set_account(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.account_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.Azure.account) -} -inline std::string* RemoteStorageTarget_Azure::mutable_account() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_account(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.Azure.account) - return _s; -} -inline const std::string& RemoteStorageTarget_Azure::_internal_account() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.account_.Get(); -} -inline void RemoteStorageTarget_Azure::_internal_set_account(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.account_.Set(value, GetArena()); -} -inline std::string* RemoteStorageTarget_Azure::_internal_mutable_account() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.account_.Mutable( GetArena()); -} -inline std::string* RemoteStorageTarget_Azure::release_account() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.Azure.account) - return _impl_.account_.Release(); -} -inline void RemoteStorageTarget_Azure::set_allocated_account(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.account_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.account_.IsDefault()) { - _impl_.account_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.Azure.account) -} - -// ------------------------------------------------------------------- - -// RemoteStorageTarget_POSIX - -// string path = 1; -inline void RemoteStorageTarget_POSIX::clear_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.ClearToEmpty(); -} -inline const std::string& RemoteStorageTarget_POSIX::path() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.POSIX.path) - return _internal_path(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget_POSIX::set_path(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.POSIX.path) -} -inline std::string* RemoteStorageTarget_POSIX::mutable_path() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_path(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.POSIX.path) - return _s; -} -inline const std::string& RemoteStorageTarget_POSIX::_internal_path() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.path_.Get(); -} -inline void RemoteStorageTarget_POSIX::_internal_set_path(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.Set(value, GetArena()); -} -inline std::string* RemoteStorageTarget_POSIX::_internal_mutable_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.path_.Mutable( GetArena()); -} -inline std::string* RemoteStorageTarget_POSIX::release_path() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.POSIX.path) - return _impl_.path_.Release(); -} -inline void RemoteStorageTarget_POSIX::set_allocated_path(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.path_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.path_.IsDefault()) { - _impl_.path_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.POSIX.path) -} - -// ------------------------------------------------------------------- - -// RemoteStorageTarget - -// uint32 id = 1; -inline void RemoteStorageTarget::clear_id() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.id_ = 0u; -} -inline ::uint32_t RemoteStorageTarget::id() const { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.id) - return _internal_id(); -} -inline void RemoteStorageTarget::set_id(::uint32_t value) { - _internal_set_id(value); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.id) -} -inline ::uint32_t RemoteStorageTarget::_internal_id() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.id_; -} -inline void RemoteStorageTarget::_internal_set_id(::uint32_t value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.id_ = value; -} - -// string name = 2; -inline void RemoteStorageTarget::clear_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.name_.ClearToEmpty(); -} -inline const std::string& RemoteStorageTarget::name() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.name) - return _internal_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget::set_name(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.name_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.name) -} -inline std::string* RemoteStorageTarget::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_name(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.name) - return _s; -} -inline const std::string& RemoteStorageTarget::_internal_name() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.name_.Get(); -} -inline void RemoteStorageTarget::_internal_set_name(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.name_.Set(value, GetArena()); -} -inline std::string* RemoteStorageTarget::_internal_mutable_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.name_.Mutable( GetArena()); -} -inline std::string* RemoteStorageTarget::release_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.name) - return _impl_.name_.Release(); -} -inline void RemoteStorageTarget::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:flex.RemoteStorageTarget.name) -} - -// .flex.RemoteStorageTarget.Policies policies = 3; -inline bool RemoteStorageTarget::has_policies() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.policies_ != nullptr); - return value; -} -inline void RemoteStorageTarget::clear_policies() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.policies_ != nullptr) _impl_.policies_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::RemoteStorageTarget_Policies& RemoteStorageTarget::_internal_policies() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::RemoteStorageTarget_Policies* p = _impl_.policies_; - return p != nullptr ? *p : reinterpret_cast(::flex::_RemoteStorageTarget_Policies_default_instance_); -} -inline const ::flex::RemoteStorageTarget_Policies& RemoteStorageTarget::policies() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.policies) - return _internal_policies(); -} -inline void RemoteStorageTarget::unsafe_arena_set_allocated_policies(::flex::RemoteStorageTarget_Policies* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.policies_); - } - _impl_.policies_ = reinterpret_cast<::flex::RemoteStorageTarget_Policies*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.RemoteStorageTarget.policies) -} -inline ::flex::RemoteStorageTarget_Policies* RemoteStorageTarget::release_policies() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::RemoteStorageTarget_Policies* released = _impl_.policies_; - _impl_.policies_ = 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 ::flex::RemoteStorageTarget_Policies* RemoteStorageTarget::unsafe_arena_release_policies() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.policies) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::RemoteStorageTarget_Policies* temp = _impl_.policies_; - _impl_.policies_ = nullptr; - return temp; -} -inline ::flex::RemoteStorageTarget_Policies* RemoteStorageTarget::_internal_mutable_policies() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.policies_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_Policies>(GetArena()); - _impl_.policies_ = reinterpret_cast<::flex::RemoteStorageTarget_Policies*>(p); - } - return _impl_.policies_; -} -inline ::flex::RemoteStorageTarget_Policies* RemoteStorageTarget::mutable_policies() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::RemoteStorageTarget_Policies* _msg = _internal_mutable_policies(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.policies) - return _msg; -} -inline void RemoteStorageTarget::set_allocated_policies(::flex::RemoteStorageTarget_Policies* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.policies_); - } - - 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_.policies_ = reinterpret_cast<::flex::RemoteStorageTarget_Policies*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.policies) -} - -// .flex.RemoteStorageTarget.S3 s3 = 4; -inline bool RemoteStorageTarget::has_s3() const { - return type_case() == kS3; -} -inline bool RemoteStorageTarget::_internal_has_s3() const { - return type_case() == kS3; -} -inline void RemoteStorageTarget::set_has_s3() { - _impl_._oneof_case_[0] = kS3; -} -inline void RemoteStorageTarget::clear_s3() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (type_case() == kS3) { - if (GetArena() == nullptr) { - delete _impl_.type_.s3_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.s3_); - } - clear_has_type(); - } -} -inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget::release_s3() { - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.s3) - if (type_case() == kS3) { - clear_has_type(); - auto* temp = _impl_.type_.s3_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.type_.s3_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flex::RemoteStorageTarget_S3& RemoteStorageTarget::_internal_s3() const { - return type_case() == kS3 ? *_impl_.type_.s3_ : reinterpret_cast<::flex::RemoteStorageTarget_S3&>(::flex::_RemoteStorageTarget_S3_default_instance_); -} -inline const ::flex::RemoteStorageTarget_S3& RemoteStorageTarget::s3() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.s3) - return _internal_s3(); -} -inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget::unsafe_arena_release_s3() { - // @@protoc_insertion_point(field_unsafe_arena_release:flex.RemoteStorageTarget.s3) - if (type_case() == kS3) { - clear_has_type(); - auto* temp = _impl_.type_.s3_; - _impl_.type_.s3_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void RemoteStorageTarget::unsafe_arena_set_allocated_s3(::flex::RemoteStorageTarget_S3* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_type(); - if (value) { - set_has_s3(); - _impl_.type_.s3_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.RemoteStorageTarget.s3) -} -inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget::_internal_mutable_s3() { - if (type_case() != kS3) { - clear_type(); - set_has_s3(); - _impl_.type_.s3_ = - ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_S3>(GetArena()); - } - return _impl_.type_.s3_; -} -inline ::flex::RemoteStorageTarget_S3* RemoteStorageTarget::mutable_s3() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::flex::RemoteStorageTarget_S3* _msg = _internal_mutable_s3(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.s3) - return _msg; -} - -// .flex.RemoteStorageTarget.POSIX posix = 5; -inline bool RemoteStorageTarget::has_posix() const { - return type_case() == kPosix; -} -inline bool RemoteStorageTarget::_internal_has_posix() const { - return type_case() == kPosix; -} -inline void RemoteStorageTarget::set_has_posix() { - _impl_._oneof_case_[0] = kPosix; -} -inline void RemoteStorageTarget::clear_posix() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (type_case() == kPosix) { - if (GetArena() == nullptr) { - delete _impl_.type_.posix_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.posix_); - } - clear_has_type(); - } -} -inline ::flex::RemoteStorageTarget_POSIX* RemoteStorageTarget::release_posix() { - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.posix) - if (type_case() == kPosix) { - clear_has_type(); - auto* temp = _impl_.type_.posix_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.type_.posix_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flex::RemoteStorageTarget_POSIX& RemoteStorageTarget::_internal_posix() const { - return type_case() == kPosix ? *_impl_.type_.posix_ : reinterpret_cast<::flex::RemoteStorageTarget_POSIX&>(::flex::_RemoteStorageTarget_POSIX_default_instance_); -} -inline const ::flex::RemoteStorageTarget_POSIX& RemoteStorageTarget::posix() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.posix) - return _internal_posix(); -} -inline ::flex::RemoteStorageTarget_POSIX* RemoteStorageTarget::unsafe_arena_release_posix() { - // @@protoc_insertion_point(field_unsafe_arena_release:flex.RemoteStorageTarget.posix) - if (type_case() == kPosix) { - clear_has_type(); - auto* temp = _impl_.type_.posix_; - _impl_.type_.posix_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void RemoteStorageTarget::unsafe_arena_set_allocated_posix(::flex::RemoteStorageTarget_POSIX* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_type(); - if (value) { - set_has_posix(); - _impl_.type_.posix_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.RemoteStorageTarget.posix) -} -inline ::flex::RemoteStorageTarget_POSIX* RemoteStorageTarget::_internal_mutable_posix() { - if (type_case() != kPosix) { - clear_type(); - set_has_posix(); - _impl_.type_.posix_ = - ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_POSIX>(GetArena()); - } - return _impl_.type_.posix_; -} -inline ::flex::RemoteStorageTarget_POSIX* RemoteStorageTarget::mutable_posix() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::flex::RemoteStorageTarget_POSIX* _msg = _internal_mutable_posix(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.posix) - return _msg; -} - -// .flex.RemoteStorageTarget.Azure azure = 6; -inline bool RemoteStorageTarget::has_azure() const { - return type_case() == kAzure; -} -inline bool RemoteStorageTarget::_internal_has_azure() const { - return type_case() == kAzure; -} -inline void RemoteStorageTarget::set_has_azure() { - _impl_._oneof_case_[0] = kAzure; -} -inline void RemoteStorageTarget::clear_azure() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (type_case() == kAzure) { - if (GetArena() == nullptr) { - delete _impl_.type_.azure_; - } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { - ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.type_.azure_); - } - clear_has_type(); - } -} -inline ::flex::RemoteStorageTarget_Azure* RemoteStorageTarget::release_azure() { - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.azure) - if (type_case() == kAzure) { - clear_has_type(); - auto* temp = _impl_.type_.azure_; - if (GetArena() != nullptr) { - temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); - } - _impl_.type_.azure_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline const ::flex::RemoteStorageTarget_Azure& RemoteStorageTarget::_internal_azure() const { - return type_case() == kAzure ? *_impl_.type_.azure_ : reinterpret_cast<::flex::RemoteStorageTarget_Azure&>(::flex::_RemoteStorageTarget_Azure_default_instance_); -} -inline const ::flex::RemoteStorageTarget_Azure& RemoteStorageTarget::azure() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.azure) - return _internal_azure(); -} -inline ::flex::RemoteStorageTarget_Azure* RemoteStorageTarget::unsafe_arena_release_azure() { - // @@protoc_insertion_point(field_unsafe_arena_release:flex.RemoteStorageTarget.azure) - if (type_case() == kAzure) { - clear_has_type(); - auto* temp = _impl_.type_.azure_; - _impl_.type_.azure_ = nullptr; - return temp; - } else { - return nullptr; - } -} -inline void RemoteStorageTarget::unsafe_arena_set_allocated_azure(::flex::RemoteStorageTarget_Azure* value) { - // We rely on the oneof clear method to free the earlier contents - // of this oneof. We can directly use the pointer we're given to - // set the new value. - clear_type(); - if (value) { - set_has_azure(); - _impl_.type_.azure_ = value; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.RemoteStorageTarget.azure) -} -inline ::flex::RemoteStorageTarget_Azure* RemoteStorageTarget::_internal_mutable_azure() { - if (type_case() != kAzure) { - clear_type(); - set_has_azure(); - _impl_.type_.azure_ = - ::google::protobuf::Message::DefaultConstruct<::flex::RemoteStorageTarget_Azure>(GetArena()); - } - return _impl_.type_.azure_; -} -inline ::flex::RemoteStorageTarget_Azure* RemoteStorageTarget::mutable_azure() ABSL_ATTRIBUTE_LIFETIME_BOUND { - ::flex::RemoteStorageTarget_Azure* _msg = _internal_mutable_azure(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.azure) - return _msg; -} - -// string mock = 7; -inline bool RemoteStorageTarget::has_mock() const { - return type_case() == kMock; -} -inline void RemoteStorageTarget::set_has_mock() { - _impl_._oneof_case_[0] = kMock; -} -inline void RemoteStorageTarget::clear_mock() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (type_case() == kMock) { - _impl_.type_.mock_.Destroy(); - clear_has_type(); - } -} -inline const std::string& RemoteStorageTarget::mock() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.RemoteStorageTarget.mock) - return _internal_mock(); -} -template -inline PROTOBUF_ALWAYS_INLINE void RemoteStorageTarget::set_mock(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (type_case() != kMock) { - clear_type(); - - set_has_mock(); - _impl_.type_.mock_.InitDefault(); - } - _impl_.type_.mock_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.RemoteStorageTarget.mock) -} -inline std::string* RemoteStorageTarget::mutable_mock() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_mock(); - // @@protoc_insertion_point(field_mutable:flex.RemoteStorageTarget.mock) - return _s; -} -inline const std::string& RemoteStorageTarget::_internal_mock() const { - ::google::protobuf::internal::TSanRead(&_impl_); - if (type_case() != kMock) { - return ::google::protobuf::internal::GetEmptyStringAlreadyInited(); - } - return _impl_.type_.mock_.Get(); -} -inline void RemoteStorageTarget::_internal_set_mock(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (type_case() != kMock) { - clear_type(); - - set_has_mock(); - _impl_.type_.mock_.InitDefault(); - } - _impl_.type_.mock_.Set(value, GetArena()); -} -inline std::string* RemoteStorageTarget::_internal_mutable_mock() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (type_case() != kMock) { - clear_type(); - - set_has_mock(); - _impl_.type_.mock_.InitDefault(); - } - return _impl_.type_.mock_.Mutable( GetArena()); -} -inline std::string* RemoteStorageTarget::release_mock() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.RemoteStorageTarget.mock) - if (type_case() != kMock) { - return nullptr; - } - clear_has_type(); - return _impl_.type_.mock_.Release(); -} -inline void RemoteStorageTarget::set_allocated_mock(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (has_type()) { - clear_type(); - } - if (value != nullptr) { - set_has_mock(); - _impl_.type_.mock_.InitAllocated(value, GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.RemoteStorageTarget.mock) -} - -inline bool RemoteStorageTarget::has_type() const { - return type_case() != TYPE_NOT_SET; -} -inline void RemoteStorageTarget::clear_has_type() { - _impl_._oneof_case_[0] = TYPE_NOT_SET; -} -inline RemoteStorageTarget::TypeCase RemoteStorageTarget::type_case() const { - return RemoteStorageTarget::TypeCase(_impl_._oneof_case_[0]); -} -// ------------------------------------------------------------------- - -// GetCapabilitiesRequest - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// GetCapabilitiesResponse - -// .flex.BuildInfo build_info = 1; -inline bool GetCapabilitiesResponse::has_build_info() const { - bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; - PROTOBUF_ASSUME(!value || _impl_.build_info_ != nullptr); - return value; -} -inline void GetCapabilitiesResponse::clear_build_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.build_info_ != nullptr) _impl_.build_info_->Clear(); - _impl_._has_bits_[0] &= ~0x00000001u; -} -inline const ::flex::BuildInfo& GetCapabilitiesResponse::_internal_build_info() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::flex::BuildInfo* p = _impl_.build_info_; - return p != nullptr ? *p : reinterpret_cast(::flex::_BuildInfo_default_instance_); -} -inline const ::flex::BuildInfo& GetCapabilitiesResponse::build_info() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.GetCapabilitiesResponse.build_info) - return _internal_build_info(); -} -inline void GetCapabilitiesResponse::unsafe_arena_set_allocated_build_info(::flex::BuildInfo* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.build_info_); - } - _impl_.build_info_ = reinterpret_cast<::flex::BuildInfo*>(value); - if (value != nullptr) { - _impl_._has_bits_[0] |= 0x00000001u; - } else { - _impl_._has_bits_[0] &= ~0x00000001u; - } - // @@protoc_insertion_point(field_unsafe_arena_set_allocated:flex.GetCapabilitiesResponse.build_info) -} -inline ::flex::BuildInfo* GetCapabilitiesResponse::release_build_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::BuildInfo* released = _impl_.build_info_; - _impl_.build_info_ = 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 ::flex::BuildInfo* GetCapabilitiesResponse::unsafe_arena_release_build_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.GetCapabilitiesResponse.build_info) - - _impl_._has_bits_[0] &= ~0x00000001u; - ::flex::BuildInfo* temp = _impl_.build_info_; - _impl_.build_info_ = nullptr; - return temp; -} -inline ::flex::BuildInfo* GetCapabilitiesResponse::_internal_mutable_build_info() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.build_info_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::flex::BuildInfo>(GetArena()); - _impl_.build_info_ = reinterpret_cast<::flex::BuildInfo*>(p); - } - return _impl_.build_info_; -} -inline ::flex::BuildInfo* GetCapabilitiesResponse::mutable_build_info() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000001u; - ::flex::BuildInfo* _msg = _internal_mutable_build_info(); - // @@protoc_insertion_point(field_mutable:flex.GetCapabilitiesResponse.build_info) - return _msg; -} -inline void GetCapabilitiesResponse::set_allocated_build_info(::flex::BuildInfo* value) { - ::google::protobuf::Arena* message_arena = GetArena(); - ::google::protobuf::internal::TSanWrite(&_impl_); - if (message_arena == nullptr) { - delete (_impl_.build_info_); - } - - 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_.build_info_ = reinterpret_cast<::flex::BuildInfo*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.GetCapabilitiesResponse.build_info) -} - -// map features = 2; -inline int GetCapabilitiesResponse::_internal_features_size() const { - return _internal_features().size(); -} -inline int GetCapabilitiesResponse::features_size() const { - return _internal_features_size(); -} -inline void GetCapabilitiesResponse::clear_features() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.features_.Clear(); -} -inline const ::google::protobuf::Map& GetCapabilitiesResponse::_internal_features() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.features_.GetMap(); -} -inline const ::google::protobuf::Map& GetCapabilitiesResponse::features() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_map:flex.GetCapabilitiesResponse.features) - return _internal_features(); -} -inline ::google::protobuf::Map* GetCapabilitiesResponse::_internal_mutable_features() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.features_.MutableMap(); -} -inline ::google::protobuf::Map* GetCapabilitiesResponse::mutable_features() ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_map:flex.GetCapabilitiesResponse.features) - return _internal_mutable_features(); -} - -// .google.protobuf.Timestamp start_timestamp = 3; -inline bool GetCapabilitiesResponse::has_start_timestamp() const { - bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; - PROTOBUF_ASSUME(!value || _impl_.start_timestamp_ != nullptr); - return value; -} -inline const ::google::protobuf::Timestamp& GetCapabilitiesResponse::_internal_start_timestamp() const { - ::google::protobuf::internal::TSanRead(&_impl_); - const ::google::protobuf::Timestamp* p = _impl_.start_timestamp_; - return p != nullptr ? *p : reinterpret_cast(::google::protobuf::_Timestamp_default_instance_); -} -inline const ::google::protobuf::Timestamp& GetCapabilitiesResponse::start_timestamp() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.GetCapabilitiesResponse.start_timestamp) - return _internal_start_timestamp(); -} -inline void GetCapabilitiesResponse::unsafe_arena_set_allocated_start_timestamp(::google::protobuf::Timestamp* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (GetArena() == nullptr) { - delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.start_timestamp_); - } - _impl_.start_timestamp_ = 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:flex.GetCapabilitiesResponse.start_timestamp) -} -inline ::google::protobuf::Timestamp* GetCapabilitiesResponse::release_start_timestamp() { - ::google::protobuf::internal::TSanWrite(&_impl_); - - _impl_._has_bits_[0] &= ~0x00000002u; - ::google::protobuf::Timestamp* released = _impl_.start_timestamp_; - _impl_.start_timestamp_ = 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* GetCapabilitiesResponse::unsafe_arena_release_start_timestamp() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.GetCapabilitiesResponse.start_timestamp) - - _impl_._has_bits_[0] &= ~0x00000002u; - ::google::protobuf::Timestamp* temp = _impl_.start_timestamp_; - _impl_.start_timestamp_ = nullptr; - return temp; -} -inline ::google::protobuf::Timestamp* GetCapabilitiesResponse::_internal_mutable_start_timestamp() { - ::google::protobuf::internal::TSanWrite(&_impl_); - if (_impl_.start_timestamp_ == nullptr) { - auto* p = ::google::protobuf::Message::DefaultConstruct<::google::protobuf::Timestamp>(GetArena()); - _impl_.start_timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(p); - } - return _impl_.start_timestamp_; -} -inline ::google::protobuf::Timestamp* GetCapabilitiesResponse::mutable_start_timestamp() ABSL_ATTRIBUTE_LIFETIME_BOUND { - _impl_._has_bits_[0] |= 0x00000002u; - ::google::protobuf::Timestamp* _msg = _internal_mutable_start_timestamp(); - // @@protoc_insertion_point(field_mutable:flex.GetCapabilitiesResponse.start_timestamp) - return _msg; -} -inline void GetCapabilitiesResponse::set_allocated_start_timestamp(::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_.start_timestamp_); - } - - 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_.start_timestamp_ = reinterpret_cast<::google::protobuf::Timestamp*>(value); - // @@protoc_insertion_point(field_set_allocated:flex.GetCapabilitiesResponse.start_timestamp) -} - -// ------------------------------------------------------------------- - -// ------------------------------------------------------------------- - -// Feature - -// map sub_feature = 1; -inline int Feature::_internal_sub_feature_size() const { - return _internal_sub_feature().size(); -} -inline int Feature::sub_feature_size() const { - return _internal_sub_feature_size(); -} -inline void Feature::clear_sub_feature() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.sub_feature_.Clear(); -} -inline const ::google::protobuf::Map& Feature::_internal_sub_feature() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.sub_feature_.GetMap(); -} -inline const ::google::protobuf::Map& Feature::sub_feature() const ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_map:flex.Feature.sub_feature) - return _internal_sub_feature(); -} -inline ::google::protobuf::Map* Feature::_internal_mutable_sub_feature() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.sub_feature_.MutableMap(); -} -inline ::google::protobuf::Map* Feature::mutable_sub_feature() ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_mutable_map:flex.Feature.sub_feature) - return _internal_mutable_sub_feature(); -} - -// ------------------------------------------------------------------- - -// BuildInfo - -// string binary_name = 1; -inline void BuildInfo::clear_binary_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.binary_name_.ClearToEmpty(); -} -inline const std::string& BuildInfo::binary_name() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.BuildInfo.binary_name) - return _internal_binary_name(); -} -template -inline PROTOBUF_ALWAYS_INLINE void BuildInfo::set_binary_name(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.binary_name_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.BuildInfo.binary_name) -} -inline std::string* BuildInfo::mutable_binary_name() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_binary_name(); - // @@protoc_insertion_point(field_mutable:flex.BuildInfo.binary_name) - return _s; -} -inline const std::string& BuildInfo::_internal_binary_name() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.binary_name_.Get(); -} -inline void BuildInfo::_internal_set_binary_name(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.binary_name_.Set(value, GetArena()); -} -inline std::string* BuildInfo::_internal_mutable_binary_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.binary_name_.Mutable( GetArena()); -} -inline std::string* BuildInfo::release_binary_name() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.BuildInfo.binary_name) - return _impl_.binary_name_.Release(); -} -inline void BuildInfo::set_allocated_binary_name(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.binary_name_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.binary_name_.IsDefault()) { - _impl_.binary_name_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.BuildInfo.binary_name) -} - -// string version = 2; -inline void BuildInfo::clear_version() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.version_.ClearToEmpty(); -} -inline const std::string& BuildInfo::version() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.BuildInfo.version) - return _internal_version(); -} -template -inline PROTOBUF_ALWAYS_INLINE void BuildInfo::set_version(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.version_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.BuildInfo.version) -} -inline std::string* BuildInfo::mutable_version() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_version(); - // @@protoc_insertion_point(field_mutable:flex.BuildInfo.version) - return _s; -} -inline const std::string& BuildInfo::_internal_version() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.version_.Get(); -} -inline void BuildInfo::_internal_set_version(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.version_.Set(value, GetArena()); -} -inline std::string* BuildInfo::_internal_mutable_version() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.version_.Mutable( GetArena()); -} -inline std::string* BuildInfo::release_version() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.BuildInfo.version) - return _impl_.version_.Release(); -} -inline void BuildInfo::set_allocated_version(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.version_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.version_.IsDefault()) { - _impl_.version_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.BuildInfo.version) -} - -// string commit = 3; -inline void BuildInfo::clear_commit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.commit_.ClearToEmpty(); -} -inline const std::string& BuildInfo::commit() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.BuildInfo.commit) - return _internal_commit(); -} -template -inline PROTOBUF_ALWAYS_INLINE void BuildInfo::set_commit(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.commit_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.BuildInfo.commit) -} -inline std::string* BuildInfo::mutable_commit() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_commit(); - // @@protoc_insertion_point(field_mutable:flex.BuildInfo.commit) - return _s; -} -inline const std::string& BuildInfo::_internal_commit() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.commit_.Get(); -} -inline void BuildInfo::_internal_set_commit(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.commit_.Set(value, GetArena()); -} -inline std::string* BuildInfo::_internal_mutable_commit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.commit_.Mutable( GetArena()); -} -inline std::string* BuildInfo::release_commit() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.BuildInfo.commit) - return _impl_.commit_.Release(); -} -inline void BuildInfo::set_allocated_commit(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.commit_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.commit_.IsDefault()) { - _impl_.commit_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.BuildInfo.commit) -} - -// string build_time = 4; -inline void BuildInfo::clear_build_time() { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.build_time_.ClearToEmpty(); -} -inline const std::string& BuildInfo::build_time() const - ABSL_ATTRIBUTE_LIFETIME_BOUND { - // @@protoc_insertion_point(field_get:flex.BuildInfo.build_time) - return _internal_build_time(); -} -template -inline PROTOBUF_ALWAYS_INLINE void BuildInfo::set_build_time(Arg_&& arg, - Args_... args) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.build_time_.Set(static_cast(arg), args..., GetArena()); - // @@protoc_insertion_point(field_set:flex.BuildInfo.build_time) -} -inline std::string* BuildInfo::mutable_build_time() ABSL_ATTRIBUTE_LIFETIME_BOUND { - std::string* _s = _internal_mutable_build_time(); - // @@protoc_insertion_point(field_mutable:flex.BuildInfo.build_time) - return _s; -} -inline const std::string& BuildInfo::_internal_build_time() const { - ::google::protobuf::internal::TSanRead(&_impl_); - return _impl_.build_time_.Get(); -} -inline void BuildInfo::_internal_set_build_time(const std::string& value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.build_time_.Set(value, GetArena()); -} -inline std::string* BuildInfo::_internal_mutable_build_time() { - ::google::protobuf::internal::TSanWrite(&_impl_); - return _impl_.build_time_.Mutable( GetArena()); -} -inline std::string* BuildInfo::release_build_time() { - ::google::protobuf::internal::TSanWrite(&_impl_); - // @@protoc_insertion_point(field_release:flex.BuildInfo.build_time) - return _impl_.build_time_.Release(); -} -inline void BuildInfo::set_allocated_build_time(std::string* value) { - ::google::protobuf::internal::TSanWrite(&_impl_); - _impl_.build_time_.SetAllocated(value, GetArena()); - if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.build_time_.IsDefault()) { - _impl_.build_time_.Set("", GetArena()); - } - // @@protoc_insertion_point(field_set_allocated:flex.BuildInfo.build_time) -} - -#ifdef __GNUC__ -#pragma GCC diagnostic pop -#endif // __GNUC__ - -// @@protoc_insertion_point(namespace_scope) -} // namespace flex - - -namespace google { -namespace protobuf { - -template <> -struct is_proto_enum<::flex::UpdateWorkRequest_NewState> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::flex::UpdateWorkRequest_NewState>() { - return ::flex::UpdateWorkRequest_NewState_descriptor(); -} -template <> -struct is_proto_enum<::flex::BulkUpdateWorkRequest_NewState> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::flex::BulkUpdateWorkRequest_NewState>() { - return ::flex::BulkUpdateWorkRequest_NewState_descriptor(); -} -template <> -struct is_proto_enum<::flex::SyncJob_Operation> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::flex::SyncJob_Operation>() { - return ::flex::SyncJob_Operation_descriptor(); -} -template <> -struct is_proto_enum<::flex::Work_State> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::flex::Work_State>() { - return ::flex::Work_State_descriptor(); -} -template <> -struct is_proto_enum<::flex::UpdateConfigResponse_Result> : std::true_type {}; -template <> -inline const EnumDescriptor* GetEnumDescriptor<::flex::UpdateConfigResponse_Result>() { - return ::flex::UpdateConfigResponse_Result_descriptor(); -} - -} // namespace protobuf -} // namespace google - -// @@protoc_insertion_point(global_scope) - -#include "google/protobuf/port_undef.inc" - -#endif // flex_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